hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
1b23c122555a5864ecaf4e4dbf0b455657e53d7d | diff --git a/tracking/tests/test_views.py b/tracking/tests/test_views.py
index <HASH>..<HASH> 100644
--- a/tracking/tests/test_views.py
+++ b/tracking/tests/test_views.py
@@ -23,7 +23,7 @@ class ViewsTestCase(TestCase):
def test_dashboard_times(self):
# make a non PAGEVIEW tracking request
respon... | A touch of backward compatibility on the form fields | bruth_django-tracking2 | train |
af1a0567e79fb9d093717a6539284102d318e5c6 | diff --git a/src/Request/Api/BaseRequest.php b/src/Request/Api/BaseRequest.php
index <HASH>..<HASH> 100644
--- a/src/Request/Api/BaseRequest.php
+++ b/src/Request/Api/BaseRequest.php
@@ -160,6 +160,7 @@ abstract class BaseRequest implements IRequest
'tries',
'requestTypeOverride',
... | fix(Request): Don't send nullableChanged | zerospam_sdk-framework | train |
ba0d8c1d3d97bccd0e12dbe8dd11a052efaf1006 | diff --git a/src/Spl/Observer.php b/src/Spl/Observer.php
index <HASH>..<HASH> 100644
--- a/src/Spl/Observer.php
+++ b/src/Spl/Observer.php
@@ -3,7 +3,11 @@
namespace Spl;
interface Observer {
-
+
+ /**
+ * @abstract
+ * @return void
+ */
function notify();
} | Added docblock for notify. | morrisonlevi_Ardent | train |
4409a32818cabc39b95696c99b853ffe46aa087d | diff --git a/lib/gittle.js b/lib/gittle.js
index <HASH>..<HASH> 100644
--- a/lib/gittle.js
+++ b/lib/gittle.js
@@ -152,5 +152,17 @@ Gittle.prototype.commit = function(name, email, msg, files) {
};
+Gittle.prototype.current_branch = function() {
+ return this.branch().get('name');
+};
+
+Gittle.prototype.commits... | Add current_branch and commits_pending methods | CodeboxIDE_gittle.js | train |
7c3c691c05d437063d628261f41dea5f2c9ba488 | diff --git a/src/Local/BuildFlavor/Drupal.php b/src/Local/BuildFlavor/Drupal.php
index <HASH>..<HASH> 100644
--- a/src/Local/BuildFlavor/Drupal.php
+++ b/src/Local/BuildFlavor/Drupal.php
@@ -114,7 +114,7 @@ class Drupal extends BuildFlavorBase
if (!$repositoryDir = $this->gitHelper->getRoot($this->appRoot)) {
... | Use improved makePathRelative elsewhere | platformsh_platformsh-cli | train |
8b80311e5ff412f2956be38535e05999fa57e12c | diff --git a/activerecord/test/cases/inheritance_test.rb b/activerecord/test/cases/inheritance_test.rb
index <HASH>..<HASH> 100644
--- a/activerecord/test/cases/inheritance_test.rb
+++ b/activerecord/test/cases/inheritance_test.rb
@@ -68,6 +68,7 @@ class InheritanceTest < ActiveRecord::TestCase
end
def test_com... | add an missing assertion to inheritance_test.rb
assertion for
<URL> | rails_rails | train |
f79fee19b50c7d9c2342d08ef63d948cfe99553e | diff --git a/core/eolearn/core/eodata.py b/core/eolearn/core/eodata.py
index <HASH>..<HASH> 100644
--- a/core/eolearn/core/eodata.py
+++ b/core/eolearn/core/eodata.py
@@ -34,7 +34,7 @@ warnings.simplefilter('default', DeprecationWarning)
MAX_DATA_REPR_LEN = 100
-@attr.s(repr=False, cmp=False, kw_only=True)
+@attr.... | fixed some deprecation warnings | sentinel-hub_eo-learn | train |
968ba704fb036f55b0394e011dac66507783a54a | diff --git a/buffer/tests/test_updates_manager.py b/buffer/tests/test_updates_manager.py
index <HASH>..<HASH> 100644
--- a/buffer/tests/test_updates_manager.py
+++ b/buffer/tests/test_updates_manager.py
@@ -82,3 +82,17 @@ def test_updates_manager_reorder():
data = "order[]=1&order[]=2&"
mocked_api.post.assert_cal... | Test reorder method with offset and utc params | vtemian_buffpy | train |
8ff312397b4dc44a84d808b529f8eb13c7a2fe5a | diff --git a/pkg/resources/gce.go b/pkg/resources/gce.go
index <HASH>..<HASH> 100644
--- a/pkg/resources/gce.go
+++ b/pkg/resources/gce.go
@@ -25,7 +25,6 @@ import (
compute "google.golang.org/api/compute/v0.beta"
"k8s.io/apimachinery/pkg/util/sets"
- "k8s.io/kops/pkg/dns"
"k8s.io/kops/pkg/resources/tracker"
... | GCE: Don't remove (shared) DNS Zone
We don't create it, we shouldn't be deleting it. | kubernetes_kops | train |
d6f414b4ccf502c8522f466add990e81c354d5d4 | diff --git a/packages/material-ui/src/Popper/Popper.js b/packages/material-ui/src/Popper/Popper.js
index <HASH>..<HASH> 100644
--- a/packages/material-ui/src/Popper/Popper.js
+++ b/packages/material-ui/src/Popper/Popper.js
@@ -78,14 +78,9 @@ const Popper = React.forwardRef(function Popper(props, ref) {
* modifiers.... | [Popper] Fix placement update logic (#<I>) | mui-org_material-ui | train |
2dcb0afe90e63498a360de75d67537bfad078b16 | diff --git a/lib/node_modules/@stdlib/math/base/assert/lib/index.js b/lib/node_modules/@stdlib/math/base/assert/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/node_modules/@stdlib/math/base/assert/lib/index.js
+++ b/lib/node_modules/@stdlib/math/base/assert/lib/index.js
@@ -46,13 +46,13 @@ setReadOnly( ns, 'isOddIn... | Realias isFinite to match top-level assert | stdlib-js_stdlib | train |
a2a5ae5d4dce1d62d4f6f0fcd42e91de766eda46 | diff --git a/credentials/alts/utils.go b/credentials/alts/utils.go
index <HASH>..<HASH> 100644
--- a/credentials/alts/utils.go
+++ b/credentials/alts/utils.go
@@ -31,7 +31,9 @@ import (
"runtime"
"strings"
+ "google.golang.org/grpc/codes"
"google.golang.org/grpc/peer"
+ "google.golang.org/grpc/status"
)
con... | credentials/alts: Add Client Authorization Utility API (#<I>)
Add client authorization util API | grpc_grpc-go | train |
f169d391135594aca1ad578d7652a51c841bc8a4 | diff --git a/aws/cloudformation/resources/customResource.go b/aws/cloudformation/resources/customResource.go
index <HASH>..<HASH> 100644
--- a/aws/cloudformation/resources/customResource.go
+++ b/aws/cloudformation/resources/customResource.go
@@ -81,7 +81,7 @@ func customTypeProvider(resourceType string) gocf.ResourceP... | Make SendCloudFormationResponse public to allow custom resources to broadcast | mweagle_Sparta | train |
41069f264a91a047680084d90cc8cf1d55697701 | diff --git a/src/Util/Hash.php b/src/Util/Hash.php
index <HASH>..<HASH> 100755
--- a/src/Util/Hash.php
+++ b/src/Util/Hash.php
@@ -16,4 +16,15 @@ class Hash
{
return hash('sha256', $data, true);
}
+
+ /**
+ * Returns a string representation of the sha-256 hash of $data
+ *
+ * @param $... | Implemented Hash::asString | zulucrypto_stellar-api | train |
f0ddfba968922fe366190cf70e8ac7dc7780206a | diff --git a/lib/solve/artifact.rb b/lib/solve/artifact.rb
index <HASH>..<HASH> 100644
--- a/lib/solve/artifact.rb
+++ b/lib/solve/artifact.rb
@@ -1,8 +1,19 @@
module Solve
# @author Jamie Winsor <jamie@vialstudios.com>
class Artifact
+ # A reference to the graph this artifact belongs to
+ #
+ # @return... | fix issue where demands wouldn't be assigned to the solver on initialization
add function documentation | berkshelf_solve | train |
6a6fb6739588cf81677bed1c08ce9072c50ef999 | diff --git a/ontquery/terms.py b/ontquery/terms.py
index <HASH>..<HASH> 100644
--- a/ontquery/terms.py
+++ b/ontquery/terms.py
@@ -459,7 +459,7 @@ class OntTerm(OntId):
setattr(self, k, v)
raise exc.NotFoundError(f'No results for {self!r}')
else:
- print... | OntTerm.__call__ create predicates if it doesn't exist | tgbugs_ontquery | train |
216f31b17303f1000ef50e7024ab124732c2aa9e | diff --git a/atrcopy.py b/atrcopy.py
index <HASH>..<HASH> 100755
--- a/atrcopy.py
+++ b/atrcopy.py
@@ -195,6 +195,12 @@ class ObjSegment(object):
if self.error:
s += " " + self.error
return s
+
+ def __len__(self):
+ return len(self.data)
+
+ def __getitem__(self, val... | Added len and getitem to segments | robmcmullen_atrcopy | train |
a89281552005fb3849e1b2b33e86849d7d4b610a | diff --git a/spec/addressable/uri_spec.rb b/spec/addressable/uri_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/addressable/uri_spec.rb
+++ b/spec/addressable/uri_spec.rb
@@ -1920,6 +1920,51 @@ describe Addressable::URI, "when parsed from " +
end
end
+describe Addressable::URI, "when parsed from '/a/b/c/./../../g... | Added additional tests to ensure that Addressable is doing dot segment resolution correctly. | sporkmonger_addressable | train |
43351773a41e72096d173391bcd496c817bd1cfa | diff --git a/src/js/videojs.record.js b/src/js/videojs.record.js
index <HASH>..<HASH> 100644
--- a/src/js/videojs.record.js
+++ b/src/js/videojs.record.js
@@ -1738,6 +1738,7 @@
VjsButton.call(this, player, options);
this.on('click', this.onClick);
+ this.on('tap', this.onClick);
... | listen for 'tap' events (emitted when touch events are supported) (refs #<I>) | collab-project_videojs-record | train |
4cbccbb094f26e49fad19041d920359bbbf3b186 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -47,8 +47,12 @@ def write_build_info():
build_date = time.strftime('%Y-%m-%d %H:%M:%S +0000', time.gmtime())
# determine builder
- builder_name = gvcsi.check_call_out(('git', 'config', 'user.name'))
- builder_email =... | Handle unconfigured builder name and email gracefully. | gwastro_pycbc-glue | train |
7779fc6720a8a612841495ab2939af21dbcc1c74 | diff --git a/cablemap.core/cablemap/core/reader.py b/cablemap.core/cablemap/core/reader.py
index <HASH>..<HASH> 100644
--- a/cablemap.core/cablemap/core/reader.py
+++ b/cablemap.core/cablemap/core/reader.py
@@ -710,7 +710,7 @@ _TAGS_PATTERN = re.compile(r'(?<!Kaz)(?:TAGS|TAG|AGS:)(?::\s*|\s+)(.+)', re.IGNO
_TAGS_SUBJE... | Added POLITICAL PARTIES to TAGs, added TAG oddities | heuer_cablemap | train |
4e9a7614ce935a9404441f1f4a9870c8d484a40f | diff --git a/src/PHPMailer.php b/src/PHPMailer.php
index <HASH>..<HASH> 100644
--- a/src/PHPMailer.php
+++ b/src/PHPMailer.php
@@ -1614,6 +1614,8 @@ class PHPMailer
*/
protected function sendmailSend($header, $body)
{
+ $header = rtrim($header, "\r\n ") . static::$LE . static::$LE;
+
// ... | Ensure header and body are separated by 2 line breaks | PHPMailer_PHPMailer | train |
ad205f2f561d340ce947662291e1332380a45066 | diff --git a/lib/active_record/connection_adapters/em_mysql2_adapter.rb b/lib/active_record/connection_adapters/em_mysql2_adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/active_record/connection_adapters/em_mysql2_adapter.rb
+++ b/lib/active_record/connection_adapters/em_mysql2_adapter.rb
@@ -41,7 +41,7 @@ module Acti... | Don't use ActiveRecord.version, it's only been added in AR 4 | igrigorik_em-synchrony | train |
38239c7a3b9d381f32068b7572a346d45b6b3043 | diff --git a/src/config-wrapper.js b/src/config-wrapper.js
index <HASH>..<HASH> 100644
--- a/src/config-wrapper.js
+++ b/src/config-wrapper.js
@@ -78,9 +78,11 @@ function wrap(func, required, ...configs) {
transactionId,
} = context.invocation;
+ const authorization = getToken(request);
+
const op... | refactor(config): conditionally set authorization header | adobe_helix-shared | train |
53b3019db1363e1ff8bb4f43cd2abfed249904df | diff --git a/parambokeh/__init__.py b/parambokeh/__init__.py
index <HASH>..<HASH> 100644
--- a/parambokeh/__init__.py
+++ b/parambokeh/__init__.py
@@ -83,13 +83,16 @@ class Widgets(param.ParameterizedFunction):
Whether to push data in notebook mode. Allows disabling pushing
of data if the callback han... | Allow passing in plots to Widgets function | ioam_parambokeh | train |
57a37db88acef7426c6a13047fe16c27d0d1669f | diff --git a/adb_protocol.py b/adb_protocol.py
index <HASH>..<HASH> 100644
--- a/adb_protocol.py
+++ b/adb_protocol.py
@@ -211,7 +211,7 @@ class AdbMessage(object):
total_timeout_ms = usb.Timeout(total_timeout_ms)
start = time.time()
while True:
- msg = usb.BulkRead(64, timeout_ms)
+ msg = usb.... | cls.Unpack expects <I> bytes, so read <I> bytes | google_python-adb | train |
f5f9d9c78743f49b667591f13d0ab274cfedcc80 | diff --git a/pdblp/pdblp.py b/pdblp/pdblp.py
index <HASH>..<HASH> 100644
--- a/pdblp/pdblp.py
+++ b/pdblp/pdblp.py
@@ -182,8 +182,7 @@ class BCon(object):
data = self._bdh_list(tickers, flds, start_date, end_date,
elms, ovrds)
- df = DataFrame(data)
- df.columns =... | Allow empty DataFrames to be instantiated by bdh
Closes: #<I> | matthewgilbert_pdblp | train |
19e77417acea1fc43cb1a4266ad969592c36660b | diff --git a/twarc/client2.py b/twarc/client2.py
index <HASH>..<HASH> 100644
--- a/twarc/client2.py
+++ b/twarc/client2.py
@@ -438,30 +438,8 @@ class Twarc2:
generator[dict]: a generator, dict for each tweet.
"""
url = "https://api.twitter.com/2/tweets/sample/stream"
- while catch_... | Twarc2._stream
This commit adds an internal method Twarc2._stream which is used by both
the Twarc2.stream and Twarc2.sample methods to connect to the Twitter
API and stream results. It is wrapped with the catch_request_exceptions
decorator, which ought to catch an request errors, log them and retry,
and hopefully this... | DocNow_twarc | train |
936a3f7ced380dae496b0e92fa00e4ea1cf10767 | diff --git a/graylog2-server/src/test/java/org/graylog/testing/graylognode/NodeContainerFactory.java b/graylog2-server/src/test/java/org/graylog/testing/graylognode/NodeContainerFactory.java
index <HASH>..<HASH> 100644
--- a/graylog2-server/src/test/java/org/graylog/testing/graylognode/NodeContainerFactory.java
+++ b/g... | Remove aws and collector plugin references from integration test. (#<I>) | Graylog2_graylog2-server | train |
568f860de2ebc24a477bf5788ac95f693080ef90 | diff --git a/app/plugins/kalabox-plugin-pantheon/lib/client.js b/app/plugins/kalabox-plugin-pantheon/lib/client.js
index <HASH>..<HASH> 100644
--- a/app/plugins/kalabox-plugin-pantheon/lib/client.js
+++ b/app/plugins/kalabox-plugin-pantheon/lib/client.js
@@ -254,8 +254,7 @@ Client.prototype.reAuthSession = function() {... | #<I>: Fix bug where reauth was failing on kbox create pantheon | kalabox_kalabox-app-pantheon | train |
7020ac6e0bb1dd934ac773bb1328f7913e12e188 | diff --git a/src/main/java/org/dasein/cloud/openstack/nova/os/compute/NovaServer.java b/src/main/java/org/dasein/cloud/openstack/nova/os/compute/NovaServer.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/dasein/cloud/openstack/nova/os/compute/NovaServer.java
+++ b/src/main/java/org/dasein/cloud/openstack/nova/... | bugzid <I>: fixed get security groups for server | dasein-cloud_dasein-cloud-openstack | train |
be188254c3d748526d48d647e6c0453e00979463 | diff --git a/selenium_test/steps/caret.py b/selenium_test/steps/caret.py
index <HASH>..<HASH> 100644
--- a/selenium_test/steps/caret.py
+++ b/selenium_test/steps/caret.py
@@ -299,7 +299,7 @@ def step_impl(context):
parent = util.find_element((By.CSS_SELECTOR, ".title"))
ActionChains(driver)\
- .move_... | Fixed a test problem on FF <I> in Windows 8. | mangalam-research_wed | train |
ae643c872d2c060154a4fb2162dc1c0ab1693ccd | diff --git a/args.go b/args.go
index <HASH>..<HASH> 100644
--- a/args.go
+++ b/args.go
@@ -460,16 +460,16 @@ func decodeArgAppend(dst, src []byte) []byte {
}
// slow path
- for i, n := 0, len(src); i < n; i++ {
+ for i := 0; i < len(src); i++ {
c := src[i]
if c == '%' {
- if i+2 >= n {
+ if i+2 >= len(s... | decodeArgAppend code prettifying | valyala_fasthttp | train |
19515fe59176b36e6ef2a0e09c9e3b673e3b0de0 | diff --git a/app/classes/timthumb.php b/app/classes/timthumb.php
index <HASH>..<HASH> 100644
--- a/app/classes/timthumb.php
+++ b/app/classes/timthumb.php
@@ -978,7 +978,8 @@ class timthumb {
foreach ($sub_directories as $sub){
$base .= $sub . '/';
$this->debug(3, "Trying file as: " . $base . $src);
- if(f... | Make timthumb work better with open_basedir. | bolt_bolt | train |
af0665a6a4fda7971716279db7e9a9119926d2ef | diff --git a/src/Neves/Events/TransactionalDispatcher.php b/src/Neves/Events/TransactionalDispatcher.php
index <HASH>..<HASH> 100644
--- a/src/Neves/Events/TransactionalDispatcher.php
+++ b/src/Neves/Events/TransactionalDispatcher.php
@@ -6,7 +6,6 @@ use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
us... | Use Dispatcher contract (#<I>) (close #<I>) | fntneves_laravel-transactional-events | train |
b3b53cbf63cb3bbb6561e64831b7563df17d8f94 | diff --git a/pkg/volume/util/operationexecutor/operation_generator.go b/pkg/volume/util/operationexecutor/operation_generator.go
index <HASH>..<HASH> 100644
--- a/pkg/volume/util/operationexecutor/operation_generator.go
+++ b/pkg/volume/util/operationexecutor/operation_generator.go
@@ -607,6 +607,17 @@ func (og *operat... | Mark MountDevice as uncertain after failed resize
When NodeExpand fails between MountDevice and SetUp, make sure the next
NodeExpand attempt is called before SetUp. | kubernetes_kubernetes | train |
c21a35c2a63613c1bc8465c1b9c9c73d726dccbe | diff --git a/config/routes.rb b/config/routes.rb
index <HASH>..<HASH> 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -24,7 +24,7 @@ Radiant::Engine.routes.draw do
resources :extensions, :only => :index
resources :page_parts, :only => :create
resources :page_fields, :only => :create
- match ... | fix reference route to use get instead of match | radiant_radiant | train |
c9f3abef0dbf3300712e45140d07c6c61cbeda00 | diff --git a/tensorlayer/prepro.py b/tensorlayer/prepro.py
index <HASH>..<HASH> 100644
--- a/tensorlayer/prepro.py
+++ b/tensorlayer/prepro.py
@@ -1530,7 +1530,7 @@ def zoom_multi(x, zoom_range=(0.9, 1.1), flags=None, border_mode='constant'):
h, w = x.shape[0], x.shape[1]
transform_matrix = transform_... | prepro.py refactored, no test since almost nothing relates to tf | tensorlayer_tensorlayer | train |
54fbd36d771373a8db2ee2e659bde46d58bd2d8b | diff --git a/lib/mongo/crypt/binary.rb b/lib/mongo/crypt/binary.rb
index <HASH>..<HASH> 100644
--- a/lib/mongo/crypt/binary.rb
+++ b/lib/mongo/crypt/binary.rb
@@ -72,6 +72,24 @@ module Mongo
true
end
+
+ # Convenient API for using binary object without having
+ # to perform cleanup.
+ #... | RUBY-<I> Introduce a block API for the Mongo::Crypt::Binary object (#<I>)
* introduce a block API for the Mongo::Crypt::Binary object
* added a bit more to tests
* use ensure
* small style fix | mongodb_mongo-ruby-driver | train |
530db393bc1cb4c0ad14fef5ac764f80cf36a6de | diff --git a/tests/fields/test_encrypted.py b/tests/fields/test_encrypted.py
index <HASH>..<HASH> 100644
--- a/tests/fields/test_encrypted.py
+++ b/tests/fields/test_encrypted.py
@@ -7,7 +7,7 @@ from django.conf import settings
from django.core import exceptions, serializers, validators
from django.core.management im... | Fix migration testing
Migration testing was broken due to changes made in Django <I>. | georgemarshall_django-cryptography | train |
dead6887848aed43a10f1753162b7e5ad3238fd8 | diff --git a/src/Product/ProductInListingBlockRenderer.php b/src/Product/ProductInListingBlockRenderer.php
index <HASH>..<HASH> 100644
--- a/src/Product/ProductInListingBlockRenderer.php
+++ b/src/Product/ProductInListingBlockRenderer.php
@@ -3,7 +3,6 @@
namespace Brera\Product;
use Brera\Renderer\BlockRenderer;
-u... | Issue #<I>: Remove unused method from ProductInListingBlockRenderer | lizards-and-pumpkins_catalog | train |
28f361d9f9d8db0a1ca5241aeca476326dd2a2db | diff --git a/lib/knapsack/distributor.rb b/lib/knapsack/distributor.rb
index <HASH>..<HASH> 100644
--- a/lib/knapsack/distributor.rb
+++ b/lib/knapsack/distributor.rb
@@ -9,7 +9,7 @@ module Knapsack
@report = args[:report] || default_report
@ci_node_total = args[:ci_node_total] || DEFAULT_CI_NODE_TOTAL
... | save spec files to not_assigned_spec_files variable | ArturT_knapsack | train |
46dab29c98f394fe253c0a52f3abf36228e59c58 | diff --git a/src/components/SecondaryPanes/XHRBreakpoints.js b/src/components/SecondaryPanes/XHRBreakpoints.js
index <HASH>..<HASH> 100644
--- a/src/components/SecondaryPanes/XHRBreakpoints.js
+++ b/src/components/SecondaryPanes/XHRBreakpoints.js
@@ -39,6 +39,8 @@ type State = {
};
class XHRBreakpoints extends Comp... | Show input focus styles for XHR breakpoints (#<I>) | firefox-devtools_debugger | train |
172b1890bf8440777bd014df1778da24f4015766 | diff --git a/pysolr.py b/pysolr.py
index <HASH>..<HASH> 100644
--- a/pysolr.py
+++ b/pysolr.py
@@ -307,20 +307,22 @@ class Solr(object):
http = Http(timeout=self.timeout)
url = self.base_url + path
+ self.log.debug("Starting request to '%s' (%s) with body '%s'...",
+ ... | Catch IOError in _send_request
httplib2 can raise a bare socket.error in _send_request, which handles only
AttributeError. This change catches all IOError subclasses, tells logging to
include exception information and moves logging code outside of the try/except
block to avoid any possibility of an exception in a log ... | django-haystack_pysolr | train |
8d4dd3c5153d8e2990c36d727c812df16c38764c | diff --git a/searx/webapp.py b/searx/webapp.py
index <HASH>..<HASH> 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -721,7 +721,7 @@ def config():
@app.errorhandler(404)
def page_not_found(e):
- return render('404.html')
+ return render('404.html'), 404
def run(): | [fix] <I> HTTP status on not found pages - closes #<I> | asciimoo_searx | train |
79a169baa3eeaf71df068de5d9c6150684dfe35f | diff --git a/test/e2e/logging.test.js b/test/e2e/logging.test.js
index <HASH>..<HASH> 100644
--- a/test/e2e/logging.test.js
+++ b/test/e2e/logging.test.js
@@ -1,7 +1,7 @@
"use strict";
-const fs = require("fs");
const path = require("path");
+const fs = require("graceful-fs");
const webpack = require("webpack");
... | chore: use `graceful-fs` (#<I>) | webpack_webpack-dev-server | train |
880a7b82dc5cb0125eb2fce538d1604bae8f7037 | diff --git a/openquake/baselib/parallel.py b/openquake/baselib/parallel.py
index <HASH>..<HASH> 100644
--- a/openquake/baselib/parallel.py
+++ b/openquake/baselib/parallel.py
@@ -233,7 +233,7 @@ class Pickled(object):
def __repr__(self):
"""String representation of the pickled object"""
- return ... | Reduced ucerf_base.RUPTURES_PER_BLOCK [skip CI] | gem_oq-engine | train |
c9ef62901c1a8870e83b72e30db07536172dfc65 | diff --git a/test/regexp_router.js b/test/regexp_router.js
index <HASH>..<HASH> 100644
--- a/test/regexp_router.js
+++ b/test/regexp_router.js
@@ -37,8 +37,8 @@ tests = {
testCreateResource: function() {
router = new Router();
var routes = router.resource('SnowDogs');
- assert.ok(routes.length === 7)
- ... | Fixed router test for resources, added HEAD requests to count. | mde_ejs | train |
dbd784d523d11ec139280292c45c1eb7b2a21445 | diff --git a/lib/ronin/platform/overlay.rb b/lib/ronin/platform/overlay.rb
index <HASH>..<HASH> 100644
--- a/lib/ronin/platform/overlay.rb
+++ b/lib/ronin/platform/overlay.rb
@@ -166,35 +166,19 @@ module Ronin
end
#
- # Determines if the given Overlay Implementation Version is
- # compatible w... | Inlined Overlay.compatible? into Overlay#compatible?. | ronin-ruby_ronin | train |
a4ee9f87395c26bdc60577652be8d80cf8e143ce | diff --git a/packages/stack/test-runner/package.json b/packages/stack/test-runner/package.json
index <HASH>..<HASH> 100644
--- a/packages/stack/test-runner/package.json
+++ b/packages/stack/test-runner/package.json
@@ -33,7 +33,7 @@
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "eslint src/",
- ... | test(@embark/stack/test-runner): enable test-runner's test suite
Introduce some light refactoring related to embark-testing facilities, and also
a configurable stdout option so the output of the reporter implemented in this
package isn't confusingly mixed into unit test reporting for this package. | embark-framework_embark | train |
081e6bb17599bc2218750f14aed6348370a876e1 | diff --git a/core/src/test/java/org/hibernate/ogm/backendtck/batchfetching/BatchFetchingTest.java b/core/src/test/java/org/hibernate/ogm/backendtck/batchfetching/BatchFetchingTest.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/org/hibernate/ogm/backendtck/batchfetching/BatchFetchingTest.java
+++ b/core/src/t... | OGM-<I> Improve batch fetching test to look at which GridDialect method is used
Make sure getTuples is effectively used when expected basically | hibernate_hibernate-ogm | train |
a2cb0b45a7a564726496590deaf93c675dc40dcc | diff --git a/symphony/lib/toolkit/data-sources/datasource.navigation.php b/symphony/lib/toolkit/data-sources/datasource.navigation.php
index <HASH>..<HASH> 100644
--- a/symphony/lib/toolkit/data-sources/datasource.navigation.php
+++ b/symphony/lib/toolkit/data-sources/datasource.navigation.php
@@ -59,6 +59,9 @@
$sql ... | Fixes duplicate pages in Navigation XML. [Closes Issue #<I>] | symphonycms_symphony-2 | train |
8f809dc1dd1a87f28ff8891759f8eefa9cb9d345 | diff --git a/action.go b/action.go
index <HASH>..<HASH> 100644
--- a/action.go
+++ b/action.go
@@ -104,8 +104,16 @@ func init() {
)
ActionFunc(doSelectAll).Register("SelectAll")
ActionFunc(doSelectVisible).Register("SelectVisible")
- ActionFunc(doToggleSelectMode).Register("ToggleSelectMode")
- ActionFunc(doCance... | Rename functions to RangeMode instead of SelectMode | peco_peco | train |
dabe11b45b7cc38450d4589f88e8042d93add5b9 | diff --git a/lib/Grid/Advanced.php b/lib/Grid/Advanced.php
index <HASH>..<HASH> 100644
--- a/lib/Grid/Advanced.php
+++ b/lib/Grid/Advanced.php
@@ -400,8 +400,13 @@ class Grid_Advanced extends Grid_Basic
$totals_columns = array_keys($this->totals) ?: array();
foreach ($this->columns as $field=>$column)... | Clear not used cells in totals row (<I>)
Clear not used cells in totals row. These cells don't need to run formatters and don't have to be filled with any value. | atk4_atk4 | train |
dee57a86083a75fd891391cf90c6c7c8cd69877c | diff --git a/src/targets/python/requests.js b/src/targets/python/requests.js
index <HASH>..<HASH> 100644
--- a/src/targets/python/requests.js
+++ b/src/targets/python/requests.js
@@ -1,6 +1,6 @@
/**
* @description
- * HTTP code snippet generator for Requests
+ * HTTP code snippet generator for Python using Requests
... | fixing Python Requests (query) | Kong_httpsnippet | train |
5975e51d482ce4fad47748729078ef83487d856b | diff --git a/java/integration-tests/src/test/java/io/joynr/integration/BroadcastEnd2EndTest.java b/java/integration-tests/src/test/java/io/joynr/integration/BroadcastEnd2EndTest.java
index <HASH>..<HASH> 100644
--- a/java/integration-tests/src/test/java/io/joynr/integration/BroadcastEnd2EndTest.java
+++ b/java/integrat... | [Java] cleanup use of System properties in integration tests
Change-Id: Ib<I>ebbb<I>bf<I>ff<I>e<I>d<I>c4c<I>e4 | bmwcarit_joynr | train |
d406f29b4152ee025084e443462095ebe8e76b7d | diff --git a/src/Field.php b/src/Field.php
index <HASH>..<HASH> 100644
--- a/src/Field.php
+++ b/src/Field.php
@@ -17,6 +17,9 @@ class Field
public $system = false;
+ // normally you can edit fields
+ public $editable = true;
+
public function __construct($defaults = [])
{
foreach ($de... | implement 'editable' flag, so that we don't save expressions. | atk4_data | train |
28895215263521bb9864a1168327d9d00d44c0dd | diff --git a/lib/Payrexx/Communicator.php b/lib/Payrexx/Communicator.php
index <HASH>..<HASH> 100644
--- a/lib/Payrexx/Communicator.php
+++ b/lib/Payrexx/Communicator.php
@@ -104,13 +104,13 @@ class Communicator
$act = in_array($method, ['refund', 'capture']) ? $method : '';
$apiUrl = sprintf(self::AP... | Fixed incomplete response data on getAll function | payrexx_payrexx-php | train |
a57cbc18c84f8f23258118f3db5e39af4996d881 | diff --git a/gulpfile.js/lib/compileLogger.js b/gulpfile.js/lib/compileLogger.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js/lib/compileLogger.js
+++ b/gulpfile.js/lib/compileLogger.js
@@ -17,6 +17,6 @@ module.exports = function(err, stats) {
} else {
var compileTime = prettifyTime(stats.endTime - stats.start... | subs out log for console.log in appropriate places to ensure tasks do not break | vigetlabs_blendid | train |
6b08bc9f74b4081d617af55de71df89569bac547 | diff --git a/tests/test_rawl.py b/tests/test_rawl.py
index <HASH>..<HASH> 100644
--- a/tests/test_rawl.py
+++ b/tests/test_rawl.py
@@ -57,7 +57,7 @@ class TheModel(RawlBase):
log.debug("columns: %s" % columns)
# Init the parent
- super(TheModel, self).__init__(dsn, columns=columns)
+ ... | Fixed a bug in test to match current state of codebase. | mikeshultz_rawl | train |
38e5d87525e30abba3f27308134fe3a4a455abf7 | diff --git a/tests/src/test/java/alluxio/underfs/UnderStorageSystemInterfaceIntegrationTest.java b/tests/src/test/java/alluxio/underfs/UnderStorageSystemInterfaceIntegrationTest.java
index <HASH>..<HASH> 100644
--- a/tests/src/test/java/alluxio/underfs/UnderStorageSystemInterfaceIntegrationTest.java
+++ b/tests/src/tes... | Fix createParent for localUFS | Alluxio_alluxio | train |
5da8495348a2da5199903bbbbf57c629808e3106 | diff --git a/graylog2-web-interface/src/actions/users/UsersActions.js b/graylog2-web-interface/src/actions/users/UsersActions.js
index <HASH>..<HASH> 100644
--- a/graylog2-web-interface/src/actions/users/UsersActions.js
+++ b/graylog2-web-interface/src/actions/users/UsersActions.js
@@ -8,7 +8,7 @@ import type { UserJSO... | Create separate component for UsersOverview filter | Graylog2_graylog2-server | train |
84e0af48d7d78604196a77ff89e8237229832dde | diff --git a/StreamDecompressor/archive.py b/StreamDecompressor/archive.py
index <HASH>..<HASH> 100644
--- a/StreamDecompressor/archive.py
+++ b/StreamDecompressor/archive.py
@@ -41,10 +41,10 @@ class Archive(io.BufferedReader):
self.source = source
self.closefd = closefd
if isinstance(source... | Clean-up: _decompressors is a non-public instance attribute | cecton_destream | train |
1787e0cf75b49e99d246bb30e667178475d7d7f8 | diff --git a/tofu/data/_mesh_bsplines_polar.py b/tofu/data/_mesh_bsplines_polar.py
index <HASH>..<HASH> 100644
--- a/tofu/data/_mesh_bsplines_polar.py
+++ b/tofu/data/_mesh_bsplines_polar.py
@@ -336,6 +336,8 @@ class BivariateSplinePolar():
# ------------
# compute
+ import pdb; pdb.set_trace... | [#<I>] Debugging angle2d interpolation | ToFuProject_tofu | train |
6eae20699b22f076653d5bcb8af2cbec1b325dec | diff --git a/src/smalltalk.js b/src/smalltalk.js
index <HASH>..<HASH> 100644
--- a/src/smalltalk.js
+++ b/src/smalltalk.js
@@ -13,7 +13,7 @@
let remove = bind(removeEl, '.smalltalk');
const BUTTON_OK = ['OK'];
- const BUTTON_OK_CANCEL = [ 'OK', 'Cancel'];
+ ... | chore(smalltalk) rm " " | coderaiser_smalltalk | train |
c8c25af528593a0fc8ba8ac248f1816eab9fdac8 | diff --git a/news-bundle/src/Resources/contao/ModuleNewsArchive.php b/news-bundle/src/Resources/contao/ModuleNewsArchive.php
index <HASH>..<HASH> 100644
--- a/news-bundle/src/Resources/contao/ModuleNewsArchive.php
+++ b/news-bundle/src/Resources/contao/ModuleNewsArchive.php
@@ -178,7 +178,7 @@ class ModuleNewsArchive e... | [News] The comments module does no longer throw an error if there are no comments and the number of comments per page is greater 0 (see #<I>) | contao_contao | train |
361a1ba586338104524e313ba3eb844752d4d788 | diff --git a/cmd/main/main.go b/cmd/main/main.go
index <HASH>..<HASH> 100644
--- a/cmd/main/main.go
+++ b/cmd/main/main.go
@@ -1,30 +1,31 @@
package main
import (
- "flag"
"fmt"
"log"
+ "os"
"github.com/robdimsdale/wundergo"
)
-var (
- accessToken = flag.String("accessToken", "", "Access Token")
- client... | Obtain access token and client id from env variables.
- Instead of flags. | robdimsdale_wl | train |
1423377f4152df2fdeba0e00fec8f6292490d443 | diff --git a/Connection/AsyncTcpConnection.php b/Connection/AsyncTcpConnection.php
index <HASH>..<HASH> 100644
--- a/Connection/AsyncTcpConnection.php
+++ b/Connection/AsyncTcpConnection.php
@@ -115,6 +115,13 @@ class AsyncTcpConnection extends TcpConnection
Worker::$globalEvent->del($this->_socket, EventI... | TCP_NODELAY for AsyncTcpConnection | walkor_Workerman | train |
c3a1e44056519e7d21c17777b1b58508ecbcf9ce | diff --git a/ccmlib/common.py b/ccmlib/common.py
index <HASH>..<HASH> 100644
--- a/ccmlib/common.py
+++ b/ccmlib/common.py
@@ -40,12 +40,27 @@ CASSANDRA_SH = "cassandra.in.sh"
CONFIG_FILE = "config"
CCM_CONFIG_DIR = "CCM_CONFIG_DIR"
-logging.basicConfig(format='%(asctime)s,%(msecs)d %(name)s %(levelname)s %(message... | Pipe info- and debug-level events to stdout instead of stderr | riptano_ccm | train |
ee6f3b3f230291b1874417c038d27b7954622f32 | diff --git a/devices.js b/devices.js
index <HASH>..<HASH> 100755
--- a/devices.js
+++ b/devices.js
@@ -3600,6 +3600,15 @@ const devices = [
ota: ota.zigbeeOTA,
},
{
+ zigbeeModel: ['5063331P7'],
+ model: '5063331P7',
+ vendor: 'Philips',
+ description: 'Hue Bluetooth White... | Add support for Philips Hue spot "Fugato" (<I>P7) (#<I>)
* Add support for Philips Hue spot "Fugato" (<I>P7)
* Update devices.js
* Update devices.js | Koenkk_zigbee-shepherd-converters | train |
af31fd00136c5ffc4d3a1a4991408a299ed90fb0 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,5 +10,8 @@ setup(
author_email="philipp@schmitt.co",
url="https://github.com/pschmitt/shortmomi",
packages=find_packages(),
- install_requires=["pyvmomi"],
+ install_requires=[
+ "pyvmomi",
+ ... | Add vsphere-automation-sdk-python dependency | pschmitt_shortmomi | train |
51ff8b43d4ae785a6c9d57d065e9ebeaeb8ca947 | diff --git a/resource_aws_instance.go b/resource_aws_instance.go
index <HASH>..<HASH> 100644
--- a/resource_aws_instance.go
+++ b/resource_aws_instance.go
@@ -3,6 +3,7 @@ package aws
import (
"bytes"
"crypto/sha1"
+ "encoding/base64"
"encoding/hex"
"fmt"
"log"
@@ -258,7 +259,7 @@ func resourceAwsInstanceCrea... | provider/aws: Fix encoding bug with AWS Instance | terraform-providers_terraform-provider-aws | train |
70a65b97de2cd446188e1270d7b753c9b4446f3a | diff --git a/morphia/src/test/java/org/mongodb/morphia/indexes/TestIndexed.java b/morphia/src/test/java/org/mongodb/morphia/indexes/TestIndexed.java
index <HASH>..<HASH> 100644
--- a/morphia/src/test/java/org/mongodb/morphia/indexes/TestIndexed.java
+++ b/morphia/src/test/java/org/mongodb/morphia/indexes/TestIndexed.ja... | [Issue #<I>] Added simple test to ensure 2dsphere indexes are being correctly created. | MorphiaOrg_morphia | train |
3286651ab3a6b1a06c642047cd4be8fc0a4a9a29 | diff --git a/lib/peiji_san.rb b/lib/peiji_san.rb
index <HASH>..<HASH> 100644
--- a/lib/peiji_san.rb
+++ b/lib/peiji_san.rb
@@ -110,12 +110,19 @@ module PeijiSan
page = page.blank? ? 1 : page.to_i
entries_per_page = entries_per_page || self.entries_per_page || ENTRIES_PER_PAGE
- entries = scoped
+ ... | Change scope application for Rails <I>.
In Rails <I> the scoped class method is deprecated in favor or all. All
basically returns a relation without any conditions. | Fingertips_peiji-san | train |
0d6349785d3cd41548e29e9dfbca3c10771b8dd5 | diff --git a/src/Illuminate/Broadcasting/Broadcasters/RedisBroadcaster.php b/src/Illuminate/Broadcasting/Broadcasters/RedisBroadcaster.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Broadcasting/Broadcasters/RedisBroadcaster.php
+++ b/src/Illuminate/Broadcasting/Broadcasters/RedisBroadcaster.php
@@ -101,6 +101,10... | [6.x] Redis Broadcaster: Broadcast to multiple channels at once (#<I>)
* Use Lua script to broadcast to multiple channels at once
* formatting
* formatting
* add missing formatChannels | laravel_framework | train |
aa062318c451512035c10898a1af95943b1a3803 | diff --git a/activerecord/lib/active_record/validations/uniqueness.rb b/activerecord/lib/active_record/validations/uniqueness.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/validations/uniqueness.rb
+++ b/activerecord/lib/active_record/validations/uniqueness.rb
@@ -32,6 +32,7 @@ module ActiveRecord... | Avoid type casting in uniqueness validator
Type casting in uniqueness validator is for a string value truncation.
It was removed at #<I>. | rails_rails | train |
5fbc86f0364fbc4f7c2ba10cae4a13449709730c | diff --git a/airflow/providers/amazon/aws/hooks/s3.py b/airflow/providers/amazon/aws/hooks/s3.py
index <HASH>..<HASH> 100644
--- a/airflow/providers/amazon/aws/hooks/s3.py
+++ b/airflow/providers/amazon/aws/hooks/s3.py
@@ -143,7 +143,7 @@ class S3Hook(AwsBaseHook):
raise AirflowException(f'Please provide a... | Remove the `not-allow-trailing-slash` rule on S3_hook (#<I>) | apache_airflow | train |
3867fa208d8f9c2ec5cfdf445dfb28bac40c222a | diff --git a/pvlib/diffuse_sky.py b/pvlib/diffuse_sky.py
index <HASH>..<HASH> 100644
--- a/pvlib/diffuse_sky.py
+++ b/pvlib/diffuse_sky.py
@@ -433,7 +433,7 @@ def reindl(surf_tilt, surf_az, DHI, DNI, GHI, DNI_ET, sun_zen, sun_az):
-def king(surf_tilt,DHI,GHI,sun_zen):
+def king(surf_tilt, DHI, GHI, sun_zen):
... | king model checked and pep8-ified | pvlib_pvlib-python | train |
c3660fadb815674edbea4875ec4eedee234fc1bb | diff --git a/lib/flatten_record/denormalize.rb b/lib/flatten_record/denormalize.rb
index <HASH>..<HASH> 100644
--- a/lib/flatten_record/denormalize.rb
+++ b/lib/flatten_record/denormalize.rb
@@ -15,8 +15,8 @@ module FlattenRecord
end
module ClassMethods
- def denormalize(model, &block)
- self.d... | added options at first level denormalize definition | alvinsj_flatten_record | train |
6fe01f4ca0d91df001da52698adb4fae68c93908 | diff --git a/css.js b/css.js
index <HASH>..<HASH> 100644
--- a/css.js
+++ b/css.js
@@ -13,7 +13,6 @@ var rework = require('rework')
, read = function read(f) {
return fs.readFileSync(f, 'utf8')
}
- , resourcePaths = {cssfiles: [], assetfiles: []}
, ctor
ctor = module.exports = function useRework(opts,... | removed leftover of resourcepaths, resourcepaths was stated as removed in atomify version <I> | atomify_atomify-css | train |
b4d2d890902e9328198decced339521ecd60eb80 | diff --git a/lib/install/template.rb b/lib/install/template.rb
index <HASH>..<HASH> 100644
--- a/lib/install/template.rb
+++ b/lib/install/template.rb
@@ -44,7 +44,7 @@ say "Installing all JavaScript dependencies"
run "yarn add @rails/webpacker"
say "Installing dev server for live reloading"
-run "yarn add --dev we... | Add webpack-dev-server from 2.x branch (#<I>)
webpack-dev-server 3.x supports webpack 4.x _only_
⤷ <URL> | rails_webpacker | train |
8d868523ecb90ad0bbf9c8dbe4a3cf0579c031dd | diff --git a/PySimpleGUIQt/PySimpleGUIQt.py b/PySimpleGUIQt/PySimpleGUIQt.py
index <HASH>..<HASH> 100644
--- a/PySimpleGUIQt/PySimpleGUIQt.py
+++ b/PySimpleGUIQt/PySimpleGUIQt.py
@@ -1,5 +1,5 @@
#!/usr/bin/python3
-version = __version__ = "0.31.0.3 Unreleased - fix for Listbox.update, Graph.change_coordinates, Added I... | Multiline.update - move cursor to end if appending new data. This is the same as an "autoscroll". | PySimpleGUI_PySimpleGUI | train |
ad3dd293ac40f08d3ad5dfb85914977f98186ab0 | diff --git a/docs/usage.md b/docs/usage.md
index <HASH>..<HASH> 100644
--- a/docs/usage.md
+++ b/docs/usage.md
@@ -373,7 +373,7 @@ class LineItemViewSet(viewsets.ModelViewSet):
serializer_class = LineItemSerializer
def get_queryset(self):
- queryset = self.queryset
+ queryset = super(LineItemV... | Allow overwriting of get_queryset() of related field (#<I>)
* Allow overwriting of get_queryset() of related field
* Always use get_queryset to retrieve queryset
This allows proper overwriting of derived classes. | django-json-api_django-rest-framework-json-api | train |
3cc30d90814b8ed112b4b1f9581494d619df4b2d | diff --git a/package/lib/session.js b/package/lib/session.js
index <HASH>..<HASH> 100644
--- a/package/lib/session.js
+++ b/package/lib/session.js
@@ -504,7 +504,7 @@ var Session = function (socket, defer, onchallenge) {
// from one of the subscription handler objects attached to the subscription
//... | Add additional check for object prior to property lookup. | crossbario_autobahn-js | train |
b0fee7d13bff8b379a08014e2ae599c037eebabc | diff --git a/src/space/utils/date.py b/src/space/utils/date.py
index <HASH>..<HASH> 100644
--- a/src/space/utils/date.py
+++ b/src/space/utils/date.py
@@ -28,6 +28,7 @@ class Date:
__slots__ = ["d", "s", "scale", "_cache"]
MJD_T0 = _datetime.datetime(1858, 11, 17)
+ JD_MJD = 2400000.5
UT1 = _Scale... | Put JD-MJD as constant | galactics_beyond | train |
01c3711ffc6064b265dd9dae108e5d0f35be554f | diff --git a/lib/xcake/command.rb b/lib/xcake/command.rb
index <HASH>..<HASH> 100644
--- a/lib/xcake/command.rb
+++ b/lib/xcake/command.rb
@@ -6,6 +6,8 @@ module Xcake
self.command = 'xcake'
self.description = 'Create and maintain Xcode project files easily.'
+ #TODO: Add version logger
+
def run
... | Todo for version logging. | igor-makarov_xcake | train |
a825e0f4e310dbea19b73a529e192ea5cb52c4f7 | diff --git a/Form/NodeType.php b/Form/NodeType.php
index <HASH>..<HASH> 100644
--- a/Form/NodeType.php
+++ b/Form/NodeType.php
@@ -31,6 +31,7 @@ class NodeType extends AbstractType
$builder->create('tabs', 'tabs', array('inherit_data' => true))
->add($this->createGeneralTab($builde... | [Node] Expose the author in the node form. | Clastic_NodeBundle | train |
8d3b6efac98b881b0932372bd744e3facd16f8bd | diff --git a/lib/class-wp-json-users.php b/lib/class-wp-json-users.php
index <HASH>..<HASH> 100644
--- a/lib/class-wp-json-users.php
+++ b/lib/class-wp-json-users.php
@@ -82,7 +82,7 @@ class WP_JSON_Users {
public function get_users( $filter = array(), $context = 'view', $page = 1 ) {
if ( ! current_user_can( 'l... | Use consistent error messages
This brings permissions error messages in line with the post endpoints. | WP-API_WP-API | train |
76aa9f7e1047de5e41e8bd5bfee610fcd569b8ad | diff --git a/superset/assets/javascripts/explorev2/reducers/exploreReducer.js b/superset/assets/javascripts/explorev2/reducers/exploreReducer.js
index <HASH>..<HASH> 100644
--- a/superset/assets/javascripts/explorev2/reducers/exploreReducer.js
+++ b/superset/assets/javascripts/explorev2/reducers/exploreReducer.js
@@ -9... | [explorev2] fix textfield and druid bug (#<I>)
* Fixed bug with textfield being empty
* Only return time grains for sqla table | apache_incubator-superset | train |
912ae6c383b31166462e1c7152be8cc7f5ad9265 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -443,6 +443,7 @@ function LifxAccessory(log, accessory, bulb, data) {
this.power = data.power || 0;
this.color = data.color || {hue: 0, saturation: 0, brightness: 50, kelvin: 2500};
this.log = log;
+ this.cal... | Calling callback(s) when bulb becomes inactive to avoid blocking | devbobo_homebridge-lifx-lan | train |
bef424bef57f6cee1e7bf284ea54a8cb2026a1d8 | diff --git a/Form/Admin/NewsFormBuilder.php b/Form/Admin/NewsFormBuilder.php
index <HASH>..<HASH> 100755
--- a/Form/Admin/NewsFormBuilder.php
+++ b/Form/Admin/NewsFormBuilder.php
@@ -40,6 +40,9 @@ class NewsFormBuilder extends AbstractFormBuilder
$languageData->addChild($this->getElement('text_field', [
... | Added rule required to all forms
(cherry picked from commit 0ffd7c3b<I>f<I>d<I>bf9b<I>bebeb<I>) | WellCommerce_CouponBundle | train |
54d060453277ba902e9d92445b16c70f8ec82d79 | diff --git a/src/server/graceful.js b/src/server/graceful.js
index <HASH>..<HASH> 100644
--- a/src/server/graceful.js
+++ b/src/server/graceful.js
@@ -168,12 +168,12 @@ Graceful.prototype._clearTimers = function _clearTimers() {
};
/*
-`_finalLog` makes a final winston log, and takes down the process when winston t... | Update comments for Graceful._finalLog; necessary!
Ugh, it's ugly, but it's necessary to ensure that all winston log files end up with all the right entries. | thehelp_cluster | train |
f856a03268684165c62c021855de2e4fcbdc3693 | diff --git a/src/main/java/com/contentful/java/cma/ModuleSpaceMemberships.java b/src/main/java/com/contentful/java/cma/ModuleSpaceMemberships.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/contentful/java/cma/ModuleSpaceMemberships.java
+++ b/src/main/java/com/contentful/java/cma/ModuleSpaceMemberships.java
@... | Fix: Typo and code styling from review | contentful_contentful-management.java | train |
eabb8bcb75ab29151be295b3f16247c0be2d910e | diff --git a/appinst/platforms/win32_common.py b/appinst/platforms/win32_common.py
index <HASH>..<HASH> 100644
--- a/appinst/platforms/win32_common.py
+++ b/appinst/platforms/win32_common.py
@@ -366,24 +366,8 @@ def add_shortcut(target,description,link_file,*args,**kw):
wininst.create_shortcut(target, desc... | Removing enthought-specific function as this is to be a community tool. | ContinuumIO_menuinst | train |
e591397fd7d63a0af43250770f2655c2d5cfcbe1 | diff --git a/src/scene.js b/src/scene.js
index <HASH>..<HASH> 100755
--- a/src/scene.js
+++ b/src/scene.js
@@ -74,6 +74,9 @@ export default class Scene {
this.render_loop = !options.disableRenderLoop; // disable render loop - app will have to manually call Scene.render() per frame
this.render_loop_ac... | add scene 'view_complete' event when map view is at a "resting" place,
e.g. rendered new tiles and no further tiles are loading
useful for automating screenshots or other UI events | tangrams_tangram | train |
508f17699ea7f2dbe57f9e0325830eb2035dc772 | diff --git a/lib/knife-cloudformation/aws_commons.rb b/lib/knife-cloudformation/aws_commons.rb
index <HASH>..<HASH> 100644
--- a/lib/knife-cloudformation/aws_commons.rb
+++ b/lib/knife-cloudformation/aws_commons.rb
@@ -114,9 +114,9 @@ module KnifeCloudformation
end
def stack(*names)
- names.map do |nam... | Pass name and stack through to detection. Only return stack if result is one. | sparkleformation_sfn | train |
7e5c3760a6fad6fc5db9403fdd7e9f4ad448a6c4 | diff --git a/pymongo/mongo_replica_set_client.py b/pymongo/mongo_replica_set_client.py
index <HASH>..<HASH> 100644
--- a/pymongo/mongo_replica_set_client.py
+++ b/pymongo/mongo_replica_set_client.py
@@ -1359,7 +1359,9 @@ class MongoReplicaSetClient(common.BaseObject):
try:
try:
so... | Pool style and cleanup, unused code and imports | mongodb_mongo-python-driver | train |
c42b315561137fe723eee479106245e36052103e | diff --git a/jawr-core/src/main/java/net/jawr/web/resource/bundle/generator/AbstractCachedGenerator.java b/jawr-core/src/main/java/net/jawr/web/resource/bundle/generator/AbstractCachedGenerator.java
index <HASH>..<HASH> 100644
--- a/jawr-core/src/main/java/net/jawr/web/resource/bundle/generator/AbstractCachedGenerator.... | Fix issue with generators were cache were reset every time | j-a-w-r_jawr | train |
65c156f29aea5e3166e3ae1b922b0188aaec418a | diff --git a/src/resources/views/squads/show.blade.php b/src/resources/views/squads/show.blade.php
index <HASH>..<HASH> 100644
--- a/src/resources/views/squads/show.blade.php
+++ b/src/resources/views/squads/show.blade.php
@@ -128,6 +128,12 @@
<i class="fas fa-sign-out-alt"></i> {{ trans('web::squads.l... | feat(squads): show squad application date/time | eveseat_web | train |
5d3f8072f21445cb3cb40858962473d9e6ff1fde | diff --git a/lib/Pattern.php b/lib/Pattern.php
index <HASH>..<HASH> 100644
--- a/lib/Pattern.php
+++ b/lib/Pattern.php
@@ -9,10 +9,10 @@ namespace TimTegeler\Routerunner;
class Pattern
{
- const HTTP_METHOD_SEARCH = array("*");
- const HTTP_METHOD_REPLACE = array("GET|POST");
- const URI_SEARCH = array('/'... | Fixed error that arrays are not allowed in class constants | timtegeler_routerunner | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.