labofsahil/github-event-dataset-2012 huggingface dataset:
Move javascript to bottom of the page

with rails templates, we promote "Best practices" in web development. Hence, we should move all JavaScripts at bottom of the page which is also one of the "Best Practices". It improves performance.

Further, if anyone does not want to follow best practices & move javascript block in head, it can be simply moved back.

More info on why it is important can be found here: http://developer.yahoo.com/performance/rules.html#js_bottom
improve readability of AR explain result

AR `explain` returns nicely formatted String, but it looks miserable on our Rails console.

```
> User.where(id: 2).explain
  User Load (0.1ms)  SELECT "users".* FROM "users" WHERE "users"."id" = 2
  EXPLAIN (0.1ms)  EXPLAIN QUERY PLAN SELECT "users".* FROM "users" WHERE "users"."id" = 2
 => "EXPLAIN for: SELECT \"users\".* FROM \"users\"  WHERE \"users\".\"id\" = 2\n0|0|0|SEARCH TABLE users USING INTEGER PRIMARY KEY (rowid=?) (~1 rows)\n" 
```

With this patch, `explain` returns a `p`-friendly String instance.

```
> User.where(id: 2).explain
  User Load (0.2ms)  SELECT "users".* FROM "users" WHERE "users"."id" = 2
  EXPLAIN (0.1ms)  EXPLAIN QUERY PLAN SELECT "users".* FROM "users" WHERE "users"."id" = 2
 => EXPLAIN for: SELECT "users".* FROM "users"  WHERE "users"."id" = 2
0|0|0|SEARCH TABLE users USING INTEGER PRIMARY KEY (rowid=?) (~1 rows)
```
【PostgreSQL】 Change default minimum log level to warning.

If we migrate database on postgresql, we have many notice messages: e.g.

```
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
```

I've already known `min_messages` option, but I guess that many people don't know this option. 
So I guess we should change default min_messages to `warning`　for convenience.

WDYT?
Re-writing the AJAX Guide

I did a poll on Twitter to see what parts of Rails needed documentation the most, and one glaring thing that was pointed out was how out of date the AJAX guide was.

Currently, this request is not ready to be merged, but I wanted to get some feedback on what I plan to do before I bother to write the entire thing.

Basically, I built a new outline, and threw a quick paragraph or two together for a bunch of the parts.

Current guide (NOT the one I'm working on) is [here](http://edgeguides.rubyonrails.org/ajax_on_rails.html), for reference.

## Questions

Some specific feedback I'd like addressed before I flesh this out more:

### Intro to AJAX

When this guide was written, AJAX was a bit newer of a technique. The original guide had an explanation of what AJAX is. Now that everybody knows what's up, do we still need this?

### library coverage

I plan on (and have in the outline) linking to a bunch of different projects that are used for testing JS, for example. Is the 'give a bunch of them a paragraph and a link' something we want here?

### SPAs?

I wrote up a little section mentioning Ember, Backbone, and Throne of JS. Obviously, "How to write a heavy JS app" is out of the scope of this guide, but I felt that mentioning tools that people can transition to once they get a lot of JS going would make sense. Is this useful?

/cc @fxn @radar @wycats @dhh
Fixes an oversight in recent array optimization.

In 8265175, I forgot to set the type of the new ArrayValue
tree, and we accidentally merged without approval on the extra
commit by our feline build overlords.

This is an alternative to #1582, which fixes the problem rather than
reverting the optimization.

Review by @lryzt
Feature/collection concurrent
DOC: Fix error in wilcoxon docstring.

This PR fixes issue #1413:

http://projects.scipy.org/scipy/ticket/1413

The stats.wilcoxon() docstring incorrectly described what the function actually returns. I fixed this, and also added further description to the docstring so users will actually understand what I mean by "the ranks of the differences". I think my description is accurate, but if anyone knows the Wilcoxon signed-ranks test better I'd appreciate a check.

Also, first SciPy contribution, woo.
Accept IPv6 in Host header

As reported by #104
https://github.com/spray/spray/issues/104
Fixes 'json' loading issue in ruby 1.9.3-p194
better intersection of LinearEntities detected

Also, alternate Triangle instantiations: asa, sas, sss added to polygon.py

and helpers added to polygon (and imported into namespace):

deg(x) converts x to degrees from radians
rad(x) converts x to radians from degrees
Update src/po/ufoai-pl.po

7209-7477
Feature/fast map
Nowy przyklad uzycia biblioteki d3.js
Unsupported Media Type Error added

I have added the 415 Unsupported Media Type error. It is helpful when the server does not understand media type of data it got in the request.
Console exit codes

Allowed returning integer values as application exit code in
CConsoleCommand actions.
Application will now exit with the given integer value as exit code.
This is better than just `exit(1)` because onAfterAction event is called
And you can use the return value when doing something like
`Yii::app()->getCommandRunner()->run(...)` to run a specific command
inside an other command or from the web.
german translation adjustments

took over some small changes made in original translation files.
+ small adition to console doc and changelog page
Adding redirection of not valid links

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Tests pass: yes
Fixes tickets: this
References: this
License of the code: LGPLv3+
Documentation PR: -
Todo: -
changes for mufilters

fixed filters check for maxlengthtext on copy/paste + added regexp filter + fixed filterlettersanddigits (now u can input all letters from all languages)
removed dependency on javascript library for embedding gists

using simple ajax and custom css to style gists.

this approach is much lighter and works well. some more work can be done to clean it up a little bit (such as the helper function and the posts.js, I don't like adding functions to jQuery normally)...but it's a start that could be iterated on.

In your post you just put:

    {{gist 12345}}

where 12345 is a gist id.
Make superlu available in all OPM modules again.

The new SuperLU test implemented in opm-core confused the SuperLU test in DUNE such that the other OPM modules would not have SuperLU correctly setup.

This pull request adds a guard to the SuperLU test in opm-core. If HAVE_SUPERLU is 1 from a run of the  SuperLU test within DUNE, we skip testing for it again as the additional test
would fail and then clear the SUPERLU_CPPFLAGS and other flags in the Makefiles of  the OPM modules and thus strip SUPERLU support.

This pull request fixes issue #106
Fixed include_path

This may fix travis integration
Add Named Layouts

Allows for an additional level of redirection in referencing dashboards.   With this patch, a user can select an option from the graph dash global submenu that allows them to "save to name".  This will open a textbox where a name can be entered.  From that point out, that dashboard can be accessed at `http://fireflyserver.com/named/<name>`.  

In addition, names can be saved over, allowing for links to dashboards to be saved on a page and be updated without updating that page.
returning nil is destructive and breaks stuff

so just use the hidden property instead?
Make PUT and DELETE params available

Hi, I've updated the put and delete methods in the request class to make sure they parse the input found in "slim.input". Otherwise the data is lost upon initialisation of the Slim class.
Fixed capcode regex.
Show form error, not exception, when duplicate labels are selected on report forms

...ption.
Fixed Feral Druid Rotation
Fix Use the selected team to build the team list

The combobox don't show the selected team
changed retrieval of validation lost info and removed :value from form helper

Made changes requested. Fetched from lml master so should be up to date with tweaks.
Add ability to enable/disable layers

Related to mapbox/tilemill#172 (Ability to hide layers)

From https://gist.github.com/1155115 by @ajashton
Fix typo in open(uri...)

There was a missing slash on line 216 causing this program
to try to resolve hosts such as "gems.rubyforge.orggems".
Update source/administration/backups.txt

 If you use :program:`mongodump` without specifying the a database or
   collection, the output will contain both the collection data and the
   sharding config metadata from the :ref:`config servers <sharding-config-server>`.

It is from version 2.2 now
Null 1
Bug 665732 - Add more MathML tags and attributes to the whitelist

This adds more MathML tags and attributes to our Bleach whitelist which will allow us to write full MathML in the docs.
fix bug 797943 - Add tablesort plugin to CKEditor

https://bugzilla.mozilla.org/show_bug.cgi?id=797943

Create a table, then right-click it to see the table sort dialog.
Update date_joined_program value on all rows.
[task/10869] Remove PHP 5.2 check from .travis.yml

The travis configuration file contains a statement that checks whether
the test is ran against PHP 5.2 but as that version isn't tested at
all the check can be removed.

PHPBB3-10869
[feature/events-dispatcher] Adding phpBB/vendor to .gitignore

PHPBB3-9550
lib: virgo-init: implement process.exitCode

once and awhile we encounter an error that causes our event loop to exit
before we expect it too. This happened in our scheduler test and
buildbot didn't catch it as an error. So, implement the exitCode logic
that I sent to luvit in virgo:

https://github.com/luvit/luvit/pull/221

I tested this on hash 60ef64fe9d6a2cee78582247e373c507ee7fe3a5 and it
causes make test to exit with a non-zero exit code.
Pep8

White space formatting changes and one fix.
Check for nil more carefully for interceptor values

This came up when invoking c.RenderError in an intercepted method.
Correct paths in gemspec & fix russian transliteration
Fix the spec breakage from pull request 15

This should do it.  Note that I am also piggybacking the propagation of Lacquer::AuthenticationError onto this diff, since I am guessing that wasn't the intended behavior.
#79 Enhancement/add spork
Compiled handlebar templates

Extended grunt command for templates to compile handlebar templates (in js) with requirejs support.
Refactored calls to existing templates to use the compiled templates.
rv6

Изменены стили; добавлено руководство при авторизации
[docs bz 5681099] Rewrote and reorganized context configuration doc.
fix issue #507 Add "hi" group in dimensions.json
changed right location, pull to the right side of parent element

pull the tooltip to right of parent element
Corrected two typos

"don't" with &apos; should be more correct than &rsquot; (or is it better to escape it \' ?)

I personally find the line 

/* translators: %1$s: smiley */ 

pretty confusing, but at least it should be singular (not smilies)
Added setDrops() to set what the entity drops upon death
Fixed issue 2403 and 2404

- Created temporary files are now deleted in Win32.
- imdecode_() only creates a temporary file when needed.
- Use the string's empty() function to flag if the temporary file needs
to be deleted.
Virtual node support and bug fixes
test CI build of pull request

Testing CI build of pull request
Adding tool for SmartCard-HSM

This pull requests adds the SmartCard-HSM tool (sc-hsm-tool) to OpenSC.

The sc-hsm-tool can be used to initialize a SmartCard-HSM. It also provides functionality to generate and maintain the Device Key Encryption Key that can be used to wrap and unwrap keys generated in the device. The DKEK mechanism is available starting with version 0.18 and the upcoming 1.0 release.
[Plum] used ServerInterface to typehint servers.
Printer enhancements

Some miscellaneous enhancements to the printer capability for edn-java
Limit request body sizes to help stability of service.
Added foreman as a dependency to the gemspec
Add -U shell option for UTF-8 support.

Allows file contents with UTF-8 encoded characters to be passed to the JS shell.
Remove the summary attribute of the table

In the discussion here: https://code.djangoproject.com/ticket/17138
it was decided that using the caption for this previously
non-visible part of the table element was not semantic, so in this
patch is moves that summary to the `title` attribute of the `a`
tag which when overed over, on most browsers, will show the text.
Update django/contrib/flatpages/forms.py

Translate before passing in the variables (i.e. close the bracket earlier).
If you translate after passing in the variables the translated value will contain the actual values for 'url' and 'site' and will therefore not be translated.

(I'm not actually using django's flatpages, but I ran into this apparent error when doing a global grep on my own project)
Remove name dependency for Puller

Puller now dynamically references its pully, allowing you to use more
than 1 PulldownList.
Suppress warnings for color brewer palettes with <3 colors

This suppresses warnings when <3 colors are requested, but keeps them when more colors are requested than the palette contains.
popup z pytaniem
Update test suite for changed ./test/index.html in jquery-core

* Use more #qunit-fixture. Don't assume too much about the document all in all.

* See also: https://github.com/jquery/jquery/pull/798
Sb2 manage

good enough to allow full webui functionality, I guess
I'd discuss better protocol (yaml/json) later, henrik is practically ready to take that thing in as it is.
Correct documentation about Custom Functions

I found the documentation about registerFunction is a little bit out of date therefore sample code causes an error like following
PHP Notice:  Undefined offset: 2 in lessc.inc.php on line 740
It looks current version expects third argument $unit.
minor changes to gui and updated instructions!
Fixed deprecation warnings in transaction spec

There were multiple warnings

DEPRECATION WARNING: Change Factory.build to FactoryGirl.build

They have been fixed.
Modified to run JavaScript

Permitted execution javascript code after loading 'hx:include' in the particular case where the content has the JavaScript code that is executed before 'hinclude' finish on its own, for example widget facebook
added quit as a synonym for exit

Added quit and quit; as synonyms for exit in the shell.

Removed some seemingly redundant code, might be overlooking something?
gcov related additions to SConscript.smoke and smoke.py

Changes from http://codereview.10gen.com/8069006/
logging in exist, delete, clear

When I use dalli, I expect that dalli outputs log when deleting key.
My pull-req is logging when executed `exist`, `delete` and `clear`.

Please merge if you like it.
Fix liblastfm-0.3.3 compilation with clang

Added a tiny patch to fix compilation with clang. Liblastfm works just fine for me after that.
Updated Finch Version

I updated the finch version which also seems to allow perl 
scripting as well which is pretty handy to have for various plugins.
Added libpqxx Formulae

This library works on top of the C-level API library, libpq. It comes with postgres. You will link your program with both libpqxx and libpq, in that order.
Send `tar …` output to /dev/null

When calling "(gnu)tar" via shell, send output to /dev/null, so that when the tar file doesn not contain the file we are looking for, the error message does not seep through to the output.
Move os.pmc

This branch moves os.pmc from dynpmc to pmc, so it will allways be available.
Whether this is actually a good idea is not something i'm sure of. But it works (c)
corrected by removing mistakenly saved test files
Python 2.6 support

RHEL's default Python is really old (2.4).  We're currently using a bunch of features that weren't introduced until 2.7.  I'd prefer to not have to install our own full version of Python 2.7 just to get Buzzy working on RHEL.  We can get 2.6 via EPEL, and it's going to be a lot easier to support ≥2.6 than ≥2.4.
Removed `--input` command line option from ipsetcat.
Custom templates conflict with the template hierarchy

Suppose you have a page whose slug is either 'full' or 'custom.'  The page-full.php and page-custom.php templates will be loaded automatically based on the WordPress template hierarchy despite those templates not being selected.

http://codex.wordpress.org/Pages: 
The WordPress Template Hierarchy also recognized specific Pages or posts automatically without the need to assign them to a specific Page template file. If the Page with ID or slug in the template file name is automatically generated by the user, the appropriate Page template file is used.

page-{id}.php
page-{slug}.php

If the Page ID number is 42, the page-42.php template file is automatically used. If the Page slug is "About," the page-about.php template file is used.
ajout d'une image pous chaques chanson

Un simple templatetag et une nouvelle fonction dans lastfm.py
pip installing git rootpy on python 2.6 tries to install python-3?!

I just updated pip and distribute to make sure it wasn't something weird with those..

It's SLC 6.3, python 2.6, pip 1.2.1 and distribute 0.6.30.

This is a curious one.

    $ pip install -U git+git://github.com/rootpy/rootpy.git#egg=rootpy
    Downloading/unpacking rootpy from git+git://github.com/rootpy/rootpy.git#egg=rootpy
      Cloning git://github.com/rootpy/rootpy.git to ./env-slc6/build/rootpy
    Cloning into docs/_themes/sphinx-bootstrap...
    remote: Counting objects: 104, done.
    remote: Compressing objects: 100% (84/84), done.
    remote: Total 104 (delta 37), reused 87 (delta 20)
    Receiving objects: 100% (104/104), 143.03 KiB, done.
    Resolving deltas: 100% (37/37), done.
      Running setup.py egg_info for package rootpy
        
                         _
         _ __ ___   ___ | |_ _ __  _   _
        | '__/ _ \ / _ \| __| '_ \| | | |
        | | | (_) | (_) | |_| |_) | |_| |
        |_|  \___/ \___/ \__| .__/ \__, |
                            |_|    |___/
              dev
        
        warning: no files found matching '*' under directory 'doc'
        warning: no files found matching '*.c' under directory 'rootpy'
    Downloading/unpacking python>=2.6 from http://www.python.org/ftp/python/3.3.0/Python-3.3.0.tar.bz2 (from rootpy)
      Downloading Python-3.3.0.tar.bz2 (13.8MB): 13.8MB downloaded
      Running setup.py egg_info for package python
        Traceback (most recent call last):
          File "<string>", line 16, in <module>
          File "/user1/pwaller/env-slc6/build/python/setup.py", line 1804
            exec(f.read(), globals(), fficonfig)
        SyntaxError: unqualified exec is not allowed in function 'configure_ctypes' it contains a nested function with free variables
        Complete output from command python setup.py egg_info:
        Traceback (most recent call last):

      File "<string>", line 16, in <module>

      File "/user1/pwaller/env-slc6/build/python/setup.py", line 1804

        exec(f.read(), globals(), fficonfig)

    SyntaxError: unqualified exec is not allowed in function 'configure_ctypes' it contains a nested function with free variables
Add Gravity constants

Many constants like LinearLayout::VERTICAL and LayoutParams::FILL_PARENT are aliased to very ruby friendly symbols: :vertical & :fill_parent.  One exception to this are the Gravity constants.  These must still be referenced as Gravity::CENTER_HORIZONTAL.

I propose adding the gravity constants as symbols so that something like this:

    linear_layout :gravity => Gravity::CENTER_HORIZONTAL

reads like this:

    linear_layout :gravity => :center_horizontal

Before making a pull request, I wanted to solicited other peoples thoughts.  Would this be a good addition?
Fixed an issue with a readline from socket in bpd

in several situations I got a crash due to having the strip() called on a None object. This simple change should solve that.

Regards,
Matteo
Add collect tests.

Eles ficarm muito feios, então aceito sugestões de refatoração. =D
Session Based BreadcrumbStack

Hi Simon, here's the pull request for a session based option for Ariane. 

As far as I can tell - there is one breaking change, which is the initialization signature for the Crumb class - which now includes 'level'.

My Ruby fu is weak - so feel free to shout-out any obvious code or style errors. :-)

Best,

Tony
Fix a bug where we were requiring injectable supertypes in dagger-compil...

...er.
added missing git commands
Push name fix

Still crashes with encode, works with decode
Require Capture::Tiny >= 0.12

Hi David,

capture_stderr() is used in the test suite, but Capture::Tiny < 0.12 doesn't have that function, so I think it's a good idea to make 0.12 an explicit requirement.

What do you think?
Incident #18763 - changed honorifics textfield to picker

Changed honorifics textfield to picker on contact
Fix sticky search.
Added trying to change chmod of cache directory before throwing an exception
Fix angular not reliably initialized and angular E2E test runner halting problems

Fix angular not reliably initialized bug:
- Root cause: angular.element(document).ready sometimes does not fire.
- Fix: Use jQuery $(document).ready instead

Workaround angular scenario runner (E2E testing) halts when using manual bootstrapping (manual initialization):
- There's a bug in AngularJS scenario runner (E2E testing) where browser.navigateTo will hang when using manual bootstraping (manual initialization). Specifically, the scenario runner looks for "ng-app" class. The workaround is to add "ng-app" class manually to HTML element.
Allow EventEmitter::on and once to take many keys to attach a handler to.

@nciagra @jamesmacaulay you cool with this?
Fix for Toura/toura_map#500 by applying OS classes through from mobile web.
Keyboard Controls for Quick Editors Unit Tests

Added a new function to SpecRunnerUtils for simulating keyboard events. Currently no way to specify modifier keys.

Added test to close an inline editor via Esc key. There are currently no unit tests for multiple inline editors, so there is no test for closing more than 1 via Esc key.

Added test for code hints.

Added test for closing context-menu via Esc Key. Opened issue #1270 for contextMenuClose event. There are no unit tests for closing main menus, so no tests were added for Esc key.
terminate perfutil timers

This fixes issue #974

There were 2 problems.

1. The timer started (via PerfUtils.markStart()) in EditorManager._openInlineWidget() was only terminated (via PerfUtils.addMeasurement()) in the case where Deferred completed successfully. PerfUtils timer need to be terminated in all cases.

2. PerfUtils names were converted to objects with name and id fields, but toMeasurementId() was not being called in finalizeMeasurement() and updateMeasurement() functions.
update submodule path to use https
* fix folder creation, there was wrong xml parsing

@zefhemel
Implement cut/copy/paste in a context menu and the top menu

What the title says.

Originally, _clipboard.js_ was used to cut and copy files from the _edit_ menu up top. It still does that, but now, if you're selecting text, it'll cut/copy/paste that text. Also, there's a new context menu which cut/copy/pastes code in the editor.

The foundation for this is using Ace selectors. I should investigate how hard it would be to implement something like [ZeroClipboard](http://code.google.com/p/zeroclipboard/) (which is used on the dashboard) for true OS-copy-paste. For now, however, this minimal implementation is enough.

One last thing: when the context menu pops up, the Ace selection disappears. I've set an interval to keep that selection highlighted to prevent this. It's a problem with APF.
[Dijkstra] Csrf protection

@ajaxorg/dijkstra
only get email when user is logged in

@sergi @zefhemel 

fixes: https://github.com/ajaxorg/cloud9infra/issues/1994
ignore ext/Makefile.in it always gets added
added login logs and stats in user list
Csrf public

Hi, 

We have implemented a fix for the csrf vulnerability using the form token method.  There are two new functions:

/** to be added to every form */
print_csrf_token_input()

/** to be added to all post request handlers */
csrfchecktoken()

This code has been tested and is now in use on one of our websites: https://www.drthom.com
index: add stats to git_indexer_run call

Apparenly git_indexer_run requires stats to be passed. This fixes:
src/indexer.c:812: git_indexer_run: Assertion `idx && stats' failed.
Workaround for bug in JRuby1.7-preview2 that causes Mizuno to crash

Without this minor change, Mizuno crashes with the following error on every request:

`Rack::Lint::LintError at rack.input #<IO:0xa5e2240> does not have ASCII-8BIT as its external encoding`

You can see what causes it here:
http://jira.codehaus.org/browse/JRUBY-6851
Runner and examples in external files

I found it a little easier to play with the library if I didn't have to recompile all the time so I added a simple runner that will compile external files and run them.
Add support for streaming app to P::M::Head
[#2241] Exported SoundCloud projects play twice
[#1865] [IE9] Fix track function passed into sort method, fix track orde...

...ring loop

https://webmademovies.lighthouseapp.com/projects/65733/tickets/1865-ie9-tracks-not-rearranging-properly
Make minimum width of main container larger to fit prototype.
Forward original request to avoid firefox assertion.

Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=802050

@Mossop As seen in the bug, bz has given feeback+ already, but could you also take a look at this?
ssu-repos.sh

...epos.d/ for repositories that are not included in any rpm packages.

Signed-off-by: Marko Saukko <marko.saukko@jollamobile.com>
Fixed bug related to starting multiple servers consecutively.
Fix broken specs

Fixes a few broken specs and handles some cases where exceptions differ in Ruby 1.8/1.9.

Can you guys double check this to see if there are any errors or a better way to handle these changes?
Issue #9: add "my projects" link
Pure Python build

This pull request allows ol3 to be built on all platforms that have Python. Specifically, the dependencies on `make`, `sh` and `curl` are gone. In theory, this should make it possible to build ol3 on Windows, but I haven't tried it.

Wherever you typed `make` before, now use `./build.py`. It supports the same targets as the Makefile, and you can override the locations of `jsdoc` and the Plovr JAR on the command line. The only difference is that you now pass the `-c` option to clean up, instead of using the `clean` target.

Note that this PR probably needs a bit more testing. I think I've covered everything, but I've probably slipped in some bugs when I translated the Makefile into [pake](https://github.com/twpayne/pake). Also, no worries if this doesn't get used for ol3, writing pake was fun :-)
Added composer.json so composer can be used to put pheanstalk in projects

Made up your email address, so you might want to change that.
Remove redundant modal dialogue closing code.

As per https://github.com/photo/frontend/pull/894#commitcomment-1733794 (#894), removed redundant code used to close the modal dialogue in *Manage Applications* and minified the JS.

Is that correct that if the previous pull request hadn’t been closed, pushing to the same branch in my repo would have added the new commits to it? Trying to understand the details of GitHub.
Correção de erros

As seguintes mensagens eram exibidas:

Notice: Undefined variable: dadosUrl in E:\backup pendrive\PHP\facilmvc
\controlador\Facil.php on line 410
Notice: Undefined variable: a in E:\backup pendrive\PHP\facilmvc
\controlador\Facil.php on line 423

Este commit resolve esses problemas.
js was returning rounded value, php returns int value
Djangorestframework update

Here are a couple of simple changes that update Mayan to work with Django Rest Framework 2.x from Django Rest Framework 0.x

There are still some missing pieces - not fully understanding Mayan or DRF completely, I've only done enough to stop errors when running the develeopment server (./manage.py runserver).

In particular, there are two obvious problems with this code:
1.  class DocumentResourceSimple had a method called versions, which I've commented out to get Mayan running. I'm not 100% sure, but I think using SerializerMethodFields should make it all right 
http://django-rest-framework.org/api-guide/fields.html#serializermethodfield 

2. I'm not fully across the Mayan code base, so there could be errors I've not seen where other parts of the code base call the rest API.

Anyway, I hope that helps.

Cheers
L.
Run checkField on setup

If you do not submit a form but instead send its contents with an ajax request you want to do a client side validation. As the 'valid" css class is all H5F exposes to do the validity check it should be run at setup time, so the class is set even when the user has not made any form edits.
Rework some Windows grains to use WMI

This pull request comes about as a part of some discussion in #2123. This reworks some Windows grains to use WMI instead of ```cmd.exe``` to call ```systeminfo```. Calls to ```systeminfo``` on my test VM take at least 1.5s.

Here's some output from my testing.
```
running old windows platform data
2012-10-05 13:22:17.390000
2012-10-05 13:22:19.250000
done running old windows platform data
===== 0:00:01.860000 ====
running new windows platform data
2012-10-05 13:22:19.250000
2012-10-05 13:22:19.515000
done running new windows platform data
===== 0:00:00.265000 ====
---------------------------
total savings: 0:00:01.595000
```

It also replaces the ```'inputlocale'``` grain with two more grains that come from the Python standard library: ```'defaultencoding'``` and ```'defaultlanguage'```.

This is what it returns now for my Windows test minion:
```yaml
timezone: (UTC-08:00) Pacific Time (US & Canada)
windowsdomain: WORKGROUP
productname: VMware Virtual Platform
defaultencoding: cp1252
defaultlanguage: en_US
biosversion: PhoenixBIOS 4.0 Release 6.0
osfullname: Microsoft Windows Server 2008 R2 Standard
osmanufacturer: Microsoft Corporation
manufacturer: VMware, Inc.
```

This is exactly the same data returned by the previous implementation in my testing (save for the re-appropriated locale grain)

This introduces a new runtime dependency for Windows through the ```wmi``` module. I've done my best to make sure that it gets included in the ```setup.py``` requirements, but it's kind of a hack. If there are better solutions for platform-specific dependencies, please let me know.
Configurable IdentityMap

Changes based on our discussions in #285 and #286 the identity map is now a global on the Twitter module and can be disabled or replaced.  I've also switched back to `fetch_or_new`, I left an alias to `fetch_or_create` in `Twitter::Base` though it may not be necessary if the changes from my previous PR have not been released.
NXCM-4113 forward changes from 2.0.x

Compilation of changes originally put on nexus-2.0.x branch but which are suitable for forward porting into master.

Feature build
https://builds.sonatype.org/job/nexus-oss-its-feature/316/
Fix error in payload encoder
MultiJSON instead JSON
对 README 的几处小改动

或许你会觉得这太小题大作了……我承认，我是想要试一下 GitHub 的功能。

anyway，这是个开始。

或许以后我能维护一下豆瓣部分。
Unify Single/MultiBufferSequence behaviour: non-zero position and take-contiguous-bytes

Because MultiBufferSequence supports buffers with non-zero positions with take and drop bytes, it was surprising that SingleBufferSequence didn't. Another way to implement this would be to slice buffers with non-zero positions in create-buf-seq. The way I've done it here seems more symmetrical with MultiBufferSequence's implementation though.

Also take-contiguous-bytes was behaving differently for Single versus Multi BufferSequence when n was <= 0 or > byte-count. Not sure what behaviour you want. As implemented here, n <= 0 returns an empty buffer and n > byte-count returns all the bytes.

I erred on the side of not calling duplicate and assuming the caller won't muck with returned buffers, but maybe that isn't safe enough. There's a single empty-buffer that's allocated and returned from take-contiguous-bytes when appropriate. Should it be duplicated or allocated each time? SingleBufferSequence take-contiguous-bytes- returns buffer in n >= byte-count case. Should that be duplicated?
Postgres - Minor Fix

Postgres doesn't honor case sensitivity unless fields/table names are double quoted.  I made a fix in this regard, but the related tests (automigrate/autoupdate) are in pretty bad shape for Postgres so I don't have them passing yet.  There are outstanding issues with the ALTER table functionality, but this change is enough for me to get my tables generated based on the models, and I'll be making the Postgres adapter more solid as I come across use cases in my application.
TransformationDB - missing import of StringType

BUGFIX: StringType must be imported before it can be used

closes #931
Force the JobAgent to publish the SubmitPool
actuializado por Miguel
Fixed #842271 - filtering the "bugfix" errata in CLI doesn't work

The cause was inconsistent name for BUGFIX errata type in CLI an UI. I changed it to 'bugfix', 'Bug Fix' respectivbely in UI and fixed the search
806383 - sync tasks management

[RFE] As the SE administrator I want to see all active and scheduled sync tasks for all organizations in one place

**Do not merge yet**
880113 - special validation for pool ids searching with ?
817933 part deux - also going to read these from katello-configure bin

Originally we weren't going to load these from the katello-configure tool, but now we are.
Storing route parameters in RouterAwareFactory

Storing the route parameters, so you can differ two equal routes with different parameters in a voter. Since two menu items can use the same route with different parameters.
Update master

Gym Leaders, Elite 4 and Plasma names. Complete. Some are romanized due to no localized Spanish translation.
Better implementation for _isAssociative()

I included the implementation of is_assoc() written on http://stackoverflow.com/questions/173400/#4254008 by Captain kurO
1.0.17

* Merge 114 from amuraru: Make sure internal executor services are not started until startup.

* Merge 116 from samuelgmartinez: Fix for Issue 115: Wrong behaviour in LeaderLatch when a candidate
loses connection

* Issue 118: Ignore nonode exceptions when deleting lock path

* Added a non-reentrant mutex: InterProcessSemaphoreMutex. This mutex doesn't have the threading
restrictions that InterProcessMutex has. This should help with issues 75 and 117.

* Merge 122 from ithaka that addresses Issue #98 - JsonInstanceSerializer does not deserialize
custom payload types. IMPORTANT! This change introduces a breaking incompatibility with List payloads
that will show up in environments that mix the old code and the new code. The new code will throw a
JsonMappingException when it attempts to read a List payload written by the old code. The old code,
when it reads a List payload generated by the new code, will generate a list with two elements,
the first of which is the class name of the List type, and the second of which is the original list.

* Issue 121: Apply bytecode rewriting to turn off JMX registrations to TestingServer as well as
TestingCluster.

* Issue 125: Use ScheduledThreadPoolExecutor instead of blocking threads that have period work.

* Issue 126: Added getNamespace() method.

* Issue 120: Additional check for connection loss in DistributedDoubleBarrier.
testing

Hello danfuzz, 

Please review the following commits I made in branch 'danfuzz-encoding'.

45fdafee779dadbeabc4a1500d077b331fade269 (69 minutes ago)
Tweak.

509849d2fe0974961d62783bca0348664941ecae (71 minutes ago)
Tweak.

e093a87d2ae3bf58e4a091e48553855e89f9f471 (72 minutes ago)
Add a little flavor.

8ce0393eebacde5128e6c94781945853c18f5617 (2 hours ago)
Update docs.
Fix indentation problem, and add naming credit.

f21b8062db30d1d40a91260019f6d5062124582e (6 hours ago)
Expand and rework Dropper.
* Make construction take an `options` argument.
* Add an `ifPartial` option.

2435ee8c845095b5379e04ecc11c99651c201ae0 (18 hours ago)
Document.

5b97ec788559aa3e2c60ab250b7d469f5cf4dc49 (18 hours ago)
Add keyword.

9656e8d6156a9d733a8b463f3636c2e45ebd6bf4 (18 hours ago)
Bump version.

b2f3079c673e9aca0c4416862d712fdea0165833 (18 hours ago)
Fix up the last couple of tests.

86218bcb5f5c1ff4bee5ba74313ffabb653b5dff (23 hours ago)
Add tests for Dropper.
Not quite done enough, but I want to save the work.

f7a4f9439fc2718f0fefd4bd35aa44477d33cc8d (26 hours ago)
Fix decoder usage.

ddd3a6198709343e08228c34e33afb0553e30118 (26 hours ago)
Listen to the wrapped source.

b3339ffafffa4796427b0d0142f8ba0082d2e63c (26 hours ago)
Add `setIncomingEncoding()`.

ac238c176880cbbb0940872f4f8bd53aada2cb19 (26 hours ago)
Use the right object for `emit()`.

00415011585d84c55eab296a0de4f0fef38dfbcb (27 hours ago)
Fixes.
* Add missing `require()`s.
* Fix `bind()` call.

d1b0a9969393fbd1b98e3b6c19c6e46b25eb61f6 (28 hours ago)
Nicer format.

dfa7d668927c6b14c11ec777830a5ab7c4993ab6 (28 hours ago)
Slight clarification.

c9843f51e90ad8f1a9d039835d86d9e62f9c3c5a (28 hours ago)
Fix typo.

0530ce07428e7f70ff447df92fe22f2225b85bf6 (28 hours ago)
New class `Dropper`.
Not yet tested or vetted. Kudos to
<https://github.com/rootslab/dropper> for the name.

4a09227ea6987a9da8c4c3c66584624e587babe6 (29 hours ago)
Clean up Valve.
* Add more `freeze()`s.
* Removed redundant check.

85ca8b4e2975e3c7e32d04712272566fcf0de066 (2 days ago)
Cat encoding.
This implements both incoming and outgoing encoding support in the
`Cat` class.

3e439e8b3056db5554fa22d973705f023d0f190c (2 days ago)
Valve encoding.
This makes `setEncoding()` actually work for Valves and also adds
`setIncomingEncoding()` to allow it to do something sensible with
non-buffers coming into it.

R=danfuzz
VISIBLE_CHANGES=stuff
Missing Release For Object store

I noticed that when an ObjectManager is deallocated its object store was not.  Looks like RKManagedObjectLoader is not correctly releasing its retained reference to the object store.  With the attached patch, the object store was correctly deallocated when its parent object manager was deallocated.

Thanks - Charlie
Sorry Virginia...

dfowler: there's no ci feed
rename mozSms.send to mozSms.sentText

see also Mozilla Bugzilla 740698
Rename serange to selevel to be consistent with selinux docs
allow using ansible_ssh_user in hosts configuration

According to https://groups.google.com/group/ansible-project/msg/ad146042159de7fc?hl=es&dmode=source&output=gplain the variable ansible_ssh_user should be readed by ansible. 
I tested in devel branch and seems isn't. 
Today is the first day that I use ansible, but I think the patch is correctly placed to allow using this variable.
Fix hostname expansion bug in inventory parser

In the following case,
```
[role1]
host[1:2]

[role2]
host[2:3]
```
host2 should be in both groups, but due to a bug in inventory parser, it isn't.

Fixed it and added a test case.
Add support for the create_node ex_keyname argument in OpenStack_1_1_NodeDriver

Not sure if I should have just added param to existing test_create_node case, but instead created new, mostly redundant test case.
Fixed two typos in deprecation warning in Italiano
act as maven repo supporting http uploads

I'd like to get a couple more eyes on this and make sure I'm not missing something.

---

### Functionality

This will let people deploy over http using the standard tools.  Tests show it working using pomegranate, and for lein

```
:deploy-repositories {"clojars" {:url "http://www.clojars.org/repo"
                                 :username ..
                                 :password ..}
```
in a ```project.clj``` will let ```lein deploy clojars``` upload files (tested on lein master).  I expect the functionality will work using ```mvn```'s deploy as well.

### Background

Repos are mostly just dumb servers.  Aether will PUT files, GET the group/artifact's maven-metadata.xml and update the version info and then PUT the updated version.

Both "pom" and "jar" are artifacts.  It is possible to ask just for the "pom" extension/type.  The ssh setup only allows projects that have both.

Aether/pomegranate/lein will also PUT .shas for files.

### Potential Concerns

1. Since the server is dumb its possible for someone to create a dumb client, not using aether, and miss steps for having a good artifact.

2. The server has to read in the pom file to try and update the database.  I think this would allow a large file to cause an OOM, though ssh might have the same issue.

3. The server accepts any file that looks like it could be an group/name/version/artifact.  It needs to accept lots of them for jars, classifier jars, poms, shas, etc.  Perhaps this should be restricted.

### Setup

Since clojars.org uses nginx for the /repo files, it needs a change in the config to pass PUTs to the ring app.  I think http://forum.nginx.org/read.php?2,2414,47453#msg-47453 has the config settings that will do this.

I included ```clojars.repo/wrap-file-at``` middleware so it will work in dev/test/standalone.
Added a 'module' that starts an emacs-server when non is running.

Thats all :-)
Thanks for taking a look!

Created base_velocity constant for Ball(object) class and increased initial velocity.
Ball.bounceHorizontal() now slows Ball.velocity
Coin Control

Superceding #1017 since @dooglus isn't rebasing it anymore. Also sanitized JSON-RPC changes and did some other cleanup. (#1416 has the coin selection refactoring)
Prefer direct access to cached pathDataDir, rather than calling a function

Even with the GetDataDir() cached system, a function call is overkill for the vast majority of uses in the code.  The values are static once the program is initialized, so initialize pathDataDir once.

GetDataDir() is renamed to GetPrepDataDir() to better indicate that it has side effects.

Curious to see whether people think this is worth merging or not.  I think it cleans up the code, and is ever so slightly more CPU efficient for most use cases.
Create transfer/transferred.db if not present (issue #29)

Used the function safe_makedir from utils.py to check if the directory transfer/ exists and create it otherwise.
Fix name for 'show all' hash key (broken in 36e0166)

When value was renamed from `value` to `setting`, it seems this key lookup was missed. This diff updates the key to match the db table.
Add new tools helper function in cgxp

After discussing with Stephan about the function made by Pierre to display remote html into Ext Windows, we decided it was better placed in a js file in cgxp than in the viewer.js template in c2cgeoportal.

The namespace has changed a bit from the initial version, from app to cgxp.tool, but I believe it's a relatively benign change for our client who are already using the Ext Windows popup (theorically solved with a sql query to replace the app. by cgxp.tool. in the javascript call)

This also allow to display server error message happening at initial load, see related pull request in c2cgeoportal: 
https://github.com/camptocamp/c2cgeoportal/pull/223
Group should appear as checked if isChecked is set to true
BUGFIX - rename failed for distros that did not live under ks_mirror
Answer db integration
table_not_found exception hotfix

Solution for #54.
I don't know how clean it is, but it works.
Thank for your awesome gem.
Fixing issue #29

Hi, 

I updated the regexp for the youtube filter, as per https://github.com/dejan/auto_html/issues/29

What do you think? 

Regards,
Improvement of manifest generation

improved the manifest generation integrating maven-bundle-plugin with m2e.
half id better than nothing
add capitainetrain.com
Feature/mass assignment

This should solve our problems with mass assignment. Test this well, I am no expert :-)
Add char/CharacterSheet API
New function options_lookup() to access variables from options variables from within a template

Not fulent in ruby, so might be a better way to do this
Eventmachine-safe email and SMS

The code wasn't too hard to write, but fixing up the cucumber tests was a little fiddly.

In nuking my local DB and restoring to test this, I saw that the multi/exec block in flapjack-populator was causing problems with the data consistency checks on contacts (empty data, or Reds::Future objects being returned), so have removed that for now.
typofix boo_items_mod -> boo_items_modifs

Hello, sorry nobody seen that before :s
WIP: Fix composer.json minimum-stability

For some reason the vendors are not being installed.
Fix example, delete dead code
Add an horrific looking but working OSK

Assumes only uppercase A-Z 0-9 and some misc punctuation.

The actually rendering bit needs a 'bit' of a rewrite as it looks like crap.

left, right, up, down for navigation, cross to choose a character, circle to delete, and start to close the OSK.  

Tested with Worms Battle Islands and Pixel Junk Monsters Deluxe. If anyone can find any more OSK using games, that would be very handy as there are a few OSK modes that are clearly not going to work with this code if the game has been programmed badly.
Read metadata region

Updated docs based on feedback from mint.
Added check for other account owning a given bucket.
Fixed config to read CLI variables and override file config.
BUG: LBYL when clearing the output history on shutdown.

This should fix #1241 and #676.
New version of isfit.org

This is the giant merge of the new design of isfit.org.

All is well.
Device reservation fixes

The control device reservation was failing when symbolic device name was used along with subdevices. This bug exposed two other bugs: in rd_acquire() error handling and in on_device_acquire() error handling. All three bugs are fixed in my test setup (hw:Live,0 as device string and jackdbus start-stop-start sequence).
Fix java.lang.VerifyError

There is java.lang.VerifyError: com.jayway.android.robotium.solo.Solo on older android devices. NumberPicker is since API Level 11.
Issue 830: vCloud director Admin refactor (WIP)

definitely not ready for pull as it currently breaks all the vcloud director tests with bad wiring, plus probably not merged

currently outstanding problems:
- rest client doesn't seem to be wired up properly, the admin operations are causing a configuration error over not being mapped
- wondering whether to put the knife in and do appropriate 'user' renamings at the same time, get it over and done with.
add aliases for extension namespaces
Use inference to elide duplicated type parameters

Found with:
grep 'Builder.*<.*>.*Immutable.*<.*>.*builder();'
Allow specifying a different spec helper file

In some cases it can be beneficial to have a spec helper specific to the acceptance specs. For example, my `spec_helper.rb` contains only the absolute minimum setup (load paths etc.)
Copy code examples from The Roots of Lisp paper

This patch adds code examples from the Roots of Lisp paper to "test" directory.
Note that I dropped one lamda example and the label example because they didn't
run under Steel Bank Common Lisp.

Signed-off-by: Pekka Enberg <penberg@kernel.org>
Playlist access controls
start page for ROLE_USER
Update documentation in remote.h

This patch updates the documentation for functions in `remote.h`. A few of the parameters and return values were missing or out-of-date.
Fixing conversions for a long to and int. for user data.

Just what it says on the tin.
Ensuring files are loaded in the correct order

After running into an issue in one of our production environments it would appear that the filesystem doesn't always return the files in the correct order.

I've added a sort to the directory glob, in order to ensure that the file names are always ordered chronologically by timestamp.
Added md5 hashing to password.

I have realized that the config.ini stores the user's password without any encryption. I have added hashlib module and encrypted with md5 hashing. From what I know, same string points outputs the same hash value. I have been enjoying using octogit a lot and I hope I can contribute! :)
simplyfy replace plugin

insertにhookした処理をする時も共通化されてたほうが便利かなと
Connect lsu address directly to ALU adder

This series adds a separate output for the adder from the ALU and connect it to the
address input of the lsu.
The benefit of this is that it makes the lsu address path shorter.
Synthesis tests shows about  0.2% increase in resource usage.