hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
290b5ca333b7452ebbe84f1472fc4ae63465a8ff | diff --git a/lionengine-game/src/main/java/com/b3dgs/lionengine/game/feature/rasterable/RasterableModel.java b/lionengine-game/src/main/java/com/b3dgs/lionengine/game/feature/rasterable/RasterableModel.java
index <HASH>..<HASH> 100644
--- a/lionengine-game/src/main/java/com/b3dgs/lionengine/game/feature/rasterable/Rast... | #<I>: RasterableModel surface prepare fixed. | b3dgs_lionengine | train |
6afcaeeca2def3464a6710b00d8129f67ce8a953 | diff --git a/xml/src/jlibs/xml/dom/DOMUtil.java b/xml/src/jlibs/xml/dom/DOMUtil.java
index <HASH>..<HASH> 100644
--- a/xml/src/jlibs/xml/dom/DOMUtil.java
+++ b/xml/src/jlibs/xml/dom/DOMUtil.java
@@ -15,24 +15,29 @@
package jlibs.xml.dom;
+import jlibs.core.lang.Util;
+import org.w3c.dom.Element;
+import org.w3c.do... | ignoreComments arg added to newDocumentBuilder | santhosh-tekuri_jlibs | train |
44e83aeb8c9d90f5593ce630a5fdc5e50a077b47 | diff --git a/src/Phunkie/Ops/ImmList/ImmListFoldableOps.php b/src/Phunkie/Ops/ImmList/ImmListFoldableOps.php
index <HASH>..<HASH> 100644
--- a/src/Phunkie/Ops/ImmList/ImmListFoldableOps.php
+++ b/src/Phunkie/Ops/ImmList/ImmListFoldableOps.php
@@ -15,26 +15,35 @@ use function Phunkie\Functions\semigroup\combine;
use fu... | Refactor ImmList fold to use Trampoline | phunkie_phunkie | train |
d1af92574ee4ace2cc10dcc23338b4d1b61d0721 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -151,6 +151,10 @@ var MysqlDriver = Base.extend({
}
}
+ if (spec.comment) {
+ constraint.push('COMMENT \'' + spec.comment + '\'')
+ }
+
if (spec.foreignKey) {
cb = this.bindForeignKey(t... | feat(comment): Add comment spec for columns
Columns can have comment if the 'comment' property is set in the column definition.
Relates to #<I> | db-migrate_mysql | train |
3f6778b0e88c88d010f40cb3555c822430496acb | diff --git a/python/mxnet/gluon/contrib/nn/basic_layers.py b/python/mxnet/gluon/contrib/nn/basic_layers.py
index <HASH>..<HASH> 100644
--- a/python/mxnet/gluon/contrib/nn/basic_layers.py
+++ b/python/mxnet/gluon/contrib/nn/basic_layers.py
@@ -165,7 +165,10 @@ class SyncBatchNorm(BatchNorm):
Standard BN [1]_ impl... | modifying SyncBN doc for FP<I> use case (#<I>)
LGTM | apache_incubator-mxnet | train |
2647b00927cf8fb20c7f95e8ddb311422afa1a9c | diff --git a/p2p/host/resource-manager/trace.go b/p2p/host/resource-manager/trace.go
index <HASH>..<HASH> 100644
--- a/p2p/host/resource-manager/trace.go
+++ b/p2p/host/resource-manager/trace.go
@@ -232,6 +232,10 @@ func (t *trace) ReserveMemory(scope string, prio uint8, size, mem int64) {
return
}
+ if size == ... | skip events that don't change anything in tracer (#<I>)
This happens when empty sub-scopes are moved around between scopes. | libp2p_go-libp2p | train |
9f75c6c555dab25b8bd6bd21178431b5e5239f36 | diff --git a/hollow/src/main/java/com/netflix/hollow/core/index/HollowSparseIntegerSet.java b/hollow/src/main/java/com/netflix/hollow/core/index/HollowSparseIntegerSet.java
index <HASH>..<HASH> 100644
--- a/hollow/src/main/java/com/netflix/hollow/core/index/HollowSparseIntegerSet.java
+++ b/hollow/src/main/java/com/net... | change visibility of methods in index for extensibility | Netflix_hollow | train |
bd5e516694d57e116386112fe11b79f6e7e5d182 | diff --git a/ipinfo/handler.py b/ipinfo/handler.py
index <HASH>..<HASH> 100644
--- a/ipinfo/handler.py
+++ b/ipinfo/handler.py
@@ -58,6 +58,11 @@ class Handler:
# the IPs not in the cache.
lookup_addresses = []
for ip_address in ip_addresses:
+ # If the supplied IP address uses the... | Convert IP addresses in batch requests too | ipinfo_python | train |
dc213bd74d6f120043a86cb20dfd29c5f6c3f29a | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -234,6 +234,8 @@ query := pop.Q(tx)
query = tx.Where("id = 1").Where("name = 'Mark'")
users := []models.User{}
err := query.All(&users)
+
+err = tx.Where("id in (?)", 1, 2, 3).All(&users)
```
##### Join Query
diff -... | added a test, and docs, for doing a where in query | gobuffalo_pop | train |
7cf16a1b5016c6c257a6d7bfbdbfbbea21f45371 | diff --git a/kerncraft/prefixedunit.py b/kerncraft/prefixedunit.py
index <HASH>..<HASH> 100755
--- a/kerncraft/prefixedunit.py
+++ b/kerncraft/prefixedunit.py
@@ -135,6 +135,8 @@ class PrefixedUnit(yaml.YAMLObject):
v = self.__class__(float(self)/float(other), unit)
return v.reduced()
+
+ __d... | fixed #<I> be adding support for __div__ in prefixedunit | RRZE-HPC_kerncraft | train |
5a43798423f6e440218d7de86e3bba8e77a3e2eb | diff --git a/src/SearchControl.js b/src/SearchControl.js
index <HASH>..<HASH> 100644
--- a/src/SearchControl.js
+++ b/src/SearchControl.js
@@ -21,6 +21,7 @@ import { keyCodes } from 'guide4you/src/globals'
import { html2Text } from 'guide4you/src/utilities'
import { Control } from 'guide4you/src/controls/Control'
im... | reworked text input handling | KlausBenndorf_guide4you | train |
56446220ef6523c5bf979eb98b1d3fafe0c9df14 | diff --git a/plaso/parsers/santa.py b/plaso/parsers/santa.py
index <HASH>..<HASH> 100644
--- a/plaso/parsers/santa.py
+++ b/plaso/parsers/santa.py
@@ -72,7 +72,7 @@ class SantaProcessExitEventData(events.EventData):
action (str): action recorded by Santa.
pid (str): process identifier for the process.
pi... | Corrected typo in Santa parser docstrings (#<I>) | log2timeline_plaso | train |
b0124a6910cc7d2c470d72ad4246f98d7a73baef | diff --git a/generic_magic.py b/generic_magic.py
index <HASH>..<HASH> 100755
--- a/generic_magic.py
+++ b/generic_magic.py
@@ -25,7 +25,10 @@ def main():
specify er_samples.txt file for sample orientation data. default is er_samples.txt
-F FILE
specify output file, default is magic_me... | add -Fsa functionality into generic_magic for real, and also into QuickMagic generic import. | PmagPy_PmagPy | train |
d3613c019b3c4032d80dd0028277fb0564ee73cd | diff --git a/lionengine-core/src/test/java/com/b3dgs/lionengine/ConfigTest.java b/lionengine-core/src/test/java/com/b3dgs/lionengine/ConfigTest.java
index <HASH>..<HASH> 100644
--- a/lionengine-core/src/test/java/com/b3dgs/lionengine/ConfigTest.java
+++ b/lionengine-core/src/test/java/com/b3dgs/lionengine/ConfigTest.ja... | #<I>: Code refactored. | b3dgs_lionengine | train |
19de7c7874df15ca8738215435c2f16699bf2110 | diff --git a/config/src/main/config/home/restore/redboxMigration1.9.py b/config/src/main/config/home/restore/redboxMigration1.9.py
index <HASH>..<HASH> 100644
--- a/config/src/main/config/home/restore/redboxMigration1.9.py
+++ b/config/src/main/config/home/restore/redboxMigration1.9.py
@@ -130,8 +130,9 @@ class Migrate... | Ensured dc:description remains for researcher dashboard edits/updates of descriptions from previous versions. | redbox-mint_redbox | train |
19574a1432efb6d4a0e23aea7362b33c05e645c6 | diff --git a/test.py b/test.py
index <HASH>..<HASH> 100755
--- a/test.py
+++ b/test.py
@@ -106,7 +106,10 @@ class CollectorTestCase(unittest.TestCase):
def setPickledResults(self, results_name, data):
pickle.dump(data, open(self.getFixturePath(results_name), "wb"))
- def assertPublished(self, mock, k... | Add in the ability to assert a zero (or more then one) call count for unit tests | python-diamond_Diamond | train |
86f07e845785d16d9a13598fed563535d6269c8c | diff --git a/lib/et-orbi.rb b/lib/et-orbi.rb
index <HASH>..<HASH> 100644
--- a/lib/et-orbi.rb
+++ b/lib/et-orbi.rb
@@ -41,9 +41,9 @@ module EtOrbi
#
# is necessary since Time.parse('xxx') in Ruby < 1.9 yields `now`
-#p [ 0, opts[:zone] ]
-#p [ 1, get_tzone(str_zone) ]
-#p [ 2, determine_local_tzone ... | Bring back debug output for Appveyor | floraison_et-orbi | train |
5a940fb52782865fd7f0b259582fbfcd779b2b8f | diff --git a/src/nu/validator/javascript/JavaScriptParser.java b/src/nu/validator/javascript/JavaScriptParser.java
index <HASH>..<HASH> 100644
--- a/src/nu/validator/javascript/JavaScriptParser.java
+++ b/src/nu/validator/javascript/JavaScriptParser.java
@@ -46,6 +46,8 @@ public class JavaScriptParser {
private st... | Put acorn parse in synchronized block
This change puts the call to Acorn parse() within a synchronized block,
in order to prevent a problem (Nashorn bug?) with it otherwise
apparently not being safe across threads. | validator_validator | train |
dcf527ec7fb9d1d5af1eefe8bb16877040ef2131 | diff --git a/src/models/Lang.php b/src/models/Lang.php
index <HASH>..<HASH> 100644
--- a/src/models/Lang.php
+++ b/src/models/Lang.php
@@ -4,60 +4,123 @@ namespace admin\models;
use Yii;
+/**
+ * Language Model for Frontend/Admin.
+ *
+ * This Model contains all languages from the database table `admin_lang` but ... | Admin language model udpate. | luyadev_luya-module-admin | train |
2aa15562bf8d30198fd90cbea5aaf8932ea7c98e | diff --git a/protocol-designer/src/containers/ConnectedStepItem.js b/protocol-designer/src/containers/ConnectedStepItem.js
index <HASH>..<HASH> 100644
--- a/protocol-designer/src/containers/ConnectedStepItem.js
+++ b/protocol-designer/src/containers/ConnectedStepItem.js
@@ -1,7 +1,6 @@
// @flow
import * as React from... | fix(protocol-designer): show form error state in StepItems (#<I>)
Fixes bug where form errors didn't make StepItem show an error icon.
closes #<I> | Opentrons_opentrons | train |
999cbbdc54a87f3b25ae0f94c68ae583855076bc | diff --git a/watchtower/wtserver/create_session.go b/watchtower/wtserver/create_session.go
index <HASH>..<HASH> 100644
--- a/watchtower/wtserver/create_session.go
+++ b/watchtower/wtserver/create_session.go
@@ -40,6 +40,15 @@ func (s *Server) handleCreateSession(peer Peer, id *wtdb.SessionID,
)
}
+ // Ensure tha... | watchtower/wtserver/server: check blob type first | lightningnetwork_lnd | train |
f0df66be2379293b2589010dbed47d7c2095001f | diff --git a/src/utils.js b/src/utils.js
index <HASH>..<HASH> 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -1,5 +1,6 @@
//Matthew Shotton, R&D User Experience,© BBC 2015
import DEFINITIONS from "./Definitions/definitions.js";
+import { SOURCENODESTATE } from "./SourceNodes/sourcenode.js";
/*
* Utility function... | added source node state exporting in exportToJSON | bbc_VideoContext | train |
309f9b61f09a6273ff78e93b98a0d9008a9f77a2 | diff --git a/django_extensions/management/commands/sqldiff.py b/django_extensions/management/commands/sqldiff.py
index <HASH>..<HASH> 100644
--- a/django_extensions/management/commands/sqldiff.py
+++ b/django_extensions/management/commands/sqldiff.py
@@ -399,7 +399,7 @@ class MySQLDiff(SQLDiff):
if not db_type... | fix for #<I> a bigint primary key also needs AUTO_INCREMENT
still need testing however since i cannot test with mysql myself | django-extensions_django-extensions | train |
d29566af17f9734f42a5a4c7f76473f118745116 | diff --git a/djoser/serializers.py b/djoser/serializers.py
index <HASH>..<HASH> 100644
--- a/djoser/serializers.py
+++ b/djoser/serializers.py
@@ -1,5 +1,6 @@
from django.contrib.auth import authenticate, get_user_model
from django.contrib.auth.password_validation import validate_password
+from django.core import exc... | Add support for password validators requiring user | sunscrapers_djoser | train |
96bd5eca5592c7071f396c333047f58a39ddc6d9 | diff --git a/lib/rom/commands.rb b/lib/rom/commands.rb
index <HASH>..<HASH> 100644
--- a/lib/rom/commands.rb
+++ b/lib/rom/commands.rb
@@ -58,7 +58,7 @@ module ROM
# Return number of tuples in the target relation
#
- # This should be overridden by adapters when `#count` is not available
+ # Th... | Replace mention of adapter with repository in docs
After moving ROM::Adapter::Memory to ROM::Memory in #<I>
the word "adapter" on appears in docs.
This commit fixes this.
There are still leftovers of "adapter" in "lint" but they should
soon removed as well.
[ci skip] | rom-rb_rom | train |
7175ecee77784337c4cb999c482598c12a3b92e8 | diff --git a/src/when.js b/src/when.js
index <HASH>..<HASH> 100644
--- a/src/when.js
+++ b/src/when.js
@@ -19,9 +19,11 @@ const checkArgumentMatchers = (expectCall, args) => (match, matcher, i) => {
logger.debug(` matcher: ${String(matcher)}`)
logger.debug(` arg: ${String(arg)}`)
+ const isFunctionMatcher ... | Fix broken function args
Function args were broken when I introduced the custom function matchers. So now function matchers must have a `._isFunctionMatcher` property set to `true`.
This is made easy by wrapping a regular function (not mock or spy) with `when`.
```js
when(fn)
.calledWith(when(allKeysAreSingleLet... | timkindberg_jest-when | train |
6997c5c32d753435bed2b89c11ff019a5581487d | diff --git a/snapshot/btrfs/btrfs.go b/snapshot/btrfs/btrfs.go
index <HASH>..<HASH> 100644
--- a/snapshot/btrfs/btrfs.go
+++ b/snapshot/btrfs/btrfs.go
@@ -6,6 +6,7 @@ import (
"os"
"path/filepath"
+ "github.com/Sirupsen/logrus"
"github.com/docker/containerd"
"github.com/docker/containerd/log"
"github.com/do... | Update btrfs undo logic
Ensure undo failures are logged in a consistent way.
Remove created subvolume on commit failure on create.
Ensure that removed value get logged on delete failure. | containerd_containerd | train |
5a3e34222b09229840d145479dc26ccdfecfdbef | diff --git a/pact-jvm-consumer-java8/src/main/java/io/pactfoundation/consumer/dsl/LambdaDslObject.java b/pact-jvm-consumer-java8/src/main/java/io/pactfoundation/consumer/dsl/LambdaDslObject.java
index <HASH>..<HASH> 100644
--- a/pact-jvm-consumer-java8/src/main/java/io/pactfoundation/consumer/dsl/LambdaDslObject.java
+... | Support ZonedDateTime as example value | DiUS_pact-jvm | train |
fc7454f1839e6f33c68d8ac26ea5d2fb7a1af377 | diff --git a/core/src/main/java/jlibs/core/io/UnicodeInputStream.java b/core/src/main/java/jlibs/core/io/UnicodeInputStream.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/jlibs/core/io/UnicodeInputStream.java
+++ b/core/src/main/java/jlibs/core/io/UnicodeInputStream.java
@@ -18,6 +18,7 @@ package jlibs.core.... | BOM length can be < 4 bytes | santhosh-tekuri_jlibs | train |
e4d8be1642a746237b9a2851c2d5ef809de37f68 | diff --git a/assets/build/webpack.config.js b/assets/build/webpack.config.js
index <HASH>..<HASH> 100644
--- a/assets/build/webpack.config.js
+++ b/assets/build/webpack.config.js
@@ -76,7 +76,7 @@ const webpackConfig = {
}),
},
{
- test: /\.(png|jpe?g|gif|svg)$/,
+ test: /\.(png|jpe... | Add support for .ico files (#<I>) | roots_sage | train |
b5a49151a709a39b65741905958066997dafd46a | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -236,7 +236,23 @@ set :host, ENV['TARGET_HOST']
set :set_property, YAML.load_file(ENV['TARGET_NODE_FILE'])
```
-because these ENVs are passed by `kondate serverspec`.
+because these ENVs are passed by `kondate servers... | Add vagrant option
instead of judging vagrant or not from its host name | sonots_kondate | train |
b6abb91b8374b4df2f8f15f54edb8685597374c0 | diff --git a/builtin/providers/vcd/resource_vcd_network.go b/builtin/providers/vcd/resource_vcd_network.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/vcd/resource_vcd_network.go
+++ b/builtin/providers/vcd/resource_vcd_network.go
@@ -207,7 +207,9 @@ func resourceVcdNetworkRead(d *schema.ResourceData, meta inte... | Class a resource that is in tfstate but unable to be found on the provider as deleted | hashicorp_terraform | train |
f6b6fdc5a62d684e1a067833d65e29dee3c29919 | diff --git a/SALib/sample/morris.py b/SALib/sample/morris.py
index <HASH>..<HASH> 100644
--- a/SALib/sample/morris.py
+++ b/SALib/sample/morris.py
@@ -103,7 +103,7 @@ class Morris(Sample):
# requested, otherwise ignore
if self.optimal_trajectories >= self.samples:
raise ValueE... | Tidied up bugs in Morris class
- Corrected error message so that the trigger matched the message
- Formatted a print command message to accompany error raised when
variables in group file do not match those in the parameter file
- Remove scale samples from morris_groups procedure in Morris class | SALib_SALib | train |
cf484b5196918dd5879f4c25467ef965243e2df6 | diff --git a/bin/shinken-admin b/bin/shinken-admin
index <HASH>..<HASH> 100755
--- a/bin/shinken-admin
+++ b/bin/shinken-admin
@@ -182,6 +182,24 @@ class ShinkenAdmin(cmd.Cmd):
print "+-------------------------------------------------------------------------------+"
+ def do_getconf(self, line):... | Add : getconf call in the shinken-admin. Not documented because it will evole, from now it's just strings ;) | Alignak-monitoring_alignak | train |
d259ab893ed10f9d289c56262dc2029fc74e9a5a | diff --git a/src/ol/map.js b/src/ol/map.js
index <HASH>..<HASH> 100644
--- a/src/ol/map.js
+++ b/src/ol/map.js
@@ -937,8 +937,7 @@ ol.Map.prototype.getTilePriority = function(tile, tileSourceKey, tileCenter, til
if (!frameState || !(tileSourceKey in frameState.wantedTiles)) {
return ol.structs.PriorityQueue.DRO... | Use tile keys instead of coord keys
This change ensures that tiles with old params or dimensions are discarded | openlayers_openlayers | train |
9215f459e70696a1a5cfa32dda7a41c70f74509f | diff --git a/lib/sync/mapItem-test.js b/lib/sync/mapItem-test.js
index <HASH>..<HASH> 100644
--- a/lib/sync/mapItem-test.js
+++ b/lib/sync/mapItem-test.js
@@ -87,7 +87,7 @@ test('should use null when no default value is set', (t) => {
t.deepEqual(ret.attributes, expected)
})
-test('should not treat empty string i... | Remove unneccessary check for undefined in mapItem | integreat-io_integreat | train |
1d92172931f66207a8b3fa11969ab40b715c80cb | diff --git a/tests/view/ViewableDataTest.php b/tests/view/ViewableDataTest.php
index <HASH>..<HASH> 100644
--- a/tests/view/ViewableDataTest.php
+++ b/tests/view/ViewableDataTest.php
@@ -112,6 +112,22 @@ class ViewableDataTest extends SapphireTest {
}
}
+ function testFirstLast() {
+ $vd = new ViewableData();
+... | BUGFIX Returning 'first last' in ViewableData->FirstLast() if item is both at the same time | silverstripe_silverstripe-framework | train |
99124ebcde6ff40838a9058613ad3f7c19000571 | diff --git a/lib/Elastica/Request.php b/lib/Elastica/Request.php
index <HASH>..<HASH> 100644
--- a/lib/Elastica/Request.php
+++ b/lib/Elastica/Request.php
@@ -164,29 +164,25 @@ class Request extends Param
}
/**
+ * @return array
+ */
+ public function toArray()
+ {
+ $data = $this->getP... | Added Request::toArray() method, toString() now return json encoded result of toArray() | ruflin_Elastica | train |
2241dbe0117c2eca57259198a003d7cb5cec0a7f | diff --git a/axes/conf.py b/axes/conf.py
index <HASH>..<HASH> 100644
--- a/axes/conf.py
+++ b/axes/conf.py
@@ -67,7 +67,7 @@ settings.AXES_LOCKOUT_URL = getattr(settings, "AXES_LOCKOUT_URL", None)
settings.AXES_COOLOFF_TIME = getattr(settings, "AXES_COOLOFF_TIME", None)
-settings.AXES_VERBOSE = getattr(settings, "... | Set AXES_VERBOSE default to AXES_ENABLED
Problem: When `AXES_ENABLED == False` we still see log output because `AXES_VERBOSE == True`.
Solution: Change `AXES_VERBOSE` default so that if django-axes is disabled then we don't output to stdout. | jazzband_django-axes | train |
1d077cc48eae58b5f7ecd014ee4a4bfc4c1c45df | diff --git a/src/Psalm/Internal/Type/SimpleNegatedAssertionReconciler.php b/src/Psalm/Internal/Type/SimpleNegatedAssertionReconciler.php
index <HASH>..<HASH> 100644
--- a/src/Psalm/Internal/Type/SimpleNegatedAssertionReconciler.php
+++ b/src/Psalm/Internal/Type/SimpleNegatedAssertionReconciler.php
@@ -644,7 +644,10 @@ ... | Fix #<I> - don’t alter class-string during erroneous emptiness check | vimeo_psalm | train |
93189dbc941a87cea7c2f6fa26d62ce7bde241b7 | diff --git a/src/ChromeDevtoolsProtocol/Instance/Launcher.php b/src/ChromeDevtoolsProtocol/Instance/Launcher.php
index <HASH>..<HASH> 100644
--- a/src/ChromeDevtoolsProtocol/Instance/Launcher.php
+++ b/src/ChromeDevtoolsProtocol/Instance/Launcher.php
@@ -114,7 +114,7 @@ class Launcher
throw new RuntimeException(sp... | Fix Windows detection also letting through OS X. | jakubkulhan_chrome-devtools-protocol | train |
669c3a1d61a35b1d57beaf2e5eaab409758d4a1e | diff --git a/Lib/ufo2ft/instructionCompiler.py b/Lib/ufo2ft/instructionCompiler.py
index <HASH>..<HASH> 100644
--- a/Lib/ufo2ft/instructionCompiler.py
+++ b/Lib/ufo2ft/instructionCompiler.py
@@ -95,7 +95,7 @@ class InstructionCompiler:
# Compile the glyph program
asm = ttdata.get("assembly", None)
-... | Don't log an error is glyph assembly is empty | googlefonts_ufo2ft | train |
d9edf97835c2fc0fcaf26637a30c884f6a30c1d9 | diff --git a/code/services/SAMLConfiguration.php b/code/services/SAMLConfiguration.php
index <HASH>..<HASH> 100644
--- a/code/services/SAMLConfiguration.php
+++ b/code/services/SAMLConfiguration.php
@@ -52,8 +52,8 @@ class SAMLConfiguration extends Object
// SERVICE PROVIDER SECTION
$sp = $this->confi... | Fix the base path to be as expected by the php-saml module. (#<I>)
The path "base" is just one level down from the endpoint, otherwise IdP
will try calling us back at "<base-url>/acs", instead of correct
"<base-url>/saml/acs" | silverstripe_silverstripe-activedirectory | train |
eae2211744922a66ec820cfe18af8ea08a469926 | diff --git a/addon/store.js b/addon/store.js
index <HASH>..<HASH> 100644
--- a/addon/store.js
+++ b/addon/store.js
@@ -61,6 +61,14 @@ var Store = ServiceType.extend({
});
this.set("array", {});
},
+ willDestroy() {
+ this.setProperties({
+ "array": null,
+ "identityMap... | On will destroy event set object/array refs to null | toranb_ember-cli-simple-store | train |
d4bee3656c906dd3364c8ed3a6cafc686b5a1f30 | diff --git a/rescan.go b/rescan.go
index <HASH>..<HASH> 100644
--- a/rescan.go
+++ b/rescan.go
@@ -200,7 +200,7 @@ func (m *RescanManager) jobHandler() {
if !curBatch.empty() {
job := curBatch.job()
- m.sendJob <- curBatch.job()
+ m.sendJob <- job
if m.msgs != nil {
m.msgs <- (*RescanS... | Avoid unnecessarily calculating a rescan job twice. | btcsuite_btcwallet | train |
a4b2f3e33ffe4f3548b1fd98739ec2d62e734943 | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -30,6 +30,7 @@ describe('glob-parent', function() {
assert.equal(gp('/(a|b)'), '/');
assert.equal(gp('./(a|b)'), '.');
assert.equal(gp('a/(b c)'), 'a', 'not an extglob');
+ assert.equal(gp('a/(b c)/'), 'a/(b c)',... | test: add test case for non-extglob parens with trailing separator | gulpjs_glob-parent | train |
2bd890b8d2911c30ba835d3ba520af2685fc3b1c | diff --git a/src/Rammbock/Rammbock.py b/src/Rammbock/Rammbock.py
index <HASH>..<HASH> 100755
--- a/src/Rammbock/Rammbock.py
+++ b/src/Rammbock/Rammbock.py
@@ -437,6 +437,12 @@ class Rammbock(object):
self._data = self._data[int(length):]
def read_integer_from_bits(self, length):
+ """
+ Re... | added documentation to 'read integer from bits' | robotframework_Rammbock | train |
96251c86d370643c5df4236895e9c790aa04be52 | diff --git a/src/routes.php b/src/routes.php
index <HASH>..<HASH> 100644
--- a/src/routes.php
+++ b/src/routes.php
@@ -24,7 +24,7 @@ if (Schema::hasTable('menus')) {
'uses' => 'Admin\\' . ucfirst(camel_case($menu->name)) . 'Controller@massDelete'
]);
... | Fixed ReflectionException
When you try to visit the show method for a CRUD controller, the ReflectionException was thrown.
Simple fix by adding the `except` parameter for registering a resource controller. | LaravelDaily_quickadmin | train |
e4e62667c7b1e0aff8412e5fee28e02b4937a35f | diff --git a/dcompiler.py b/dcompiler.py
index <HASH>..<HASH> 100755
--- a/dcompiler.py
+++ b/dcompiler.py
@@ -215,7 +215,7 @@ class DCompiler(cc.CCompiler):
self.version_flags_from_ext = []
self.debug_flags_from_ext = []
self.string_imports_from_ext = []
- # Get DMD/GDC specific info
... | add ldc to some comments | ariovistus_pyd | train |
c8cb9ecef328a0bc68d591c9168b519b458d4a89 | diff --git a/dvc/progress.py b/dvc/progress.py
index <HASH>..<HASH> 100644
--- a/dvc/progress.py
+++ b/dvc/progress.py
@@ -32,11 +32,14 @@ class Tqdm(tqdm):
"""
maximum-compatibility tqdm-based progressbars
"""
+
BAR_FMT_DEFAULT = (
"{percentage:3.0f}%|{bar:10}|{desc} {bar:-10b}{n}/{total}"... | minor logic tidy
sacrifice accuracy for readability | iterative_dvc | train |
1c52977964e853d44a7c6a28a7c446033a224e49 | diff --git a/zipline/assets/assets.py b/zipline/assets/assets.py
index <HASH>..<HASH> 100644
--- a/zipline/assets/assets.py
+++ b/zipline/assets/assets.py
@@ -166,7 +166,7 @@ class AssetFinder(object):
Returns
-------
- types : defaultdict[str or None -> list[int]]
+ types : dict[str o... | DOC: `group_by_type` returns a regular dict. | quantopian_zipline | train |
2263dcff42e6cfd83c870dd3c5ab27b6bf864c22 | diff --git a/discovery/helium/helium.go b/discovery/helium/helium.go
index <HASH>..<HASH> 100644
--- a/discovery/helium/helium.go
+++ b/discovery/helium/helium.go
@@ -15,6 +15,7 @@ import (
// Helium .
type Helium struct {
sync.Once
+ lock *sync.RWMutex
config types.GRPCConfig
stor store.Store
subs sync... | fix a bug that could cause "Helium.dispatch" to panic (#<I>) | projecteru2_core | train |
a3a144d500d0fbc3e390dcaac5e939d7f80bad7a | diff --git a/plenum/test/node_catchup/test_config_ledger.py b/plenum/test/node_catchup/test_config_ledger.py
index <HASH>..<HASH> 100644
--- a/plenum/test/node_catchup/test_config_ledger.py
+++ b/plenum/test/node_catchup/test_config_ledger.py
@@ -13,18 +13,18 @@ from plenum.common.util import randomString
from plenum.... | INDY-<I>: Fix failing tests | hyperledger_indy-plenum | train |
61a0347315951e48fd18e8f18690af79017c6fe8 | diff --git a/astroid/interpreter/objectmodel.py b/astroid/interpreter/objectmodel.py
index <HASH>..<HASH> 100644
--- a/astroid/interpreter/objectmodel.py
+++ b/astroid/interpreter/objectmodel.py
@@ -32,11 +32,15 @@ import pprint
import os
import types
from functools import lru_cache
+from typing import Optional
i... | In the attr_fset method, retrieve the FunctionDef corresponding to setter property and then infer the result of a call to this function | PyCQA_astroid | train |
c6479d7d9263b3651efe6b137842d7b902ee424b | diff --git a/src/XjtuApi.php b/src/XjtuApi.php
index <HASH>..<HASH> 100644
--- a/src/XjtuApi.php
+++ b/src/XjtuApi.php
@@ -41,6 +41,7 @@ abstract class XjtuApi {
*/
protected $options = [
'timeout' => 5,
+ 'connect_timeout' => 5,
];
/** | chore: set default timeout and connect_timeout | xjtuana-dev_xjtu-api-php | train |
fda44b15b8c26ed58d77df20d40a5bb1cd52ac6f | diff --git a/src/angular-froala.js b/src/angular-froala.js
index <HASH>..<HASH> 100644
--- a/src/angular-froala.js
+++ b/src/angular-froala.js
@@ -111,6 +111,7 @@
ctrl.registerEventsWithCallbacks('froalaEditor.initialized', function () {
ctrl.editorInitialized = true;
+ ... | Fix for the issue #<I> | froala_angular-froala | train |
5a87f81a7977243318eecb9772a7f4616aa73506 | diff --git a/src/Symfony/Bundle/FrameworkBundle/Templating/Helper/CodeHelper.php b/src/Symfony/Bundle/FrameworkBundle/Templating/Helper/CodeHelper.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Templating/Helper/CodeHelper.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Templating/Helper/CodeHelp... | [FrameworkBundle] fixed typo | symfony_symfony | train |
1f815e2b178131a230a13929569f445aaa69d8da | diff --git a/src/ciphertoken.js b/src/ciphertoken.js
index <HASH>..<HASH> 100644
--- a/src/ciphertoken.js
+++ b/src/ciphertoken.js
@@ -32,8 +32,13 @@ var CreateCipherToken = function (cipherKey, firmKey, options){
// Options
//
+ // default settings
var settings = {
- algorythm : 'aes-256-cbc',
+ cipher_algor... | Removed all hard coding about algorithm and encoding and added them as settings. | thegameofcode_ciphertoken | train |
43a67e0a12034efff9f5a99bc4f00e3fc569fc09 | diff --git a/spec/support/dummy/schema.rb b/spec/support/dummy/schema.rb
index <HASH>..<HASH> 100644
--- a/spec/support/dummy/schema.rb
+++ b/spec/support/dummy/schema.rb
@@ -384,7 +384,7 @@ module Dummy
description("Push a value onto a global array :D")
argument :value, !types.Int, as: :val
resolv... | use args.foo rather than args[:foo] in a spec | rmosolgo_graphql-ruby | train |
09e359d6e61447874223cae3cdd1e7c3684ac8fa | diff --git a/tests/features/CommentTest.php b/tests/features/CommentTest.php
index <HASH>..<HASH> 100644
--- a/tests/features/CommentTest.php
+++ b/tests/features/CommentTest.php
@@ -16,7 +16,6 @@ class CommentTest extends TestCase
use RefreshDatabase, SignIn;
private $user;
- private $owner;
privat... | removes unused var from test | laravel-enso_CommentsManager | train |
4851938eaf5c39d9ca08709131133037e7af24fe | diff --git a/CmsManager/CmsManagerSelector.php b/CmsManager/CmsManagerSelector.php
index <HASH>..<HASH> 100644
--- a/CmsManager/CmsManagerSelector.php
+++ b/CmsManager/CmsManagerSelector.php
@@ -15,8 +15,8 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\Request;
u... | Removed deprecation for security.context (#<I>) | sonata-project_SonataPageBundle | train |
e8713db1993430ff10270275fc7431c717018303 | diff --git a/completion.go b/completion.go
index <HASH>..<HASH> 100644
--- a/completion.go
+++ b/completion.go
@@ -139,7 +139,14 @@ func formatTexts(o []string, max int, prefix, suffix string) (new []string, widt
spaces := strings.Repeat(" ", width-x)
n[i] = prefix + o[i] + spaces + suffix
} else if x > widt... | Fix a truncate issue | c-bata_go-prompt | train |
871ef10022db9137f58d5038437fc639ec6b88ce | diff --git a/spec/cztop/socket_spec.rb b/spec/cztop/socket_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/cztop/socket_spec.rb
+++ b/spec/cztop/socket_spec.rb
@@ -61,12 +61,30 @@ describe CZTop::Socket do
describe "#CURVE_server!" do
let(:certificate) { CZTop::Certificate.new }
let(:options) { rep_socket.o... | spec Socket#CURVE_server! for the case that passed Certificate has no secret key | paddor_cztop | train |
d4fbd3ec2381a2360fe60f3664e6acbf832d6781 | diff --git a/zhaquirks/elko/smart_super_thermostat.py b/zhaquirks/elko/smart_super_thermostat.py
index <HASH>..<HASH> 100644
--- a/zhaquirks/elko/smart_super_thermostat.py
+++ b/zhaquirks/elko/smart_super_thermostat.py
@@ -55,25 +55,25 @@ class ElkoSuperTRThermostatCluster(ElkoThermostatCluster):
attributes = Elko... | Fixes Elko Super TR (#<I>)
* Fixes Elko Super TR
* Deletes unnecessary overloads in Elko Super TR | dmulcahey_zha-device-handlers | train |
2bf797b3d69dc741fdd44d535191949275a4b6f0 | diff --git a/spec/unit/rom/gateway_spec.rb b/spec/unit/rom/gateway_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/rom/gateway_spec.rb
+++ b/spec/unit/rom/gateway_spec.rb
@@ -1,6 +1,9 @@
require 'spec_helper'
describe ROM::Gateway do
+
+ subject(:gateway) { Class.new(ROM::Gateway).new }
+
describe '.setup' ... | Refactor Gateway tests by extracting subject | rom-rb_rom | train |
774698d0da3691f0f173b52acc990a0ae7ca3cff | diff --git a/myhdl_lib/__init__.py b/myhdl_lib/__init__.py
index <HASH>..<HASH> 100644
--- a/myhdl_lib/__init__.py
+++ b/myhdl_lib/__init__.py
@@ -1,3 +1,5 @@
+__version__ = "0.1.0"
+
from myhdl_lib.mem import rom, ram_sp_rf, ram_sp_wf, ram_sp_ar,ram_sdp_rf, ram_sdp_wf, ram_sdp_ar, ram_dp_rf, ram_dp_wf, ram_dp_ar
fro... | ADDED __version__ to __init__.py and set to <I>. Version changed also in setup.py and iploaded to pypi. | nkavaldj_myhdl_lib | train |
0bb783ad5f45d1401a8d5c52bdd92d926f0e81c4 | diff --git a/lib/trestle/resource/adapter_methods.rb b/lib/trestle/resource/adapter_methods.rb
index <HASH>..<HASH> 100644
--- a/lib/trestle/resource/adapter_methods.rb
+++ b/lib/trestle/resource/adapter_methods.rb
@@ -24,8 +24,10 @@ module Trestle
# adapter methods can be defined with incomplete block paramet... | Define adapter methods within module_eval block | TrestleAdmin_trestle | train |
8f372636574b925adcd0b18e281e9f8e9979f86f | diff --git a/lib/gith.js b/lib/gith.js
index <HASH>..<HASH> 100644
--- a/lib/gith.js
+++ b/lib/gith.js
@@ -234,14 +234,13 @@ var listen = function( eventaur, port ) {
if ( /^payload=/.test( data ) ) {
var payload = JSON.parse( querystring.unescape(data.slice(8)) );
eventaur.emit( "payload", pay... | move writeHead to successful response and don't close req until the end - closes issue #8 | danheberden_gith | train |
3aca65b25e75499abb849c165b55f672d6b5cadd | diff --git a/test/unittests/archive/test_xnat.py b/test/unittests/archive/test_xnat.py
index <HASH>..<HASH> 100644
--- a/test/unittests/archive/test_xnat.py
+++ b/test/unittests/archive/test_xnat.py
@@ -378,15 +378,16 @@ class TestXnatArchive(BaseTestCase):
archive = XNATArchive(server=self.SERVER, cache_dir=c... | fixed up unittests after refactor to include field specs in base archive
classes (all unittests pass now) | MonashBI_arcana | train |
7f5fb5a6ce58c75dc588bd8f764c95c07c23493b | diff --git a/src/main/java/com/googlecode/lanterna/terminal/swing/GraphicalTerminalImplementation.java b/src/main/java/com/googlecode/lanterna/terminal/swing/GraphicalTerminalImplementation.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/googlecode/lanterna/terminal/swing/GraphicalTerminalImplementation.java
+... | Protect against setting the cursor on negative coordinates | mabe02_lanterna | train |
bd2c6f6e1847a8c9931c2815ec92ce63b09d566a | diff --git a/VM-Core/src/main/java/com/validation/manager/core/tool/msword/importer/TableExtractor.java b/VM-Core/src/main/java/com/validation/manager/core/tool/msword/importer/TableExtractor.java
index <HASH>..<HASH> 100644
--- a/VM-Core/src/main/java/com/validation/manager/core/tool/msword/importer/TableExtractor.jav... | Fixed issue processing Office <I>+ XML excel files | javydreamercsw_validation-manager | train |
d3f2db763fa7ebfa134da64d36c2a45ff668a085 | diff --git a/src/Exscript/protocols/drivers/fortios.py b/src/Exscript/protocols/drivers/fortios.py
index <HASH>..<HASH> 100644
--- a/src/Exscript/protocols/drivers/fortios.py
+++ b/src/Exscript/protocols/drivers/fortios.py
@@ -22,9 +22,10 @@ from Exscript.protocols.drivers.driver import Driver
_user_re = [re.compile... | Fixed prompt re to match prompt of ip address tables | knipknap_exscript | train |
5175030695878bf31c9dac497294460d887573c9 | diff --git a/ospd/command/command.py b/ospd/command/command.py
index <HASH>..<HASH> 100644
--- a/ospd/command/command.py
+++ b/ospd/command/command.py
@@ -464,12 +464,30 @@ class StartScan(BaseCommand):
return elements
+ def is_new_scan_allowed(self) -> bool:
+ """ Check if max_scans has been rea... | Check if max_scans was reached before starting a new scan | greenbone_ospd | train |
41bdf7a2fa0eb88b3cb9f0a1c2effffc5ef8246c | diff --git a/src/server-info.js b/src/server-info.js
index <HASH>..<HASH> 100644
--- a/src/server-info.js
+++ b/src/server-info.js
@@ -70,10 +70,6 @@ export const _collectors = {
return null;
}
},
- swarmServices: {
- command: 'docker service ls --format \'{{json .}}\'',
- parser: parseJSONArray
-... | Remove unused swarmServices from server info | zodern_meteor-up | train |
3bb1cfd2a6cbf071a873065ac174896c7600a915 | diff --git a/src/Model/Behavior/SlugBehavior.php b/src/Model/Behavior/SlugBehavior.php
index <HASH>..<HASH> 100644
--- a/src/Model/Behavior/SlugBehavior.php
+++ b/src/Model/Behavior/SlugBehavior.php
@@ -299,6 +299,35 @@ class SlugBehavior extends Behavior
}
/**
+ * Builds the conditions
+ *
+ * ... | #<I> Allow scope option to be a callable | UseMuffin_Slug | train |
7679e52417db5adf923ad3b8be42ad6dced3021c | diff --git a/lib/Editor.js b/lib/Editor.js
index <HASH>..<HASH> 100644
--- a/lib/Editor.js
+++ b/lib/Editor.js
@@ -376,7 +376,7 @@ Editor.prototype._initHighlighting = function () {
Editor.highlightClient.done(function (client) {
self.on('language', function () { self._requestHighlight(); });
- self.textBu... | fix(pr): TextBuffer is no longer an EventEmitter | slap-editor_editor-widget | train |
789a6884f8a4b9e8c5edf0e4465ed7c83b0d9ac4 | diff --git a/lib/shoulda/general.rb b/lib/shoulda/general.rb
index <HASH>..<HASH> 100644
--- a/lib/shoulda/general.rb
+++ b/lib/shoulda/general.rb
@@ -15,6 +15,77 @@ module ThoughtBot # :nodoc:
end
fixtures *all_fixtures
end
+
+ # Macro that creates a test asserting a chang... | Added new should_change and should_not_change macros; akin to Active Support's assert_difference. | thoughtbot_shoulda-matchers | train |
5bdc1b49c1b864fb88fcbc53dec8468e5dd693e5 | diff --git a/glib/gvariant.go b/glib/gvariant.go
index <HASH>..<HASH> 100644
--- a/glib/gvariant.go
+++ b/glib/gvariant.go
@@ -9,6 +9,7 @@ import "C"
import (
"fmt"
+ "runtime"
"unsafe"
)
@@ -43,17 +44,6 @@ func (v *Variant) ToVariant() *Variant {
return v
}
-// newVariant creates a new Variant from a GV... | Implement memory handling for GVariant | gotk3_gotk3 | train |
0f1d8e629ca643c1e3b084c73893203d370cdd93 | diff --git a/src/audio/auditory_description.js b/src/audio/auditory_description.js
index <HASH>..<HASH> 100644
--- a/src/audio/auditory_description.js
+++ b/src/audio/auditory_description.js
@@ -100,14 +100,14 @@ sre.AuditoryDescription.prototype.clone = function() {
if (this.personality) {
personality = {};
... | Corrects cloning of auditory descriptions. | zorkow_speech-rule-engine | train |
74fdad907cf197d65556a152273c3157c5ff3c48 | diff --git a/cluster.go b/cluster.go
index <HASH>..<HASH> 100644
--- a/cluster.go
+++ b/cluster.go
@@ -86,7 +86,7 @@ func (opt *ClusterOptions) init() {
opt.MaxRedirects = 3
}
- if (opt.RouteByLatency || opt.RouteRandomly) && opt.ClusterSlots == nil {
+ if opt.RouteByLatency || opt.RouteRandomly {
opt.ReadOnl... | ClusterSlots Config and ReadOnly
You have to set the ReadOnly flag on the ClusterOptions to make it fall back to
non-master nodes on reads. For non-clustered situations where you have multiple
nodes in a single ClusterSlot, it made the non-master node useless because it would
never route requests to it and if you set ... | go-redis_redis | train |
f7f9a2fb35c0cb84510411dcb894f2611181f62f | diff --git a/common/capabilities/application.go b/common/capabilities/application.go
index <HASH>..<HASH> 100644
--- a/common/capabilities/application.go
+++ b/common/capabilities/application.go
@@ -57,3 +57,9 @@ func (ap *ApplicationProvider) ForbidDuplicateTXIdInBlock() bool {
func (ap *ApplicationProvider) PrivateC... | [FAB-<I>] introduce new capability
FAB-<I> requires the introduction of new security checks at VSCC to filter
upgrade requests that could be malicious. These new checks however break
compatibility with the old behaviour of the validator and so a new capability
should be introduced.
Change-Id: I8bf9b<I>bf<I>b2f6e<I>fe... | hyperledger_fabric | train |
f883e1d8fc2cfc4424a33fe88a403e4cbb9ad196 | diff --git a/test/tests/commit.js b/test/tests/commit.js
index <HASH>..<HASH> 100644
--- a/test/tests/commit.js
+++ b/test/tests/commit.js
@@ -13,7 +13,9 @@ var exec = require("../../utils/execPromise");
describe("Commit", function() {
var NodeGit = require("../../");
var Repository = NodeGit.Repository;
+ var ... | Added tests for Commit
lookupPrefix
nthGenAncestor | nodegit_nodegit | train |
a2f232720b4cb64c340f81d15eb445925fd66047 | diff --git a/buffer/src/main/java/io/netty/buffer/PoolArena.java b/buffer/src/main/java/io/netty/buffer/PoolArena.java
index <HASH>..<HASH> 100644
--- a/buffer/src/main/java/io/netty/buffer/PoolArena.java
+++ b/buffer/src/main/java/io/netty/buffer/PoolArena.java
@@ -188,10 +188,19 @@ abstract class PoolArena<T> {
... | Make AdaptiveRecvByteBufAllocator's lookup table simpler / Optimize buffer size normalization
- No need to have fine-grained lookup table because the buffer pool has
much more coarse capacities available
- No need to use a loop to normalize a buffer capacity | netty_netty | train |
faf0df4b9460b7f037ee390addbd2c6effcae013 | diff --git a/airflow/providers/google/cloud/example_dags/example_bigquery.py b/airflow/providers/google/cloud/example_dags/example_bigquery.py
index <HASH>..<HASH> 100644
--- a/airflow/providers/google/cloud/example_dags/example_bigquery.py
+++ b/airflow/providers/google/cloud/example_dags/example_bigquery.py
@@ -20,6 ... | [AIRFLOW-XXXX] Fix upsert operator in BQ example DAG (#<I>) | apache_airflow | train |
e0577383e5edc10456adf62525bc343a0cb5671c | diff --git a/lxd/storage/drivers/driver_dir_utils.go b/lxd/storage/drivers/driver_dir_utils.go
index <HASH>..<HASH> 100644
--- a/lxd/storage/drivers/driver_dir_utils.go
+++ b/lxd/storage/drivers/driver_dir_utils.go
@@ -74,12 +74,7 @@ func (d *dir) deleteQuota(path string, volID int64) error {
return nil
}
- err ... | lxd/storage/drivers/driver/dir/utils: Updates deleteQuota to use DeleteProject | lxc_lxd | train |
21d39c975fe632986437c839d285cb798a7bb03e | diff --git a/gui/src/main/java/org/jboss/as/console/client/domain/hosts/general/NewHostJvmWizard.java b/gui/src/main/java/org/jboss/as/console/client/domain/hosts/general/NewHostJvmWizard.java
index <HASH>..<HASH> 100644
--- a/gui/src/main/java/org/jboss/as/console/client/domain/hosts/general/NewHostJvmWizard.java
+++ ... | disable debug attribute when creating host jvm settings | hal_core | train |
3320057725e3c936f1a96c29f49a38de960ba233 | diff --git a/mod/forum/lib.php b/mod/forum/lib.php
index <HASH>..<HASH> 100644
--- a/mod/forum/lib.php
+++ b/mod/forum/lib.php
@@ -1528,11 +1528,7 @@ function forum_print_post(&$post, $courseid, $ownpost=false, $reply=false, $link
}
echo '<a name="'.$post->id.'"></a>';
- if ($post->parent) {
- ech... | Cellspacing 0 for forum posts to help poor little IE | moodle_moodle | train |
595dd0d90bb363c0a4115b37dcb8f42155ada5a6 | diff --git a/girder/models/model_base.py b/girder/models/model_base.py
index <HASH>..<HASH> 100644
--- a/girder/models/model_base.py
+++ b/girder/models/model_base.py
@@ -25,6 +25,7 @@ import re
import six
from bson.objectid import ObjectId
+from bson.errors import InvalidId
from girder import events
from girder.... | Use more specific and consistent exceptions in "Model.load" | girder_girder | train |
41c54a9520b5ae103328474a0f6b7f13ed58f8b7 | diff --git a/src/authorize.js b/src/authorize.js
index <HASH>..<HASH> 100644
--- a/src/authorize.js
+++ b/src/authorize.js
@@ -48,12 +48,9 @@
return typeof(document) != 'undefined';
};
+ var onFeaturesLoaded;
RemoteStorage.Authorize._rs_init = function(remoteStorage) {
- var params = extractParams();
-... | security relevantgit add src/authorize.js ! bug in authorize that saved the token even after disconnect | remotestorage_remotestorage.js | train |
47afafaa8ad73c131e4e8db051d9ef64fabf3fcc | diff --git a/app/models/katello/content_view_repository.rb b/app/models/katello/content_view_repository.rb
index <HASH>..<HASH> 100644
--- a/app/models/katello/content_view_repository.rb
+++ b/app/models/katello/content_view_repository.rb
@@ -5,8 +5,9 @@ module Katello
Repository::OSTRE... | Fixes #<I> - Content view publish for generic types | Katello_katello | train |
57ab405a973db10b8bdf20690d43d2043d5ceb64 | diff --git a/rehttp.go b/rehttp.go
index <HASH>..<HASH> 100644
--- a/rehttp.go
+++ b/rehttp.go
@@ -47,12 +47,19 @@ import (
"errors"
"io"
"io/ioutil"
+ "math"
+ "math/rand"
"net/http"
"strings"
"sync"
"time"
)
+// PRNG is the *math.Rand value to use to add jitter to the backoff
+// algorithm used in Ex... | rehttp: test exponential backoff | PuerkitoBio_rehttp | train |
b3f01a84dc4bcd11eb3613b6f7ebabcee1f139f0 | diff --git a/djangoautoconf/django_rest_framework_utils/serializer_generator.py b/djangoautoconf/django_rest_framework_utils/serializer_generator.py
index <HASH>..<HASH> 100644
--- a/djangoautoconf/django_rest_framework_utils/serializer_generator.py
+++ b/djangoautoconf/django_rest_framework_utils/serializer_generator.... | Added user to api generator. | weijia_djangoautoconf | train |
943c191499b569b066fed25ffbc66ef58ec1a46d | diff --git a/plugins/joint.shapes.basic.js b/plugins/joint.shapes.basic.js
index <HASH>..<HASH> 100644
--- a/plugins/joint.shapes.basic.js
+++ b/plugins/joint.shapes.basic.js
@@ -77,3 +77,18 @@ joint.shapes.basic.Image = joint.shapes.basic.Generic.extend({
}
}, joint.shapes.basic.Generic.prototype.default... | add joint.shapes.basic.Path element to the basic shapes | clientIO_joint | train |
74c7fe6d0e7edca0ceccc23db8b5251170a2db01 | diff --git a/Classes/Neos/Neos/Ui/Controller/BackendServiceController.php b/Classes/Neos/Neos/Ui/Controller/BackendServiceController.php
index <HASH>..<HASH> 100644
--- a/Classes/Neos/Neos/Ui/Controller/BackendServiceController.php
+++ b/Classes/Neos/Neos/Ui/Controller/BackendServiceController.php
@@ -21,7 +21,9 @@ use... | BUGFIX: correctly remove and re-create nodes when discarding | neos_neos-ui | train |
1b92277648379063da6002c0174391dc3ee16f60 | diff --git a/DrdPlus/Codes/ShieldCode.php b/DrdPlus/Codes/ShieldCode.php
index <HASH>..<HASH> 100644
--- a/DrdPlus/Codes/ShieldCode.php
+++ b/DrdPlus/Codes/ShieldCode.php
@@ -6,6 +6,7 @@ namespace DrdPlus\Codes;
*/
class ShieldCode extends Code
{
+ const WITHOUT_SHIELD = 'without_shield';
const BUCKLER = 'b... | Without shield as "shield" code can be used | drdplusinfo_drdplus-codes | train |
34bc21f57941270b12048976fbb6e00ca541dd65 | diff --git a/src/Reconstructor/DependencyInjection/NamedServicesToConstructorReconstructor.php b/src/Reconstructor/DependencyInjection/NamedServicesToConstructorReconstructor.php
index <HASH>..<HASH> 100644
--- a/src/Reconstructor/DependencyInjection/NamedServicesToConstructorReconstructor.php
+++ b/src/Reconstructor/D... | decouple refactoring method for both cases | rectorphp_rector | train |
4f4d987e8cdcfe56b0021c16efb2a3dc994f15ed | diff --git a/coap/coap-in.html b/coap/coap-in.html
index <HASH>..<HASH> 100644
--- a/coap/coap-in.html
+++ b/coap/coap-in.html
@@ -5,6 +5,10 @@
<input type="text" id="node-config-input-name" placeholder="Name"/>
</div>
<div class="form-row">
+ <label for="node-config-input-ipv6"><i class="fa fa-... | Add support for IPv6 to coap-in node | reederz_node-red-contrib-coap | train |
97b12547077e7aec5524d2a5c1b7d4d8cc6be0af | diff --git a/src/program/types/AssignmentExpression.js b/src/program/types/AssignmentExpression.js
index <HASH>..<HASH> 100644
--- a/src/program/types/AssignmentExpression.js
+++ b/src/program/types/AssignmentExpression.js
@@ -6,6 +6,8 @@ let commutative = {};
// operating on strings
for ( let operator of '*&^|' ) co... | Only collapse `a = a OP b` to `a OP= b` for whitelisted operators. | Rich-Harris_butternut | train |
58f73b0e95d5f7c4a93d9b97d3ad64df68e37059 | diff --git a/pysat/_meta.py b/pysat/_meta.py
index <HASH>..<HASH> 100644
--- a/pysat/_meta.py
+++ b/pysat/_meta.py
@@ -552,7 +552,7 @@ class Meta(object):
self.attr_case_name, key[1],
self[new_index].children.data.index)
return self.ho_d... | STY: improved flake8
Improved flake8 for meta and TODO comments. | rstoneback_pysat | train |
1aa1a7390d845f5b46cf76cdd801ebb959e80940 | diff --git a/wsgiservice/resource.py b/wsgiservice/resource.py
index <HASH>..<HASH> 100644
--- a/wsgiservice/resource.py
+++ b/wsgiservice/resource.py
@@ -2,8 +2,8 @@ import hashlib
import inspect
import json
import logging
-import webob
import re
+import webob
from xml.sax.saxutils import escape as xml_escape
fr... | resource.py (Resource.call_method): Refactor slightly by putting the
possible data sources into a list instead of hard-coding the for if/else
statements. | pneff_wsgiservice | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.