diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -5,6 +5,7 @@ const { GraphQLInt, GraphQLFloat, GraphQLEnumType, + GraphQLNonNull, } = require(`gatsby/graphql`) const sharp = require(`./safe-sharp`) const { Potrace } = require(`potrace`) @@ -49,8 +50,8 @@ const DuotoneGradientType = new GraphQLInputObjectType({ name: `DuotoneGradient`, fields: () => { return { - h...
fix(gatsby-transformer-sharp): mark highlight/shadow duotone args as required
null
gatsbyjs/gatsby
MIT License
JavaScript
@@ -67,9 +67,6 @@ type buildResult struct { } func build(storageDir string, hostname string, options buildOptions) (ret buildResult, err error) { - buildLock.Lock() - defer buildLock.Unlock() - n := len(options.packages) if n == 0 { err = fmt.Errorf("no packages") @@ -110,11 +107,10 @@ func build(storageDir string, hos...
fix: build task don't block non-build connection
null
esm-dev/esm.sh
MIT License
Go
@@ -3,6 +3,7 @@ package kubernetes import ( "bytes" "fmt" + "io" "io/ioutil" "strings" "text/template" @@ -44,10 +45,15 @@ func ensureK8sPlugins( return nil } - applyResources, err := providerK8sSpec.CleanupAndApply(k8sClient) + var applyResources io.Reader + + if providerK8sSpec.CleanupAndApply != nil { + applyResourc...
fix: avoid nil pointer when bootstrapping cloudscale clusters
null
caos/orbos
Apache License 2.0
Go
@@ -42,8 +42,7 @@ export default { 'q-icon', { props: { - name: this.$q.icon.input.dropdown, - color: this.textColor + name: this.$q.icon.input.dropdown }, staticClass: 'transition-generic', 'class': { @@ -120,6 +119,7 @@ export default { push: this.push, size: this.size, color: this.color, + textColor: this.textColor,...
fix(QBtnDropdown): textColor prop for arrow
null
quasarframework/quasar
MIT License
JavaScript
@@ -43,11 +43,7 @@ func (self *SBaremetalHostDriver) RequestRebuildDiskOnStorage(ctx context.Contex return fmt.Errorf("not supported") } -func (self *SBaremetalHostDriver) RequestResizeDiskOnHost(ctx context.Context, host *models.SHost, storage *models.SStorage, disk *models.SDisk, sizeMb int64, task taskman.ITask) err...
fix: baremetal host driver interface change break build
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -22,7 +22,7 @@ from pprint import pformat import requests -from ..consts import API_URL, GATE_CA_BUNDLE, GATE_CLIENT_CERT, LINKS +from ..consts import API_URL, DEFAULT_RUN_AS_USER, GATE_CA_BUNDLE, GATE_CLIENT_CERT, LINKS from ..exceptions import ForemastError from ..utils import get_template, wait_for_task @@ -103,8...
fix: Pass DEFAULT_RUN_AS_USER to create app template
null
foremast/foremast
Apache License 2.0
Python
@@ -195,6 +195,11 @@ func createOperationRequest(w sdk.Workflow, opts sdk.WorkflowRunPostHandlerOptio ope.Setup.Checkout.Commit = commit ope.Setup.Checkout.Branch = branch + // This should not append because the hook must set a default payload with git.branch + if ope.Setup.Checkout.Branch == "" { + return ope, sdk.Wra...
fix(api): check empty branch in workflow as code
null
ovh/cds
BSD 3-Clause New or Revised License
Go
@@ -233,7 +233,11 @@ public class Grid { } } } + if (pixelWeightCallback == null){ return weights; + } else { + return null; + } } /**
fix(rasterization): return null instead of empty list when callback used
null
conveyal/r5
MIT License
Java
@@ -53,6 +53,9 @@ class TextNode extends Node with NodeLifeCycle, CSSTextMixin { // The text string. String _data; String get data { + if (_data == '') { + return _data; + } // @TODO(zl): Need to judge style white-spacing. String collapsedData = collapseWhitespace(_data); // Append space while prev is element.
fix: empty string index error
null
openkraken/kraken
Apache License 2.0
Dart
@@ -506,7 +506,40 @@ describe('node-minify', function() { }); }); + test('should callback an error if gcc with bad options and sync', function() { + var options = {}; + options.minify = { + compressor: 'gcc-java', + input: oneFile, + output: fileJSOut, + sync: true, + options: { + fake: true + } + }; + + return nodeMin...
fix(sync): adding more tests
null
srod/node-minify
MIT License
JavaScript
@@ -31,6 +31,25 @@ namespace { static const int kPreviewWidth = 256; static const int kPreviewHeight = 512; +std::string MakeCaseInsensitivePattern(const std::string& extension) { + std::string pattern("*."); + + for (std::size_t i = 0, n = extension.size(); i < n; i++) { + char ch = extension[i]; + if (!base::IsAsciiA...
fix: support mixed-case extensions in Linux file dialogs
null
electron/electron
MIT License
C++
@@ -33,7 +33,7 @@ namespace Elders.Cronus.Discoveries protected virtual IEnumerable<DiscoveredModel> DiscoverEventStorePlayer<TEventStorePlayer>(DiscoveryContext context) where TEventStorePlayer : IEventStorePlayer { - return DiscoverModel<TEventStorePlayer, TEventStorePlayer>(ServiceLifetime.Singleton); + return Disco...
fix: IEventStorePlayer registration
null
elders/cronus
Apache License 2.0
C#
@@ -54,7 +54,7 @@ BoundingBox::calculateMinMaxValues() } else if (_topRight == nullptr) { _topRight = ResultPoint(static_cast<float>(_imgWidth - 1), _topLeft.value().y()); - _bottomRight = ResultPoint(static_cast<float>(_imgHeight - 1), _bottomLeft.value().y()); + _bottomRight = ResultPoint(static_cast<float>(_imgWidth...
fix: change height to width in pdf417 bb creation
null
nu-book/zxing-cpp
Apache License 2.0
C++
@@ -25,7 +25,7 @@ class AssignmentRule(Document): def after_rename(self, old, new, merge): # pylint: disable=no-self-use frappe.cache_manager.clear_doctype_map('Assignment Rule', self.document_type) - def on_trash(self, old, new, merge): # pylint: disable=no-self-use + def on_trash(self): # pylint: disable=no-self-use ...
fix(minor): extra params on on_trash
null
frappe/frappe
MIT License
Python
@@ -598,7 +598,7 @@ namespace Unity.Netcode.Transports.UTP hostConnectionData = connectionData; } - m_RelayServerData = new RelayServerData(ref serverEndpoint, 0, ref allocationId, ref connectionData, ref hostConnectionData, ref key, isSecure); + m_RelayServerData = new RelayServerData(ref serverEndpoint, 1, ref alloca...
fix: Set default nonce of Relay server data to 1
null
unity-technologies/com.unity.multiplayer.mlapi
MIT License
C#
@@ -83,7 +83,7 @@ from pyannote.database import get_protocol from pyannote.audio.util import get_class_by_name -from pyannote.audio.features.utils import Precomputed +from pyannote.audio.features import Precomputed from pyannote.audio.features.utils import get_audio_duration from pyannote.audio.features.utils import Py...
fix: fix (incorrect import)
null
pyannote/pyannote-audio
MIT License
Python
-import React, { useEffect } from 'react'; +import { useField } from '@formily/react'; import { PageHeader as AntdPageHeader } from 'antd'; -import { observer, useField } from '@formily/react'; +import React, { useEffect } from 'react'; import { useDocumentTitle } from '../../../document-title'; +import { useCompile } ...
fix(client): page title translation doesn't work
null
nocobase/nocobase
Apache License 2.0
TypeScript
@@ -60,7 +60,10 @@ func NewCmdStepCreatePullRequestBrew(commonOpts *opts.CommonOptions) *cobra.Comm } // ValidateOptions validates the common options for brew pr steps -func (o *StepCreatePullRequestBrewOptions) ValidateOptions() error { +func (o *StepCreatePullRequestBrewOptions) ValidateBrewOptions() error { + if err...
fix: removing override of validate options
null
jenkins-x/jx
Apache License 2.0
Go
@@ -344,7 +344,7 @@ export default class RequestNetwork { const requestParameters = parameters.requestInfo; const paymentNetworkCreationParameters = parameters.paymentNetwork; const contentData = parameters.contentData; - const topics = parameters.topics || []; + const topics = parameters.topics?.slice() || []; if (req...
fix: clone the array topics to avoid modification of parameters
null
requestnetwork/requestnetwork
MIT License
TypeScript
@@ -74,7 +74,7 @@ class Comment(Document): template = "mentioned_in_comment", args = { "body_content": _("{0} mentioned you in a comment in {1}").format(sender_fullname, link), - "comment": doc, + "comment": self, "link": link }, header = [_('New Mention'), 'orange']
fix(typo): notify_mentions in comment
null
frappe/frappe
MIT License
Python
@@ -4,7 +4,7 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) . "$CURDIR"/../../../shell_env.sh QMHASH=QmPpCt1aYGb9JWJRmXRUnmJtVgeFFTJGzWFYEEX7bo9zGJ -echo "drop table if exists ${TABLE};" | $MYSQL_CLIENT_CONNECT +echo "drop table if exists ontime_199;" | $MYSQL_CLIENT_CONNECT ## Create table cat $CURDIR/../ddl/...
fix: remove stale variable in test
null
datafuselabs/databend
Apache License 2.0
Shell
@@ -15,7 +15,7 @@ import com.ibm.fhir.registry.FHIRRegistry; public class FHIRRegistryTest { @Test public void testRegistry() { - StructureDefinition definition = FHIRRegistry.getInstance().getResource("http://hl7.org/fhir/us/Davinci-drug-formulary/StructureDefinition/usdf-CoveragePlan", StructureDefinition.class); + S...
fix: reconciled the profile name in the tests
null
ibm/fhir
Apache License 2.0
Java
@@ -38,7 +38,7 @@ class UserPreferencesFaq extends AbstractUserPreferences { List<Widget> getBody() => <Widget>[ _getListTile( title: appLocalizations.faq, - url: 'https://world.openfoodfacts.org/faq', + url: 'https://support.openfoodfacts.org/help', ), _getListTile( title: appLocalizations.discover, @@ -48,10 +48,6 @@...
fix: - removed "support" item, changed "faq" link
null
openfoodfacts/smooth-app
Apache License 2.0
Dart
@@ -19,6 +19,18 @@ import * as auth from './libs/authentication/states.js' import * as doi from './handlers/doi' import { sitemapHandler } from './handlers/sitemap.js' +const noCache = (req, res, next) => { + res.setHeader('Surrogate-Control', 'no-store') + res.setHeader( + 'Cache-Control', + 'no-store, no-cache, must-...
fix(server): Set more aggressive noCache headers on some API routes
null
openneuroorg/openneuro
MIT License
JavaScript
@@ -15,6 +15,7 @@ public class CharacterController : MonoBehaviour { Transform camera; Rigidbody rigidbody; Collider collider; + Vector3 movementDirection; void Awake() { camera = GetComponentInChildren<Camera>().transform; @@ -23,7 +24,9 @@ public class CharacterController : MonoBehaviour { } void Update() { + #if !UN...
fix: fixed character controller 'bouncing' off wall colliders
null
decentraland/explorer
Apache License 2.0
C#
@@ -15,7 +15,7 @@ var fontCmd = &cobra.Command{ This command is used to install fonts and configure the font in your terminal. - - install: oh-my-posh install font https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/3270.zip`, + - install: oh-my-posh font install https://github.com/ryanoasis/nerd-fonts/rel...
fix(cli): correct help text for `font` subcommand
null
jandedobbeleer/oh-my-posh
MIT License
Go
@@ -33,21 +33,22 @@ impl<M: Middleware> FromErr<M::Error> for TimeLagError<M> { /// TimeLag Provider #[derive(Debug)] -pub struct TimeLag<M, const K: u8> { +pub struct TimeLag<M> { inner: Arc<M>, + lag: u8, } -impl<M, const K: u8> TimeLag<M, K> +impl<M> TimeLag<M> where M: Middleware, { /// Instantiates TimeLag provide...
fix: remove const lag so it can be passed in as runtime variable
null
gakonst/ethers-rs
Apache License 2.0
Rust
@@ -27,25 +27,37 @@ import com.hrznstudio.galacticraft.api.atmosphere.AtmosphericGas; import com.hrznstudio.galacticraft.api.celestialbodies.CelestialBodyType; import com.hrznstudio.galacticraft.entity.damage.GalacticraftDamageSource; import com.hrznstudio.galacticraft.items.OxygenTankItem; +import com.hrznstudio.galac...
fix: Moon fall damage correctly applies (fixes
null
stellarhorizons/galacticraft-rewoven
MIT License
Java
@@ -547,6 +547,9 @@ static uint32_t lv_txt_unicode_to_utf8(uint32_t letter_uni) bytes[2] = ((letter_uni >> 6) & 0x3F) | 0x80; bytes[3] = ((letter_uni >> 0) & 0x3F) | 0x80; } + else { + return 0; + } uint32_t * res_p = (uint32_t *)bytes; return *res_p;
fix(txt): return 0 if letter_uni is out of range
null
lvgl/lvgl
MIT License
C
@@ -171,7 +171,7 @@ namespace MagicOnion.OpenTelemetry var spanContext = default(SpanContext); var label = CreateLabel(context); streamingHubElapsedMeasure.Record(spanContext, elapsed, label); - streamingHubRequestCounter.Add(spanContext, responseSize, label); + streamingHubResponseSizeMeasure.Record(spanContext, respo...
fix: streaminghub metrics
null
cysharp/magiconion
MIT License
C#
@@ -173,8 +173,7 @@ module Onebox end def self.title_attr(meta) - title = meta[:title].gsub("'", "&apos;").gsub('"', "&quot;") - (meta && !blank?(title)) ? "title='#{title}'" : "" + (meta && !blank?(meta[:title])) ? "title='#{CGI::escapeHTML(meta[:title])}'" : "" end def self.normalize_url_for_output(url)
fix: escapehtml title attribute
null
discourse/onebox
MIT License
Ruby
@@ -292,7 +292,7 @@ bool FDBLibTLSPolicy::set_verify_peers(int count, const uint8_t* verify_peers[], if(split == std::string::npos) { break; } - if(split == start || verifyString[split-1] == '\\') { + if(split == start || verifyString[split-1] != '\\') { Reference<FDBLibTLSVerify> verify = Reference<FDBLibTLSVerify>(ne...
fix: incorrect parsing logic
null
apple/foundationdb
Apache License 2.0
C++
@@ -821,9 +821,10 @@ pub fn build_router( "get status".to_string(), "get txhashset/roots".to_string(), "get txhashset/lastoutputs?n=10".to_string(), - "get txhashset/lastrangeproofs".to_string(), - "get txhashset/lastkernels".to_string(), + "get txhashset/lastrangeproofs?n=1".to_string(), + "get txhashset/lastkernels?n...
fix: add missing API in list
null
mimblewimble/grin
Apache License 2.0
Rust
@@ -72,7 +72,11 @@ func (env *ShellEnvironment) Home() string { func (env *ShellEnvironment) QueryWindowTitles(processName, windowTitleRegex string) (string, error) { defer env.trace(time.Now(), "WindowTitle", windowTitleRegex) - return queryWindowTitles(processName, windowTitleRegex) + title, err := queryWindowTitles(...
fix(env): log error on window title
null
jandedobbeleer/oh-my-posh
MIT License
Go
@@ -73,7 +73,10 @@ class RenderPosition extends RenderStack { if (childParentData.originalRenderBoxRef != null) childParentData.offset = childParentData.originalRenderBoxRef.localToGlobal(Offset.zero); } else { - childParentData.offset = childParentData.stackedChildOriginalRelativeOffset; + if (childParentData.original...
fix: relative element position
null
openkraken/kraken
Apache License 2.0
Dart
@@ -43,5 +43,5 @@ if [ -d node_modules/@kui-shell/client/notebooks ]; then if [ ! -d node_modules/@kui-shell/build/ ]; then mkdir node_modules/@kui-shell/build fi - (echo -n "["; for file in node_modules/@kui-shell/client/notebooks/*.{md,json}; do echo -n "\"$(basename $file)\","; done; echo -n "]") | sed 's/\,]/]/' > ...
fix: prescan for /kui/client guidebooks doesn't handle nesting
null
ibm/kui
Apache License 2.0
Shell
@@ -221,7 +221,7 @@ pub(crate) mod test { let results: Vec<i32> = workload::run(&bytes, &config::Config::default()) .unwrap() .iter() - .map(|v| v.unwrap_i32()) + .map(wasmtime::Val::unwrap_i32) .collect(); assert_eq!(results, vec![1]);
fix(wasmldr): small nitpick
null
enarx/enarx
Apache License 2.0
Rust
@@ -13,12 +13,12 @@ class CMssqlCommandBuilderTest extends CTestCase public function setUp() { /* - * Disable the constructor and mock open and getAttribute so that CDbConnection does not + * Disable the constructor and mock `open` so that CDbConnection does not * try to make a connection */ $this->db = $this->getMockB...
fix: getAttribute does not need to be mocked
null
yiisoft/yii
BSD 3-Clause New or Revised License
PHP
@@ -314,7 +314,7 @@ class DataExporter: .where(child_doctype_table.parentfield == c["parentfield"]) .orderby(child_doctype_table.idx) ) - for ci, child in enumerate(data_row.run()): + for ci, child in enumerate(data_row.run(as_dict=True)): self.add_data_row(rows, c['doctype'], c['parentfield'], child, ci) for row in ro...
fix: data exporter throwing exception
null
frappe/frappe
MIT License
Python
@@ -467,7 +467,7 @@ func (m *Builder) ResolveOutputResources() error { dind := corev1.Container{ Image: controller.Config.Images[controller.DindImage], Name: common.DockerInDockerSidecarName, - Command: []string{"dockerd"}, + Args: []string{"dockerd"}, SecurityContext: &corev1.SecurityContext{ Privileged: &previleged, ...
fix: use args instead of command for dind
null
caicloud/cyclone
Apache License 2.0
Go
@@ -301,7 +301,7 @@ public class DbSqlSessionFactory implements SessionFactory { databaseSpecificLimitAfterStatements.put(MSSQL, databaseSpecificInnerLimitAfterStatements.get(MSSQL) + " ORDER BY SUB.rnk"); databaseSpecificLimitBetweenStatements.put(MSSQL, ", row_number() over (ORDER BY ${internalOrderBy}) rnk FROM ( se...
fix(engine): revert fallback orderBy for SQL Server
null
camunda/camunda-bpm-platform
Apache License 2.0
Java
@@ -43,6 +43,7 @@ import static org.hisp.dhis.analytics.table.JdbcEventAnalyticsTableManager.OU_NA import static org.hisp.dhis.analytics.util.AnalyticsSqlUtils.ANALYTICS_TBL_ALIAS; import static org.hisp.dhis.analytics.util.AnalyticsSqlUtils.DATE_PERIOD_STRUCT_ALIAS; import static org.hisp.dhis.analytics.util.Analytics...
fix: sorting by OUGS/COGS in query analytics
null
dhis2/dhis2-core
BSD 3-Clause New or Revised License
Java
@@ -13,10 +13,10 @@ from typing import ( Set, Tuple, Union, - cast, ) from urllib.parse import urlparse +import botocore.exceptions import yaml from pydantic import validator from pydantic.fields import Field @@ -362,7 +362,14 @@ class GlueSource(StatefulIngestionSourceBase): # download the script contents # see https:...
fix(ingest): glue - better error handling
null
linkedin/datahub
Apache License 2.0
Python
+#!/bin/bash + +gulp prod +npm uninstall mkpath node-version-compare plist xml2js +rm -rf ../.installed +rm -rf ./plugins +rm -rf ./platforms +cordova platform add ios +cordova plugin add ../ +cordova build ios --developmentTeam="PW4Q8885U7" +open -a Xcode platforms/ios/Branch\ Testing.xcworkspace \ No newline at end o...
fix: added a rebuild script for the testbed
null
branchmetrics/cordova-ionic-phonegap-branch-deep-linking-attribution
MIT License
Shell
@@ -164,7 +164,7 @@ class Page extends Item */ $this->setVariables([ 'title' => PrefixSuffix::sub($fileName), - 'date' => (new \DateTime())->setTimestamp($this->file->getCTime()), + 'date' => (new \DateTime())->setTimestamp($this->file->getMTime()), 'updated' => (new \DateTime())->setTimestamp($this->file->getMTime()),...
fix: default date of a page based on file
null
cecilapp/cecil
MIT License
PHP
@@ -187,6 +187,12 @@ function findInBlocks (state) { const subParameters = parametersBlock.params.map(param => { param.name = [parameterName, param.name].join('.') + + // workaround for https://github.com/octokit/routes/issues/97 + if (/^dismissal_restrictions\./.test(param.name)) { + param.name = `required_pull_reques...
fix: workaround for `required_pull_request_reviews .dismissal_restrictions.*`
null
octokit/routes
MIT License
JavaScript
@@ -154,7 +154,7 @@ class PrivateAliasesCommand : AbstractCommand("command.privatealiases") { } val index = getIntegerFromArgNMessage(context, 1, 1, aliases.size) ?: return - val alias = aliases[index] + val alias = aliases[index - 1] aliasWrapper.remove(context.authorId, pathInfo.fullPath, alias)
fix: index issue with removeAt
null
toxicmushroom/melijn
MIT License
Kotlin
* <pre> * Example - Here is graph with 3 connected components * - * 3 9 6 8 + * 1 4 5 8 * / \ / / \ / \ - * 2---4 2 7 3 7 + * 2---3 6 7 9 10 * * first second third * component component component */ #include <algorithm> +#include <cassert> #include <iostream> #include <vector> -using std::vector; - /** - * Class for re...
fix: linter for connected_components
null
thealgorithms/c-plus-plus
MIT License
C++
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. +from base64 import encodebytes from unittest import mock import pytest @@ -20,6 +21,8 @@ import voluptuous from mergify_engine import context from me...
fix(engine): add tests for rules
null
mergifyio/mergify-engine
Apache License 2.0
Python
@@ -87,6 +87,11 @@ func InstallSetup(serviceName string) (err error) { if err = userCreateIfNotExists(); err != nil { return err } + + if err = setOwnership(linuxExecPath); err != nil { + return err + } + if err = installConfig(serviceName); err != nil { return err } @@ -155,6 +160,16 @@ func installConfig(serviceName ...
fix(cmd/immuadmin/command/service): fix group creation
null
codenotary/immudb
Apache License 2.0
Go
@@ -126,7 +126,7 @@ class GetMaterialApp extends StatelessWidget { RouteSettings(name: settings.name, arguments: settings.arguments), curve: unknownRoute.curve, opaque: unknownRoute.opaque, - customTransition: match.route.customTransition, + customTransition: unknownRoute.customTransition, binding: unknownRoute.binding...
fix(unknownRoute): Fix customTransition being called on null
null
jonataslaw/getx
MIT License
Dart
@@ -105,15 +105,15 @@ static void * fs_open(lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode) LV_UNUSED(drv); uint32_t flags = 0; - if(mode == LV_FS_MODE_WR) flags = O_WRONLY; + if(mode == LV_FS_MODE_WR) flags = O_WRONLY | O_CREAT; else if(mode == LV_FS_MODE_RD) flags = O_RDONLY; - else if(mode == (LV_FS_MODE_WR...
fix(fs_posix): allow creating new file and set permission
null
lvgl/lvgl
MIT License
C
@@ -9,7 +9,7 @@ const packageObj = { }, cnpm: { command: 'cnpm install', - globalCommand: 'cnpm i -g @tarojs/cli@' + globalCommand: 'cnpm i -g @tarojs/cli' }, npm: { command: 'npm install',
fix: delete lock file of cli
null
nervjs/taro
MIT License
TypeScript
@@ -34,11 +34,11 @@ _is_py2 = (sys.version_info[0] == 2) _is_py3 = (sys.version_info[0] == 3) if _is_py2: - from urllib import pathname2url - urlencode = pathname2url + from urllib import quote + urlencode = quote - from urllib import url2pathname - urldecode = url2pathname + from urllib import unquote + urldecode = un...
fix: Use urllib.quote() instead of pathname2url()
null
minio/minio-py
Apache License 2.0
Python
@@ -86,7 +86,7 @@ class Yaml { $decode = function (string $input, int $flags = 0) { // Try native PECL YAML PHP extension first if available. - if (function_exists('yaml_parse') && $this->native) { + if (function_exists('yaml_parse') && self::$native) { // Safely decode YAML. // Save and Mute error_reporting
fix(serializers): fix yaml native support
null
flextype/flextype
MIT License
PHP
@@ -35,9 +35,9 @@ export const NavItem = ({ app, dataSource, isActive }: INavItemProps) => { {iconName && (!isExpanded ? ( <Tooltip value={dataSource.label} placement="right"> - <span> + <div> <Icon className="nav-icon" name={iconName} size="medium" color={isActive ? 'primary' : 'accent'} /> - </span> + </div> </Toolti...
fix(nav): fix tooltip vertical alignment
null
spinnaker/deck
Apache License 2.0
TypeScript
@@ -52,6 +52,7 @@ def toggle_notifications(user: str, enable: bool = False): try: settings = frappe.get_doc("Notification Settings", user) except frappe.DoesNotExistError: + frappe.clear_last_message() return if settings.enabled != enable:
fix: Avoid unnecessary "Not Found" error message
null
frappe/frappe
MIT License
Python
@@ -306,6 +306,7 @@ fn test_http_session_serde() { } #[tokio::test(flavor = "multi_thread", worker_threads = 1)] +#[ignore = "flaky, to be investigated"] async fn test_http_session() -> Result<()> { let ep = create_endpoint(); let json = serde_json::json!({"sql": "use system", "session": {"max_idle_time": 10}});
fix: ignore flaky ut case
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -169,6 +169,9 @@ frappe.socketio = { doc_close: function(doctype, docname) { // notify that the user has closed this doc frappe.socketio.socket.emit('doc_close', doctype, docname); + + // if the doc is closed the user has also stopped typing + frappe.socketio.socket.emit('doc_typing_stopped', doctype, docname); }, f...
fix: trigger stopped typing on doc close
null
frappe/frappe
MIT License
JavaScript
@@ -149,7 +149,7 @@ def add_comments(doc, docinfo): elif c.comment_type in ('Assignment Completed', 'Assigned'): docinfo.assignment_logs.append(c) - elif c.comment_type == ('Attachment', 'Attachment Removed'): + elif c.comment_type in ('Attachment', 'Attachment Removed'): docinfo.attachment_logs.append(c) elif c.commen...
fix(minor): incorrect condition
null
frappe/frappe
MIT License
Python
@@ -128,8 +128,9 @@ public class FlutterFirebaseAuthPlugin channel.setMethodCallHandler(null); channel = null; messenger = null; - GeneratedAndroidFirebaseAuth.MultiFactorUserHostApi.setup(null, this); - GeneratedAndroidFirebaseAuth.MultiFactoResolverHostApi.setup(null, this); + GeneratedAndroidFirebaseAuth.MultiFactor...
fix(auth, android): fix crash on Android where detaching from engine was not properly resetting the Pigeon handler
null
firebaseextended/flutterfire
BSD 3-Clause New or Revised License
Java
@@ -25,3 +25,11 @@ elif [ -v rconpassword ]&&[ "${rconpassword}" == "CHANGE_ME" ]; then fn_print_warn_nl "Default RCON Password detected" fn_script_log_warn "Default RCON Password detected" fi + +if [ "${shortname}" == "vh" ]&&[ -z "${serverpassword}" ]; then + fn_print_fail_nl "serverpassword is not set" + fn_script_l...
fix(vh): log a message when the password is not set or to short
null
gameservermanagers/linuxgsm
MIT License
Shell
@@ -599,6 +599,10 @@ public class PegasusTable implements PegasusTableInterface { new PException("Invalid parameter: hashKey length should be less than UINT16_MAX")); return promise; } + if (options.setValueTTLSeconds < 0) { + promise.setFailure(new PException("Invalid parameter: ttlSeconds should be no less than 0"));...
fix: add check of invalid ttl value for checkAndSet interface
null
apache/incubator-pegasus
Apache License 2.0
Java
@@ -27,7 +27,7 @@ export default { * * @type {RegExp} */ - containsEmails: /(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))/, + containsEmails: /(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[...
fix(plugin-logger): added global flag to regex pattern for emails
null
webex/webex-js-sdk
MIT License
JavaScript
@@ -66,7 +66,7 @@ public class LatencySimulation : Transport public void Awake() { if (wrap == null) - throw new Exception("PressureDrop requires an underlying transport to wrap around."); + throw new Exception("LatencySimulationTransport requires an underlying transport to wrap around."); } // forward enable/disable t...
fix: LatencySimulation error
null
vis2k/mirror
MIT License
C#
@@ -2,6 +2,7 @@ package org.fossasia.openevent.general.search import android.os.Bundle import android.view.LayoutInflater +import android.view.MenuItem import android.view.View import android.view.ViewGroup import android.widget.ArrayAdapter @@ -49,6 +50,16 @@ class SearchTypeFragment : Fragment() { return rootView } +...
fix: Make back button in searchtypefragment work
null
fossasia/open-event-attendee-android
Apache License 2.0
Kotlin
@@ -12,10 +12,12 @@ const defaultCompileDependencies = [ ]; module.exports = (config, compileDependencies) => { const matchExclude = (filepath) => { - if ([MINIAPP, WECHAT_MINIPROGRAM, BYTEDANCE_MICROAPP].includes(config.taskName)) return false; // exclude the core-js for that it will fail to run in IE if (filepath.mat...
fix: exclude core-js in miniapp
null
alibaba/ice
MIT License
JavaScript
@@ -513,7 +513,7 @@ function nic_mtu() { cmd += fmt.Sprintf(" -machine %s,accel=%s", s.getMachine(), accel) cmd += " -k en-us" // #cmd += " -g 800x600" - cmd += fmt.Sprintf(" -smp %d,maxcpus=255", cpu) + cmd += fmt.Sprintf(" -smp cpus=%d,sockets=2,cores=64,maxcpus=128", cpu) cmd += fmt.Sprintf(" -name %s", name) // #cm...
fix: set qemu cpu sockets to 2 for x86 cpu
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -541,6 +541,8 @@ export const ParentalLeaveForm: Form = buildForm({ }), ], }), + /* + TODO: add back once payment plan is implemented buildSubSection({ id: 'rightsReview', title: parentalLeaveFormMessages.shared.rightsSummarySubSection, @@ -562,6 +564,7 @@ export const ParentalLeaveForm: Form = buildForm({ }), ], })...
fix(parental-leave): hide payment plan section until api is ready
null
island-is/island.is
MIT License
TypeScript
@@ -79,7 +79,7 @@ class SocialDataset(Dataset): - Each field can only exist ONCE in ``config['fields_in_same_space']``. - user_id and item_id can not exist in ``config['fields_in_same_space']``. - only token-like fields can exist in ``config['fields_in_same_space']``. - - ``source_id`` and ``target_id`` should remapped...
fix: bug of docstring of social dataset
null
rucaibox/recbole
MIT License
Python
@@ -25,7 +25,7 @@ use rskafka::{ client::{ consumer::{StartOffset, StreamConsumerBuilder}, error::{Error as RSKafkaError, ProtocolError}, - partition::{OffsetAt, PartitionClient, UnknownTopicHandling}, + partition::{Compression, OffsetAt, PartitionClient, UnknownTopicHandling}, producer::{BatchProducer, BatchProducerBu...
fix: actually enable zstd compression for write write buffer
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -20,7 +20,7 @@ const generateSubdomain = exampleName => { let subdomain = exampleName; const { TRAVIS_BRANCH } = process.env; if (!TRAVIS_BRANCH.startsWith('release')) { - subdomain += `-${TRAVIS_BRANCH}`; + subdomain += `-${TRAVIS_BRANCH.replace(/(\.)|(\/)/g, '-')}`; } else { subdomain += `-${version.replace(/\./g,...
fix(deployExamples): prevent illegal surge names
null
wix/ricos
MIT License
JavaScript
@@ -45,6 +45,11 @@ void parser::parse(const bar_settings& bar, string data) { } } + m_fg = std::stack<unsigned int>(); + m_bg = std::stack<unsigned int>(); + m_ul = std::stack<unsigned int>(); + m_ol = std::stack<unsigned int>(); + if (!m_actions.empty()) { throw unclosed_actionblocks(to_string(m_actions.size()) + " un...
fix(parser): Reset color stacks
null
polybar/polybar
MIT License
C++
@@ -17,6 +17,7 @@ import datetime import itertools import pprint import typing +import urllib from mergify_engine import config from mergify_engine import context @@ -152,28 +153,44 @@ async def report_queue(title: str, q: queue.QueueT) -> None: print(f"** {formatted_pulls} (priority: {fancy_priority})") -async def rep...
fix(debug): check the url before processing it
null
mergifyio/mergify-engine
Apache License 2.0
Python
@@ -381,7 +381,7 @@ class DocType(Document): document_cls_tag = f"class {despaced_name}(Document)" document_import_tag = "from frappe.model.document import Document" website_generator_cls_tag = f"class {despaced_name}(WebsiteGenerator)" - website_generator_import_tag = "from frappe.website.generators.website_generator ...
fix: wrong website generator import tag
null
frappe/frappe
MIT License
Python
@@ -172,7 +172,8 @@ export const configurator = { productDescription: 'Product description', configurationPage: 'You are on the configuration page.', configurationPageLink: 'Navigate to configuration page.', - overviewPage: 'You are on the overview page.', + overviewPage: + 'You are on the overview page. Check attribut...
fix: Improve SR vocalization of overview link
null
sap/spartacus
Apache License 2.0
TypeScript
@@ -9,7 +9,7 @@ from brownie import accounts, rpc, web3 from web3 import middleware from web3.gas_strategies.time_based import fast_gas_price_strategy as gas_strategy -LP_VESTING_JSON = "lp-vesting-percents.json" +LP_VESTING_JSON = "scripts/early-users.json" DEPLOYMENTS_JSON = "deployments.json" REQUIRED_CONFIRMATIONS ...
fix: update early-users json location
null
curvefi/curve-dao-contracts
MIT License
Python
@@ -181,7 +181,12 @@ public static VRTK_SDKManager instance [Tooltip("The list of SDK Setups to choose from.")] public VRTK_SDKSetup[] setups = new VRTK_SDKSetup[0]; [Tooltip("The list of Build Target Groups to exclude.")] - public BuildTargetGroup[] excludeTargetGroups = new BuildTargetGroup[] { BuildTargetGroup.Switc...
fix(SDK): let SDKManager work with Unity versions prior to 2017.1
null
extendrealityltd/vrtk
MIT License
C#
@@ -185,6 +185,7 @@ public static void Shutdown() // we don't want to use those hooks after Shutdown anymore. OnConnectedEvent = null; OnDisconnectedEvent = null; + OnErrorEvent = null; if (aoi != null) aoi.Reset(); }
fix: NetworkServer Shutdown - added OnErrorEvent = null
null
vis2k/mirror
MIT License
C#
set -e + # deploy to now the versioned docs site FORCE_EXTRACT_REACT_TYPES=true yarn documentation:build now --scope=uber-ui-platform --token=$ZEIT_NOW_TOKEN --public --no-clipboard deploy ./public > deployment.txt deployment=`cat deployment.txt` -cname="${BUILDKITE_TAG//./-}" +version=$(echo $BUILDKITE_MESSAGE | cut -...
fix(build): correct versioned doc site cname config
null
uber/baseweb
MIT License
Shell
import {Component} from '@angular/core'; -import * as firebase from 'firebase/app'; import {MatDialog, MatDialogRef} from '@angular/material'; import {AngularFireAuth} from 'angularfire2/auth'; import {FormBuilder, FormGroup, Validators} from '@angular/forms'; @@ -74,7 +73,9 @@ export class LoginPopupComponent { classi...
fix: login sometimes triggers an email spam and a temporary ban from logging in from firebase
null
ffxiv-teamcraft/ffxiv-teamcraft
MIT License
TypeScript
@@ -1323,6 +1323,10 @@ Document.prototype.$set = function $set(path, val, type, options) { if (!schema) { this.$__set(pathToMark, path, options, constructing, parts, schema, val, priorVal); + + if (pathType === 'nested' && val == null) { + cleanModifiedSubpaths(this, path); + } return this; }
fix(document): clean modified subpaths when setting nested path to null after modifying subpaths
null
automattic/mongoose
MIT License
JavaScript
@@ -713,10 +713,23 @@ async fn get_handler( let mime = mime_guess::from_ext(&format).first_or_octet_stream(); let mut response = warp::reply::Response::new(content.into()); + match format.as_str() { + "html" | "json" => { response.headers_mut().insert( "content-type", warp::http::header::HeaderValue::from_str(mime.as_r...
fix(Serve): Return formats like Markdown as plain text
null
stencila/stencila
Apache License 2.0
Rust
@@ -166,9 +166,9 @@ module.exports = { { resolve: `gatsby-remark-autolink-headers`, options: { - offsetY: 104 + offsetY: 104, + }, }, - },, `gatsby-remark-copy-linked-files`, `gatsby-remark-smartypants`, ], @@ -197,7 +197,7 @@ module.exports = { { resolve: `gatsby-remark-autolink-headers`, options: { - offsetY: 104 + o...
fix(www): Cannot read property 'resolve' of undefined
null
gatsbyjs/gatsby
MIT License
JavaScript
@@ -223,7 +223,14 @@ namespace acl for (uint32_t sample_index = 0; sample_index < num_samples; ++sample_index) { const rtm::qvvf& transform = track[sample_index]; - const rtm::quatf rotation = rtm::quat_normalize(transform.rotation); // Normalize just in case + + // If we request raw data and we are already normalized,...
fix(compression): don't normalize rotations when requesting raw data
null
nfrechette/acl
MIT License
C
@@ -1264,6 +1264,9 @@ static int safe_main_impl(int argc, char* argv[]) #if defined(SJSON_CPP_WRITER) if (options.profile_decompression && runs_writer != nullptr) { + // Disable floating point exceptions since decompression assumes it + scope_disable_fp_exceptions fp_off; + const CompressionSettings default_settings = ...
fix: disable floating point exceptions when profiling decompression
null
nfrechette/acl
MIT License
C++
@@ -32,10 +32,7 @@ export default { 'bandLength', ], advanced: [ - { bellaFit: [ 'chestEase', 'waistEase', 'bustSpanEase', 'bellaGuide' ] }, - { bellaDarts: ['backDartHeight'] }, - { bellaArmhole: ['armholeDepth', 'frontArmholePitchDepth'] }, - { bellaAdvanced: ['frontShoulderWidth', 'highBustWidth'] }, + { bella: [ 'c...
fix(bee): Don't expose options that are out of scope
null
freesewing/freesewing
MIT License
JavaScript
@@ -374,6 +374,9 @@ func (self *SSecurityGroupCache) SyncBaseInfo(ctx context.Context, userCred mccl if err == nil { self.ReferenceCount = len(references) } + if createdAt := ext.GetCreatedAt(); !createdAt.IsZero() { + self.CreatedAt = createdAt + } return nil }) if err != nil {
fix(region): secgroup created time
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -139,9 +139,11 @@ func (o *Ocean) Find(c *fi.Context) (*Ocean, error) { // Strategy. { - actual.SpotPercentage = ocean.Strategy.SpotPercentage - actual.FallbackToOnDemand = ocean.Strategy.FallbackToOnDemand - actual.UtilizeReservedInstances = ocean.Strategy.UtilizeReservedInstances + if strategy := ocean.Strategy; s...
fix: ocean.strategy is nullable
null
kubernetes/kops
Apache License 2.0
Go
@@ -558,13 +558,13 @@ serde_json = "1.0.79" /// Append module declarations to the `lib.rs` or `mod.rs` fn append_module_names(&self, mut buf: impl Write) -> Result<()> { - let mut mod_names: BTreeSet<_> = self.bindings.keys().collect(); + let mut mod_names: BTreeSet<_> = + self.bindings.keys().map(|name| name.to_snake_...
fix(abigen): non-snake-case modules out of order
null
gakonst/ethers-rs
Apache License 2.0
Rust
@@ -280,10 +280,10 @@ func TranslateContainerDetailsToNode(containerDetails types.ContainerJSON) (*k3d if clusterNet != nil { parsedIP, err := netaddr.ParseIP(clusterNet.IPAddress) if err != nil { - if nodeState.Running { + if nodeState.Running && nodeState.Status != "restarting" { return nil, fmt.Errorf("failed to par...
fix: do not try to parse container IP if container is restarting
null
rancher/k3d
MIT License
Go
@@ -139,9 +139,28 @@ async fn execute( rb } }; + + let mut blocks: Vec<Result<Vec<u8>>> = vec![]; + for _ in 0..2 { + match data_stream.next().await { + Some(block) => { + match block { + Ok(block) => { + blocks.push(compress_fn(output_format.serialize_block(&block))); + } + Err(err) => return Err(err), + }; + } + None...
fix(clickhouse handler): try catch error before response
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -69,11 +69,11 @@ void FixStdioStreams() { // For details see https://github.com/libuv/libuv/issues/2062 struct stat st; if (fstat(STDIN_FILENO, &st) < 0 && errno == EBADF) - freopen("/dev/null", "r", stdin); + ignore_result(freopen("/dev/null", "r", stdin)); if (fstat(STDOUT_FILENO, &st) < 0 && errno == EBADF) - fre...
fix: ignore unused freopen result
null
electron/electron
MIT License
C++
@@ -338,6 +338,7 @@ public class CordovaWebViewImpl implements CordovaWebView { // Show the content view. engine.getView().setVisibility(View.VISIBLE); + engine.getView().requestFocus(); } @Override
fix: request focus after custom view hided
null
apache/cordova-android
Apache License 2.0
Java
@@ -189,6 +189,23 @@ func offlineBackup(src string, uncompressed bool, manualStopStart bool) (string, return "", fmt.Errorf("%s is not a directory", src) } + currDir, err := os.Getwd() + if err != nil { + return "", err + } + srcAbs, err := filepath.Abs(src) + if err != nil { + return "", err + } + currDirAbs, err := f...
fix: disallow running immuadmin backup with current directory as source
null
codenotary/immudb
Apache License 2.0
Go
@@ -746,9 +746,14 @@ struct TagPartitionedLogSystem : ILogSystem, ReferenceCounted<TagPartitionedLogS } TraceEvent("TLogPeekTxs", dbgid).detail("Begin", begin).detail("End", end).detail("LocalEnd", localEnd).detail("PeekLocality", peekLocality); + int maxTxsTags = tLogs[0]->logServers.size(); + for(auto& it : oldLogDat...
fix: peek all possible txsTags which could have been used by old log sets
null
apple/foundationdb
Apache License 2.0
C++
@@ -318,6 +318,14 @@ impl<'i> Position<'i> { false } + /// Matches the char at the `Position` against a specified character and returns `true` if a match + /// was made. If no match was made, returns `false`. + /// `pos` will not be updated in either case. + #[inline] + pub(crate) fn match_char(&self, c: char) -> bool ...
fix: Limit error messages new line visualization (fixes
null
pest-parser/pest
Apache License 2.0
Rust
@@ -61,7 +61,7 @@ defmodule Ash.Actions.SideLoad do new_path = [relationship | path] - {_, further_requests} = + {related_query, further_requests} = requests( related_query, use_data_for_filter?,
fix: always select necessary load fields for nested loads
null
ash-project/ash
MIT License
Elixir
@@ -298,6 +298,8 @@ class WebContents : public mate::TrackableObject<WebContents>, observers_.AddObserver(obs); } void RemoveObserver(ExtendedWebContentsObserver* obs) { + // Trying to remove from an empty collection leads to an access violation + if (observers_.might_have_observers()) observers_.RemoveObserver(obs); }...
fix: On close trying to remove observer from an empty collection leads to an access violation
null
electron/electron
MIT License
C
@@ -76,7 +76,7 @@ MTableCell.propTypes = { value: PropTypes.any, rowData: PropTypes.object, errorState: PropTypes.oneOfType([PropTypes.object, PropTypes.bool]), - forwardedRef: PropTypes.element, + forwardedRef: PropTypes.oneOfType([PropTypes.element, PropTypes.func]), size: PropTypes.string, colSpan: PropTypes.number,...
fix: Proptype fix for tabelcell
null
material-table-core/core
MIT License
JavaScript