diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -136,6 +136,20 @@ class CommentActionContext<S = Record<string, any>> return 'reply_to_comment' in this.payload; } + /** + * Checks if the user wrote a message + */ + public get isUser(): boolean { + return this.fromId! > 0; + } + + /** + * Checks if the group wrote a message + */ + public get isGroup(): boolean { +...
feat(contexts): add support isUser/isGroup getters
null
negezor/vk-io
MIT License
TypeScript
@@ -24,10 +24,9 @@ const withStateActiveTab = BaseComponent => { } componentDidMount() { - const {children} = this.props // eslint-disable-line + const {children} = this.prop React.Children.forEach(children, (child, index) => { - // eslint-disable-line - const {active} = child.props // eslint-disable-line + const {acti...
feat(molecule/tabs): removed unnecesario disable eslint line
null
sui-components/sui-components
MIT License
JavaScript
@@ -101,10 +101,12 @@ public class ProcessInstanceSuspensionStateDto extends SuspensionStateDto { } UpdateProcessInstanceSuspensionStateBuilder updateSuspensionStateBuilder = null; - if (params > 1) + if (params == 1) { updateSuspensionStateBuilder = createUpdateSuspensionStateBuilder(engine); - else if (syncParams > 1...
feat(rest api): update suspension state batch
null
camunda/camunda-bpm-platform
Apache License 2.0
Java
@@ -29,5 +29,5 @@ parsers()->shortcodes()->addHandler('entries_fetch', static function (ShortcodeI return ''; } - return collection(entries()->fetch($s->getParameter('id')))->get($s->getParameter('field'), $s->getParameter('default')); + return "@type:array;" . entries()->fetch($s->getParameter('id'))->toJson(); }); \ ...
feat(shortcodes): update `[entries]` shortcode for field processor
null
flextype/flextype
MIT License
PHP
@@ -78,6 +78,7 @@ export { useSSRContext, ssrContextKey } from './helpers/useSsrContext' // For custom renderers export { createRenderer, createHydrationRenderer } from './renderer' +export { queuePostFlushCb } from './scheduler' export { warn } from './warning' export { handleError,
feat(runtime-core): export queuePostFlushCb
null
vuejs/vue-next
MIT License
TypeScript
@@ -50,9 +50,9 @@ final class TransitiveDependencies { this(new Dependencies.FilteredDependencies( new Dependencies.JsonDependencies(file), Arrays.asList( - new NoRuntimeDependency(), - new NoSameDependency(dependency), - new NoTestingDependency() + new NotRuntime(), + new NotSame(dependency), + new NotTesting() ) )); ...
feat(#934): rename predicates
null
cqfn/eo
MIT License
Java
import { Dispatch, SetStateAction, useEffect, useState } from "react"; import { Switcher, SwitcherOption } from "../switcher/switcher"; -export type ThemeOption = "light" | "dark" | "system"; +export type Theme = "light" | "dark" | "system"; type ThemeClass = "light" | "dark"; const KEY = "moai-theme"; @@ -13,22 +13,24...
feat(core): Expose ThemeState interface
null
thien-do/moai
MIT License
TypeScript
@@ -16,6 +16,10 @@ module.exports = function parseBase(manifest, manifestJson) { merge(manifest, manifestJson) manifest.versionCode = parseInt(manifest.versionCode) || 1 + if (!manifest.package) { + manifest.package = manifest.name || 'Bundle' + } + if (!manifest.config) { manifest.config = {} }
feat(qa): add validate
null
dcloudio/uni-app
Apache License 2.0
JavaScript
@@ -640,7 +640,7 @@ class _PrivateKeyAccount(PublicKeyAccount): self, receipt: TransactionReceipt, gas_strategy: Optional[GasABC], required_confs: int ) -> TransactionReceipt: # add to TxHistory before waiting for confirmation, this way the tx - # object is available if the user CTRL-C to stop waiting in the console + ...
feat: silence pending tx output on keyboard interrupt
null
eth-brownie/brownie
MIT License
Python
@@ -7,7 +7,7 @@ class ConsolidatedItemEmailJob < ApplicationJob midnight_time_zones = ActiveSupport::TimeZone.all.select { |time| time.now.hour == 0 }. map(&:name) ActsAsTenant.without_tenant do - courses = Course.where(time_zone: midnight_time_zones) + courses = Course.where('time_zone in (?) AND end_at >=(?)', midnig...
feat(consolidated item email job): filter unexpired courses
null
coursemology/coursemology2
MIT License
Ruby
@@ -82,6 +82,7 @@ pub struct Anvil { block_time: Option<u64>, mnemonic: Option<String>, fork: Option<String>, + fork_block_number: Option<u64>, args: Vec<String>, } @@ -113,6 +114,15 @@ impl Anvil { self } + /// Sets the `fork-block-number` which will be used in addition to [`Self::fork`]. + /// + /// **Note:** if set,...
feat: add --fork-block-number setter for anvil bindings
null
gakonst/ethers-rs
Apache License 2.0
Rust
@@ -205,7 +205,9 @@ void EventInstance::getPropertyNames(JSPropertyNameAccumulatorRef accumulator) { EventInstance *JSEvent::buildEventInstance(std::string &eventType, JSContext *context, void *nativeEvent, bool isCustomEvent) { EventInstance *eventInstance; - if (eventCreatorMap.count(eventType) > 0) { + if (isCustomE...
feat: add custom event
null
openkraken/kraken
Apache License 2.0
C++
@@ -28,7 +28,12 @@ if [ "$base_release_branch" != "" ]; then target_major_release=$((major_release-1)) target_release=$(git show-ref --tags | grep -E 'refs/tags/v[0-9]*.[0-9]*.[0-9]*$' | sed 's/[a-z0-9]* refs\/tags\/v//' | awk -v FS=. -v RELEASE=$target_major_release '{if ($1 == RELEASE) print; }' | sort -nr | head -n1...
feat: use the latest tag for comparison against main and use the release brach if no tag exists for the latest release branch
null
vitessio/vitess
Apache License 2.0
Shell
+package circuits + +import ( + "github.com/consensys/gnark-crypto/ecc" + "github.com/consensys/gnark/frontend" +) + +type determinism struct { + X [5]frontend.Variable + Z frontend.Variable `gnark:",public"` +} + +func (circuit *determinism) Define(curveID ecc.ID, cs *frontend.ConstraintSystem) error { + a := cs.Add(c...
feat: addition of circuit to test determinism
null
consensys/gnark
Apache License 2.0
Go
@@ -259,8 +259,8 @@ class DeletesV1 extends Worker $this->getProjectDB($projectId)->delete($projectId); // Delete all storage directories - $uploads = $this->getDevice(APP_STORAGE_UPLOADS . '/app-' . $document->getId()); - $cache = $this->getDevice(APP_STORAGE_CACHE . '/app-' . $document->getId()); + $uploads = $this->...
feat: address review comments:
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
@@ -50,15 +50,18 @@ class YaafeFeatureExtractor(object): Defaults to 512. step_size : int, optional Defaults to 256. + stack : int, optional + Stack `stack` consecutive features. Defaults to 1. """ - def __init__(self, duration=0.025, step=0.010): + def __init__(self, duration=0.025, step=0.010, stack=1): super(YaafeFe...
feat: add "stack" parameter to stack Yaafe features
null
pyannote/pyannote-audio
MIT License
Python
@@ -436,11 +436,8 @@ public class AnalystWorker implements Runnable { transportNetwork = transportNetworkCache.getNetworkForScenario(networkId, request); } catch (ScenarioApplicationException scenarioException) { // Handle exceptions specifically representing a failure to apply the scenario. - // These exceptions can b...
feat(errors): report scenario errors
null
conveyal/r5
MIT License
Java
//! Future compatibility will include Azure Blob Storage, Minio, and Ceph. use bytes::Bytes; -use futures::{Stream, StreamExt, TryStreamExt}; +use futures::{stream, Stream, StreamExt, TryStreamExt}; use rusoto_credential::ChainProvider; use rusoto_s3::S3; use snafu::{futures::TryStreamExt as _, OptionExt, ResultExt, Sn...
feat: Change AWS list to stream back batches of object names
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -63,6 +63,12 @@ alignCSS.innerHTML = } ` +const disableTab = e => { + if (e.key === 'Tab') { + e.preventDefault() + } +} + function handleSpacingTop(show) { const status = show ? 'block' : 'none' if (document.querySelector('#spacing_top')) { @@ -76,7 +82,9 @@ function handleSpacingTop(show) { if (count > 20) { retur...
feat: disable tab key action in gameframe
null
poooi/poi
MIT License
JavaScript
import PackageDescription let package = Package( - name: "algoliasearch-client-swift", + name: "AlgoliaSearch", products: [ // Products define the executables and libraries produced by a package, and make them visible to other packages. .library( - name: "algoliasearch-client-swift", - targets: ["algoliasearch-client-s...
feat(swiftpm): rename name of library to AlgoliaSearch instead of algoliasearch-client-swift
null
algolia/algoliasearch-client-swift
MIT License
Swift
@@ -184,7 +184,7 @@ public final class ResolveMojo extends SafeMojo { dependency -> { final Iterable<Dependency> transitives = new Filtered<>( dep -> !ResolveMojo.eqTo(dep, dependency) - && ResolveMojo.isNotRuntimeRequired(dep) + && ResolveMojo.isRuntimeRequired(dep) && !("org.eolang".equals(dep.getGroupId()) && "eo-ru...
feat(#1595): add check for compile end runtime dependencies
null
cqfn/eo
MIT License
Java
@@ -26,6 +26,7 @@ from eth.vm.forks import ( ByzantiumVM, ConstantinopleVM, PetersburgVM, + IstanbulVM, ) @@ -78,6 +79,7 @@ def _file_logging(request): ByzantiumVM, ConstantinopleVM, PetersburgVM, + IstanbulVM, ]) def VM(request): return request.param
feat: Added IstanbulVM
null
ethereum/py-evm
MIT License
Python
@@ -88,6 +88,7 @@ main() { clean_apps "$chart" "$chartname" "$train" "$chartversion" copy_apps "$chart" "$chartname" "$train" "$chartversion" patch_apps "$chart" "$chartname" "$train" "$chartversion" + clean_catalog "$chart" "$chartname" "$train" "$chartversion" else echo "Skipping chart ${chart}, no correct SCALE comp...
feat: add catalog cleaning script to release pipeline
null
truecharts/apps
BSD 3-Clause New or Revised License
Shell
import { isArray, isDefined } from './Is'; -export const toArray = <T>(...items: (T | T[])[]): T[] => +export type ArrayLike<T> = (T | T[])[]; + +export const toArray = <T>(...items: ArrayLike<T>): T[] => items.length > 1 ? (items as T[]) : isArray(items[0]) ? items[0] : isDefined(items[0]) ? [items[0]] : [];
feat(types): introducing ArrayLike type
null
thisisagile/easy
MIT License
TypeScript
unsigned long long g_application_id; -void -on_ready(struct discord *client, const struct discord_user *bot) +void on_ready(struct discord *client, const struct discord_user *bot) { log_info("Slash-Commands-Bot succesfully connected to Discord as %s#%s!", bot->username, bot->discriminator); } -void -log_on_application_...
feat(bot-slash-commands.c): update with channel listing example, rename a couple fields
null
cee-studio/orca
MIT License
C
@@ -21,7 +21,9 @@ const params = program .option('--exportModels <value>', 'Write models to disk', true) .option('--exportSchemas <value>', 'Write schemas to disk', false) .option('--indent <value>', 'Indentation options [4, 2, tabs]', '4') - .option('--postfix <value>', 'Service name postfix', 'Service') + .option('--...
feat: Add new parameters to cli
null
ferdikoomen/openapi-typescript-codegen
MIT License
JavaScript
@@ -41,11 +41,21 @@ enum Strategies { return super.getBy(annotation); } }, + /** + * This has been deprecated due to misspelling. + * @deprecated Use {@link Strategies#BYACCESSIBILITY} instead. + */ + @Deprecated BYACCESSABILITY("accessibility") { @Override By getBy(Annotation annotation) { return AppiumBy.accessibilit...
feat: Updated spell for deprecated BYACCESSABILITY to BYACCESSIBILITY strategies enum
null
appium/java-client
Apache License 2.0
Java
@@ -26,6 +26,7 @@ import static com.b2international.index.query.Expressions.matchTextParsed; import static com.b2international.index.query.Expressions.regexp; import java.util.Map; +import java.util.Set; import java.util.stream.Collectors; import com.b2international.commons.collections.Collections3; @@ -43,6 +44,7 @@ i...
feat: add set of possible sort fields
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -85,6 +85,13 @@ impl FilePath { pub fn prefix_matches(&self, prefix: &Self) -> bool { self.inner.prefix_matches(&prefix.inner) } + + /// Returns all directory and file name `PathParts` in `self` after the + /// specified `prefix`. Ignores any `file_name` part of `prefix`. + /// Returns `None` if `self` dosen't start...
feat: Connect parts_after_prefix from DirsAndFileName to FilePath
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -152,8 +152,8 @@ impl BleRouter { // TODO: @ac let mailboxes = Mailboxes::new( - Mailbox::allow_all(main_addr.clone()), - vec![Mailbox::allow_all(api_addr)], + Mailbox::deny_all(main_addr.clone()), + vec![Mailbox::deny_all(api_addr)], ); WorkerBuilder::with_mailboxes(mailboxes, router) .start(ctx)
feat(rust): use `DenyAll` for ble
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -312,7 +312,16 @@ class Query: filters: Union[Dict[str, Union[str, int]], str, int, List[Union[List, str, int]]] = None, **kwargs, ): + # Clean up state before each query + self.tables = {} criterion = self.build_conditions(table, filters, **kwargs) + + if len(self.tables) > 1: + primary_table = self.tables[table] +...
feat: left join tables by default
null
frappe/frappe
MIT License
Python
@@ -72,9 +72,6 @@ def _build_gas_profile_output(): def _build_coverage_output(build, coverage_eval): # Formats a coverage evaluation report that may be printed to the console - all_totals = [(i, _get_totals(i._build, coverage_eval)) for i in get_loaded_projects()] - all_totals = [i for i in all_totals if i[1]] - lines ...
feat: filter contract names prior to % calculations
null
eth-brownie/brownie
MIT License
Python
+// Copyright 2019 Yunion +// +// 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 ...
feat(climc): feature configuration
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -19,12 +19,13 @@ use core::ptr::NonNull; use core::slice; use core::sync::atomic::AtomicU32; +use sallyport::guest::syscall::types::MremapFlags; use sallyport::guest::{self, Handler, Platform, ThreadLocalStorage}; use sallyport::item::enarxcall::sev::TECH; use sallyport::item::syscall; use sallyport::libc::{ - off_t...
feat: add mremap
null
enarx/enarx
Apache License 2.0
Rust
@@ -6,6 +6,37 @@ import { import { Case } from '../models' +function maskPart(part: string): string { + let sum = 0 + + for (let i = 0; i < part.length; i++) { + sum += part.charCodeAt(i) + } + return String.fromCharCode(65 + (sum % 26)) +} + +function maskName(name?: string): string | undefined { + if (!name) { + retu...
feat(judicial-system): Consistently masks names to max two characters
null
island-is/island.is
MIT License
TypeScript
package com.codingame.gameengine.runner; -import java.io.IOException; -import java.io.StringWriter; import java.util.ArrayList; import java.util.List; import java.util.Properties; @@ -50,28 +48,9 @@ public class GameRunner { /** * Create a new GameRunner with no referee input. */ - public GameRunner() { - this(null); -...
feat(sdk): remove properties from constructor
null
codingame/codingame-game-engine
MIT License
Java
@@ -60,6 +60,10 @@ func sanitize(n uint64) uint64 { binary.BigEndian.PutUint64(b, n) for i := range b { switch b[i] { + // these bytes must be remove here to prevent the need + // to escape/unescape. See the models package for + // additional detail. + // \ , " " case 0x5C, 0x2C, 0x20: b[i] = b[i] + 1 }
feat(rand): comment the specific ID bytes removed
null
influxdata/influxdb
MIT License
Go
@@ -102,6 +102,9 @@ async fn wait_for_signal() { pub async fn main(config: Config) -> Result<()> { metrics::init_metrics(&config); + let git_hash = option_env!("GIT_HASH").unwrap_or("UNKNOWN"); + info!(git_hash, "InfluxDB IOx server starting"); + // Install custom panic handler and forget about it. // // This leaks the...
feat: Log git_hash when starting
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -47,6 +47,14 @@ const styles = (theme) => ({ @observer class ProductDetail extends Component { static propTypes = { + /** + * Function to add items to a cart. + * Implementation may be provided by addItemsToCart function from the @withCart decorator + * + * @example addItemsToCart(CartItemInput) + * @type Function +...
feat: add implementation for adding items to cart
null
reactioncommerce/example-storefront
Apache License 2.0
JavaScript
-# open virtual python environment -#source venv/bin/activate -python3 deploy.py \ No newline at end of file +#!/bin/bash + +path=$(cd $(dirname $0); pwd) +deploy="${path}/deploy.py" +python3 ${deploy} \ No newline at end of file
feat: for token
null
zhangferry/iosweeklylearning
MIT License
Shell
@@ -75,6 +75,14 @@ const completionSpec: Fig.Spec = { description: "(Re)connect fig to the current shell session", }, { name: "update", description: "Update completion specs and app" }, + { + name: "theme", + description: "Set the Theme of fig", + args: { + name: "Theme Name", + generators: themesGenerator, + }, + }, {...
feat: add `fig theme` command suggestions
null
withfig/autocomplete
MIT License
TypeScript
@@ -45,11 +45,18 @@ DSN_DEFINE_uint32("nfs", nfs_copy_block_bytes, 4 * 1024 * 1024, "max block size (bytes) for each network copy"); -DSN_DEFINE_int32("nfs", +DSN_DEFINE_uint32( + "nfs", max_copy_rate_megabytes_per_disk, - 500, - "max rate per disk of copying from remote node(MB/s)"); + 0, + "max rate per disk of copyi...
feat: change the nfs limiter diable by default
null
apache/incubator-pegasus
Apache License 2.0
C++
@@ -83,7 +83,8 @@ impl ContentType { /// If it is a JSON type pub fn is_json(&self) -> bool { self.main_type == "application" && (self.sub_type.starts_with("json") || - self.suffix.as_ref().unwrap_or(&String::default()) == "json") + self.suffix.as_ref().unwrap_or(&String::default()) == "json" || + self.sub_type == "gra...
feat: support graphql as a JSON content type
null
pact-foundation/pact-reference
MIT License
Rust
@@ -45,7 +45,6 @@ export default { const events = this._events this.graph = graph each(events, (handler: () => void, event: G6Event) => { - console.log('binding event', event, handler); graph.on(event, handler) }) },
feat: delete console log
null
antvis/g6
MIT License
TypeScript
@@ -15,12 +15,14 @@ import 'bundle.dart'; typedef ConnectedCallback = void Function(); +const _white = Color(0xFFFFFFFF); + void launch({ String bundleURL, String bundlePath, String bundleContent, bool debugEnableInspector, - Color background, + Color background = _white, DevToolsService devToolsService, }) async { // ...
feat: add default background color when running in launch mode
null
openkraken/kraken
Apache License 2.0
Dart
@@ -55,7 +55,6 @@ import com.github.mixinors.astromine.client.rei.triturating.TrituratingDisplay; import com.github.mixinors.astromine.client.rei.wiremilling.WireMillingCategory; import com.github.mixinors.astromine.client.rei.wiremilling.WireMillingDisplay; import com.github.mixinors.astromine.common.recipe.*; -import...
feat: "choppy" rei plugin bar progressions
null
mixinors/astromine
MIT License
Java
import Foundation -protocol SolanaAccountStorage: AnyObject { +public protocol SolanaAccountStorage { var account: Account? {get throws} func save(_ account: Account) throws }
feat: public AccountStorage
null
p2p-org/solana-swift
MIT License
Swift
@@ -18,7 +18,7 @@ import io.clappr.player.plugin.PluginEntry import io.clappr.player.plugin.UIPlugin.Visibility import io.clappr.player.plugin.core.UICorePlugin -class MediaControl(core: Core) : UICorePlugin(core, name = name) { +open class MediaControl(core: Core) : UICorePlugin(core, name = name) { abstract class Plu...
feat(media_control): meke Media Control Open
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
@@ -635,7 +635,7 @@ import Foundation let body = [ "params": query.build() ] - return client.performHTTPQuery(path: path, method: .POST, body: body, hostnames: client.readHosts, requestOptions: requestOptions, completionHandler: completionHandler) + return client.performHTTPQuery(path: path, method: .POST, body: body, ...
feat(deleteby): change from client.readHosts to client.writeHosts
null
algolia/algoliasearch-client-swift
MIT License
Swift
@@ -163,6 +163,100 @@ START_TEST(test_010CallContract_0003SetTwoBytesArraysAndTwoNonFixedSuccess) } END_TEST +START_TEST(test_011GetBalance_0001GetSuccess) +{ + BOAT_RESULT ret; + + BoatEthWallet *wallet = NULL; + BoatEthTx tx_ctx; + + BCHAR *result_str; + + BoatIotSdkInit(); + + wallet = ethereumOnetimeWalletPrepare()...
feat: Added balance and transfer test cases
null
aitos-io/boat-x-framework
Apache License 2.0
C
@@ -158,6 +158,20 @@ impl Room { timeline.retry_decryption(&session_ids).await; }); } + + pub fn fetch_members(&self) { + let timeline = match &*self.timeline.read().unwrap() { + Some(t) => Arc::clone(t), + None => { + error!("Timeline not set up, can't fetch members"); + return; + } + }; + + RUNTIME.spawn(async move {...
feat(ffi): Add Room::fetch_members
null
matrix-org/matrix-rust-sdk
Apache License 2.0
Rust
@@ -32,27 +32,19 @@ public partial class Header : IAsyncDisposable private List<BitBreadcrumbItem> ProfileBreadcrumbItems { get; set; } = new(); protected override async Task OnInitAsync() - { - try { SetBreadcrumbItems(); SetCurrentUrl(); SetBreadcrumbItem(); -#pragma warning disable CS8622 // Nullability of reference...
feat(templates): remove extra codes from the AdminPanel project
null
bitfoundation/bitframework
MIT License
C#
use futures::io::Error; #[allow(unused)] use ockam_message::message::*; +use ockam_message::MAX_MESSAGE_SIZE; use ockam_system::commands::RouterCommand::ReceiveMessage; use ockam_system::commands::{OckamCommand, RouterCommand, TransportCommand}; use std::collections::HashMap; @@ -26,7 +27,6 @@ impl TcpManager { match s...
feat(rust): add tcp message length, allow messages to span transmit units
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -24,11 +24,13 @@ class ValidateScript(pyblish.api.InstancePlugin): # These attributes will be checked attributes = [ "fps", "fstart", "fend", - "resolution_width", "resolution_height", "pixel_aspect" + "resolution_width", "resolution_height", "pixel_aspect", "handles" ] # Value of these attributes can be found on pa...
feat(nuke): adding Handles into required hierarchical attr in Validate script
null
pypeclub/openpype
MIT License
Python
@@ -6,7 +6,7 @@ defmodule RealtimeWeb.RealtimeChannel do alias Phoenix.Socket.Broadcast alias Realtime.SubscriptionManager alias Realtime.Metrics.SocketMonitor - alias RealtimeWeb.ChannelsAuthorization + alias RealtimeWeb.{ChannelsAuthorization, Endpoint} @verify_token_interval 60_000 @@ -25,7 +25,7 @@ defmodule Realti...
feat: verify token of all roles coming from client
null
supabase/realtime
Apache License 2.0
Elixir
@@ -7,10 +7,12 @@ import { result } from "./result"; * recorded so far (excluding the matched terminator string) and returns * `Match.FULL` result. Else `Match.PARTIAL`. * + * @see until + * * @param str * @param callback */ -export const until = <C, R>( +export const untilStr = <C, R>( str: string, callback?: LitCallb...
feat(fsm): update / split until()
null
thi-ng/umbrella
Apache License 2.0
TypeScript
import styled from 'styled-components'; -import { COLOR_WHITE, COLOR_BRAND, COLOR_GRAY_2, COLOR_GRAY_4 } from '../../../styles/colors'; +import { COLOR_WHITE, COLOR_GRAY_2, COLOR_GRAY_4 } from '../../../styles/colors'; +import getTheme from '../../../styles/helpers/getTheme'; -const StyledContainer = styled.span` +cons...
feat: add support theme for badge component
null
nexxtway/react-rainbow
MIT License
JavaScript
@@ -141,7 +141,9 @@ public partial class BitBreadcrumbDemo { Name = "CurrentItem", Type = "BitBreadcrumbItem?", - Description = "by default, the current item is the last item. But it can also be specified manually." + Description = "by default, the current item is the last item. But it can also be specified manually.",...
feat(components): add the BitBreadcrumbItem sub properties section to the BitBreadcrumb demo
null
bitfoundation/bitframework
MIT License
C#
+import { withoutKeysObj } from "@thi.ng/associative"; import { isArray } from "@thi.ng/checks"; import { ITexture, TextureOpts } from "./api"; import { isGL2Context } from "./utils"; @@ -23,13 +24,14 @@ export class Texture implements ITexture { configure(opts: Partial<TextureOpts>) { const gl = this.gl; - const targe...
feat(webgl): add cubemap support & cubeMap() factory fn
null
thi-ng/umbrella
Apache License 2.0
TypeScript
@@ -31,6 +31,8 @@ use crate::Opt; use super::{config_user_id_path, MEILISEARCH_CONFIG_PATH}; +const ANALYTICS_HEADER: &str = "X-Meilisearch-Client"; + /// Write the instance-uid in the `data.ms` and in `~/.config/MeiliSearch/path-to-db-instance-uid`. Ignore the errors. fn write_user_id(db_path: &Path, user_id: &str) { ...
feat(analytics): handle the new x-meilisearch-client custom header for the analytics
null
meilisearch/meilisearch
MIT License
Rust
@@ -153,6 +153,19 @@ where } } + /// Return a state snapshot of all the values in this [`ArcMap`] in + /// arbitrary order. + /// + /// # Concurrency + /// + /// The snapshot generation is serialised w.r.t concurrent calls to mutate + /// `self` (that is, a new entry may appear immediately after the snapshot + /// is g...
feat: ArcMap values() snapshot
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -179,7 +179,17 @@ export class FinancialStatementsInaoTemplateService { file: fileName, } - try { + this.logger.info(`PostFinancialStatementForPersonalElection input`, input) + this.logger.info( + `PostFinancialStatementForPersonalElection file type ${typeof fileName}`, + ) + + this.logger.info( + `PostFinancialStat...
feat(financial-statements-inao): Added more logging
null
island-is/island.is
MIT License
TypeScript
@@ -708,8 +708,13 @@ open class Query : AbstractQuery { } set { if let dstPolygons = newValue { - let components = dstPolygons.flatMap({ - [String($0.p1.lat), String($0.p1.lng), String($0.p2.lat), String($0.p2.lng)] + let components = dstPolygons.flatMap({ dstPolygon -> [String] in + let p1Lat = String(dstPolygon.p1.la...
feat(swift): solce the expression too long error found in Xcode 9.3 Beta
null
algolia/algoliasearch-client-swift
MIT License
Swift
@@ -86,6 +86,11 @@ public class ObjectiveService { return keyResultRepository.findByObjectiveAndOrderBySequence(objective); } + public Collection<NoteObjective> findNotesOfObjective(long objectiveId) { + Objective objective = findById(objectiveId); + return objective.getNotes(); + } + /** * Updates an Objective. *
feat(objective-comments): added function for finding notes via objectiveId
null
burningokr/burningokr
Apache License 2.0
Java
@@ -21,6 +21,8 @@ export class LayoutRowFilter { static IS_GATHERING = new LayoutRowFilter(row => getItemSource(row, DataType.GATHERED_BY, true).type !== undefined, 'IS_GATHERING'); + static IS_GARDENING = new LayoutRowFilter(row => getItemSource(row, DataType.GARDENING)?.seedItemId > 0, 'IS_GARDENING'); + static IS_TR...
feat(layout): new filter: IS_GARDENING
null
ffxiv-teamcraft/ffxiv-teamcraft
MIT License
TypeScript
@@ -102,12 +102,6 @@ impl Entity { } } -impl Drop for Entity { - fn drop(&mut self) { - self.ctx.runtime().block_on(self.ctx.stop()).unwrap(); - } -} - impl ProfileAdd for Entity { fn add_profile(&mut self, profile: ProfileSync) -> Result<()> { if let Ok(id) = profile.identifier() {
feat(rust): remove entity drop impl
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -38,6 +38,25 @@ abstract class Migration ]; } + /** + * Create a table if it doesn't already exist. + */ + public static function createTableIfNotExists($name, callable $definition) + { + return [ + 'up' => function (Builder $schema) use ($name, $definition) { + if (! $schema->hasTable($name)) { + $schema->create($n...
feat: add createTableIfNotExists migration helper
null
flarum/core
MIT License
PHP
@@ -83,7 +83,11 @@ open class Container: UIObject { return } + #if os(iOS) layerComposer.attachPlayback(playback.view) + #else + view.addSubviewMatchingConstraints(playback.view) + #endif playback.render() view.sendSubviewToBack(playback.view)
feat: fix tvOS playback
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -32,3 +32,8 @@ test('test getPluginsDictionary() method', function () { $this->assertTrue(is_array(flextype('plugins')->getPluginsDictionary(flextype('plugins')->getPLuginsList(), 'en_US'))); $this->assertTrue(isset(flextype('plugins')->getPluginsDictionary(flextype('plugins')->getPLuginsList(), 'en_US')['en_US']['s...
feat(tests): add tests for Plugins getPluginsCacheID() method
null
flextype/flextype
MIT License
PHP
@@ -88,7 +88,6 @@ pub(crate) fn inline_local_variable(acc: &mut Assists, ctx: &AssistContext) -> O | ast::Expr::MethodCallExpr(_) | ast::Expr::FieldExpr(_) | ast::Expr::TryExpr(_) - | ast::Expr::RefExpr(_) | ast::Expr::Literal(_) | ast::Expr::TupleExpr(_) | ast::Expr::ArrayExpr(_) @@ -575,7 +574,7 @@ fn foo() { r" fn f...
feat: fix inline variable produce mismatched type
null
rust-lang/rust-analyzer
Apache License 2.0
Rust
# MIT License. See license.txt from __future__ import unicode_literals +import json import os from six import iteritems import logging @@ -41,6 +42,30 @@ class RequestContext(object): def __exit__(self, type, value, traceback): frappe.destroy() +def recorder(function): + def wrapper(*args, **kwargs): + def dumps(entry)...
feat(recorder): Store arguments and results for all calls to frappe.db.sql in cache
null
frappe/frappe
MIT License
Python
@@ -18,6 +18,7 @@ export { m1guelpf } from './m1guelpf' export { meta } from './meta' export { microlink } from './microlink' export { midudev } from './midudev' +export { netlify } from './netlify' export { nextjsconf } from './nextjsconf' export { paco } from './paco' export { pedro } from './pedro'
feat: add `netlify` preset
null
microlinkhq/cards
MIT License
JavaScript
@@ -174,6 +174,7 @@ namespace acl float duration = 0.0F; sample_looping_policy looping_policy = sample_looping_policy::non_looping; + additive_clip_format8 additive_format = additive_clip_format8::none; bool are_rotations_normalized = false; bool are_translations_normalized = false; @@ -223,6 +224,7 @@ namespace acl ou...
feat(compression): add additive format to clip context
null
nfrechette/acl
MIT License
C
package org.gluu.oxtrust.service; +import java.io.File; import java.io.IOException; import java.io.Serializable; +import java.lang.reflect.Method; +import java.nio.charset.StandardCharsets; +import java.text.DateFormat; +import java.text.SimpleDateFormat; +import java.util.Arrays; +import java.util.Date; +import java.u...
feat(oxtrust-server): added audit log files for config changes
null
gluufederation/oxtrust
MIT License
Java
@@ -170,7 +170,6 @@ void JSBridge::invokeModuleEvent(NativeString *moduleName, const char* eventType // parse html. void JSBridge::parseHTML(const NativeString *script, const char *url) { if (!m_context->isValid()) return; - binding::jsc::updateLocation(url); m_html_parser->parseHTML(script->string, script->length); }
feat: delete inding::jsc::updateLocation(url)
null
openkraken/kraken
Apache License 2.0
C++
@@ -10,6 +10,7 @@ import dev.vini2003.hammer.core.api.common.math.size.Size; import dev.vini2003.hammer.gravity.api.common.manager.GravityManager; import net.minecraft.fluid.Fluid; import net.minecraft.text.Text; +import net.minecraft.text.TranslatableText; import net.minecraft.util.Identifier; import net.minecraft.uti...
feat: temperature, humidity, danger
null
mixinors/astromine
MIT License
Java
@@ -8,7 +8,7 @@ from jina.executors import BaseExecutor class MyTestCase(JinaTestCase): - # @unittest.skip("skip tests depending on pretraining models") + @unittest.skip("skip tests depending on pretraining models") def test_encoding_results(self): encoder = ErnieTextEncoder(max_length=10) test_data = np.array(['it is ...
feat(encoder): disable the time-consuming unittest
null
jina-ai/jina
Apache License 2.0
Python
@@ -325,7 +325,7 @@ const Ediscovery = SparkPlugin.extend({ const activityCount = 20000; // reportResponse.body.contentCounter.activityCount; const numberToRetrieve = 1000; const promises = []; - const reportGenerator = new ReportGenerator({reportId, spark: this.spark}); + const reportGenerator = new ReportGenerator({r...
feat(ediscovery): removing unnecessary parameter
null
webex/webex-js-sdk
MIT License
JavaScript
@@ -35,7 +35,6 @@ pub mod compat; mod cancel; mod context; mod delayed; -mod error; mod executor; mod messages; mod node; @@ -43,6 +42,9 @@ mod parser; mod relay; mod router; +/// Errors +pub mod error; + pub use cancel::*; pub use context::*; pub use delayed::*;
feat(rust): make `ockam_node::error` module public
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -121,6 +121,11 @@ impl VcsUrl { static ref VS_DOMAIN_RE: Regex = Regex::new(r"^([^.]+)\.visualstudio.com$").unwrap(); static ref VS_GIT_PATH_RE: Regex = Regex::new(r"^_git/(.+?)(?:\.git)?$").unwrap(); static ref VS_TRAILING_GIT_PATH_RE: Regex = Regex::new(r"(.+?)/_git$").unwrap(); + static ref HOST_WITH_PORT: Regex ...
feat(releases): Allow port in url
null
getsentry/sentry-cli
BSD 3-Clause New or Revised License
Rust
from brownie import Contract, accounts, history -from brownie.network.gas.strategies import GasNowScalingStrategy # this script is used for bridging CRV rewards to sidechains # it should be run once per week, just after the start of the epoch week @@ -14,22 +13,23 @@ POLYGON = [ "0x060e386eCfBacf42Aa72171Af9EFe17b3993f...
feat: xdai sidechain emissions
null
curvefi/curve-dao-contracts
MIT License
Python
@@ -41,22 +41,20 @@ def input_index_data(num_docs=None, batch_size=8, dataset_type='f30k'): ) for i, (images, captions) in enumerate(data_loader): - for image in images: + for image, caption in zip(images, captions): current_hash = hash(image) - with Document() as document: - document.buffer = image - document.modality...
feat: clean up eval flow
null
jina-ai/examples
Apache License 2.0
Python
@@ -328,6 +328,78 @@ export default { ref: "button.flat.default.borderColor" } }, + /** + * ## Variants + * + * ### Segmented + * + */ + "button.segmented.label.fontColor": { + type: COLOR, + value: { + ref: "button.outline.label.fontColor" + } + }, + "button.segmented.indicatorColor": { + type: COLOR, + value: { + ref...
feat: created theme data for segmented button
null
autodesk/hig
Apache License 2.0
JavaScript
@@ -29,7 +29,7 @@ const FinancialStatementInaoApplication: ApplicationTemplate< name: (application) => { const hasApprovedExternalData = application.answers?.approveExternalData const currentUser = hasApprovedExternalData - ? (application.externalData.nationalRegistry.data as User) + ? (application.externalData?.nation...
feat(financial-statement-inao): null check externaldata in applicationname
null
island-is/island.is
MIT License
TypeScript
@@ -39,16 +39,23 @@ namespace MagicOnion.Tests Grpc.Core.Server server; public ServerPort ServerPort { get; private set; } public Channel DefaultChannel { get; private set; } + public MagicOnionOptions Options { get; private set; } public ServerFixture() { PrepareServer(); } + protected virtual MagicOnionOptions Create...
feat: Add ServiceLocator tests
null
cysharp/magiconion
MIT License
C#
@@ -42,3 +42,16 @@ export function useGlobalForm<FormShape = any>( return [values, form] } + +/** + * Creates and registers ScreenPlugin that renders the given Form. + */ +export function useFormScreenPlugin(form: Form) { + const GlobalForm = useMemo(() => { + if (!form) return + + return new GlobalFormPlugin(form) + }...
feat: introduce useFormScreenPlugin
null
tinacms/tinacms
Apache License 2.0
TypeScript
+<?php + +use Flextype\Component\Filesystem\Filesystem; + +beforeEach(function() { + filesystem()->directory(PATH['project'] . '/entries')->create(); +}); + +afterEach(function (): void { + filesystem()->directory(PATH['project'] . '/entries')->delete(); +}); + +test('test PublishedByField', function () { + flextype('e...
feat(tests): add tests for entry PublishedByField
null
flextype/flextype
MIT License
PHP
@@ -19,8 +19,9 @@ namespace Flextype\Console\Commands\Cache; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; -use Symfony\Component\Console\Style\SymfonyStyle; use Symfony\Component\Console\Input\InputArgument; +use...
feat(console): improve `cache:set-multiple` logic
null
flextype/flextype
MIT License
PHP
@@ -60,15 +60,19 @@ def main(task, num_docs, request_size, data_set): if task == 'index': f = Flow().load_config('flow-index.yml') with f: - f.index(input_fn=input_index_data(num_docs, request_size, data_set), request_size=request_size) + f.index( + input_fn=input_index_data(num_docs, request_size, data_set), + request...
feat: clean up main method
null
jina-ai/examples
Apache License 2.0
Python
@@ -7,7 +7,7 @@ use query_core::{ schema_builder, set_parent_context_from_json_str, QueryExecutor, TxId, }; use query_engine_metrics::{MetricFormat, MetricRegistry}; -use request_handlers::{GraphQLSchemaRenderer, GraphQlHandler, TxInput}; +use request_handlers::{dmmf, GraphQLSchemaRenderer, GraphQlHandler, TxInput}; us...
feat: add more efficient getDmmf method to the node-api QE class
null
prisma/prisma-engines
Apache License 2.0
Rust
@@ -512,6 +512,10 @@ async function processItems(base64, customTextures = false, packs, cacheOnly = f item.extra.skin = `PET_SKIN_${item.tag.ExtraAttributes.petInfo.skin}`; } + if(item.tag?.ExtraAttributes?.dye_item != undefined) { + item.extra.dye = item.tag.ExtraAttributes.dye_item; + } + // Set custom texture for co...
feat: add armor dye to extra object
null
skycryptwebsite/skycrypt
MIT License
JavaScript
@@ -32,7 +32,7 @@ function validate_files_token($token) : bool * token - [REQUIRED] - Valid Files token. * * Returns: - * An array of entry item objects. + * An array of file item objects. */ $app->get('/api/files', function (Request $request, Response $response) use ($flextype, $api_sys_messages) { @@ -111,7 +111,7 @@...
feat(media): improvements and updates for apis
null
flextype/flextype
MIT License
PHP
@@ -131,6 +131,12 @@ export interface ContextMessageUpdate extends Context { */ pinChatMessage(messageId: number, extra?: { disable_notification?: boolean }): Promise<boolean> + /** + * Use this method to unpin a message in a group, a supergroup, or a channel. + * @returns True on success + */ + unpinChatMessage(): Pro...
feat(typing/index): update typing for unpinChatMessage
null
telegraf/telegraf
MIT License
TypeScript
@@ -1045,18 +1045,10 @@ to_json(char *str, size_t len, void *p_field) /* @todo this needs to be tested */ int -list_to_json(char *str, size_t len, void *p_field) +list_to_json(char *str, size_t len, void *p_fields) { - dati **fields = *(dati ***)p_field; - size_t size = ntl_length((void**)fields); - if (0 == size) retu...
feat: list_to_json() should work
null
cee-studio/orca
MIT License
C++
@@ -109,7 +109,7 @@ class TokenAuthorization extends Component { this.state.dirty && constentsError ) - const { country, city, ipAddress, userAgent, isCurrent } = target.session + const { country, city, ipAddress, userAgent, phrase, isCurrent } = target.session return ( <Fragment> <P> @@ -118,7 +118,15 @@ class TokenAu...
feat(Auth): display phrase when authorizing different session
null
orbiting/republik-frontend
BSD 3-Clause New or Revised License
JavaScript
@@ -551,8 +551,10 @@ class RenderBoxModel extends RenderBox with if (width == null && intrinsicRatio != null && heightSizeType == BoxSizeType.specified) { double height = getContentHeight(renderBoxModel); + if (height != null) { width = height * intrinsicRatio; } + } if (width != null) { return math.max(0, width - crop...
feat: fix render error when width is null
null
openkraken/kraken
Apache License 2.0
Dart
import { render, screen } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; import '@testing-library/jest-dom/extend-expect'; -import { mount } from 'enzyme'; import React from 'react'; import Chip from '@carbon/icons-react/lib/chip/24'; @@ -80,12 +79,9 @@ describe('SuiteHeader', () =>...
feat(suiteheader): converting a test from enzyme to react testing library, per feedback
null
carbon-design-system/carbon-addons-iot-react
Apache License 2.0
JavaScript
@@ -44,9 +44,10 @@ test('test fetch() method', function () { // 4 flextype('entries')->create('foo', []); flextype('entries')->create('foo/bar', []); - flextype('entries')->create('foo/baz', []); + flextype('entries')->create('foo/baz', ['foo' => ['bar' => 'zed']]); $fetch = flextype('entries')->fetch('foo', true); $th...
feat(tests): add tests for Entries
null
flextype/flextype
MIT License
PHP
@@ -359,7 +359,8 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco } else { - CommunicationMonitor = new GenericCommunicationMonitor(this, Communication, 30000, 120000, 300000, "xStatus SystemUnit Software Version\r\n"); + var command = string.Format("xCommand Peripherals HeartBeat ID: {0}{1}", Crestro...
feat(essentails): swaps cisco comm monitor poll string
null
pepperdash/essentials
MIT License
C#
@@ -37,6 +37,143 @@ using ::mlir::OpOperand; namespace lumen { namespace eir { +/// Matches a ConstantIntOp + +/// The matcher that matches a constant numeric operation and binds the constant +/// value. +struct constant_apint_op_binder { + APIntAttr::ValueType *bind_value; + + /// Creates a matcher instance that binds...
feat: add pattern binders for atoms/bools
null
lumen/lumen
Apache License 2.0
C++