diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
+<?php + +declare(strict_types=1); + +test('test encode() method', function () { + $this->assertEquals('{"title":"Foo","content":"Bar"}', + flextype('json') + ->encode(['title' => 'Foo', + 'content' => 'Bar'])); +}); + +test('test decode() method', function () { + $this->assertEquals(['title' => 'Foo', + 'content' => '...
feat(tests): add tests for Serializer Json encode() decode() getCacheID() methods
null
flextype/flextype
MIT License
PHP
@@ -95,7 +95,10 @@ func (t *SVMTemplate) GetIStoragecache() cloudprovider.ICloudStoragecache { } func (t *SVMTemplate) GetSizeByte() int64 { - return int64(t.GetMinRamSizeMb()) * 1024 * 1024 + if len(t.vm.vdisks) == 0 { + return 30 * (1 << 30) + } + return int64(t.vm.vdisks[0].GetDiskSizeMB()) * (1 << 20) } func (t *SV...
feat(esxi): Set MinRawSize as 0 for vmware template
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -396,6 +396,11 @@ pub mod pallet { trigger.maybe_xtx_id, )?; + // @maciej is this ok? XD + if local_xtx_ctx.xtx.status == CircuitStatus::FinishedAllSteps { + return Ok(()) + } + // Charge: Ensure can afford // ToDo: Charge requester for contract with gas_estimation Self::charge(&requester, Zero::zero()).map_err(|_e|...
feat: modify signal
null
t3rn/t3rn
Apache License 2.0
Rust
@@ -35,6 +35,7 @@ jfieldID gj_playerconfig_LiveStartIndex = nullptr; jfieldID gj_playerconfig_DisableAudio = nullptr; jfieldID gj_playerconfig_DisableVideo = nullptr; jfieldID gj_playerconfig_PositionTimerIntervalMs = nullptr; +jfieldID gj_playerconfig_MaxBackwardBufferDuration = nullptr; void JavaPlayerConfig::init(JN...
feat(Android): add maxBackwardDuration config
null
alibaba/cicadaplayer
MIT License
C++
@@ -697,7 +697,7 @@ class EntriesController extends Controller 'parts' => $parts, 'i' => count($parts), 'last' => Arr::last($parts), - 'form' => $this->forms->fetch($fieldsets, $entry, $request), + 'form' => $this->forms->fetch($fieldsets, $entry, $request, $response), 'menu_item' => 'entries', 'links' => [ 'entries' =...
feat(admin-plugin): update edit method
null
flextype/flextype
MIT License
PHP
@@ -408,20 +408,47 @@ def bulk_rename(context, doctype, path): frappe.destroy() +@click.command('db-console') +@pass_context +def database(context): + """ + Enter into the Database console for given site. + """ + site = get_site(context) + if not site: + raise SiteNotSpecifiedError + frappe.init(site=site) + if not fra...
feat(cli): New command 'db-console'
null
frappe/frappe
MIT License
Python
@@ -79,6 +79,9 @@ declare module 'mongoose' { | stream.Writable | ((collectionName: string, methodName: string, ...methodArgs: any[]) => void); + /** Defaults to `true`. If `true`, adds a `id` virtual to all schemas by default. */ + id?: boolean; + /** * If `false`, it will change the `createdAt` field to be [`immutabl...
feat(types): add `id` to MongooseOptions re:
null
automattic/mongoose
MIT License
TypeScript
@@ -36,6 +36,15 @@ export default class DenaliObject { constructor(container: Container) { assert(container instanceof Container, 'You must supply a container whenever you instantiate a DenaliObject'); injectInstance(this, container); + this.init(); + } + + /** + * A hook that users should override for constructor-time...
feat(metal): add init hook
null
denali-js/core
Apache License 2.0
TypeScript
using System.Globalization; using System.Reflection; using System.Linq; +using System.Runtime.CompilerServices; namespace Avalonia.Diagnostics.ViewModels { @@ -11,6 +12,8 @@ internal abstract class PropertyViewModel : ViewModelBase private const BindingFlags PublicStatic = BindingFlags.Public | BindingFlags.Static; pri...
feat(DevTools): Allow caching of GetTypeName
null
avaloniaui/avalonia
MIT License
C#
@@ -476,7 +476,7 @@ func TestLabelService_CreateLabel(t *testing.T) { name: "authorized to create label", fields: fields{ LabelService: &mock.LabelService{ - CreateLabelFn: func(ctx context.Context, b *influxdb.Label) error { + CreateLabelFn: func(ctx context.Context, l *influxdb.Label) error { return nil }, }, @@ -531...
feat(authorizer): test the authorization of label mappings creation
null
influxdata/influxdb
MIT License
Go
@@ -876,5 +876,162 @@ var completionSpec = { ], subcommands: [] } + ], + options: [ + { + "args": { + "name": "Docker Compose File" + }, + "description": "Specify an alternate compose file", + "name": [ + "-f", + "--file" + ], + }, + { + "args": { + "name": "string" + }, + "description": "Specify an alternate project n...
feat(docker-compose): global options
null
withfig/autocomplete
MIT License
JavaScript
@@ -278,7 +278,7 @@ open class AVFoundationPlayback: Playback { @objc func playbackDidEnd(notification: NSNotification? = nil) { guard let object = notification?.object as? AVPlayerItem, let item = player?.currentItem, object == item else { return } - if fabs(CMTimeGetSeconds(item.duration) - CMTimeGetSeconds(item.curr...
feat: add avplayerItem+ext to encapsulate isFinished state
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -5,7 +5,7 @@ pub mod nodes; pub mod error; use core::fmt; -use core::ops::{Deref, DerefMut}; +use core::ops::Deref; use minicbor::decode::{self, Decoder}; use minicbor::encode::{self, Encoder, Write}; use minicbor::{Decode, Encode}; @@ -495,19 +495,13 @@ impl<'a> From<CowStr<'a>> for Cow<'a, str> { } impl<'a> Deref ...
feat(rust): change `Defer` type for `CowStr` and `CowBytes`
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -163,6 +163,19 @@ public final class CredentialUtils { // This is a utility class - no instantiation allowed. } + /** + * Returns true if the supplied value begins or ends with curly brackets or quotation marks. + * + * @param credentialValue the credential value to check + * @return true if the value starts or ends...
feat(core): Add utility method to check for bad characters in creds
null
watson-developer-cloud/java-sdk
Apache License 2.0
Java
@@ -147,6 +147,21 @@ public final class CustomRuntimeEventLoop implements SmartLifecycle { String invocationUrl = MessageFormat .format(LAMBDA_INVOCATION_URL_TEMPLATE, runtimeApi, LAMBDA_VERSION_DATE, requestId); + String traceId = response.getHeaders().getFirst("Lambda-Runtime-Trace-Id"); + if (traceId != null) { + if...
feat: propagate aws x-ray tracing header
null
spring-cloud/spring-cloud-function
Apache License 2.0
Java
import { Observable } from "rxjs/Observable"; import "rxjs/add/observable/throw"; import "rxjs/add/observable/of"; +import "rxjs/add/observable/fromPromise"; import "rxjs/add/operator/combineLatest"; import "rxjs/add/operator/do"; import "rxjs/add/operator/map"; import "rxjs/add/operator/concatMap"; + import { Definiti...
feat(graphqlObservable): allow scalar and primitive values directly
null
dcos/dcos-ui
Apache License 2.0
TypeScript
package org.gluu.oxtrust; import java.io.Serializable; +import java.util.ArrayList; import java.util.List; import java.util.Locale; import javax.enterprise.context.SessionScoped; @@ -15,6 +16,7 @@ import org.gluu.oxtrust.model.GluuCustomPerson; import org.gluu.oxtrust.security.Identity; import org.gluu.oxtrust.service....
feat: added null check and added default english locale
null
gluufederation/oxtrust
MIT License
Java
@@ -27,7 +27,7 @@ class UnshardedPrecomputedSkeletonSource(object): def path(self): return self.meta.path - def get(self, segids): + def get(self, segids, allow_missing=False): """ Retrieve one or more skeletons from the data layer. @@ -39,6 +39,9 @@ class UnshardedPrecomputedSkeletonSource(object): Required: segids: l...
feat: allow for skipping non-existent skeleton files
null
seung-lab/cloud-volume
BSD 3-Clause New or Revised License
Python
@@ -38,6 +38,7 @@ import { } from './types/reference'; import { $AnyNonEmpty, + $Any, } from './types/_shared'; import { $Function, @@ -65,8 +66,11 @@ import { $TaggedTemplateExpression, } from './ast/expressions'; import { - $ESModule, $$ESModuleOrScript, + $$ESModuleOrScript, } from './ast/modules'; +import { + $Gene...
feat(aot): implement generator
null
aurelia/aurelia
MIT License
TypeScript
@@ -2,7 +2,6 @@ import React, { Component } from 'react'; import { Route } from 'react-router-dom'; import Dashboard from '../../dashboard'; import { CryptoMangerContainer, AddTokenContainer } from '../../crypto-manager'; -import { tokensOperations } from 'common/tokens'; import AddressBook from '../../address-book/mai...
feat(styles): wip
null
selfkeyfoundation/identity-wallet
MIT License
JavaScript
@@ -10,7 +10,7 @@ import autobind from 'autobind-decorator'; import { constructFiles } from '@ciscospark/react-component-utils'; -import {fetchAvatarForUserId} from '@ciscospark/redux-module-avatar'; +import {fetchAvatarsForUsers} from '@ciscospark/redux-module-avatar'; import { acknowledgeActivityOnServer, createConve...
feat(widget-message): use fetchAvatars method
null
webex/react-widgets
MIT License
JavaScript
@@ -17,6 +17,7 @@ use Applications\Mail\Confirmation; use Core\Mail\MailService; use Applications\Listener\Events\ApplicationEvent; use Applications\Options\ModuleOptions; +use Auth\Entity\UserInterface; use Organizations\Entity\EmployeeInterface; use Organizations\Entity\EmployeePermissionsInterface; @@ -102,7 +103,9 ...
feat: notify only recruiters on new applications
null
cross-solution/yawik
MIT License
PHP
@@ -117,6 +117,7 @@ run_test_loop() { local IS_SUCCESS=0 local TEST_RESULT=0 + local NO_TEST=0 local LOCAL_SCENARIO="${1:-}" while true; do @@ -131,6 +132,7 @@ run_test_loop() { if [[ "${TEST_RESULT}" -eq 99 ]]; then warning "No tests found" IS_SUCCESS=0 + NO_TEST=1 break fi fi @@ -142,7 +144,7 @@ run_test_loop() { if ...
feat: perturb now create 3 file on launch container, outlining the docker container information for each node created, and the ip address of the node
null
kubernetes-simulator/simulator
Apache License 2.0
Shell
// See the License for the specific language governing permissions and // limitations under the License. +use common_datavalues::DataTypeImpl::Null; +use common_datavalues::DataTypeImpl::Nullable; use common_datavalues::DataValue; use common_exception::Result; @@ -77,7 +79,10 @@ impl Rule for RuleFoldCountAggregate { l...
feat(query): optimize count(no_null_col)
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -11,6 +11,7 @@ use hashbrown::HashMap; use hyper::{header::CONTENT_ENCODING, Body, Method, Request, Response, StatusCode}; use metric::U64Counter; use mutable_batch::MutableBatch; +use mutable_batch_lp::LinesConverter; use observability_deps::tracing::*; use predicate::delete_predicate::{parse_delete_predicate, pars...
feat(router2): support lp timestamp precision
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -13,11 +13,12 @@ import os import sys import platform import re -from argparse import ArgumentParser, RawDescriptionHelpFormatter -from concurrent.futures import ThreadPoolExecutor +from time import time import requests -from colorama import Back, Fore, Style, init +from argparse import ArgumentParser, RawDescriptio...
feat: expose response times
null
sherlock-project/sherlock
MIT License
Python
@@ -62,6 +62,9 @@ public: // virtual bool remove_ids_range(const faiss::IDSelector &sel, long &nremove); // virtual bool index_display(); +// + virtual std::shared_ptr<faiss::Index> data() { return index_; } + virtual const std::shared_ptr<faiss::Index>& data() const { return index_; } private: friend void write_index(...
feat(db): add data api for wrapper
null
milvus-io/milvus
Apache License 2.0
C
@@ -103,9 +103,14 @@ func handleStream(stream tss.Stream, cancel context.CancelFunc, logger log.Logge case *tofnd.MessageOut_SignResult_Signature: resChan <- signResult.Signature return - default: + case *tofnd.MessageOut_SignResult_Criminals: + logger.Info("sign failure, list of criminals:") + for _, criminal := range...
feat(vald): log criminal list instead of panicking
null
axelarnetwork/axelar-core
Apache License 2.0
Go
@@ -684,6 +684,7 @@ open class AVFoundationPlayback: Playback { guard let player = player, player.observationInfo != nil else { return } if let timeObserver = timeObserver { player.removeTimeObserver(timeObserver) + self.timeObserver = nil } loopObserver = nil observers.forEach { $0.invalidate() }
feat: remove timeObserver reference when removeTimeObserver on AVFoundationPlayback
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -28,8 +28,7 @@ function api_init() register_rest_route('podlove/v1', 'episodes/(?P<id>[\d]+)', [ 'methods' => WP_REST_Server::EDITABLE, 'callback' => __NAMESPACE__.'\\episodes_update_api', - //'permission_callback' => __NAMESPACE__.'\\update_episode_permission_check', - 'permission_callback' => '__return_true', + 'p...
feat(rss): add support for podcast::soundbite
null
podlove/podlove-publisher
MIT License
PHP
@@ -156,7 +156,10 @@ void JSBridge::detatchDevtools() { #endif // ENABLE_DEBUGGER void JSBridge::invokeKrakenCallback(const char *args) { + if (std::getenv("ENABLE_KRAKEN_JS_LOG") != nullptr && + strcmp(std::getenv("ENABLE_KRAKEN_JS_LOG"), "true") == 0) { KRAKEN_LOG(VERBOSE) << "[KrakenDartToJS] called, message: " << a...
feat: only enable ENABLE_KRAKEN_JS_LOG will show KrakenDartToJS Log
null
openkraken/kraken
Apache License 2.0
C++
@@ -67,10 +67,10 @@ class hash_chain { if (!head[i]) { std::cout << "Key " << i << " is empty" << std::endl; } else { - std::cout << "Key " << i << " has values = "; + std::cout << "Key " << i << " has values = " << std::endl; temp = head[i]; while (temp->next) { - std::cout << temp->data << " "; + std::cout << temp->d...
feat: Add endlines in `hashing/chaining.cpp`
null
thealgorithms/c-plus-plus
MIT License
C++
@@ -155,6 +155,8 @@ public class PathResult { this.egress = pathTemplate.stopSequence.egress == null ? null : pathTemplate.stopSequence.egress.toString(); this.transitLegs = pathTemplate.transitLegs(transitLayer); this.iterations = iterations.stream().map(HumanReadableIteration::new).collect(Collectors.toList()); + ite...
feat(paths): add assertion to single-point path requests
null
conveyal/r5
MIT License
Java
@@ -579,11 +579,11 @@ export class Node< } get ports() { - const res = this.store.get('ports', { items: [] }) + const res = this.store.get<PortManager.Metadata>('ports', { items: [] }) if (res.items == null) { res.items = [] } - return res as PortManager.Metadata + return res } getPorts() { @@ -949,7 +949,7 @@ export n...
feat: support array of port for "ports" option
null
antvis/x6
MIT License
TypeScript
@@ -267,19 +267,9 @@ impl NodeManager { ForwardingService::create(ctx).await?; - let authorized_identifiers = if self.config.readlock_inner().identity_was_overridden { - self.identity.as_ref().map(|i| { - // If we had overridden Identity - we should trust only this identity, - // otherwise - trust all - vec![i.identifi...
feat(rust): allow any node to connect to default secure channel listener on `service/api`
null
ockam-network/ockam
Apache License 2.0
Rust
use std::io::Read; -use matrix_sdk_base::media::{MediaFormat, MediaRequest}; +use matrix_sdk_base::{ + media::{MediaFormat, MediaRequest}, + store::StateStoreExt, +}; use mime::Mime; use ruma::{ api::client::{ @@ -32,8 +35,9 @@ use ruma::{ }, assign, events::{ - room::MediaSource, AnyGlobalAccountDataEventContent, Glob...
feat(sdk): Add account_data[_raw] accessors to Account
null
matrix-org/matrix-rust-sdk
Apache License 2.0
Rust
@@ -141,7 +141,7 @@ export interface IFormActions { ): any getFormGraph(): IFormGraph setFormGraph(graph: IFormGraph): void - subscribe(callback?: FormHeartSubscriber): void + subscribe(callback?: FormHeartSubscriber): number unsubscribe(id: number): void notify: <T>(type: string, payload: T) => void dispatch: <T>(type...
feat: add actions test
null
alibaba/formily
MIT License
TypeScript
+/* +Copyright 2022 chenchuanle6@gmail.com. + +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 wr...
feat: sealos inspect
null
fanux/sealos
Apache License 2.0
Go
@@ -131,10 +131,11 @@ final class HomeTest { final Path absentFile = temp.resolve("nonexistent"); try { home.load(absentFile); - } catch (IOException e) { + } catch (NoSuchFileException e) { final String actual = e.getMessage(); - MatcherAssert.assertThat(e instanceof NoSuchFileException, Matchers.is(true)); MatcherAss...
feat(#1246): remove instance of statement
null
cqfn/eo
MIT License
Java
@@ -24,6 +24,7 @@ import org.apache.http.util.*; import org.jitsi.meet.test.pageobjects.web.*; import org.jitsi.meet.test.util.*; import org.jitsi.meet.test.web.*; +import org.openqa.selenium.*; import org.testng.*; import org.testng.annotations.*; @@ -146,8 +147,21 @@ public class DialInAudioTest "No dial in configura...
feat: Prints a message when no pin is found
null
jitsi/jitsi-meet-torture
Apache License 2.0
Java
@@ -11,6 +11,7 @@ public class GrabbableBall : NetworkBehaviour private Material m_Material; private NetworkVariable<bool> m_IsGrabbed = new NetworkVariable<bool>(); + private Transform m_CachedParent = null; private void Awake() { @@ -67,11 +68,6 @@ public class GrabbableBall : NetworkBehaviour } } } - - if (IsOwner &...
feat: grabbable ball script to utilize transform parenting
null
unity-technologies/com.unity.multiplayer.mlapi
MIT License
C#
+import Foundation + +class WebSocketStream: AsyncSequence { + typealias Element = URLSessionWebSocketTask.Message + typealias AsyncIterator = AsyncThrowingStream<URLSessionWebSocketTask.Message, Error>.Iterator + + private var stream: AsyncThrowingStream<Element, Error>? + private var continuation: AsyncThrowingStream...
feat: WebSocketStream
null
p2p-org/solana-swift
MIT License
Swift
-use crate::node::NodeOpts; use crate::util::{self, api, connect_to}; use crate::CommandGlobalOpts; use anyhow::Context; @@ -8,14 +7,15 @@ use ockam_api::nodes::{types::NodeStatus, NODEMAN_ADDR}; #[derive(Clone, Debug, Args)] pub struct ShowCommand { - #[clap(flatten)] - node_opts: NodeOpts, + /// Name of the node. + #...
feat(rust): remove argument --api-node from node show
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -65,7 +65,7 @@ pub use security::StatusCode; pub use primitives::{ self, AccountId, Balance, BlockNumber, CurrencyId, CurrencyId::Token, CurrencyInfo, Hash, Moment, Nonce, Signature, - SignedFixedPoint, SignedInner, TokenSymbol, UnsignedFixedPoint, UnsignedInner, DOT, IBTC, INTR, KBTC, KINT, KSM, + SignedFixedPoint,...
feat(lend): configure lending pallet
null
interlay/interbtc
Apache License 2.0
Rust
@@ -135,5 +135,51 @@ namespace PeanutButter.Utils.Tests Expect(result[1].Item1, Is.EqualTo(left[1])); Expect(result[1].Item2, Is.EqualTo(right[1])); } + + [Test] + public void Zip_When3CollectionsHaveTheSameNumberOfItems_ShouldGetItemPairs() + { + // Arrange + var left = new[] { 1, 2, 3 }; + var middle = GetRandomColle...
feat: expand zip to allow for 3 collections, included in 1.2.160
null
fluffynuts/peanutbutter
BSD 3-Clause New or Revised License
C#
@@ -75,9 +75,9 @@ if Code.ensure_loaded?(:ranch) do defp encode_and_send_over_tcp(message, %{address: address}) do message = create_outgoing_message(message) + {:ok, _message} = set_return_route(message, address) with {:ok, destination, message} <- pick_destination_and_set_onward_route(message, address), - {:ok, messag...
feat(elixir): return routes in tcp transport listener
null
ockam-network/ockam
Apache License 2.0
Elixir
package pterm import ( + "strings" + "github.com/mattn/go-runewidth" + "github.com/pterm/pterm/internal" - "strings" ) // Letters is a slice of Letter. @@ -75,6 +77,14 @@ func (p BigTextPrinter) WithLetters(letters ...Letters) *BigTextPrinter { // Srender renders the BigText as a string. func (p BigTextPrinter) Srender...
feat(bigtext): add raw output mode
null
pterm/pterm
MIT License
Go
import org.bson.codecs.configuration.CodecProvider; import org.bson.codecs.configuration.CodecRegistries; import org.bson.codecs.configuration.CodecRegistry; +import org.bson.codecs.pojo.Conventions; +import org.bson.codecs.pojo.PojoCodecProvider; import org.jboss.logging.Logger; import com.mongodb.AuthenticationMechan...
feat: register the POJO codec for automatic mapping of PoJo
null
quarkusio/quarkus
Apache License 2.0
Java
@@ -7,5 +7,5 @@ import sanityClient from 'part:@sanity/base/client' * @internal */ export const versionedClient = sanityClient.withConfig({ - apiVersion: '1', + apiVersion: 'X', })
feat(default-login): use API vX (for now)
null
sanity-io/sanity
MIT License
JavaScript
@@ -12,7 +12,13 @@ using namespace std; class Solution { public: string convert(string s, int numRows) { - char m[1010][1010] = {0}; + char m[1010][1010]; + // LeetCode not support this: + // fill(m[0], m[0] + 1010 * 1010, 0); + // LeetCode support this: https://stackoverflow.com/a/3948314/8242705 + // fill(&m[0][0], &...
feat: fill usage
null
upupming/algorithm
MIT License
C++
@@ -3,8 +3,9 @@ import Link from 'next/link' import { useRouter, withRouter } from 'next/router' import clsx from 'clsx' import { BiServer } from 'react-icons/bi' -import { MdOutlineGroups, MdOutlineExitToApp } from 'react-icons/md' +import { MdOutlineGroups, MdOutlineExitToApp, MdOutlineNotifications, MdLogout, MdSett...
feat: move admin top navbar to sidebar
null
banmanagement/banmanager-webui
MIT License
JavaScript
@@ -124,6 +124,20 @@ class Protocol */ private $openLengthCheck = false; + /** + * Header pack format + * + * @var string + */ + private $headerPackFormat = self::HEADER_PACK_FORMAT; + + /** + * Header unpack format + * + * @var string + */ + private $headerUnpackFormat = self::HEADER_UNPACK_FORMAT; + /** * @link https...
feat: TCP supports custom header packing and unpacking format
null
swoft-cloud/swoft-component
Apache License 2.0
PHP
@@ -37,18 +37,42 @@ where /// Background tasks spawned by this `LifecyclePolicy` trackers: Vec<TaskTracker<ChunkLifecycleAction>>, + + /// Do not allow persistence even when the database rules would allow that. + /// + /// This can be helpful during some phases of the database startup process. + suppress_persistence: b...
feat: easy way to suppress persitence from lifecycle policy
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -15,6 +15,8 @@ export interface MarginProps { marginRight?: Margin; marginBottom?: Margin; marginLeft?: Margin; + marginX?: Margin; + marginY?: Margin; } export interface PaddingProps { @@ -23,6 +25,8 @@ export interface PaddingProps { paddingRight?: Padding; paddingBottom?: Padding; paddingLeft?: Padding; + padding...
feat(style-props): add X & Y for space props
null
twilio-labs/paste
MIT License
TypeScript
@@ -25,11 +25,12 @@ function createLinkAccountEvent(context, { authConfig, plugins }) { if (linkAccountPlugins.length === 0) return undefined; - async function linkAccountEvent({ account, user }) { + async function linkAccountEvent({ account, provider, user }) { for (const plugin of linkAccountPlugins) { await plugin.f...
feat(api): Add provider to linkAccountEvent
null
lowdefy/lowdefy
Apache License 2.0
JavaScript
@@ -29,6 +29,13 @@ export const initialize = (config) => { })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga') /* eslint-enable */ ga('create', config.trackingId, 'auto') + + if (config.debug) { + // Disable sends to GA http://bit.ly/2Ro0vTR + ga('set', 'sendHitTask', null) + window.ga...
feat(ga plugin): add debug setting
null
davidwells/analytics
MIT License
JavaScript
@@ -266,12 +266,14 @@ class Context */ protected function addGroups( \Aimeos\MShop\Context\Item\Iface $context ) : \Aimeos\MShop\Context\Item\Iface { - if( ( $userid = Auth::id() ) !== null ) - { - $context->setGroupIds( function() use ( $context, $userid ) + $key = collect( config( 'shop.routes' ) )->where( 'prefix', ...
feat: add multi guards support for customer groups
null
aimeos/aimeos-laravel
MIT License
PHP
+<?php + +declare(strict_types=1); + +/** + * Flextype (https://flextype.org) + * Founded by Sergey Romanenko and maintained by Flextype Community. + */ + +namespace Flextype\Media; + +use Atomastic\Macroable\Macroable; +use Flextype\Entries; + +class Media extends Entries +{ + use Macroable; + + public function __cons...
feat(media): add basic service code with basic event listeners
null
flextype/flextype
MIT License
PHP
@@ -14,7 +14,6 @@ use crate::{ }, }, }; -use iox_catalog::interface::QueryPoolId; use observability_deps::tracing::*; use router2::{ dml_handlers::{NamespaceAutocreation, SchemaValidator, ShardedWriteBuffer}, @@ -68,6 +67,14 @@ pub struct Config { #[clap(flatten)] pub(crate) write_buffer_config: WriteBufferConfig, + + ...
feat: resolve query pool ID at startup
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -292,6 +292,9 @@ class InterfaceConstructor: def __init__(self, name: str, abi: List) -> None: self._name = name self.abi = abi + self.selectors = { + build_function_selector(i): i["name"] for i in self.abi if i["type"] == "function" + } def __call__(self, address: str, owner: Optional[AccountsType] = None) -> "Cont...
feat: InterfaceConstructor.selectors
null
eth-brownie/brownie
MIT License
Python
@@ -17,10 +17,13 @@ from brownie.convert import Wei, to_address from brownie.exceptions import IncompatibleEVMVersion, UnknownAccount, VirtualMachineError from .rpc import Rpc, _revert_register +from .state import TxHistory from .transaction import TransactionReceipt from .web3 import _resolve_address, web3 __traceback...
feat: account.gas_used
null
eth-brownie/brownie
MIT License
Python
@@ -612,7 +612,7 @@ open class AVFoundationPlayback: Playback { } } - public func getBitrate() -> Double? { + open func getBitrate() -> Double? { guard let logEvent = lastLogEvent() else { return nil } if (logEvent.segmentsDownloadedDuration ) > 0 { return logEvent.indicatedBitrate @@ -620,7 +620,7 @@ open class AVFoun...
feat: change bitrate visibility access
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -21,7 +21,7 @@ from cmdstanpy.utils import cmdstan_path def compile_model( - stan_file: str = None, opt_lvl: int = 1, overwrite: bool = False + stan_file: str = None, opt_lvl: int = 1, overwrite: bool = False, include_paths: List[str] = None ) -> Model: """ Compile the given Stan model file to an executable. @@ -35,...
feat: add option to specify include paths when compiling a model
null
stan-dev/cmdstanpy
BSD 3-Clause New or Revised License
Python
package io.clappr.player.base +import java.util.* + class Options( var source: String? = null, var mimeType: String? = null, var autoPlay: Boolean = true, - val options: MutableMap<String, Any> = mutableMapOf<String, Any>()): MutableMap<String, Any> by options + val options: HashMap<String, Any> = hashMapOf<String, Any...
feat(options_update): change options from MutableMap to HashMap
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
@@ -48,6 +48,9 @@ namespace MvxScaffolding.Core.Configuration public static Dictionary<string, string> MinIosSDKOptions => new Dictionary<string, string> { + ["12.4"] = "iOS 12.4", + ["12.3"] = "iOS 12.3", + ["12.2"] = "iOS 12.2", ["12.1"] = "iOS 12.1", ["12.0"] = "iOS 12.0", ["11.4"] = "iOS 11.4",
feat: Add support for iOS 12.4
null
plac3hold3r/mvxscaffolding
MIT License
C#
@@ -5,7 +5,7 @@ from functools import lru_cache from typing import Any, Dict, Iterable, List, Optional, Tuple, Union import dateutil.parser as dp -from pydantic import validator +from pydantic import root_validator, validator from pydantic.fields import Field from tableauserverclient import ( PersonalAccessTokenAuth, @...
feat(tableau): use pagination for all connection queries
null
linkedin/datahub
Apache License 2.0
Python
@@ -59,7 +59,7 @@ public class TopPlatformsSource extends EntitySearchAggregationSource { @Override protected int getMaxContent() { - return 20; + return 40; } @Override
feat(ui): bump max recommendations for Platforms
null
linkedin/datahub
Apache License 2.0
Java
@@ -23,6 +23,7 @@ use EasyWeChat\Kernel\Exceptions\InvalidArgumentException; * @property \EasyWeChat\OfficialAccount\ShakeAround\MaterialClient $material * @property \EasyWeChat\OfficialAccount\ShakeAround\RelationClient $relation * @property \EasyWeChat\OfficialAccount\ShakeAround\StatsClient $stats + * @property \Eas...
feat: shake around property tips
null
w7corp/easywechat
MIT License
PHP
@@ -304,7 +304,7 @@ export const { ], DISABLE_MULTISIG: [ (...args) => twoFactorMethod('disableMultisig', wallet, args), - () => ({}) + () => showAlert() ], CHECK_CAN_ENABLE_TWO_FACTOR: [ (...args) => TwoFactor.checkCanEnableTwoFactor(...args),
feat(2fa): Show alert on disable 2fa failure
null
near/near-wallet
MIT License
JavaScript
@@ -303,6 +303,22 @@ declare interface verdaccio$ILocalPackageManager { savePackage(fileName: string, json: verdaccio$Package, callback: verdaccio$Callback): void; } + +declare interface verdaccio$IPlugin { + version?: string; +} + +declare type verdaccio$PluginOptions = { + config: verdaccio$Config; + logger: verdacci...
feat: add types for auth plugin
null
verdaccio/monorepo
MIT License
JavaScript
@@ -7,7 +7,15 @@ module Discordrb # @see https://discord.com/developers/docs/interactions/slash-commands#interaction-interactiontype TYPES = { ping: 1, - command: 2 + command: 2, + button: 3 + }.freeze + + # Component types. + # @see https://discord.com/developers/docs/interactions/message-components#component-types + ...
feat(Interactions): Add support for button interactions
null
shardlab/discordrb
MIT License
Ruby
import { HALF_PI, PI } from "@thi.ng/math"; -import { VecOpRoVV } from "./api"; +import { addmN } from "./addmn"; +import { VecOpRoVV, VecOpVVV } from "./api"; import { headingXY } from "./heading"; +import { normalize } from "./normalize"; +import { sub } from "./sub"; export const bisect2: VecOpRoVV<number> = (a, b) ...
feat(vectors): add cornerBisector()
null
thi-ng/umbrella
Apache License 2.0
TypeScript
import { createError } from '@middy/util' -import _ajv from 'ajv/dist/2019.js' +import _ajv from 'ajv/dist/2020.js' import localize from 'ajv-i18n' import formats from 'ajv-formats' import formatsDraft2019 from 'ajv-formats-draft2019' @@ -14,7 +14,8 @@ const ajvDefaults = { allErrors: true, useDefaults: 'empty', messag...
feat: allow async ajv
null
middyjs/middy
MIT License
JavaScript
@@ -34,6 +34,7 @@ python3 --version || true vault --version || true jq --version || true rsync --version || true +helm version || true JAVA_HOME="${HUDSON_HOME}/.java/java10" PATH="${JAVA_HOME}/bin:${PATH}"
feat: check helm version installed
null
elastic/apm-pipeline-library
Apache License 2.0
Shell
@@ -66,58 +66,77 @@ discord_delete_messages_by_author_id( } void -discord_message_from_json(char *str, size_t len, struct discord_message *message) +discord_message_from_json(char *json, size_t len, struct discord_message *p) { - if (message->nonce) { - free(message->nonce); - message->nonce = NULL; - } - if (message->...
feat: add missing fields to discord_message_from_json()
null
cee-studio/orca
MIT License
C
@@ -248,7 +248,7 @@ container()->set('cache', function () { } elseif (extension_loaded('wincache')) { $driverName = 'wincache'; } else { - $driverName = 'files'; + $driverName = 'phparray'; } } @@ -286,7 +286,6 @@ container()->set('cache', function () { break; case 'phparray': $config = new \Phpfastcache\Drivers\Phparr...
feat(cache): set PHPArray cache driver as default auto driver
null
flextype/flextype
MIT License
PHP
@@ -94,7 +94,7 @@ function ComponentBase({ bank.tax.maxTaxUUSD, ), ) - .minus(fixedGas) + .minus(big(fixedGas).mul(2)) .toString() as u<Token>; }, getFormatWithdrawable: (bank: Bank, fixedGas: u<UST<BigSource>>) => { @@ -107,7 +107,7 @@ function ComponentBase({ bank.tax.maxTaxUUSD, ), ) - .minus(fixedGas) as u<UST<Big>...
feat: update the send max_amount formula to remain the fixed_gas * 2
null
anchor-protocol/anchor-web-app
Apache License 2.0
TypeScript
use borsh::{BorshDeserialize, BorshSerialize}; use serde::{Deserialize, Serialize}; -use std::convert::{TryFrom, TryInto}; +use std::borrow::Cow; +use std::convert::TryFrom; /// PublicKey curve #[derive( @@ -15,6 +16,14 @@ impl TryFrom<String> for CurveType { type Error = Box<dyn std::error::Error>; fn try_from(value: ...
feat: impl FromStr for public key json types and cleanup
null
near/near-sdk-rs
Apache License 2.0
Rust
@@ -3,6 +3,7 @@ import PropTypes from "prop-types"; import { withStyles } from "@material-ui/core/styles"; import MiniCartComponent from "@reactioncommerce/components/MiniCart/v1"; import CartItems from "components/CartItems"; +import CartEmptyMessage from "@reactioncommerce/components/CartEmptyMessage/v1"; import Icon...
feat: add an empty cart message
null
reactioncommerce/example-storefront
Apache License 2.0
JavaScript
@@ -601,7 +601,8 @@ class TransactionReceipt: source=False, ) - if trace[i]["op"] == "CALL" and int(trace[i]["stack"][-3], 16): + opcode = trace[i]["op"] + if opcode == "CALL" and int(trace[i]["stack"][-3], 16): self._add_internal_xfer( last["address"], trace[i]["stack"][-2][-40:], trace[i]["stack"][-3] ) @@ -610,12 +6...
feat: add selfdestruct to call trace
null
eth-brownie/brownie
MIT License
Python
@@ -70,6 +70,7 @@ from .dispatcher import Dispatcher from .util import STARTUP_EVENT_TOPIC, SHUTDOWN_EVENT_TOPIC LOGGER = logging.getLogger(__name__) +UNDELIVERABLE_EVENT_TOPIC = "acapy::outbound-message::undeliverable" class Conductor: @@ -697,7 +698,7 @@ class Conductor: ) -> OutboundSendStatus: """Handle a message t...
feat: add event and emitter
null
hyperledger/aries-cloudagent-python
Apache License 2.0
Python
@@ -191,7 +191,13 @@ def send_private_file(path): response = Response(wrap_file(frappe.local.request.environ, f), direct_passthrough=True) # no need for content disposition and force download. let browser handle its opening. - # response.headers.add(b'Content-Disposition', b'attachment', filename=filename.encode("utf-8...
feat(response): force download html or xml files
null
frappe/frappe
MIT License
Python
#include "electron/buildflags/buildflags.h" #include "electron/fuses.h" #include "shell/common/electron_constants.h" +#include "shell/common/node_includes.h" #include "shell/common/options_switches.h" +#include "shell/common/process_util.h" #include "third_party/crashpad/crashpad/client/annotation.h" #include "gin/wrap...
feat: warn when crash key name is longer than 39 bytes
null
electron/electron
MIT License
C++
@@ -120,6 +120,10 @@ public final class VersionDocument implements Serializable { return matchAny(Fields.AUTHOR, authors); } + public static Expression createdAt(long createdAt) { + return exactMatch(Fields.CREATED_AT, createdAt); + } + public static Expression createdAt(long from, long to) { return matchRange(Fields.C...
feat(VersionDocument): add createdAt exact match expression
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -170,7 +170,13 @@ export function CollapseMenu(props: CollapseMenuProps) { return ( <RootBox ref={setRootBoxElement} display="flex" data-ui="CollapseMenu" sizing="border"> {/* Expanded row, visible when there is enough space to show text on buttons */} - <InnerFlex align="center" ref={setInnerFlexElement} $hide={col...
feat(base): `CollapseMenu`: disable tooltips if there is no text to display
null
sanity-io/sanity
MIT License
TypeScript
@@ -32,9 +32,7 @@ class ClickGestureRecognizer extends PrimaryPointerGestureRecognizer { /// /// If this recognizer doesn't win the arena, [handleTapCancel] is called next. /// Otherwise, [handleTapUp] is called next. - void handleTapDown(PointerDownEvent down) { - print('handleTapDown'); - } + void handleTapDown(Point...
feat: rm print
null
openkraken/kraken
Apache License 2.0
Dart
*/ package com.b2international.snowowl.snomed.core.rest.classification; -import static com.b2international.snowowl.snomed.core.rest.SnomedClassificationRestRequests.beginClassification; -import static com.b2international.snowowl.snomed.core.rest.SnomedClassificationRestRequests.beginClassificationSave; -import static c...
feat(snomed): Add test cases to SnomedClassificationApiTest
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -295,6 +295,49 @@ TEST_F(DataTypeIntegrationTest, WriteReadArrayDate) { EXPECT_THAT(*result, UnorderedElementsAreArray(data)); } +// This test differs a lot from the other tests since Spanner STRUCT types may +// not be used as column types, and they may not be returned as top-level +// objects in a select statement...
feat: add datatype integration test for struct (googleapis/google-cloud-cpp-spanner#1102)
null
googleapis/google-cloud-cpp
Apache License 2.0
C++
@@ -145,6 +145,13 @@ struct discord_voice { // used to communicate the status of // the bot state changes uint64_t message_channel_id; + + /* + * Interval to divide the received packets + * 0 store in one file + * n store packets received every n minutes in a new file + */ + int recv_interval; }; /**
feat: how to divide packets
null
cee-studio/orca
MIT License
C
@@ -1147,6 +1147,10 @@ class RenderBoxModel extends RenderBox with position -= getTotalScrollOffset(); } + if (clipX || clipY) { + return size.contains(position); + } + // addWithPaintOffset is to add an offset to the child node, the calculation itself does not need to bring an offset. if (hitTestChildren(result, posit...
feat: optimize hittest
null
openkraken/kraken
Apache License 2.0
Dart
@@ -4505,6 +4505,32 @@ class BaseCanvas extends Canvas { this.actionQueue = []; this.actionQueueIndex = -1; } + getNodesVisibleStatus() { + let result = { + inside: [], + outside: [] + }; + let terminal = [ + this._coordinateService._terminal2canvas('x', 0 + this._coordinateService.terOffsetX), + this._coordinateServic...
feat: add getNodesVisibleStatus api
null
alibaba/butterfly
MIT License
JavaScript
@@ -9,7 +9,6 @@ declare(strict_types=1); namespace Flextype\Foundation\Media; -use Flextype\Component\Filesystem\Filesystem; use Intervention\Image\ImageManagerStatic as Image; use RuntimeException; use Slim\Http\Environment; @@ -59,12 +58,12 @@ class MediaFiles $upload_folder = PATH['project'] . '/uploads/' . $folder ...
feat(media-files): use Atomastic Filesystem
null
flextype/flextype
MIT License
PHP
namespace App\Services; use Illuminate\Database\Capsule\Manager as Capsule; +use Service\View; class Boot { @@ -34,5 +35,8 @@ class Boot $capsule->addConnection(Config::getRadiusDbConfig(), 'radius'); } $capsule->bootEloquent(); + + View::$connection = $capsule->getDatabaseManager(); + $capsule->getDatabaseManager()->c...
feat: add database query count to console
null
chensee/ss-panel-v3-mod_uim-alipay-wxpay
MIT License
PHP
+#include <bits/stdc++.h> +using namespace std; +class Solution { + public: + int countMatches(vector<vector<string>>& items, string ruleKey, string ruleValue) { + int ans = 0, idx = 0; + if (ruleKey == "color") + idx = 1; + else if (ruleKey == "name") + idx = 2; + for (auto& item : items) { + if (item[idx] == ruleValu...
feat: leetcode week 230
null
upupming/algorithm
MIT License
C++
@@ -169,4 +169,30 @@ class Builder extends BaseBuilder return parent::_delete($table); } + + //-------------------------------------------------------------------- + + /** + * LIMIT string + * + * Generates a platform-specific LIMIT clause. + * + * @param string $sql SQL Query + * + * @return string + */ + protected fu...
feat: add limit method
null
codeigniter4/codeigniter4
MIT License
PHP
@@ -46,4 +46,9 @@ return [ 'icon' => 'icon-linkedin', 'enabled' => true, ], + 'reddit' => [ + 'developers' => 'https://www.reddit.com/dev/api/', + 'icon' => 'icon-reddit', + 'enabled' => true, + ], ];
feat: started Reddit OAuth
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
+<?php + +declare(strict_types=1); + +use Atomastic\Arrays\Arrays; + +test('test collect() method', function () { + $this->assertInstanceOf(Arrays::class, collect()); +}); + +test('test collect_filter() method', function () { + $this->assertEquals([], collect_filter()); + $this->assertEquals([], collect_filter([])); + ...
feat(tests): add tests for new Collections
null
flextype/flextype
MIT License
PHP
@@ -26,14 +26,19 @@ namespace OsEngine.Market.Servers.Binance.Futures.Entity public class PositionFutures { - public string isolated; - public string leverage; + public string symbol; public string initialMargin; public string maintMargin; - public string openOrderInitialMargin; - public string positionInitialMargin; -...
feat: binance. update accountInfo
null
alexwan/osengine
Apache License 2.0
C#
@@ -20,11 +20,14 @@ import com.ibm.cloud.sdk.core.service.model.GenericModel; public class GetJpegImageOptions extends GenericModel { /** - * Specify the image size. + * The image size. Specify `thumbnail` to return a version that maintains the original aspect ratio but is no larger + * than 200 pixels in the larger di...
feat(Visual Recognition v4): Add THUMBNAIL size constant to GetJpegImageOptions
null
watson-developer-cloud/java-sdk
Apache License 2.0
Java
@@ -346,8 +346,9 @@ container()->set('serializers', new Serializers()); // Add Images Service container()->set('images', static function () { - // Get image settings - $imagesSettings = ['driver' => registry()->get('flextype.settings.images.driver')]; + + // Get image settings driver + $imagesSettingsDriver = ['driver'...
feat(images): update settings for Images service
null
flextype/flextype
MIT License
PHP