labofsahil/github-event-dataset-2012 huggingface dataset:
environment: new prefix for project related environment variables

### Problem

The project was renamed from GORDON to MONK, but all related environment variables still have the prefix GORDON_.

### Solution

Rename all environment variables and update documentation.
CAS1121: LPPE changes

This pull request addresses the following LPPE improvements:

1. Ldap error codes are now encapsulated inside classes
2. Allowance of custom attributes to check for account state
3. An LPPE authentication handler which wraps another ldap authN handler inside itself, to allow the retrieval of necessary account state attributes.
4. Improvements to the way userAccountControl is checked for account state.
5. Extensible authenticationViaForm action that examines the account post authentication.
6. Generic refactoring and code clean up in addition to unit tests
7. Fixing LPPE JSP pages which broke after the responsive design UI changeset
New PixelShift functions added, for more accurate results on laggy computers

Tested the function while woodcutting, and it is very accurate, with and without lag. Lag really doesn't even seem to affect it at all, if you give it a few seconds to analyze.

Chance this could be merged soon?
Close opened file

While `file.__del__()` closes itself in CPython, PyPy doesn’t use reference counting but garbage collection, so destructors aren’t automatically closed immediately.  Invoked time of `__del__` is not decidable in PyPy.

Theoretically it must never cause any problem, but in real world we can’t assume setup.py script is immediately terminated.  Because in many cases users install boto using setuptools/`easy_install`. It might cause “too many open files” error.  In Windows opened files aren’t accessible by other process.  (setuptools tries copying files including `README.rst` while the file has been opened.)

So we should explicitly call `file.close()` in `try`–`finally` block or use `with` block.  This patch uses the latter way.
Add post method option to pagination.

In this change, you will be able to make post-method pagination links.

I add two properties 'http_method' and 'form_id'.

If you want to make pagination links with the form whose id is 'form1', you can make it as below:

    $config = array(
        'pagination_url' => 'pagination_url',
        'http_method'    => 'post',
        'form_id'        => 'form1',
    );
    Pagination::set_config($config);

You can get markup links like..

    <a onclick="var form = document.getElementById('form1'); form.action = 'pagination_url'; form.method = 'POST'; form.submit(); return false;" href="javascript:void(0)">1</a>...

To avoid repetition, I also make a new static method 'regular_link' which returns a 'regular' link. This method is used in 'page_links', 'next_link', and 'previous_link' methods.

Signed-off-by: omoon <omooon@gmail.com>
imperaviRedactor update

Первая попытка пула.
В основном чтобы потренироваться и посмотреть как это вообще происходит


Внес небольшие изменения в imperaviRedactor.
*1) подправлен баг с отсутствием toolbar.
* 2) модальное окно загрузки изображения, кнопка "Вставить", перенесена
во вкладку "Ссылка", убрана из вкладки "Загрузить" - так как является
лишней из за ненужности
 * 3) удален файл lang/en.js за ненадобностью, так как английский уже
встроен в файл и является языком по умолчанию
 * 4) путь '/index.php/yupe/backend/AjaxFileUpload/' внесен в
переменные, добавленна опция 'upload', если она указана то прописывается
путь загрузки файлов для изображений и файлов
 * 5) добавлена функция setOptions, в которую перенесена установка
опций.
 * 6) загрузка файлов в BackendController 
 * 		изменена строка:
 * 		Yii::app()->ajax->rawText(CJSON::encode(array('filelink' =>
Yii::app()->baseUrl . $webPath . $newFileName)));
 * 		на:
 * 		Yii::app()->ajax->rawText(CJSON::encode(array(
        	'filelink' => Yii::app()->baseUrl . $webPath . $newFileName,
            'filename' => $image->name
        )));
        чтобы возвращать название файла
[touch] i-jquery__pointer-event: iOS 6 ghost clicks

LEGO-8143: Прокликивания на ios6 (i-jquery__pointer-events)
Absolute script uri's

This is my first time working with Jam, and I am fairly new with require, so sorry if this is a totally noob problem/non-problem.

I was hoping to roll Jam it into an Express.js app I am working on.  Maybe there is something for this that I am totally missing, but I saw [this issue](https://github.com/caolan/jam/issues/84) and think this would solve both problems.  My `package.json` looked like this:

    "jam": {
        "packageDir": "public/js/lib",
        "baseUrl": "public/js",
        "dependencies": {
            "jquery": "1.8.3"
        }
    }

After building the require config files, this is what they looked like:

    require.config({
        "packages": [
            {   
                "name": "jquery",
                "location": "lib/jquery",
                "main": "dist/jquery.js"
            }   
        ],  
        "shim": {}
    });

Notice the `"location" : "lib/jquery"`.  What I wanted this to be was `/js/lib/jquery`.

This change adds an option `locationBase` (might not be the best name...), which is then appended to the location, resulting in:

    // package.json
    "jam": {
        "packageDir": "public/js/lib",
        "baseUrl": "public/js",
        "locationBase": "/js",
        "dependencies": {
            "jquery": "1.8.3"
        }
    }
    
    // require.js
    require.config({
        "packages": [
            {   
                "name": "jquery",
                "location": "/js/lib/jquery",
                "main": "dist/jquery.js"
            }   
        ],  
        "shim": {}
    });

I setup the tests and ran them after making the change and only got one failure:

![jam-tests](https://f.cloud.github.com/assets/1027776/29374/562a499a-4d6a-11e2-973d-6d21f161c6bf.png)

I dont think that has anything to do with the changes, but let me know if I am wrong...

Anyway, good work on the package manager!!
Ввести два типа полей со справочниками

bounded и unbounded
bounded справочники - те, в которые нельзя ввести другие значения кроме как из спавочников
unbouned - те, в которые можно ввести не только справочные значения
тип справочного поля должен задаваться в блоке meta
3.3/develop

Fix to the bug submitted

http://dev.kohanaframework.org/issues/4407
http://dev.kohanaframework.org/issues/4157
libnl3 compatibility for acs

Hi Luis,

I makde a few small changes to make it compile on libln3.    I tested on gentoo linux with libnl3,  then uninstalled libnl3, and tested libnl2 and libnl 1.1

A side note,  I've considered re-factoring the code to make acs a lib so other programs can call it. 

Thanks,
--
karl
adding catkin package test revealing bug in ManifestManager

ManifestManager incorrectly detects packages with "package.xml" in them as having "manifest.xml" files in them. This patch includes a unit test demonstrating the bug.
Add attr_reader for oauth_token

* Access token not being sent through URL request
* Add attr_reader for :oauth_token to fix
* Update tests to expect token in url and headers
* Bump version to 0.0.5

Minor edits:
* Remove unused method_missing
* Better use of constants
Corrected Util calls

just a few minor things. see commit description for more details
Don't use a lazy getter since it isn't necessary
minor bot improvements

Cherry-picked all changes.

/J
Fix broken stream reading.

As specified in uv/src/unix/stream.c, the user should call uv_close() in the read_cb under certain error conditions.  Not calling uv_close immediately caused an assertion error.

edit: reopening.
Fix heartbeat time comparision on the server

Without casting to a long long the server wasn't sending heartbeats properly
MAINT: sparse: eye() instead of identity()

sparse.identity() and sparse.eye() are almost the same thing. Confusingly, you cannot call eye() with a single parameter to get a square matrix.

This PR makes eye() accept a single parameter, and implements identity() via it. Also, makes it return dia_matrix by default (http://projects.scipy.org/scipy/ticket/1767).

I'm not 100% sure about the deprecation. I suppose `identity()` is used by absolutely everyone --- if this causes warnings to pop up, it'll be a nuisance.
Fix edge case in lstsq function

Looking at http://stackoverflow.com/questions/11549486/linearregression-returns-list-within-list-sklearn/ and digging through the code I found that the lstsq function wasn't behaving correctly. It's doc says that:

    Returns
    -------
    x : array, shape (N,) or (N, K) depending on shape of b
        Least-squares solution.

for

    a : array, shape (M, N)
        Left hand side matrix (2-D array).
    b : array, shape (M,) or (M, K)
        Right hand side matrix or vector (1-D or 2-D array).

But for the case `a.shape==(2,6)` and `b.shape==(2,)` we get `x.shape==(6,1)` instead of `(6,)`.

I've tried to patch the code to work correctly for that case.
Jow cssloader netbeans
Fix user module
Add stability to dev for archive skeletons (fix GH-489)

The Silex archives are not correctly built since the minimum-stability option was removed from composer files : a189265aa7ac2d2417f316286410f416139b6778

There is no stable version of Silex available yet.

Fix GH-489
Parent doc ui bug 753584

* Do Not Merge*

This changeset allows users to add and edit child documents.  The parent document id is passed via the "New sub-page link".  The slug INPUT field is restricted to only individual child page's slug, not the parent chain slug, to prevent the user from reparenting their document via the slug.  If the document is a child, regardless of being new or an edit, the "long" slug is built in an automated fashion.

* What I've PR'd *
1.  I'm not a python expert, so you'll have comments about how I've written the python pieces;  I welcome the ideas
2.  There may be something in the document flow (i.e. revision flow vs. edit flow, etc) that I'm missing
3.  The *big* issue is that while the "parent_topic_id" stays correct through slug changes, if a parent document's *individual slug* (without the hierarchy, i.e. "parent") changes, child documents which include that parent's previous slug value don't change ("parent/child" -> "parent_new_slug/child" doesn't happen for children)

Any ideas, guidance, etc. would be very, very much appreciated.
DO NOT MERGE - Revision dashboard 797589

Supercedes @groovecoder's PR.

Adds more gloss and fixes 404 errors.
Extraneous sigil patrol

Cleaning up the sigils in the tutorial code examples.
OOS bridge: service ranking fix and more comments

Small enhancement of OOS LogService ensuring probability to be chosen by clients. Plus some more comments.

For Matt: you changed recently properties to java.util.Properties, but value of  "service.ranking" (org.osgi.framework.Constants.SERVICE_RANKING) must be int value (Integer to be precise). Number as string is not taken into account (at least by Equinox). Therefore, I've changed properties to Hashtable<String, Object>.

If you will agree, I will merge it to master myself. Purpose of this pull request is to have a change to debate in team and review changes before applying them into mainline branch.
Win32 port fixes

* Gets `WIN32` compiling again, test cases not yet passing though.
* Rewrote `mkdirp` to work on win32 and *nix.

![](https://a248.e.akamai.net/camo.github.com/c398a3fa9e1e357a0ec9f86ec722c37472303dc9/687474703a2f2f692e696d6775722e636f6d2f4f656c56712e676966)
Add hash quote syntax

In Common Lisp, `#'function-name` exists as a shortcut to the function
reference `(function function-name)`. Although that in LFE you couldn't
do that in exactly the same way, as a function's arity always has to be
known in order to reference it, we can have something very similar:

Just use the Common Lisp syntax and specify the arity in addition.

Usage Examples:

    (: lists map #'string:to_lower/1 '("fooBar" "FizzBuzz"))

    (: lists filter #'is_function/1 (list #'-/1 3 #'abs/1 -5))

    (: lists map #'-/1 '(5 -8 1))

    (: lists zipwith #'-/2 '(1 2 3) '(1 5 8))

    (: lists zipwith #'//2 '(1 2 3) '(1 5 8))

    (: lists zipwith #'=:=/2 '(1 2 3) '(1 5 8))

    (: lists sort #'</2 '(1 8 5 2 3))
Update Console/Command/StoryShell.php

If you call this shell in lower case, stuck in an infinite loop.

eg.

    app/Console/cake bdd.story

fixes it.
[docs GH 570] Docs fix binders ex: added placeholder for API key and modified YQL query.
Governance model, How to contribute to Mojito

Meritocratic governance model: 2 new documents linked from the README
(Note: README links are borken until merged into master branch)
Thanks!
runTLSSocket: runTLS using user-supplied socket

Hi, I want to use run*Socket to make a graceful restartable application.

This patch add runTLSSocket to warp-tls. runTLSSocket uses user-supplied socket, like runSettingsSocket.

Please merge this.
Deprecate automatic RVM support

This branch deprecates automatic `.rvmrc` support.

The first time you access an application with an `.rvmrc` file, Pow opens a new browser window with a deprecation notice. The notice includes instructions on how to migrate by adding code to your `.powrc` file. It also offers links to automatically add the code and disable future notices for any other affected applications.

<img src="http://f.cl.ly/items/2J3R2e3A082b05021E0b/rvm%20deprecation%20notice.png">

It also updates the manual with new instructions for RVM compatibility, plus instructions for using rbenv or just setting the path manually.

@josh - can you review the `libexec/pow_rvm_deprecation_notice` approach? Will this work with npm and Homebrew installs?
Fix crash

Just want to send the module crash but somehow there's other changes in here, so, have them all.
Auto update advance search drop down lists from configuration file

EKT's extension to DSpace to support auto-updating of advance search drop down lists from configuration file
Fill in style
Fix UTM coordinate in Status Dialog
bslmf_metaint.t: Fix implicit overflow warning.
B-02004: Publish wizard behaves strange for content in ordered sections

4.6
GMF storage optimization

This branch is related to https://bugs.launchpad.net/openquake/+bug/1046720.

We identified that the storage of GMFs was highly inefficient, and for a "reasonably-sized" calculation it would take about 1TB of space to store just the GMFs.

These changes offer a 55% optimization with respect to the space requirements for GMFs. (Actually, the `complete logic tree GMF` was being stored as simply a giant collection of copies of the ground motion field data. This copying is no longer being done and instead, the complete LT GMF is being generated on export. So if you take that into account, that's a 75% optimization.)

Here are some notes I took and some stats I gathered, using the psql shell gather info. The test case I ran was a fairly small calculation, with 500 logic tree samples: http://pastebin.com/ZDGN6i7s

Before the optimization, the `gmf_node` table grew to 785MB. With indices and so on, the total database size was 1.36GB.

After the optimization, the `gmf` table (`gmf_node` was deleted and its data was restructured to fit into the `gmf` table) grew to only 335MB. Total database size was only 0.63GB.

This pull request requires https://github.com/gem/oq-engine/pull/886.
V2.0 - SERVER-6344 and SERVER-6320 master commits do not merge back cleanly to 2.0 

Separate pull request to merge changes back to 2.0 branch - see also CR 8094191
Provide start and stop commands for formulae.

Foreground processes:

    brew start redis # to start it
    ^C               # to stop it

Background processes:

    brew start postgresql # to start it
    brew stop postgresql  # to stop it

I've just modified `redis` and `postgresql` formulae as proof of concept. If you agree with this proposal, I can manage to adapt all of them.
weechat: switch back to cmake, support aspell

The weechat devs have informed us that configure is deprecated.
Switch back to cmake.
Add a user option to enable the aspell module.
Add a user option to enable the lua module.
Add an inreplace to fix the bad path in HB framework Python's
LINKFORSHARED variable and an explanation for it.
Add deps for lua and apsell if the user options those.
Add a caveat suggesting the user install aspell manually before
installing weechat, otherwise they won't have any dictionaries.
Remove the code that deleted the extra module symlinks.

The Aspell dep could be made into a requirement, but it would be
nice if Aspell installed at least the en dictionary by default.
All bindings work except the Ruby bindings when built against
rbenv and ruby-1.9.  This has been reported upstream and is the
main reason for switching back to cmake, so we can get support.
Tested on Lion using clang and llvm from XCode-4.3.3 against
system Python, HB framework and non-framework python, the current
Aspell, Lua, and Guile, system Ruby, and system Perl.
mongoose 3.2

 + development moved to [github](//github.com/valenok/mongoose)
 + changes checksum to sha1
added support for fdk-aac to ffmpeg

Hi,

added support for fdk-aac library to the ffmpeg

Currently fdk-aac is only in ffmpeg head

I built using:
brew install ffmpeg --HEAD -with-fkd-aac

Let me know if you want me to add  "build.head?" around the new parameters
(I'm assuming it will be updated soon and the next person who updates will not remember to remove that section)

Thanks,
Keenan
fixes default email sender address

Should fix https://github.com/owncloud/core/issues/927; takes care of both the default addresses used in the share and the lostpassword implementation.
Are there any other places where such a default email address is used?
ENH: maybe upcast masked arrays passed to DataFrame constructor

closes #406
pb serialization

pb serialization
B35-2075776: fix click() to triggerMOuseEventAt() after mouseover parent element (compatible with chrome)
Restore focusedEditorChange to be sync

Changed how focus is tracked in editor. Instead of relying on ``CodeMirror-focused`` style, use ``onFocus`` on ``onBlur`` events from CodeMirror to track focused state in ``Editor``. Fixes #1776, #1782 and #1779.
Reimplement ui/console features into ui/consolestyles branch

To wit there are three things missing in ui/consolestyles:

1. The ability to hit esc to lose the console hints
2. Once selecting console hints, you should remove the "/?" command so that the selected hint is there
3. The spinner to show a command is working

I've merged those back into here.

Please note that there is also "hidden" functionality for the "hover over spinner to get the command cancel button." However the code to actually cancel the command was never developed, so via CSS this button is also hidden. The only clue to this great power comes from Ruben: " @fjakobs has an idea about this." (That comes from the Google Doc).
Server crash: Cannot read property 'uri' of undefined

This fix prevents a server crash when the `this.options` object is undefined. Of course, that object should be never undefined, but this should be looked at in the future by @ajaxorg/dijkstra, since this `search.js` file is a bit messy and should be refactored anyway.

Fixes ajaxorg/cloud9infra#2768

@fjakobs @ajaxorg/dijkstra
Fix/codecompletion ui

@zefhemel one more thing: documentation popup height.
Tests and MVC reconcepting

Models and Views get a rethink over what their core functionality should be.

This includes extracting out all Behance-specific misconceptions of MVC.
Features/performances

Faster than driver but we have  hacked driver save operation by by-passing  checkObject 

```xml
size		benchmark			ms		linear runtime
10000		SaveWithDriver		 115	===
10000		SaveWithBsonJongo	 131	===
10000		SaveWithDriver		1137	==============================
10000		SaveWithBsonJongo	1134	=============================
```
Added new tool (debugwatch). Cleaning up useless messages
Resque::Logger subsystem based on stdlib Logger API

Most of the major notes on this change are in 83620312ab46f. That said, this logging system allows flexible control of how and where things are logged using the stdlib logger API. Developers can include Resque::Logger in any classes they wish to access the logger. End users can configure Resque.logger to use any Logger-compatible object they want.

I'm making this change against the 1-x-stable branch as I'd like to get these changes merged into our fork of Resque 1.x as well, but if you think they're more appropriate for 2.0 I can change the patch to be against master inead of 1-x-stable.
Hey Marc, Fixed something in de Manifest

so stuff keeps working when screen orientation changes (in each version
(see
also:http://stackoverflow.com/questions/1512045/how-to-disable-orientation-change-in-android)
Furthermore fixed a dependency issue
Publishing ivy.xml

Hi Matthew,
I've added some configuration to the localinstall script to allow it to publish an ivy.xml descriptor alongside the artifact. 

I found that this was needed in order to prevent Gradle from preferring an artifact from a different repository that has a published module descriptor.

There might be a cleaner way of declaring this configuration. I'm no expert on Groovy and I've only just started using Gradle. Feel free to tweak things.

Let me know what you think.

Kevin
stat_density2d: 'lims' gets passed to kde2d

This patch allows the `lims` to properly get passed to `kde2d`. Previously it was getting confused because `lims` needs to be a vector, but each element of `lims` vector was getting turned into an element in the *list*.

This example now works -- density contours are drawn beyond the range of the data:

```R
# Set up the data
sigm1 <- diag(c(30,50))
sigm2 <- diag(c(5,3))
mu1 <- c(10,15)
mu2 <- c(80,60)
library(mvtnorm)
sample <- round(rbind(rmvnorm(100,mu1,sigm1),rmvnorm(100,mu2,sigm2)))
sample <- sample[! (sample[,1] <1 | sample[,2] <1 | sample[,1]> 100 |
sample[,2]>100),]
d <- as.data.frame(sample)
names(d)<-c("x","y")


ggplot(d, aes(x,y)) + stat_density2d(bins=4, lims=c(-20, 120, 0, 100)) + 
  geom_point() + xlim(-20,120)

```

Note that the limits need to be specified for ggplot, with `xlim`, and to `kde2d` (via `stat_density2d`), with `lims=c(xmin, xmax, ymin, ymax)`.
Añadidas las tarifas de Tuenti (issue #83) y las nuevas de Yoigo
Prevent touch module from binding the same events twice.

Trying to resolve issue #535 (https://github.com/madrobby/zepto/issues/535)
Added methods to turn off serialization of nil attributes

This adds the ability to turn off serialization of nil attributes by default or on a per instance basis via a class and instance method respectively.  The default behavior if neither method is called is to continue serializing nil attributes.

``` ruby
# You can set the default behavior of all Jbuilder instances to not serialize nil
Jbuilder.serializes_nil false

json.author do |json|
  json.name nil
  json.age 32
end
# => { author: {"age": 32 } }

# Or you can set the behavior per instance
json.author do |json|
  json.serializes_nil! false
  json.name nil
  json.age 32
end
# => { author: {"age": 32 } }
```
Hardened __grant_generate

Grants are now correctly recognized as existing even if they have one or more spaces after the comma. 

I had the following test-case which failed and now it works as expected:

    permissions = 'SELECT, INSERT, UPDATE, CREATE, DROP'
    res = client.cmd('db1', 'mysql.grant_add', [permissions, '*.*', 'foo', '%']) 
    # -> res['db1'] == False -> which is wrong

After applying my patch res['db1'] becomes True. 

It was necessary to add a space after the comma because anyther function in MySQL module required that.
Use Main.getTabList to retrieve list of interesting windows

Solves #1 without hard-coding the Conky solution.
NEXUS-5368: Stale connections in pool

Explicitly controlling the duration for how long
is connection kept alive (it's total lifespan).

Some servers announce their "wish" for how long to
keep connection alive with non standard "Keep-Alive"
response header, and HC4 obeys that header. But some
servers does not do this (like RSO) and are silently
dropping the connection, while HC4 in this case
sets expiration time of the connection to "indefinite"
(forever).

With this change, we take over explicit control over
keep alive duration, and we prevent HC4 to pool connections
forever.
add passion prop

Change-Id: I049fd7daca679fc127f3d6c9e0102ee8b8e45f05
Fixed bug found in MHPrettyDate

We found a bug in the PrettyDate
Replace placeholder text by instructions for creating a map and changing permissions

as above
Content browser - wiring up more rows and content type selector
String#to_money! function which raises exception

There are cases in which an exception should be raised to notify higher level handlers.
For example, suppose we have set the following in a ```Product``` model:

```
composed_of :price,
  :class_name => "Money",
  :mapping => [%w(price_cents cents), %w(currency currency_as_string)],
  :constructor => Proc.new { |cents, currency| Money.new(cents || 0, currency || Money.default_currency) },
  :converter => Proc.new { |value| value.respond_to?(:to_money) ? value.to_money : raise(ArgumentError, "Can't convert #{value.class} to Money") }
```

when we use an assignment like the following:

```
product.price = "no_numeric_character"
product.save
```

this would wrongly result ```price_cents``` set to ```0```

In this case the correct way would be to use ```to_money!``` instead of ```to_money``` in the converter:

```
composed_of :price,
  :class_name => "Money",
  :mapping => [%w(price_cents cents), %w(currency currency_as_string)],
  :constructor => Proc.new { |cents, currency| Money.new(cents || 0, currency || Money.default_currency) },
  :converter => Proc.new { |value| 
    if value.respond_to?(:to_money!) 
      value.to_money!
    elsif value.respond_to?(:to_money) 
      value.to_money
    else
      raise(ArgumentError, "Can't convert #{value.class} to Money")
    end
 }
```


This way we can ensure that an ArgumentError will be raised when a non numeric string is given.
Fix for second-skipping bug #900
Squashed commit of the following: #1691 and #1684

commit 48069adf0f47b09f675a9ba59360ca216b695ceb
Author: Gregory Duchatelet <skygreg@gmail.com>
Date:   Tue Nov 27 10:13:08 2012 +0100

    Removing this plugin from this branch.

commit 15400fffe643ad3e66d6b5a296fe62d36d9a617a
Author: Gregory Duchatelet <skygreg@gmail.com>
Date:   Tue Nov 27 09:53:16 2012 +0100

    Enhance _match function in inventory with regex.
    --limit ~regex could be used to filter hosts or group with a regex.
    Tested on cli and ansible-playbook.

commit 63c1b2e17ec6daa282e0a3af2249bda8f734dcd3
Author: Gregory Duchatelet <skygreg@gmail.com>
Date:   Tue Nov 27 09:03:41 2012 +0100

    Revert pull request #1684

commit 7c2c6fee3a856c52c1960b96ec2e7ca1112c35a1
Merge: f023a2f dd5a847
Author: Gregory Duchatelet <skygreg@gmail.com>
Date:   Tue Nov 27 08:52:53 2012 +0100

    Merge remote branch 'upstream/devel' into devel

commit f023a2f3df4a4c2ab2dfcc5aa42c57c02358a47a
Author: Gregory Duchatelet <skygreg@gmail.com>
Date:   Mon Nov 26 20:52:27 2012 +0100

    Add an inventory plugin to fetch groups and host from our CMDB.

commit c64193b4c67053e6e197b89c7143b9770cf71f23
Author: Gregory Duchatelet <skygreg@gmail.com>
Date:   Mon Nov 26 20:43:30 2012 +0100

    Added possibility to filter hosts from a group, with a regex, separating
    groupname and regex with a ~
    Usage in group pattern: group~filterpattern
    Samples:
    ansible group~server-0[1236] -m ping
    ansible web~proxy -m ping
    ansible web~(proxy|frontend) -m ping
User interface library and components.


Package movement
-------------

We moved several user interface code not specific to eXceed Vote to a new package, `com.github.ant2.ui`.

Activity system
-------------

A new user interface component is added: the ActivityPanel which displays one component at a time. It can display nice transition effects from one component to another component.

The ActivityPanel comes with an ActivityController and ActivityView that faciliates working on programs with activities.

ActivityPanel is usable on its own, but it's good to use an ActivityController to control displaying of activities.

Main code
------------
The main code is changed to a test user interface using activities.
pass object params to enum_filter#select, fix issue #44

Hi @bogdan, here is my quick fix for #44.

I am not so sure it is a good idea to pass report instance in select method thought. 

But it works for me at the moment :)

Cheers

Leo
Update from fork to main.

Blah
Giving this a *third* try. I hate RST...
Planet2012 definitivo

Autores:
Fernando Valdenebro González
Antonio José Turel Rodríguez
Add organizer and attendees

Fix for #27 .  I've tested this using the following ICS:

{{{
BEGIN:VCALENDAR
METHOD:REQUEST
PRODID:Microsoft Exchange Server 2010
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Romance Standard Time
BEGIN:STANDARD
DTSTART:16010101T030000
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T020000
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
ORGANIZER;CN="Hansen, Sune":MAILTO:Sune.Hansen@acme.com
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=tnielse3@csc.com:MAILTO:tnielse3@acme.com
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=Kent Michaelsen (kmichaelsen@acme.com):MAILTO:kmichaelsen@acme.com
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="Costa, Jorge":MAILTO:Jorge.Costa@acme.com
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE:MAILTO:mholden6@acme.com
DESCRIPTION;LANGUAGE=en-US:All\,\n\nThis is a Placeholder for next week’s TOI –\nWebex and Con Call details will follow.\n\n/Sune\n\n
SUMMARY;LANGUAGE=en-US:SnapCreator TOI
DTSTART;TZID=Romance Standard Time:20121024T113000
DTEND;TZID=Romance Standard Time:20121024T133000
UID:040000008200E00074C5B7101A82E00800000000E082784ADAADCD0100000000000000001000000078F78DCB98419F4889FE6A4B96A6DAF2
CLASS:PUBLIC
PRIORITY:5
DTSTAMP:20121019T071532Z
TRANSP:OPAQUE
STATUS:CONFIRMED
SEQUENCE:0
LOCATION;LANGUAGE=en-US:Webex and Con Call
X-MICROSOFT-CDO-APPT-SEQUENCE:0
X-MICROSOFT-CDO-OWNERAPPTID:2104731612
X-MICROSOFT-CDO-BUSYSTATUS:TENTATIVE
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-CDO-INSTTYPE:0
X-MICROSOFT-DISALLOW-COUNTER:FALSE
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:REMINDER
TRIGGER;RELATED=START:-PT15M
END:VALARM
END:VEVENT
END:VCALENDAR
}}}

I've removed the `CN` from one attendee.  Format requires that a `MAILTO:` in the `ATTENDEE`, but we check and only strip if it's actually there.  Roles are not currently used, but could be added, same goes for status.

Interesting side note: Using `event.organizer` always leads to a Redirect error.  Might be because this is using the deprecated 2.0 GData libraries instead of the 3.0 API. I'll probably look at what it will take to move the new API.
Adds getCurrentImageViews with parent parameter.

In Android 4+ some activities will display an ActionBar which contains an ImageView (icon). This ImageView gets returned with a call to the default getCurrentImageViews. To retrieve only the ImageViews we really care about we must specify the view parent we are interested in.
Fixed VM#path

Path wasn't working. Changed :vmx_pathname to :vm_vmx_pathname to match what was in Vixen::Constants::VixPropertyId
pb173 - hw 04 (učo: 359251)

hw 04 + hw 05 +hw 06
repository: add failing repo initialization test

While running the LibGit2Sharp test against the libgit2 #856, a fail popped in.

Here's a C version of it (still failing) :/
FIXED #73 API Call region.list returns no names

Problem solved, have a look into the test in mageLTS-tests
[Bug 790801] Show a warning when a KB doc is being edited twice

When a edit page for a KB document or a translation is opened, set a flag in redis with an expiry of 15 minutes. If the form is then submitted, the flag will be cleared.

If a user starts editing a document or translation that has it's lock flag set, a big warning will be displayed, and the form will be disabled. In case of users being smarter than the system, a button is provided to "steal" the lock, that enables the form elements and tells the server to change the owner of the lock. This doesn't prevent the other user from submitting.

This doesn't stop duplicate edits of documents or translations, it only provides warnings and gentle barriers.

This doesn't have any tests yet, and it is a big enough bit of code it probably should. I'll look into that next.
[bug 794058] Reduce _kb_rebuild_chunk rate to 10/min.

tiny r?
Optimizations for read operations

For example:

* lower cache overhead for relationships
* faster property and relationship type lookups in cached nodes
* LockReleaser synchronized maps removed and transaction state moved close to transactions

See also https://github.com/neo4j/enterprise/pull/71
Expands Feature Set, Especially Towards #15

Also rearranges a couple of things and makes a few small changes. See my commit log for details.
Host down

i have a very basic solution for this Problem. Just take the next Host, if the current (Round Robin) - Host is down.
Support array values for fields in the Query Builder

Consider the following example:

```php
<?php
$builder = new Elastica_Query_Builder();                                                              
$builder                                                                                              
  ->query()                                                                                         
    ->term()
      ->field('category.id', array(1, 2, 3))                                                        
    ->termClose()
  ->queryClose();                                                                                   
                                                                                                    
echo json_encode($builder->toArray());
```

outputs:

```
{"query":{"term":{"category.id":"Array"}}}
```

after the fix in this PR the output is:

```
{"query":{"term":{"category.id":[1,2,3]}}}
```
okachin commit

sa
Prioritize xen boot in debian way
[Routing] added route compile check to identify a default value...

... of a required variable that does not match the requirement

reopened version of #5400
Added Monolog to composer.json as dev dependency

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -

Monolog was missing in dev composer dependences. It was present in `vendors.php`: https://github.com/symfony/symfony/blob/35e6c8ed0fb1ee329c26868c87e0fb5c54eef06a/vendors.php

Without this code coverage report generation fails with error message: `Fatal error: Class 'Monolog\Handler\ChromePHPHandler' not found`.
Change some info level logging to debug.

Since xapi now logs via syslog, all logging of info level or highter
gets echoed to /var/log/messages. This patch changes some very common
log messages to debug level.
Make nickserv work off donor accounts

party like a rock star
validator button eingebaut
add @diagnostics field - sf id: 1887564, re #1

This patch adds a new field, called @diagnostics, which is treated like
other indexed fields, such as @todo, and @bug.

The idea behind the patch is to allow developers to create diagnostics
sections in their documentation, that contains a list of error messages
that the code generates, along with a snippet of text about what it
means. For example:

@diagnostics: C{Unrecognized token in config file: %s}

The config file contained an invalid token. This may be caused by a
typo, if you edited the file by hand, or the pluralization of a keyword
where the singular was expected. If you haven't changed the file by
hand, the config file may have been created with an earlier version of
the software, which had a slightly different format. See the "Config
Files" section if the upgrade documentation.

The attached patch fixes the epydoc docstring parser, docwriter, and the
documentation. It makes no changes to documentation generated in Latex,
or with the javaDoc or reStructuredText formats.

Testing has been adhoc, and no additional test cases were added to the
doctests.

https://sourceforge.net/support/tracker.php?aid=1887564
normalize keys so scope works when sending translations individually
Fixes #3066 : remove debug log lines from javascript

Some log lines were left by developper, we should remove them
F2 co vanilla units

ADDS A2 VANILLA PLATOONS
========================


Touched files
==========
briefing.sqf
setGroupID.sqf
setGroupMarkers.sqf
init.sqf

Other
===========
Example for vehicle cargo assignment adding in assignGear_Us.sqf
Alternative addReinforcementOptionsAction.sqf included - can safely be deleted
Alternative assignGear_US.sqf included (Mk16s) - can safely be deleted
Fixed outstanding bugs in assignGear_ger.sqf and all gear scripts ("ItemWatch")
Small main menu CSS tweaks to improve usability

Change the background color of the content window to 50% transparent
black so that everything is readable even if bright fanart is shown.
Additionally, add some padding to #mkfMenu so that the menu buttons
don't touch the top bar.
fix typo in nodes.py
-Reworked user validation to give meanful error messages (including abou...

...t need username and/or email).
Initial listbuilder addition

This code works and has 3 functional demos.  It follows the specs on the development wiki:

http://wiki.jqueryui.com/w/page/12137993/ListBuilder
Bug 791395 - Remove live pan in favor of swipe. Week view frame grouping...

.... r=michalbe
Server Side overrides to handle redirects and referers...#22 #37 #27

Added Request Header: X-Push-State-Referer
Added Response Header: X-Push-State-Location

Js modified to handle these attributes...does a window.history.replaceState upon detection of X-Push-State-Location

Ajax Request now always sends X-Push-State-Referer and redirect_to :back catches this.
Installfest attendees should not be given the option to destroy their Heroku apps from the command line.

Currently, the "clean up" page gives you two options for destroying a Heroku app: through the web UI, or through the command line. I watched a student of the "gotta type everything in black!" flavor try to do both in sequence.

I don't think there's much reason to give both options: the web UI is more straightforward compared to the command line, which typically goes like this:

```
Traviss-MacBook-Air:awesome_app tjgrathwell$ heroku apps:destroy
 !    Usage: heroku apps:destroy --app APP
Traviss-MacBook-Air:awesome_app tjgrathwell$ heroku apps:destroy --app APP
 !    App not found.
Traviss-MacBook-Air:awesome_app tjgrathwell$ heroku info
=== empty-stream-2789
Domain Name:   empty-stream-2789.herokuapp.com
Git URL:       git@heroku.com:empty-stream-2789.git
Owner:         tjgrathwell@gmail.com
Stack:         cedar
Web URL:       http://empty-stream-2789.herokuapp.com/
Traviss-MacBook-Air:awesome_app tjgrathwell$ heroku apps:destroy --app empty-stream-2789

 !    WARNING: Potentially Destructive Action
 !    This command will destroy empty-stream-2789 (including all add-ons).
 !    To proceed, type "empty-stream-2789" or re-run this command with --confirm empty-stream-2789

> empty-stream-2789
Destroying empty-stream-2789 (including all add-ons)... done
Traviss-MacBook-Air:awesome_app tjgrathwell$
```
Handle Rails 3.0.x request format payload

Hi,

In Rails 3.0.x, somewhat annoyingly the instrumentation payload is different, including a list of formats rather than a single request format:

```ruby
{
  :controller=>"HomepageController",
  :action=>"index",
  :params=>{"controller"=>"homepage", "action"=>"index"},
  :formats=>[:html],
  :method=>"GET",
  :path=>"/",
  :status=>302,
  :view_runtime=>nil,
  :db_runtime=>nil,
  :user=>"simon",
  :ip=>"127.0.0.1"
}
```

The included patch is the rather bodgy way of supporting Rails 3.0.x we're using in our fork - if you'd prefer this to be done a different way, just let me know and I'm happy to amend it accordingly.

Cheers,
Simon

p.s. thanks for creating this gem; I can't stop tailing our logs now, it's bliss. :-)
[fixes] a few small fixes
Adding a new unit test for getJenks issue
Enable the user to change the mappings (eg. if <Space> is already used)

"""
Allow user-defined mappings

Allow to replace &lt;Space&gt;, &lt;S-Space&gt; and &lt;BS&gt; individually. The defaults
stay the same.
Add an option to disable the "non-GUI" mapping (by default, &lt;BS&gt;).
Clean things a bit: now gives a proper message if a key is already mapped.
"""
a translation file for Japanese

Hello.
I made a new translation file for Japanese.
Please review.
Various changes

1) Added a ASCII statusbar for player stats and messages. (not handling messages that are longer than world.width -> overflow)
2) Implemented some kind of chance based AI for Enemy-Class. Bugs now move and attack - beware!
3) Damage made in an attack is now depending on the physical condition of the attacker and some chance (see comments).
4) Added a Player-Child-Class for further improvements such as learning skills etc. But it's still empty :-)
Fix tls.cabal exposed-modules

I am currently making myself familiar with the code base and found a bug in the .cabal file. Since I'm new to git and github, this is a small pull request to make sure my setup works.
I hope this is useful.
Fix for issue #92 - 'logscale' for both y axes takes duplicate hashmap key.

This is a fix for #92, where 'logscale' key in params hashmap for y1 axis is overridden whenever y2 logscale checkbox is also selected.
WebStorm data

pull req
Minor test and style tweaks

(Breaking up recent changes into pull-request-sized chunks for review.)

This addresses some of the issues raised by running jshint with Butter's configuration and tweaked a couple of tests.
Agenda jQuery UI

Agenda jQuery UI
Width Multiplier

Added a simple widthMultiplier (defaults to 1.0, which is no change from current).

We're using it with only a few child cards, so we needed to narrow it down — but I imagine somebody using it with more would want to make it wider, too.

Thanks for a sweet product. This was a jiffysnap to use.
NOVA: minor cleanups

With the patch series more test run scripts succeed.
Add Milestone details for Merge Requests

Hi,

In our organisation we follow a workflow for which it makes sense to assign Merge Requests to a Milestone, since we actually accept submissions over a certain time span, and than we have a merge window during which a person will merge in the next stable release all the MR marked as OK.

The idea is that:
- Someone will do the code review on the MR, and Set the Milestone field if the MR is accepted
- The person in charge for packing the next release will have to browse through all the MR marked for that Milestone and merge them all

Additionally, we plan on adding an automated tool (Jenkins? Travis? A custom script?) that does the same, checking that all the MR marked as OK for the next milestone apply and build correctly on the stable branch.

In this MR I've added
- Milestone detail when creating / editing a MR
- Ability to filter for Assignee / Milestone in the MR list view
- Show the amount of MR associated with a Milestone in the Milestone list view
- Show the amount of open MR in the Milestone details view

Let me know if you have any comments, additional requests, strong objections.
Please keep in mind that I'm not a Ruby developer and I really welcome suggestions on how to do it "better".
Fixes The Extra <br> issue

WordPress is interpreting some of the lines as having a line break at the end, and is auto inserting br's because it uses wpautop to add \<p>'s and \<br>'s for text fields automatically.

Fixes the issue.
LOGSTASH-503: Require file input paths to be absolute

This was already the case, but we weren't explicitly checking for it.  If the user specifies a relative path, an ArgumentError will be raised that says "File paths must be absolute, relative path specified: #{path}".  Also added tests for this and updated the documentation to say that paths must be absolute.
First move notifications and various fixes

So here's my result so far. Some bugs fixed and the messages were added.
There seems to be an issue with performing runs of multiple matches, which I have yet to identify. 
Edit: Identified the issue. I was placing the wrong piece on the board, so players's state would differ from game master's.
Update core/custom_field_api.php

On "View Issues" page, even custom fields from disabled projects are displayed.
enhanced class list corverter for different formats and extra data 

the class_list_converter had a hard coded comma delimited string format for the class list.  This enhancement replaces the hard coding with a function that allows arbitrary alternative formats.  There is also the ability to add extra data to go with each class.   

sample input:

    """configman.tests.test_converters.Alpha|1|02:00:00
    configman.tests.test_converters.Beta|2
    configman.tests.test_converters.Gamma|3|03:00:00"""

sample config output:

    config
    config.cls0
    config.cls0.cls == configman.tests.test_converters.Alpha 
    config.cls0.cls_instance == configman.tests.test_converters.Alpha()
    config.cls0.cls.frequency == 1
    config.cls0.cls.time == datetime.time(02:00:00)
    config.cls1
    config.cls1.cls == configman.tests.test_converters.Beta 
    config.cls1.cls_instance == configman.tests.test_converters.Beta()
    config.cls1.cls.frequency == 2
    config.cls2
    config.cls2.cls == configman.tests.test_converters.Gamma 
    config.cls2.cls_instance == configman.tests.test_converters.Gamma()
    config.cls2.cls.frequency == 3
    config.cls2.cls.time == datetime.time(03:00:00)
    
See the demo in the test_converters.py in the `test_classes_in_namespaces_converter_5` test.
Fixing a potential security issue in `staging.py`

The filename `write_uploaded_file_to_dataset()` uses is now striped to the path basename, which prevents absolute paths being used to write uploaded files to arbitrary filesystem locations.
fix undefined offset on strict mode

textile code like:
===
foo
==== 
generate error in strict mode (undefined offset).
use of array_pad to avoid that. (it's maybe also a good idea to apply array_pad on all list() in this class)
Custom Tags in document.php

This change is to allow the developers to add Custom Tags to the Header of the page. Custom tags are required for different purposes. The most used purpose is to add Custom Meta Tags for FaceBook Open Graph protocol. To make different Facebook components to work properly, the custom meta tags are required to be in the header of the document. Currently there is no way to add custom tags in the header of any page. The changes made will not affect already deployed opencart installations.
with Fedora's and Archlinux usr move the location of systemctl has chang...

This is a fix for Bug #16451, It wil test if /bin/systemctl exists otherwise check if /usr/bin/systemctl exists
to provide systemd service functionality.
Making the greeting line more science-y. 

A Muon is a lepton. Most of them aren't Italian.
tweede master commit
Fix link in README for creating a new application in Github
Fix behavior of visual mode `{count}>` and `{count}<`

fixes #98
Boostraptest
[2.1] [WIP] adding basic table view helper

Some thoughts on how the table view helper could work

* should it accept a cycle, or an array of class names to cycle over for row striping

* how would table be styled? I'm thinking passing in an assoc array for the headerCells where the keynames become the class names for that column

* should i add class names for each row? e.g. class="row1"...
[ZF2-468] Missing sprintf calls

- Two missing sprintf() calls in exception creation in Mail writer
Allow nested fieldsets

This PR allow to have nested fieldsets, as well as correctly handle names using array notation so that users can had several times the same fieldset using a different name (it was not possible before as elements all had the same name).