diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -4,6 +4,7 @@ global $utopia, $register, $request, $response, $user, $audit, $webhook, $projec use Utopia\Exception; use Utopia\Validator\WhiteList; +use Utopia\Validator\ArrayList; use Utopia\Validator\Text; use Utopia\Validator\Email; use Utopia\Validator\Host; @@ -400,8 +401,9 @@ $utopia->get('/v1/auth/login/oauth...
feat: added support for scope parameter in the OAuth route
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
@@ -428,6 +428,8 @@ Response ClientFrontEnd::serve( ClientConfig& config } else if (url.path == "/api/insert/bep44") { sys::error_code ec_; // shouldn't throw, but just in case handle_insert_bep44(req, res, ss, cache_client, yield[ec_]); + } else if (url.path == "/api/status") { + handle_portal(config, req, res, ss, ca...
feat(client/frontend): Add /api/status path
null
equalitie/ouinet
MIT License
C++
@@ -135,6 +135,24 @@ send_identify(struct discord_gateway *gw) gw->session.identify_tstamp = ws_timestamp(gw->ws); } +/* send heartbeat pulse to websockets server in order + * to maintain connection alive */ +static void +send_heartbeat(struct discord_gateway *gw) +{ + char payload[64]; + int ret = json_inject(payload,...
feat(discord-gateway.c): send a heartbeat on startup/resume
null
cee-studio/orca
MIT License
C
@@ -53,9 +53,11 @@ bool ExecutableHelper::keep_interm() { return ret; } -namespace { +//! now only cuda/halide jit depends on ExecutableHelperImpl +//! FIXME: imp ExecutableHelperImpl support android if later need +#if defined(__linux__) && !defined(__ANDROID__) -#ifdef __linux__ +namespace { class ExecutableHelperImpl...
feat(jit/opencl): enable base jit when enable OpenCL
null
megengine/megengine
Apache License 2.0
C++
@@ -40,18 +40,18 @@ class Forms * @access private */ private $sizes = [ - '1/12' => 'col-1', - '2/12' => 'col-2', - '3/12' => 'col-3', - '4/12' => 'col-4', - '5/12' => 'col-5', - '6/12' => 'col-6', - '7/12' => 'col-7', - '8/12' => 'col-8', - '9/12' => 'col-9', - '10/12' => 'col-19', - '12/12' => 'col-11', - '12' => 'co...
feat(core): update Forms API for new tabs module
null
flextype/flextype
MIT License
PHP
#![deny(missing_docs)] -use crate::{Context, OckamError}; -use ockam_core::lib::net::SocketAddr; +use crate::{route, Context, OckamError}; use ockam_core::{Address, Any, LocalMessage, Result, Route, Routed, TransportMessage, Worker}; use rand::random; use serde::{Deserialize, Serialize}; @@ -38,30 +37,28 @@ pub struct ...
feat(rust): update remote_forwarder to be able to use arbitrary address instead of socket_addr
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -185,6 +185,12 @@ impl std::convert::From<Vec<Option<u64>>> for Packers { } } +impl std::convert::From<Vec<Option<String>>> for Packers { + fn from(v: Vec<Option<String>>) -> Self { + Self::String(Packer::from(v.as_slice())) + } +} + impl std::convert::From<data_types::table_schema::DataType> for Packers { fn from(t...
feat: add from conversion for String
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -105,15 +105,6 @@ const UsersList = () => { disableGlobalFilter: true, sortType: 'boolean', }, - { - Header: 'Created', - accessor: 'createdAt', - Cell: DateCell, - disableGlobalFilter: true, - sortType: 'date', - width: 120, - maxWidth: 120, - }, { Header: 'Avatar', accessor: 'imageUrl', @@ -147,6 +138,15 @@ const ...
feat: move createdAt col on users
null
unleash/unleash
Apache License 2.0
TypeScript
@@ -105,6 +105,12 @@ elif [ "${posttarget}" == "https://hastebin.com" ] ; then fn_print_ok_nl "Posting details to hastebin.com for ${postexpire}" pdurl="${posttarget}/${link}" echo " Please share the following url for support: ${pdurl}" +elif [ "${posttarget}" == "https://termbin.com" ] ; then + fn_print_dots "Posting ...
feat(postdetails): add postdetails support for
null
gameservermanagers/linuxgsm
MIT License
Shell
@@ -92,9 +92,11 @@ defmodule Ockam.Node do @doc false def start_supervised(module, options) do + restart_type = Keyword.get(options, :restart_type, :transient) + DynamicSupervisor.start_child( @processes_supervisor, - Supervisor.child_spec({module, options}, restart: :transient) + Supervisor.child_spec({module, options...
feat(elixir): add restart_type option for workers
null
ockam-network/ockam
Apache License 2.0
Elixir
@@ -142,3 +142,131 @@ class SpeechActivityDetection(LabelingTask): per_epoch=self.per_epoch, batch_size=self.batch_size, parallel=self.parallel) + + +class DomainAwareSpeechActivityDetection(SpeechActivityDetection): + """Domain-aware speech activity detection + + Trains speech activity detection and domain classificat...
feat: add domain-aware speech activity detection
null
pyannote/pyannote-audio
MIT License
Python
+package main + +import ( + "strings" + "time" + + "github.com/pterm/pterm" +) + +var fakeInstallList = strings.Split("pseudo-excel pseudo-photoshop pseudo-chrome pseudo-outlook pseudo-explorer "+ + "pseudo-dops pseudo-git pseudo-vsc pseudo-intellij pseudo-minecraft pseudo-scoop pseudo-chocolatey", " ") + +var vki int ...
feat: make progressbar configurable
null
pterm/pterm
MIT License
Go
@@ -79,7 +79,11 @@ public final class FtCached implements Footprint { public String load(final String program, final String ext) throws IOException { final String content; if (this.isCached(program, ext)) { - content = new IoCheckedText(new TextOf(this.path(program, ext))).asString(); + content = new IoCheckedText( + n...
feat(#1633): use absolute paths
null
cqfn/eo
MIT License
Java
-import { useEffect, useState } from 'react'; +import { DependencyList, useEffect, useState } from 'react'; import { toast } from 'react-toastify'; import { AxiosError } from 'axios'; @@ -14,6 +14,7 @@ interface PreloadProps<Data> { onErrorToast?: string; onErrorDo?: (error: unknown) => void; children: (data: Data) => ...
feat(preload): supports dependent synchronisation
null
coursemology/coursemology2
MIT License
TypeScript
@@ -109,8 +109,13 @@ func LinkPreRunEFn(context *server.Context) func(*cobra.Command, []string) error } func newApp(logger log.Logger, db dbm.DB, traceStore io.Writer) abci.Application { + skipUpgradeHeights := make(map[int64]bool) + for _, h := range viper.GetIntSlice(server.FlagUnsafeSkipUpgrades) { + skipUpgradeHeig...
feat: enable unsafe-skip-upgrades flag
null
line/lbm-sdk
Apache License 2.0
Go
@@ -138,13 +138,19 @@ fn main() { println!("{:<17}\t{:<46}\t{:<7}", "Name", "Path", "Status"); } let filters = list_m.value_of("filter").unwrap_or_default().to_lowercase(); + let mut exercises_done: u16 = 0; exercises.iter().for_each(|e| { let fname = format!("{}", e.path.display()); let filter_cond = filters .split(',...
feat(list): added progress info
null
rust-lang/rustlings
MIT License
Rust
@@ -16,11 +16,13 @@ from .lib import Vec, Bbox, mkdir, save_images, ExtractedPath DEFAULT_PORT = 8080 -def to_volumecutout(img, image_type): +def to_volumecutout(img, image_type, resolution=None, hostname='localhost'): from . import VolumeCutout if type(img) == VolumeCutout: return img + resolution = Vec(*resolution) i...
feat: added UI updates and resolution option to viewer invocation
null
seung-lab/cloud-volume
BSD 3-Clause New or Revised License
Python
@@ -46,8 +46,6 @@ pub extern "C" fn pactffi_version() -> *const c_char { /// log_env_var must be a valid NULL terminated UTF-8 string. #[no_mangle] pub unsafe extern fn pactffi_init(log_env_var: *const c_char) { - init_windows(); - let log_env_var = if !log_env_var.is_null() { let c_str = CStr::from_ptr(log_env_var); m...
feat(FFI): add an explicit function to enable ANSI terminal support on Windows
null
pact-foundation/pact-reference
MIT License
Rust
@@ -49,7 +49,7 @@ export class TitleService { } private getByElement(): string { - const el = this.doc.querySelector('.content__title h1'); + const el = this.doc.querySelector('.content__title h1') || this.doc.querySelector('pro-header h1.title'); if (el) { return el.firstChild.textContent.trim(); }
feat(theme:title): support pro-header title
null
ng-alain/delon
MIT License
TypeScript
import bitcoin from 'bitcoinjs-lib' import bech32 from 'lib/utils/bech32' +import lightningRequestReq from 'bolt11' + +export const decodePayReq = (payReq, addDefaults = true) => { + const data = lightningRequestReq.decode(payReq) + const expiry = data.tags.find(t => t.tagName === 'expire_time') + if (addDefaults && !e...
feat(util): bolt11 wrapper to add defaults
null
ln-zap/zap-desktop
MIT License
JavaScript
@@ -16,9 +16,7 @@ if (config.use_env_variable) { } fs.readdirSync(__dirname) - .filter((file) => { - return file.indexOf('.') !== 0 && file !== basename && file.slice(-3) === '.js'; - }) + .filter((file) => file.indexOf('.') !== 0 && file !== basename && file.slice(-3) === '.js') .forEach((file) => { const model = requ...
feat: just to force update version and publish
null
mrvmv/sequelize-mig
MIT License
JavaScript
@@ -28,6 +28,8 @@ public class Conversions extends GenericModel { private SegmentSettings segment; @SerializedName("json_normalizations") private List<NormalizationOperation> jsonNormalizations; + @SerializedName("image_text_recognition") + private Boolean imageTextRecognition; /** * Gets the pdf. @@ -85,6 +87,20 @@ pu...
feat(Discovery): Add imageTextRecognition prop to Conversions
null
watson-developer-cloud/java-sdk
Apache License 2.0
Java
+package org.eolang.parser; + +import com.jcabi.xml.XML; +import com.jcabi.xml.XMLDocument; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import org.cactoos.io.InputOf; +import org.cactoos.io.OutputTo; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +//todo:rename ...
feat(#614): add test sketch
null
cqfn/eo
MIT License
Java
@@ -27,27 +27,29 @@ public class Share extends Plugin { call.error("Must provide a URL or Message"); return; } + + if(url != null && !isFileUrl(url) && !isHttpUrl(url)) { + call.error("Unsupported url"); + return; + } + Intent intent = new Intent(Intent.ACTION_SEND); + if (text != null) { // If they supplied both field...
feat(android): add ability to share both text and file
null
ionic-team/capacitor
MIT License
Java
@@ -121,13 +121,23 @@ class FilesystemSource { const absPath = path.join(this.context, file) const relPath = path.relative(this.context, file) const mimeType = this.store.mime.lookup(file) - const content = await fs.readFile(absPath, 'utf-8') + const content = await fs.readFile(absPath, 'utf8') const uid = this.store.m...
feat(filesystem): fileInfo field in schema
null
gridsome/gridsome
MIT License
JavaScript
@@ -16,6 +16,7 @@ use serde::{Deserialize, Serialize}; use pact_matching::logging::fetch_buffer_contents; use pact_models::prelude::HttpAuth; +use pact_verifier::selectors::{consumer_tags_to_selectors, json_to_selectors}; use crate::{as_mut, as_ref, ffi_fn, safe_str}; use crate::ptr; @@ -370,7 +371,11 @@ ffi_fn! { incl...
feat: allow set consumer version selectors
null
pact-foundation/pact-reference
MIT License
Rust
/** -* (C) Copyright IBM Corp. 2018, 2020. +* (C) Copyright IBM Corp. 2021. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,8 +25,8 @@ namespace IBM.Watson.Assistant.V1.Model public class WorkspaceSystemSettingsDisambiguation ...
feat(assistant-v1): add enums for disambiguation
null
watson-developer-cloud/unity-sdk
Apache License 2.0
C#
@@ -72,6 +72,7 @@ const ( optionPostPreviewJobTimeout = "post-preview-job-timeout" optionPostPreviewJobPollTime = "post-preview-poll-time" + optionPreviewHealthTimeout = "preview-health-timeout" ) // PreviewOptions the options for viewing running PRs @@ -90,6 +91,7 @@ type PreviewOptions struct { Dir string PostPreview...
feat: add option to customise preview timeout
null
jenkins-x/jx
Apache License 2.0
Go
@@ -32,7 +32,7 @@ use libc::{c_char, c_int}; use std::ffi::{CStr, OsStr, OsString}; use std::mem::{size_of, MaybeUninit}; use std::os::unix::ffi::OsStrExt; -use std::os::unix::io::{AsRawFd, FromRawFd, RawFd}; +use std::os::unix::io::{AsRawFd, FromRawFd, OwnedFd, RawFd}; use std::ptr; libc_bitflags! { @@ -101,9 +101,9 @...
feat: I/O safety for 'sys/inotify'
null
nix-rust/nix
MIT License
Rust
@@ -127,3 +127,13 @@ os.math.parseNumber = function(value) { // couldn't parse a number, so return NaN return NaN; }; + + +/** + * Returns the integer part of a number by removing any fractional digits. + * @param {(string|number)} val The number to truncate + * @return {number} + */ +os.math.trunc = function(val) { + ...
feat(opensphere): Add trunc method to os.math
null
ngageoint/opensphere
Apache License 2.0
JavaScript
@@ -134,10 +134,38 @@ run_scenario() { copy_challenge_and_tasks "${SCENARIO_DIR}" } +container_statuses() { + local status + status=$(echo "kubectl get pods --all-namespaces -o json" | run_ssh "$(get_master)" | jq -r '.items[].status.containerStatuses[].ready' | sort -u | tr '\n' ' ') + if [[ $status == "true " ]]; the...
feat(perturb): actually test pods for readiness instead of sleeping
null
kubernetes-simulator/simulator
Apache License 2.0
Shell
@@ -96,12 +96,14 @@ internal struct ANativeWindow_Buffer public IntPtr bits; // Do not touch. +#pragma warning disable CA1823 // Avoid unused private fields uint reserved1; uint reserved2; uint reserved3; uint reserved4; uint reserved5; uint reserved6; +#pragma warning restore CA1823 // Avoid unused private fields } } ...
feat(Android): Address Rule CA1823
null
avaloniaui/avalonia
MIT License
C#
@@ -71,6 +71,7 @@ class WireUiServiceProvider extends ServiceProvider Blade::directive('notify', fn (string $expression) => WireUiDirectives::notify($expression)); Blade::directive('wireUiScripts', fn () => WireUiDirectives::scripts()); Blade::directive('wireUiStyles', fn () => WireUiDirectives::styles()); + Blade::dir...
feat: add boolean directive
null
wireui/wireui
MIT License
PHP
@@ -22,7 +22,11 @@ import { } from "@thi.ng/shader-ast"; import { aspectCorrectedUV, fit1101 } from "@thi.ng/shader-ast-stdlib"; import { glCanvas } from "@thi.ng/webgl"; -import { MainImageFn, shaderToy } from "@thi.ng/webgl-shadertoy"; +import { MainImageFn, shaderToy, ShaderToyUniforms } from "@thi.ng/webgl-shaderto...
feat(examples): update weblg-shadertoy example
null
thi-ng/umbrella
Apache License 2.0
TypeScript
@@ -477,7 +477,23 @@ bool replica_helper::load_meta_servers(/*out*/ std::vector<dsn::rpc_address> &se ::dsn::utils::split_args(server_list.c_str(), lv, ','); for (auto &s : lv) { ::dsn::rpc_address addr; - if (!addr.from_string_ipv4(s.c_str())) { + std::vector<std::string> hostname_port; + uint32_t ip = 0; + utils::spl...
feat: The conf server_list of meta_server support use fqdn:port
null
apache/incubator-pegasus
Apache License 2.0
C++
@@ -311,7 +311,6 @@ abstract class SafeMojo extends AbstractMojo { () -> { try { Thread.sleep(TimeUnit.SECONDS.toMillis(sec)); - synchronized (thread) { thread.interrupt(); Logger.warn( Thread.currentThread(), @@ -322,7 +321,6 @@ abstract class SafeMojo extends AbstractMojo { thread ) ); - } } catch (final InterruptedE...
feat(#1423): remove unnecessary synchronization
null
cqfn/eo
MIT License
Java
@@ -118,6 +118,15 @@ func (s *ImmuServer) Get(ctx context.Context, k *schema.Key) (*schema.Item, erro return item, nil } +func (s *ImmuServer) SafeGet(ctx context.Context, opts *schema.SafeGetOptions) (*schema.SafeItem, error) { + s.Logger.Debugf("safeget %s", opts.Key) + item, err := s.Store.SafeGet(*opts) + if err !=...
feat(pkg/server): SafeGet RPC
null
codenotary/immudb
Apache License 2.0
Go
@@ -119,7 +119,7 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options: override val canSeek: Boolean - get() = duration != 0.0 && currentState != State.ERROR + get() = (duration != 0.0 || isDvrEnabled) && currentState != State.ERROR override val isDvrEnabled: Boolean get() {
feat(dvr_exoplayer): can seek if dvr is enable
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
@@ -367,6 +367,14 @@ class BaseDocument(object): else: raise + def db_update_all(self): + '''Raw update parent + children + DOES NOT VALIDATE AND CALL TRIGGERS''' + self.db_update() + for df in self.meta.get_table_fields(): + for d in self.get(df.fieldname): + d.db_update() + def show_unique_validation_message(self, e)...
feat: raw update for document
null
frappe/frappe
MIT License
Python
@@ -349,4 +349,14 @@ export type SearchOptions = { * less relevant results. */ readonly relevancyStrictness?: number; + + /** + * Whether this search should use Dynamic Re-Ranking. + * @link https://www.algolia.com/doc/guides/algolia-ai/re-ranking/ + * + * Note: You need to turn on Dynamic Re-Ranking on your index for ...
feat(ts): document enableReRanking
null
algolia/algoliasearch-client-javascript
MIT License
TypeScript
@@ -181,7 +181,9 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options: field = value - if(oldValue != field) trigger(Event.DID_UPDATE_BITRATE) + if(oldValue != field) { + trigger(Event.DID_UPDATE_BITRATE.value, Bundle().apply { putInt("bitrate", field ?: 0) }) + } } override val bitrate: In...
feat(exoplayer): send updated bitrate on DID_UPDATE_BITRATE
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
@@ -18,6 +18,9 @@ const ( // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName + + // ModuleQueryPath defines the ABCI query path of the module + ModuleQueryPath = "store/bank/key" ) // KVStore keys
feat(x/bank/types): Add `ModuleQueryPath` const to define the bank module's ABCI query path
null
cosmos/cosmos-sdk
Apache License 2.0
Go
@@ -49,6 +49,17 @@ impl Default for SymmetricStateData { } } +/// A completed handshake transport +#[derive(Debug)] +pub struct TransportState<'a, V: Vault> { + h: [u8; SHA256_SIZE], + encrypt_key: SecretKeyContext, + encrypt_nonce: u16, + decrypt_key: SecretKeyContext, + decrypt_nonce: u16, + vault: &'a mut V +} + ///...
feat(rust): add final handshake step to establish secure transport
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -67,6 +67,7 @@ export const createHook = <Config extends IConfiguration>( actions: Overmind<Config>['actions'] effects: Overmind<Config>['effects'] addMutationListener: (cb: IMutationCallback) => () => void + reaction: Overmind<Config>['reaction'] }) => { if (overmindInstance) { console.warn( @@ -123,6 +124,7 @@ exp...
feat(overmind-react): add reaction
null
cerebral/overmind
MIT License
TypeScript
@@ -77,7 +77,9 @@ impl TypeDeserializer for VariantDeserializer { } fn de_json(&mut self, value: &serde_json::Value, _format: &FormatSettings) -> Result<()> { - self.builder.append_value(VariantValue::from(value)); + let val = VariantValue::from(value); + self.memory_size += val.calculate_memory_size(); + self.builder....
feat(format): track memory size of VariantDeserializer
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -65,8 +65,10 @@ public function display(): string if ($this->auth->loggedIn()) { $user = $this->auth->user(); $groups = $user->getGroups(); + $permissions = $user->getPermissions(); $groupsForUser = implode(', ', $groups); + $permissionsForUser = implode(', ', $permissions); $html = '<h3>Current User</h3>'; $html .=...
feat: add user permissions to debug-toolbar
null
codeigniter4/shield
MIT License
PHP
@@ -29,6 +29,11 @@ class BaseExceptionHandler { _getYouchError (error, req, isJSON) { const Youch = require('youch') const youch = new Youch(error, req) + + youch.addLink(() => { + return `<a href="https://discordapp.com/invite/vDcEjq6" target="_blank" title="Join the official Discord server"><i class="fab fa-discord">...
feat(exception): Add forum link
null
adonisjs/core
MIT License
JavaScript
@@ -48,6 +48,12 @@ export const MainnetContractHashTags: ContractHashTag[] = [ tag: 'pwlock-k1-acpl', category: 'lock', }, + { + codeHashes: ['0xe4d4ecc6e5f9a059bf2f7a82cca292083aebc0c421566a52484fe2ec51a9fb0c'], + txHashes: ['0x04632cc459459cf5c9d384b43dee3e36f542a464bdd4127be7d6618ac6f8d268-0'], + tag: 'cheque', + ca...
feat: Add cheque cell script tags
null
nervosnetwork/ckb-explorer-frontend
MIT License
TypeScript
/* eslint-disable require-jsdoc */ -const fetch = require('node-fetch'); +const requireFetch = !globalThis.fetch; +const externalFetch = require('node-fetch'); const BASE_URL = 'https://api.hypixel.net'; const Errors = require('../Errors'); const Cache = require('./defaultCache'); @@ -15,7 +16,11 @@ module.exports = cl...
feat(fetch): Use native fetch if avail (node 18+)
null
hypixel-api-reborn/hypixel-api-reborn
MIT License
JavaScript
@@ -197,7 +197,7 @@ class SpeakerEmbeddingPytorch(Application): protocol=protocol_name, subset=subset) - protocol = get_protocol(protocol_name, progress=False, + protocol = get_protocol(protocol_name, progress=True, preprocessors=self.preprocessors_) self.approach_.fit(self.model_, self.feature_extraction_, protocol,
feat: display training set progress
null
pyannote/pyannote-audio
MIT License
Python
@@ -18,7 +18,7 @@ use std::sync::Arc; use common_datavalues::TypeDeserializer; use common_exception::ErrorCode; use common_exception::Result; -use common_formats::verbose_string; +use common_io::prelude::BufferReadExt; use common_io::prelude::FormatSettings; use common_io::prelude::NestedCheckpointReader; use common_me...
feat(csv): check ending of field
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -10,7 +10,7 @@ declare(strict_types=1); namespace Flextype\Console\Commands\Entries; use Symfony\Component\Console\Command\Command; -use Symfony\Component\Console\Input\InputOption; +use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\O...
feat(console): use args for EntriesUpdateCommand
null
flextype/flextype
MIT License
PHP
@@ -214,7 +214,8 @@ func Create(h Interface) error { continue } - currentCtx := context.WithValue(ctx, tracing.TagWorkflowNodeJobRun, j.ID) + var traceEnded *struct{} + currentCtx, currentCancel := context.WithTimeout(ctx, 10*time.Minute) if val, has := j.Header.Get(tracingutils.SampledHeader); has && val == "1" { curr...
feat(hatchery): timeout of 10 minutes to start a worker
null
ovh/cds
BSD 3-Clause New or Revised License
Go
@@ -5,33 +5,27 @@ use std::{ use dioxus_core::ScopeState; -pub fn use_ref<'a, T: 'static>(cx: &'a ScopeState, f: impl FnOnce() -> T) -> UseRef<'a, T> { - let inner = cx.use_hook(|_| UseRefInner { - update_scheduled: Cell::new(false), +pub fn use_ref<'a, T: 'static>(cx: &'a ScopeState, f: impl FnOnce() -> T) -> &'a UseR...
feat: allow use_ref to be cloned into callbacks
null
dioxuslabs/dioxus
Apache License 2.0
Rust
@@ -16,28 +16,17 @@ import * as vars from '../vars' const TOTAL_STARS = 5 -const ICONS = { - dark: { +const themeToIcons = themeName => { + return { full: { fill: core.colors.yellow, id: Icon.ids.starFill }, empty: { - fill: core.colors.gray03, - id: Icon.ids.starFill - }, - hover: { - fill: core.colors.gray04, - id: I...
feat(starrating): Tracking feedback on component in comments
null
pluralsight/design-system
Apache License 2.0
JavaScript
use crate::colors; use crate::flags::Flags; use crate::op_error::OpError; +use serde::de; +use serde::Deserialize; use std::collections::HashSet; use std::fmt; #[cfg(not(test))] @@ -96,18 +98,54 @@ impl Default for PermissionState { } } -#[derive(Clone, Debug, Default)] +struct BoolPermVisitor; + +fn deserialize_permis...
feat(cli): deserialize Permissions from JSON
null
denoland/deno
MIT License
Rust
@@ -16,10 +16,10 @@ class Seekbar: MediaControlPlugin { var seekbarView: SeekbarView = .fromNib() - var container: UIStackView! { + var containerView: UIStackView! { didSet { - view.addSubview(container) - container.bindFrameToSuperviewBounds() + view.addSubview(containerView) + containerView.bindFrameToSuperviewBounds...
feat: set isLive in seekbarView based on playback type
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -853,14 +853,14 @@ App::post('/v1/functions/:functionId/executions') throw new Exception('Function not found', 404); } - $tag = Authorization::skip(fn() => $dbForProject->getDocument('tags', $function->getAttribute('tag'))); + $deployment = Authorization::skip(fn() => $dbForProject->getDocument('deployments', $funct...
feat: update create-execution endpoint
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
@@ -83,10 +83,6 @@ class Themes // Create site theme settings directory ! Filesystem::has($site_theme_settings_dir) and Filesystem::createDir($site_theme_settings_dir); - // Create site theme settings and manifest files - ! Filesystem::has($site_theme_settings_file) and Filesystem::write($site_theme_settings_file, '');...
feat(core): copy themes `settings` and `manifest` files content from `default` to `custom` folder on themes init
null
flextype/flextype
MIT License
PHP
@@ -394,6 +394,7 @@ fn install_parse(flags: &mut Flags, matches: &clap::ArgMatches) { fn bundle_parse(flags: &mut Flags, matches: &clap::ArgMatches) { ca_file_arg_parse(flags, matches); config_arg_parse(flags, matches); + reload_arg_parse(flags, matches); importmap_arg_parse(flags, matches); unstable_arg_parse(flags, m...
feat(bundle): add support for --reload flag
null
denoland/deno
MIT License
Rust
@@ -39,17 +39,14 @@ use crate::{ // ``` pub(crate) fn convert_while_to_loop(acc: &mut Assists, ctx: &AssistContext) -> Option<()> { let while_kw = ctx.find_token_syntax_at_offset(T![while])?; - let while_expr: ast::WhileExpr = while_kw.parent().and_then(ast::WhileExpr::cast)?; + let while_expr = while_kw.parent().and_t...
feat: handle while let to loop
null
rust-lang/rust-analyzer
Apache License 2.0
Rust
@@ -13,13 +13,23 @@ class Bar(Foo): def foo(self): pass +class Baz(Bar): + @doc_inherit + def foo(self): + pass + Now, Bar.foo.__doc__ == Bar().foo.__doc__ == Foo.foo.__doc__ == "Frobber" +and Baz.foo.__doc__ == Baz().foo.__doc__ == Bar.foo.__doc__ == Foo.foo.__doc__ -from: http://code.activestate.com/recipes/576862-do...
feat: allow doc_inherit on mutliple inheritance levels
null
nilmtk/nilmtk
Apache License 2.0
Python
@@ -124,7 +124,12 @@ impl Chain { // TODO: Add other chains which do not support EIP1559. matches!( self, - Chain::Optimism | Chain::OptimismKovan | Chain::Fantom | Chain::FantomTestnet + Chain::Optimism | + Chain::OptimismKovan | + Chain::Fantom | + Chain::FantomTestnet | + Chain::BinanceSmartChain | + Chain::BinanceS...
feat(chain): add BSC networks to the is_legacy helper
null
gakonst/ethers-rs
Apache License 2.0
Rust
@@ -268,14 +268,7 @@ class Query: return conditions if isinstance(filters, list): for f in filters: - if not isinstance(f, (list, tuple)): - _operator = self.OPERATOR_MAP[filters[1].casefold()] - if not isinstance(filters[0], str): - conditions = make_function(filters[0], filters[2]) - break - conditions = conditions.w...
feat(db.query): Add support for List[Dict] filters
null
frappe/frappe
MIT License
Python
@@ -22,7 +22,7 @@ build({ backgroundColor: '#1d3557', displayName: 'Elephicon', showNameOnTiles: true, - languages: ['EN-US', 'JA-JP', 'DE-DE', 'RU-RU'], + languages: ['EN-US', 'JA-JP', 'DE-DE', 'RU-RU', 'PT-PT'], identityName: process.env.IDENTITY_NAME, publisher: process.env.PUBLISHER, publisherDisplayName: 'sprout20...
feat: add Portugal support
null
sprout2000/elephicon
MIT License
TypeScript
@@ -8,6 +8,8 @@ type PreviewProps = { value?: any type: any fallbackTitle?: React.ReactNode + withRadius?: boolean + withBorder?: boolean } export default class Preview extends React.PureComponent<PreviewProps> { static contextTypes = {
feat(form-builder): add `withRadius` and `withBorder` props to `Preview`
null
sanity-io/sanity
MIT License
TypeScript
@@ -96,7 +96,7 @@ describe('Derived path address validation-["mainnet"]', async () => { expect(sovAddress, 'SOV & RBTC address are equal').eq(rbtcAddress) }) - it.only('Balance > 0 wallet, validate ETH & RSK derived path not same', async () => { + it('Balance > 0 wallet, validate ETH & RSK derived path not same', async...
feat: Remove only
null
liquality/wallet
MIT License
JavaScript
@@ -9,13 +9,16 @@ import io.holunda.camunda.taskpool.view.mongo.filter.createPredicates import io.holunda.camunda.taskpool.view.mongo.filter.filterByPredicates import io.holunda.camunda.taskpool.view.mongo.filter.toCriteria import io.holunda.camunda.taskpool.view.mongo.repository.TaskRepository -import io.holunda.camun...
feat: renamed service
null
holunda-io/camunda-bpm-taskpool
Apache License 2.0
Kotlin
*/ package com.ibm.watson.developer_cloud.util; +import java.io.File; +import java.io.IOException; +import java.nio.file.Paths; import java.util.Hashtable; +import java.util.List; import java.util.Map.Entry; import java.util.logging.Level; import java.util.logging.Logger; import javax.naming.Context; import javax.namin...
feat(core): Search for and process credentials file
null
watson-developer-cloud/java-sdk
Apache License 2.0
Java
@@ -9,6 +9,12 @@ use core::{ }; use embedded_hal::adc::{Channel, OneShot}; +pub use crate::target::saadc::{ + ch::config::{GAINW as Gain, REFSELW as Reference, RESPW as Resistor, TACQW as Time}, + oversample::OVERSAMPLEW as Oversample, + resolution::VALW as Resolution, +}; + // Only 1 channel is allowed right now, a di...
feat: initial work on saadc config
null
nrf-rs/nrf-hal
Apache License 2.0
Rust
@@ -24,6 +24,7 @@ import ( "github.com/mongodb/mongodb-atlas-cli/internal/flag" "github.com/mongodb/mongodb-atlas-cli/internal/store" "github.com/mongodb/mongodb-atlas-cli/internal/usage" + "github.com/mongodb/mongodb-atlas-cli/internal/validate" "github.com/spf13/cobra" "go.mongodb.org/atlas/mongodbatlas" ) @@ -82,6 +...
feat: validate iamRoleID is an object ID
null
mongodb/mongocli
Apache License 2.0
Go
@@ -18,15 +18,18 @@ const SplashBackground = styled.div(props => ({ backgroundPosition: 'center', position: 'absolute', top: 0, + display: 'flex', + alignItems: 'center', + justifyContent: 'center', width: '100%', height: '100%', cursor: 'pointer', })) -const VideoSplash = ({ poster, videoLength, label, ...rest }) => {...
feat(shared-video-splash): add support for custom start button
null
telus/tds-core
MIT License
JavaScript
+import functools +import importlib +from abc import ABC, abstractmethod +from pathlib import Path +from typing import Callable, Dict, List, Optional + +from web3 import Web3 + + +class BrownieMiddlewareABC(ABC): + + """ + Base ABC for all middlewares. + + This class must be inherited in order for a middleware to be di...
feat: middleware ABC and discovery logic
null
eth-brownie/brownie
MIT License
Python
@@ -48,7 +48,10 @@ const useCartFactoryParams: UseCartFactoryParams<CartDetails, LineItem, ProductV return data.cart; }, clear: async (context: Context, { currentCart }) => { - return currentCart; + const cartDetails = await getCurrentCartDetails(context, currentCart); + + const { data } = await context.$ct.api.deleteC...
feat(commercetools): added clear method to useCart
null
vuestorefront/vue-storefront
MIT License
TypeScript
@@ -20,6 +20,15 @@ pub struct EncPhysOffset { pub c_bit_mask: u64, } +impl Default for EncPhysOffset { + fn default() -> Self { + EncPhysOffset { + offset: VirtAddr::new(SHIM_VIRT_OFFSET as u64), + c_bit_mask: get_cbit_mask(), + } + } +} + unsafe impl PageTableFrameMapping for EncPhysOffset { fn frame_to_pointer(&self,...
feat(shim-sev): impl `Default` for `EncPhysOffset`
null
enarx/enarx
Apache License 2.0
Rust
@@ -19,6 +19,10 @@ abstract class Snapshot protected $showDiff = false; + protected $saveAsJson = true; + + protected $extension = 'json'; + /** * Should return data from current test run * @@ -45,7 +49,11 @@ protected function load() if (!file_exists($this->getFileName())) { return; } - $this->dataSet = json_decode(fi...
feat: implements snapshot ability to generate non-json content
null
codeception/codeception
MIT License
PHP
@@ -170,7 +170,7 @@ docker exec "${K8S_CLUSTER}-control-plane" ls -la /cache echo_step "waiting for provider to be installed" -kubectl wait "provider.pkg.crossplane.io/${PACKAGE_NAME}" --for=condition=healthy --timeout=60s +kubectl wait "provider.pkg.crossplane.io/${PACKAGE_NAME}" --for=condition=healthy --timeout=180s...
feat(ack): e2e set timeout to 180s
null
crossplane/provider-aws
Apache License 2.0
Shell
@@ -102,3 +102,27 @@ def test_avec_ppo_agent(): agent._log_interval = 0 agent.fit() agent.policy(env.observation_space.sample()) + + +def test_avec_ppo_agent_partial_fit(): + env = get_benchmark_env(level=1) + n_episodes = 10 + horizon = 30 + + agent = AVECPPOAgent(env, + n_episodes=n_episodes, + horizon=horizon, + gam...
feat(avec): add possibility to use mse vf obj function
null
rlberry-py/rlberry
MIT License
Python
@@ -14,11 +14,12 @@ func getGlobalAcceleratorRegistryItem() *schema.RegistryItem { func newGlobalAccelerator(d *schema.ResourceData, u *schema.UsageData) *schema.Resource { name := d.Get("name").String() + ipAddressType := d.Get("ip_address_type").String() enabled := d.Get("enabled").Bool() r := &aws.GlobalAccelerator{...
feat(aws): read ip address type
null
infracost/infracost
Apache License 2.0
Go
@@ -18,6 +18,7 @@ mod service; mod space; mod tcp; mod terminal; +mod upgrade; mod util; mod vault; mod version; @@ -45,6 +46,7 @@ use vault::VaultCommand; use version::Version; use clap::{ArgEnum, Args, Parser, Subcommand}; +use upgrade::check_if_an_upgrade_is_available; const ABOUT: &str = "\ Orchestrate end-to-end e...
feat(rust): display a message if a new version of command is available
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -1137,7 +1137,7 @@ impl TryInto<InnerStorageRedisConfig> for RedisStorageConfig { /// Query config group. #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize, Args)] -#[serde(default)] +#[serde(default, deny_unknown_fields)] pub struct QueryConfig { /// Tenant id for get the information from the MetaSrv. #[...
feat(query config): add deny_unknown_fields to QueryConfig
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -3,14 +3,16 @@ package shell import ( "context" "fmt" - "github.com/loft-sh/devspace/pkg/util/downloader" - "github.com/loft-sh/devspace/pkg/util/downloader/commands" - "github.com/loft-sh/devspace/pkg/util/log" "io" "os" + "path/filepath" "strings" "time" + "github.com/loft-sh/devspace/pkg/util/downloader" + "githu...
feat: Use current devspace binary in command golang shell
null
loft-sh/devspace
Apache License 2.0
Go
@@ -105,17 +105,21 @@ void waybar::modules::Network::worker() auto waybar::modules::Network::update() -> void { auto format = format_; + std::string connectiontype; if (ifid_ <= 0 || ipaddr_.empty()) { format = config_["format-disconnected"].isString() ? config_["format-disconnected"].asString() : format; label_.get_st...
feat(network): Use Signal Strength for format-icons
null
alexays/waybar
MIT License
C++
@@ -43,6 +43,9 @@ public interface ResourceTypeConverter { return resourceTypeConverters.get(doc.getResourceType()).toResource(doc); } + public Map<String, ResourceTypeConverter> getResourceTypeConverters() { + return resourceTypeConverters; + } } String getResourceType();
feat: create getter for resource type converters
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -9,12 +9,6 @@ declare(strict_types=1); if (registry()->get('flextype.settings.entries.fields.parsers.enabled')) { emitter()->addListener('onEntriesFetchSingleHasResult', static function (): void { - processParsersField(); - }); -} - -function processParsersField(): void -{ if (entries()->registry()->get('fetch.data....
feat(fields): updates for parsers field
null
flextype/flextype
MIT License
PHP
@@ -5,6 +5,7 @@ import Button from '@pluralsight/ps-design-system-button/react' import core from '@pluralsight/ps-design-system-core' import Icon from '@pluralsight/ps-design-system-icon/react' import * as Text from '@pluralsight/ps-design-system-text/react' +import Theme from '@pluralsight/ps-design-system-theme/react...
feat(site): add in-app example for actionmenu
null
pluralsight/design-system
Apache License 2.0
JavaScript
@@ -431,6 +431,9 @@ void replica::close() r = _potential_secondary_states.cleanup(true); dassert(r, "potential secondary context is not cleared"); + + r = _split_states.cleanup(true); + dassert_replica(r, "partition split context is not cleared"); } if (_private_log != nullptr) {
feat(split): clear split context while close replica
null
apache/incubator-pegasus
Apache License 2.0
C++
@@ -202,5 +202,64 @@ public void SelectedItem_Validation() } } + + [Fact] + public void Close_Window_On_Alt_F4_When_ComboBox_Is_Focus() + { + var inputManagerMock = new Moq.Mock<IInputManager>(); + var services = TestServices.StyledWindow.With(inputManager: inputManagerMock.Object); + + using (UnitTestApplication.Start...
feat(tests): Add test to check closing window on Alt+F4 KeyDown when ComboBox is focused
null
avaloniaui/avalonia
MIT License
C#
@@ -80,7 +80,8 @@ def plot_episode_rewards(agent_stats, fignum=None, show=True, max_value=None, - plot_regret=False): + plot_regret=False, + grid=True): """ Given a list of AgentStats, plot the rewards obtained in each episode. The dictionary returned by agents' .fit() method must contain a key 'episode_rewards'. @@ -9...
feat(evaluation): option to disable grid in plots
null
rlberry-py/rlberry
MIT License
Python
@@ -32,6 +32,7 @@ use opendal::io_util::DecompressState; use opendal::Operator; use super::InputFormat; +use crate::processors::sources::input_formats::beyond_end_reader::BeyondEndReader; use crate::processors::sources::input_formats::delimiter::RecordDelimiter; use crate::processors::sources::input_formats::impls::inp...
feat(copy): impl read_beyond_end() for text files
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -34,8 +34,8 @@ if (! function_exists('validateTokenHash')) { /** * Validate token hash. * - * @param string $token Token string length. - * @param string $tokenHashed Token string length. + * @param string $token Token. + * @param string $tokenHashed Token hash. * * @return bool Token string. */
feat(tokens): update tokens helpers
null
flextype/flextype
MIT License
PHP
@@ -169,11 +169,17 @@ impl Compactor { ); let file_size_buckets = U64HistogramOptions::new([ + 50 * 1024, // 50KB + 100 * 1024, // 100KB + 300 * 1024, // 300KB 500 * 1024, // 500 KB 1024 * 1024, // 1 MB 3 * 1024 * 1024, // 3 MB 10 * 1024 * 1024, // 10 MB 30 * 1024 * 1024, // 30 MB + 100 * 1024 * 1024, // 100 MB + 300 *...
feat: add a few more buckets for the histograms
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -1056,7 +1056,7 @@ def validate_permissions(doctype, for_remove=False, alert=False): return _("For {0} at level {1} in {2} in row {3}").format(d.role, d.permlevel, d.parent, d.idx) def check_atleast_one_set(d): - if not d.read and not d.write and not d.submit and not d.cancel and not d.create: + if not d.select and ...
feat: allow to save with select permission
null
frappe/frappe
MIT License
Python
@@ -12,7 +12,7 @@ class GraphQLServerTest extends Scope use SideServer; use ProjectCustom; - public function testCreateCollection() { + public function testCreateCollection(): array { $projectId = $this->getProject()['$id']; $key = $this->getProject()['apiKey']; $query = " @@ -125,57 +125,55 @@ class GraphQLServerTest ...
feat: added more tests
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
@@ -6,7 +6,12 @@ protocol AVPlayerItemInfoDelegate: AnyObject { } class AVPlayerItemInfo { - private unowned var item: AVPlayerItem + private unowned var item: AVPlayerItem { + didSet { + setupObservers() + + } + } private unowned var delegate: AVPlayerItemInfoDelegate private var assetInfo: AVAssetInfo
feat: Setup observer on change item
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -257,19 +257,19 @@ class Sidebar extends Component { My Profile </Typography> </ListItem> - <ListItem - id="addressBookButton" + {/* <ListItem + id="affiliate" className={classes.listItem} - component={addressBook} - key="addressBook" + component={affiliate} + key="affiliate" > - <ListItemIcon> - <AddressBookMenuIco...
feat: commented out new menu item
null
selfkeyfoundation/identity-wallet
MIT License
JavaScript
@@ -69,20 +69,17 @@ class Mail implements \JsonSerializable const VERSION = "7.0.0"; /** - * If passing parameters into this constructor include - * $from, $to, $subject, $plainTextContent and - * $htmlContent at a minimum. In that case, a Personalization - * object will be created for you. + * If passing parameters in...
feat: Mail constructor: Added support for array of Substitution instances using $globalSubstitutions
null
sendgrid/sendgrid-php
MIT License
PHP
@@ -3,7 +3,8 @@ const chalk = require('chalk') const execa = require('execa') const API = require('netlify') const deepLog = require('./utils/deeplog') -const getNetlifyConfig = require('./config') +const resolveNetlifyConfig = require('./config') +const getNelifyConfigFile = require('./utils/hasConfig') const { toToml...
feat: expose config resolver for CLI to use
null
netlify/build
MIT License
JavaScript
@@ -297,6 +297,11 @@ public override void OnServerDisconnect(NetworkConnection conn) OnRoomServerDisconnect(conn); base.OnServerDisconnect(conn); + +#if UNITY_SERVER + if (numPlayers < 1) + StopServer(); +#endif } // Sequential index used in round-robin deployment of players into instances and score positioning
feat: RoomManager Auto-Restart
null
vis2k/mirror
MIT License
C#
@@ -100,12 +100,16 @@ func (rm *SRobotManager) InitializeData() error { robots = append(robots, robot) } ctx := context.Background() + var webhookRobotId string // insert new robot for i := range robots { err := rm.TableSpec().Insert(ctx, &robots[i]) if err != nil { return err } + if robots[i].Type == api.ROBOT_TYPE_WE...
feat(notify): compatible with webhook configuration
null
yunionio/yunioncloud
Apache License 2.0
Go