diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -236,8 +236,24 @@ public class OrcaSwap: OrcaSwapType { fatalError("feeRelayer is being implemented") } - // when swap from native SOL, a fee for creating it is needed - if fromWalletPubkey == owner.base58EncodedString { + // when swap from or to native SOL, a fee for creating it is needed + if fromWalletPubkey == o...
feat: swap fee when toToken or intermediary token is SOL
null
p2p-org/solana-swift
MIT License
Swift
@@ -4,6 +4,12 @@ export type TableColumn = { children?: TableColumn[] } & Recordable +export type VxeTableColumn = { + field: string + title?: string + children?: TableColumn[] +} & Recordable + export type TableSlotDefault = { row: Recordable column: TableColumn
feat: add vxe crud schemas
null
yunaiv/ruoyi-vue-pro
MIT License
TypeScript
@@ -58,6 +58,9 @@ class Overlay: with self.lock: return self._data.__str__() + def __eq__(self, other): + return self._data == other + def __repr__(self): with self.lock: return self._data.__repr__()
feat(server state): add support for equal comparisons
null
lona-web-org/lona
MIT License
Python
@@ -19,3 +19,11 @@ test('test update() method', function () { $this->assertTrue(flextype('media_files_meta')->update('foo.txt', 'description', 'Foo description')); $this->assertEquals('Foo description', flextype('yaml')->decode(flextype('filesystem')->file(PATH['project'] . '/uploads/.meta/foo.txt.yaml')->get())['descr...
feat(tests): add tests for MediaFilesMeta add() method
null
flextype/flextype
MIT License
PHP
@@ -295,12 +295,21 @@ elif main_action == '3': elif selected_livenet_size[-1] == 'M': livenet_size = int(selected_livenet_size[:-1]) + print('Enter path to SSH public key (left empty to disable key injection):') + selected_ssh_pub_key = str(input('-->: ').strip()) + if selected_ssh_pub_key and not os.path.exists(select...
feat: inject SSH public key to livenet image
null
bluebanquise/bluebanquise
MIT License
Python
@@ -13,9 +13,15 @@ export type AccordionContextType = [ ]; export type AccordionProps = { + /** Use to render any component as Button */ + as?: keyof JSX.IntrinsicElements | React.ComponentType<any>; + /** Set it true to open the accordion by default */ defaultActive?: boolean; + /** If you want to handle the active st...
feat: add as prop for Accordion component
null
medly/medly-components
MIT License
TypeScript
@@ -30,9 +30,18 @@ import com.b2international.snowowl.eventbus.IMessage; public class MessageFactory { public static final BaseMessage createMessage(String address, Object message, String tag, final Map<String, String> headers) { + return createMessage(address, message, tag, headers, true, true); + } + + public static ...
feat(eventbus): Allow propagation of publish/send and success flags..
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -1070,8 +1070,12 @@ func (ncoord *NsqdCoordinator) UpdateChannelStateToCluster(channel *nsqd.Channel return rpcErr } handleSyncResult := func(successNum int, tcData *coordData) bool { + // make sure the state sync failed can be known for api caller + if successNum == len(tcData.topicInfo.ISR) { return true } + retur...
feat: return error if update channel state failed to sync
null
youzan/nsq
MIT License
Go
@@ -423,7 +423,7 @@ ws_send_text(struct websockets *ws, char text[], size_t len) "WS_SEND_TEXT"); if (WS_CONNECTED != ws->status) { - log_error("[%s] Failed attempt to send 'ws_send_text()'", ws->tag); + log_error("[%s] Failed to send '%.*s'", ws->tag, len, text); return false; } @@ -460,14 +460,6 @@ ws_perform(struct ...
feat: if there are pendings file descriptors, wait a little more to close
null
cee-studio/orca
MIT License
C
@@ -89,7 +89,7 @@ export interface GetEdgeHandleOptionsArgs { export function getEdgeHandleOptions(args: GetEdgeHandleOptionsArgs) { const { graph } = args - const options = graph.options.edgeHandle as EdgeHandleOptions + const options = graph.options.edgeHandle return { cloneable: drill(options.cloneable, graph, args)...
feat: remove unnecessary type convertions
null
antvis/x6
MIT License
TypeScript
@@ -125,4 +125,9 @@ public void initHttpHandlers() { .registerHandler("/api/v2/module/{name}", IHttpHandler.PRIORITY_NORMAL, new V2HttpHandlerModule("http.v2.module")) .registerHandler("/api/v2/module/{name}/*", IHttpHandler.PRIORITY_LOW, new V2HttpHandlerModule("http.v2.module")); } + + @ModuleTask(event = ModuleLifeC...
feat(rest): implement reloading to rest module
null
cloudnetservice/cloudnet-v3
Apache License 2.0
Java
@@ -38,10 +38,10 @@ func newCompletionCmd() *cobra.Command { ## Load the tiup completion code for bash into the current shell source <(tiup completion bash) ## Write bash completion code to a file and source if from .bash_profile - tiup completion bash > ~/.completion.bash.inc + tiup completion bash > ~/.tiup.completio...
feat(cmd): add tiup as completion's prefix name
null
pingcap/tiup
Apache License 2.0
Go
@@ -13,25 +13,75 @@ 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\InputOption; class CacheClearCommand extends Command { prote...
feat(console): update CacheClearCommand, add options --data, --config, --routes
null
flextype/flextype
MIT License
PHP
@@ -22,7 +22,7 @@ open class PlayButton: MediaControlPlugin { return core?.activePlayback } - internal(set) var button: UIButton! { + public var button: UIButton! { didSet { view.addSubview(button) button.setImage(playIcon, for: .normal)
feat: Update button visibility:
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -193,6 +193,7 @@ class ApiClient(object): "ApiClient._init_session: username or password is not provided" ) except requests.exceptions.ConnectionError: + self.remove_session() raise except Exception as e:
feat: support dag_run trigger args
null
databand-ai/dbnd
Apache License 2.0
Python
@@ -194,11 +194,21 @@ class SpinnakerSecurityGroup(object): return True + def resolve_self_references(self, rules): + """Resolves `$self` references to actual application name in security group rules.""" + resolved_rules = {} + for app, rule in rules.items(): + if app == '$self': + app = self.app_name + resolved_rules[...
feat: $self in security group config resolves to application
null
foremast/foremast
Apache License 2.0
Python
@@ -198,6 +198,22 @@ impl Table { self.len() == 0 } + pub fn get<'a>(&'a self, key: &str) -> Option<TableChild<'a>> { + if !self.contains_key(key) { + None + } else if let Some(table) = self.tables.get(key) { + Some(TableChild::Table( + // safe, all child pointers are valid + unsafe { table.as_ref().unwrap() }, + )) + ...
feat(get): get on table and child
null
toml-rs/toml
Apache License 2.0
Rust
@@ -118,7 +118,7 @@ use libc::{c_char, c_uint, c_ushort, size_t}; use maplit::*; use pact_models::{Consumer, PactSpecification, Provider}; use pact_models::bodies::OptionalBody; -use pact_models::content_types::ContentType; +use pact_models::content_types::{ContentType, JSON, TEXT, XML}; use pact_models::generators::{G...
feat(FFI): update pactffi_with_body function to support message interactions
null
pact-foundation/pact-reference
MIT License
Rust
-import Route from '@ember/routing/route'; - -// Ensure the application route exists for ember-simple-auth's `setup-session-restoration` initializer -export default Route.extend();
feat: remove route/application
null
simplabs/ember-simple-auth
MIT License
JavaScript
@@ -191,7 +191,7 @@ public partial class ConfigCommands } } - if (webhook is true && channel is not null) + if ((webhook is true || loggingConfig.UseWebhookLogging) && channel is not null) { var success = true;
feat: create webhooks if specified in config
null
vtpdevelopment/silk
Apache License 2.0
C#
@@ -43,6 +43,11 @@ namespace acl return *reinterpret_cast<const scalar_tracks_header*>(reinterpret_cast<const uint8_t*>(&tracks) + sizeof(raw_buffer_header) + sizeof(tracks_header)); } + inline transform_tracks_header& get_transform_tracks_header(compressed_tracks& tracks) + { + return *reinterpret_cast<transform_track...
feat(core): add mutable version of get_transform_tracks_header
null
nfrechette/acl
MIT License
C
@@ -737,7 +737,7 @@ if __name__ == "__main__": total_duration = sum([x['total_duration'] for x in agg_run_stats.values()]) print('Sum of clip durations: {}'.format(format_elapsed_time(total_duration))) - print('Total compression time: {}'.format(format_elapsed_time(total_wall_compression_time))) + print('Total compress...
feat(stat): add total elapsed time in seconds
null
nfrechette/acl
MIT License
Python
@@ -145,11 +145,18 @@ impl ReplLanguageServer { .ok() .unwrap_or_default(); - let items = match response { + let mut items = match response { Some(CompletionResponse::Array(items)) => items, Some(CompletionResponse::List(list)) => list.items, None => Vec::new(), }; + items.sort_by_key(|item| { + if let Some(sort_text) ...
feat(cli/lsp): Sort repl completions
null
denoland/deno
MIT License
Rust
-import { css, html, LitElement } from 'lit'; +import { FormControlMixin } from '@umbraco-ui/uui-base/lib/mixins'; import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; -import { property, state } from 'lit/decorators.js'; +import { css, html, LitElement } from 'lit'; +import { property, query, state }...
feat: add a query for the native element
null
umbraco/umbraco.ui
MIT License
TypeScript
+#include <stdint.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include "mbtk_comm_api.h" +#include "mbtk_api.h" +#include "mbtk_os.h" +#include "boat_fabric_demo.h" +#include "mbtk_open_at.h" +#include "nl_api_sys.h" +#include "boattypes.h" + + +#define MBTK_TEST_STACK_SIZE (40*1024) +int (*user_a...
feat(L503): added L503 fabric demo main.c
null
aitos-io/boat-x-framework
Apache License 2.0
C
@@ -8,7 +8,7 @@ $ docker run \ --rm \ --name prom \ -p 9093:9093 \ - -v $(pwd)/alertmanager.yml:/etc/alertmanager/alertmanager.yml \ + -v $(pwd)/alertmanager.yaml:/etc/alertmanager/alertmanager.yml \ prom/alertmanager 2. Start this script @@ -255,6 +255,34 @@ class SilencedAlert(AlertGenerator): ] +class MixedAlerts(Al...
feat(demo): add more demo alerts
null
prymitive/karma
Apache License 2.0
Python
@@ -4,4 +4,7 @@ declare(strict_types=1); test('test registry_get shortcode', function () { $this->assertStringContainsString('http', flextype('shortcode')->process('[url]')); + + flextype('registry')->set('flextype.settings.url', 'https://flextype.org'); + $this->assertStringContainsString('https://flextype.org', flext...
feat(tests): improve tests for UrlShortcode
null
flextype/flextype
MIT License
PHP
@@ -11,10 +11,22 @@ afterEach(function (): void { }); test('test CreatedAtField', function () { + // 1 flextype('entries')->create('foo', []); - $created_at = flextype('entries')->fetch('foo')['created_at']; - $this->assertTrue(strlen($created_at) > 0); $this->assertTrue((ctype_digit($created_at) && strtotime(date('Y-m...
feat(tests): improve tests for CreatedAtField
null
flextype/flextype
MIT License
PHP
@@ -28,7 +28,7 @@ emitter()->addListener('onEntriesFetchSingleField', static function (): void { $result = entries()->registry()->get('methods.fetch.result'); if (is_string($field['value'])) { - $field['value'] = preg_replace_callback('/@calc\[(.*?)\]/s', function($matches) use ($result) { + $field['value'] = preg_repl...
feat(directives): small update for calc directive
null
flextype/flextype
MIT License
PHP
@@ -26,7 +26,7 @@ class Server extends EventEmitter { pingTimeout: 5000, pingInterval: 25000, upgradeTimeout: 10000, - maxHttpBufferSize: 10e7, + maxHttpBufferSize: 1e6, transports: Object.keys(transports), allowUpgrades: true, perMessageDeflate: {
feat: decrease the default value of maxHttpBufferSize
null
socketio/engine.io
MIT License
JavaScript
@@ -9,8 +9,7 @@ declare(strict_types=1); namespace Flextype\Foundation\Media; -use Flextype\Component\Arrays\Arrays; -use Flextype\Component\Filesystem\Filesystem; +use Atomastic\Arrays\Arrays; class MediaFilesMeta { @@ -27,12 +26,12 @@ class MediaFilesMeta */ public function update(string $id, string $field, string $v...
feat(media-folder-meta): use Atomastic Filesystem
null
flextype/flextype
MIT License
PHP
@@ -10,6 +10,7 @@ export type InputProps = { id?: string name?: string automationId?: string + ariaLabel?: string ariaDescribedBy?: string className?: string inputType?: InputType @@ -33,6 +34,7 @@ const Input: Input = ({ id, name, automationId, + ariaLabel, ariaDescribedBy, className, inputType = "text", @@ -70,6 +72,...
feat: Add aria-label prop to Input
null
cultureamp/kaizen-design-system
MIT License
TypeScript
@@ -86,7 +86,7 @@ def generate_class_string( ).replace("\r\n", "\n") required_args = required_props(filtered_props) is_children_required = 'children' in required_args - required_args = list(filter(lambda arg: arg != 'children', required_args)) + required_args = [arg for arg in required_args if arg != "children"] prohib...
feat: improve to use list comprehensions instead of list method
null
plotly/dash
MIT License
Python
+import React from 'react'; +import PropTypes from 'prop-types'; +import crashlytics from '@react-native-firebase/crashlytics'; + +import Log from '../libs/Log'; + +const propTypes = { + /* An message posted to the server (along with the error) when this component intercepts an error */ + errorMessage: PropTypes.string...
feat: Crate ErrorBoundary component
null
expensify/expensify.cash
MIT License
JavaScript
@@ -27,7 +27,7 @@ public sealed override void Render(DrawingContext context) _context.GlInterface.BindFramebuffer(GL_FRAMEBUFFER, _fb); EnsureTextureAttachment(); EnsureDepthBufferAttachment(_context.GlInterface); - if(!CheckFramebufferStatus(_context.GlInterface)) + if(!OpenGlControlBase.CheckFramebufferStatus(_contex...
feat(OpenGL): Address rule CA1822
null
avaloniaui/avalonia
MIT License
C#
@@ -290,6 +290,16 @@ impl XmlReaderState { self.data.clone() } + fn compare_end_tag(&self, data: &[u8]) -> bool { + let mut n_data = data.len() - 1; + while data[n_data] == b'\r' || data[n_data] == b'\n' { + n_data -= 1; + } + + let n_end_tag = self.end_tag.len(); + n_data > n_end_tag && self.end_tag.eq(&data[n_data - ...
feat: add simple test
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -2,6 +2,7 @@ import PropTypes from 'prop-types' import React from 'react' export const names = { dark: 'dark', light: 'light' } +export const defaultName = names.dark class Theme extends React.Component { getChildContext() { @@ -18,9 +19,10 @@ Theme.propTypes = { name: PropTypes.string.isRequired } Theme.defaultProp...
feat(theme): add defaultName export
null
pluralsight/design-system
Apache License 2.0
JavaScript
@@ -14,3 +14,8 @@ protocol Layer { class BackgroundLayer: UIView, Layer { func attach(plugin: UIPlugin) {} } + +class LayersCompositor: LayersComposer { + func attach(containers: [Container]){} + func attach(corePlugins: [UICorePlugin]){} +}
feat: creates LayersCompositor
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -235,7 +235,7 @@ export class ExporterExcel { }, { key: 'b', - width: 20, + width: 40, }, { key: 'c', @@ -243,25 +243,11 @@ export class ExporterExcel { }, { key: 'd', - width: 20, - style: { - font: { - name: TAPi18n.__('excel-font'), - size: '10', - }, - numFmt: 'yyyy/mm/dd hh:mm:ss', - }, + width: 40, }, { key: '...
feat: add parent name column in excel export
null
wekan/wekan
MIT License
JavaScript
package cmd import ( + "bufio" "fmt" "io" + "os" + "os/exec" + "strings" "time" "github.com/jenkins-x/jx/pkg/builds" @@ -189,9 +193,28 @@ func (o *CommonOptions) tailLogs(ns string, pod string, containerName string) er args = append(args, "-c", containerName) } args = append(args, pod) - o.Verbose = true - return o.Run...
feat: make prow logging return status code 1 if build fails
null
jenkins-x/jx
Apache License 2.0
Go
@@ -261,13 +261,11 @@ impl<M: Middleware> Contract<M> { /// /// Clones `self` internally #[must_use] - pub fn connect(&self, client: Arc<M>) -> Self + pub fn connect<N>(&self, client: Arc<N>) -> Contract<N> where - M: Clone, + N: Clone, { - let mut this = self.clone(); - this.client = client; - this + Contract { base_c...
feat: accept different middlewares for contract connect
null
gakonst/ethers-rs
Apache License 2.0
Rust
-import React from 'react' +import React, { useMemo } from 'react' import { useTransition } from 'react-spring' import { useMotionConfig } from '@nivo/core' import { CirclePackingCommonProps, ComputedDatum, LabelComponent, ComputedLabel } from './types' @@ -14,6 +14,30 @@ interface CirclesProps<RawDatum> { component: L...
feat(circle-packing): memoize labels transition phases
null
plouc/nivo
MIT License
TypeScript
@@ -18,8 +18,8 @@ import argparse from pathlib import Path import sys -p = (Path(__file__) / ".." / "..").resolve() -sys.path.append(str(p)) +root_path = (Path(__file__) / ".." / "..").resolve() +sys.path.append(str(root_path)) from deeppavlov.core.data.utils import download, download_decompress from deeppavlov.core.da...
feat: download.py always downloads to the same place
null
deeppavlov/deeppavlov
Apache License 2.0
Python
/* - * Copyright 2018 B2i Healthcare Pte Ltd, http://b2i.sg + * Copyright 2018-2021 B2i Healthcare Pte Ltd, http://b2i.sg * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. */ package com.b2international.snowowl.snomed.core.domain; +imp...
feat(export): add getName for the export request
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
+#pragma once + +//////////////////////////////////////////////////////////////////////////////// +// The MIT License (MIT) +// +// Copyright (c) 2020 Nicholas Frechette & Animation Compression Library contributors +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software...
feat(math): add support for vector_and/vector_xor
null
nfrechette/acl
MIT License
C
@@ -8,12 +8,14 @@ import org.camunda.bpm.engine.variable.Variables import org.camunda.bpm.engine.variable.Variables.stringValue import org.junit.Before import org.junit.Test +import java.time.Instant import java.util.* -class TaskAggregateTest { +class TaskAggregateEngineCommandTest { private val fixture: AggregateTest...
feat: implwmwnt test
null
holunda-io/camunda-bpm-taskpool
Apache License 2.0
Kotlin
@@ -24,21 +24,21 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Interfaces /// </summary> public class MeetingInfo { - [JsonProperty("id")] + [JsonProperty("id", NullValueHandling = NullValueHandling.Ignore)] public string Id { get; private set; } - [JsonProperty("name")] + [JsonProperty("name", NullValue...
feat(essentials): adds null value handling to MeetingInfo props
null
pepperdash/essentials
MIT License
C#
@@ -100,12 +100,12 @@ class OutboundTransportManager: for outbound_transport in outbound_transports: self.register(outbound_transport) - def register(self, module: str) -> str: + def register(self, module_name: str) -> str: """ Register a new outbound transport by module path. Args: - module: Module name to register + ...
feat: Allow using outbound transports from plugins
null
hyperledger/aries-cloudagent-python
Apache License 2.0
Python
@@ -22,7 +22,7 @@ const ImageSlider = (props) => { * @param {Array} images List given by props.images. * @return {boolean} */ -const hasMoreThanOneImage = (images) => (1 < images.length) +const hasMoreThanOneImage = (images) => (images && 1 < images.length) /** * @param {Array} images List given by props.images. @@ -30...
feat(image/slider): show nothing when image list is empty or null
null
sui-components/sui-components
MIT License
JavaScript
@@ -36,6 +36,8 @@ public class SDK_InputSimulator : MonoBehaviour [Header("Operation Key Bindings")] + [Tooltip("Key used to toggle control hints on/off.")] + public KeyCode toggleControlHints = KeyCode.F1; [Tooltip("Key used to switch between left and righ hand.")] public KeyCode changeHands = KeyCode.Tab; [Tooltip("K...
feat(Simulator): add F1 control hint toggle
null
extendrealityltd/vrtk
MIT License
C#
#!/bin/sh -echo 'Building new archives' -mvn -U -e -Dhttp.proxyHost=${HTTP_PROXY_HOST} -Dhttp.proxyPort=${HTTP_PROXY_PORT} -Dhttps.proxyHost=${HTTPS_PROXY_HOST} -Dhttps.proxyPort=${HTTPS_PROXY_PORT} ${mvn_flags} clean install +echo -e "\n[+] Building new archives" -echo 'Cleaning old archives' -rm /exporter/**/*.?ar +(...
feat(docker): add checks in run.sh
null
eclipse/steady
Apache License 2.0
Shell
-package redis
feat: add content checker
null
go-eagle/eagle
MIT License
Go
@@ -10,6 +10,8 @@ from six import iteritems, binary_type, text_type, string_types, PY2 from werkzeug.local import Local, release_local import os, sys, importlib, inspect, json from past.builtins import cmp +from functools import wraps +from time import time from faker import Faker @@ -512,6 +514,18 @@ def whitelist(all...
feat: added timing decorator
null
frappe/frappe
MIT License
Python
@@ -14,7 +14,8 @@ namespace MLAPI.Transports.UNET StartServer, ConnectToServer, Data, - ClientDisconnect + ClientDisconnect, + AddressReport } private static byte defaultChannelId; @@ -28,6 +29,8 @@ namespace MLAPI.Transports.UNET public static string RelayAddress { get; set; } = "127.0.0.1"; public static ushort Relay...
feat: Added support for address reports
null
unity-technologies/com.unity.multiplayer.mlapi
MIT License
C#
@@ -600,24 +600,33 @@ public boolean addRtpDescription( continue; } - List<PayloadTypePacketExtension> pts = rtpPE.getPayloadTypes(); - if (pts == null || pts.isEmpty()) - { - continue; - } - - hasAnyChanges = true; - ColibriConferenceIQ.Channel channelRequest = (ColibriConferenceIQ.Channel) getRequestChannel( request....
feat(colibri): Adds the RTP headers in the RTP description
null
jitsi/jitsi
Apache License 2.0
Java
@@ -3,6 +3,7 @@ package delete import ( "fmt" + "github.com/MakeNowJust/heredoc" "github.com/profclems/glab/commands/cmdutils" "github.com/profclems/glab/commands/mr/mrutils" "github.com/profclems/glab/internal/utils" @@ -18,7 +19,11 @@ func NewCmdDelete(f *cmdutils.Factory) *cobra.Command { Long: ``, Args: cobra.Maxim...
feat(commands/mr/delete): update EXAMPLES
null
profclems/glab
MIT License
Go
@@ -28,7 +28,7 @@ namespace MagicOnion.OpenTelemetry readonly CounterMetric<long> connectCounter; readonly CounterMetric<long> disconnectCounter; - public OpenTelemetryCollectorLogger(MeterFactory meterFactory, IEnumerable<KeyValuePair<string, string>> defaultLabels = null) + public OpenTelemetryCollectorLogger(MeterFa...
feat: add version support
null
cysharp/magiconion
MIT License
C#
@@ -34,7 +34,7 @@ import java.nio.file.Paths; import java.util.Collection; import java.util.List; import java.util.Set; -import java.util.function.Supplier; +import java.util.concurrent.atomic.AtomicInteger; import java.util.stream.Collectors; import org.apache.maven.plugins.annotations.LifecyclePhase; import org.apach...
feat(#1347): use external done counter
null
cqfn/eo
MIT License
Java
@@ -16,10 +16,11 @@ use std::collections::HashMap; use std::sync::Arc; use std::time::Duration; -use common_base::base::tokio; use common_base::base::tokio::sync::RwLock; use common_base::base::tokio::time::sleep; use common_base::base::GlobalInstance; +use common_base::runtime::GlobalIORuntime; +use common_base::runti...
feat(http handler): enable timeout by default
null
datafuselabs/databend
Apache License 2.0
Rust
+<?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 IdFieldTest', function () { + flextype('entrie...
feat(tests): add tests for entry IdField
null
flextype/flextype
MIT License
PHP
@@ -2949,6 +2949,21 @@ FORCE_INLINE __m64 _mm_sad_pu8(__m64 a, __m64 b) return vreinterpret_m64_u16(vset_lane_u16(r0, vdup_n_u16(0), 0)); } +// Compute the absolute differences of packed unsigned 8-bit integers in a and +// b, then horizontally sum each consecutive 8 differences to produce four +// unsigned 16-bit inte...
feat: Implement _m_psadbw as macro
null
dltcollab/sse2neon
MIT License
C
use dioxus_core::ScopeState; use std::{ - cell::{Ref, RefCell, RefMut}, + cell::{Cell, Ref, RefCell, RefMut}, rc::Rc, sync::Arc, }; @@ -114,16 +114,27 @@ pub fn use_ref<'a, T: 'static>( cx: &'a ScopeState, initialize_refcell: impl FnOnce() -> T, ) -> &'a UseRef<T> { - cx.use_hook(|_| UseRef { + let hook = cx.use_hook(|...
feat: memoize useref by tracking mutations
null
dioxuslabs/dioxus
Apache License 2.0
Rust
@@ -5,7 +5,7 @@ mod tests; use crate::{ ast::{Statement, TypedStatement}, - config::{DocsPage, PackageConfig}, + config::{DocsPage, PackageConfig, Repository}, docs::source_links::SourceLinker, error::{Error, GleamExpect}, format, @@ -78,7 +78,7 @@ pub fn generate_html( }) .collect::<Vec<_>>(); - let links = &project_c...
feat(docs): add automatically generate a link to repository in docs if available
null
gleam-lang/gleam
Apache License 2.0
Rust
@@ -219,7 +219,10 @@ mutation_log_private::mutation_log_private(const std::string &dir, int hash, int64_t *pending_size) { - dassert(nullptr == callback, "callback is not needed in private mutation log"); + dsn::aio_task_ptr cb = + callback ? file::create_aio_task( + callback_code, tracker, std::forward<aio_handler>(ca...
feat: support callback for plog append
null
apache/incubator-pegasus
Apache License 2.0
C++
@@ -485,22 +485,8 @@ impl Context { M: Message + Send + 'static, N: Message, { - let route: Route = route.into(); - - let mailboxes = Mailboxes::new( - Mailbox::new( - Address::random_tagged("Context.send_and_receive.detached"), - Arc::new(AllowAll), // FIXME: @ac there is no way to ensure that we're receiving response...
feat(rust): improve `send_and_receive_with_timeout`
null
ockam-network/ockam
Apache License 2.0
Rust
using System; using System.Collections.Concurrent; using System.Collections.Generic; +using System.Threading; using Grpc.Core; using MagicOnion.Server; using MagicOnion.Server.Hubs; @@ -16,13 +17,14 @@ namespace MagicOnion.OpenTelemetry public class OpenTelemetryCollectorLogger : IMagicOnionLogger { static readonly str...
feat: add Request Metrics
null
cysharp/magiconion
MIT License
C#
@@ -156,6 +156,48 @@ class AuditableTest extends TestCase $this->assertArrayHasKey('published', $auditData['new_values']); } + /** + * Test the toAudit() method to PASS (custom User foreign key). + * + * @return void + */ + public function testToAuditPassCustomUserForeignKey() + { + Config::set('audit.user.foreign_key'...
feat(Auditable): test toAudit() with custom User foreign key
null
owen-it/laravel-auditing
MIT License
PHP
@@ -2,9 +2,11 @@ package main import ( "fmt" + "io/ioutil" + "os" + "strings" "github.com/influxdata/flux" - "github.com/influxdata/flux/repl" _ "github.com/influxdata/flux/stdlib" _ "github.com/influxdata/influxdb/query/stdlib" "github.com/spf13/cobra" @@ -12,20 +14,55 @@ import ( var queryFlags struct { org organizat...
feat(cmd/influx/query): add --file option
null
influxdata/influxdb
MIT License
Go
@@ -93,6 +93,12 @@ class UseOpenApiRule(rulesConfig: Config) { val url = version.resource val schema = reader.read(url) + .apply { + // to avoid resolving the `id` property of the schema by the validator + this as ObjectNode + remove("id") + } + JsonSchemaValidator(schema, defaultSchemaRedirects) } }
feat(server): Avoid resolving against id for built-in schemas
null
zalando/zally
MIT License
Kotlin
@@ -304,6 +304,12 @@ public class NewMessageNotification implements Handler { // Disable the alert if it's from you notificationBuilder.setOnlyAlertOnce(messageIsFromMe); + // Add the "reply" and "mark as read" actions for wearable devices. + NotificationCompat.WearableExtender wearableExtender = new NotificationCompat...
feat: add wearable actions to notifications
null
bluebubblesapp/bluebubbles-app
Apache License 2.0
Java
@@ -84,6 +84,8 @@ class WP_Auth0_Users { 'description' => $description, ]; + $user_data = apply_filters( 'wpa0_user_data', $user_data, $userinfo, $firstname, $lastname ); + if ( $role ) { // phpcs:ignore @trigger_error( sprintf( __( '$role parameter is deprecated.', 'wp-auth0' ), __METHOD__ ), E_USER_DEPRECATED );
feat: add wpa0_user_data filter
null
auth0/wp-auth0
MIT License
PHP
@@ -23,4 +23,14 @@ final class ChainableClosure call_user_func_array(Closure::bind($next, $this, get_class($this)), func_get_args()); }; } + + public static function fromStatic(Closure $closure, Closure $next): Closure + { + return static function () use ($closure, $next): void { + /* @phpstan-ignore-next-line */ + cal...
feat: add new helper to create static closure chains
null
pestphp/pest
MIT License
PHP
@@ -46,6 +46,10 @@ function vvv_set_php_cli_version() { php_version=$(readlink -f /usr/bin/php) DEFAULTPHP=$(vvv_get_site_config_value 'php' "${DEFAULTPHP}") if [[ $php_version != *"${DEFAULTPHP}"* ]]; then + length=$(echo "$DEFAULTPHP" | wc -c) + if [[ $length != '3' ]]; then + vvv_warning " ! Warning: PHP version def...
feat(php): version validation
null
varying-vagrant-vagrants/vvv
MIT License
Shell
@@ -14,7 +14,7 @@ from jina.proto import jina_pb2 from tests import JinaTestCase -def random_docs(num_docs, chunks_per_doc=5, embed_dim=10): +def random_docs(num_docs, chunks_per_doc=5, embed_dim=10, field_name=''): c_id = 0 for j in range(num_docs): d = jina_pb2.Document() @@ -23,6 +23,7 @@ def random_docs(num_docs, c...
feat: add a draft for the unittests
null
jina-ai/jina
Apache License 2.0
Python
@@ -12,6 +12,7 @@ import androidx.lifecycle.Observer import androidx.recyclerview.widget.LinearLayoutManager import androidx.navigation.Navigation.findNavController import androidx.navigation.fragment.navArgs +import androidx.recyclerview.widget.LinearSnapHelper import com.google.android.material.snackbar.Snackbar impo...
feat: Add LinearSnapHelper to OrderDetailsFragment to enable snapping of
null
fossasia/open-event-attendee-android
Apache License 2.0
Kotlin
@@ -52,7 +52,7 @@ $app->get('/api/registry', function (Request $request, Response $response) use ( $registry_token_file_path = PATH['project'] . '/tokens/registry/' . $token . '/token.yaml'; // Set token file - if ($registry_token_file_data = $flextype['serializer']->decode(Filesystem::read($registry_token_file_path), ...
feat(rest-api): fix registry rest api
null
flextype/flextype
MIT License
PHP
@@ -205,6 +205,12 @@ impl WriteBufferIngestMetrics { "Maximum timestamp of last write as unix timestamp in nanoseconds", &labels, ); + let last_ingest_ts = self.domain.register_gauge_metric_with_labels( + "last_ingest_ts", + None, + "Last seen ingest timestamp as unix timestamp in nanoseconds", + &labels, + ); Sequence...
feat: metric for ingest wall-clock time
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -421,9 +421,7 @@ class WebhooksCustomServerTest extends Scope $this->assertEquals($webhook['headers']['X-Appwrite-Webhook-Id'] ?? '', $this->getProject()['webhookId']); $this->assertEquals($webhook['headers']['X-Appwrite-Webhook-Project-Id'] ?? '', $this->getProject()['$id']); - /** - * Test for FAILURE - */ + sleep...
feat: add sleep for webhooks test
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
@@ -52,7 +52,7 @@ class V06 extends Filter { $parsedContent['oauth2'.ucfirst($key).'AccessToken'] = ''; } - $parsedContent['roles'] = Authorization::getRoles(); + $parsedContent['roles'] = Authorization::getRoles() ?? []; return $parsedContent; } } \ No newline at end of file
feat: added parse method for user object
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
*/ private int offset; + /** + * A {@link HeaderExtensions} instance, used to iterate over the RTP header + * extensions of this {@link RawPacket}. + */ + private HeaderExtensions headerExtensions; + /** * Initializes a new empty <tt>RawPacket</tt> instance. */ public RawPacket() { + headerExtensions = null; } /** @@ -...
feat: Adds an iterator over the RTP header extensions of a RawPacket
null
jitsi/libjitsi
Apache License 2.0
Java
@@ -2,7 +2,7 @@ import pino from "pino"; import SignClient from "@walletconnect/sign-client"; import { ProviderAccounts } from "eip1193-provider"; import { SessionTypes } from "@walletconnect/types"; -import { getSdkError } from "@walletconnect/utils"; +import { getSdkError, isValidArray } from "@walletconnect/utils"; ...
feat: cleanup inactive pairings
null
walletconnect/walletconnect-monorepo
Apache License 2.0
TypeScript
@@ -145,6 +145,20 @@ const gatsbyConfig = { type: 'CovidRaceDataSeparate', }, }, + { + resolve: 'gatsby-source-apiserver', + options: { + typePrefix: 'civilService', + + url: `https://raw.githubusercontent.com/CivilServiceUSA/us-governors/master/us-governors/data/us-governors.json`, + method: 'get', + + name: `Governor...
feat: add civil service governors data
null
covid19tracking/website
Apache License 2.0
JavaScript
+const generateSessions: Fig.Generator = { + script: "zellij list-sessions", + splitOn: "\n", +}; + const completion: Fig.Spec = { name: "zellij", description: "A terminal workspace with batteries included", @@ -627,6 +632,7 @@ const completion: Fig.Spec = { args: { name: "session-name", isOptional: true, + generators:...
feat(zellij): add session generator
null
withfig/autocomplete
MIT License
TypeScript
@@ -17,7 +17,7 @@ namespace OwenIt\Auditing\Contracts; interface UserResolver { /** - * Resolve the ID of the logged User. + * Resolve the User. * * @return mixed|null */
feat(Resolvers): add interfaces for IP, URL and User Agent
null
owen-it/laravel-auditing
MIT License
PHP
@@ -70,8 +70,6 @@ class GoalOrientedBotNetwork(TFModel): # build body _logits, self._state = self._build_body() - print("DEBUG: state =", self._state) - print("DEBUG: logits =", _logits) # probabilities normalization : elemwise multiply with action mask self._probs = tf.squeeze(tf.nn.softmax(_logits)) @@ -125,7 +123,7 ...
feat: add gradient pruning
null
deeppavlov/deeppavlov
Apache License 2.0
Python
@@ -26,7 +26,7 @@ const ProcessFeed = async (list, cache) => { return { title: data.article_title, - description: data.content, + description: parseContent(data.content), pubDate, author: author, link, @@ -40,6 +40,60 @@ const ProcessFeed = async (list, cache) => { return items; }; +const parseToSimpleText = (content) ...
feat: infoq richContent simple render
null
diygod/rsshub
MIT License
JavaScript
import instantsearch from "../../../index.js"; -import capitalize from 'lodash/capitalize'; +import capitalize from "lodash/capitalize"; window.instantsearch = instantsearch; window.search = instantsearch({ @@ -18,35 +18,23 @@ const el = html => { return div; }; -export default function bindRunExamples(codeSamples) { -...
feat(live-example): add support of connectors
null
algolia/instantsearch.js
MIT License
JavaScript
@@ -130,7 +130,7 @@ func (s *InstallStatus) DiscoveryComplete(dm types.DiscoveryManifest) { for _, r := range s.statusSubscriber { if err := r.DiscoveryComplete(s, dm); err != nil { - log.Errorf("Could not report discovery info: %s", err) + log.Debugf("Could not report discovery info: %s", err) } } } @@ -140,7 +140,7 @...
feat(install): update log level to debug when failing to update status
null
newrelic/newrelic-cli
Apache License 2.0
Go
@@ -135,8 +135,14 @@ class EventDetailsFragment : Fragment() { setupSimilarEvents() rootView.buttonTickets.setOnClickListener { + val ticketUrl = currentEvent?.ticketUrl + if (Uri.parse(ticketUrl).host != getString(R.string.FRONTEND_HOST) && + !ticketUrl.isNullOrEmpty()) { + Utils.openUrl(requireContext(), ticketUrl) +...
feat: Open external ticket URL
null
fossasia/open-event-attendee-android
Apache License 2.0
Kotlin
+package main + +func findNumberIn2DArray(matrix [][]int, target int) bool { + m := len(matrix) + if m == 0 { + return false + } + n := len(matrix[0]) + if n == 0 { + return false + } + + for i, j := 0, 0; ; { + + if matrix[i][j] <= target && target <= matrix[i][n-1] { + for k := j; k < n; k++ { + if matrix[i][k] == ta...
feat(lc): 240 offer04
null
asdf2014/algorithm
Apache License 2.0
Go
@@ -735,6 +735,12 @@ export default abstract class CalendarControl }); } + clearGridSelections() { + const { clearAll } = this.getStoreDispatchers().gridSelection; + + clearAll(); + } + fire<EventName extends keyof ExternalEventTypes>( eventName: EventName, ...args: Parameters<ExternalEventTypes[EventName]>
feat: implement `clearGridSelections`
null
nhn/tui.calendar
MIT License
TypeScript
@@ -395,11 +395,12 @@ std::unique_ptr<IElement> PayloadToRefract( // // Push Body Asset if (!payload.node->body.empty()) { content.push_back(make_asset_element( // - payload.node->body, // - SerializeKey::MessageBody, // - serialize(mediaType), // + payload.node->body, + SerializeKey::MessageBody, + serialize(mediaType...
feat: add drafter options to omit value/schema generation
null
apiaryio/drafter
MIT License
C++
@@ -672,12 +672,24 @@ namespace PepperDash.Essentials.DM AddInCardHdmiAndAudioLoopPorts(number); } + void AddDmInCardPorts(uint number, ICec cecPort, IVideoAttributesBasic videoAttributes) + { + AddInputPortWithDebug(number, "dmIn", eRoutingSignalType.Audio | eRoutingSignalType.Video, eRoutingPortConnectionType.DmCat, ...
feat(Essentials_DM): Add overloads for `AddDmInCardPorts` & `AddHdmiInCardPorts`
null
pepperdash/essentials
MIT License
C#
+#!/usr/bin/env bash + +declare -A params=$6 # Create an associative array +declare -A headers=${9} # Create an associative array +declare -A rewrites=${10} # Create an associative array +paramsTXT="" +if [ -n "$6" ]; then + for element in "${!params[@]}" + do + paramsTXT="${paramsTXT} + fastcgi_param ${element} ${para...
feat: add new site type for fastadmin framework
null
laravel/homestead
MIT License
Shell
@@ -66,6 +66,12 @@ func (p CenterPrinter) Sprintf(format string, a ...interface{}) string { return p.Sprint(Sprintf(format, a...)) } +// Sprintfln formats according to a format specifier and returns the resulting string. +// Spaces are always added between operands and a newline is appended. +func (p CenterPrinter) Spr...
feat(centerprinter): add `Sprintfln` and `Printfln` function
null
pterm/pterm
MIT License
Go
-import React, { useRef, useState, useEffect } from 'react'; +import React, { useRef, useState, useEffect, useImperativeHandle } from 'react'; import PropTypes from 'prop-types'; import { useWindowScrolling } from '@rainbow-modules/hooks'; import { useUniqueIdentifier, useDisclosure, useWindowResize } from '../../libs/...
feat: add imperative `close` function to HelpText
null
nexxtway/react-rainbow
MIT License
JavaScript
+import React from 'react' +import PropTypes from 'prop-types' + +import {CLASS} from '../settings' + +export const ConsentTitle = ({title, url}) => ( + <div className={`${CLASS}-consentTitle`}> + {url ? ( + <a + className={`${CLASS}-consentLink`} + href={url} + target="_blank" + title="Leer condiciones de privacidad" ...
feat(cmp/modal): create new consentTitle
null
sui-components/sui-components
MIT License
JavaScript
+#include <unordered_map> +#include <list> + +namespace openrasp +{ +using namespace std; + +template <typename T, typename U> +class LRU +{ +private: + struct Item + { + Item(const T &k, const U &v) : key(k), value(v) {} + T key; + U value; + }; + list<Item> item_list; + unordered_map<T, typename list<Item>::iterator>...
feat(php5): add LRU class
null
baidu/openrasp
Apache License 2.0
C
@@ -28,6 +28,7 @@ import ( var ( _ SingleColumn = (*XXHash)(nil) + _ Hashing = (*XXHash)(nil) ) // XXHash defines vindex that hashes any sql types to a KeyspaceId @@ -37,7 +38,7 @@ type XXHash struct { } // NewXXHash creates a new XXHash. -func NewXXHash(name string, m map[string]string) (Vindex, error) { +func NewXXHa...
feat: xxhash vindex implemented hashing interface
null
vitessio/vitess
Apache License 2.0
Go
@@ -18,6 +18,11 @@ pub fn factorial(num: u64) -> u64 { mod tests { use super::*; + #[test] + fn factorial_of_0() { + assert_eq!(1, factorial(0)); + } + #[test] fn factorial_of_1() { assert_eq!(1, factorial(1));
feat(iterators4): add factorial of zero test
null
rust-lang/rustlings
MIT License
Rust