diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -10,6 +10,7 @@ if [[ $ELASTICSEARCH_USE_SSL == true ]]; then else ELASTICSEARCH_PROTOCOL=http fi +echo -e "Going to use $ELASTICSEARCH_PROTOCOL" if [[ ! -z $ELASTICSEARCH_USERNAME ]] && [[ -z $ELASTICSEARCH_AUTH_HEADER ]]; then AUTH_TOKEN=$(echo -ne "$ELASTICSEARCH_USERNAME:$ELASTICSEARCH_PASSWORD" | base64 --wrap 0...
feat(elastic-setup): more verbose logging
null
linkedin/datahub
Apache License 2.0
Shell
<settings-body> <div class="form-group"> <label for="noticeTitle" class="bmd-label-floating">Title</label> - <input type="text" class="form-control" id="noticeTitle"> + <input type="text" class="form-control" id="noticeTitle" value='{{$group_notice["title"]}}'> </div> <div class="form-group"> <small class="" style="mar...
feat: add old title & content
null
zsgsdesign/noj
MIT License
PHP
@@ -20,6 +20,13 @@ pub struct Context { pub(crate) mailbox: Mailbox, } +impl Context { + /// Return runtime clone + pub fn runtime(&self) -> Arc<Runtime> { + self.rt.clone() + } +} + impl Drop for Context { fn drop(&mut self) { let addr = self.address.first();
feat(rust): add runtime getter to node
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -132,6 +132,7 @@ void main() async { widgets.add(kraken); } + runZonedGuarded(() { runApp(MaterialApp( title: 'Kraken Integration Tests', debugShowCheckedModeBanner: false, @@ -144,6 +145,9 @@ void main() async { ), ), )); + }, (Object error, StackTrace stack) { + print('$error\n$stack'); + }); testTextInput = TestT...
feat: add runZoneGuard for global async exception
null
openkraken/kraken
Apache License 2.0
Dart
@@ -1953,6 +1953,76 @@ declare global { resource?: string; typeof?: string; vocab?: string; + role?: + | "alert" + | "alertdialog" + | "application" + | "article" + | "banner" + | "button" + | "cell" + | "checkbox" + | "columnheader" + | "combobox" + | "complementary" + | "contentinfo" + | "definition" + | "dialog" + |...
feat: add role to HTMLAttributes
null
solidjs/solid
MIT License
TypeScript
@@ -271,7 +271,7 @@ public class SnomedConceptSearchRequest extends SnomedComponentSearchRequest<Sno @Override protected boolean trackScores() { - return containsKey(OptionKey.TERM) || containsKey(OptionKey.USE_DOI) || containsKey(OptionKey.KNN); + return containsKey(OptionKey.TERM) || containsKey(OptionKey.USE_DOI) ||...
feat(snomed): ensure that description knn filtering in snomed concept..
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -154,6 +154,11 @@ class AbstractDatabaseBuilder { this.currentType = type.name const fields = type.getFields() + + if (!fields.id) { + throw new Error(`Required type ${this.currentType}.id not found`); + } + for (const key in fields) { if (fields[key]) { const field = fields[key] @@ -198,6 +203,10 @@ class AbstractD...
feat: validation of ID field
null
aerogear/graphback
Apache License 2.0
TypeScript
@@ -152,6 +152,7 @@ class RandomNetworkDistillationWithAction(UncertaintyEstimator): net_fn=None, net_kwargs=None, device="cuda:best", + rate_power=0.5, **kwargs): assert isinstance(observation_space, spaces.Box) UncertaintyEstimator.__init__(self, observation_space, action_space) @@ -165,6 +166,7 @@ class RandomNetwor...
feat(rnd_with_action): add fast_rate option
null
rlberry-py/rlberry
MIT License
Python
@@ -415,15 +415,16 @@ def remove_from_installed_apps(context, app): @click.option('--yes', '-y', help='To bypass confirmation prompt for uninstalling the app', is_flag=True, default=False, multiple=True) @click.option('--dry-run', help='List all doctypes that will be deleted', is_flag=True, default=False) @click.option...
feat: add force flag to uninstall-app from site
null
frappe/frappe
MIT License
Python
@@ -46,7 +46,7 @@ export interface ButtonProps extends ChildrenProps { // target - button type?: "submit" | "button" | "reset"; disabled?: boolean; - onClick?: () => void; + onClick?: React.MouseEventHandler; autoFocus?: boolean; dangerouslySetTabIndex?: number; // target - link
feat(core): Expose Event in Button's onClick handler
null
thien-do/moai
MIT License
TypeScript
@@ -36,7 +36,7 @@ fn_install_server_files(){ elif [ "${shortname}" == "qw" ]; then remote_fileurl="https://files.linuxgsm.com/QuakeWorld/nquake.server.linux.190506.full.tar.bz2"; local_filedir="${tmpdir}"; local_filename="nquake.server.linux.190506.full.tar.bz2"; chmodx="nochmodx" run="norun"; force="noforce"; md5="744...
feat(install): update Return to Castle Wolfenstein package
null
gameservermanagers/linuxgsm
MIT License
Shell
@@ -20,14 +20,19 @@ import java.util.*; import com.baidu.openrasp.request.AbstractRequest; import com.jsoniter.output.JsonStream; import com.baidu.openrasp.v8.ByteArrayOutputStream; +import com.baidu.openrasp.tool.OSUtil; +import com.baidu.openrasp.cloud.model.CloudCacheModel; +import com.baidu.openrasp.config.Config; ...
feat(java): add more fields to request context
null
baidu/openrasp
Apache License 2.0
Java
+/** + * @license + * Copyright 2016 Google Inc. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable l...
feat: Trackable finite float
null
google/neuroglancer
Apache License 2.0
TypeScript
@@ -226,7 +226,7 @@ function updateClientMeta () { if (active === true) { extend(true, data, meta) - // TODO - is this still possible? + // TODO vue3 - is this still possible? if (meta.stopPropagation === true) { break } @@ -293,10 +293,9 @@ export default { * are caught by the reactive vue system (which starts on firs...
feat(vue3): small tweaks to Meta
null
quasarframework/quasar
MIT License
JavaScript
+package authorizer + +import ( + "context" + + "github.com/influxdata/influxdb" +) + +var _ influxdb.LabelService = (*LabelService)(nil) + +// LabelService wraps a influxdb.LabelService and authorizes actions +// against it appropriately. +type LabelService struct { + s influxdb.LabelService +} + +// NewLabelService c...
feat(authorizer): initial (incomplete) auth for labels v2
null
influxdata/influxdb
MIT License
Go
@@ -4,6 +4,7 @@ export default function connect (mapStateToProps, mapDispatchToProps) { const store = getStore() const dispatch = store.dispatch const initMapDispatch = typeof mapDispatchToProps === 'function' ? mapDispatchToProps(dispatch) : {} + initMapDispatch.dispatch = dispatch; const stateListener = function () {...
feat: map dispatch to props
null
nervjs/taro
MIT License
JavaScript
@@ -262,7 +262,7 @@ public final class FakeMaven { * * @since 0.28.12 */ - static class Parse implements Iterable<Class<? extends AbstractMojo>> { + static final class Parse implements Iterable<Class<? extends AbstractMojo>> { @Override public Iterator<Class<? extends AbstractMojo>> iterator() { @@ -277,7 +277,7 @@ pub...
feat(#1518): add final modifiers in FakeMaven
null
cqfn/eo
MIT License
Java
@@ -67,6 +67,16 @@ impl OptionalMinMaxSequence { } } +impl std::fmt::Display for OptionalMinMaxSequence { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + if let Some(min) = self.min { + write!(f, "[{}, {}]", min, self.max) + } else { + write!(f, "({}, {}]", self.max, self.max) + } + } +} + #[cf...
feat: impl `Display` for `OptionalMinMaxSequence`
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -135,6 +135,8 @@ impl NodeManager { LmdbStorage::new(&authenticated_storage_path).await? }; + // Skip override if we already had vault + if config.readlock_inner().vault_path.is_none() { if let Some(identity_override) = identity_override { // Copy vault file, update config let vault_path = Self::default_vault_path(&...
feat(rust): skip identity override is vault already existed
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -39,9 +39,12 @@ const Navbar = (props: Props) => { const getNavListLink = (link: NavLink, index: number) => ( <NavDropdown.Item - className={ - (link.dividerAbove ? 'border-top mt-1 pt-2' : '') + (link.className ? link.className : '') - } + className={[ + link.dividerAbove ? 'border-top mt-1 pt-2' : '', + link.class...
feat(navbar.tsx): amend getNavLinkList className
null
hospitalrun/components
MIT License
TypeScript
@@ -9,6 +9,16 @@ import { Unsubscribe, } from '@reatom/core' +export const withInit = + <T extends Atom>( + createState: Fn<[Ctx, T['__reatom']['initState']], AtomState<T>>, + ): Fn<[T], T> => + (anAtom) => { + const { initState } = anAtom.__reatom + anAtom.__reatom.initState = (ctx) => createState(ctx, initState) + re...
feat(hooks): add withInit
null
artalar/reatom
MIT License
TypeScript
@@ -38,6 +38,11 @@ public class SuspiciousUserDetectionService "Hypesquad Moderation", "Hypesquad Moderator", "ModMail", + "Moderation Message", + "Moderation Notification", + "Moderation Team", + "Moderator Message", + "Moderator Team", "Staff Academy", "Staff Developers", "Staff Events",
feat: add more phishing names
null
vtpdevelopment/silk
Apache License 2.0
C#
@@ -223,19 +223,11 @@ func getEventReadingIdsByKeyScoreRange(conn redis.Conn, key string, min string, if err != nil { return nil, nil, errors.NewCommonEdgeX(errors.KindDatabaseError, fmt.Sprintf("retrieve event ids by key %s failed", key), err) } - events, edgeXerr := getObjectsByIds(conn, pkgCommon.ConvertStringsToInt...
feat(data): Enhance the performance of events deletion
null
edgexfoundry/edgex-go
Apache License 2.0
Go
import { defError } from "./deferror"; +// FIXME https://github.com/snowpackjs/snowpack/issues/3621#issuecomment-907731004 +import.meta.hot; + +declare const __SNOWPACK_ENV__: any; + export const AssertionError = defError<any>(() => "Assertion failed"); /** @@ -10,15 +15,15 @@ export const AssertionError = defError<any...
feat(errors): add snowpack env var support for assert
null
thi-ng/umbrella
Apache License 2.0
TypeScript
@@ -52,6 +52,14 @@ protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs chang var (oldBounds, newBounds) = change.GetOldAndNewValue<Rect>(); EnsureSplitViewMode(oldBounds, newBounds); } + + if (change.Property == SelectedItemProperty) + { + if (_splitView is not null && _splitView.DisplayMode == S...
feat(HamburgerMenu): Auto close on SelectedItem Changed when HamburgerMenu is display as Overlay
null
avaloniaui/avalonia
MIT License
C#
@@ -2,18 +2,98 @@ if Code.ensure_loaded?(ConfigParser) do defmodule ExAws.CredentialsIni.File do @moduledoc false + import ExAws.Request.Hackney, only: [request: 4] # as per https://docs.aws.amazon.com/cli/latest/topic/config-vars.html @valid_config_keys ~w( aws_access_key_id aws_secret_access_key aws_session_token reg...
feat(creds): support aws-sso configuration
null
ex-aws/ex_aws
MIT License
Elixir
@@ -89,7 +89,33 @@ func (cl *commandline) database(cmd *cobra.Command) { }, Args: cobra.ExactArgs(1), } - cc.Flags().BoolP("replica", "r", false, "create database as a replica") + cc.Flags().BoolP("replica", "r", false, "set database as a replica") + + cu := &cobra.Command{ + Use: "update", + Short: "Update database", ...
feat(cmd/immuadmin): update database command
null
codenotary/immudb
Apache License 2.0
Go
import React from 'react'; +import { Platform } from 'react-native'; import { Icon, @@ -42,7 +43,11 @@ export const drawerScreenOptions = { headerShown: true, headerStyle: { backgroundColor: BaseTheme.palette.screen02Header - } + }, + orientation: Platform.select({ + ios: 'default', + android: 'all' + }) }; /** @@ -134...
feat(mobile/navigation): added screen orientation based on Platform
null
jitsi/jitsi-meet
Apache License 2.0
JavaScript
@@ -37,7 +37,11 @@ export class WasmSchedule implements IWasmAPI<ScheduleExports> { async init(parent: WasmBridge<ScheduleExports>) { this.parent = parent; + if (parent.exports._schedule_init) { parent.exports._schedule_init(); + } else { + parent.logger.warn("schedule module unused, skipping auto-init..."); + } return...
feat(wasm-api-schedule): add check if auto-initializer is present
null
thi-ng/umbrella
Apache License 2.0
TypeScript
@@ -17,6 +17,7 @@ package compute import ( "yunion.io/x/onecloud/cmd/climc/shell" modules "yunion.io/x/onecloud/pkg/mcclient/modules/compute" + "yunion.io/x/onecloud/pkg/mcclient/options" "yunion.io/x/onecloud/pkg/mcclient/options/compute" ) @@ -26,6 +27,8 @@ func init() { bsCmd.Show(&compute.BackupStorageIdOptions{}) ...
feat(climc): add public and private for backupstorage
null
yunionio/yunioncloud
Apache License 2.0
Go
*/ package com.b2international.snowowl.core.request; +import java.util.Optional; + import org.hibernate.validator.constraints.NotEmpty; import com.b2international.commons.exceptions.AlreadyExistsException; @@ -24,6 +26,7 @@ import com.b2international.snowowl.core.bundle.Bundles; import com.b2international.snowowl.core....
feat: set resource owner field to the current user if not set..
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -112,6 +112,13 @@ copy_file ./rdsn/thirdparty/output/lib/libPoco*.so.48 ${pack}/bin copy_file ./rdsn/thirdparty/output/lib/libtcmalloc_and_profiler.so.4 ${pack}/bin copy_file ./rdsn/thirdparty/output/lib/libboost*.so.1.69.0 ${pack}/bin copy_file ./rdsn/thirdparty/output/lib/libhdfs* ${pack}/bin +copy_file ./rdsn/thi...
feat(security): add thirdparty lib when pack server
null
apache/incubator-pegasus
Apache License 2.0
Shell
@@ -71,6 +71,8 @@ import { $RangeErrorPrototype, $ReferenceErrorConstructor, $ReferenceErrorPrototype, + $SyntaxErrorConstructor, + $SyntaxErrorPrototype, } from './globals/error'; export type $True = $Boolean<true>; @@ -522,6 +524,12 @@ export class Intrinsics { referenceErrorPrototype.message = new $String(realm, '')...
feat(aot): add %SyntaxError% and %SyntaxErrorPrototype%
null
aurelia/aurelia
MIT License
TypeScript
@@ -34,7 +34,7 @@ class UsersController extends Controller */ public function login(Request $request, Response $response) : Response { - $users = $this->getUsers(); + $users = $this->getUsersList(); if ((Session::exists('role') && Session::get('role') === 'admin')) { return $response->withRedirect($this->router->pathFo...
feat(admin-plugin): update UsersController logic and several fixes
null
flextype/flextype
MIT License
PHP
@@ -869,6 +869,7 @@ class EntriesController extends Controller $entry = $this->entries->fetch($id); Arr::delete($entry, 'slug'); Arr::delete($entry, 'modified_at'); + Arr::delete($entry, 'created_at'); // Merge entry data with $data $result_data = array_merge($entry, $data);
feat(admin-plugin): fix issue with saving field `created_at`
null
flextype/flextype
MIT License
PHP
@@ -344,8 +344,16 @@ func (s *Server) handleVerify(w http.ResponseWriter, r *http.Request) { var username string if msg.AuthResponseJWT == "" { + if r.URL.Path != "/users/verify/pin" { + server.WriteError(w, server.ErrorInvalidRequest, "wrong endpoint") + return + } username = msg.Username } else { + if r.URL.Path != "...
feat: add sanity check in keyshare authentication endpoints
null
privacybydesign/irmago
Apache License 2.0
Go
@@ -83,7 +83,7 @@ module Capybara::TestGroupHelpers find_all('div.Toastify__toast').each do |toast| within toast do toast_text = find('div.Toastify__toast-body', visible: true).text - found = true if toast_text == message + found = true if toast_text.include? message find('div.Toastify__toast-body', visible: true).clic...
feat(capybara): expect_toastify supports partial text matching
null
coursemology/coursemology2
MIT License
Ruby
@@ -43,4 +43,16 @@ public class SoloGameManager<T extends AbstractSoloPlayer> extends GameManager<T getPlayer().setScore(0); } + public void winGame(String message) { + super.endGame(); + super.addToGameSummary(formatSuccessMessage(message)); + getPlayer().setScore(1); + } + + public void loseGame(String message) { + s...
feat(sdk): possibility to add an end game message for solo games
null
codingame/codingame-game-engine
MIT License
Java
@@ -6,12 +6,36 @@ import ( "time" ) +type customFlag bool + +func (c customFlag) String() string { + if c == true { + return "on" + } + return "off" +} + +func (c *customFlag) Set(s string) error { + if s == "on" { + *c = true + } else { + *c = false + } + + return nil +} + +func (c *customFlag) Type() string { + retur...
feat(cli): Extend example demonstrating pflag.Value
null
influxdata/influxdb
MIT License
Go
-import { Field, FieldProps, getIn } from 'formik'; -import { isUndefined } from 'lodash'; import * as React from 'react'; +import { isUndefined } from 'lodash'; +import { FastField, Field, FieldProps, getIn } from 'formik'; import { ICommonFormFieldProps, IFieldLayoutPropsWithoutInput, IValidationProps } from '../inte...
feat(core/presentation): Perf: use Formik FastField to speed up forms. Opt out using fastField={false}
null
spinnaker/deck
Apache License 2.0
TypeScript
@@ -53,6 +53,8 @@ public class AddTrips extends Modification { /** unique ID for transitive */ private String routeId = UUID.randomUUID().toString(); + public String color = "4444FF"; + private int routeIndex; @Override @@ -85,7 +87,7 @@ public class AddTrips extends Modification { info.route_long_name = this.comment; ...
feat(route-info): set color
null
conveyal/r5
MIT License
Java
@@ -14,8 +14,7 @@ const normalizeValue = value => { if (value === undefined) { return value } - const result = `${typeof value === 'string' ? value.split('') : value}` - return result + return `${typeof value === 'string' ? value.split('') : value}` } const baseClass = 'sui-MoleculeValidationCode'
feat(components/molecule/validationCode): Fixed return in the same line
null
sui-components/sui-components
MIT License
JavaScript
@@ -17,6 +17,8 @@ namespace MLAPI.Transports.UNET public int ServerListenPort = 7777; public int ServerWebsocketListenPort = 8887; public bool SupportWebsocket = false; + public List<TransportChannel> Channels = new List<TransportChannel>(); + // Relay public bool UseMLAPIRelay = false; @@ -262,6 +264,14 @@ namespace M...
feat(transport): Added UNET user channels
null
unity-technologies/com.unity.multiplayer.mlapi
MIT License
C#
@@ -153,6 +153,10 @@ impl TimelineItem { Arc::new(VirtualTimelineItem(vt)) }) } + + pub fn fmt_debug(&self) -> String { + format!("{:#?}", self.0) + } } pub struct EventTimelineItem(pub(crate) matrix_sdk::room::timeline::EventTimelineItem); @@ -196,6 +200,10 @@ impl EventTimelineItem { pub fn raw(&self) -> Option<Strin...
feat(bindings): Add {TimelineItem,EventTimelineItem}::fmt_debug
null
matrix-org/matrix-rust-sdk
Apache License 2.0
Rust
package it.unibo.tuprolog.solve.flags -import it.unibo.tuprolog.core.Atom import it.unibo.tuprolog.core.Term import kotlin.js.JsName import kotlin.jvm.JvmField @@ -14,7 +13,7 @@ data class FlagStore(private val flags: Map<String, Term>) : Map<String, Term> b this[notableFlag.name] @JsName("set") - fun set(name: String,...
feat: generalise FlagStore api
null
tuprolog/2p-kt
Apache License 2.0
Kotlin
@@ -369,7 +369,7 @@ class ConsoleInputReader: } result.key = mapping.get(result.key, result.key) - # Correctly handle Control-Arrow/Home/End and Control-Insert keys. + # Correctly handle Control-Arrow/Home/End and Control-Insert/Delete keys. if ( ev.ControlKeyState & self.LEFT_CTRL_PRESSED or ev.ControlKeyState & self....
feat: add correct handling of Control-Delete and Shift-Delete
null
prompt-toolkit/python-prompt-toolkit
BSD 3-Clause New or Revised License
Python
@@ -142,6 +142,34 @@ func (tApp TestApp) InitializeFromGenesisStatesWithTime(genTime time.Time, genes return tApp } +// InitializeFromGenesisStatesWithTimeAndChainID calls InitChain on the app using the default genesis state, overwitten with any passed in genesis states and genesis Time +func (tApp TestApp) InitializeF...
feat: add function to initialize test app with chain-id
null
kava-labs/kava
Apache License 2.0
Go
@@ -138,7 +138,9 @@ public class DefaultGeoJsonService implements GeoJsonService String idProperty = isBlank( params.getOrgUnitIdProperty() ) ? "id" : params.getOrgUnitIdProperty(); Function<JsonObject, String> readIdentifiers = feature -> feature.getString( idProperty ).string(); - JsonList<JsonObject> features = feat...
feat: GeoJSON import allow single Feature files
null
dhis2/dhis2-core
BSD 3-Clause New or Revised License
Java
@@ -497,40 +497,49 @@ val Assimp = "Assimp".nativeClass(packageName = ASSIMP_PACKAGE, prefix = "ai", p ).noPrefix() StringConstant( - """ - """, + "", "AI_CONFIG_IMPORT_MD3_KEYFRAME".."IMPORT_MD3_KEYFRAME" ).noPrefix() StringConstant( - "@see \\#AI_CONFIG_IMPORT_GLOBAL_KEYFRAME", + "", + + "AI_CONFIG_IMPORT_MD2_KEYFRAM...
feat(assimp): update to utilize new JavaDoc generation
null
lwjgl/lwjgl3
BSD 3-Clause New or Revised License
Kotlin
@@ -35,7 +35,10 @@ export interface StyledFocusRingProps export interface FocusRingProps { name?: string - children: React.ReactChild | React.ReactChild[] + children: + | React.ReactChild + | React.ReactChild[] + | ((active: boolean) => React.ReactChildren) options?: boolean | FocusRingOptions } @@ -72,7 +75,7 @@ expor...
feat(react-tinacms-inline): FocusRing accepts render-child
null
tinacms/tinacms
Apache License 2.0
TypeScript
@@ -58,6 +58,13 @@ module Dpl shell :create end + def prepare + cmds = super || [] + Array(cmds).each do |cmd| + cmd.casecmp('restart').zero? ? restart : run_cmd(cmd) + end + end + def deploy shell :set_env, echo: false unless env.empty? shell promote? ? :deploy : :build, echo: false
feat: added prepare step to convox
null
travis-ci/dpl
MIT License
Ruby
@@ -37,12 +37,8 @@ class SettingsController extends Controller } $themes = []; - foreach (Filesystem::listContents(PATH['themes']) as $theme) { - if ($theme['type'] !== 'dir' || ! Filesystem::has($theme['path'] . '/' . 'theme.yaml')) { - continue; - } - - $themes[$theme['dirname']] = $theme['dirname']; + foreach ($this...
feat(admin-panel): show themes title instead of themes id's on settings page
null
flextype/flextype
MIT License
PHP
@@ -166,8 +166,9 @@ class ErrorModel(Estimator): def __call__(self, data, *args, **kwargs): if isinstance(data, str): return self._infer_instance(data) - return [self._infer_instance(instance) for instance in tqdm(data, desc='Infering a batch with the error model', - leave=False)] + if len(data) > 1: + data = tqdm(data...
feat: do not show tqdm progressbar when speller gets batch of size 1
null
deeppavlov/deeppavlov
Apache License 2.0
Python
@@ -253,72 +253,10 @@ class Connection extends BaseConnection implements ConnectionInterface //-------------------------------------------------------------------- - /** - * Platform-dependant string escape - * - * @param string $str - * @return string - */ - protected function _escapeString(string $str): string - { - ...
feat: remove escape method
null
codeigniter4/codeigniter4
MIT License
PHP
@@ -123,7 +123,7 @@ reddit_search( #else char limit_query[64]; snprintf(limit_query, sizeof(limit_query), - "?limit=%d", params->limit); + "&limit=%d", params->limit); char restrict_sr_query[32] = ""; if (true == params->restrict_sr) { snprintf(restrict_sr_query, sizeof(restrict_sr_query), @@ -146,12 +146,22 @@ reddit_...
feat: add support to before and after query commands; force raw_json=1
null
cee-studio/orca
MIT License
C
namespace App\Ship\Exceptions\Handlers; use Apiato\Core\Abstracts\Exceptions\Exception as CoreException; +use Apiato\Core\Exceptions\AuthenticationException; use Apiato\Core\Exceptions\Handlers\ExceptionsHandler as CoreExceptionsHandler; +use App\Ship\Exceptions\NotFoundException; +use Illuminate\Http\JsonResponse; +us...
feat: improve exception handling
null
apiato/apiato
MIT License
PHP
@@ -84,6 +84,7 @@ git config --global user.email "publish@ghbot.com" rm -rf $TMP_ASSET_DIR/assets 1>&3 mkdir -p $TMP_ASSET_DIR/assets 1>&3 cp -r ios-app/ios-assets/* $TMP_ASSET_DIR/assets 1>&3 +cp package.json $TMP_ASSET_DIR/assets 1>&3 # Lets not copy podspec file over as it has path info for this repo # and it will b...
feat: copy package.json to ios pod
null
newsuk/times-components
BSD 3-Clause New or Revised License
Shell
@@ -62,6 +62,7 @@ import org.springframework.web.bind.annotation.*; /** * @author Lars Helge Overland + * @author David Katuscak <katuscak.d@gmail.com> */ @Controller @RequestMapping( "/systemSettings" ) @@ -91,7 +92,8 @@ public class SystemSettingController this.userSettingService = userSettingService; } - @RequestMap...
feat: Add support for JSON content type in POST request
null
dhis2/dhis2-core
BSD 3-Clause New or Revised License
Java
@@ -144,4 +144,49 @@ describe('story visual editor', function() { .contains('myTestIntent') .should('exist'); // there nlu example is there too }); + + it('should use the cannonical example if one is available', function () { + cy.MeteorCall('nlu.insertExamplesWithLanguage', ['bf', 'fr', [ + { + text: 'bonjour cannonic...
feat: add test for cannonical example in conversation builder
null
botfront/botfront
Apache License 2.0
JavaScript
@@ -186,6 +186,27 @@ pub fn parse_matcher_def(v: &str) -> anyhow::Result<MatchingRuleDefinition> { } } +/// Determines if a sting starts with a valid matching rule definition. This is used in the case +/// where a value can be a matching rule definition or a plain string value +pub fn is_matcher_def(v: &str) -> bool { ...
feat: add function to detect if a string is a matching definition
null
pact-foundation/pact-reference
MIT License
Rust
@@ -513,10 +513,13 @@ func (manager *SGuestManager) ListItemFilter( func (manager *SGuestManager) ExtraSearchConditions(ctx context.Context, q *sqlchemy.SQuery, like string) []sqlchemy.ICondition { var sq *sqlchemy.SSubQuery - if regutils.MatchIP4Addr(like) { - sq = GuestnetworkManager.Query("guest_id").Equals("ip_addr...
feat(region): search server by substr of ip or mac
null
yunionio/yunioncloud
Apache License 2.0
Go
/* eslint-disable react/prop-types */ import {useState} from 'react' +import IconClose from '@s-ui/react-icons/lib/Close' import MoleculeModal from '@s-ui/react-molecule-modal' import MoleculeSelect from '@s-ui/react-molecule-select' import MoleculeSelectOption from '@s-ui/react-molecule-dropdown-option' @@ -53,6 +54,7...
feat(components/molecule/selectPopover/demo): use actionsAreHidden in renderContentWrapper
null
sui-components/sui-components
MIT License
JavaScript
// use std::fmt::Display; -use std::fmt::Error; use std::fmt::Formatter; use common_datavalues::format_data_type_sql; @@ -97,7 +96,7 @@ impl Display for PhysicalScalar { fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { match &self { PhysicalScalar::Variable { column_id, .. } => write!(f, "{}", column_id), - P...
feat(processor): make lint
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -189,9 +189,16 @@ int rocksdb_wrapper::ingest_files(int64_t decree, ifo.ingest_behind = ingest_behind; rocksdb::Status s = _db->IngestExternalFile(sst_file_list, ifo); if (dsn_unlikely(!s.ok())) { - derror_rocksdb("IngestExternalFile", s.ToString(), "decree = {}", decree); + derror_rocksdb("IngestExternalFile", + s....
feat(online_migration): update log to print ingest_behind option
null
apache/incubator-pegasus
Apache License 2.0
C++
@@ -7,6 +7,7 @@ import { NodeView } from '../../view/node' import { Graph } from '../../graph/graph' import { EventArgs } from '../../graph/events' import { Scroller } from '../scroller' +import { FunctionExt } from '../../util' export class Dnd extends View { public readonly options: Dnd.Options @@ -242,7 +243,9 @@ ex...
feat: validateNode before added to graph
null
antvis/x6
MIT License
TypeScript
@@ -133,13 +133,17 @@ class Yammer extends OAuth2 /** * Check if the OAuth email is verified * + * If present, the email is verified. + * * @param $accessToken * * @return bool */ public function isEmailVerified(string $accessToken): bool { - return false; + $email = $this->getUserEmail($accessToken); + + return !empty...
feat: update Yammer OAuth provider
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
@@ -17,7 +17,11 @@ package com.b2international.snowowl.fhir.rest; import static com.b2international.snowowl.core.rest.OpenAPIExtensions.*; +import java.time.LocalDate; + import org.springdoc.api.annotations.ParameterObject; +import org.springframework.format.annotation.DateTimeFormat; +import org.springframework.format...
feat(fhir): Add custom headers for input not passed in with the resource
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -989,7 +989,7 @@ router.get('/weseepro/circle', require('./routes/weseepro/circle')); router.get('/coolbuy/newest', require('./routes/coolbuy/newest')); // NGA -router.get('/nga/forum/:fid', require('./routes/nga/forum')); +router.get('/nga/forum/:fid/:recommend?', require('./routes/nga/forum')); router.get('/nga/po...
feat: add nga recommend
null
diygod/rsshub
MIT License
JavaScript
@@ -13,6 +13,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethersphere/bee/pkg/logging" + "github.com/ethersphere/bee/pkg/sctx" "github.com/ethersphere/bee/pkg/settlement/swap/erc20" "github.com/ethersphere/bee/pkg/storage" "github.com/ethersphere/bee/pkg/transaction" @@ -48,10 +49,14 @@ func check...
feat: print required funds for gas and respect deployment gas price
null
ethersphere/bee
BSD 3-Clause New or Revised License
Go
@@ -18,7 +18,7 @@ class DonatorService( for (member in guild?.memberCache ?: emptyList<Member>()) { val isPremium = member.roles.any { - it.idLong == 488579500427313208 || it.idLong == 686243026384715796 + it.idLong == 488579500427313208 || it.idLong == 686243026384715796 || it.idLong == 734467534492926032 } if (isPrem...
feat: nitro booster role for premium perks
null
toxicmushroom/melijn
MIT License
Kotlin
@@ -56,7 +56,7 @@ public IDataTemplate CellEditingTemplate set => SetAndRaise(CellEditingTemplateProperty, ref _cellEditingCellTemplate, value); } - private void OnCellTemplateChanged(AvaloniaPropertyChangedEventArgs e) + private static void OnCellTemplateChanged(AvaloniaPropertyChangedEventArgs e) { var oldValue = (ID...
feat(DataGrid): Address rule CA1822
null
avaloniaui/avalonia
MIT License
C#
@@ -11,6 +11,7 @@ namespace NBitcoin.Protocol Error = 0, MSG_TX = 1, MSG_BLOCK = 2, + MSG_WTX = 5, // Nodes may always request a MSG_FILTERED_BLOCK/MSG_CMPCT_BLOCK in a getdata, however, // MSG_FILTERED_BLOCK/MSG_CMPCT_BLOCK should not appear in any invs except as a part of getdata. MSG_FILTERED_BLOCK = 3,
feat: add MSG_WTX (0x00000005) into InventoryType
null
metacosa/nbitcoin
MIT License
C#
@@ -83,7 +83,7 @@ export default function bartack(so, self) { else guide = so.path.clone() } - self.paths[name('bartack', so)] = bartackPath(guide, so, self).attr('class', 'stroke-sm bartack') + self.paths[name('bartack', so)] = bartackPath(guide, so, self).attr('class', 'stroke-sm stroke-mark') return true }
feat(plugin-bartack): Switched to utility classes for styling
null
freesewing/freesewing
MIT License
JavaScript
@@ -2,9 +2,11 @@ import { ApolloClient } from "apollo-client"; import { ApolloLink } from "apollo-link"; import { Router } from "routes"; import { HttpLink } from "apollo-link-http"; +import { WebSocketLink } from "apollo-link-ws"; import { setContext } from "apollo-link-context"; import { onError } from "apollo-link-e...
feat: add graphql subscription support
null
reactioncommerce/example-storefront
Apache License 2.0
JavaScript
@@ -177,8 +177,8 @@ abstract class Playback(var source: String, var mimeType: String? = null, val op override fun render(): UIObject { if (options.containsKey(ClapprOption.START_AT.value)) { once(Event.READY.value, Callback.wrap { - (options[ClapprOption.START_AT.value] as? Int)?.let { - seek(it) + (options[ClapprOptio...
feat(fix_option_start_at): allow any number to be setted as Start point
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
@@ -72,8 +72,9 @@ class RDBMInstaller(BaseInstaller, SetupUtils): self.dbUtils.metadata.clear() def get_col_def(self, attrname, sql_tbl_name): + not_null = ' NOT NULL' if sql_tbl_name=='gluuPerson' and attrname=='inum' else '' data_type = self.get_sql_col_type(attrname, sql_tbl_name) - col_def = '{0}{1}{0} {2}'.format(...
feat: inum not null in gluuPerson (pgsql/mysql/spanner)
null
gluufederation/community-edition-setup
MIT License
Python
@@ -55,6 +55,40 @@ __helm_override_flags() fi done } + +__helm_override_flags_to_kubectl_flags() +{ + # --kubeconfig, -n, --namespace stay the same for kubectl + # --kube-context becomes --context for kubectl + __helm_debug "${FUNCNAME[0]}: flags to convert: $1" + echo "$1" | sed s/kube-context/context/ +} + +__helm_ge...
feat(cli): Dynamic completion for global flags
null
helm/helm
Apache License 2.0
Go
<?php +use Flextype\Entries\Entries; + beforeEach(function() { filesystem()->directory(PATH['project'] . '/entries')->ensureExists(0755, true); + + $settings = filesystem()->file(ROOT_DIR . '/tests/fixtures/settings.yaml')->get(); + + filesystem()->file(PATH['project'] . '/config/flextype/settings.yaml')->put($settings...
feat(tests): add tests for blogs
null
flextype/flextype
MIT License
PHP
@@ -54,7 +54,7 @@ class Manager: self.commands: t.Dict[str, t.Callable] = dict() app.cfg.MANAGE_SHELL = getattr( # type: ignore - app.cfg, 'MANAGE_SHELL', lambda: {'app': app, 'run': aio_run}) + app.cfg, 'MANAGE_SHELL', lambda: dict(app=app, run=aio_run, **app.plugins)) @self(lifespan=True) def shell(ipython: bool = Tr...
feat: better context for shell
null
klen/muffin
MIT License
Python
@@ -62,14 +62,17 @@ class PreparedQuery extends BasePreparedQuery implements PreparedQueryInterface */ public function _prepare(string $sql, array $options = []) { - // Mysqli driver doesn't like statements - // with terminating semicolons. $sql = rtrim($sql, ';'); + if (strpos('BEGIN', ltrim($sql)) === 0) + { + $sql ....
feat: add prepear method
null
codeigniter4/codeigniter4
MIT License
PHP
@@ -59,8 +59,6 @@ class TwitterService( if (tweets.tweetList.isEmpty()) return val body = DataObject.empty() val selfUser = shardManager.shards.first().selfUser - - body["username"] = selfUser.name body["avatar_url"] = selfUser.effectiveAvatarUrl @@ -123,6 +121,7 @@ class TwitterService( private val twitterDotCoRegex =...
feat: log twitter fetches
null
toxicmushroom/melijn
MIT License
Kotlin
@@ -2288,11 +2288,15 @@ json_vextract (char * json, size_t size, char * extractor, va_list ap) switch (tokens[0].type) { case JSMN_OBJECT: - ASSERT_S(cv.is_object, "Cannot extract array from json object\n"); + if (!cv.is_object) + ERR("Cannot apply '%s' to json array:'%.*s'\n", + extractor, tokens[0].size, tokens[0].st...
feat: improve the error reporting
null
cee-studio/orca
MIT License
C
@@ -39,10 +39,15 @@ object EventStatsResponseHandler { .put("highestGuilds", objectMapper.writeValueAsString(highestGuilds)) .put("lastPoint", lastRequest) resetEventCounter() + resetCommands() context.call.respondJson(dataObject) lastRequest = System.currentTimeMillis() } + private suspend fun resetCommands() { + Abst...
feat: clear out the command usage map
null
toxicmushroom/melijn
MIT License
Kotlin
#include "orka-utils.h" -#define BASE_GATEWAY_URL "wss://gateway.discord.gg/?v=6&encoding=json" +#define BASE_GATEWAY_URL "wss://gateway.discord.gg/?v=8&encoding=json" struct _event_cxt { pthread_t tid; // the thread id
feat: update gateway version to v8
null
cee-studio/orca
MIT License
C
@@ -14,4 +14,13 @@ public enum TransactionStatus: Equatable, Hashable { return 0 } } + + public var slot: UInt64? { + switch self { + case let .confirmed(_, slot): + return slot + default: + return nil + } + } }
feat: public property slot
null
p2p-org/solana-swift
MIT License
Swift
@@ -299,12 +299,9 @@ bool redis_parser::parse_stream() // string content + CR + LF if (_total_length >= _current_str.length + 2) { if (_current_str.length > 0) { - char *ptr = - reinterpret_cast<char *>(dsn::tls_trans_malloc(_current_str.length)); - std::shared_ptr<char> str_data(ptr, - [](char *ptr) { dsn::tls_trans_f...
feat: remove the dependency of tls memory for redis_parser
null
apache/incubator-pegasus
Apache License 2.0
C++
@@ -133,7 +133,7 @@ class Entries ! is_array($collection['fields']) || count($collection['fields']) <= 0 ) { - return; + continue; } foreach ($collection['fields'] as $field) {
feat(entries): fix logic for `initCollectionsFields` when fields not found
null
flextype/flextype
MIT License
PHP
@@ -164,6 +164,7 @@ func constructSessionRequest(cmd *cobra.Command, conf *irma.Configuration) (irma sign, _ := cmd.Flags().GetStringArray("sign") message, _ := cmd.Flags().GetString("message") jsonrequest, _ := cmd.Flags().GetString("request") + revocationKey, _ := cmd.Flags().GetString("revocation-key") if len(disclo...
feat: support revocation in irma session and irma request
null
privacybydesign/irmago
Apache License 2.0
Go
package com.b2international.snowowl.core; import java.io.Serializable; -import java.util.Collections; -import java.util.List; -import java.util.Set; +import java.util.*; import com.b2international.snowowl.core.commit.CommitInfo; import com.b2international.snowowl.core.domain.IComponent; import com.b2international.snowo...
feat(core): support any kind of additional data expansion on..
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
+/* +Copyright 2022 The Vitess Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writin...
feat: added logical plan for Projection
null
vitessio/vitess
Apache License 2.0
Go
@@ -55,6 +55,8 @@ class V07 extends Filter { case Response::MODEL_ANY: case Response::MODEL_PREFERENCES: /** ANY was replaced by PREFERENCES in 0.8.x but this is backward compatible with 0.7.x */ case Response::MODEL_NONE: + case Response::MODEL_ERROR: + case Response::MODEL_ERROR_DEV: $parsedResponse = $content; break...
feat: added error models to response model
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
let viewMenu = { label: 'View', submenu: [{ - label: 'Reload', - accelerator: 'CmdOrCtrl+R', - click: function (item, focusedWindow) { - if (focusedWindow) { - console.log('ddd') - } - } - }, { label: 'Toggle Full Screen', accelerator: (function () { if (process.platform === 'darwin') { @@ -22,7 +14,12 @@ let viewMenu ...
feat: prevent reload in production
null
marktext/marktext
MIT License
JavaScript
extern crate uucore; use clap::{crate_version, App, Arg}; +use uucore::error::{UCustomError, UResult}; use std::borrow::Cow; +use std::error::Error; use std::ffi::OsStr; +use std::fmt::Display; use std::fs; use std::io::{stdin, Result}; @@ -44,6 +47,51 @@ pub enum OverwriteMode { Force, } +#[derive(Debug)] +enum LnErro...
feat(ln): use UResult
null
uutils/coreutils
MIT License
Rust
@@ -508,22 +508,16 @@ public class UserServiceImpl extends BaseService<UserRepository, User, String> i }) .switchIfEmpty(Mono.defer(() -> { return signupIfAllowed(user) - .zipWith(configService.getTemplateOrganizationId().defaultIfEmpty("")) - .flatMap(tuple -> { - final User savedUser = tuple.getT1(); - final String t...
feat: Removed check on template organization ID when creating the default organization and application after signup
null
appsmithorg/appsmith
Apache License 2.0
Java
@@ -163,6 +163,27 @@ class Forge extends \CodeIgniter\Database\Forge //-------------------------------------------------------------------- + /** + * Field attribute AUTO_INCREMENT + * + * @param array &$attributes + * @param array &$field + * + * @return void + */ + protected function _attributeAutoIncrement(array &$a...
feat: add auto increment method
null
codeigniter4/codeigniter4
MIT License
PHP
@@ -304,6 +304,32 @@ class VerbosityTest extends BaseRollbarTest ); } + /** + * Test verbosity of \Rollbar\RollbarLogger::log for reports + * successfully processed. + * + * @return void + */ + public function testRollbarLoggerResponseStatusSuccess() + { + $this->rollbarLogTest( + array( // config + "access_token" => $...
feat(dev options): test verbosity on successful reports
null
rollbar/rollbar-php
MIT License
PHP
@@ -12,6 +12,9 @@ import SignIn from '../Auth/SignIn' import { withSignOut } from '../Auth/SignOut' import isEmail from 'validator/lib/isEmail' +import ErrorMessage from '../ErrorMessage' +import RawHtmlElements from '../RawHtmlElements' + import { Interaction, Field, @@ -57,7 +60,8 @@ class Pledge extends Component { ...
feat(Pledge): Display an error message about disabled cookies
null
orbiting/republik-frontend
BSD 3-Clause New or Revised License
JavaScript
@@ -7,7 +7,7 @@ use Illuminate\Database\Eloquent\Collection; use Illuminate\Database\Eloquent\Model; use Illuminate\Filesystem\Filesystem; use Illuminate\Support\Arr; -use Illuminate\Support\Facades\File; +use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\Storage; use TCG\Voyager\Actions\DeleteAction...
feat(update): remove unused class and import the Cache class
null
the-control-group/voyager
MIT License
PHP
@@ -41,7 +41,7 @@ fn merge_env_depends_on_extract(val: &str) -> Vec<&str> { let mut depends_on = vec![]; for matched in RE_VARIABLE.find_iter(val) { - let matched = matched.as_str(); + let matched = matched.as_str().trim(); // remove the first two characters (`${`) let (_, matched) = matched.split_at(2); // remove the ...
feat: extract trim
null
sagiegurari/cargo-make
Apache License 2.0
Rust
@@ -261,7 +261,7 @@ def do_build(cmake_exe, args): def do_tests(ctest_exe, args): print('Running unit tests ...') - ctest_cmd = '"{}" --output-on-failure'.format(ctest_exe) + ctest_cmd = '"{}" --output-on-failure --parallel {}'.format(ctest_exe, args.num_threads) if platform.system() == 'Windows' or platform.system() =...
feat(test): run unit tests in parallel from CMake
null
nfrechette/acl
MIT License
Python