diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -135,7 +135,7 @@ describe('UserStorage', () => { expect(isMadeBackup).toBeTruthy() }) - it('get magic line', async () => { + xit('get magic line', async () => { const magicLink = await userStorage.getMagicLink() expect(magicLink).toBeTruthy() })
fix: skip magiclink test for now
null
gooddollar/gooddapp
MIT License
JavaScript
@@ -270,6 +270,9 @@ func (env *environment) getRuntimeGOOS() string { } func (env *environment) runCommand(command string, args ...string) (string, error) { + if env.getRuntimeGOOS() == windowsPlatform && !strings.HasSuffix(command, ".exe") { + command += ".exe" + } defer env.trace(time.Now(), "runCommand", append([]st...
fix(windows): force the use of .exe
null
jandedobbeleer/oh-my-posh
MIT License
Go
@@ -36,28 +36,28 @@ defmodule Realtime.RLS.Replications do case when bool_or(pubupdate) then 'update' else null end, case when bool_or(pubdelete) then 'delete' else null end ) as w2j_actions, - string_agg(realtime.quote_wal2json(format('%I.%I', schemaname, tablename)::regclass), ',') w2j_add_tables + coalesce( + string...
fix: always call pg_logical_slot_get_changes when polling to flush slot
null
supabase/realtime
Apache License 2.0
Elixir
@@ -8,10 +8,9 @@ from typing import Optional from rich.logging import RichHandler -from jina.logging import formatter -from jina import __uptime__, __resources_path__, __windows__ from jina.enums import LogVerbosity from jina.jaml import JAML +from jina.logging import formatter class SysLogHandlerWrapper(logging.handle...
fix: fix circular import
null
jina-ai/jina
Apache License 2.0
Python
@@ -94,11 +94,7 @@ v8::Local<v8::Value> zval_to_v8val(v8::Isolate *isolate, zval *val TSRMLS_DC) } else { - v8::Local<v8::String> v8_key; - if (V8STRING_I(key).ToLocal(&v8_key)) - { - obj->Set(v8_key, v8_value); - } + obj->Set(NewV8String(isolate, key), v8_value); } } }
fix(php5): minor fix
null
baidu/openrasp
Apache License 2.0
C++
@@ -236,7 +236,7 @@ func (i *RecipeInstaller) installRecipes(ctx context.Context, m *types.Discovery log.WithFields(log.Fields{ "recipe_count": len(recipes), }).Debug("installing recipes") - var firstError error = nil + var lastError error = nil for _, r := range recipes { var err error @@ -255,10 +255,13 @@ func (i *R...
fix(install): capture error in tessen infra, log and targeted and any last error
null
newrelic/newrelic-cli
Apache License 2.0
Go
@@ -18,7 +18,6 @@ import 'package:smooth_app/database/robotoff_questions_query.dart'; import 'package:smooth_app/generic_lib/design_constants.dart'; import 'package:smooth_app/generic_lib/widgets/smooth_card.dart'; import 'package:smooth_app/helpers/attributes_card_helper.dart'; -import 'package:smooth_app/helpers/exte...
fix: attribute text clickable
null
openfoodfacts/smooth-app
Apache License 2.0
Dart
@@ -256,8 +256,10 @@ export function FloatingFocusManager<RT extends ReferenceType = ReferenceType>({ } if (typeof initialFocus === 'number') { + if (initialFocus !== -1) { const el = getTabbableElements()[initialFocus] ?? floating; focus(el, el === floating); + } } else if (isHTMLElement(initialFocus.current)) { const...
fix(FloatingFocusManager): ignore initialFocus if set to -1
null
popperjs/popper-core
MIT License
TypeScript
@@ -179,6 +179,7 @@ class Parsedown extends \ParsedownToC $audio['element']['attributes'] = $block['element']['attributes']; unset($audio['element']['attributes']['loading']); $block = $audio; + unset($block['element']['attributes']['alt']); break; case 'video': $video = []; @@ -192,6 +193,7 @@ class Parsedown extends ...
fix: remove "alt" attribute from audio and video
null
cecilapp/cecil
MIT License
PHP
@@ -102,6 +102,6 @@ public class ControllerResourceEventSource<T extends HasMetadata> @Override public Optional<T> getAssociated(T primary) { - return manager().get(ResourceID.fromResource(primary)); + return get(ResourceID.fromResource(primary)); } }
fix: issue with reading from cache
null
java-operator-sdk/java-operator-sdk
Apache License 2.0
Java
@@ -29,6 +29,7 @@ import java.awt.event.KeyEvent; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import java.lang.ref.WeakReference; +import java.lang.reflect.Method; import java.util.List; import java.util.function.Consumer; import java.util.logging.Level; @@ -194,7 +195,8 @@ public a...
fix: should compile on JDK 8
null
jformdesigner/flatlaf
Apache License 2.0
Java
@@ -138,8 +138,7 @@ synchronized boolean updateSources() boolean changed = false; ConferenceSourceMap sourcesToAdd = getPendingRemoteSourcesToAdd(); - //MediaSourceGroupMap sourceGroupsToAdd = getSourceGroupsToAdd(); - ConferenceSourceMap sourcesToRemove = getPendingRemoteSourcesToRemove(); + ConferenceSourceMap source...
fix: Fix updating octo sources
null
jitsi/jicofo
Apache License 2.0
Java
@@ -397,6 +397,11 @@ export const RulingStepOne: React.FC = () => { <DateTime name="isolationToDate" datepickerLabel="Einangrun til" + disabled={ + !workingCase.custodyRestrictions?.includes( + CaseCustodyRestrictions.ISOLATION, + ) + } selectedDate={ workingCase.isolationToDate ? new Date(workingCase.isolationToDate)
fix(judicial-system): Set isolationTo datepicker to disabled if isolation is not selected
null
island-is/island.is
MIT License
TypeScript
@@ -879,6 +879,9 @@ class DreameGen2ValetudoRobot extends DreameValetudoRobot { } else if (statusValue === stateAttrs.StatusStateAttribute.VALUE.IDLE && statusFlag === undefined && this.isCharging === true) { statusValue = stateAttrs.StatusStateAttribute.VALUE.DOCKED; } + } else { + if (this.errorCode === "68") { //Doc...
fix(vendor.dreame): Ignore error 68
null
hypfer/valetudo
Apache License 2.0
JavaScript
@@ -130,7 +130,7 @@ pub fn asn1_encode_report_vcek(chunks: &mut [u8], report: &[u8], vcek: &[u8]) -> let report_chunk_len = report_chunk_len_f()?; let vcek_len = vcek.len(); let len = report_chunk_len - .checked_add(calc_asn_header_len(vcek_len)?)? + .checked_add(calc_asn_header_len(report_chunk_len)?)? .checked_add(vc...
fix(shim-kvm): correct ASN.1 encoding for SNP attestation
null
enarx/enarx
Apache License 2.0
Rust
@@ -55,7 +55,7 @@ class ChatActivity: AppCompatActivity(), IChatView { lateinit var chatPresenter: IChatPresenter val PERM_REQ_CODE = 1 lateinit var recyclerAdapter: ChatFeedRecyclerAdapter - lateinit var textToSpeech: TextToSpeech + var textToSpeech: TextToSpeech? = null var recordingThread: RecordingThread? = null la...
fix: App crash due to unintitialized textToSpeech
null
fossasia/susi_android
Apache License 2.0
Kotlin
@@ -149,6 +149,7 @@ var buildChangeStreamAggregationCommand = function (serverConfig, namespace, pip var command = { aggregate : namespace.collection, pipeline : changeStreamPipeline, + readConcern: { level: 'majority' }, cursor: { batchSize: options.batchSize || 1 }
fix(change-streams): ensure a majority read concern on initial agg
null
mongodb/node-mongodb-native
Apache License 2.0
JavaScript
@@ -165,6 +165,7 @@ public final class DocumentMapping { } }) .filter(fieldType -> isNestedDoc(fieldType)) + .distinct() .collect(Collectors.toMap(k -> k, k -> new DocumentMapping(k, DocumentMapping.this.parent == null ? DocumentMapping.this : DocumentMapping.this.parent, true))); this.scripts = new HashMap<>();
fix(core): use only distinct types when computing nested mappings
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -56,11 +56,16 @@ export class ItemIconComponent implements OnChanges { } handleClick(event: MouseEvent): void { + event.preventDefault(); if (this.disableClick) { return; } if (event.which === 2) { + if (this.ipc.ready) { this.ipc.send('open-link', 'https://ffxivteamcraft.com' + this.getLink()); + } else { + window....
fix(icons): fixed middle click not opening the db page in new tab anymore
null
ffxiv-teamcraft/ffxiv-teamcraft
MIT License
TypeScript
@@ -60,7 +60,7 @@ const DefaultLayout = ({ app, title=false, children=[] }) => { return ( <div className="m-auto flex flex-row justify-center"> - <Aside app={app} slug={slug} before={<ThemePicker app={app}/>}/> + <Aside app={app} slug={slug} before={<ThemePicker app={app} className="block sm:hidden"/>}/> <section class...
fix(org): Hide mobile teampicker on sm and up
null
freesewing/freesewing
MIT License
JavaScript
@@ -3,7 +3,6 @@ import { Controller, Header, Inject, - Get, Post, Res, Param, @@ -12,11 +11,18 @@ import { import { ApiOkResponse } from '@nestjs/swagger' import { Response } from 'express' import { FinanceService } from '@island.is/api/domains/finance' +import { ApiScope } from '@island.is/auth/scopes' import type { U...
fix(service-portal): Configure access control for remaining routes
null
island-is/island.is
MIT License
TypeScript
@@ -88,8 +88,8 @@ type Element struct { // is not constrained and it only safe to use as a receiver in operations. For // elements initialized to values use Zero(), One() or Modulus(). func (fp *Params) Element(api frontend.API) Element { - if uint(api.Curve().Info().Fr.Bits) < 2*fp.nbBits+1 { - panic(fmt.Sprintf("elem...
fix: use scalar field bitlength directly
null
consensys/gnark
Apache License 2.0
Go
@@ -3,6 +3,7 @@ import { join } from 'path'; import { appRootPath } from 'nx/src/utils/app-root'; import type { NxJsonConfiguration, + ProjectConfiguration, ProjectGraph, ProjectGraphProjectNode, TargetDependencyConfig, @@ -347,7 +348,7 @@ export function createTask({ } function addTasksForProjectDependencyConfig( - pr...
fix(core): targets referred to by targetDependencies should be optional by default
null
nrwl/nx
MIT License
TypeScript
@@ -87,9 +87,10 @@ class OrderDetailsViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) } itemView.name.text = "${attendee.firstname} ${attendee.lastname}" - itemView.orderIdentifier.text = orderIdentifier + val ticketIdentifier = "$orderIdentifier-${attendee.id}" + itemView.orderIdentifier.text = ticketIde...
fix: Change the QR value based on server
null
fossasia/open-event-attendee-android
Apache License 2.0
Kotlin
@@ -128,6 +128,7 @@ export default class HTMLFormatter implements IFormatter { .replace(/:/g, '-') .replace(/\./g, '-') .replace(/\//g, '-') + .replace(/[?=]/g, '-query-') .replace(/-$/, ''); const destDir = path.join(process.cwd(), 'hint-report', name); const currentDir = path.join(__dirname);
fix: Replace query parameters in file name with `-query-`
null
webhintio/hint
Apache License 2.0
TypeScript
@@ -55,7 +55,7 @@ public class AttributeOptionComboCheck implements Checker { ImportSummary importSummary = new ImportSummary( event.getEvent() ); importSummary.getConflicts().add( new ImportConflict( "attributeOptionCombo", - "Default attribute option combo is not allowed since program has non-default category combo" ...
fix: Event import AOC error message
null
dhis2/dhis2-core
BSD 3-Clause New or Revised License
Java
@@ -84,16 +84,10 @@ function xhrCallbackWrapper(req, events, blobbed, chunked, isJson) { let responseText; let responseHeaders; let sent = true; + let tmp; const { id, xhr } = req; - // Chrome encodes messages to UTF8 so they can grow up to 4x but 64MB is the message size limit const getChunk = blobbed && blob2objectUr...
fix: guard responseHeaders against proto hooking
null
violentmonkey/violentmonkey
MIT License
JavaScript
@@ -28,6 +28,9 @@ const styles = (theme) => ({ listItemTextDense: { fontWeight: 400 }, + listItemGutters: { + paddingRight: 0 + }, subMenuList: { paddingBottom: theme.spacing.unit * 2 } @@ -146,7 +149,8 @@ class NavigationItemMobile extends Component { button classes={{ root: classes.listItemRoot, - dense: classes.list...
fix: remove right gutter on list item
null
reactioncommerce/example-storefront
Apache License 2.0
JavaScript
@@ -150,7 +150,8 @@ func (tm *transactionMonitor) watchPending() { } if err := tm.checkPending(block); err != nil { - tm.logger.Errorf("error while checking pending transactions: %v", err) + tm.logger.Tracef("error while checking pending transactions: %v", err) + continue } lastBlock = block
fix: don't log checking pending transactions as errors
null
ethersphere/bee
BSD 3-Clause New or Revised License
Go
@@ -68,6 +68,7 @@ class PersonalDataDeletionRequest(Document): SET `{1}` = '{2}' {3} WHERE `name` = '{4}' """.format(ref_doc['doctype'], ref_doc['match_field'], anonymize_match_value,#nosec anonymize_fields, d['name'])) + self.db_set('status', 'Deleted') def remove_unverified_record(): frappe.db.sql("""DELETE FROM `tab...
fix: change status to deleted on data deletion
null
frappe/frappe
MIT License
Python
@@ -78,6 +78,8 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec SetupCameras(); + CreateOsdSource(); + SetIsReady(); } @@ -117,6 +119,17 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec } bool _StandbyIsOn; + /// <summary> + /// Creates the fake OSD source, and connects it's AudioVideo output to...
fix(essentials): updates MockVc to instantiate the OsdSource and add its tie line
null
pepperdash/essentials
MIT License
C#
@@ -92,16 +92,16 @@ namespace WalkingTec.Mvvm.Admin.Api [HttpPost("[action]")] [ActionDescription("Delete")] - public async Task<ActionResult> Delete(string ModelName, Guid Id, DpTypeEnum Type) + public async Task<ActionResult> Delete(SimpleDpModel dp) { DataPrivilegeVM vm = null; - if (Type == DpTypeEnum.User) + if (d...
fix: fix dataprivilege api
null
dotnetcore/wtm
MIT License
C#
@@ -83,7 +83,8 @@ if config_env() != :test do replica_repos = %{ Realtime.Repo.Replica.FRA => System.get_env("DB_HOST_REPLICA_FRA", default_db_host), Realtime.Repo.Replica.IAD => System.get_env("DB_HOST_REPLICA_IAD", default_db_host), - Realtime.Repo.Replica.SIN => System.get_env("DB_HOST_REPLICA_SIN", default_db_host)...
fix: load sjc replica from DB_HOST_REPLICA_SJC env var
null
supabase/realtime
Apache License 2.0
Elixir
@@ -6,10 +6,14 @@ import androidx.compose.foundation.indication import androidx.compose.foundation.interaction.MutableInteractionSource import androidx.compose.foundation.interaction.PressInteraction import androidx.compose.material.ripple.rememberRipple -import androidx.compose.runtime.* +import androidx.compose.runti...
fix: Stepper doesn't update backing field if it gets disabled while pressed (fixes
null
fate-grand-automata/fga
MIT License
Kotlin
@@ -104,17 +104,11 @@ class ImagePreview extends Component<ImagePreviewProps, any> { this.moving = true; }; - onChangeEnd = () => { - this.moving = false; - }; - close = () => { - if (!('ontouchend' in document) && !this.moving) { const { onHide } = this.props; - if (typeof onHide === 'function') { + if (typeof onHide ...
fix: pc drag swipe dispatch click
null
zhongantech/zarm
MIT License
TypeScript
@@ -321,10 +321,10 @@ func (r *ec2Repository) ListAllVPCs() ([]*ec2.Vpc, []*ec2.Vpc, error) { func (r *ec2Repository) ListAllSecurityGroups() ([]*ec2.SecurityGroup, []*ec2.SecurityGroup, error) { cacheKey := "ec2ListAllSecurityGroups" cacheSecurityGroups := r.cache.GetAndLock(cacheKey) - r.cache.Unlock(cacheKey) + defe...
fix: add missing defer to cache.Unlock
null
cloudskiff/driftctl
Apache License 2.0
Go
@@ -142,7 +142,6 @@ pub trait Metric<N: NodeInfo> { /// Invariants: /// /// - `from_base_units(to_base_units(x)) == x` is True for valid `x` - /// - `is_boundary(to_base_units(x))` is True for all `x` fn to_base_units(l: &N::L, in_measured_units: usize) -> usize; /// Returns the smallest offset in measured units corres...
fix(comments): remove comment about invariant
null
xi-editor/xi-editor
Apache License 2.0
Rust
@@ -225,6 +225,17 @@ public class DefaultSourceFileResolver extends SourceFileResolver { } } + // if sourceFilePath is a absolute path check if it is under the workspace directory + if (sourceFilePath.startsWith(File.separator)) { + if (sourceFilePath.startsWith(f.getAbsolutePath())) { + sourceFile = new File(sourceFil...
fix: cannot read source file with absolute path
null
jenkinsci/code-coverage-api-plugin
MIT License
Java
@@ -1107,6 +1107,10 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat } private void initValidConnectionChecker() { + if (this.validConnectionChecker != null) { + return; + } + String realDriverClassName = driver.getClass().getName(); if (JdbcUtils.isMySqlDriver(realDriverClassName)) {...
fix: Cannot using customized ValidConnectionChecker when loading known drivers such as MySQL Driver
null
alibaba/druid
Apache License 2.0
Java
<?php + return [ /* |--------------------------------------------------------------------------------------- @@ -10,6 +11,7 @@ return [ | Jangan ragu untuk mengoptimalkan setiap pesan yang ada di sini. | */ + 'accepted' => ':attribute harus diterima.', 'active_url' => ':attribute bukan URL yang valid.', 'after' => ':at...
fix: add break lines
null
laravel-lang/lang
MIT License
PHP
@@ -88,7 +88,7 @@ defmodule Ash.Actions.Aggregate do defp validate_aggregates(query, aggregates) do aggregates |> Enum.reduce_while({:ok, []}, fn - %Ash.Resource.Aggregate{} = aggregate, {:ok, aggregates} -> + %Ash.Query.Aggregate{} = aggregate, {:ok, aggregates} -> {:cont, {:ok, [aggregate | aggregates]}} {name, kind}...
fix: pattern match problem in aggregate action
null
ash-project/ash
MIT License
Elixir
@@ -66,7 +66,7 @@ public class ReverseAstBuilder<T> { continue; } if (!PRIMITIVES.contains(node.object.getClass())) { - List<Node> children; + Collection<Node> children; if (node.object instanceof Map) { children = handleMap((Map<?, ?>) node.object, node.pointer, node.marker); } else if (node.object instanceof List) { ...
fix(server): Switched back to Deque implementation
null
zalando/zally
MIT License
Java
@@ -62,9 +62,9 @@ namespace IntegrationTests GitClient.Clean(new List<string> { m_CleanFiles[0], m_CleanFiles[2] }).RunSynchronously(); - File.Exists(m_CleanFiles[0]).Should().BeFalse(); - File.Exists(m_CleanFiles[1]).Should().BeTrue(); - File.Exists(m_CleanFiles[2]).Should().BeFalse(); + m_CleanFiles[0].ToNPath().Exis...
fix: missed switching exist calls for clean tests to NPath
null
unity-technologies/git-for-unity
MIT License
C#
@@ -665,7 +665,19 @@ func RetryWorkflow(kubeClient kubernetes.Interface, hydrator hydrator.Interface, default: return nil, errors.Errorf(errors.CodeBadRequest, "workflow must be Failed/Error to retry") } + var updated *wfv1.Workflow + err := wait.ExponentialBackoff(retry.DefaultRetry, func() (bool, error) { + var err e...
fix(cli): Add retry to retry ;). Fixes
null
argoproj/argo-workflows
Apache License 2.0
Go
@@ -38,6 +38,7 @@ Operate a local testnet update/up-specific options: edge - Update/start the "edge" channel network beta - Update/start the "beta" channel network + -n - Optional Docker network to join Default channel: $channel @@ -76,6 +77,11 @@ up) fi [[ $channel = edge || $channel = beta ]] || usage "Invalid channe...
fix: Add network parameter to localnet run
null
solana-labs/solana-web3.js
MIT License
Shell
@@ -14,7 +14,7 @@ class CurrencyInput extends Input public int $precision; - public int $emitFormatted; + public bool $emitFormatted; public function __construct( string $thousands = ',',
fix: change property type to bool instead int
null
wireui/wireui
MIT License
PHP
@@ -260,14 +260,14 @@ func sendUplinkMetaDataToNetworkController(ctx *joinContext) error { _, err := controller.Client().HandleUplinkMetaData(ctx.ctx, &req) if err != nil { log.WithError(err).WithFields(log.Fields{ - "dev_eui": ctx.DeviceSession.DevEUI, + "dev_eui": ctx.JoinRequestPayload.DevEUI, "ctx_id": ctx.ctx.Valu...
fix: ctx.DeviceSession may not be assigned
null
brocaar/chirpstack-network-server
MIT License
Go
@@ -125,7 +125,15 @@ defmodule Ash.Actions.ManagedRelationships do end _ -> - {:cont, {changeset, instructions}} + create_belongs_to_record( + changeset, + instructions, + relationship, + input, + actor, + index, + opts + ) end end end
fix: handle `on_lookup` + `on_no_match` for `belongs_to`
null
ash-project/ash
MIT License
Elixir
@@ -258,6 +258,12 @@ class OutOfBandManager(BaseConnectionManager): async with self.profile.session() as session: await conn_rec.save(session, reason="Created new invitation") await conn_rec.attach_invitation(session, invi_msg) + + await conn_rec.attach_invitation(session, invi_msg) + + if metadata: + for key, value in...
fix: save metadata on OOB invitation with public DID
null
hyperledger/aries-cloudagent-python
Apache License 2.0
Python
@@ -85,7 +85,7 @@ resize_fs() { publish_image() { # STATIC -# TEMPLATE: publish_image $JENKINS_HOME $IMAGE_NAME $WORKSPACE $CONFIG_FILE $RELEASE_ID $RELEASE_BODY +# TEMPLATE: publish_image $BUILD_DIRECTORY $IMAGE_NAME $WORKSPACE $CONFIG_FILE $RELEASE_ID $RELEASE_BODY # https://developer.github.com/v3/repos/releases/ #R...
fix: replace $JENKINS_HOME to $BUILD_DIRECTORY
null
copterexpress/clover
MIT License
Shell
@@ -113,11 +113,13 @@ impl MultiExpansionResult { let Self { contracts, shared_types, .. } = self; + if !shared_types.is_empty() { tokens.extend(quote! { pub mod #shared_types_module { #( #shared_types )* } }); + } tokens.extend(contracts.into_iter().map(|(exp, _)| exp.into_tokens())); @@ -977,6 +979,22 @@ mod tests { ...
fix(abigen): dont generate empty shared_types module
null
gakonst/ethers-rs
Apache License 2.0
Rust
@@ -82,7 +82,7 @@ class Query { Future<DataSnapshot> once() async => (await onValue.first).snapshot; /// Gets the most up-to-date result for this query. - Future<DataSnapshot?> get() async { + Future<DataSnapshot> get() async { final result = await _database._channel.invokeMethod<Map<dynamic, dynamic>>( 'Query#get', <S...
fix(database): DataSnapshot is always present
null
firebaseextended/flutterfire
BSD 3-Clause New or Revised License
Dart
@@ -961,7 +961,8 @@ class Document(BaseDocument): update_global_search(self) - if getattr(self.meta, 'track_changes', False) and not self.flags.ignore_version and not self.doctype == 'Version': + if getattr(self.meta, 'track_changes', False) and not self.flags.ignore_version \ + and not self.doctype == 'Version' and no...
fix: Don't create Version in install
null
frappe/frappe
MIT License
Python
@@ -730,7 +730,7 @@ describe('users index', () => { }) it('isValidValue should return true', async () => { - const isValidValue = await userStorage.isValidValue('email', 'test@test.com') + const isValidValue = await userStorage.constructor.isValidValue('email', 'test@test.com') expect(isValidValue).toBeTruthy() }) @@ -...
fix: use userstorage new static isvalidvalue
null
gooddollar/gooddapp
MIT License
JavaScript
@@ -1142,12 +1142,12 @@ discord_gateway_run(struct discord_gateway *gw) void discord_gateway_shutdown(struct discord_gateway *gw) { - ws_set_action(gw->ws, WS_ACTION_DISCONNECT); gw->reconnect.enable = false; + ws_set_action(gw->ws, WS_ACTION_DISCONNECT); } void discord_gateway_reconnect(struct discord_gateway *gw) { -...
fix: treat potential race-condition
null
cee-studio/orca
MIT License
C
@@ -102,19 +102,19 @@ impl WatcherManagerCore { #[tracing::instrument(level = "trace", skip(self))] async fn watcher_manager_main(mut self) { loop { - tokio::select! { - event = self.event_rx.recv() => { - if let Some(event) = event { + if let Some(event) = self.event_rx.recv().await { match event { - WatcherEvent::Cre...
fix: remove select in watcher_manager_main
null
datafuselabs/databend
Apache License 2.0
Rust
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit'; import BN from 'bn.js'; +import { pick } from 'lodash'; import set from 'lodash.set'; import { createSelector } from 'reselect'; @@ -30,7 +31,9 @@ async function getCachedContractMetadataOrFetch(contractName, accountId, state) if (contractMetadata) { ret...
fix: only pick relevant ft_metadata props
null
near/near-wallet
MIT License
JavaScript
@@ -112,6 +112,7 @@ func main() { ZoneTypeFilter: zoneTypeFilter, BatchChangeSize: cfg.AWSBatchChangeSize, BatchChangeInterval: cfg.AWSBatchChangeInterval, + EvaluateTargetHealth: cfg.AWSEvaluateTargetHealth, AssumeRole: cfg.AWSAssumeRole, DryRun: cfg.DryRun, },
fix: pass all relevant CLI flags to AWS provider
null
kubernetes-sigs/external-dns
Apache License 2.0
Go
@@ -171,7 +171,7 @@ namespace OrchardCore.Media.Controllers // var maxUploadSize = section.GetValue("MaxRequestBodySize", 100_000_000); var maxFileSize = section.GetValue("MaxFileSize", 30_000_000); - var allowedFileExtensions = section.GetValue("AllowedFileExtensions", DefaultAllowedFileExtensions); + var allowedFileE...
fix: OrchardCore.Media AllowedFileExtensions Configuration Does Not Work
null
orchardcms/orchardcore
BSD 3-Clause New or Revised License
C#
#include "components/renderer.hpp" + #include "cairo/context.hpp" #include "components/config.hpp" #include "events/signal.hpp" @@ -454,11 +455,25 @@ double renderer::block_x(alignment a) const { return std::max(base_pos - block_w(a) / 2.0, min_pos); } case alignment::RIGHT: { - double gap{0.0}; - if (block_w(alignment...
fix(renderer): Correctly position right block if center is empty
null
polybar/polybar
MIT License
C++
@@ -162,7 +162,7 @@ impl MainWin { debug!("auto indent {}", value); config.lock().unwrap().auto_indent = toml::Value::Boolean(value); if let Some(config_file_path) = &config_file_path_ai { - debug!("Config dir: {}", &config_file_path); + debug!("config file: {}", &config_file_path); config.lock().unwrap().save(&config_...
fix(main_win): fix config file debug msg
null
cogitri/tau
MIT License
Rust
@@ -79,10 +79,13 @@ public final class ConceptSuggestionRequest extends SearchResourceRequest<Branch protected Suggestions doExecute(BranchContext context) throws IOException { TermFilter termFilter; - int minShouldMatch = containsKey(MIN_OCCURENCE_COUNT) ? (Integer) get(MIN_OCCURENCE_COUNT): DEFAULT_MIN_OCCURENCE_COUN...
fix: only use minWordMatchCount if it is set
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -85,8 +85,8 @@ class AbstractCommand extends Command // checks file(s) foreach ($this->configFiles as $fileName => $filePath) { if (!file_exists($filePath)) { - $this->getBuilder()->getLogger()->error(\sprintf('Could not find configuration file "%s": uses default/others.', $fileName)); unset($this->configFiles[$file...
fix: config loading check
null
cecilapp/cecil
MIT License
PHP
@@ -761,7 +761,7 @@ impl Client { /// `Err`, the error will be forwarded. /// /// * `server_url` - The local URL the server is going to try to bind to, e.g. `http://localhost:3030`. - /// If `None`, the server will try to open a random port on localhost. + /// If `None`, the server will try to open a random port on `12...
fix(sdk): Bind SSO login server to 127.0.0.1 instead of localhost
null
matrix-org/matrix-rust-sdk
Apache License 2.0
Rust
@@ -53,7 +53,7 @@ export const lockIcon = ({ label = 'Done Editing', // icon = 'fas fa-unlock-alt', tooltip = 'Return to read-only mode', // TODO externalize string - direct = gotoReadonlyLocalFile({ getEntity }) + command = gotoReadonlyLocalFile({ getEntity }) }) => ({ mode, label, @@ -61,5 +61,6 @@ export const lockI...
fix(plugins/plugin-editor): remove leftover use of old `direct` API
null
ibm/kui
Apache License 2.0
TypeScript
@@ -91,7 +91,7 @@ class PointAnnotationLayer(Layer): def volume_source(x): if isinstance(x, local_volume.LocalVolume): return x - if not isinstance(x, basestring): + if not isinstance(x, six.string_types): raise TypeError return text_type(x) @@ -234,14 +234,14 @@ class Layers(object): def __getitem__(self, k): """Index...
fix(python): Python3 compatibility for ViewerState
null
google/neuroglancer
Apache License 2.0
Python
@@ -234,7 +234,9 @@ func AdaptFunc(whitelist WhiteListFunc) orbiter.AdaptFunc { for _, desiredVIPs := range desiredKind.Spec { vips = append(vips, desiredVIPs...) } - nginxNATTemplate = template.Must(template.New("").Funcs(templateFuncs).Parse(`events { + nginxNATTemplate = template.Must(template.New("").Funcs(template...
fix: desire file descriptor limit in nginx config
null
caos/orbos
Apache License 2.0
Go
@@ -95,7 +95,7 @@ export const writeNavigationTimingMetrics = async function writeNavigationTiming const line = {measurement, tags, fields} - const url = '/app-metrics' + const url = '/api/v2/app-metrics' fetch(url, { method: 'POST', body: JSON.stringify(line),
fix: update app-metrics path to point to the right place
null
influxdata/influxdb
MIT License
TypeScript
package au.com.dius.pact.provider +import au.com.dius.pact.core.matchers.BodyMismatch import au.com.dius.pact.core.matchers.BodyTypeMismatch import au.com.dius.pact.core.matchers.HeaderMismatch import au.com.dius.pact.core.matchers.MetadataMismatch +import au.com.dius.pact.core.matchers.Mismatch import au.com.dius.pact...
fix: Correctly return verification results from plugin
null
pact-foundation/pact-jvm
Apache License 2.0
Kotlin
@@ -289,13 +289,14 @@ public class WebParticipant extends Participant<WebDriver> @Override public void pressShortcut(Character shortcut) { - // We just need some element to which to send the shortcut (so that - // the focused element doesn't swallow them). + // We've observed intermittent failures with the keys being s...
fix: Another attempt to fix ChatPanelTest
null
jitsi/jitsi-meet-torture
Apache License 2.0
Java
@@ -1154,6 +1154,9 @@ DataArray histogram(const DataConstProxy &sparse, throw std::logic_error("Only the simple case histograms may be constructed " "for now: 2 dims including sparse."); auto dim = binEdges.dims().inner(); + if (binEdges.unit() != sparse.coords()[dim].unit()) + throw std::logic_error( + "Bin edges must...
fix: Check unit in `histogram`
null
scipp/scipp
BSD 3-Clause New or Revised License
C++
@@ -51,19 +51,13 @@ class KnowledgePanelTitleCard extends StatelessWidget { width: constraints.maxWidth, child: Text( knowledgePanelTitleElement.title, - maxLines: 2, - overflow: TextOverflow.ellipsis, style: TextStyle(color: colorFromEvaluation), ), ), if (knowledgePanelTitleElement.subtitle != null) SizedBox( width: ...
fix: - no more constraints on number of lines
null
openfoodfacts/smooth-app
Apache License 2.0
Dart
@@ -42,7 +42,7 @@ public class TextViewPool { if(parent != null) { parent.removeView(textView); } - + textView.setText(""); busyTextViewList.remove(textView); idelTextViewList.add(textView);
fix(ass): clear Subtitle TextView
null
alibaba/cicadaplayer
MIT License
Java
@@ -56,6 +56,7 @@ func New(cfg *config.Config, projectCfg *config.TerraformProject) schema.Provide spinnerOpts: spin.Options{ EnableLogging: cfg.IsLogging(), NoColor: cfg.NoColor, + Indent: " ", }, binary: binary, dir: dir,
fix(spinner): fix spinner indent
null
infracost/infracost
Apache License 2.0
Go
@@ -37,7 +37,7 @@ public class Item extends Component { */ public Item(final WebDriver driver, final WebElement root) { super(driver, NAME, root); - this.wait = new WebDriverWait(driver, 1); + this.wait = new WebDriverWait(driver, 3); } /** @@ -134,36 +134,28 @@ public class Item extends Component { jsExec.executeScrip...
fix(component-objects): click on action random fail
null
talend/ui
Apache License 2.0
Java
@@ -51,6 +51,7 @@ pub mod linux { #[inline(always)] fn mmap_alloc(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { debug_assert!(layout.align() <= page_size()); + ThreadTracker::alloc(layout.size() as i64); const PROT: i32 = libc::PROT_READ | libc::PROT_WRITE; const FLAGS: i32 = libc::MAP_PRIVATE | libc::M...
fix(base): fix memory lost for mmap
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -178,6 +178,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then if [ "$(cat ${CLCONF} | grep -c "^rpc-file-mode=0660")" -eq 0 ]; then echo "rpc-file-mode=0660" | tee -a ${CLCONF} fi + /usr/sbin/usermod --append --groups bitcoin blitzapi cd /home/blitzapi || exit 1 # git clone https://github.com/fusion44/blitz_api.git /h...
fix: CLN datadir symlink for blitzapi
null
rootzoll/raspiblitz
MIT License
Shell
@@ -18,6 +18,7 @@ import net.dv8tion.jda.api.utils.data.DataArray import net.dv8tion.jda.api.utils.data.DataObject import net.dv8tion.jda.internal.JDAImpl import java.time.Instant +import java.util.* import kotlin.coroutines.resume import kotlin.coroutines.suspendCoroutine @@ -105,7 +106,9 @@ data class ModularMessage(...
fix: allowpings do more ping ?
null
toxicmushroom/melijn
MIT License
Kotlin
@@ -37,9 +37,15 @@ func (s *server) pssPostHandler(w http.ResponseWriter, r *http.Request) { for _, v := range tgts { target, err := hex.DecodeString(v) - if err != nil || len(target) > targetMaxLength { - s.logger.Debugf("pss send: bad targets: %v", err) - s.logger.Error("pss send: bad targets") + if err != nil { + s....
fix: granular pss errors
null
ethersphere/bee
BSD 3-Clause New or Revised License
Go
@@ -247,7 +247,7 @@ bool ECDSet::save_dipoles_bdip(const QString& fileName) if (fclose(out) != 0) { out = NULL; printf(fileName.toUtf8().data()); - goto bad; + return false; } printf("Save %d dipoles in bdip format to %s\n",nsave,fileName.toUtf8().data()); return true;
fix: Remove goto and return false directly. (Coverity 159841 Logically dead code)
null
mne-tools/mne-cpp
BSD 3-Clause New or Revised License
C++
@@ -111,7 +111,7 @@ async def check_address_balance(charge_id: str) -> List[Charges]: + charge.onchainaddress ) respAmount = r.json()["chain_stats"]["funded_txo_sum"] - if respAmount >= charge.balance: + if respAmount > charge.balance: await update_charge(charge_id=charge_id, balance=respAmount) except Exception: pass
fix: do not update charge if balance has not changed
null
lnbits/lnbits
MIT License
Python
@@ -2,6 +2,7 @@ package art import ( "context" + "encoding/json" "fmt" "net/url" "strings" @@ -13,6 +14,7 @@ import ( "github.com/jfrog/jfrog-client-go/config" "github.com/jfrog/jfrog-client-go/distribution" authdistrib "github.com/jfrog/jfrog-client-go/distribution/auth" + "github.com/pkg/errors" "github.com/ovh/cds/s...
fix(contrib/integration/artifactory): handle multiple releases repositories
null
ovh/cds
BSD 3-Clause New or Revised License
Go
@@ -4,23 +4,22 @@ import com.direwolf20.buildinggadgets.client.renders.BaseRenderer; import com.direwolf20.buildinggadgets.client.renders.BuildRender; import com.direwolf20.buildinggadgets.common.blocks.EffectBlock; import com.direwolf20.buildinggadgets.common.blocks.OurBlocks; -import com.direwolf20.buildinggadgets.co...
fix: added back auto-remove of the anchor for the exchanger
null
direwolf20-mc/buildinggadgets
MIT License
Java
@@ -25,8 +25,8 @@ test('merges env config', () => { ) expect(reduced.root).toEqual(true) - expect(reduced.api.projectId).toEqual('onlyInOriginal') - expect(reduced.api.dataset).toEqual('xyz') + expect(reduced.api?.projectId).toEqual('onlyInOriginal') + expect(reduced.api?.dataset).toEqual('xyz') expect((reduced as any)...
fix(util): fix TS issues
null
sanity-io/sanity
MIT License
TypeScript
@@ -410,7 +410,7 @@ func JoinClusterByKubeConfig(ctx context.Context, cli client.Client, kubeconfigP } } if cfg, ok := ctx.Value(KubeConfigContext).(*rest.Config); ok { - if err = SetClusterVersionInfo(ctx, cfg, clusterName); err != nil { + if err = SetClusterVersionInfo(ctx, cfg, clusterConfig.ClusterName); err != nil...
fix: vela cluster join reports 'resource name may not be empty' error
null
oam-dev/kubevela
Apache License 2.0
Go
@@ -10,7 +10,7 @@ class TestMRtrix3(object): 'pkg_manager': 'yum', 'instructions': [ ('base', 'centos:7'), - ('mrtrix3', {'version': '3.0'}), + ('mrtrix3', {'version': '3.0_RC3'}), ('user', 'neuro'), ], } @@ -24,7 +24,7 @@ class TestMRtrix3(object): 'pkg_manager': 'yum', 'instructions': [ ('base', 'docker://centos:7'),...
fix: use new version numbers
null
repronim/neurodocker
Apache License 2.0
Python
#!/bin/bash +# set -x + cp app/haproxy-wi.cfg /tmp/ git reset --hard git pull https://github.com/Aidaho12/haproxy-wi.git +mv -f /tmp/haproxy-wi.cfg app/haproxy-wi.cfg + mkdir keys mkdir app/certs chmod +x app/*py @@ -24,7 +28,6 @@ pip3 install -r ../requirements.txt pip3.5 install -r ../requirements.txt chmod +x ../upd...
fix: Moving haproxy-wi.cfg before running ./create_db.py
null
hap-wi/roxy-wi
Apache License 2.0
Shell
// that can be found in the LICENSE file exposed on Github (readium) in the project repository. // ==LICENSE-END== +import { encodeURIComponent_RFC3986 } from "r2-utils-js/dist/es8-es2017/src/_utils/http/UrlUtils"; import * as React from "react"; import { connect } from "react-redux"; import { Link } from "react-router...
fix: tag name in react-router encoded with encodeURIComponent_RFC3986
null
edrlab/thorium-reader
BSD 3-Clause New or Revised License
TypeScript
@@ -163,6 +163,8 @@ function validateExpressRequest(request, authToken, opts) { }); if (request.originalUrl.search(/\?/) >= 0) { webhookUrl = webhookUrl.replace(/%3F/g, '?'); + webhookUrl = webhookUrl.replace(/%3A/g, ':'); + webhookUrl = webhookUrl.replace(/%40/g, '@'); } }
fix: X-Twilio-Signature validation when URL query parameters contain @ or
null
twilio/twilio-node
MIT License
JavaScript
@@ -156,7 +156,7 @@ func (t *Tag) Get(state State) int64 { return atomic.LoadInt64(v) } -// GetTotal returns the total count +// TotalCounter returns the total count func (t *Tag) TotalCounter() int64 { return atomic.LoadInt64(&t.Total) } @@ -169,6 +169,8 @@ func (t *Tag) WaitTillDone(ctx context.Context, s State) erro...
fix: add missing ticker stop
null
ethersphere/bee
BSD 3-Clause New or Revised License
Go
@@ -23,6 +23,7 @@ import com.chesire.malime.injection.Injectable import com.chesire.malime.util.SharedPref import com.chesire.malime.util.autoCleared import com.chesire.malime.util.extension.hideSystemKeyboard +import kotlinx.android.synthetic.main.fragment_search.search_search_term_edit_text import timber.log.Timber i...
fix(search): fix the search not populating
null
chesire/nekome
Apache License 2.0
Kotlin
import 'dart:async'; import 'dart:io'; -import 'dart:convert'; import 'package:dio/dio.dart'; import 'package:kraken/bridge.dart'; @@ -30,14 +29,11 @@ class FetchModule extends BaseModule { _fetch(url, options).then((Response response) { callback(data: ['', response.statusCode, response.data]); }).catchError((e, stack)...
fix: fix fetch and xhr error handing
null
openkraken/kraken
Apache License 2.0
Dart
@@ -916,26 +916,19 @@ static MetroWindow() /// </summary> public MetroWindow() { + this.SetCurrentValue(MetroDialogOptionsProperty, new MetroDialogSettings()); + // BorderlessWindowBehavior initialization has to occur in constructor. Otherwise the load event is fired early and performance of the window is degraded. thi...
fix: possible wrong sizing of GlowWindowBehavior with higher DPI
null
mahapps/mahapps.metro
MIT License
C#
@@ -67,6 +67,11 @@ func (r *Route53APIStub) ListResourceRecordSetsPages(input *route53.ListResource } func (r *Route53APIStub) ChangeResourceRecordSets(input *route53.ChangeResourceRecordSetsInput) (*route53.ChangeResourceRecordSetsOutput, error) { + _, ok := r.zones[*input.HostedZoneId] + if !ok { + return nil, fmt.Er...
fix(dnsprovider): have route53 mock fail when zone is missing
null
kubernetes-sigs/external-dns
Apache License 2.0
Go
@@ -754,6 +754,7 @@ fn check_subcommand<'a>() -> Command<'a> { Arg::new("remote") .long("remote") .help("Type-check all modules, including remote") + .conflicts_with("no-remote") ) .arg( Arg::new("file") @@ -3835,6 +3836,15 @@ mod tests { ..Flags::default() } ); + + let r = flags_from_vec(svec![ + "deno", + "check", + ...
fix(check): --remote and --no-remote should be mutually exclusive
null
denoland/deno
MIT License
Rust
@@ -1593,9 +1593,24 @@ module.exports = class okex extends Exchange { const code = this.safeCurrencyCode (id); const balance = this.safeValue (info, id, {}); const account = this.account (); + const totalAvailBalance = this.safeFloat (balance, 'total_avail_balance'); + if (this.safeString(balance, 'margin_mode') === 'f...
fix: okex parse futures account
null
ccxt/ccxt
MIT License
JavaScript
@@ -107,7 +107,7 @@ extension Web3 { if let ethAddress = EthereumAddress(string) { return ethAddress.address } - if let url = URL(string: string) { + if URL(string: string) != nil { return string } } @@ -163,7 +163,7 @@ extension Web3 { return Data(bytes).toHexString().addHexPrefix() } else if let string = rawValue as?...
fix: bytes(length: ...) ABI type encoding fixed
null
skywinder/web3swift
Apache License 2.0
Swift
@@ -87,8 +87,10 @@ open class Core: UIBaseObject, UIGestureRecognizerDelegate { } fileprivate func bindEventListeners() { + #if os(iOS) listenTo(self, eventName: InternalEvent.userRequestEnterInFullscreen.rawValue) { [weak self] _ in self?.fullscreenHandler?.enterInFullscreen() } listenTo(self, eventName: InternalEvent...
fix: removing compiler error on bindEventListeners in tvOS target
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -4987,7 +4987,12 @@ def _rule_statuses_changed(current_statuses, last_statuses): def _logs_init(sagemaker_session, description, job): """Placeholder docstring""" if job == "Training": + if description["ResourceConfig"]["InstanceCount"] is not None: instance_count = description["ResourceConfig"]["InstanceCount"] + el...
fix: Fixing the logic to return instanceCount for heterogeneousClusters
null
aws/sagemaker-python-sdk
Apache License 2.0
Python
@@ -104,7 +104,7 @@ func (d *db) ExecAll(req *schema.ExecAllRequest) (*schema.TxMetadata, error) { // zAdd arguments are converted in regular key value items and then atomically inserted _, exists := kmap[sha256.Sum256(x.ZAdd.Key)] - if !exists { + if !exists || x.ZAdd.AtTx > 0 { // check referenced key exists and it's...
fix(pkg/database): lookup for referenced key when atTx is non-zero
null
codenotary/immudb
Apache License 2.0
Go