hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
7b5b1a8441a8f289454c51c045aaf59b850a49c0
diff --git a/packages/bs-loader/index.js b/packages/bs-loader/index.js index <HASH>..<HASH> 100644 --- a/packages/bs-loader/index.js +++ b/packages/bs-loader/index.js @@ -109,8 +109,11 @@ module.exports = function loader() { module.exports.process = function bsLoaderProcess( src /*: string */, filename /*: strin...
Fix bs-loader process function to work with Jest
rrdelaney_bs-loader
train
8f06c04fe9a8d30fabe2b652806230ae454e1e0e
diff --git a/doradus-server/src/com/dell/doradus/search/SearchResult.java b/doradus-server/src/com/dell/doradus/search/SearchResult.java index <HASH>..<HASH> 100644 --- a/doradus-server/src/com/dell/doradus/search/SearchResult.java +++ b/doradus-server/src/com/dell/doradus/search/SearchResult.java @@ -112,6 +112,12 @@ ...
sorting by numeric multi-valued field
QSFT_Doradus
train
9fee2135efa333b3407080fe1629442792878817
diff --git a/benchmarks/Webfactory/Doctrine/ORMTestInfrastructure/ImportEvent.php b/benchmarks/Webfactory/Doctrine/ORMTestInfrastructure/ImportEvent.php index <HASH>..<HASH> 100644 --- a/benchmarks/Webfactory/Doctrine/ORMTestInfrastructure/ImportEvent.php +++ b/benchmarks/Webfactory/Doctrine/ORMTestInfrastructure/Impor...
increased number of iterations for fast benchmarks
webfactory_doctrine-orm-test-infrastructure
train
a01e3aa57ccf1dad9a56c993e9846e2e74234211
diff --git a/src/app.js b/src/app.js index <HASH>..<HASH> 100644 --- a/src/app.js +++ b/src/app.js @@ -1,6 +1,8 @@ var Video = require('./video'); var Assets = require('./assets'); +var Debugger = require('potion-debugger'); + var PotionAudio = require('potion-audio'); var App = function(canvas) { @@ -15,7 +17,...
move debugger from engine to app
jansedivy_potion
train
24e561d2c3d4867268126a50c5b08299d8ec42ac
diff --git a/Oauth2/Client.php b/Oauth2/Client.php index <HASH>..<HASH> 100644 --- a/Oauth2/Client.php +++ b/Oauth2/Client.php @@ -16,8 +16,9 @@ use Eden\Oauth\Argument; * * @vendor Eden * @package Oauth - * @author Christian Symon M. Buenavista sbuenavista@openovate.com - * @author Christian Blanquera cblanquera...
Added new functionality for changing responseType.
Eden-PHP_Oauth
train
7e10bfe28058151652a372b977005dd5bad4c1b1
diff --git a/README.rst b/README.rst index <HASH>..<HASH> 100644 --- a/README.rst +++ b/README.rst @@ -55,7 +55,7 @@ Users of other operating systems will need to install the following: * PyGObject: https://wiki.gnome.org/Projects/PyGObject **or** * pgi: https://pypi.python.org/pypi/pgi/ * PyEnchant (o...
Update minimum version of python-keyring
jim-easterbrook_Photini
train
bd605128a92fd8cddf77c5e49e94ae8d90f47fb3
diff --git a/source/Core/Model/BaseModel.php b/source/Core/Model/BaseModel.php index <HASH>..<HASH> 100644 --- a/source/Core/Model/BaseModel.php +++ b/source/Core/Model/BaseModel.php @@ -1373,7 +1373,7 @@ class BaseModel extends \OxidEsales\Eshop\Core\Base protected function _getUpdateFields($useSkipSaveFields = t...
Performance enhancement: - Instead of iterating "if" statements, using fixed value
OXID-eSales_oxideshop_ce
train
c3803570051c7987b7b5f07d8d0e3cd5f1eab29b
diff --git a/visidata/loaders/shp.py b/visidata/loaders/shp.py index <HASH>..<HASH> 100644 --- a/visidata/loaders/shp.py +++ b/visidata/loaders/shp.py @@ -45,7 +45,7 @@ class ShapeSheet(Sheet): self.addRow(shaperec) -class ShapeMap(Canvas): +class ShapeMap(InvertedCanvas): aspectRatio = 1.0 ...
[shp pickme] invert y-axis of .shp files #<I>
saulpw_visidata
train
61e4de274550a01546df7e325df92fc721481a84
diff --git a/lib/platform/github/index.js b/lib/platform/github/index.js index <HASH>..<HASH> 100644 --- a/lib/platform/github/index.js +++ b/lib/platform/github/index.js @@ -563,10 +563,16 @@ async function getBranchLastCommitTime(branchName) { async function getIssueList() { if (!config.issueList) { - config...
fix: check that result body is an array for getIssueList()
renovatebot_renovate
train
daba90d1bf798b09be4a315edb6105232f39e890
diff --git a/gridsome/lib/develop.js b/gridsome/lib/develop.js index <HASH>..<HASH> 100644 --- a/gridsome/lib/develop.js +++ b/gridsome/lib/develop.js @@ -5,7 +5,6 @@ const createApp = require('./app') const createExpressServer = require('./server/createExpressServer') const createSockJsServer = require('./server/cre...
chore(graphql): custom graphql explorer favicon
gridsome_gridsome
train
b27a5dda0f260b7185d88be3ac04976e9b5e9635
diff --git a/lib/nrpeclient/check_nrpe.rb b/lib/nrpeclient/check_nrpe.rb index <HASH>..<HASH> 100644 --- a/lib/nrpeclient/check_nrpe.rb +++ b/lib/nrpeclient/check_nrpe.rb @@ -15,8 +15,8 @@ module Nrpeclient if @options[:ssl] @ssl_context = OpenSSL::SSL::SSLContext.new :SSLv23 @ssl_context.ciphe...
Nil guarding the SSL context. This way we can use default cert and key, which should be fine for most folks.
scaria_NrpeClient-Gem
train
a60c9bbcc1c1ee1b8306a6a1c0e7fd9953eacbcf
diff --git a/src/nfc/clf/pn53x.py b/src/nfc/clf/pn53x.py index <HASH>..<HASH> 100644 --- a/src/nfc/clf/pn53x.py +++ b/src/nfc/clf/pn53x.py @@ -556,11 +556,10 @@ class Device(device.Device): # code in tags/tt4.py. try: deselect_command = (b'\xCA' + did) if did else b'\xC2' + ...
All remaining tests for pn<I>x sense_ttb.
nfcpy_nfcpy
train
bbad3774e809749740e30c2b1c8c414a2153ae03
diff --git a/Tests/ContainerTest.php b/Tests/ContainerTest.php index <HASH>..<HASH> 100644 --- a/Tests/ContainerTest.php +++ b/Tests/ContainerTest.php @@ -51,7 +51,6 @@ class ContainerTest extends TestCase $this->assertInstanceOf('Doctrine\ODM\MongoDB\DocumentManager', $container->get('doctrine.odm.mongodb.def...
[DoctrineMongoDBBundle] Removing duplicate test (this same line is about ten lines up).
doctrine_DoctrineMongoDBBundle
train
2c20cf2a946d6eca86e5393c6675c59c0a248b94
diff --git a/src/native.js b/src/native.js index <HASH>..<HASH> 100644 --- a/src/native.js +++ b/src/native.js @@ -12,22 +12,21 @@ import { View, } from 'react-native'; -import { - modelReducer, - formReducer, - modeled, - actions, - combineForms, - initialFieldState, - actionTypes, - Form, - Fieldset, -...
Issue #<I> Removed imports via index.js as that indirectly imports react-dom.
davidkpiano_react-redux-form
train
f6698e8ab040e8632562babe456e830171003a94
diff --git a/snipsskillscore/intent_parser.py b/snipsskillscore/intent_parser.py index <HASH>..<HASH> 100644 --- a/snipsskillscore/intent_parser.py +++ b/snipsskillscore/intent_parser.py @@ -221,3 +221,19 @@ class IntentParser: except (KeyError, TypeError): pass return None + + @static...
removed watching on all subtopic and consequently logging every audio package received
snipsco_snipsmanagercore
train
8fffe3af75203f4de246a9292a938d69bba4bb73
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -21,7 +21,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de var subscribeEmailToMailchimp = function subscribeEmailToMailchimp(url) { return new Promise(function (resolve, reject) { ...
Adds a timeout of <I>s for mailchimp request so user is left hanging
benjaminhoffman_gatsby-plugin-mailchimp
train
73670073d71cc2558fecdaa80f28be6e1729d571
diff --git a/src/frontend/org/voltdb/utils/SQLCommand.java b/src/frontend/org/voltdb/utils/SQLCommand.java index <HASH>..<HASH> 100644 --- a/src/frontend/org/voltdb/utils/SQLCommand.java +++ b/src/frontend/org/voltdb/utils/SQLCommand.java @@ -410,7 +410,9 @@ public class SQLCommand // Query Execution privat...
Added rare comments to sqlcomand
VoltDB_voltdb
train
8dd4bb69c8aa80a3e1f241335fb562609ab5d801
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -4,10 +4,7 @@ var eos = require('end-of-stream') var split = require('split2') var path = require('path') var resolveJITSymbols = require('resolve-jit-symbols') -var internal = require('./is-internal') var hexRx = /(0x[0-9...
give me everything by default, do not strip names
davidmarkclements_perf-sym
train
6d4e99a2582d2c801abc0c14362b31df07797e78
diff --git a/core/lib/rom/relation.rb b/core/lib/rom/relation.rb index <HASH>..<HASH> 100644 --- a/core/lib/rom/relation.rb +++ b/core/lib/rom/relation.rb @@ -4,6 +4,7 @@ require 'rom/constants' require 'rom/initializer' require 'rom/relation/class_interface' +require 'rom/auto_curry' require 'rom/pipeline' requi...
Move more extensions to core relation class This kind of separation is no longer needed as relations can be easily instantiated standalone with default options set correctly. We also now enable registry reader plugin for relations that are actually used in a registry, which makes much more sense.
rom-rb_rom
train
bb6999df6088aa199045986b973aeedcdc22f58b
diff --git a/core/View/SecurityPolicy.php b/core/View/SecurityPolicy.php index <HASH>..<HASH> 100644 --- a/core/View/SecurityPolicy.php +++ b/core/View/SecurityPolicy.php @@ -16,6 +16,13 @@ use Piwik\Config; */ class SecurityPolicy { + /* + * Commonly used rules + */ + const RULE_DEFAULT = "'self' 'un...
Provide SecurityPolicy method to allow embedded iframes to fetch their resources (#<I>)
matomo-org_matomo
train
fc6a62a115bfed4a40d894571e47e1fd0255a728
diff --git a/org.opencompare/play-app/app/controllers/PCMAPI.java b/org.opencompare/play-app/app/controllers/PCMAPI.java index <HASH>..<HASH> 100644 --- a/org.opencompare/play-app/app/controllers/PCMAPI.java +++ b/org.opencompare/play-app/app/controllers/PCMAPI.java @@ -101,11 +101,12 @@ public class PCMAPI extends Con...
Ergonomic review and code cleaning.
OpenCompare_OpenCompare
train
6db4c743302eaecc5e7772d36ade8bcd0a613062
diff --git a/vraptor-core/src/main/java/br/com/caelum/vraptor/observer/download/InputStreamDownload.java b/vraptor-core/src/main/java/br/com/caelum/vraptor/observer/download/InputStreamDownload.java index <HASH>..<HASH> 100644 --- a/vraptor-core/src/main/java/br/com/caelum/vraptor/observer/download/InputStreamDownload....
Closed the stream and create a test case
caelum_vraptor4
train
fe79e6f27b7feb4965fc0ec5211149be1c6825bd
diff --git a/test/hex.js b/test/hex.js index <HASH>..<HASH> 100644 --- a/test/hex.js +++ b/test/hex.js @@ -97,8 +97,10 @@ describe("JSON-RPC Response", function() { "id": 2 }; - provider.sendAsync(request, function(err, result) { - noLeadingZeros('eth_sendTransaction', result); + prov...
Fix incorrect testing, TX hashes are DATA-hex types, as defined in the RPC wiki.
trufflesuite_ganache-core
train
4de14e24312aac7839156f22612374a9734b8b90
diff --git a/go/httpdportalpreview/httpdportalpreview.go b/go/httpdportalpreview/httpdportalpreview.go index <HASH>..<HASH> 100644 --- a/go/httpdportalpreview/httpdportalpreview.go +++ b/go/httpdportalpreview/httpdportalpreview.go @@ -148,7 +148,11 @@ func (p *Proxy) RewriteAnswer(r *http.Response, buff []byte) error {...
Fixed href that wasn't rewrited correctly in the portal preview
inverse-inc_packetfence
train
ef5abbd9a95c23f927bef49fa8c04677855a33a2
diff --git a/java/java_base.rb b/java/java_base.rb index <HASH>..<HASH> 100644 --- a/java/java_base.rb +++ b/java/java_base.rb @@ -324,7 +324,7 @@ class JavaBase def add_auth(req_id, scheme, cert) handle_keeper_exception do jzk.addAuthInfo(scheme, cert.to_java_bytes) - Code::OK + Code::Ok ...
fix up one or two things related to pull req <I> all tests passing locally
zk-ruby_zookeeper
train
ffbbff0a1b8cd2ccdc696a7db9c9dacf2b85911c
diff --git a/tdubs.py b/tdubs.py index <HASH>..<HASH> 100644 --- a/tdubs.py +++ b/tdubs.py @@ -115,7 +115,7 @@ tdubs.VerificationError: expected <Mock ...> to not be called with (...), ... class Stub(object): def __init__(self, _name=None, **kwargs): self._name = _name or '' - self._items = {} + ...
Improve variable name for internal dict items
blaix_tdubs
train
111b77c5f65ae2af0161bd659477a9382759981d
diff --git a/Eloquent/Builder.php b/Eloquent/Builder.php index <HASH>..<HASH> 100755 --- a/Eloquent/Builder.php +++ b/Eloquent/Builder.php @@ -411,6 +411,40 @@ class Builder } /** + * Save a new model and return the instance. + * + * @param array $attributes + * @return static + */ + ...
move create and forceCreate methods to builder
illuminate_database
train
15c12989c0762334fab11a1fb447221e035f1219
diff --git a/aws/resource_aws_datasync_location_efs_test.go b/aws/resource_aws_datasync_location_efs_test.go index <HASH>..<HASH> 100644 --- a/aws/resource_aws_datasync_location_efs_test.go +++ b/aws/resource_aws_datasync_location_efs_test.go @@ -86,6 +86,7 @@ func TestAccAWSDataSyncLocationEfs_basic(t *testing.T) { ...
tests/r/datasync_location_efs: Add ErrorCheck
terraform-providers_terraform-provider-aws
train
ac2b3c1985dd2f81eca1a54d19bc750e852fa9c6
diff --git a/test/scene.spec.js b/test/scene.spec.js index <HASH>..<HASH> 100644 --- a/test/scene.spec.js +++ b/test/scene.spec.js @@ -73,33 +73,19 @@ describe('Scene.Spec', function () { const { renderer, scene, camera } = helper.createQtekScene(); const cube = new qtek.geometry.Cube(); - cu...
Simplify scene spec in test
pissang_claygl
train
fdc51d82dd7f806e37064aaa6804fe2bf48020f6
diff --git a/src/dna-helper.next.js b/src/dna-helper.next.js index <HASH>..<HASH> 100644 --- a/src/dna-helper.next.js +++ b/src/dna-helper.next.js @@ -34,9 +34,6 @@ export class DNAHelper { (scope.hasOwnProperty('tagName') && scope.tagName) || DNAHelper.classToElement(scope) ...
fix: trigger `onRegister` after tagName and is properties definition
chialab_dna
train
b5085ad55da67c164f4bde3c3ba4759675121829
diff --git a/allegedb/allegedb/cache.py b/allegedb/allegedb/cache.py index <HASH>..<HASH> 100644 --- a/allegedb/allegedb/cache.py +++ b/allegedb/allegedb/cache.py @@ -1,6 +1,10 @@ from collections import deque, MutableMapping, ItemsView, ValuesView +class HistoryError(KeyError): + pass + + class WindowDictItem...
Create and use HistoryError in allegedb.cache Errors to do with the revision history are kinda KeyError but sorta ValueError so instead I made a new error.
LogicalDash_LiSE
train
2c75e5d627203d4dc12c8a79a22228a08b55f06e
diff --git a/aeron-system-tests/src/test/java/io/aeron/cluster/ClusterBackupTest.java b/aeron-system-tests/src/test/java/io/aeron/cluster/ClusterBackupTest.java index <HASH>..<HASH> 100644 --- a/aeron-system-tests/src/test/java/io/aeron/cluster/ClusterBackupTest.java +++ b/aeron-system-tests/src/test/java/io/aeron/clus...
[Java] Fix lambda formatting. Ignore errors due to stray messages that can occur.
real-logic_aeron
train
4211971821ad76879cc67386562ef9465a5b78e5
diff --git a/src/Utility/Session.php b/src/Utility/Session.php index <HASH>..<HASH> 100644 --- a/src/Utility/Session.php +++ b/src/Utility/Session.php @@ -70,7 +70,7 @@ class Session */ public static function getServicePermissions($service, $component = null, $requestor = ServiceRequestorTypes::API) { -...
Add restricted admin check to Session
dreamfactorysoftware_df-core
train
ec5bd09d9e14950cf18b287ec8da93269215efdf
diff --git a/iktomi/unstable/db/sqla/replication.py b/iktomi/unstable/db/sqla/replication.py index <HASH>..<HASH> 100644 --- a/iktomi/unstable/db/sqla/replication.py +++ b/iktomi/unstable/db/sqla/replication.py @@ -178,7 +178,12 @@ def replicate_no_merge(source, model, cache=None): cache = {} elif source ...
Replication: don't start from skretch (+merge) when object already exists
SmartTeleMax_iktomi
train
1f296663356734e9015db96f06c42dd72de6dbc1
diff --git a/src/Parser.php b/src/Parser.php index <HASH>..<HASH> 100644 --- a/src/Parser.php +++ b/src/Parser.php @@ -345,7 +345,6 @@ class Parser { /** * Aborts parsing list when one of the parent contexts understands something - * @param ParseContext $context * @return bool */ priva...
Fix incorrect PHPdoc for src/Parser.php, nit on property assignment Clarify phpdoc of parseDelimitedList Don't assign a DelimitedList to node->nameParts, it's declared as an array. (Has no side effects, this is overwritten afterwards unless nameParts was null)
Microsoft_tolerant-php-parser
train
633c4f8415897849ddca57336b2807546365d635
diff --git a/thefuck/rules/sudo.py b/thefuck/rules/sudo.py index <HASH>..<HASH> 100644 --- a/thefuck/rules/sudo.py +++ b/thefuck/rules/sudo.py @@ -12,10 +12,8 @@ patterns = ['permission denied', 'must be run as root', 'must be superuser', 'must be root', - # wow, case-s...
#<I> sudo patterns are case insensitive
nvbn_thefuck
train
211063d7afb56ed8c3f33b162bef4b2be10e441c
diff --git a/services/my_evernote.py b/services/my_evernote.py index <HASH>..<HASH> 100644 --- a/services/my_evernote.py +++ b/services/my_evernote.py @@ -66,9 +66,9 @@ class ServiceEvernote(ServicesMgr): request.GET.get('oauth_verifier', '') ) except KeyError: - return...
now I can trigger the Evernote service from my app - todo store the toe the token
push-things_django-th
train
82dbff5c002d010c97c45efabd348bda8a85577d
diff --git a/modules/jira/constants.go b/modules/jira/constants.go index <HASH>..<HASH> 100644 --- a/modules/jira/constants.go +++ b/modules/jira/constants.go @@ -3,9 +3,9 @@ package jira // States -------------------------------------------------------------------- const ( - stateApprovedId = "10000" - stateCodi...
modules/jira: Rename states Update the state names to reflect the current workflow. Change-Id: <I>cdea8ff Story-Id: SF-<I>
salsaflow_salsaflow
train
b65d652881644f9a62a38d7979aee683853c818a
diff --git a/spacy/tests/doc/test_doc_api.py b/spacy/tests/doc/test_doc_api.py index <HASH>..<HASH> 100644 --- a/spacy/tests/doc/test_doc_api.py +++ b/spacy/tests/doc/test_doc_api.py @@ -11,7 +11,7 @@ from spacy.lang.en import English from spacy.lang.xx import MultiLanguage from spacy.language import Language from s...
Override SpanGroups.setdefault to provide default SpanGroup (#<I>) * Fix mistake in SpanGroup API docs * Restrict SpanGroups.setdefault to SpanGroup only * Refactor to support default span iterable
explosion_spaCy
train
1494a660d546059d75d27457c8a58abf276c54ae
diff --git a/client/objects/GitHubIssue.php b/client/objects/GitHubIssue.php index <HASH>..<HASH> 100644 --- a/client/objects/GitHubIssue.php +++ b/client/objects/GitHubIssue.php @@ -22,6 +22,7 @@ class GitHubIssue extends GitHubObject 'body' => 'string', 'user' => 'GitHubUser', 'assignee' => 'GitHubUser', ...
implement functionality to get multiple assignees from an issue
tan-tan-kanarek_github-php-client
train
3148c8e63588c574679a6fd7f93e7bf1593008f4
diff --git a/src/Analyse/Callback/Analyse/ConfigSection.php b/src/Analyse/Callback/Analyse/ConfigSection.php index <HASH>..<HASH> 100644 --- a/src/Analyse/Callback/Analyse/ConfigSection.php +++ b/src/Analyse/Callback/Analyse/ConfigSection.php @@ -83,11 +83,13 @@ class ConfigSection extends AbstractCallback implements C...
Simplified the config section rendering.
brainworxx_kreXX
train
ebc57089312131bb1cd38172431cc9ea790ecdbf
diff --git a/manager/controlapi/service.go b/manager/controlapi/service.go index <HASH>..<HASH> 100644 --- a/manager/controlapi/service.go +++ b/manager/controlapi/service.go @@ -182,6 +182,9 @@ func validateServiceSpec(spec *api.ServiceSpec) error { // checkPortConflicts does a best effort to find if the passed in ...
Update documentation/comment for checkPortConflicts This fix update the documentation/comment for checkPortConflicts so that it is clear conflicts check will skip against the service that is being udpated. This fix is related to the dicsussion in <I>: <URL>
docker_swarmkit
train
0d0aa7b656d11e439b2ab49d08e4ac2c4636e0bf
diff --git a/test/unit/vint/ast/plugin/scope_plugin/test_scope_linker.py b/test/unit/vint/ast/plugin/scope_plugin/test_scope_linker.py index <HASH>..<HASH> 100644 --- a/test/unit/vint/ast/plugin/scope_plugin/test_scope_linker.py +++ b/test/unit/vint/ast/plugin/scope_plugin/test_scope_linker.py @@ -322,6 +322,7 @@ class...
Add a test to care "l:self"
Kuniwak_vint
train
84553a2af73c62ce97a2dbdb86545df1b7df1628
diff --git a/lib/diplomat/health.rb b/lib/diplomat/health.rb index <HASH>..<HASH> 100644 --- a/lib/diplomat/health.rb +++ b/lib/diplomat/health.rb @@ -45,10 +45,12 @@ module Diplomat # Get service health # @param s [String] the service # @param options [Hash] :dc string for dc specific query + # @para...
Add state option to Health service (#<I>)
WeAreFarmGeek_diplomat
train
d922338df7012693d6495f01d64d01c8fd0c81c6
diff --git a/src/v2/commands/run.js b/src/v2/commands/run.js index <HASH>..<HASH> 100644 --- a/src/v2/commands/run.js +++ b/src/v2/commands/run.js @@ -48,26 +48,34 @@ function getTaskConfig(taskName, state, throwOnMissing) { return taskConfig; } -function extractFinallyTaskName(taskConfig) { - return (taskConfig...
Modified catch and finally to ensure catch statments in imported files are run and to preserve catch order Paired: Mike
findmypast_usher
train
42781f5f4c3e1c6069810a76ded07b74e4e8be7d
diff --git a/validator/testcases/scripting.py b/validator/testcases/scripting.py index <HASH>..<HASH> 100644 --- a/validator/testcases/scripting.py +++ b/validator/testcases/scripting.py @@ -139,11 +139,17 @@ class JSReflectException(Exception): self.line = int(line_num) return self -def is_ctrl_cha...
Fix for <I>; Removes properly escaped characters before processing JS
mozilla_amo-validator
train
249517c8d2a1f4fd22de7fdbecf9433abcca70d8
diff --git a/lib/dnsimple/client.js b/lib/dnsimple/client.js index <HASH>..<HASH> 100644 --- a/lib/dnsimple/client.js +++ b/lib/dnsimple/client.js @@ -156,23 +156,23 @@ class Client { * * @return {Promise} */ - _nextPage(f, args, page = 1) { + _nextPage(invoker, f, args, page = 1) { var self = this; ...
Pass invoker in preparation for turning into an instance
dnsimple_dnsimple-node
train
ff4c8491bcc15c791f1df1d7c95293f8b989dad2
diff --git a/src/bezier/_intersection_helpers.py b/src/bezier/_intersection_helpers.py index <HASH>..<HASH> 100644 --- a/src/bezier/_intersection_helpers.py +++ b/src/bezier/_intersection_helpers.py @@ -615,16 +615,23 @@ class NewtonDoubleRoot(object): # pylint: disable=too-few-public-methods jacobian = n...
Fixing `NewtonDoubleRoot` in Python. For the case where `nodes1/nodes2` was a line, it was using freed memory as the evaluated `B1''(s)`` / ``B2''(t)`` value, which was sometimes very large (rather than exactly zero). See some failures: - <URL>` that the expected value must **differ** from the computed value. This i...
dhermes_bezier
train
c9f3cf95fe635c6f59429e46f6cdd3e33f3fec82
diff --git a/rest_framework_swagger/introspectors.py b/rest_framework_swagger/introspectors.py index <HASH>..<HASH> 100644 --- a/rest_framework_swagger/introspectors.py +++ b/rest_framework_swagger/introspectors.py @@ -215,6 +215,8 @@ class BaseMethodIntrospector(object): mock_view = parser.get_view_mocker...
Don't call get_serializer if we've been asked to ommit it.
marcgibbons_django-rest-swagger
train
0245b374f4bb871c6e463013991ef7a7ae5ebf14
diff --git a/api/api.go b/api/api.go index <HASH>..<HASH> 100644 --- a/api/api.go +++ b/api/api.go @@ -30,8 +30,8 @@ type AuthResponse struct { Token string } -func (api HTTPClient) GetAuthToken(username string, password string) (string, error) { - resp, err := http.PostForm(api.BaseURL+"/signin", +func (client HT...
Stray api->client rename
orchardup_go-orchard
train
0a7aa8300a5847cc4c4cab585a8b3e44b104eb9f
diff --git a/classes/PHPTAL/GetTextTranslator.php b/classes/PHPTAL/GetTextTranslator.php index <HASH>..<HASH> 100644 --- a/classes/PHPTAL/GetTextTranslator.php +++ b/classes/PHPTAL/GetTextTranslator.php @@ -81,6 +81,14 @@ class PHPTAL_GetTextTranslator implements PHPTAL_TranslationService return $langC...
Fall back on LC_MESSAGES when LC_ALL doesn't work
phptal_PHPTAL
train
6ba7d5e6544d636a763a40d1543f96d0e0bd77d5
diff --git a/activerecord/test/cases/nested_attributes_test.rb b/activerecord/test/cases/nested_attributes_test.rb index <HASH>..<HASH> 100644 --- a/activerecord/test/cases/nested_attributes_test.rb +++ b/activerecord/test/cases/nested_attributes_test.rb @@ -59,6 +59,7 @@ class TestNestedAttributesInGeneral < ActiveRec...
- without the id test is passing even if I change :allow_destroy from 'false' - adding more tests to strengthen the test suite
rails_rails
train
d40ffc865574fdbe3d38902021987b13f92fe0c5
diff --git a/lib/commands/command.js b/lib/commands/command.js index <HASH>..<HASH> 100644 --- a/lib/commands/command.js +++ b/lib/commands/command.js @@ -28,8 +28,10 @@ Command.prototype.execute = function(packet, connection) { var err = packet.asError(connection.clientEncoding); if (this.onResult) { ...
always emit end when command is complete; release connection to pool on end. Fixes #<I>
sidorares_node-mysql2
train
05b117e92cdbccd9776b102f42125c596dc5c19e
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup setup( name='python-binary-memcached', - version='0.9', + version='0.10', author='Jayson Reis', author_email='santosdosreis@gmail.com', description='A pure ...
bumpped to version <I>
jaysonsantos_python-binary-memcached
train
0d2c77c0309fa215ed723528f1386de07e278928
diff --git a/plugins/pgstats.py b/plugins/pgstats.py index <HASH>..<HASH> 100755 --- a/plugins/pgstats.py +++ b/plugins/pgstats.py @@ -117,7 +117,7 @@ class MuninPgPlugin(MuninPlugin): if self.graphEnabled('pg_diskspace'): graph = MuninGraph('PostgreSQL - Database Disk Usage', 'P...
Add postgresql_bgwriter graph to PostgreSQL plugin.
aouyar_PyMunin
train
443f627f9d68e9598cf4f73b7a6dd99d35b8e1b2
diff --git a/src/client/js/Panels/Visualizer/VisualizerPanel.js b/src/client/js/Panels/Visualizer/VisualizerPanel.js index <HASH>..<HASH> 100644 --- a/src/client/js/Panels/Visualizer/VisualizerPanel.js +++ b/src/client/js/Panels/Visualizer/VisualizerPanel.js @@ -1,4 +1,5 @@ /*globals define, _, $, WebGMEGlobal, DEBUG*...
#<I> settimeout before switching panel on changed activeObj. This way when clicking on the canvas the toolbar gets updated through the event db-click first. This prevents that event from trying to disable/enable toolbar buttons that has been deleted by the switch of panel (a.k.a. visualizer). Former-commit-id: f<I>d<...
webgme_webgme-engine
train
139a8cfb0bdc0e801ecdadc3cc59de7a61aeeafe
diff --git a/aws/resource_aws_ssm_association.go b/aws/resource_aws_ssm_association.go index <HASH>..<HASH> 100644 --- a/aws/resource_aws_ssm_association.go +++ b/aws/resource_aws_ssm_association.go @@ -6,7 +6,6 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/service/ssm" - "github.com/hash...
resource/ssm_association: remove resource from state in case of outside deletion
terraform-providers_terraform-provider-aws
train
4841fcd3c7f03a166f00e3219b7df75a06943ccc
diff --git a/tests/test_plugins.py b/tests/test_plugins.py index <HASH>..<HASH> 100644 --- a/tests/test_plugins.py +++ b/tests/test_plugins.py @@ -50,11 +50,13 @@ class PluginsTestCase(unittest.TestCase): plugins.plugins['test1'] = TestPlugin1() plugins.plugins['test2'] = TestPlugin2() + plug...
Add another test to check plugin chaining
alerta_alerta
train
5ef894ef58719b39914569237ba2ab0be510e023
diff --git a/src/webignition/Url/Url.php b/src/webignition/Url/Url.php index <HASH>..<HASH> 100644 --- a/src/webignition/Url/Url.php +++ b/src/webignition/Url/Url.php @@ -611,6 +611,10 @@ class Url { return false; } + if (!$this->hasPart('query') && !$this->hasPart('fragment')) { ...
Fixed adding path to a URL that has none
webignition_url
train
f4a56645f7b28a5f9b9a3ea5448be7c9e750a940
diff --git a/src/org/opencms/site/CmsSiteManagerImpl.java b/src/org/opencms/site/CmsSiteManagerImpl.java index <HASH>..<HASH> 100644 --- a/src/org/opencms/site/CmsSiteManagerImpl.java +++ b/src/org/opencms/site/CmsSiteManagerImpl.java @@ -1345,7 +1345,7 @@ public final class CmsSiteManagerImpl implements I_CmsEventList...
SiteManager: Re-initialize SiteManagerImpl after change of Global settings
alkacon_opencms-core
train
4410d48354cf1971729555c67a4ff694684daae3
diff --git a/ui/lang/th.js b/ui/lang/th.js index <HASH>..<HASH> 100644 --- a/ui/lang/th.js +++ b/ui/lang/th.js @@ -18,7 +18,7 @@ export default { }, date: { days: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'), - daysShort: 'อา._จ._อ._พ._พฤ_.ศ._ส.'.split('_'), + daysShort: 'อา._จ._อ._พ._พฤ...
fix: #<I> fixed a typo in daysShort in Thai (#<I>) issue: #<I> typo in daysShort in Thai language
quasarframework_quasar
train
fdd90101ba52be066bbff86c96ca2cbcadb59331
diff --git a/Framework/Autoloader.php b/Framework/Autoloader.php index <HASH>..<HASH> 100644 --- a/Framework/Autoloader.php +++ b/Framework/Autoloader.php @@ -16,18 +16,6 @@ if(class_exists("ClassDependencies") return; } -$composerAutoloader = "/vendor/autoload.php"; -$composerSearchPaths = array( - APPROOT . "/Cl...
Move call to composer autoloader to PHP bootstrap Was previously called from the PHP.Gt autoloader file, which was itself called when a source file was not found in context. The new way is better as it ensures composer files are always in-context.
PhpGt_WebEngine
train
96b0f7beb67e297bc58968d4b76aac0ff1362d24
diff --git a/example/android/app/src/main/java/com/example/MainApplication.java b/example/android/app/src/main/java/com/example/MainApplication.java index <HASH>..<HASH> 100644 --- a/example/android/app/src/main/java/com/example/MainApplication.java +++ b/example/android/app/src/main/java/com/example/MainApplication.ja...
Added java code to import rn-svg package - rn link doesn't work (#<I>)
capitalone_react-native-pathjs-charts
train
b5940ab593351baebc19f21f48751a0355b47d7c
diff --git a/abilian/web/nav.py b/abilian/web/nav.py index <HASH>..<HASH> 100644 --- a/abilian/web/nav.py +++ b/abilian/web/nav.py @@ -121,7 +121,12 @@ class BreadcrumbItem(object): u'{%- if url %}</a>{%- endif %}') def __init__(self, label=u'', url=u'#', icon=None, description=None): - assert label or i...
fix: test was resolving lazy i<I>n this could lead to load wrong i<I>n catalogs (not as specified in user's prefs) if item was created in a url_value_preprocessor
abilian_abilian-core
train
2c971d6228c824b6a42ab9ce03051eaa0335e8c1
diff --git a/spatialist/explorer.py b/spatialist/explorer.py index <HASH>..<HASH> 100644 --- a/spatialist/explorer.py +++ b/spatialist/explorer.py @@ -49,9 +49,9 @@ class RasterViewer(object): the minimum percentile for linear histogram stretching pmax: int the maximum percentile for linear histo...
[RasterViewer] minor code and doc improvements
johntruckenbrodt_spatialist
train
03031dfb5db2676ab433c2cf2213330d1674c1cf
diff --git a/smack-core/src/main/java/org/jivesoftware/smack/sasl/SASLError.java b/smack-core/src/main/java/org/jivesoftware/smack/sasl/SASLError.java index <HASH>..<HASH> 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/sasl/SASLError.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/sasl/SASLErro...
Add javadoc to SASLError
igniterealtime_Smack
train
bd954561bf9ea29629829fcb054bb2de3a2ba87f
diff --git a/server/stream.go b/server/stream.go index <HASH>..<HASH> 100644 --- a/server/stream.go +++ b/server/stream.go @@ -878,12 +878,19 @@ func getHdrVal(key string, hdr []byte) []byte { if index < 0 { return nil } + var value []byte - for i := index + len(key) + 2; i > 0 && i < len(hdr); i++ { - if hdr...
stream handle headers with no space after colon
nats-io_gnatsd
train
947e13055a191083e4c28e4b65aba55bcc5e8c0d
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,12 @@ setup( name='pyepsg', version='0.1.0', url='https://github.com/rhattersley/pyepsg', - author='Met Office', + author='Richard Hattersley', + author_email='rhattersley@gmail.com', + cla...
Update metadata for PyPI submisssion.
rhattersley_pyepsg
train
32ffc9854d1a4d48399a5ba72063d4a566a50e68
diff --git a/web_cache.py b/web_cache.py index <HASH>..<HASH> 100644 --- a/web_cache.py +++ b/web_cache.py @@ -274,19 +274,14 @@ class ThreadedWebCache: raise e def waitResult(self): - while True: - # wait either for a result... - try: - return self.thread.result_queue[threading.get_iden...
Web cache: Minor performance optimization and cleanup
desbma_sacad
train
528e9466655fd54b73c4fbd6196f308d5ebac79b
diff --git a/src/TagAttributesTrait.php b/src/TagAttributesTrait.php index <HASH>..<HASH> 100644 --- a/src/TagAttributesTrait.php +++ b/src/TagAttributesTrait.php @@ -73,7 +73,7 @@ trait TagAttributesTrait foreach ($matches as $matchPair) { $key = $matchPair[1]; - $value = \stripslash...
performance: microoptimization. use trim instead preg_replace
Gemorroj_M3uParser
train
5de0b1330e806335e164bac67e47ca9139d4122a
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 2.2.1 (2012-12-19) + +* Updated `remove_member` to also remove the optional member data for the member being removed. + ## 2.2.0 (2012-12-03) * Added `rank_member_if` and `ra...
Updated remove_member to also remove the optional member data for the member being removed
agoragames_leaderboard-python
train
c889d845e3a8a66495ce3b63170f82a56c7d19aa
diff --git a/src/Dexie.js b/src/Dexie.js index <HASH>..<HASH> 100644 --- a/src/Dexie.js +++ b/src/Dexie.js @@ -1971,6 +1971,7 @@ failures.push(e); failKeys.push(thisContext.primKey); if (thisContext.onerror) thisContext.o...
Possible stall if error in modify()/delete() Possible that the promise never get rejected or resolved if error happens on the last operation in WriteableCollection.modify() / delete() / WriteableTable.update().
dfahlander_Dexie.js
train
eb85b365037d680a5d84bc5b2075047a502fc7d2
diff --git a/pycm/pycm_util.py b/pycm/pycm_util.py index <HASH>..<HASH> 100644 --- a/pycm/pycm_util.py +++ b/pycm/pycm_util.py @@ -369,13 +369,14 @@ def classes_filter(actual_vector, predict_vector, classes=None): classes_list = sorted(classes_list) if isinstance(classes, list): classes, _ = vector_f...
edit : classes_filter conusing classes_list variable changed.
sepandhaghighi_pycm
train
dba6a5bfaf3129edaf50806d7d90791ff5fbcb33
diff --git a/spring-boot/src/test/java/org/springframework/boot/test/EnvironmentTestUtils.java b/spring-boot/src/test/java/org/springframework/boot/test/EnvironmentTestUtils.java index <HASH>..<HASH> 100644 --- a/spring-boot/src/test/java/org/springframework/boot/test/EnvironmentTestUtils.java +++ b/spring-boot/src/tes...
Add support for = separator in EnvironmentTestUtils
spring-projects_spring-boot
train
ca1baa00e9bee825a6918256fad158cb23dad993
diff --git a/lib/jsonapi/resource_serializer.rb b/lib/jsonapi/resource_serializer.rb index <HASH>..<HASH> 100644 --- a/lib/jsonapi/resource_serializer.rb +++ b/lib/jsonapi/resource_serializer.rb @@ -230,7 +230,7 @@ module JSONAPI end def custom_generation_options - { + @_custom_generation_options ...
Cache custom_generation_options options This hash only needs to be computed once, and repeatedly building it results in a lot of memory allocations.
cerebris_jsonapi-resources
train
e154ad8c03899d4b409121023467a16d5d376a6a
diff --git a/nerdamer.core.js b/nerdamer.core.js index <HASH>..<HASH> 100644 --- a/nerdamer.core.js +++ b/nerdamer.core.js @@ -706,7 +706,6 @@ var nerdamer = (function(imports) { value = obj.collectSymbols(text, opt).join('+').replace(/\+\-/g, '-'); break; case...
Fixed functions not returning arguments as text example would return tan(1/4) instead of tan(<I>) when text('decimals') was called.
jiggzson_nerdamer
train
2c1b08f242cbac93bdc7209b1a6d0d6d6a782641
diff --git a/README.rst b/README.rst index <HASH>..<HASH> 100644 --- a/README.rst +++ b/README.rst @@ -6,7 +6,7 @@ This Django app makes it easy to manage all of your :code:`django-letsencrypt` will add a simple model that you can manage through the :code:`django` admin interface. Simply add your :code:`ACME challeng...
Version bump for rst fixes
urda_django-letsencrypt
train
94b5fc572f1ad3308d082479f37c68bbb368dc69
diff --git a/salt/runners/cache.py b/salt/runners/cache.py index <HASH>..<HASH> 100644 --- a/salt/runners/cache.py +++ b/salt/runners/cache.py @@ -12,6 +12,7 @@ import salt.utils import salt.utils.master import salt.payload from salt.ext.six import string_types +from salt.exceptions import SaltInvocationError from ...
Process both old and ng winrepo configs when clearing git locks Also fixed a missing import.
saltstack_salt
train
8685a7ac895feef3c0dd28e5ff1b803565bc98ba
diff --git a/worker/uniter/metrics.go b/worker/uniter/metrics.go index <HASH>..<HASH> 100644 --- a/worker/uniter/metrics.go +++ b/worker/uniter/metrics.go @@ -28,6 +28,8 @@ func inactiveMetricsTimer(_, _ time.Time, _ time.Duration) <-chan time.Time { return nil } +// timerChooser allows modeAbide to choose a prope...
Addressed comments by wallyworld and fwereade
juju_juju
train
1b2caaf5341f76428132b314bc08960a5e2d5c33
diff --git a/bika/lims/browser/analysisrequest/manage_analyses.py b/bika/lims/browser/analysisrequest/manage_analyses.py index <HASH>..<HASH> 100644 --- a/bika/lims/browser/analysisrequest/manage_analyses.py +++ b/bika/lims/browser/analysisrequest/manage_analyses.py @@ -104,7 +104,7 @@ class AnalysisRequestAnalysesView...
Disallow AS transitions in AR manage analyses (#<I>)
senaite_senaite.core
train
f9d5371dc01f7804d0d36bc260669c3fcf65e543
diff --git a/lib/Optimizations.js b/lib/Optimizations.js index <HASH>..<HASH> 100644 --- a/lib/Optimizations.js +++ b/lib/Optimizations.js @@ -16,16 +16,18 @@ var ST_O_AET_ASC = 1 << 0, - Property i represents importance in decimal range 0.00 to 1.00 */ var PROP = [ - { n: "averageExecutionTime", i: 0.80, rule...
Added MIN_O_LEVELs for PROPs & updated tests MIN_O_LEVEL (minimum optimization level) determines when a task property is used in the optimization process. This matches against the O_LEVEL passed as argument.
schahriar_supertask
train
ccc5717c653ef5ab39ab5d847c8d350b3cb711a7
diff --git a/bundle/Gregwar/ImageBundle/Image.php b/bundle/Gregwar/ImageBundle/Image.php index <HASH>..<HASH> 100755 --- a/bundle/Gregwar/ImageBundle/Image.php +++ b/bundle/Gregwar/ImageBundle/Image.php @@ -98,10 +98,9 @@ class Image */ protected function guessType() { - $infos = @getimagesize($t...
Updating Image.php to use exif_imagetype
Gregwar_ImageBundle
train
cdc81333e8f41c44d7e0c2acc8398b2edef2e84b
diff --git a/lib/Cake/Model/Datasource/Database/Sqlserver.php b/lib/Cake/Model/Datasource/Database/Sqlserver.php index <HASH>..<HASH> 100644 --- a/lib/Cake/Model/Datasource/Database/Sqlserver.php +++ b/lib/Cake/Model/Datasource/Database/Sqlserver.php @@ -753,4 +753,23 @@ class Sqlserver extends DboSource { } } +...
Adding support in SqlSrv for drop table if exists
cakephp_cakephp
train
5e46d5b5450f7e7db87e860440f1bb1f8f523ffa
diff --git a/staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go b/staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go index <HASH>..<HASH> 100644 --- a/staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go +++ b/staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go @@ -106,6 +106,10...
Normalize WATCHLIST to WATCH in metrics This causes confusion and doesn't match what we authorize on
kubernetes_kubernetes
train
ae2c091f0941944710ee59ee37339b1c53069b3c
diff --git a/question/format/xml/format.php b/question/format/xml/format.php index <HASH>..<HASH> 100755 --- a/question/format/xml/format.php +++ b/question/format/xml/format.php @@ -508,9 +508,8 @@ class qformat_xml extends qformat_default { $qo->instructions = array(); $qo->instructions['tex...
MDL-<I> Fixing some litle errors about $instructions param of numerical
moodle_moodle
train
9d37ccf28ddc6382ea47bd3246e867fe9d779569
diff --git a/scoped_nodes.py b/scoped_nodes.py index <HASH>..<HASH> 100644 --- a/scoped_nodes.py +++ b/scoped_nodes.py @@ -24,6 +24,7 @@ from __future__ import with_statement __doctype__ = "restructuredtext en" import sys +from io import BytesIO from itertools import chain from logilab.common.compat import buil...
added file_bytes to Module to allow file_stream to be retrieved from it
PyCQA_astroid
train
3dad88c044559bf21a8d88d0661def2a005de92d
diff --git a/lib/helper.js b/lib/helper.js index <HASH>..<HASH> 100644 --- a/lib/helper.js +++ b/lib/helper.js @@ -95,7 +95,7 @@ module.exports = function(view) { if (typeof frames === 'function') { ctx = fn; fn = frames; - frames = 0; + frames = 1; } var job = fastdom.defer(fra...
The default frames was incorrect; increased it to the default in fastdom
ftlabs_fruitmachine-fastdom
train
ced57c883f9ed39be3e6e75390cef13dc6e24bfd
diff --git a/src/main/java/eu/project/ttc/engines/exporter/JsonCasExporter.java b/src/main/java/eu/project/ttc/engines/exporter/JsonCasExporter.java index <HASH>..<HASH> 100644 --- a/src/main/java/eu/project/ttc/engines/exporter/JsonCasExporter.java +++ b/src/main/java/eu/project/ttc/engines/exporter/JsonCasExporter.ja...
add log message to JsonCasExporter, I comment some code in src/test/java/org/ttc/project/test/variants/VariantRuleYamlIOSpec.java cause there was some errors at the compilation
termsuite_termsuite-core
train
53cafa9821e24cbdbcf2176397ea22e368f6f69b
diff --git a/client/extjs/src/panel/locale/site/ConfigUi.js b/client/extjs/src/panel/locale/site/ConfigUi.js index <HASH>..<HASH> 100644 --- a/client/extjs/src/panel/locale/site/ConfigUi.js +++ b/client/extjs/src/panel/locale/site/ConfigUi.js @@ -10,6 +10,7 @@ Ext.ns('MShop.panel.locale.site'); MShop.panel.locale.site...
Fixes inheretence in search, adds autoexpand to config, fixes default site.
Arcavias_arcavias-core
train
e984d1c79cc476062818e03df04a366baa13d197
diff --git a/src/manipulation.js b/src/manipulation.js index <HASH>..<HASH> 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -57,14 +57,14 @@ wrapMap.optgroup = wrapMap.option; wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; wrapMap.th = wrapMap.td; -// Manipulating ...
Manipulation: don't auto-insert tbody Fixes gh-<I> Closes gh-<I>
jquery_jquery
train
0fdc82bf6e1226f4430500d19f1c9ce8dcbed52f
diff --git a/lib/util.js b/lib/util.js index <HASH>..<HASH> 100644 --- a/lib/util.js +++ b/lib/util.js @@ -161,7 +161,7 @@ util.getPaginationQS = function (args) { if (page) { qa.page = page } /* eslint-disable-next-line */ - if (per_page) { qa.per_page = per_page } + if (per_page !== null) { qa.per_page = pe...
allow "0" as value for args in api call This is especially helpful when calling segment leaderboards. "per_page" = 0 and "context_entries" = 0 result in a single entry of the authenticated user. Includes changes of PR #PR<I>
UnbounDev_node-strava-v3
train
6cbf12d8a519f9d0ff1a143cd1075e78d03b9726
diff --git a/src/main/java/com/falydoor/limesurveyrest/LimesurveyRest.java b/src/main/java/com/falydoor/limesurveyrest/LimesurveyRest.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/falydoor/limesurveyrest/LimesurveyRest.java +++ b/src/main/java/com/falydoor/limesurveyrest/LimesurveyRest.java @@ -21,6 +21,7 @@...
Add completeResponse method
Falydoor_limesurvey-rc
train
3ce610da21e63667963971737b4021adacbaeca7
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,14 +29,12 @@ packages = [ if os.name == 'nt': scripts.append('flask/bin/floyd.bat') -def get_file_contents(file_path, curfile=__file__ or ''): +package_dir = os.path.realpath(os.path.dirname(curfile)) + +def get_file...
changed get_file_contents to only find package directory once
nikcub_floyd
train
3b4ba0519d657ba4027e98d605ae95cd0cdb19d3
diff --git a/gerrit/ssh.py b/gerrit/ssh.py index <HASH>..<HASH> 100644 --- a/gerrit/ssh.py +++ b/gerrit/ssh.py @@ -36,7 +36,7 @@ class Client(object): self.host = conf['hostname'] self.port = int(conf.get('port', self.port)) - self.username = conf.get('user', self.user) + ...
Fixed a bug with username being set in ssh config. Code was incorrectly setting self.username which was then not used. Switched to self.user and it now passes the user set in the ssh config.
flaper87_python-gerrit
train
53e5613c5a0a74ae20b76541bff0f6ee102de1ae
diff --git a/composer.json b/composer.json index <HASH>..<HASH> 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ ], "require": { "php": ">=7.0", - "velliz/pte": "0.1.5" + "velliz/pte": "dev-master" }, "require-dev": { "phpunit/phpunit": "^6" diff --git a/src/auth/Bearer.php b...
make bearer expired periods controllable
Velliz_pukoframework
train
e536068b0376abf4f126c5cadd884042e1272ac7
diff --git a/src/SspContact/Form/ContactFilter.php b/src/SspContact/Form/ContactFilter.php index <HASH>..<HASH> 100644 --- a/src/SspContact/Form/ContactFilter.php +++ b/src/SspContact/Form/ContactFilter.php @@ -24,7 +24,7 @@ class ContactFilter extends InputFilter 'name' => 'id', 'requ...
New filter class for PHP 7 compat where Int is reserved.
sunshinephp_ssp-contact
train
58d1341c64a5afe1a02c7dbd8d6898cd70912b80
diff --git a/mimesis/providers/internet.py b/mimesis/providers/internet.py index <HASH>..<HASH> 100755 --- a/mimesis/providers/internet.py +++ b/mimesis/providers/internet.py @@ -158,11 +158,11 @@ class Internet(BaseDataProvider): api = 'https://source.unsplash.com/{}x{}?{}' if keywords is not None:...
Fixed type issue for stock_image()
lk-geimfari_mimesis
train
fdc4c7e0cc7849c0a76851a2ae9884f933359705
diff --git a/vertica_python/vertica/cursor.py b/vertica_python/vertica/cursor.py index <HASH>..<HASH> 100644 --- a/vertica_python/vertica/cursor.py +++ b/vertica_python/vertica/cursor.py @@ -72,7 +72,7 @@ RE_NAME = u'(("{0}")|({0}))'.format(RE_NAME_BASE) RE_BASIC_INSERT_STAT = ( u"INSERT\\s+INTO\\s+(?P<target>({0...
Fix #<I>: fix regex for cursor.executemany (#<I>)
vertica_vertica-python
train
9f55701144e72ac2686dfdaa6e86ee2b83dff6d9
diff --git a/src/bin/default.js b/src/bin/default.js index <HASH>..<HASH> 100644 --- a/src/bin/default.js +++ b/src/bin/default.js @@ -93,8 +93,9 @@ module.exports = { // - - - - MOCHA - - - - mocha: false, - // mochaTags only works when watch is false (disabled) + // mochaTags and mochaGrep only work when w...
Renames mochaTags to mochaGrep so users can provide custom grep strings. Fixes #<I>
TheBrainFamily_chimpy
train
964966d1c31412ef0a6ce5cdd61dce44b934125f
diff --git a/tests/RouteTest.php b/tests/RouteTest.php index <HASH>..<HASH> 100644 --- a/tests/RouteTest.php +++ b/tests/RouteTest.php @@ -413,7 +413,7 @@ class RouteTest extends TestCase public function testInvokeDeferredCallableWithContainer() { $pimple = new Pimple(); - $pimple['CallableTes...
Fix incorrect container entry in RouteTest The test testInvokeDeferredCallableWithContainer defined a container entry 'CallableTest', that was never used, as '\Slim\Tests\Mocks\CallableTest' is used in that testcase later.
slimphp_Slim
train