diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -95,6 +95,11 @@ defmodule Ash.Resource do end end + @spec extensions(Ash.resource()) :: [module] + def extensions(resource) do + :persistent_term.get({resource, :extensions}, []) + end + @spec description(Ash.resource()) :: String.t() | nil def description(resource) do Extension.get_opt(resource, [:resource], :descr...
fix: add back `extensions/1` helper to resources
null
ash-project/ash
MIT License
Elixir
@@ -1308,26 +1308,29 @@ namespace Unity.Netcode.Editor.CodeGen processor.Emit(OpCodes.Ldc_I4, (int)NetworkBehaviour.__RpcExecStage.None); processor.Emit(OpCodes.Stfld, m_NetworkBehaviour_rpc_exec_stage_FieldRef); - //try ends/catch begins - var catchEnds = processor.Create(OpCodes.Nop); - processor.Emit(OpCodes.Leave, ...
fix: resolving issue with IL2CPP compiling
null
unity-technologies/com.unity.multiplayer.mlapi
MIT License
C#
@@ -6,6 +6,8 @@ import { DOCUMENT } from '@angular/platform-browser'; import { Observable } from 'rxjs/Observable'; import { Subject } from 'rxjs/Subject'; import * as SimpleMDE from 'simplemde'; +// get access to the marked class under simplemde +import * as marked from 'marked'; // using 'import * as' not working in ...
fix(xss): Fix XSS vulnerability with Text Editor contents (closes
null
teradata/covalent
MIT License
TypeScript
@@ -31,7 +31,7 @@ public final class NotificationScheduler { func requestAuthorization() { let center = UNUserNotificationCenter.current() // Request permission to display alerts and play sounds. - center.requestAuthorization(options: [.alert, .sound]) { _, _ in + center.requestAuthorization(options: [.alert]) { _, _ i...
fix: don't require sound notification
null
ln-zap/zap-ios
MIT License
Swift
@@ -163,20 +163,23 @@ class LDAPSettings(Document): ldap_object_class = 'Group' ldap_group_members_attribute = 'member' + user_search_str = user.entry_dn elif self.ldap_directory_server.lower() == 'openldap': ldap_object_class = 'posixgroup' ldap_group_members_attribute = 'memberuid' + user_search_str = getattr(user, s...
fix(ldap): Don't reach outside function for user details
null
frappe/frappe
MIT License
Python
@@ -2015,7 +2015,7 @@ func (bexp *LikeBoolExp) requiresType(t SQLValueType, cols map[string]*ColDescri } if t != BooleanType { - return fmt.Errorf("error in 'LIKE' clause: %w (expecting %s)", ErrInvalidTypes, VarcharType) + return fmt.Errorf("error using the value of the LIKE operator as %s: %w", t, ErrInvalidTypes) } ...
fix(embedded/sql): param substitution in LIKE expression
null
codenotary/immudb
Apache License 2.0
Go
@@ -222,11 +222,18 @@ class ChatSettingsFragment : PreferenceFragmentCompat(), ISettingsView { } private fun setLanguage() { + try { if (querylanguage.entries.isNotEmpty()) { val index = querylanguage.findIndexOfValue(PrefManager.getString(Constant.LANGUAGE, Constant.DEFAULT)) querylanguage.setValueIndex(index) queryla...
fix: app crash on clicking settings
null
fossasia/susi_android
Apache License 2.0
Kotlin
-import {isEqual} from 'lodash' import { distinctUntilChanged, map, @@ -53,14 +52,6 @@ export const validation = memoize( ) ), scan((prev, next) => ({...prev, ...next}), INITIAL_VALIDATION_STATUS), - scan((prev, next) => { - if (isEqual(prev.markers, next.markers)) { - // Ensure referential identity if the markers did ...
fix(base): remove optimization that caused validation stream to produce outdated results
null
sanity-io/sanity
MIT License
TypeScript
@@ -23,7 +23,8 @@ from ._decomp_qz import ordqz from .decomp import _asarray_validated from .special_matrices import kron, block_diag -__all__ = ['solve_sylvester', 'solve_lyapunov', 'solve_discrete_lyapunov', +__all__ = ['solve_sylvester', + 'solve_continuous_lyapunov', 'solve_discrete_lyapunov', 'solve_continuous_are...
fix: Corrected the syntax errors and doc maintenance
null
scipy/scipy
BSD 3-Clause New or Revised License
Python
@@ -65,6 +65,7 @@ void handleInvokeModuleTransientCallback(void *callbackContext, int32_t contextI JS_PROP_WRITABLE | JS_PROP_CONFIGURABLE); JSValue arguments[] = {errorObject}; returnValue = JS_Call(ctx, callback, context->global(), 1, arguments); + JS_FreeValue(ctx, errorObject); } else { std::u16string argumentStrin...
fix: fix invoke module leaks when error
null
openkraken/kraken
Apache License 2.0
C++
@@ -345,7 +345,7 @@ type VCSBranch struct { DisplayID string `json:"display_id"` LatestCommit string `json:"latest_commit"` Default bool `json:"default"` - Parents []string `json:"default"` + Parents []string `json:"parents"` } //VCSPushEvent represents a push events for polling
fix(api): json key for parents commit
null
ovh/cds
BSD 3-Clause New or Revised License
Go
@@ -340,6 +340,13 @@ static void inc_count(int delta) pthread_mutex_unlock(&azk_mtx); } +static void clear_count(void) +{ + pthread_mutex_lock(&azk_mtx); + azk_count = 0; + pthread_mutex_unlock(&azk_mtx); +} + static int wait_count(int timeout) { struct timeval tv; @@ -1674,6 +1681,8 @@ int arcus_zk_rejoin_ensemble() {...
fix: clear azk_count during zookeeper rejoin process
null
naver/arcus-memcached
Apache License 2.0
C
@@ -125,9 +125,15 @@ export class EndScreenModule { } } - generateText (text, size, align, color) { + fitTextInWidth (text, width) { + let currText = text.text + while (text.width > width) { + currText = currText.slice(0, -1) + text.text = currText + '...' + } + } + generateText (text, size, align, color, maxWidth = nu...
fix(endscreen): handling too long texts
null
codingame/codingame-game-engine
MIT License
JavaScript
@@ -79,7 +79,7 @@ impl std::fmt::Display for Status<'_> { } } -pub fn create_file(log: &Logger, path: &Path, content: &str, dry_run: bool) -> DfxResult { +pub fn create_file(log: &Logger, path: &Path, content: &[u8], dry_run: bool) -> DfxResult { if !dry_run { if let Some(p) = path.parent() { std::fs::create_dir_all(p)...
fix: allow new projects assets to contain non-utf8 files
null
dfinity/sdk
Apache License 2.0
Rust
@@ -126,7 +126,6 @@ impl KafkaBufferProducer { let mut cfg = ClientConfig::new(); cfg.set("bootstrap.servers", &conn); cfg.set("message.timeout.ms", "5000"); - cfg.set("max.request.size", "10000000"); let producer: FutureProducer = cfg.create()?;
fix: Remove bad max.request.size config param
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -70,7 +70,7 @@ function deleteProperty(target: any, key: string | symbol): boolean { const hadKey = hasOwn(target, key) const oldValue = target[key] const result = Reflect.deleteProperty(target, key) - if (hadKey) { + if (result && hadKey) { /* istanbul ignore else */ if (__DEV__) { trigger(target, OperationTypes.DE...
fix(reactivity): avoid triggering effect when deleting property returns false
null
vuejs/vue-next
MIT License
TypeScript
@@ -567,6 +567,12 @@ class KrakenRenderParagraph extends RenderBox if (lineHeight != null) { // Adjust text paint offset of each line according to line-height. for (int i = 0; i < _lineTextPainters.length; i++) { + // _lineTextPainters and _lineOffset may not have the same length in some edge cases + // cause _lineText...
fix: add protection for exception in paragraph paint
null
openkraken/kraken
Apache License 2.0
Dart
@@ -128,6 +128,49 @@ impl<'a, 'b> Parser<'a, 'b> self.gen_completions_to(for_shell, &mut file) } + #[inline] + fn app_debug_asserts(&mut self) -> bool { + assert!(self.verify_positionals()); + let should_err = self.groups + .iter() + .all(|g| { + g.args + .iter() + .all(|arg| { + (self.flags.iter().any(|f| &f.b.name ==...
fix: adds a debug assertion to ensure all args added to groups actually exist
null
clap-rs/clap
Apache License 2.0
Rust
@@ -611,9 +611,16 @@ public class NotificationMail extends Model { private static String getHtmlMessage(Lang lang, String message, String urlToView, Resource resource, boolean acceptsReply) { + String renderred = null; + + if(resource != null) { + renderred = Markdown.render(message, resource.getProject(), lang.code())...
fix: Add logic for rendering markdown again
null
yona-projects/yona
Apache License 2.0
Java
@@ -73,7 +73,8 @@ namespace ConnectorGrashopper.Objects var props = b.GetDynamicMembers().ToList(); props.ForEach(prop => { - if(!fullProps.Contains(prop)) fullProps.Add(prop); + if(!fullProps.Contains(prop) && b[prop] != null) fullProps.Add(prop); + if(fullProps.Contains(prop) && b[prop] == null) fullProps.Remove(prop...
fix(component): Component now updates correctly, but can change input order
null
specklesystems/speckle-sharp
Apache License 2.0
C#
@@ -167,6 +167,7 @@ export const Nav = ({ format, nav, subscribeUrl, edition }: Props) => { format.display === Display.Immersive && minHeight, ]} role="navigation" + aria-label="Guardian sections" data-component="nav2" > {format.display === Display.Immersive && (
fix: Restore aria-label here
null
guardian/dotcom-rendering
Apache License 2.0
TypeScript
@@ -142,10 +142,10 @@ export const ORDER_URLS = { FR: 'https://www.ovh.com/manager/cloud/#/iaas/pci/project/new', }, publicCloudProjectOrder: { - FR: 'https://www.ovh.com/manager/public-cloud/#!/pci/projects/new', + FR: 'https://www.ovh.com/manager/public-cloud/#/pci/projects/new', }, publicCloudKubernetes: { - FR: 'ht...
fix(server.sidebar): replace url prefix from constants
null
ovh/manager
BSD 3-Clause New or Revised License
JavaScript
@@ -77,6 +77,8 @@ open class Player(private val base: BaseObject = BaseObject()) : Fragment(), Eve var core: Core? = null private set(value) { playerViewGroup?.removeView(core?.view) + unbindPlaybackEvents() + unbindContainerEvents() core?.destroy() field = value
fix(player): unbind all events on core change
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
@@ -34,12 +34,10 @@ class ParameterSets(Mapping): """ def __init__(self): - # Load Parameter Sets registered to `pybamm_parameter_set` - ps = dict() + # Dict of entry points for parameter sets, lazily load entry points as + self.__all_parameter_sets = dict() for entry_point in pkg_resources.iter_entry_points("pybamm_pa...
fix: lazily load parameter set entry points
null
pybamm-team/pybamm
BSD 3-Clause New or Revised License
Python
@@ -14,7 +14,7 @@ import com.google.inject.Singleton; /** * The ViewportModule allows you to create a zoomable/draggable container. * - * @see https://davidfig.github.io/pixi-viewport/jsdoc/ + * @see <a href="https://davidfig.github.io/pixi-viewport/jsdoc/">pixi-viewport</a> * */ @Singleton @@ -54,7 +54,8 @@ public cla...
fix(viewport): fix javadoc
null
codingame/codingame-game-engine
MIT License
Java
@@ -23,6 +23,8 @@ class FileUpload extends BaseFileUpload protected string | Closure | null $imageResizeMode = null; + protected string | Closure | null $imageResizeUpscale = null; + protected bool | Closure $isAvatar = false; protected string | Closure $loadingIndicatorPosition = 'right';
fix: Access to an undefined property
null
laravel-filament/filament
MIT License
PHP
@@ -575,7 +575,7 @@ void InspectableWebContents::LoadCompleted() { base::RemoveChars(current_dock_state, "\"", &dock_state_); } base::string16 javascript = base::UTF8ToUTF16( - "Components.dockController.setDockSide(\"" + dock_state_ + "\");"); + "UI.DockController.instance().setDockSide(\"" + dock_state_ + "\");"); Ge...
fix: Cannot read property 'setDockSide' of undefined
null
electron/electron
MIT License
C++
@@ -51,10 +51,13 @@ static int trim_copy(char *dest, size_t size, const char *src, /* Find the last non-escaped non-space character */ const char *lastchar = src + strlen(src) - 1; + if (lastchar < src) { + return -1; + } while (lastchar > src && isspace(*lastchar)) { lastchar--; } - if (lastchar < src || *lastchar == ...
fix: could refer invalid memory space in trim_copy()
null
naver/arcus-memcached
Apache License 2.0
C
@@ -290,6 +290,7 @@ struct QueryCoordinator { exchange_senders: Vec<Arc<ExchangeSender>>, exchange_receivers: Vec<Arc<ExchangeReceiver>>, subscribe_flight_shutdown_notify: Vec<Arc<Notify>>, + subscribe_flight_finished_notify: Vec<Arc<Notify>>, } impl QueryCoordinator { @@ -324,6 +325,7 @@ impl QueryCoordinator { Some(S...
fix(cluster): implement shutdown receive_data
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -597,6 +597,16 @@ UI.onUserFeaturesChanged = user => VideoLayout.onUserFeaturesChanged(user); */ UI.getRemoteVideosCount = () => VideoLayout.getRemoteVideosCount(); +/** + * Returns the video type of the remote participant's video. + * This is needed for the torture clients to determine the video type of the + * rem...
fix(UI): Add method for returning the video type of remote participants
null
jitsi/jitsi-meet
Apache License 2.0
JavaScript
@@ -151,7 +151,7 @@ type MainController struct { } func (c *MainController) Get() { - c.Data["Website"] = "beego.me" + c.Data["Website"] = "beego.vip" c.Data["Email"] = "astaxie@gmail.com" c.TplName = "index.tpl" }
fix: change site url on default controller
null
beego/bee
Apache License 2.0
Go
@@ -11,7 +11,7 @@ export type AuthorityOptions = { knownAuthorities: Array<string>; cloudDiscoveryMetadata: string; authorityMetadata: string; - skipLocalMetadataCache: boolean; + skipLocalMetadataCache?: boolean; azureRegionConfiguration?: AzureRegionConfiguration; };
fix: make skip local metadata cache flag optional
null
azuread/microsoft-authentication-library-for-js
MIT License
TypeScript
@@ -224,6 +224,9 @@ void AutofillPopupView::DoUpdateBoundsAndRedrawPopup() { if (!popup_) return; + // Clamp popup_bounds_ to ensure it's never zero-width. + popup_->popup_bounds_.Union( + gfx::Rect(popup_->popup_bounds_.origin(), gfx::Size(1, 1))); GetWidget()->SetBounds(popup_->popup_bounds_); #if BUILDFLAG(ENABLE_OS...
fix: ensure autofill popup view is > 1x1 in size
null
electron/electron
MIT License
C++
@@ -105,8 +105,6 @@ export default class Desktop { } this.current_page = page; localStorage.current_desk_page = page; - frappe.set_route("workspace", page); - this.pages[page] ? this.pages[page].show() : this.make_page(page); } @@ -134,6 +132,7 @@ export default class Desktop { class DesktopPage { constructor({ contain...
fix: retain container on reload of page
null
frappe/frappe
MIT License
JavaScript
@@ -167,21 +167,19 @@ class _UnreadIconState extends OptimizedState<_UnreadIcon> { final _count = widget.controller.inSelectMode.value ? widget.controller.selected.length : count; if (_count == 0) return const SizedBox.shrink(); return Container( - width: _count > 9 ? 25.0 : 20, + width: 20.0, height: 20.0, decoration:...
fix: cupertino unread message badge alignment
null
bluebubblesapp/bluebubbles-app
Apache License 2.0
Dart
@@ -5,6 +5,7 @@ import com.linkedin.metadata.entity.ebean.EbeanAspectV2; import io.ebean.EbeanServer; import io.ebean.SqlQuery; import io.ebean.SqlRow; +import java.util.List; public class AspectStorageValidationUtil { @@ -27,8 +28,8 @@ public class AspectStorageValidationUtil { + "WHERE TABLE_NAME = 'metadata_aspect_v...
fix(upgrade): Check whether tables exist using findList
null
linkedin/datahub
Apache License 2.0
Java
@@ -1137,10 +1137,8 @@ class Document(BaseDocument): user = frappe.session.user if self.meta.track_seen: - if self._seen: - _seen = json.loads(self._seen) - else: - _seen = [] + _seen = self.get('_seen') or [] + _seen = frappe.parse_json(_seen) if user not in _seen: _seen.append(user)
fix: Handle AttributeError when adding seen
null
frappe/frappe
MIT License
Python
@@ -1401,8 +1401,8 @@ defmodule Ash.Filter do add_expression_part({op, [left, right]}, context, expression) end - defp add_expression_part(%Not{expression: expression}, context, expression) do - add_expression_part({:not, expression}, context, expression) + defp add_expression_part(%Not{expression: not_expression}, con...
fix: function clause match error in not expression
null
ash-project/ash
MIT License
Elixir
@@ -100,7 +100,7 @@ printf '[*] Installing mariadbclient dependencies... \n' output_line "sudo apt-get install -y libmariadbclient-dev" && printf "${CLEAR_LINE}[+] Dependencies installed\n" printf '[*] Checking for Ruby-2.5.0...\n' -if which ruby | grep "ruby 2.5.0" >/dev/null; then +if ruby -v | grep "ruby 2.5.0" >/de...
fix: grep pattern for ruby check
null
wikieducationfoundation/wikiedudashboard
MIT License
Shell
@@ -293,13 +293,6 @@ internal static void OnTransportData(ArraySegment<byte> data, int channelId) { if (connection != null) { - if (data.Count < MessagePacking.HeaderSize) - { - Debug.LogError($"NetworkClient: received Message was too short (messages should start with message id)"); - connection.Disconnect(); - return;...
fix: NetworkClient.OnTransportData header size is now checked before every message unpacking again like before batching
null
vis2k/mirror
MIT License
C#
@@ -310,7 +310,7 @@ class UniversalLinkCoordinator: Coordinator { //Returns true if handled func handleUniversalLink() -> Bool { - //Eg. https://aw.app/wc?uri=wc:4dc404c9-d685-40f9-9813-ac85676dc845@1?bridge=https%3A%2F%2Fbridge.walletconnect.org&key=0de792fc767d5cb2410f44e76b5f4cf599d04d53ffdc8caf49ed0fb1c22276ab + //...
fix: parse WalletConnect links picked up from mobile linking
null
alphawallet/alpha-wallet-ios
MIT License
Swift
@@ -60,7 +60,7 @@ export const CellRenderer: React.FC<CellRendererProps<any>> = observer(function editingContext, tableDataContext, get immutableRow() { - return this.editor?.get(rowIdx) || this.row; // performance heavy + return this.editor?.get(this.rowIdx) || this.row; // performance heavy }, mouseDown(event: React....
fix(plugin-data-spreadsheet-new): state observing
null
dbeaver/cloudbeaver
Apache License 2.0
TypeScript
@@ -120,7 +120,7 @@ public class JaxbPortalDataHandlerService implements IPortalDataHandlerService { private static final MediaType MT_AR = MediaType.application("x-archive"); private static final MediaType MT_TAR = MediaType.application("x-tar"); private static final MediaType MT_BZIP2 = MediaType.application("x-bzip2...
fix: gzip now has an official iana mime type and is not x prefixed
null
uportal-project/uportal
Apache License 2.0
Java
@@ -56,9 +56,11 @@ class Load extends AbstractStep if (!util\File::getFS()->exists(Util::joinFile($this->builder->getConfig()->getContentPath(), $this->page))) { $this->builder->getLogger()->error(sprintf('File "%s" doesn\'t exist.', $this->page)); } - $namePattern = $this->page; + $content->path('.')->path(dirname($th...
fix: page cmd option must support sub dir
null
cecilapp/cecil
MIT License
PHP
@@ -291,7 +291,7 @@ public class AirMapView extends MapView implements GoogleMap.InfoWindowAdapter, map.setOnPolylineClickListener(new GoogleMap.OnPolylineClickListener() { @Override public void onPolylineClick(Polyline polyline) { - WritableMap event = makeClickEventData(polyline.getPoints().get(0)); + WritableMap eve...
fix(android): wrong coordinates on press polyline
null
react-native-maps/react-native-maps
MIT License
Java
@@ -271,7 +271,7 @@ func (u *addonServiceImpl) ListAddons(ctx context.Context, registry, query strin gatherErr = append(gatherErr, err) continue } - addons = mergeAddons(addons, listAddons) + addons = mergeAddons(addons, listAddons, r.Name) } for i, a := range addons { @@ -504,12 +504,13 @@ func addonRegistryModelFromC...
fix: assign the value for the registry of the addon
null
oam-dev/kubevela
Apache License 2.0
Go
@@ -75,7 +75,7 @@ impl<'a> super::Handler<'a> { let mut buf = [0; 4096]; debugln!(self, "Starting GDB session..."); debugln!(self, "symbol-file -o {:#x} <shim>", shim_address()); - debugln!(self, "symbol-file -o {:#x} <exec>", unsafe { + debugln!(self, "add-symbol-file -o {:#x} <exec>", unsafe { &ENARX_EXEC_START as *c...
fix(sgx): symbol-file-commands
null
enarx/enarx
Apache License 2.0
Rust
@@ -1355,6 +1355,7 @@ struct TagPartitionedLogSystem : ILogSystem, ReferenceCounted<TagPartitionedLogS modifiedState.tLogs.push_back(coreSet); modifiedState.tLogs[0].isLocal = true; modifiedState.logRouterTags = 0; + modifiedState.txsTags = modifiedState.oldTLogData[0].txsTags; modifiedLogSets++; break; } @@ -1396,11 +...
fix: forced recovery did not copy the number of txsTags properly
null
apple/foundationdb
Apache License 2.0
C++
import '../__mocks__/useIsMac.mock' import '../__mocks__/useBreakpoint.mock' import React from 'react' -import { render, screen } from '@testing-library/react' +import { render, screen, waitFor } from '@testing-library/react' import userEvent from '@testing-library/user-event' import AddComment from '../graphql/queries...
fix: CommentBox.test.js failing tests
null
garagescript/c0d3-app
MIT License
JavaScript
@@ -238,12 +238,12 @@ func (s *Service) forEachSource(ctx context.Context, tx Tx, fn func(*influxdb.So return err } - cur, err := b.Cursor() + cur, err := b.ForwardCursor(nil) if err != nil { return err } - for k, v := cur.First(); k != nil; k, v = cur.Next() { + for k, v := cur.Next(); k != nil; k, v = cur.Next() { s ...
fix(kv): update kv source to use the new forward cursor
null
influxdata/influxdb
MIT License
Go
@@ -359,6 +359,21 @@ export async function create( console.log(`\nDebug: \x1b[34m${debugURL}\x1b[0m`); } await page.waitForSelector('#app .two', { visible: true }).catch(() => {}); + await page.waitForFunction( + () => { + if ( + window.Store && + window.Store.WidFactory && + window.Store.WidFactory.createWid + ) { + r...
fix: WidFactory
null
orkestral/venom
Apache License 2.0
TypeScript
@@ -102,9 +102,13 @@ namespace randr_util { } #endif auto primary_output = conn.get_output_primary(root).output(); + string primary_name{}; + + if (primary_output != XCB_NONE) { auto primary_info = conn.get_output_info(primary_output); auto name_iter = primary_info.name(); - string primary_name = {name_iter.begin(), na...
fix(randr): Check if there is a primary monitor
null
polybar/polybar
MIT License
C++
@@ -582,13 +582,16 @@ pub struct Output { #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)] pub struct SolcAbi { + #[serde(default, skip_serializing_if = "Vec::is_empty")] pub inputs: Vec<Item>, #[serde(rename = "stateMutability")] pub state_mutability: Option<String>, #[serde(rename = "type")] pub abi_typ...
fix(solc): use correct types
null
gakonst/ethers-rs
Apache License 2.0
Rust
@@ -573,6 +573,12 @@ class ReactExoplayerView extends FrameLayout implements return; } + if (activity == null) { + Log.e("ExoPlayer Exception", "Failed to initialize Player!"); + eventEmitter.error("Failed to initialize Player!", new Exception("Current Activity is null!"), "1001"); + return; + } + // Initialize handler...
fix(android): check null activity
null
react-native-video/react-native-video
MIT License
Java
@@ -91,9 +91,9 @@ flextype()->get('/api/entries', function (Request $request, Response $response) if ($response_code === 404) { // Return response return $response - ->withStatus($api_errors['0102']) + ->withStatus($api_errors['0102']['http_status_code']) ->withHeader('Content-Type', 'application/json;charset=' . flext...
fix(rest-api): fix issue with 404 status code in Entries Rest API
null
flextype/flextype
MIT License
PHP
@@ -94,6 +94,9 @@ public interface IConceptProperty extends FhirCodeSystem { case STRING: prop.valueString((String) value); break; + case DATETIME: + prop.valueDateTime((Date) value); + break; default: throw new UnsupportedOperationException("Unsupported property type " + getConceptPropertyType()); }
fix(fhir): Support DATETIME type in IConceptProperty#propertyOf(Object)
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -965,6 +965,7 @@ namespace Shoko.Server.API.v3.Controllers Source = "AniDB", } ).ToList() : null, + ShokoID = series?.AnimeSeriesID, }; }) .ToListResult(pageSize, page);
fix: re-add the shoko series id to the anime series search results
null
shokoanime/shokoserver
MIT License
C#
@@ -146,8 +146,8 @@ open class Core: UIObject, UIGestureRecognizerDelegate { fullscreenHandler?.enterInFullscreen() } else { renderInContainerView() - } renderCoreAndMediaControlPlugins() + } #else renderInContainerView() renderPlugins()
fix: prevent rendering components to render twice
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -192,7 +192,7 @@ class EventDetailsFragment : Fragment() { rootView.organizerContainer.isVisible = false } - currency = Currency.getInstance(event.paymentCurrency).symbol + currency = Currency.getInstance(event.paymentCurrency ?: "USD").symbol // About event on-click val aboutEventOnClickListener = View.OnClickListe...
fix: default currency in case of no currency
null
fossasia/open-event-attendee-android
Apache License 2.0
Kotlin
@@ -82,8 +82,9 @@ public class MeetUtils public static String getRtpStats(WebDriver driver, boolean useJVB) { String script = String.format( - "return APP.conference._room ? JSON.stringify(" - + "APP.conference._room.%s.peerconnection.stats) : null", + "let pc;" + + "return APP.conference._room && (pc = APP.conference....
fix: Fixes error when there was no peerconnection on fail
null
jitsi/jitsi-meet-torture
Apache License 2.0
Java
@@ -205,7 +205,7 @@ impl ApplicationError { match self { Self::BucketByName { .. } => self.internal_error(), Self::BucketMappingError { .. } => self.internal_error(), - Self::WritingPoints { .. } => self.internal_error(), + Self::WritingPoints { .. } => self.bad_request(), Self::PlanningSQLQuery { .. } => self.bad_requ...
fix: Sends 400 status code for invalid write path
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -135,9 +135,12 @@ def find_parser(obj, forced_type=None): return psr -def list_types(cps=PARSERS): +def list_types(cps=None): """List available types parsers support. """ + if cps is None: + cps = PARSERS + return sorted(set(p.type() for p in cps)) # vim:sw=4:ts=4:et:
fix: avoid pylint's dangerous-default-value in .backends.list_types
null
ssato/python-anyconfig
MIT License
Python
@@ -132,11 +132,11 @@ func (self *SStorage) ValidateUpdateData(ctx context.Context, userCred mcclient. if err != nil { return input, err } - if self.StorageConf != nil { - input.StorageConf = self.StorageConf.(*jsonutils.JSONDict) - } else { input.StorageConf = jsonutils.NewDict() + if self.StorageConf != nil { + input...
fix(region): avoid storage update not work
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -93,6 +93,6 @@ func (file *FileUploadAction) BtnAttribute() template.HTML { } func (file *FileUploadAction) FooterContent() template.HTML { - return template.HTML(`<input id="` + file.BtnId + `_input" type="file" multiple="multiple" style="display:none" />`) + return template.HTML(`<input class="` + file.BtnId[1:] +...
fix(admin): fixed file_upload action error
null
goadmingroup/go-admin
Apache License 2.0
Go
@@ -58,7 +58,7 @@ popd RUST_DIR="$DIR/src" while read -r FBS_FILE; do - echo "Compiling ${FBS_file}" + echo "Compiling ${FBS_FILE}" $FLATC --rust -o $RUST_DIR $FBS_FILE done < <(git ls-files $DIR/*.fbs)
fix: Actually print out the filename flatc is compiling
null
influxdata/influxdb_iox
Apache License 2.0
Shell
import { LanguageCode, LogicalOperator, PriceRange, SortOrder } from '@vendure/common/lib/generated-types'; -import { DeepRequired, ID } from '@vendure/core'; - -import { UserInputError } from '../../core/src/common/error/errors'; +import { DeepRequired, ID, UserInputError } from '@vendure/core'; import { SearchConfig ...
fix(elasticsearch-plugin): Fix bad import
null
vendure-ecommerce/vendure
MIT License
TypeScript
@@ -320,7 +320,7 @@ def get_prepared_report_result(report, filters, dn="", user=None): attached_file = frappe.get_doc("File", attached_file_name) compressed_content = attached_file.get_content() uncompressed_content = gzip_decompress(compressed_content) - data = json.loads(uncompressed_content) + data = json.loads(unco...
fix: Decode content before calling json.loads()
null
frappe/frappe
MIT License
Python
@@ -11,6 +11,7 @@ const contextSchema = joi name: nameType, description: joi .string() + .max(250) .allow('') .allow(null) .optional(), @@ -19,7 +20,7 @@ const contextSchema = joi .allow(null) .unique() .optional() - .items(joi.string()), + .items(joi.string().max(100)), }) .options({ allowUnknown: false, stripUnknown:...
fix: context legalValues should be at max 100 chars
null
unleash/unleash
Apache License 2.0
JavaScript
$tabs = $managers; if ($form) { - $tabs = array_merge([null => null], $tabs); + $tabs = array_replace[null => null], $tabs); } @endphp
fix: changed from array_merge to array_replace to avoid reindexing in RM tabs
null
laravel-filament/filament
MIT License
PHP
@@ -2613,9 +2613,10 @@ class RenderFlexLayout extends RenderLayoutBox { if ((prevPosition != CSSPositionType.static && nextPosition != CSSPositionType.static) || (prevPosition == CSSPositionType.static && - nextPosition == CSSPositionType.static) || - (prevPosition == CSSPositionType.static && - nextPosition != CSSPosi...
fix: flex paint tree sort
null
openkraken/kraken
Apache License 2.0
Dart
@@ -368,7 +368,6 @@ func Query2List(manager IModelManager, ctx context.Context, userCred mcclient.To if err != nil { return nil, err } - if len(exportKeys) > 0 { rowMap, err := q.Row2Map(rows) if err != nil { @@ -402,6 +401,10 @@ func Query2List(manager IModelManager, ctx context.Context, userCred mcclient.To } } + if ...
fix(cloudcommon): record checksum in list
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -197,8 +197,12 @@ export const resolvers: Resolvers = { const transformer = (pools: Pair[], oneDayPools: Pair[], oneWeekPools: Pair[], farms: any, chainId) => { return pools?.length > 0 ? pools.map((pool) => { - const pool1d = oneDayPools?.find((oneDayPool) => oneDayPool.id === pool.id) - const pool1w = oneWeekPools...
fix(packages/graph-client): ensure oneDay/Week pools are array before doing find on them
null
sushiswap/sushiswap
MIT License
TypeScript
@@ -1057,7 +1057,7 @@ int preflight_check(struct vehicle_status_s *status, orb_advert_t *mavlink_log_p } } - if (battery->warning >= battery_status_s::BATTERY_WARNING_LOW) { + if (!status_flags->circuit_breaker_engaged_power_check && battery->warning >= battery_status_s::BATTERY_WARNING_LOW) { preflight_ok = false; if ...
fix: battery prearm check ignored when CBRK_SUPPLY_CHK is disabled
null
px4/px4-autopilot
BSD 3-Clause New or Revised License
C++
@@ -25,6 +25,6 @@ class StringsExpression implements ExpressionFunctionProviderInterface { public function getFunctions() { - return [new ExpressionFunction('strings', static fn ($str) => '\Glowy\Strings\strings($str)', static fn ($arguments, $str) => strings($str))]; + return [new ExpressionFunction('strings', static ...
fix(expressions): fix `strings` expression function
null
flextype/flextype
MIT License
PHP
@@ -269,10 +269,10 @@ defmodule Ash.Engine.Runner do {^ref, _} -> flush(state) - {:exit, ^engine_pid} -> + {_, ^engine_pid} -> flush(state) - {:exit, ^engine_pid, _} -> + {_, ^engine_pid, _} -> flush(state) {:DOWN, _, _, ^engine_pid, _} ->
fix: don't match on explicitly `:exit`
null
ash-project/ash
MIT License
Elixir
// About this `I AM NOT DONE` thing: // We sometimes encourage you to keep trying things on a given exercise, // even after you already figured it out. If you got everything working and -// feel ready for the next exercise, you the `I AM NOT DONE` comment below. +// feel ready for the next exercise, remove the `I AM NO...
fix(variables1): Correct wrong word in comment
null
rust-lang/rustlings
MIT License
Rust
@@ -5689,7 +5689,10 @@ function jsPDF(options) { var endFormObject = function(key) { // only add it if it is not already present (the keys provided by the user must be unique!) - if (renderTargetMap[key]) return; + if (renderTargetMap[key]) { + renderTargetStack.pop().restore(); + return; + } // save the created xObjec...
fix: always pop render target stack in endFormObject
null
mrrio/jspdf
MIT License
JavaScript
@@ -51,7 +51,7 @@ class TestDashboardChart(unittest.TestCase): based_on = 'creation', timespan = 'Last Year', time_interval = 'Monthly', - filters_json = '{}', + filters_json = '[]', timeseries = 1 )).insert() @@ -83,7 +83,7 @@ class TestDashboardChart(unittest.TestCase): based_on = 'creation', timespan = 'Last Year', ...
fix: fix dashboard tests
null
frappe/frappe
MIT License
Python
@@ -134,7 +134,7 @@ export const VFileInput = defineComponent({ } useRender(() => { - const hasCounter = !!(slots.counter || props.counter || counterValue.value) + const hasCounter = !!(slots.counter || props.counter) const [rootAttrs, inputAttrs] = filterInputAttrs(attrs) const [{ modelValue: _, ...inputProps }] = fil...
fix(VFileInput): show counter when using prop
null
vuetifyjs/vuetify
MIT License
TypeScript
@@ -216,7 +216,7 @@ public class NarSystemMojo extends AbstractNarMojo { + " final String libPath = getLibPath(loader, aols, mappedNames);\n" + " final JniExtractor extractor = new DefaultJniExtractor(NarSystem.class, System.getProperty(\"java.io.tmpdir\"));\n" + " final File extracted = extractor.extractJni(libPath, f...
fix: fix for issue 289
null
maven-nar/nar-maven-plugin
Apache License 2.0
Java
@@ -129,7 +129,12 @@ const User = SparkPlugin.extend({ resource: `users` }) .then((res) => res.body) - .then(tap((user) => this.recordUUID(user))); + .then(tap((user) => this.recordUUID({ + id: user.id, + // CI endpoints don't use the same user format as actors, so, email may + // be in one of a few fields + emailAddre...
fix(@ciscospark/i-p-user): format user before passing it to _recordUUID
null
webex/webex-js-sdk
MIT License
JavaScript
@@ -288,13 +288,25 @@ open class AVFoundationPlayback: Playback, AVPlayerItemInfoDelegate { selectDefaultSubtitleIfNeeded() } + private func updateAssetIfNeeded(_ player: AVPlayer) { + if self.asset == nil, + let url: URL = (player.currentItem?.asset as? AVURLAsset)?.url, + let asset = self.createAsset(from: url.absolu...
fix: Update asset if is nil
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -32,10 +32,10 @@ fi case "$CONFIGURATION" in *Debug*) - DEV=true + DEV=--dev ;; *) - DEV=false + DEV= ;; esac @@ -44,6 +44,6 @@ esac --app-bundle-version "$BUNDLE_VERSION" \ --app-version "$APP_VERSION" \ --bundle "$BUNDLE_FILE" \ - --dev "$DEV" \ --platform "ios" \ - --source-map "$MAP_FILE" \ No newline at end of ...
fix(react-native): Ensure upload command syntax is compatible with tool
null
bugsnag/bugsnag-js
MIT License
Shell
@@ -513,7 +513,7 @@ func addProjectValidation(projectName string) func(...*es_models.Event) error { case model.ProjectChanged: _, project := model.GetProject(projects, event.AggregateID) project.AppendAddProjectEvent(event) - case model.ProjectRoleRemoved: + case model.ProjectRemoved: for i, project := range projects {...
fix: add project validation
null
caos/zitadel
Apache License 2.0
Go
@@ -1314,7 +1314,8 @@ def show_last_exception(): def _show_code_line(fname, idx): fname = os.path.expanduser(os.path.expandvars(fname)) - __data = open(fname, "r").read().splitlines() + with open(fname, "r") as f: + __data = f.readlines() return __data[idx - 1] if idx < len(__data) else "" gef_print("") @@ -3204,7 +320...
fix: cleanly close opened files
null
hugsy/gef
MIT License
Python
@@ -11,7 +11,7 @@ git push "https://$GH_TOKEN@github.com/$TRAVIS_REPO_SLUG" ":$TRAVIS_BRANCH" > /d std_ver=$(npm run std-version) release_tag=$(echo "$std_ver" | grep "tagging release" | awk '{print $4}') -if [[ $release_tag =~ "v" ]]; then +if [[ $release_tag == v* ]]; then echo "" else release_tag="v$release_tag"
fix: check if tag starts with 'v' not if contains v
null
sap/fundamental-styles
Apache License 2.0
Shell
@@ -580,13 +580,14 @@ open class AVFoundationPlayback: Playback, AVPlayerItemInfoDelegate { } open override func seekToLivePosition() { - guard canSeek, let liveCurrentSeekableTimeRange = player.currentItem?.seekableTimeRanges.last else { return } + play() + if canSeek, let liveCurrentSeekableTimeRange = player.current...
fix: Adjust seek to live position
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -238,7 +238,7 @@ namespace acl vector_u64 |= static_cast<uint64_t>(vector_w) << (64 - num_bits * 2); vector_u64 = byte_swap(vector_u64); - memcpy_bits(out_vector_data, num_bits * 2, &vector_u64, 0, num_bits * 2); + memcpy_bits(out_vector_data, uint64_t(num_bits) * 2, &vector_u64, 0, uint64_t(num_bits) * 2); } else {...
fix(math): avoid potential overflow (static analysis)
null
nfrechette/acl
MIT License
C
@@ -80,6 +80,7 @@ public class PostgreSQLProcessor extends DBMSProcessor { connection.createStatement().executeUpdate("INSERT INTO " + escape_Table("ENTRY") + " SELECT * FROM \"ENTRY\""); connection.createStatement().executeUpdate("INSERT INTO " + escape_Table("FIELD") + " SELECT * FROM \"FIELD\""); connection.createSt...
fix: After migration set current value of ENTRY_SHARED_ID_seq [PgSQL]
null
jabref/jabref
MIT License
Java
@@ -47,7 +47,10 @@ export function register( document.positionAt(completionContext.optionalReplacementSpan.start + completionContext.optionalReplacementSpan.length), ) : undefined; - let line = document.getText({ start: position, end: { line: position.line + 1, character: 0 } }); + let line = document.getText({ + start...
fix: completion replace range incorrect in import statement
null
johnsoncodehk/volar
MIT License
TypeScript
@@ -403,6 +403,13 @@ async def setup_alexa(hass, config_entry, login_obj: AlexaLogin): ] = device continue + if ( + device.get("capabilities") + and "MUSIC_SKILL" not in device["capabilities"] + ): + # skip devices without music skill + continue + if "bluetoothStates" in bluetooth: for b_state in bluetooth["bluetoothSt...
fix: ignore devices without music capability
null
custom-components/alexa_media_player
Apache License 2.0
Python
@@ -113,7 +113,7 @@ class Anchor { @override bool operator ==(Object other) { - return other is Anchor && hashCode == other.hashCode; + return other is Anchor && x == other.x && y == other.y; } @override
fix: Anchor equality operator is now more reliable
null
flame-engine/flame
MIT License
Dart
@@ -221,7 +221,6 @@ const ColorInput = Decorator(class extends BaseFormField(BaseComponent(HTMLEleme } else { this.classList.remove('_coral-ColorInput--swatch'); this._elements.input.removeAttribute('tabindex'); - this._elements.colorPreview.setAttribute('tabindex', -1); } this._syncColorPreviewIcon();
fix(CQ-4273833): Removed the tabindex=-1 from the color picker button
null
adobe/coral-spectrum
Apache License 2.0
JavaScript
@@ -38,7 +38,7 @@ export async function activate(context: ExtensionContext) { const enabler = commands.registerCommand('discord.enable', async () => { await rpc.dispose(); await config.update('enabled', true); - rpc._config = workspace.getConfiguration('discord'); + rpc.config = workspace.getConfiguration('discord'); r...
fix: _config to config access
null
icrawl/discord-vscode
MIT License
TypeScript
+import ProductVariantService from "../services/product-variant" import ProductService from "../services/product" import { indexTypes } from "medusa-core-utils" @@ -52,17 +53,17 @@ class ProductSearchSubscriber { ) this.eventBus_.subscribe( - "product-variant.created", + ProductVariantService.Events.CREATED, this.handl...
fix: update event
null
medusajs/medusa
MIT License
JavaScript
@@ -30,11 +30,11 @@ SessionBase::SessionBase() } SessionBase::~SessionBase() { - uv_mutex_destroy(&mutex_); if (event_loop_) { event_loop_->close_handles(); event_loop_->join(); } + uv_mutex_destroy(&mutex_); } void SessionBase::connect(const Config& config,
fix: Mutex destroyed while still locked
null
datastax/cpp-driver
Apache License 2.0
C++
@@ -10,6 +10,7 @@ import { LitePhysicsMaterial } from "../LitePhysicsMaterial"; export class LiteBoxColliderShape extends LiteColliderShape implements IBoxColliderShape { private static _tempBox: BoundingBox = new BoundingBox(); private _halfSize: Vector3 = new Vector3(); + private _scale: Vector3 = new Vector3(1, 1, 1...
fix: physics lite raycast bug
null
oasis-engine/engine
MIT License
TypeScript
use crate::{database::DatabaseGuard, ConduitResult, Error, Ruma}; use ruma::{ - api::client::{error::ErrorKind, r0::context::get_context}, + api::client::{ + error::ErrorKind, + r0::{context::get_context, filter::LazyLoadOptions}, + }, events::EventType, }; -use std::collections::HashSet; +use std::{collections::HashSe...
fix: lazy loading for /context
null
timokoesters/conduit
Apache License 2.0
Rust
@@ -52,5 +52,12 @@ angular }, }); }, - ); + ) + .run( + /* @ngInject */ ($translate, $transitions) => { + $transitions.onBefore({ to: 'vrack.**' }, () => $translate.refresh()); + }, + ) + .run(/* @ngTranslationsInject:json ./translations */); + export default moduleName;
fix(dedicated.vrack): load translations
null
ovh/manager
BSD 3-Clause New or Revised License
JavaScript
@@ -44,7 +44,7 @@ public class OneOnOneTest */ private static final String ONE_ON_ONE_CONFIG_OVERRIDES = "config.disable1On1Mode=false" - + "&interfaceConfig.TOOLBAR_TIMEOUT=250" + + "&interfaceConfig.TOOLBAR_TIMEOUT=500" + "&config.alwaysVisibleToolbar=false"; /**
fix: Toolbar hides too quick
null
jitsi/jitsi-meet-torture
Apache License 2.0
Java