diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -425,6 +425,19 @@ public class ExpressionServiceTest orgUnitK.setUid( "OrgUnitUidK" ); orgUnitL.setUid( "OrgUnitUidL" ); + orgUnitA.setName( "OuA" ); + orgUnitB.setName( "OuB" ); + orgUnitC.setName( "OuC" ); + orgUnitD.setName( "OuD" ); + orgUnitE.setName( "OuE" ); + orgUnitF.setName( "OuF" ); + orgUnitG.setName( "O...
fix: test expression description
null
dhis2/dhis2-core
BSD 3-Clause New or Revised License
Java
@@ -320,6 +320,7 @@ defmodule Ash.Actions.SideLoad do {:ok, results} <- run_actual_query( new_query, + base_query, data, path, relationship @@ -452,6 +453,7 @@ defmodule Ash.Actions.SideLoad do {:ok, results} <- run_actual_query( new_query, + base_query, data, path, join_relationship @@ -515,8 +517,8 @@ defmodule Ash.A...
fix: use base_query for aritifical limit/offset when loading
null
ash-project/ash
MIT License
Elixir
@@ -359,8 +359,14 @@ export class Worker< } protected async moveToActive(token: string, jobId?: string) { + try { const [jobData, id] = await Scripts.moveToActive(this, token, jobId); - return this.nextJobFromJobData(jobData, id); + return await this.nextJobFromJobData(jobData, id); + } catch (error) { + if (isNotConne...
fix(move-to-active): add try catch in moveToActive call
null
taskforcesh/bullmq
MIT License
TypeScript
@@ -170,32 +170,38 @@ pub async fn list_files( _filetypes: &'static [FileType], object_id: ObjectId, ) -> Result<Vec<SourceFileId>, DownloadError> { - let index_url = { - let mut url = source.url.clone(); + // There needs to be either a debug_id or a code_id filter in the query. Otherwise, this would + // return a list...
fix(downloader): Only search sentry with filters
null
getsentry/symbolicator
MIT License
Rust
@@ -935,7 +935,7 @@ TEST_F(X86_MULTI_THREADS, CONV_BIAS_IM2COLMATMUL_INT8X8X32) { #if MEGDNN_X86_WITH_MKL_DNN if (megdnn::x86::is_supported(x86::SIMDType::VNNI)) { - cb("IM2COLMATMUL:X86_INT8X8X32_MKLDNN"); + cb("IM2COLMATMUL"); } #endif #if MEGDNN_X86_WITH_VNNI @@ -1647,7 +1647,7 @@ TEST_F(X86_MULTI_THREADS, CONV_BIAS...
fix(mgb/x86): fix convbias crash on X86
null
megengine/megengine
Apache License 2.0
C++
@@ -106,17 +106,19 @@ mixin CSSDecoratedBoxMixin { CSSStyleDeclaration style, String property) { + if (renderBoxModel.decoration == null) return; + // topLeft topRight bottomRight bottomLeft int index = _borderRadiusMapping[property]; if (index != null) { Radius newRadius = CSSBorderRadius.getRadius(style[property]); -...
fix: fix borderRadius null error
null
openkraken/kraken
Apache License 2.0
Dart
@@ -95,27 +95,27 @@ func (b *HRPBoomer) convertBoomerTask(testcase *TestCase, rendezvousList []*Rend Name: config.Name, Weight: config.Weight, Fn: func() { - sessionRunner := hrpRunner.NewSessionRunner(testcase) + sessionTestCase := &TestCase{} + // copy testcase to avoid data racing + if err := copier.Copy(sessionTest...
fix: failed to parse testcase config while load testing
null
httprunner/httprunner
Apache License 2.0
Go
@@ -1262,7 +1262,7 @@ public class UI extends Component /** * Makes the child component modal or modeless. The component needs to be a - * direct child of this UI. By default all child components are modeless. + * child of this UI. By default all child components are modeless. * * @param childComponent * the child comp...
fix: Allow server side modality for components UI tree
null
vaadin/flow
Apache License 2.0
Java
@@ -29,6 +29,7 @@ var goodBase = check.Base{ OwnerID: influxTesting.MustIDBase16(id2), OrgID: influxTesting.MustIDBase16(id3), StatusMessageTemplate: "temp1", + Every: mustDuration("1m"), Tags: []influxdb.Tag{ {Key: "k1", Value: "v1"}, {Key: "k2", Value: "v2"}, @@ -88,6 +89,60 @@ func TestValidCheck(t *testing.T) { Msg...
fix(tasks): validate check params new backend error message
null
influxdata/influxdb
MIT License
Go
@@ -381,7 +381,7 @@ private extension HomeView { if environment.homeViewSheetState != nil { store.dispatch(.toggleHomeViewSheet(state: nil)) } - if environment.isSlideMenuClosed { + if !environment.isSlideMenuClosed { postSlideMenuShouldCloseNotification() } }
fix: Detect clipboard slidemenu issue
null
ehpanda-team/ehpanda
MIT License
Swift
@@ -7,7 +7,7 @@ using Microsoft.IdentityModel.Protocols.OpenIdConnect; namespace Microsoft.AspNetCore.Authentication.OpenIdConnect; /// <summary> -/// A conext for <see cref="OpenIdConnectEvents.AuthenticationFailed"/>. +/// A context for <see cref="OpenIdConnectEvents.AuthenticationFailed"/>. /// </summary> public cla...
fix: correct spelling mistake
null
dotnet/aspnetcore
MIT License
C#
@@ -63,7 +63,7 @@ discord_bucket_try_cooldown(struct discord_adapter *adapter, struct discord_buck "Transfer locked in queue.", bucket->hash, bucket->remaining); - // wait for pthread_cond_signal() from parse_ratelimits() + /* wait for pthread_cond_signal() from parse_ratelimits() */ pthread_cond_wait(&bucket->cond, &b...
fix(discord-ratelimit.c): c89 compliant comment
null
cee-studio/orca
MIT License
C
@@ -520,10 +520,10 @@ const navBarLinks = navBar.querySelectorAll<HTMLAnchorElement>(".nav-item"); let navBarHeight: number; function resize() { - if (window.innerWidth <= 1570 && !playerModelIsMobile) { + if (window.innerWidth <= 1590 && !playerModelIsMobile) { playerModelIsMobile = true; document.getElementById("skin...
fix: :bug: make js match css for large screen breakpoint
null
skycryptwebsite/skycrypt
MIT License
TypeScript
@@ -18,20 +18,9 @@ from torch.autograd import Variable from recbox.utils import InputType from recbox.model.abstract_recommender import KnowledgeRecommender from recbox.model.loss import BPRLoss, EmbMarginLoss -from recbox.model.init import xavier_normal_initialization +from recbox.model.init import xavier_uniform_init...
fix: bug in KTUP
null
rucaibox/recbole
MIT License
Python
@@ -2097,6 +2097,11 @@ function _getPathsToValidate(doc) { paths = paths.concat(Object.keys(doc.$__.activePaths.states.modify)); paths = paths.concat(Object.keys(doc.$__.activePaths.states.default)); + // Single nested paths (paths embedded under single nested subdocs) will + // be validated on their own when we call `...
fix(document): avoid double-running validators on single nested subdocs within single nested subdocs
null
automattic/mongoose
MIT License
JavaScript
@@ -93,7 +93,6 @@ def generate_ingress(containers, outputdir): fout.write(' name: \"uni-resolver-ingress\"\n') fout.write(' namespace: \"uni-resolver-dev\"\n') fout.write(' annotations:\n') - fout.write(' kubernetes.io/ingress.class: alb\n') fout.write(' alb.ingress.kubernetes.io/scheme: internet-facing\n') fout.write(...
fix: remove kubernetes ingress.class annotation
null
decentralized-identity/universal-resolver
Apache License 2.0
Python
@@ -153,20 +153,20 @@ v8::Local<v8::Value> Converter<net::CertPrincipal>::ToV8( v8::Local<v8::Value> Converter<net::HttpResponseHeaders*>::ToV8( v8::Isolate* isolate, net::HttpResponseHeaders* headers) { - base::DictionaryValue response_headers; + base::Value::Dict response_headers; if (headers) { size_t iter = 0; std:...
fix: modernize ListValue in net converters
null
electron/electron
MIT License
C++
@@ -336,7 +336,7 @@ class StatefulTableWrapper extends Component { ? state.view.table.selectedIds.concat([id]) : state.view.table.selectedIds.filter(i => i !== id), }, - isSelectIndeterminate: { + isSelectAllIndeterminate: { $set: !(isClearing || isSelectingAll), }, isSelectAllSelected: { @@ -358,7 +358,7 @@ class Stat...
fix(table): small fix to stateful indeterminate state
null
carbon-design-system/carbon-addons-iot-react
Apache License 2.0
JavaScript
-# encoding: utf-8 - import re +from collections import OrderedDict import jsonpath from httprunner import exceptions, logger, utils -from httprunner.compat import OrderedDict, basestring, is_py2 +from httprunner.compat import basestring, is_py2 text_extractor_regexp_compile = re.compile(r".*\(.*\).*")
fix: missed import OrderedDict
null
httprunner/httprunner
Apache License 2.0
Python
@@ -125,6 +125,8 @@ bool JointTrackingTask::update() { constexpr std::string_view errorPrefix = "[JointTrackingTask::update] "; + m_isValid = false; + if (!m_kinDyn->getJointPos(m_jointPosition)) { std::cerr << errorPrefix << " Unable to get the joint position" << std::endl; @@ -141,6 +143,8 @@ bool JointTrackingTask::...
fix: update of m_isValid variable added in JointTrackingTask
null
ami-iit/bipedal-locomotion-framework
BSD 3-Clause New or Revised License
C++
@@ -17,7 +17,7 @@ package pkeworkflow import ( "context" - "emperror.dev/emperror" + "emperror.dev/errors" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/service/cloudformation" @@ -53,12 +53,12 @@ func (a *WaitCFCompletionActivity) Execute(ctx context.Context, input WaitCFComp err = cfClient.WaitUntilStack...
fix: collecting AWS stack failures when PKE VPC creation failes is broken
null
banzaicloud/pipeline
Apache License 2.0
Go
@@ -15,7 +15,7 @@ async fn multiple_tasks() -> Result<()> { // Run a command that'll run for a short time after a delay. // The `pueue wait` command will be spawne directly afterwards, resulting in the spawned // process to wait for this command to finish. - run_client_command(shared, &["add", "--delay", "1 second", "s...
fix: Flaky client wait test
null
nukesor/pueue
MIT License
Rust
use indoc::indoc; use query_engine_tests::*; -#[test_suite(suite = "noaction_onD_1to1_req", schema(required))] +#[test_suite(suite = "noaction_onD_1to1_req", schema(required), relation_mode = "prisma")] mod one2one_req { fn required() -> String { let schema = indoc! { @@ -21,38 +21,13 @@ mod one2one_req { } /// Deletin...
fix(qe): refactor onDelete noAction tests to use referentialMode = 'prisma'
null
prisma/prisma-engines
Apache License 2.0
Rust
@@ -680,37 +680,37 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec { if (meetingIndex >= maxParticipants * offset) break; - Debug.Console(2, this, -@"Updating Participant on xsig: -Name: {0} (s{9}) -AudioMute: {1} (d{10}) -VideoMute: {2} (d{11}) -CanMuteVideo: {3} (d{12}) -CanUMuteVideo: {4} (d{13}) -IsHos...
fix(essentials): fixes issue with local var scope when assigning actions for ending individual calls
null
pepperdash/essentials
MIT License
C#
@@ -67,10 +67,7 @@ namespace acl // CMU has 64.41%, Paragon has 47.69%, and Fortnite has 62.84%. // Following these numbers, it is common for clips to have at least 10 constant rotation samples to unpack. - static constexpr uint32_t k_cache_size = 32; - static constexpr uint32_t k_half_cache_size = k_cache_size / 2; - ...
fix(decompression): avoid compilation failure with gcc/clang under x86 debug
null
nfrechette/acl
MIT License
C
@@ -80,6 +80,7 @@ class BaseTransformerEncoder(BaseEncoder): :return: an ndarray in size `B x D` """ try: + if self.tokenizer.pad_token is None: self.tokenizer.pad_token = self.tokenizer.eos_token ids_info = self.tokenizer.batch_encode_plus(data, max_length=self.max_length,
fix: fix eos token error from transformers
null
jina-ai/jina
Apache License 2.0
Python
@@ -100,11 +100,8 @@ internal class TransferStatusUpdater private constructor( if (transferRecord.state == newState || TransferState.isInTerminalState(transferRecord.state)) { return } - - transferDB.updateState(transferRecord.id, newState) - transferRecord.state = newState - + transferDB.updateState(transferRecord.id,...
fix: Change order of updating state in local cache
null
aws-amplify/amplify-android
Apache License 2.0
Kotlin
@@ -51,6 +51,16 @@ export class Button extends ButtonBase { // } } + getDefaultElevation(): number { + console.log(this.constructor.name, 'getDefaultElevation') + return 2; // 2dp @dimen/mtrl_btn_elevation + } + + getDefaultDynamicElevationOffset(): number { + console.log(this.constructor.name, 'getDefaultDynamicElevat...
fix: default values for the button
null
nativescript-community/ui-material-components
Apache License 2.0
TypeScript
@@ -386,9 +386,6 @@ private ColibriConferenceIQ allocateChannels( return null; } - BridgeSelector bridgeSelector - = meetConference.getServices().getBridgeSelector(); - String jvb = bridgeSession.colibriConference.getJitsiVideobridge(); if (StringUtils.isNullOrEmpty(jvb)) {
fix: Removes unused code
null
jitsi/jicofo
Apache License 2.0
Java
@@ -46,20 +46,27 @@ fun escapeForLog(string: String): String { .trim() } - +// Returns successState suspend fun sendOnShard0( context: ICommandContext, user: User, editor: EmbedEditor, extra: String ): Boolean { - return if (PodInfo.podId == 0) { + return try { + if (PodInfo.podId == 0) { sendPrivateMessageExtra(user a...
fix: pog error checks
null
toxicmushroom/melijn
MIT License
Kotlin
@@ -436,8 +436,8 @@ class Extension implements Arrayable $links['support'] = "mailto:$supportEmail"; } - if (($funding = $this->composerJsonAttribute('funding')) && count($funding)) { - $links['donate'] = $funding[0]['url']; + if (($funding = $this->composerJsonAttribute('funding')) && is_array($funding) && ($fundingUr...
fix: error in funding `composer.json` block bricks frontend
null
flarum/core
MIT License
PHP
protected final RandomAccessFile targetFile; protected final Callback writeCompleteHandler; protected final Lock lock = new ReentrantLock(true); - protected final AtomicInteger writtenFileParts = new AtomicInteger(); + protected final AtomicInteger writtenFileParts = new AtomicInteger(-1); protected Integer expectedFil...
fix(driver): Fix final chunked packet frame detection
null
cloudnetservice/cloudnet-v3
Apache License 2.0
Java
@@ -21,7 +21,7 @@ class YandexTest < GeocoderTestCase end def test_yandex_query_url_contains_bbox - lookup = Geocoder::Lookup::Google.new + lookup = Geocoder::Lookup::Yandex.new url = lookup.query_url(Geocoder::Query.new( "Some Intersection", :bounds => [[40.0, -120.0], [39.0, -121.0]]
fix: incorrect lookup used in test
null
alexreisner/geocoder
MIT License
Ruby
//! Checkpoints can be used to verify their ancestors, by chaining backwards //! to another checkpoint, via each block's parent block hash. -use std::{collections::BTreeMap, error, ops::RangeBounds}; +use std::{ + collections::{BTreeMap, HashSet}, + error, + ops::RangeBounds, +}; use zebra_chain::block::BlockHeaderHash...
fix: Make sure checkpoint heights and hashes are unique
null
zcashfoundation/zebra
Apache License 2.0
Rust
@@ -50,13 +50,17 @@ final class LNDRest: NSObject, URLSessionDelegate { Logger.error("\(error.localizedDescription) - \(url)") completion(.failure(.localizedError(error.localizedDescription))) } else { - if let data = data { + if let data = data, !data.isEmpty { if let result = try? T(jsonUTF8Data: data) { completion(....
fix: fail when connecting to grpc port over tor rest
null
ln-zap/zap-ios
MIT License
Swift
import { AssetDeclaration, ClassDeclaration, ConceptDeclaration, EnumDeclaration, EnumValueDeclaration, ModelManager, ModelFile, Field, Relationship, RelationshipDeclaration, TransactionDeclaration } from '@accordproject/concerto'; declare module '@accordproject/concerto-tools' { + export namespace CodeGen { export abs...
fix(typescript): wrap codegen types in namespace (resolves
null
accordproject/concerto
Apache License 2.0
TypeScript
@@ -66,7 +66,8 @@ const gtfsplus = (state = defaultState, action) => { case 'ADD_GTFSPLUS_ROW': const newRow = constructNewGtfsPlusRow(action.payload.tableId) const tableExists = action.payload.tableId in state.tableData - newRow.origRowIndex = tableExists + // add rowIndex for use with tracking row for deletion/updati...
fix(gtfsplus): fix rowIndex field name on added row
null
ibi-group/datatools-ui
MIT License
JavaScript
@@ -118,7 +118,7 @@ class VerifySeedPhraseViewController: UIViewController { seedPhraseTextView, UIView.spacer(height: 7), errorLabel, - UIView.spacer(height: 30), + UIView.spacer(height: 24), seedPhraseCollectionView, ].asStackView(axis: .vertical) stackView.translatesAutoresizingMaskIntoConstraints = false @@ -146,7 ...
fix: Clear button in Verify Seed Phrase screen overlaps with seed phrases on short screens
null
alphawallet/alpha-wallet-ios
MIT License
Swift
@@ -91,6 +91,7 @@ import com.linkedin.datahub.graphql.types.usage.UsageType; import graphql.execution.DataFetcherResult; import graphql.schema.idl.RuntimeWiring; import java.util.ArrayList; +import java.util.Collections; import org.apache.commons.io.IOUtils; import org.dataloader.BatchLoaderContextProvider; import org....
fix(graphql): fix ml model properties resolver
null
linkedin/datahub
Apache License 2.0
Java
@@ -17,103 +17,104 @@ class BugsnagReactNative(reactContext: ReactApplicationContext) : override fun getName(): String = "BugsnagReactNative" - private fun logFailure(msg: String) { - logger.e("Failed to call $msg on bugsnag-plugin-react-native, continuing") + private fun logFailure(msg: String, exc: Throwable) { + log...
fix: alter the interface to send android errors
null
bugsnag/bugsnag-js
MIT License
Kotlin
@@ -65,8 +65,10 @@ pub async fn connect(ws: WebSocket, pool: LocalPoolHandle, app: fn(Scope) -> Ele Either::Left((l, _)) => { if let Some(Ok(msg)) = l { if let Ok(Some(msg)) = msg.to_str().map(events::parse_ipc_message) { + if msg.method == "user_event" { let user_event = events::trigger_from_serialized(msg.params); ev...
fix: liveview handler should filter only for events
null
dioxuslabs/dioxus
Apache License 2.0
Rust
@@ -47,9 +47,9 @@ class VideoGridAdapter( private fun getVideosForPage(position: Int): MutableList<MeetingTrack> { val pageVideos = ArrayList<MeetingTrack>() - // Range is [fromIndex, toIndex) -- Notice the bounds + // Range is [fromIndex, toIndex] -- Notice the bounds val fromIndex = position * itemsPerPage - val toIn...
fix(VideoGridAdapter): bounds in getVideosPerPage
null
100mslive/100ms-android
MIT License
Kotlin
@@ -28,7 +28,6 @@ MEMORY_LIMITS=500 REQUESTS="" LIMITS="" -REMOVE_NAMESPACE="" PROVIDER_PLUGINS="" REPO_DIR="" @@ -50,7 +49,6 @@ usage() { echo " -d : set openpitrix log level to debug." echo " -s : storage will be applied." echo " -a : all of base/dbctrl/storage will be applied." - echo " -m : the namespace to delete ...
fix: need to delete svc
null
openpitrix/openpitrix
Apache License 2.0
Shell
@@ -27,6 +27,7 @@ class LinkedInOAuth2Adapter(OAuth2Adapter): fields = self.get_provider().get_profile_fields() url = self.profile_url + ':(%s)?format=json' % ','.join(fields) resp = requests.get(url, params={'oauth2_access_token': token.token}) + resp.raise_for_status() return resp.json()
fix(linkedin): Use HTTP response code
null
pennersr/django-allauth
MIT License
Python
@@ -27,6 +27,12 @@ const getRenderSize = ({ theme, size }) => { return renderSizes[size]; }; +const getWidth = ({ theme, size, inlineStacked, totalCarriers }) => { + if (inlineStacked) return "min-content"; + + return totalCarriers > 1 ? theme.orbit.widthCarrierLogo : `${getRenderSize({ theme, size })}px`; +}; + const ...
fix(CarrierLogo): correct width when inlineStacked
null
kiwicom/orbit
MIT License
TypeScript
@@ -59,17 +59,18 @@ func (t SiteModel) Init(cfg map[string]string) { if db.CheckError(err, db.INSERT) { panic(err) } - } else { - if value != "" { - _, err := t.Table(t.TableName). - Where("key", "=", key).Update(dialect.H{ - "value": value, - }) - if db.CheckError(err, db.UPDATE) { - panic(err) - } - } } + //else { + ...
fix(config): fixed config load error
null
goadmingroup/go-admin
Apache License 2.0
Go
@@ -190,11 +190,6 @@ app.get('/sw.js', async (req, res) => { // App app.get('*', (req, res, next) => { - if (req.accepts('html', '*/*') !== 'html') { - next(); - return; - } - const renderOptions = { msie: req.headers['user-agent'].indexOf('MSIE') >= 0, }; @@ -243,27 +238,19 @@ app.get('*', (req, res, next) => { app.us...
fix: default to HTML response (Edge)
null
lwjgl/lwjgl3-www
BSD 3-Clause New or Revised License
JavaScript
@@ -21,6 +21,7 @@ var discriminator = require('./services/model/discriminator'); var isPathSelectedInclusive = require('./services/projection/isPathSelectedInclusive'); var mpath = require('mpath'); var parallel = require('async/parallel'); +var parallelLimit = require('async/parallelLimit') var util = require('util');...
fix: limiting number of async operations per time in insertMany
null
automattic/mongoose
MIT License
JavaScript
@@ -48,7 +48,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultHandlers. import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; @RunWith(SpringRunner.class) -@ActiveProfiles(value = "unit-test,unit-test-permissions", resolver = DatabaseProfileResolver.class) +@...
fix: active profile loading syntax
null
cloudfoundry-incubator/credhub
Apache License 2.0
Java
@@ -39,7 +39,7 @@ public class FhirTest { protected static final String TEST_DATE_STRING = "2018-03-23T07:49:40.000+0000"; //$NON-NLS-N$ - protected static final ObjectMapper objectMapper = new SnowOwlApiConfig().objectMapper(); + protected static final ObjectMapper objectMapper = new SnowOwlApiConfig().createObjectMap...
fix: objectMapper creation in FhirTest class
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -507,7 +507,7 @@ class Asset implements \ArrayAccess return $this->getSvgAttributes()->width; } if (false === $size = $this->getImageSize()) { - return false; + throw new RuntimeException(\sprintf('Not able to get width of "%s"', $this->data['path'])); } return $size[0]; @@ -524,7 +524,7 @@ class Asset implements \A...
fix: throw exception if cant get asset with/height
null
cecilapp/cecil
MIT License
PHP
const path = require(`path`); -const dotSauce = exports.dotSauce = path.join(__dirname, `..`, `..`, `..`, `..`, `..`, `.sauce${process.env.PACKAGE ? `/${process.env.PACKAGE}` : ``}`); +const dotSauce = exports.dotSauce = path.join(__dirname, `..`, `..`, `..`, `..`, `..`, `..`, `.sauce${process.env.PACKAGE ? `/${process...
fix(@@ciscospark/bin-sauce-connect): correct .sauce path
null
webex/webex-js-sdk
MIT License
JavaScript
@@ -100,10 +100,10 @@ int main() { expect(string_util::filesize(3 * 1024 * 1024) == "3 GB"); }; - "stringstream"_test = [] { + "sstream"_test = [] { string s; - expect((s = (stringstream() << "test")) == "test"s); - expect((s = (stringstream() << std::setprecision(2) << std::fixed << 1.25)).erase(0, 2) == "25"s); + exp...
fix(ci): Update test
null
polybar/polybar
MIT License
C++
@@ -47,7 +47,7 @@ downloader() { need_cmd "$_dld" elif [ "$_dld" = curl ]; then if check_help_for curl --proto --tlsv1.3; then - curl --proto '=https' --tls-max=1.3 --silent --show-error --fail --location "$1" --output "$2" + curl --proto '=https' --tlsv1.3 --silent --show-error --fail --location "$1" --output "$2" eli...
fix: remove flag --tls-max usages from install.sh
null
dfinity/sdk
Apache License 2.0
Shell
@@ -62,10 +62,17 @@ class Load extends AbstractStep ->files() ->in($this->builder->getConfig()->getPagesPath()) ->sortByName(true); + // load only one page? if ($this->page) { - // pages.dir in page path? remove it + // is the page path starts with the `pages.dir` configuration option? + // (i.e.: `pages/...`, `/pages/...
fix: path of only one page load
null
cecilapp/cecil
MIT License
PHP
@@ -81,7 +81,7 @@ private static ITemplateEngineHost CreateHost() { "NetStandardImplicitPackageVersion", new FrameworkDependencyFile().GetNetStandardLibraryVersion() }, }; - return new DefaultTemplateEngineHost(HostIdentifier, "v" + Product.Version, CultureInfo.CurrentCulture.Name, preferences, builtIns); + return new ...
fix: dotnet-new locale is not correctly set
null
dotnet/sdk
MIT License
C#
-use crate::{ - interop::{MemoryStream, NativeStreamBase, RustStream}, - prelude::*, - Canvas, Data, RCHandle, Size, Typeface, -}; -use skia_bindings as sb; -use skia_bindings::{SkData, SkTypeface}; use std::{ error::Error, fmt, @@ -12,8 +5,19 @@ use std::{ str::FromStr, }; +use skia_bindings as sb; +use skia_bindings:...
fix: try handling windows :sweat_smile:
null
rust-skia/rust-skia
MIT License
Rust
@@ -47,18 +47,7 @@ export const ArtworkImageBrowser: React.FC<ArtworkImageBrowserProps> = ({ const defaultIndex = figures?.findIndex(image => !!image?.isDefault) ?? 0 setCursor(defaultIndex) } - - if ((figures ?? []).length === 0) { - return ( - <Flex> - <ResponsiveBox - data-testid="artwork-browser-no-image-box" - bg=...
fix: adjust no-image image container
null
artsy/force
MIT License
TypeScript
@@ -112,15 +112,14 @@ class ChainManager: max_bitfield_page = ceil((2 ** optimized_address_state.height) / config.dev.ots_tracking_per_page) - offset = 0 for page in range(1, max_bitfield_page + 1): + offset = (page - 1) * config.dev.ots_tracking_per_page page_data = self.get_bitfield(address, page) for data in page_da...
fix: Conversion of ots bitfield from paginated state to legacy address state
null
theqrl/qrl
MIT License
Python
@@ -377,6 +377,8 @@ class KrakenController { _view.detachView(); // Should init JS first await reloadJSContext(_view.contextId); + Inspector.prevInspector = view._elementManager.controller.view.inspector; + _view = KrakenViewController(view._elementManager.viewportWidth, view._elementManager.viewportHeight, showPerform...
fix: fix reload debug server bind error
null
openkraken/kraken
Apache License 2.0
Dart
@@ -12,12 +12,11 @@ import debugModule from "debug"; // debug() const debug = debugModule("socket.io-client:socket"); // debug() -type Last<T extends any[]> = T extends [...infer I, infer L] ? L : any; -type AllButLast<T extends any[]> = T extends [...infer I, infer L] ? I : any[]; - -type PrependTimeoutError<T> = T ex...
fix(typings): properly type emits with timeout (2)
null
socketio/socket.io-client
MIT License
TypeScript
@@ -224,6 +224,11 @@ class BuildPythonProtosCommand(Command): with open(f"{self.python_folder}/feast/{sub_folder}/__init__.py", 'w'): pass + with open(f"{self.python_folder}/__init__.py", 'w'): + pass + with open(f"{self.python_folder}/feast/__init__.py", 'w'): + pass + for path in Path("feast/protos").rglob("*.py"): f...
fix: Ensure that __init__ files exist in proto dirs
null
feast-dev/feast
Apache License 2.0
Python
@@ -68,6 +68,7 @@ function getPlatformPath () { const platform = process.env.npm_config_platform || os.platform() switch (platform) { + case 'mas': case 'darwin': return 'Electron.app/Contents/MacOS/Electron' case 'freebsd':
fix: npm download failed when define 'npm_config_platform=mas'
null
electron/electron
MIT License
JavaScript
@@ -29,7 +29,7 @@ import ( "testing" ) -func TestVariableRouteRuleImpl(t *testing.T) { +func TestVariableRouteRuleImpl1(t *testing.T) { variable.RegisterVariable(variable.NewIndexedVariable("header", nil, nil, variable.BasicSetter, 0)) variable.RegisterVariable(variable.NewIndexedVariable("method", nil, nil, variable.B...
fix: fix variable route
null
mosn/mosn
Apache License 2.0
Go
@@ -56,6 +56,7 @@ namespace WalkingTec.Mvvm.Core public FrameworkContext(CS cs) : base(cs) { } + public FrameworkContext(DbContextOptions<FrameworkContext> options) : base(options) { } /// <summary> /// OnModelCreating @@ -330,6 +331,8 @@ namespace WalkingTec.Mvvm.Core ConnectionString = cs; } + public EmptyContext(DbC...
fix: add DbContextOptions contructor for frameworkcontext
null
dotnetcore/wtm
MIT License
C#
@@ -13,14 +13,18 @@ def get_feed(start, page_length): match_conditions_comment = get_feed_match_conditions(frappe.session.user, 'Comment') result = frappe.db.sql("""select X.* - from (select name, owner, modified, creation, seen, comment_type, - reference_doctype, reference_name, link_doctype, link_name, subject, - com...
fix(Activity): Communication Query
null
frappe/frappe
MIT License
Python
@@ -67,7 +67,7 @@ class AccountView(UpdateView): def form_valid(self, form): updated_email = form.cleaned_data['email'] name = form.cleaned_data['full_name'] - slack = form.cleaned_data['slack'] + slack = form.cleaned_data.get('slack') user = get_object_or_404(User, id=self.request.user.id) if updated_email and updated...
fix: correctly validate Slack field as optional
null
hyphaapp/hypha
BSD 3-Clause New or Revised License
Python
@@ -21,16 +21,17 @@ namespace modules { void runner() { try { while (this->running()) { + this->sleep(m_interval); + + if (!this->running()) { + break; + } + std::unique_lock<std::mutex> guard(this->m_updatelock); if (CAST_MOD(Impl)->update()) { this->broadcast(); } - - if (this->running()) { - guard.unlock(); - this->...
fix(timer_module): Sleep at beginning since already warmed up
null
polybar/polybar
MIT License
C++
@@ -34,6 +34,7 @@ public class OverridableStreamingLogWriter extends FilterStreamingLogWriter { public void openStream() throws IOException { if (getOverride() != null) { getOverride().openStream(); + return; } super.openStream(); } @@ -42,6 +43,7 @@ public class OverridableStreamingLogWriter extends FilterStreamingLog...
fix: override log writer emits 2 events
null
rundeck/rundeck
Apache License 2.0
Java
@@ -88,7 +88,7 @@ class Forge extends \CodeIgniter\Database\Forge if ($alterType === 'DROP') { $fields = array_map(function ($field) { return $this->db->escapeIdentifiers(trim($field)); - }, is_string($field)) ? explode(',', $field) : $field; + }, is_string($field) ? explode(',', $field) : $field); return $sql . ' DROP...
fix: Fixed a code that should have been specified as an argument, but was not
null
codeigniter4/codeigniter4
MIT License
PHP
@@ -19,7 +19,7 @@ export default _ => ( /> <link rel="stylesheet" - href="https://unpkg.com/@pluralsight/ps-design-system-normalize" + href="https://unpkg.com/@pluralsight/ps-design-system-normalize@latest/dist/index.css" /> </Head> )
fix(site): bypass unpkg redir on normalize
null
pluralsight/design-system
Apache License 2.0
JavaScript
@@ -35,7 +35,7 @@ export const AppNaviCustomTag: FC<AppNaviCustomTagProps> = ({ if (current) { return ( - <Active themes={theme} aria-selected="true" {...additionalProps}> + <Active themes={theme} aria-selected="true" {...props} {...additionalProps}> {iconComponent} {children} </Active>
fix: pass other props to AppNaviCustomTag
null
kufu/smarthr-ui
MIT License
TypeScript
@@ -86,7 +86,7 @@ export function decorateColumn(column, userDefaultColumn) { } // Build the header groups from the bottom up -export function makeHeaderGroups(allColumns, defaultColumn) { +export function makeHeaderGroups(allColumns, defaultColumn, additionalHeaderProperties = () => ({})) { const headerGroups = [] let...
fix: allow meta data to header via callback
null
tannerlinsley/react-table
MIT License
JavaScript
@@ -8,13 +8,13 @@ import PropTypes from 'prop-types'; import classnames from 'classnames'; import Add16 from '@carbon/icons-react/lib/add/16'; import Subtract16 from '@carbon/icons-react/lib/subtract/16'; -import { g100 as theme } from '@carbon/themes'; import ScrollGradient from '../../ScrollGradient'; import { Accord...
fix(filter-panel): accordion item themed gradient color
null
carbon-design-system/ibm-security
Apache License 2.0
JavaScript
@@ -165,7 +165,7 @@ public void FlashArea(EntityUid source, EntityUid? user, float range, float dura foreach (var entity in flashableEntities) { // Check for unobstructed entities while ignoring the mobs with flashable components. - if (!_interactionSystem.InRangeUnobstructed(entity, mapPosition, range, CollisionGroup....
fix: Portable Flasher
null
space-wizards/space-station-14
MIT License
C#
@@ -567,6 +567,6 @@ namespace seal return value == T{ 0 }; } - void seal_memzero(void *const data, const std::size_t size); + void seal_memzero(void *const data, std::size_t size); } // namespace util } // namespace seal
fix: header signature
null
microsoft/seal
MIT License
C
@@ -30,14 +30,7 @@ void launch({ VoidCallback? _ordinaryOnMetricsChanged = window.onMetricsChanged; - // window.physicalSize are Size.zero when app first loaded. - // We should wait for onMetricsChanged when window.physicalSize get updated from Flutter Engine. - window.onMetricsChanged = () async { - if (window.physica...
fix: fix launcher empty screen
null
openkraken/kraken
Apache License 2.0
Dart
@@ -31,6 +31,7 @@ import org.jxmpp.jid.Jid import java.time.Clock import java.time.Duration import java.time.Instant +import java.util.concurrent.ConcurrentHashMap import java.util.concurrent.Executors /** @@ -90,7 +91,7 @@ class JibriDetector( } /** The jibri instances to select from */ - private val jibriInstances: M...
fix: Fix ConcurrentModiciationException
null
jitsi/jicofo
Apache License 2.0
Kotlin
@@ -872,8 +872,8 @@ public: fitness_workers[std::make_tuple(fitness, id_used[worker_process_id], worker_details.degraded, - isLongLivedStateless(worker_process_id), - inCCDC)] + inCCDC, + isLongLivedStateless(worker_process_id))] .push_back(worker_details); } @@ -1430,8 +1430,8 @@ public: auto sharing = preferredSharin...
fix: long lived stateless processes need to be the last comparison criteria to avoid better master exists from changing behavior from the original recruitment
null
apple/foundationdb
Apache License 2.0
C++
@@ -411,8 +411,8 @@ class FalcoTest(Test): md5_output = subprocess.check_output(["md5sum", "/boot/config-{}".format(kernel_release)]).rstrip() config_hash = md5_output.split(" ")[0] - probe_filename = "falco-probe-{}-{}-{}-{}.ko".format(falco_version, arch, kernel_release, config_hash) - driver_path = os.path.join(self...
fix(test): correct kernel module name
null
falcosecurity/falco
Apache License 2.0
Python
@@ -14,6 +14,7 @@ if (flextype('registry')->get('flextype.settings.entries.fields.media.files.fetc if (flextype('entries')->hasStorage('fetch.data.media.files.fetch')) { // Get fetch. $original = flextype('entries')->getStorage('fetch'); + $data = []; switch (flextype('registry')->get('flextype.settings.entries.fields....
fix(entries-fields): fix issue with undefined $data variable in MediaField
null
flextype/flextype
MIT License
PHP
@@ -270,7 +270,10 @@ mod not_wasm { if let Some(extension) = entry.path().extension() { if extension == "yaml" || extension == "yml" { if let Ok(themes) = ThemesFromYaml::from_path(&entry.path()) { - config.themes = config.themes.map(|t| t.merge(themes.into())); + match config.themes { + Some(t) => config.themes = Some...
fix: theme not loading without config
null
zellij-org/zellij
MIT License
Rust
@@ -91,6 +91,7 @@ impl XEddsaVerifier for XPublicKey { if let Some(edwards) = pt.to_edwards(0) { if let Ok(pk) = EPublicKey::from_bytes(&edwards.compress().to_bytes()) { + #[allow(deprecated)] let sig = Signature::new(*sig); return pk.verify(msg, &sig).is_ok(); }
fix(rust): allow deprecated use of `Signature::new`
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -439,7 +439,7 @@ class CloudVolume(object): @property def base_cloudpath(self): - return self.path.protocol + "://" + os.path.join(self.path.intermediate_path, self.path.bucket, self.dataset_name) + return self.path.protocol + "://" + os.path.join(self.path.bucket, self.path.intermediate_path, self.dataset_name) @pr...
fix: layer_cloudpath was not handling intermediate paths correctly
null
seung-lab/cloud-volume
BSD 3-Clause New or Revised License
Python
@@ -12,6 +12,12 @@ module Course::Assessment::AssessmentAbility define_manager_assessment_permissions if course_user.manager_or_owner? end + # The attachment_reference controller is not inherited from the course controller, + # while course_user above is only initialized for controller inherited from the course control...
fix(text response attachment): fix permission setting for text response attachment deletion
null
coursemology/coursemology2
MIT License
Ruby
@@ -4,17 +4,15 @@ import it.unibo.tuprolog.Info import it.unibo.tuprolog.Platform import it.unibo.tuprolog.solve.libs.io.exceptions.IOException -// import org.khronos.webgl.ArrayBuffer -// import org.khronos.webgl.Uint8Array -// import org.khronos.webgl.get - private val FS by lazy { js("require('fs')") } -private val ...
fix: accessing local file on Node now automatically converts file separators from / to \ on Windows
null
tuprolog/2p-kt
Apache License 2.0
Kotlin
@@ -12,7 +12,7 @@ class EditAttributePopupComponent extends PureComponent { if (this.props.onClose) return this.props.onClose(); }; render() { - const { open = true, attribute, text = 'Edit information', uiSchema } = this.props; + const { open = true, attribute, text = 'Edit Information', uiSchema } = this.props; retur...
fix: text capitalize
null
selfkeyfoundation/identity-wallet
MIT License
JavaScript
@@ -4,6 +4,7 @@ namespace App\Http\Middleware\Contest; use Closure; use App\Models\Eloquent\Contest; +use App\Models\ContestModel as OutdatedContestModel; class IsDesktop { @@ -18,6 +19,13 @@ class IsDesktop { $contest = Contest::find($request->cid); if(!empty($contest) && $contest->desktop) { + if(auth()->check()) { +...
fix: contest manager join desktop contest board
null
zsgsdesign/noj
MIT License
PHP
@@ -28,6 +28,7 @@ class WebManager(val settings: Settings) { } } val proxiedHttpClient = HttpClient(OkHttp) { + expectSuccess = false this.engine { val cb = OkHttpClient.Builder() val client = cb.proxy(Proxy(Proxy.Type.HTTP, InetSocketAddress(settings.proxy.host, settings.proxy.port)))
fix: never expect success
null
toxicmushroom/melijn
MIT License
Kotlin
@@ -357,16 +357,16 @@ namespace MLAPI private void SyncedVarUpdate() { - if (!CouldHaveDirtySyncedVars()) + if (!IsServer || !CouldHaveDirtySyncedVars()) return; syncedVarIndexesToReset.Clear(); syncedVarIndexesToResetSet.Clear(); - for (int i = 0; i < (IsServer ? NetworkingManager.Singleton.ConnectedClientsList.Count ...
fix: SyncedVar loop running on client
null
unity-technologies/com.unity.multiplayer.mlapi
MIT License
C#
@@ -1573,7 +1573,7 @@ void SuperMediaPlayer::doRender() { bool rendered = false; - if (mFirstBufferFlag && mPlayStatus != PLAYER_PREPARING) { + if (mSeekFlag && mPlayStatus != PLAYER_PREPARING) { if (HAVE_VIDEO && mAppStatus != APP_BACKGROUND) { rendered = RenderVideo(true);
fix(seek): fix seek bug in pause status
null
alibaba/cicadaplayer
MIT License
C++
@@ -58,6 +58,10 @@ function patchedModuleLoad(moduleName) { // we try to grab the module name to being able to patch the target module // with our instrumentation if (path.isAbsolute(moduleName)) { + // EDGE CASE for ESM: mysql2/promise.js + if (moduleName.indexOf('node_modules/mysql2/promise.js') !== -1) { + moduleNam...
fix(collector): mysql2/promise not working with ESM
null
instana/nodejs-sensor
MIT License
JavaScript
@@ -232,7 +232,7 @@ frappe.ui.Dialog = class Dialog extends frappe.ui.FieldGroup { this.get_minimize_btn().html(frappe.utils.icon(icon)); this.on_minimize_toggle && this.on_minimize_toggle(this.is_minimized); this.header.find('.modal-title').toggleClass('cursor-pointer'); - $("body").toggleClass("modal-open", !this.is_...
fix: changing overflow instead of removing class
null
frappe/frappe
MIT License
JavaScript
-export { default as Checkbox, CheckboxGroup } from './components/checkbox'; -export { default as Toast } from './components/toast'; -export { default as Radio, RadioGroup } from './components/radio'; -export { default as Breadcrumb, BreadcrumbItem } from './components/breadcrumb'; -export { default as Link } from './c...
fix: add some components global export
null
growingio/gio-design
Apache License 2.0
TypeScript
@@ -21,6 +21,9 @@ type GetFuncs func(monitor mntr.Monitor, gitClient *git.Client) (map[string]*Sec func Read(monitor mntr.Monitor, gitClient *git.Client, path string, getFunc GetFuncs) (string, error) { allSecrets, _, err := getFunc(monitor, gitClient) + if err != nil { + return "", err + } secret, err := findSecret(al...
fix: added error handling
null
caos/orbos
Apache License 2.0
Go
@@ -396,7 +396,7 @@ struct LogData : NonCopyable, public ReferenceCounted<LogData> { Future<Void> removed; PromiseStream<Future<Void>> addActor; TLogData* tLogData; - Promise<Void> recoveryComplete; + Promise<Void> recoveryComplete, committingQueue; Version unrecoveredBefore, recoveredAt; Reference<AsyncVar<Reference<I...
fix: do not reply to recruitment until we are sure the log commits to the queue
null
apple/foundationdb
Apache License 2.0
C++
@@ -4,5 +4,5 @@ val option = RegexOption.IGNORE_CASE enum class PatternPermission(val pattern: Regex) { CUSTOM_COMMAND("cc\\.(\\d+)".toRegex(option)), - REACTION_ROLE("rr\\.((?:[a-z]|\\d)+)\\..+".toRegex(option)) + REACTION_ROLE("rr\\.(?:(?:(?!\\.).)*)\\.(?:(?:(?!\\.).)*)".toRegex(option)) } \ No newline at end of file...
fix: better regex pattern for reaction role permission
null
toxicmushroom/melijn
MIT License
Kotlin
@@ -105,7 +105,7 @@ struct ReadInfo { // TODO: Move this to src/time.rs, better error surfacing fn duration_to_nanos_or_default( - duration_param: &Option<String>, + duration_param: Option<&str>, now: std::time::SystemTime, default: std::time::SystemTime, ) -> Result<i64, delorean::Error> { @@ -133,13 +133,13 @@ async ...
fix: Improve parameter type
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -642,12 +642,19 @@ class Cascader extends React.Component<CascaderProps, CascaderState> { ); const getPopupContainer = props.getPopupContainer || getContextPopupContainer; - const rest = omit(props, ['inputIcon', 'expandIcon', 'loadingIcon', 'bordered']); + const rest = omit(props, [ + 'inputIcon', + 'expandIcon', +...
fix: Cascader duplicated className
null
ant-design/ant-design
MIT License
TypeScript
@@ -183,7 +183,7 @@ impl BlockStore for FsBlockStore { let cid = block.cid; let data = block.data; - let inner_span = span.clone(); + let inner_span = debug_span!(parent: &span, "blocking"); async move { // why synchronize here? because when we lose the race we cant know if there was someone @@ -212,11 +212,8 @@ impl B...
fix: clarify span usage in blocks.rs
null
rs-ipfs/rust-ipfs
Apache License 2.0
Rust