diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -12,8 +12,12 @@ macro_rules! credential_type { use $crate::CredentialAttributeSchema; use $crate::CredentialAttributeType::{Number, Utf8String, Blob}; - #[allow(unused_mut)] - let mut attributes = vec![]; + let mut attributes = vec![CredentialAttributeSchema { + label: $crate::SECRET_ID.into(), + description: "".to_...
feat(rust): add secret_id attribute to credential_type macro
null
ockam-network/ockam
Apache License 2.0
Rust
+import { withComponent, shadow } from 'skatejs'; +import withPreact from '@skatejs/renderer-preact'; +import { store } from '../store.js'; +import { extend, supportsShadowDom } from '../utils/index.js'; +import { h } from 'preact'; + +export class BaseComponent extends withComponent(withPreact()) { + get renderRoot() ...
feat: add Preact-powered base component extended by other components
null
pattern-lab/patternlab-node
MIT License
JavaScript
import 'lang/en.dart'; +import '../i10n/lang/ar.dart'; abstract class FlutterFireUILocalizationLabels { const FlutterFireUILocalizationLabels(); @@ -94,6 +95,7 @@ abstract class FlutterFireUILocalizationLabels { const localizations = <String, FlutterFireUILocalizationLabels>{ 'en': EnLocalizations(), + 'ar': ArLocaliza...
feat(ui): add Arabic localization support
null
firebaseextended/flutterfire
BSD 3-Clause New or Revised License
Dart
@@ -203,6 +203,7 @@ type ListProjectsOptions struct { WithMergeRequestsEnabled *bool `url:"with_merge_requests_enabled,omitempty" json:"with_merge_requests_enabled,omitempty"` MinAccessLevel *AccessLevelValue `url:"min_access_level,omitempty" json:"min_access_level,omitempty"` WithCustomAttributes *bool `url:"with_cust...
feat: filter projects by the given programming language
null
xanzy/go-gitlab
Apache License 2.0
Go
@@ -14,6 +14,7 @@ set -u SDK_WEBSITE="https://sdk.dfinity.org" DFX_RELEASE_ROOT="${DFX_RELEASE_ROOT:-$SDK_WEBSITE/downloads/dfx}" DFX_MANIFEST_JSON_URL="${DFX_MANIFEST_JSON_URL:-$SDK_WEBSITE/manifest.json}" +DFX_VERSION="${DFX_VERSION:-}" # The SHA and the time of the last commit that touched this file. SCRIPT_COMMIT_D...
feat: add DFX_VERSION env variable support to install.sh
null
dfinity/sdk
Apache License 2.0
Shell
@@ -167,6 +167,11 @@ export interface IService { request: DrashRequest, response: Response, ) => void | Promise<void>; + + /** + * Method that runs during server build time. + */ + runAtStartup?: (options: IServiceStartupOptions) => void | Promise<void>; } export interface IErrorHandler {
feat(services): add runAtStartup to interface
null
drashland/deno-drash
MIT License
TypeScript
@@ -371,6 +371,37 @@ class InterfaceConstructor: def __repr__(self) -> str: return f"<{type(self).__name__} '{self._name}'>" + def decode_input(self, calldata: Union[str, bytes]) -> Tuple[str, Any]: + """ + Decode input calldata for this contract. + + Arguments + --------- + calldata : str | bytes + Calldata for a call...
feat: include decode_input on InterfaceConstructor
null
eth-brownie/brownie
MIT License
Python
@@ -16,6 +16,16 @@ export const FILE_TYPE_PATTERNS = { [FILE_TYPE_HTML]: /\.(html?)$/, }; +export const FILE_TYPE_LABELS = { + [FILE_TYPE_CSS]: 'CSS', + [FILE_TYPE_JS]: 'JS', + [FILE_TYPE_IMG]: 'IMG', + [FILE_TYPE_MEDIA]: 'Media', + [FILE_TYPE_FONT]: 'Fonts', + [FILE_TYPE_HTML]: 'HTML', + [FILE_TYPE_OTHER]: 'Other', +}...
feat: Export file type labels
null
relative-ci/bundle-stats
MIT License
JavaScript
@@ -348,6 +348,11 @@ defmodule Ash.Api do def load(api, data, query, opts \\ []) def load(_, [], _, _), do: {:ok, []} def load(_, nil, _, _), do: {:ok, nil} + def load(_, {:error, error}, _, _), do: {:error, error} + + def load(api, {:ok, values}, query, opts) do + load(api, values, query, opts) + end def load(api, dat...
feat: streamline `load` by accepting ok/error
null
ash-project/ash
MIT License
Elixir
import React, { Component } from 'react'; import { Grid, Typography, Tabs, Tab } from '@material-ui/core'; import SelfkeyIdOverview from './selfkey-id-overview'; +import SelfkeyIdCreate from './selfkey-id-create'; // import SelfkeyIdApplications from './selfkey-id-applications'; // import SelfkeyIdCompanies from './sel...
feat(selfkey-id): create initial flow
null
selfkeyfoundation/identity-wallet
MIT License
JavaScript
@@ -7,45 +7,36 @@ declare(strict_types=1); * Founded by Sergey Romanenko and maintained by Flextype Community. */ -namespace Flextype; +namespace Flextype\Endpoints; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; +use Flextype\Endpoints\Endpoints; use function array_replace_recursi...
feat(endpoints): add Utils Endpoints class
null
flextype/flextype
MIT License
PHP
@@ -2,6 +2,7 @@ use crate::util::embedded_node; use clap::Args; use ockam::{Context, TcpTransport}; use ockam_multiaddr::MultiAddr; +use std::time::Duration; #[derive(Clone, Debug, Args)] pub struct SendCommand { @@ -15,7 +16,7 @@ impl SendCommand { } } -async fn send_message(ctx: Context, command: SendCommand) -> anyh...
feat(rust): make send message in `ockam_command` wait and stop the node
null
ockam-network/ockam
Apache License 2.0
Rust
waybar::modules::SNI::Tray::Tray(const Json::Value &config) : config_(config), watcher_(), host_(&dp, config) { + std::cout << "Tray is in beta, so there may be bugs or even be unusable." << std::endl; if (config_["spacing"].isUInt()) { box_.set_spacing(config_["spacing"].asUInt()); }
feat: add debug about tray beta
null
alexays/waybar
MIT License
C++
@@ -36,6 +36,8 @@ public abstract class SnomedTerminologyComponentConstants { public static final String CODESYSTEM_RF2_EXPORT_LAYOUT_CONFIG_KEY = "refSetExportLayout"; public static final String CODESYSTEM_NRC_COUNTRY_CODE_CONFIG_KEY = "nrcCountryCode"; + public static final String CODESYSTEM_LANGUAGE_CONFIG_KEY = "la...
feat(languages): add languages config key to snomed constants
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -2662,6 +2662,37 @@ class TestMasterRunner(LocustRunnerTestCase): self.assertEqual(2, num_users, "Total number of locusts that would have been spawned is not 2") + def test_spawn_correct_worker_indexes(self): + """ + Tests that workers would receive a monotonic sequence of ordinal IDs. + """ + + class TestUser(User)...
feat: test coverage for worker index
null
locustio/locust
MIT License
Python
@@ -25,9 +25,22 @@ struct Foo { bar: usize, } +#[derive(serde::Deserialize, Debug)] +struct FooValidationError { + reason: String, +} + +#[derive(Debug)] +enum FooError { + ServerError, + SerdeError, + StatusError, + ValidationError(FooValidationError), +} + enum Msg { SendRequest, - Fetched(Foo), + Fetched(Result<Foo,...
feat(fetch): Add error handling to `fetch` example
null
seed-rs/seed
MIT License
Rust
@@ -453,8 +453,30 @@ class RenderFlexLayout extends RenderBox return childParentData.flex ?? 0; } + double _getBaseConstraints(child) { + double minConstraints; + Element childNode = nodeMap[child.nodeId]; + String flexBasis = childNode.style.get('flexBasis') ?? 'auto'; + + if (_direction == Axis.horizontal) { + String...
feat: support flex-basis
null
openkraken/kraken
Apache License 2.0
Dart
@@ -163,7 +163,6 @@ class NerNetwork: if pretrained_model_filepath is not None: self.load(pretrained_model_filepath) - def save(self, model_file_path=None): if model_file_path is None: if not os.path.exists(MODEL_PATH): @@ -235,8 +234,9 @@ class NerNetwork: results = self.eval_conll(dataset_type='test', short_report=Tr...
feat: Masks are added to the predict of the NER model
null
deeppavlov/deeppavlov
Apache License 2.0
Python
@@ -181,6 +181,7 @@ public final class ResolveMojo extends SafeMojo { final Iterable<Dependency> transitives = new Filtered<>( dep -> !ResolveMojo.eqTo(dep, dependency) && !dep.getScope().contains("test") + && !dep.getScope().contains("provided") && !("org.eolang".equals(dep.getGroupId()) && "eo-runtime".equals(dep.get...
feat(#1595): filter provided dependencies
null
cqfn/eo
MIT License
Java
@@ -94,14 +94,16 @@ public class Application extends BaseDomain { */ Integer applicationVersion; - /* - Changing name, change in pages, widgets and datasources will set lastEditedAt. - Other activities e.g. changing policy will not change this property. - We're adding JsonIgnore here because it'll be exposed as modifie...
feat: Adding Embedding Apps Functionality in the API
null
appsmithorg/appsmith
Apache License 2.0
Java
@@ -89,20 +89,6 @@ class Forms $form .= $this->_csrfHiddenField(); $form .= $this->_actionHiddenField(); - // Extends fieldsets - if (isset($fieldset['extends'])) { - if (is_array($fieldset['extends'])) { - foreach ($fieldset['extends'] as $extends) { - $extends_fieldset_content = Filesystem::read($this->flextype->fiel...
feat(core): remove - ability to extends fieldsets
null
flextype/flextype
MIT License
PHP
@@ -204,7 +204,9 @@ fn load_basic_pact() { expect!(pact.metadata().iter()).to(have_count(0)); let v4pact = pact.as_v4_pact().unwrap(); - match v4pact.interactions[0].as_v4_http() { + let interaction = &v4pact.interactions[0]; + expect!(interaction.pending()).to(be_false()); + match interaction.as_v4_http() { Some(Synch...
feat(V4): added some tests for pending interactions
null
pact-foundation/pact-reference
MIT License
Rust
@@ -47,6 +47,9 @@ class SpeechSegmentGenerator(object): Precomputed features per_label : int, optional Number of speech turns per speaker in each batch. Defaults to 3. + label_min_duration : float, optional + Remove speakers with less than `label_min_duration` seconds of speech. + Defaults to 0 (i.e. keep it all). per_...
feat: add "label_min_duration" option to SpeechSegmentGenerator
null
pyannote/pyannote-audio
MIT License
Python
@@ -21,6 +21,11 @@ impl Planet { pub fn is_owned(&self) -> bool { self.owner.is_some() } + + /// Determines if the planet has been fully occupied (all possible ships are docked). + pub fn is_full(&self) -> bool { + self.docked_ships.len() >= self.num_docking_spots + } } impl Decodable for Planet {
feat: Add a method to know if a planet is full
null
halitechallenge/halite-ii
MIT License
Rust
@@ -123,5 +123,9 @@ func (k *kindSorter) Less(i, j int) bool { if !ok { return true } + if first == second { + // same kind so sub sort alphanumeric + return a.name < b.name + } return first < second }
feat(tiller): sort manifests alphabetically if they are same kind
null
helm/helm
Apache License 2.0
Go
@@ -34,8 +34,7 @@ export default function (options: { let templateFormatScript: EmbeddedFile | undefined; embedded.forEachEmbeddeds(vueDocument.file.embeddeds, embedded => { - if (embedded.fileName.endsWith('.__VLS_template_format.tsx') - || embedded.fileName.endsWith('.__VLS_template_format.jsx')) { + if (embedded.fil...
feat: auto insert parentheses for `instanceof` expressions
null
johnsoncodehk/volar
MIT License
TypeScript
@@ -5,6 +5,7 @@ import au.com.dius.pact.core.model.matchingrules.MatchingRule; import java.math.BigDecimal; import java.time.Instant; +import java.time.LocalDate; import java.time.ZonedDateTime; import java.util.Arrays; import java.util.Date; @@ -325,6 +326,18 @@ public class LambdaDslObject { return this; } + /** + * ...
feat: add support for LocalDate to LambdaDslObject
null
pact-foundation/pact-jvm
Apache License 2.0
Java
@@ -50,7 +50,7 @@ final class DcsWithRuntime implements Dependencies { private final Dependencies delegate; /** - * Runtime dependency source. + * Supplier of the eo-runtime dependency. */ private final Unchecked<Dependency> supplied; @@ -67,7 +67,7 @@ final class DcsWithRuntime implements Dependencies { * The main con...
feat(#1386): change JavaDoc descriptions
null
cqfn/eo
MIT License
Java
@@ -151,6 +151,12 @@ class Mission { */ this.levelAuras = (data.levelAuras || []) .map((aura) => translator.languageString(aura, locale)); + + /** + * Only weapon allowed for the mission + * @type {string} + */ + this.exclusiveWeapon = translator.languageString(data.exclusiveWeapon, locale); } /**
feat: add the exclusiveWeapon field to missions
null
wfcd/warframe-worldstate-parser
MIT License
JavaScript
@@ -134,9 +134,7 @@ describe("SDKEndpointsActions", function() { mockXhr.success(); }); - it.only( - "dispatches the correct action when successful text returned", - function() { + it("dispatches the correct action when successful text returned", function() { SDKEndpointsActions.fetchEndpoint(serviceId, endpointName); ...
feat(ServiceDeleteActions): remove only from tests
null
dcos/dcos-ui
Apache License 2.0
JavaScript
@@ -66,7 +66,7 @@ open class MediaControl(core: Core, pluginName: String = name) : UICorePlugin(co open val invalidActivationKeys = listOf(Key.UNDEFINED) private val navigationKeys = listOf(Key.UP, Key.DOWN, Key.LEFT, Key.RIGHT) - private val backgroundView: View by lazy { view.findViewById(R.id.background_view) as Vie...
feat(background_media_control_tv): open background view property to it can be overrided
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
+import sys + +from brownie import ZERO_ADDRESS, Contract, PoolProxySidechain, accounts + + +def _get_pool_list(): + sys.stdout.write("Getting list of pools and coins from registry...") + sys.stdout.flush() + + provider = Contract("0x0000000022D53366457F9d5E68Ec105046FC4383") + registry = Contract(provider.get_registry...
feat: fee burn script for fantom
null
curvefi/curve-dao-contracts
MIT License
Python
@@ -151,7 +151,6 @@ func BuildEnvShowCmd() *cobra.Command { GlobalOpts: NewGlobalOpts(), } cmd := &cobra.Command{ - Hidden: true, //TODO remove when ready for production! Use: "show", Short: "Shows info about a deployed environment.", Long: "Shows info about a deployed environment, including region, account ID, and ser...
feat(cli): enable "env show" command
null
aws/copilot-cli
Apache License 2.0
Go
@@ -4,6 +4,7 @@ import ( "errors" "fmt" + "github.com/MakeNowJust/heredoc" "github.com/profclems/glab/internal/glrepo" "github.com/profclems/glab/commands/cmdutils" @@ -60,6 +61,12 @@ func NewCmdList(f *cmdutils.Factory, runE func(opts *ListOptions) error) *cobra. Short: `List project issues`, Long: ``, Aliases: []stri...
feat(commands/issue/list): add EXAMPLES
null
profclems/glab
MIT License
Go
@@ -4,6 +4,10 @@ import { load } from 'cheerio' import * as Table from 'cli-table2' import { Question, prompt } from 'inquirer' import * as colors from 'colors' +const ora = require('ora') + +const util = require('util') +const exec = util.promisify(require('child_process').exec) import { Botonic } from '../botonic' im...
feat: add build on run command
null
hubtype/botonic
MIT License
TypeScript
@@ -448,11 +448,11 @@ fn_deps_build_redhat(){ # LinuxGSM requirements. # CentOS if [ "${distroversion}" == "6" ]; then - array_deps_required=( epel-release curl wget util-linux-ng python3 file gzip bzip2 unzip binutils bc jq ) + array_deps_required=( epel-release curl wget util-linux-ng python file gzip bzip2 unzip bin...
feat(install): centos 8 python dependency checking
null
gameservermanagers/linuxgsm
MIT License
Shell
-// @ts-ignore -import { Injectable } from '@angular/core' import { Overmind, EventType } from 'overmind' import { BehaviorSubject, Observable } from 'rxjs' import { map } from 'rxjs/operators' +class ServiceBase {} + // @ts-ignore const IS_PRODUCTION = process.env.NODE_ENV === 'production' let nextComponentId = 0 -exp...
feat(overmind-angular): change how the service is created
null
cerebral/overmind
MIT License
TypeScript
@@ -44,6 +44,8 @@ fn run() -> Result<()> { .subcommand(SubCommand::with_name("init-config").about("Generate a default config file")) .subcommand( SubCommand::with_name("generate") + .alias("gen") + .alias("g") .about("Generate a parser") .arg(Arg::with_name("grammar-path").index(1)) .arg(Arg::with_name("log").long("log...
feat(cli): Add short aliases for frequent subcommands
null
tree-sitter/tree-sitter
MIT License
Rust
@@ -19,9 +19,15 @@ main() { fi if ! [ -f ./lib/coder-cloud-agent ]; then + echo "Downloading the cloud agent..." + + # for arch; we do not use OS from lib.sh and get our own. + # lib.sh normalizes macos to darwin - but cloud-agent's binaries do not + source ./ci/lib.sh OS="$(uname | tr '[:upper:]' '[:lower:]')" + set +...
feat(ci/build): support arm64 for cloud-agent
null
cdr/code-server
MIT License
Shell
@@ -335,7 +335,14 @@ class Renderer { } private void checkStub(GameConfig gameConfig, QuestionConfig questionConfig, String tag, ExportReport exportReport) { - + if (questionConfig.getStubGenerator() == null) { + exportReport.addItem( + ReportItemType.WARNING, tag + "Missing stub.txt file.", + "https://github.com/Codin...
feat(sdk-config): add check stub.txt
null
codingame/codingame-game-engine
MIT License
Java
@@ -16,4 +16,6 @@ $flextype_loader = require_once $flextype_autoload; filesystem()->directory(PATH['tmp'])->exists() and filesystem()->directory(PATH['tmp'])->delete(); +filesystem()->file(ROOT_DIR . '/tests/fixtures/settings.yaml')->copy(ROOT_DIR . '/project/config/flextype/settings.yaml'); + include ROOT_DIR . '/src/...
feat(tests): update settings fixture
null
flextype/flextype
MIT License
PHP
@@ -72,6 +72,18 @@ public class SoloGameRunner extends GameRunner { this.testCaseInput = testCaseInput; } + /** + * Sets a <code>String</code> as a test case input that will be sent to the Game Manager. + * <p> + * The input will be split in several lines by <b>&#92;n</b>. + * + * @param testCaseInput + * the <code>Str...
feat: add string test case setter
null
codingame/codingame-game-engine
MIT License
Java
@@ -1055,6 +1055,10 @@ pub mod cli { #[structopt(short, long, env = "STENCILA_KEY")] key: Option<String>, + /// Serve in a background thread (when in interactive mode) + #[structopt(short, long)] + background: bool, + /// Do not require a JSON Web Token to access the server #[structopt(long)] insecure: bool, @@ -1069,6...
feat(Server): Add flag to run in background
null
stencila/stencila
Apache License 2.0
Rust
@@ -1092,9 +1092,7 @@ App::get('/v1/builds/:buildId') /** @var Appwrite\Utopia\Response $response */ /** @var Utopia\Database\Database $dbForProject */ - $build = Authorization::skip(function () use ($dbForProject, $buildId) { - return $dbForProject->getDocument('builds', $buildId); - }); + $build = Authorization::skip...
feat: refactor auth::skip
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
use std::mem::replace; use std::sync::Arc; -use common_base::tokio::io::AsyncReadExt; -use common_base::tokio::sync::mpsc::Receiver; -use common_base::tokio::sync::mpsc::Sender; +use common_base::base::tokio::io::AsyncReadExt; +use common_base::base::tokio::sync::mpsc::Receiver; +use common_base::base::tokio::sync::mps...
feat(format): try fix build failure after merge main
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -69,16 +69,30 @@ if __name__ == '__main__': import ast import gast import sys + from copy import deepcopy + try: + from astmonkey import transformers, visitors + IMPORT_ASTMONKEY = True + except ImportError: + IMPORT_ASTMONKEY = False - def dump_ast(mod): - mod = gast.ast_to_gast(mod) - for b in mod.body: - print(as...
feat: Added astmonkey visualization
null
pfnet-research/chainer-compiler
MIT License
Python
@@ -9,7 +9,6 @@ import { ShowStyleBase } from '../../../lib/collections/ShowStyleBases' import { RundownPlaylist } from '../../../lib/collections/RundownPlaylists' import { Rundown } from '../../../lib/collections/Rundowns' import { Bucket } from '../../../lib/collections/Buckets' -import { BucketPanel } from './Bucket...
feat: refactor Buckets
null
nrkno/tv-automation-server-core
MIT License
TypeScript
@@ -7,7 +7,6 @@ import 'package:flutter/gestures.dart'; import 'package:kraken/launcher.dart'; import 'dart:ui'; import 'package:meta/meta.dart'; -import 'package:kraken/rendering.dart'; class RenderViewportBox extends RenderProxyBox with RenderObjectWithControllerMixin {
feat: del import
null
openkraken/kraken
Apache License 2.0
Dart
@@ -5,6 +5,14 @@ from commitizen.cz.cz_base import BaseCommitizen __all__ = ['ConventionalCommitsCz'] +def parse_scope(text=None): + if text is None: + return None + text = text.strip().title().split() + text[0] = text[0].lower() + return ''.join(text) + + class ConventionalCommitsCz(BaseCommitizen): def questions(self...
feat(commiter): conventional commit is a bit more intelligent now
null
commitizen-tools/commitizen
MIT License
Python
@@ -171,6 +171,8 @@ func StopReplicationAndBuildStatusMaps( primaryStatusMap = map[string]*replicationdatapb.PrimaryStatus{} m sync.Mutex errChan = make(chan concurrency.Error) + tabletsReachable []*topodatapb.Tablet + allTablets []*topodatapb.Tablet ) groupCtx, groupCancel := context.WithTimeout(ctx, waitReplicasTimeo...
feat: prevent ERS from failing in case we are able to revoke successfuly
null
vitessio/vitess
Apache License 2.0
Go
@@ -20,10 +20,10 @@ class StyleCloudRequest(BaseModel): text: str = Schema(None, description="Source text") size: int = Schema(512, description="Output width and height in pixels") icon_name: FontAwesomeIcon = Schema( - "fas fa-flag", description="Font Awesome icon mask", alias="icon" + "fas fa-flag", description="[Fon...
feat: add links to wordcloud API docs for playground
null
saasify-sh/saasify
MIT License
Python
@@ -51,7 +51,7 @@ func NewHTTPClient(timeout time.Duration, insecureSkipVerifyTLS bool) *http.Clie IdleConnTimeout: 30 * time.Second, TLSHandshakeTimeout: 10 * time.Second, ExpectContinueTimeout: 1 * time.Second, - ResponseHeaderTimeout: 30 * time.Second, + ResponseHeaderTimeout: timeout, TLSClientConfig: &tls.Config{I...
feat(sdk): set value for http response header timeout
null
ovh/cds
BSD 3-Clause New or Revised License
Go
namespace OwenIt\Auditing\Contracts; -interface AuditRedactor +interface AttributeRedactor extends AttributeModifier { /** - * Redact a value. + * Redact an attribute value. * * @param mixed $value *
feat(AttributeModifiers): implement interfaces
null
owen-it/laravel-auditing
MIT License
PHP
package io.clappr.player.plugin.control import android.annotation.SuppressLint -import android.content.res.Resources -import android.content.res.Resources.Theme import android.os.Bundle import android.os.Handler import android.os.SystemClock @@ -344,11 +342,8 @@ open class MediaControl(core: Core, pluginName: String = ...
feat(background_media_control_tv): change method getDrawable
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
@@ -486,4 +486,12 @@ class Storage return strings('storageEntry' . $storageEntryFile)->hash()->toString(); } + + /** + * Get Storage options + */ + public function getOptions(): array + { + return $this->options; + } }
feat(storage): add method `getOptions`
null
flextype/flextype
MIT License
PHP
@@ -310,6 +310,10 @@ async def setup_alexa(hass, config_entry, login_obj): login_obj.status, ) if login_obj.status: + await hass.bus.async_fire( + "alexa_media_player/relogin_required", + event_data={"email": hide_email(email), "url": login_obj.url}, + ) await login_obj.reset() await login_obj.login() await test_login_...
feat: add event for relogin required
null
custom-components/alexa_media_player
Apache License 2.0
Python
+package main + +import ( + "net/http" + + "github.com/gin-gonic/gin" + "github.com/twilio/twilio-go/twiml" +) + +func main() { + router := gin.Default() + + router.GET("/", func(context *gin.Context) { + context.String(http.StatusOK, "Hello from your pals at Twilio!") + }) + + router.POST("/answer", func(context *gin....
feat: add initial samples for voice/say in Go
null
twiliodeved/api-snippets
MIT License
Go
@@ -28,7 +28,7 @@ export default class NearNativeTokenPaymentDetector extends ReferenceBasedDetect NearNativeTokenPaymentDetector.getVersionOrThrow(paymentNetworkVersion); switch (chainName) { case 'aurora': - return 'request-network'; + return 'requestnetwork.near'; case 'aurora-testnet': return 'dev-1626339335241-554...
feat: near mainnet deployment info
null
requestnetwork/requestnetwork
MIT License
TypeScript
@@ -48,6 +48,8 @@ from .schedulers import BaseSchedulerCallback from .schedulers import ConstantScheduler from .generator import BatchGenerator from .model import Model +from ..utils.timeout import timeout + ARBITRARY_LR = 0.1 @@ -87,9 +89,7 @@ class Trainer: else: _model_pt = model_pt - msg = 'TODO: infer optimizer_pt...
feat: add initial support for pretrained model
null
pyannote/pyannote-audio
MIT License
Python
@@ -45,26 +45,15 @@ module.exports = class PWAAppShellPlugin { // Compile App-Shell compiler.hooks.beforeCompile.tapAsync(this.name, (compilationParams, callback) => { // externals rax, update libraryTarget, disabled self plugin - const newConfig = { - ...config, + const newConfig = Object.assign({}, config, { + target...
feat: update code review
null
raxjs/rax-app
MIT License
JavaScript
@@ -42,7 +42,7 @@ pub fn start_metrics_endpoint( })?; let response = tide::Response::builder(200) .body(encoded) - .content_type("text/plain; version=1.0.0; charset=utf-8") + .content_type("application/openmetrics-text; version=1.0.0; charset=utf-8") .build(); Ok(response) });
feat: Fix content-type in metrics endpoint for exemplars support
null
fluencelabs/fluence
Apache License 2.0
Rust
@@ -422,24 +422,18 @@ class DeletesV1 extends Worker * Delete Deployments */ $storageFunctions = new Local(APP_STORAGE_FUNCTIONS . '/app-' . $projectId); - $deploymentIds = []; - $this->deleteByGroup('deployments', [ - new Query('functionId', Query::TYPE_EQUAL, [$document->getId()]) - ], $dbForProject, function (Docume...
feat: added deleteDeployment to deletes worker
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
@@ -60,12 +60,6 @@ os.ui.MenuButtonCtrl = function($scope, $element) { */ this.position = 'top'; - /** - * @type {boolean} - * @protected - */ - this.isOpen = false; - $scope.$on('$destroy', this.onDestroy.bind(this)); }; @@ -84,13 +78,8 @@ os.ui.MenuButtonCtrl.prototype.onDestroy = function() { * Open the menu */ os.u...
feat(menubutton): bs4 change the menu button back
null
ngageoint/opensphere
Apache License 2.0
JavaScript
@@ -7,12 +7,41 @@ using System.Threading.Tasks; namespace PeanutButter.TrayIcon { + /// <summary> + /// Provides animation for a TrayIcon + /// </summary> + public interface ITrayIconAnimator + { + /// <summary> + /// Animate as if busy + /// </summary> + void Busy(); + + /// <summary> + /// Animate as if busy, with pr...
feat: provide interface for ITrayIconAnimator
null
fluffynuts/peanutbutter
BSD 3-Clause New or Revised License
C#
@@ -295,6 +295,7 @@ final class ApiPlatformExtension extends Extension implements PrependExtensionIn $dirname = $bundle['path']; foreach (['.yaml', '.yml', '.xml', ''] as $extension) { $paths[] = "$dirname/Resources/config/api_resources$extension"; + $paths[] = "$dirname/config/api_resources$extension"; } if ($this->is...
feat(mapping): Support mapping api resources in config at root bundle level
null
api-platform/core
MIT License
PHP
@@ -65,11 +65,14 @@ final class RedundantParentheses implements Consumer<String> { /** * Checks if the expression contains redundant parentheses. - * - * @param expression Raw object expression from parser. Examples: + * Examples of expressions to check: + * <pre>{@code * 1.plus 2 > x * "Text" > y * (1.plus 2).plus 3 +...
feat(#485): wrap code example in javadoc
null
cqfn/eo
MIT License
Java
#include "acl_compressor.h" +#define DEBUG_MEGA_LARGE_CLIP 0 // Enable 64 bit file IO #ifndef _WIN32 @@ -1130,6 +1131,35 @@ static int safe_main_impl(int argc, char* argv[]) settings = sjson_clip.settings; } +#if DEBUG_MEGA_LARGE_CLIP + track_array_qvvf new_transforms(allocator, transform_tracks.get_num_tracks()); + fl...
feat(tools): add debug code to simulate a very long clip
null
nfrechette/acl
MIT License
C++
@@ -63,6 +63,12 @@ const ( // StatusCompleted means the environment is ready. StatusCompleted = "Completed" + + // CAFilePathInCluster the CA file path when the server running in cluster. + CAFilePathInCluster = "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt" + + // ServerAddressInCluster the kubernetes server a...
feat: set the cloudshell instance max live time
null
oam-dev/kubevela
Apache License 2.0
Go
@@ -485,6 +485,7 @@ const cartItemDetail = { const progressiveImage = { rui_progressiveImageBackgroundColor: colors.white }; + const accordion = { rui_accordionBorderColor: colors.black10, rui_accordionBorderRadius: standardBorderRadius, @@ -500,6 +501,13 @@ const accordion = { rui_accordionContentBackgroundColor: colo...
feat: addeding AddressBook theme variables
null
reactioncommerce/reaction-component-library
Apache License 2.0
JavaScript
namespace Appwrite\Utopia\Response\Filter; use Appwrite\Auth\Auth; +use Appwrite\Database\Database; use Appwrite\Database\Validator\Authorization; +use Appwrite\OpenSSL\OpenSSL; use Appwrite\Utopia\Response; use Appwrite\Utopia\Response\Filter; use Exception; @@ -19,6 +21,10 @@ class V06 extends Filter { switch($model)...
feat: parse file
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
@@ -9,7 +9,7 @@ protocol Layer { func attach(plugin: UIPlugin) } -class BackgroundLayer: UIView { +final class BackgroundLayer: UIView { override init(frame: CGRect) { super.init(frame: frame)
feat: makes BackgroundLayer final
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -51,10 +51,10 @@ class ClickGestureRecognizer extends PrimaryPointerGestureRecognizer { MouseEventInit( bubbles: true, cancelable: true, - clientX: down.localPosition.dx, - clientY: down.localPosition.dy, - offsetX: down.position.dx, - offsetY: down.position.dy, + clientX: down.position.dx, + clientY: down.position....
feat: modify client and offset
null
openkraken/kraken
Apache License 2.0
Dart
@@ -191,25 +191,25 @@ class Entries * @param string $id Unique identifier of the entry. * @param array $options Options array. * - * @return Arrays Returns instance of The Arrays class with items. + * @return mixed Returns mixed results from APIs or default is an instance of The Arrays class with founded items. * * @ac...
feat(entries): improve Entries API to work with external APIs
null
flextype/flextype
MIT License
PHP
@@ -85,7 +85,7 @@ public final class FtCached implements Footprint { ) ).asString(); } else { - content = origin.load(program, ext); + content = this.origin.load(program, ext); } return content; } @@ -98,9 +98,9 @@ public final class FtCached implements Footprint { text = this.load(program, ext); } else { text = new Io...
feat(#1633): fix all qulice suggestions
null
cqfn/eo
MIT License
Java
import org.osgi.framework.*; import java.util.*; +import java.util.stream.*; /** * Class exposes methods for selecting best videobridge from all currently @@ -883,4 +884,83 @@ public Bridge doSelect( return null; } } + + /** + * Implements a {@link BridgeSelectionStrategy} which + */ + private static class RegionBasedB...
feat: Adds a region-based selection strategy
null
jitsi/jicofo
Apache License 2.0
Java
@@ -548,4 +548,11 @@ public class ScriptBuilder { builder.smallNum(1); // Use the CHECKLOCKTIMEVERIFY if branch return builder.build(); } + + public static Script createCreditBurnOutput(ECKey creditBurnKey) { + ScriptBuilder builder = new ScriptBuilder(); + builder.addChunk(new ScriptChunk(OP_RETURN, null)); + builder....
feat(ScriptBuilder): add createCreditBurnOutput method
null
dashevo/dashj
Apache License 2.0
Java
@@ -362,7 +362,7 @@ public boolean matches(byte[] buf, int off, int len) int tid = track.getMediaStreamTrackReceiver() .getStream().getTemporalID(buf, off, len); - return tid == temporalId; + return tid == -1 && idx == 0 || tid == temporalId; } /**
feat: Match packets lacking a TID to the base TL
null
jitsi/libjitsi
Apache License 2.0
Java
@@ -107,7 +107,10 @@ def ruge_stuben_solver(A, levels[-1].A = A while len(levels) < max_levels and levels[-1].A.shape[0] > max_coarse: - _extend_hierarchy(levels, strength, CF, interpolation, keep) + bottom = _extend_hierarchy(levels, strength, CF, interpolation, keep) + + if bottom: + break ml = MultilevelSolver(level...
feat: add bottom
null
pyamg/pyamg
MIT License
Python
@@ -4,6 +4,7 @@ use std::borrow::Cow; use std::collections::BTreeMap; use std::error::Error; use std::fmt; +use std::ops::Range; use std::str; use thiserror::Error; @@ -362,6 +363,11 @@ impl<'d> BreakpadFuncRecord<'d> { finished: false, } } + + /// Returns the range of addresses covered by this record. + pub fn range(&...
feat(debuginfo): Add range methods to record structs
null
getsentry/symbolic
MIT License
Rust
@@ -588,9 +588,13 @@ os.MapContainer.prototype.flyTo = function(options) { camera.flyTo(options); } } else { + // translate 3D heading to OpenLayers rotation if defined and non-zero + var rotation = options.heading ? ol.math.toRadians(-options.heading) : 0; + var animateOptions = /** @type {!olx.AnimationOptions} */ ({...
feat(map): support rotation in 2D flyTo
null
ngageoint/opensphere
Apache License 2.0
JavaScript
-#!/usr/bin/env bash -#create a new directory that will contain out generated apk -mkdir $HOME/buildApk/ -#copy generated apk from build folder and README.md to the folder just created -cp -R app/build/outputs/apk/debug/app-debug.apk app/build/outputs/apk/release/app-release-unsigned.apk $HOME/buildApk/ -cp -R app/buil...
feat: Upload apps through fastlane
null
fossasia/pslab-android
Apache License 2.0
Shell
@@ -4,9 +4,23 @@ var path = require('path'); var root = require('pkg-dir').sync(process.cwd()); -var npmConfig = require('./lib/parse-env')('hops'); var manifestUtil = require('./lib/manifest-util'); +var npmConfig = require('./lib/parse-env')('hops'); +try { + require.resolve(path.join(root, 'package.json')); + var pa...
feat(config): read hops user config from package.json if not in env
null
xing/hops
MIT License
JavaScript
+#!/usr/bin/env bash + +if [ -z "$OCKAM_ROOT" ] +then + echo "Please set the OCKAM_ROOT environment variable to the ockam repository root directory." + exit 0 +fi + +pushd $OCKAM_ROOT/implementations/rust/ockam/ >/dev/null +echo "crate,version" +for d in * +do + echo -n "$d," + perl -ne '/^version = "([^"]+)"/ and prin...
feat: script to print all crate versions
null
ockam-network/ockam
Apache License 2.0
Shell
@@ -152,7 +152,7 @@ def compare_policies(agent_stats_list, eval_env=None, eval_horizon=None, plt.figure(fignum) with sns.axes_style("whitegrid"): - ax = sns.boxplot(data=output) + ax = sns.boxplot(data=output, notch=True) ax.set_xlabel("agent") ax.set_ylabel("rewards in one episode") plt.title("Environment = %s" % eval...
feat(plot): add notch
null
rlberry-py/rlberry
MIT License
Python
+package com.codingame.gameengine.runner; + +import java.io.BufferedReader; +import java.io.File; +import java.io.FileReader; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +public class SoloGameRunner extends GameRunner { + + private List<String> testCaseContent; + + private List<S...
feat(sdk): create solo game runner
null
codingame/codingame-game-engine
MIT License
Java
@@ -751,6 +751,11 @@ impl ScopeState { self.tasks.push_fut(fut) } + /// Spawns the future but does not return the TaskId + pub fn spawn(&self, fut: impl Future<Output = ()> + 'static) { + self.push_future(fut); + } + // todo: attach some state to the future to know if we should poll it pub fn remove_future(&self, id: T...
feat: add "spawn" method
null
dioxuslabs/dioxus
Apache License 2.0
Rust
+// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import XCTest +import AWSCognitoIdentity +@testable import Amplify +@testable import AWSCognitoAuthPlugin +import AWSCognitoIdentityProvider +import ClientRuntime + +class AWSAuthSignUpAPITes...
feat(Auth): Adding test cases for SignUp tests
null
aws-amplify/amplify-ios
Apache License 2.0
Swift
@@ -85,6 +85,12 @@ func WithSanitizer(s Sanitizer) goldenFileOption { } } +func WithStringSanitizer(old, new string) goldenFileOption { + return func(g *GoldenFile) { + g.sanitizers = append(g.sanitizers, StringSanitizer(old, new)) + } +} + func NewOrUpdate(t testing.TB, data string, opts ...goldenFileOption) *GoldenFi...
feat: add golden string sanitizer option
null
googlecloudplatform/cloud-foundation-toolkit
Apache License 2.0
Go
@@ -194,6 +194,7 @@ const Nav = ({me, url, closeHandler, children, t, vt, inNativeApp, inNativeIOSAp closeHandler={closeHandler} /> <br /> + {/** <NavLink route='vote' translation={vt('common/hamburgerEntry')} @@ -201,6 +202,7 @@ const Nav = ({me, url, closeHandler, children, t, vt, inNativeApp, inNativeIOSAp closeHand...
feat(election): hide link in hamburger menu
null
orbiting/republik-frontend
BSD 3-Clause New or Revised License
JavaScript
@@ -260,7 +260,8 @@ open class AVFoundationPlayback: Playback { if let player = player as? AVQueuePlayer { playerLooper = AVPlayerLooper(player: player, templateItem: item) } - player?.allowsExternalPlayback = true + + player?.allowsExternalPlayback = !options.bool(kDisableExternalPlayback, orElse: false) player?.appli...
feat: use option on AVFoundationPlayback
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
use crate::PortalInternalMessage; use ockam_core::async_trait; +use ockam_core::compat::vec::Vec; use ockam_core::{route, Address, Processor, Result}; use ockam_node::Context; use tokio::{io::AsyncReadExt, net::tcp::OwnedReadHalf}; use tracing::error; -const BUFFER_SIZE: usize = 256; +const MAX_PAYLOAD_SIZE: usize = 32...
feat(rust): increase buffer size for tcp portal
null
ockam-network/ockam
Apache License 2.0
Rust
-import React, { ReactNode } from 'react' +import React, { ReactNode, CSSProperties } from 'react' import BootstrapModal from 'react-bootstrap/Modal' import { Button, Props as ButtonProps } from '../Button' @@ -40,6 +40,14 @@ interface Props { * Optional success button properties. * */ successButton?: ButtonProps + /**...
feat(modal): styling through props
null
hospitalrun/components
MIT License
TypeScript
@@ -3,6 +3,7 @@ goog.module.declareLegacyNamespace(); goog.require('os.ui.im.MergeAreaOptionUI'); +const googString = goog.require('goog.string'); const {ROOT} = goog.require('os'); const EventType = goog.require('os.events.EventType'); const Importer = goog.require('os.im.Importer'); @@ -88,6 +89,12 @@ class Controlle...
feat: the same KMZ files can now be imported multiple times
null
ngageoint/opensphere
Apache License 2.0
JavaScript
@@ -68,7 +68,7 @@ func NewConfig(paths []string, extras []string) types.PlatformConfig { Source: paths[0], } - if err := mergeConfigs(&base, paths, false); err != nil { + if err := mergeConfigs(&base, paths); err != nil { log.Fatalf("Failed to merge configs: %v", err) } @@ -127,24 +127,38 @@ func NewConfig(paths []stri...
feat: Create generic merge function for config []byte
null
flanksource/karina
Apache License 2.0
Go
@@ -30,7 +30,19 @@ module.exports = { const debuggerDetails = await fetch('http://127.0.0.1:9222/json/version'); //DevSkim: ignore DS137138 const debuggerDetailsConfig = await debuggerDetails.json(); const webSocketDebuggerUrl = debuggerDetailsConfig.webSocketDebuggerUrl; + if (process.env.SLOW_MODE) { + if (!isNaN(pro...
feat: add slow mode and stable mode
null
synthetixio/synpress
MIT License
JavaScript
@@ -227,6 +227,14 @@ static void zmk_rgb_underglow_tick_handler(struct k_timer *timer) { K_TIMER_DEFINE(underglow_tick, zmk_rgb_underglow_tick_handler, NULL); +#if IS_ENABLED(CONFIG_SETTINGS) +static void zmk_rgb_underglow_save_state_work() { + settings_save_one("rgb/underglow/state", &state, sizeof(state)); +} + +stat...
feat(underglow): Debounce state settings save
null
zmkfirmware/zmk
MIT License
C
@@ -253,6 +253,16 @@ impl TypedTransaction { let encoded = self.rlp(); keccak256(encoded).into() } + + /// Max cost of the transaction + pub fn max_cost(&self) -> Option<U256> { + let gas_limit = self.gas(); + let gas_price = self.gas_price(); + match (gas_limit, gas_price) { + (Some(gas_limit), Some(gas_price)) => Som...
feat(core/TypedTransaction): add helper for calculating max cost of tx
null
gakonst/ethers-rs
Apache License 2.0
Rust
mkdir ./node_modules chmod 777 ./node_modules -docker run --rm -v "$(pwd)":/app -w=/app node:12 sh -c "yarn install && yarn run build" +docker run --rm -v "$(pwd)":/app -w=/app node:14 sh -c "yarn install && yarn run build" if [ ! -d "./dist" ];then exit 1;
feat: upgrade node.js version
null
goodrain/rainbond-ui
Apache License 2.0
Shell
@@ -4,6 +4,7 @@ from six.moves import urllib from django import forms from django.contrib.admin.sites import site from django.contrib.admin.widgets import ForeignKeyRawIdWidget +from django.contrib.admin.templatetags.admin_static import static try: from django.urls import reverse except ImportError: @@ -25,11 +26,11 @@...
feat(ForeignKeySearchInput): wrap media files in static()
null
django-extensions/django-extensions
MIT License
Python
@@ -8,7 +8,9 @@ use crate::{ use bee_common::packable::Packable; use bee_message::Message; use regex::Regex; -use rumqttc::{AsyncClient as MqttClient, Event, EventLoop, Incoming, MqttOptions, QoS, SubscribeFilter}; +use rumqttc::{ + AsyncClient as MqttClient, Event, EventLoop, Incoming, MqttOptions, QoS, Request, Subsc...
feat(mqtt): automatically reconnect & resubscribe to topics
null
iotaledger/iota.rs
Apache License 2.0
Rust