diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -35,6 +35,7 @@ class Client extends Model * @var array */ protected $casts = [ + 'grant_types' => 'array', 'personal_access_client' => 'bool', 'password_client' => 'bool', 'revoked' => 'bool',
feat: add array cast for grant_types
null
laravel/passport
MIT License
PHP
@@ -66,7 +66,7 @@ function episodes_api($request) 'files' => \podlove_pwp5_files($episode, null), 'content' => apply_filters('the_content', $post->post_content), 'number' => $episode->number, - 'mnemonic' => $podcast->mnemonic.$episode->number + 'mnemonic' => $podcast->mnemonic.($episode->number < 100 ? '0' : '').($epi...
feat: add mnemnemonic prefix
null
podlove/podlove-publisher
MIT License
PHP
@@ -15,6 +15,7 @@ import pytest from utils import opr_test import megengine.amp as amp +import megengine.config as config import megengine.core.ops.builtin as builtin import megengine.core.tensor.dtype as dtype import megengine.functional as F @@ -1258,3 +1259,34 @@ def test_pixel_shuffle_symbolic(is_symbolic): np.test...
feat(mge): add functional test
null
megengine/megengine
Apache License 2.0
Python
@@ -136,13 +136,19 @@ namespace PeanutButter.TempDb.MySql } private void CreateInitialSchema() + { + var schema = Settings?.Options.DefaultSchema ?? "tempdb"; + SwitchToSchema(schema); + } + + public void SwitchToSchema(string schema) { using (var connection = CreateConnection()) using (var command = connection.CreateC...
feat: add ability to easily switch schemas on a tempdb
null
fluffynuts/peanutbutter
BSD 3-Clause New or Revised License
C#
@@ -13,11 +13,9 @@ import ( var RootCmd = &cobra.Command{ Use: "irma", Short: "IRMA toolkit", - Long: `IRMA toolkit`, + Long: "IRMA toolkit\nDocumentation: https://irma.app/docs", } -// Execute adds all child commands to the root command sets flags appropriately. -// This is called by main.main(). It only needs to happ...
feat: link to documentation in irma cli
null
privacybydesign/irmago
Apache License 2.0
Go
//! ```cargo //! [dependencies] +//! cargo_metadata = "0.15" //! serde = { version = "1.0", features = ["derive"] } //! serde_json = "1.0" //! walkdir = "*" @@ -12,63 +13,18 @@ extern crate core; extern crate serde; extern crate serde_json; extern crate walkdir; +extern crate cargo_metadata; -use std::collections::Hash...
feat: improve lumen build script output
null
lumen/lumen
Apache License 2.0
Rust
@@ -356,6 +356,10 @@ impl Persister for IngesterData { ); } + // Add the parquet file to the catalog. + // + // This has the effect of allowing the queriers to "discover" the + // parquet file by polling / querying the catalog. Backoff::new(&self.backoff_config) .retry_all_errors("add parquet file to catalog", || async...
feat: store per-partition persist markers
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -43,7 +43,10 @@ public class BlockchainClient: SolanaBlockchainClient { let blockhash = try await apiClient.getRecentBlockhash() transaction.recentBlockhash = blockhash + // if any signers, sign + if !signers.isEmpty { try transaction.sign(signers: signers) + } // return formed transaction return .init(transaction: ...
feat: make signing optional
null
p2p-org/solana-swift
MIT License
Swift
@@ -441,8 +441,10 @@ func (o *appDeployOpts) stackConfiguration(addonsURL string) (cloudformation.Sta } else { conf, err = stack.NewLoadBalancedWebApp(t, o.targetEnvironment.Name, o.targetEnvironment.Project, *rc) } + case *manifest.BackendApp: + conf, err = stack.NewBackendApp(t, o.targetEnvironment.Name, o.targetEnvi...
feat(cli): app deploy supports backend apps
null
aws/copilot-cli
Apache License 2.0
Go
@@ -6,22 +6,29 @@ import Touchable from "./Touchable"; import RadioButton from "./RadioButton"; import { GROUPS, COMPONENT_TYPES, FORM_TYPES } from "../core/component-types"; +import themeI from "../styles/DefaultTheme"; -function FieldRadioButton({ - onPress, - title, +interface Props { + onPress?: () => void; + title...
feat(fieldradiobutton): convert to typescript
null
draftbit/react-native-jigsaw
MIT License
TypeScript
@@ -120,7 +120,7 @@ class TokensFetchCommand extends Command $innerData = []; $innerDataString = ''; - $data = entries()->fetch($id, $options); + $data = entries()->fetch('tokens/' . $id, $options); if (count($data) > 0) { if (isset($options['collection']) && $options['collection'] == true) {
feat(console): typo fix for tokens fetch command
null
flextype/flextype
MIT License
PHP
+<?php + +use Flextype\Component\Filesystem\Filesystem; + +beforeEach(function() { + filesystem()->directory(PATH['project'] . '/entries')->create(); +}); + +afterEach(function (): void { + filesystem()->directory(PATH['project'] . '/entries')->delete(); +}); + +test('test PublishedByField', function () { + flextype('e...
feat(tests): add tests for entry SlugField
null
flextype/flextype
MIT License
PHP
package com.conveyal.r5.profile; +import com.conveyal.r5.analyst.fare.FareBounds; import com.conveyal.r5.analyst.fare.InRoutingFareCalculator; import java.util.Collection; @@ -18,27 +19,42 @@ public class FareDominatingList implements DominatingList { this.fareCalculator = fareCalculator; } - @Override - public boolean...
feat(fares): implement proper algorithm for non-greedy fare calculation
null
conveyal/r5
MIT License
Java
@@ -36,7 +36,8 @@ import org.springframework.web.bind.annotation.RestController; public class GraphQLController { public GraphQLController() { - + MetricUtils.get().counter(MetricRegistry.name(this.getClass(), "error")); + MetricUtils.get().counter(MetricRegistry.name(this.getClass(), "call")); } @Inject @@ -148,6 +149...
feat(monitoring): add graphql error and call metrics at startup time
null
linkedin/datahub
Apache License 2.0
Java
@@ -89,6 +89,7 @@ func createNodePoolsFromUpdateRequest(eksCluster *cluster.EKSCluster, requestedN NodeMinCount: nodePool.MinCount, NodeMaxCount: nodePool.MaxCount, Count: nodePool.Count, + NodeVolumeSize: nodePool.VolumeSize, Labels: nodePool.Labels, Delete: false, }) @@ -122,6 +123,7 @@ func createNodePoolsFromUpdate...
feat(EKSClusterUpdater.Update): added volume size
null
banzaicloud/pipeline
Apache License 2.0
Go
@@ -39,5 +39,27 @@ pub fn register(registry: &mut FunctionRegistry) { Ok(()) }, ); + registry.register_with_writer_1_arg::<StringType, StringType, _, _>( + "lower", + FunctionProperty::default(), + |_| None, + |val, writer| { + for (start, end, ch) in val.char_indices() { + if ch == '\u{FFFD}' { + // If char is invalid...
feat(new-functions): migrate lower() to new expression framework
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -63,5 +63,5 @@ export default async (req, res) => { await ViewerManager.hydratePartial(id, { viewer: true }); - return res.status(200).send({ decorator: "SERVER_CREATE_VIEW_SUCCESS" }); + return res.status(200).send({ decorator: "SERVER_CREATE_VIEW_SUCCESS", data: response }); };
feat(View): return created view in the response
null
filecoin-project/slate
MIT License
JavaScript
@@ -14,24 +14,37 @@ class FeedPusher public function init() { + add_action('admin_footer', function () { + if (get_option('podlove_plus_push_feeds')) { + $this->push_all_feeds(); + } + }); + # push all feeds to PLUS whenever any feed changes - # fixme: podcast change is not triggered here because the settings page just...
feat: push show feeds
null
podlove/podlove-publisher
MIT License
PHP
@@ -145,7 +145,7 @@ export function decodeFilename(filename) { export async function getActiveTab() { const [tab] = await browser.tabs.query({ active: true, - lastFocusedWindow: true, // also gets incognito windows + windowId: -2, // chrome.windows.WINDOW_ID_CURRENT works when debugging the popup in devtools }); return...
feat: make getActiveTab work with devtools for popup
null
violentmonkey/violentmonkey
MIT License
JavaScript
@@ -28,6 +28,7 @@ import com.b2international.snowowl.core.ServiceProvider; import com.b2international.snowowl.core.codesystem.CodeSystemRequests; import com.b2international.snowowl.core.codesystem.CodeSystemSearchRequestBuilder; import com.b2international.snowowl.core.domain.Concepts; +import com.google.common.collect....
feat: support sorting/paging when filtering concepts by a single codesys
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -19,12 +19,14 @@ Help: ``python -m src.foremast.app -h`` """ import argparse import logging +import pathlib import gogoutils -from ..args import add_app, add_debug +from ..args import add_app, add_debug, add_properties from ..consts import APP_FORMATS, LOGGING_FORMAT -from .create_app import SpinnakerApp +from ..plu...
feat: Convert app entry point to work with plugin
null
foremast/foremast
Apache License 2.0
Python
+use std::path::PathBuf; + +use ockam_vault::{error::*, software::DefaultVault, types::*, Vault}; + +use zeroize::Zeroize; + +pub struct FilesystemVault { + v: DefaultVault, + path: PathBuf, +} + +impl FilesystemVault { + pub fn new(path: PathBuf) -> std::io::Result<Self> { + let create_path = path.clone(); + std::fs::...
feat(rust): add filesystem vault implementation for ockamd
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -39,6 +39,9 @@ extensions = [ 'sphinx.ext.autosectionlabel', ] +# Remove packages dependent on C when building readthedocs +autodoc_mock_imports = ['numba'] + # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates']
feat(docs): update conf.py
null
rlberry-py/rlberry
MIT License
Python
@@ -12,6 +12,33 @@ use x86_64::VirtAddr; #[allow(clippy::integer_arithmetic)] const SHIM_OFFSET: u64 = 1u64 + SHIM_VIRT_OFFSET + MAX_SETUP_SIZE as u64; +/// Debug helper function for the early boot +/// +/// # Safety +/// +/// This function causes a triple fault! +#[inline(never)] +pub unsafe fn _enarx_asm_triple_debug...
feat(shim-sev): add debug function
null
enarx/enarx
Apache License 2.0
Rust
#include <utils/Android/JniEnv.h> #include <utils/Android/JniException.h> #include <utils/ffmpeg_utils.h> +#include <utils/globalSettings.h> #include <utils/timer.h> @@ -154,9 +155,10 @@ int AudioTrackRender::init_jni() } constructor_id = handle->GetMethodID(audio_track_impl, "<init>", "(IIIIII)V"); - AndroidJniHandle<...
feat(android): add audio streamtype global settings
null
alibaba/cicadaplayer
MIT License
C++
@@ -13,6 +13,9 @@ interface UserDao { @Delete suspend fun delete(user: UserModel) + @Query("delete from usermodel where service == :service") + suspend fun delete(service: Service) + @Query("select * from usermodel where service == :service") suspend fun get(service: Service): UserModel?
feat: add method to delete the user based on service
null
chesire/nekome
Apache License 2.0
Kotlin
@@ -53,4 +53,20 @@ final class HigherOrderMessageCollection $message->call($target); } } + + /** + * Count the number of messages with the given name. + * + * @param string $name A higher order message name (usually a method name) + */ + public function count(string $name): int + { + return array_reduce( + $this->messa...
feat: add count method for checking message type presence
null
pestphp/pest
MIT License
PHP
@@ -82,6 +82,7 @@ module Inaturalist allow do origins '*' resource '/oauth/token', :headers => :any, :methods => [:post] + resource '/oauth/revoke', :headers => :any, :methods => [:post] resource '/users/api_token', :headers => :any, :methods => [:get] end end
feat: support CORS for the /oauth/revoke endpoint
null
inaturalist/inaturalist
MIT License
Ruby
@@ -58,7 +58,6 @@ public abstract class NetworkTransformBase : NetworkBehaviour [Tooltip("Set to true if position should be interpolated, false is ideal for grid bassed movement")] public bool interpolatePosition = true; - [Header("Synchronization")] // It should be very rare cases that people want to continuously sync...
feat: sync scale and interpolation adjustments
null
vis2k/mirror
MIT License
C#
@@ -8,6 +8,7 @@ import 'package:kraken/bridge.dart'; import 'package:kraken/dom.dart'; import 'package:kraken/kraken.dart'; import 'package:kraken/module.dart'; +import 'package:flutter/rendering.dart'; const String ANCHOR = 'A'; @@ -22,8 +23,9 @@ class AnchorElement extends Element { addEvent(EVENT_CLICK); } - void di...
feat: modify a handleMouseClick
null
openkraken/kraken
Apache License 2.0
Dart
@@ -156,7 +156,7 @@ func scanRun(opts *pkg.ScanOptions) error { supplierLibrary := resource.NewSupplierLibrary() iacProgress := globaloutput.NewProgress("Scanning states", "Scanned states", true) - scanProgress := globaloutput.NewProgress("Scanning resources", "Scanned resources", true) + scanProgress := globaloutput.N...
feat: disable count in scan progress bar
null
cloudskiff/driftctl
Apache License 2.0
Go
@@ -42,6 +42,9 @@ export default { readonly: this.readonly || this.plaintext, placeholder: this.placeholder, autocomplete: this.autocomplete || null, + step: this.step || null, + min: this.min || null, + max: this.max || null, 'aria-required': this.required ? 'true' : null, 'aria-invalid': this.computedAriaInvalid }, @...
feat(form-input): add step, min and max props for use with number type
null
bootstrap-vue/bootstrap-vue
MIT License
JavaScript
@@ -564,7 +564,7 @@ impl Default for ReplayPlanner { } /// Plan that contains all necessary information to orchastrate a replay. -#[derive(Debug)] +#[derive(Clone, Debug)] pub struct ReplayPlan { /// Replay range (inclusive minimum sequence number, inclusive maximum sequence number) for every sequencer. ///
feat: impl `Clone` for `ReplayPlan`
null
influxdata/influxdb_iox
Apache License 2.0
Rust
package pterm import ( + "strconv" "strings" "github.com/mattn/go-runewidth" @@ -12,6 +13,7 @@ import ( type BarChartPrinter struct { Bars Bars Horizontal bool + ShowValue bool // Height sets the maximum height of a vertical bar chart. // The default is calculated to fit into the terminal. // Ignored if Horizontal is s...
feat: add values to chart
null
pterm/pterm
MIT License
Go
@@ -53,7 +53,8 @@ const init: MethodCreator<Props, ConnectorState> = dispatch => () => dispatch.call(setStateText, 'Fetching File List...') const githubSubModuleURLRegex = { - HTTP: /^https:\/\/github.com\/.*?\/.*?\.git$/, + HTTP: /^https?:\/\/.*?$/, + HTTPGit: /^https:\/\/github.com\/.*?\/.*?\.git$/, git: /^git@github...
feat: resolve http git submodule link
null
enixcoda/gitako
MIT License
TypeScript
@@ -67,13 +67,14 @@ public final class OyIndexed implements Objectionary { return this.delegate.get(name); } + // @checkstyle IllegalCatchCheck (6 line) + @SuppressWarnings("PMD.AvoidCatchingGenericException") @Override public boolean contains(final String name) throws IOException { boolean result; try { result = this....
feat(#1716): move suppresss messages
null
cqfn/eo
MIT License
Java
@@ -92,6 +92,36 @@ void run( } } // namespace create_channel +namespace get_guild_member { +void +run(client *client, u64_snowflake_t guild_id, u64_snowflake_t user_id, member::dati **p_member) +{ + if (!guild_id) { + D_PUTS("Missing 'guild_id'"); + return; + } + if (!user_id) { + D_PUTS("Missing 'user_id'"); + return;...
feat: add get_guild_member
null
cee-studio/orca
MIT License
C++
@@ -8,7 +8,7 @@ namespace Avalonia.Media /// <summary> /// Defines a geometric shape. /// </summary> - [TypeConverter(typeof(GeometryConverter))] + [TypeConverter(typeof(GeometryTypeConverter))] public abstract class Geometry : AvaloniaObject { /// <summary> @@ -203,7 +203,7 @@ public static Geometry Combine(Geometry g...
feat: add UT for GeometryTypeConverter
null
avaloniaui/avalonia
MIT License
C#
@@ -673,15 +673,20 @@ export function actionsMapPricesCustom(diff, oldObj, newObj, variantHashMap) { price.custom && (REGEX_UNDERSCORE_NUMBER.test(index) || REGEX_NUMBER.test(index)) ) { - const a = actionsMapCustom(price, newPrice, oldPrice, { + const generatedActions = actionsMapCustom( + price, + newPrice, + oldPric...
feat(sync-actions): better var naming
null
commercetools/nodejs
MIT License
JavaScript
@@ -19,6 +19,7 @@ class GatheringPoint extends ManualHelper // append GatheringPointTransient $GatheringPoint = Redis::Cache()->get($key); $GatheringPoint->GatheringPointTransient = Redis::Cache()->get("xiv_GatheringPointTransient_{$id}"); + $GatheringPoint->ExportedGatheringPoint = Redis::Cache()->get("xiv_ExportedGat...
feat: add ExportedGatheringPoint link to GatheringPoint
null
xivapi/xivapi.com
MIT License
PHP
@@ -65,6 +65,10 @@ type Props = React.ComponentProps<typeof Surface> & { * Function to execute on press. */ onPress?: () => void; + /** + * Function to execute on long press. + */ + onLongPress?: () => void; /** * Style of button's inner content. * Use this prop to apply custom height and width. @@ -129,6 +133,7 @@ con...
feat: Add OnLongPress prop to Button component
null
callstack/react-native-paper
MIT License
TypeScript
@@ -81,6 +81,18 @@ const STYLES_PROFILE_IMAGE = css` width: 24px; margin-right: 16px; border-radius: 4px; + position: relative; +`; + +const STYLES_STATUS_INDICATOR = css` + position: absolute; + bottom: 0; + right: 0; + width: 7px; + height: 7px; + border-radius: 50%; + border: 2px solid ${Constants.system.gray50}; + ...
feat: add status indicator to directory page
null
filecoin-project/slate
MIT License
JavaScript
@@ -14,7 +14,10 @@ use data_types::{ }; use generated_types::influxdata::transfer::column::v1 as pb; use influxdb_line_protocol::{FieldValue, ParsedLine}; -use internal_types::schema::{IOxValueType, InfluxColumnType, InfluxFieldType, TIME_COLUMN_NAME}; +use internal_types::schema::{ + builder::{Error as SchemaBuilderEr...
feat: add TableBatch -> Schema conversion
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -92,18 +92,33 @@ export abstract class Cube { async openCustom() { // TODO: Replace this with `this`? const thisInPlayer = player[this.key] as Cube; - const amount = await Prompt(`How many cubes would you like to open? You have ${thisInPlayer.value.toLocaleString()}!`); + const amount = await Prompt( + `How many cub...
feat: allow opening a percentage of cubes
null
pseudo-corp/synergismofficial
MIT License
TypeScript
@@ -8,9 +8,9 @@ test('test getInstance() method', function() { $this->assertInstanceOf(Actions::class, Actions::getInstance()); }); -test('test registry() helper', function() { - $this->assertEquals(Actions::getInstance(), registry()); - $this->assertInstanceOf(Actions::class, registry()); +test('test actions() helper'...
feat(tests): update tests for Actions
null
flextype/flextype
MIT License
PHP
@@ -200,7 +200,7 @@ if (! function_exists('getUriString')) { */ function getUriString(): string { - return $_SERVER['REQUEST_URI']; + return $_SERVER['REQUEST_URI'] ?? ''; } }
feat(helpers): update `getUriString` helper
null
flextype/flextype
MIT License
PHP
+import 'package:fehviewer/common/service/ehconfig_service.dart'; import 'package:fehviewer/common/service/theme_service.dart'; import 'package:fehviewer/generated/l10n.dart'; +import 'package:fehviewer/pages/setting/setting_base.dart'; import 'package:flutter/cupertino.dart'; import 'package:get/get.dart'; import 'pac...
feat: my settings page, items
null
honjow/fehviewer
Apache License 2.0
Dart
@@ -20,6 +20,10 @@ use Thunder\Shortcode\Shortcode\ShortcodeInterface; // Shortcode: [php] php code here [/php] parsers()->shortcodes()->addHandler('php', static function (ShortcodeInterface $s) { + if (! registry()->get('flextype.settings.parsers.shortcodes.shortcodes.php.enabled')) { + return ''; + } + ob_start(); ev...
feat(shortcodes): upd `php` shortcode
null
flextype/flextype
MIT License
PHP
@@ -147,6 +147,10 @@ class BaseDriver(metaclass=DriverType): """Get the current (typed) request, shortcut to ``self.pea.request``""" return self.pea.request + @property + def request_type(self) -> str: + return self.req.__class__.__name__ + @property def msg(self) -> 'jina_pb2.Message': """Get the current request, shor...
feat: add adjacency range
null
jina-ai/jina
Apache License 2.0
Python
-<button - {{ $attributes->merge(['type' => 'button']) }} - wire:loading.attr="disabled"> +<button {{ $attributes->merge([ + 'type' => 'button', + 'wire:loading.attr' => 'disabled', +]) }}> @if ($icon) <x-dynamic-component :component="WireUiComponent::resolve('icon')"
feat: merge all button attributes
null
wireui/wireui
MIT License
PHP
@@ -10,9 +10,9 @@ export interface DropdownOpts<T> { value: Fn<T, string>; } -export const dynamicDropdown = <T = string>( +export const dynamicDropdown = <T = string, S extends string = string>( items: ISubscribable<T[]>, - sel: Subscription<string, string>, + sel: Subscription<S, S>, opts?: Partial<DropdownOpts<T>> )...
feat(rdom-components): update dropdown generics
null
thi-ng/umbrella
Apache License 2.0
TypeScript
@@ -25,7 +25,6 @@ const { settingsPageElements, advancedPageElements, resetAccountModalElements, - networksPageElements, addNetworkPageElements, } = require('../pages/metamask/settings-page'); const { @@ -161,6 +160,15 @@ module.exports = { ) { await playwright.waitAndClick(mainPageElements.tippyTooltip.closeButton); }...
feat: update metamask commands with latest po's
null
synthetixio/synpress
MIT License
JavaScript
@@ -1070,11 +1070,11 @@ static void gen_to_json(FILE *fp, struct jc_struct *s) if (act.is_user_def) if (act.need_double_quotes) - fprintf(fp, " \"(%s):|F|,\"\n", act.c_name); + fprintf(fp, " \"(%s):|F|,\"\n", f->name); else - fprintf(fp, " \"(%s):F,\"\n", act.c_name); + fprintf(fp, " \"(%s):F,\"\n", f->name); else - fp...
feat: fix the injected field names which shoud be json name not C name
null
cee-studio/orca
MIT License
C
/* - * (C) Copyright IBM Corp. 2019, 2021. + * (C) Copyright IBM Corp. 2021. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at @@ -70,6 +70,10 @@ public class RuntimeResponseGeneric extends Gener...
feat(assistant-v2): add altText property to RuntimeResponseGeneric
null
watson-developer-cloud/java-sdk
Apache License 2.0
Java
@@ -86,6 +86,16 @@ func TestConfigDB_GetCreationDate(t *testing.T) { } } +func TestConfigDB_GetSchemaVersion(t *testing.T) { + sv, err := testDB.config.GetSchemaVersion() + if err != nil { + t.Error(err) + } + if sv != schemaVersion { + t.Error("schema version mismatch") + } +} + func TestInterface(t *testing.T) { if t...
feat(datastore): add schema version test
null
textileio/go-textile
MIT License
Go
@@ -61,6 +61,37 @@ class V12 extends Filter case Response::MODEL_USAGE_STORAGE: $parsedResponse = $this->parseUsageStorage($content); break; + + case Response::MODEL_TEAM: + $parsedResponse = $this->parseTeam($content); + break; + case Response::MODEL_TEAM_LIST: + $parsedResponse = $this->parseTeamList($content); + bre...
feat: add missing response models for sum->lists
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
@@ -42,8 +42,8 @@ class SeekbarView: UIView { } var videoDuration: CGFloat = 0 - var isSeeking = false - var previousSeekbarWidth: CGFloat = 0 + private(set) var isSeeking = false + private(set) var previousSeekbarWidth: CGFloat = 0 weak var delegate: SeekbarDelegate?
feat: make some seekbarview properties setters private
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -3,19 +3,27 @@ import { Link as MuiLink } from '@mui/material'; interface LinkProps extends ComponentProps<typeof MuiLink> { opensInNewTab?: boolean; + underlinesOnHover?: boolean; } const Link = (props: LinkProps): JSX.Element => { - const { opensInNewTab, ...linkProps } = props; + const { + opensInNewTab, + underl...
feat(link): support underline only on hover
null
coursemology/coursemology2
MIT License
TypeScript
import sys import os import errno -import collections from importlib import import_module import numpy as np from pyannote.core import Segment @@ -69,9 +68,9 @@ def to_numpy(current_file, precomputed, labels=None): Parameters ---------- current_file : dict - precomputed : Precomputed or SlidingWindowFeature - Precomput...
feat: add support for any FeatureExtraction in "to_numpy"
null
pyannote/pyannote-audio
MIT License
Python
@@ -552,10 +552,9 @@ namespace acl { for (uint32_t entry_index = 0, track_index = 0; entry_index <= last_entry_index; ++entry_index) { - uint32_t packed_entry = rotation_sub_track_types[entry_index].types; - // Mask out everything but constant sub-tracks, this way we can early out when we iterate - packed_entry &= 0x55...
feat(decompression): use and_not to use a single instruction with BMI instead of two
null
nfrechette/acl
MIT License
C
@@ -11,56 +11,10 @@ afterEach(() => { sinon.restore(); }); -describe('RelyingPartyCtx', () => { - xdescribe('mergeConfig', () => {}); - describe('getEndpoing', () => { - let rpCtx = null; - beforeEach(() => { - rpCtx = new RelyingPartyCtx({}); - }); - it('return an absolute endpoint using root endpoint', () => { - sino...
feat(rp-endpoints): fix tests
null
selfkeyfoundation/identity-wallet
MIT License
JavaScript
@@ -27,20 +27,20 @@ namespace utils { #define ADD_POINT(tracer) \ do { \ - if (tracer != nullptr && (tracer)->enabled()) \ + if (dsn_unlikely(tracer != nullptr && (tracer)->enabled())) \ (tracer)->add_point(fmt::format("{}:{}:{}", __FILENAME__, __LINE__, __FUNCTION__)); \ } while (0) #define ADD_CUSTOM_POINT(tracer, me...
feat: add dsn_unlikely in macro ADD_POINT
null
apache/incubator-pegasus
Apache License 2.0
C
@@ -3,6 +3,7 @@ package io.clappr.player import android.app.Fragment import android.content.Context import android.os.Bundle +import android.view.KeyEvent import android.view.LayoutInflater import android.view.View import android.view.ViewGroup @@ -12,6 +13,8 @@ import io.clappr.player.components.Playback import io.cla...
feat: hold key events from player outside
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
@@ -11,15 +11,17 @@ const Ediscovery = SparkPlugin.extend({ namespace: 'Ediscovery', @waitForValue('@') - createReport(userIds, keywords, spaceNames, spaceIds, range) { + createReport(user, keywords, spaceNames, spaceIds, range) { + const self = this; + this.spark.internal.user.asUUID(user).then((uuids) => { const body...
feat(ediscovery): converting email addresses to uuids
null
webex/webex-js-sdk
MIT License
JavaScript
@@ -20,7 +20,7 @@ import json import click import shutil -from .output import print_output +from .output import print_output, OutputFormat @click.group() @@ -41,7 +41,11 @@ def list(ctx, experiment_id, max_size): if response and response.runs: _print_runs(response.runs, output_format) else: - print('No runs found.') + ...
feat(sdk): Fix print message for run submission with respect to output format
null
kubeflow/pipelines
Apache License 2.0
Python
@@ -101,7 +101,7 @@ async fn load_remote_system_tables( connection: Connection, ) -> Result<()> { // all prefixed with "system." - let table_names = vec!["chunks", "columns", "operations"]; + let table_names = vec!["chunks", "chunk_columns", "columns", "operations"]; let start = Instant::now();
feat: Include system.chunk_columns` in the tables that are scraped
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -407,8 +407,6 @@ class CSSLengthValue { String toString() => 'CSSLengthValue(value: $value, unit: $type, computedValue: $computedValue)'; } -final LinkedLruHashMap<String, CSSLengthValue> _cachedParsedLength = LinkedLruHashMap(maximumSize: 500); - // Cache computed length value during perform layout. // format: { ha...
feat: remove parsedLength cache
null
openkraken/kraken
Apache License 2.0
Dart
@@ -4,6 +4,7 @@ enum class LogChannelType(val text: String = this.toString(), val parentNodes: A //Punishments PERMANENT_BAN("PermanentBan", arrayOf("punishment", "punishments", "ban", "permban", "pblc")), + MASS_BAN("MassBan", arrayOf("punishment", "punishments", "ban", "massban", "mblc")), TEMP_BAN("TemporaryBan", ar...
feat: massban logchannel
null
toxicmushroom/melijn
MIT License
Kotlin
@@ -79,7 +79,8 @@ public static class IServiceCollectionExtensions //.Replace(ServiceDescriptor.Scoped<CommandResponder>(s => s.GetRequiredService<SilkCommandResponder>())); services.AddParser<EmojiParser>() - .AddParser<MessageParser>(); + .AddParser<MessageParser>() + .AddParser<UriParser>(); services.AddPostExecutio...
feat: Emoji info (user is kinda bugged)
null
vtpdevelopment/silk
Apache License 2.0
C#
@@ -20,7 +20,7 @@ from frappe.query_builder.functions import Count from frappe.query_builder.functions import Min, Max, Avg, Sum from frappe.query_builder.utils import Column from .query import Query -from pypika.terms import PseudoColumn +from pypika.terms import Criterion, PseudoColumn class Database(object): @@ -543...
feat: Added support for Criterion objects as fieldnames
null
frappe/frappe
MIT License
Python
@@ -2,11 +2,13 @@ package io.clappr.player.playback import android.graphics.Color import android.net.Uri +import android.os.Build import android.os.Bundle import android.os.Handler +import android.support.annotation.RequiresApi +import android.view.View import com.google.android.exoplayer2.* -import com.google.android....
feat(drm_exoplayer): add drm support on Exoplayer
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
@@ -4330,14 +4330,20 @@ EnableNCHW64Pass::make_nchw64_converter() { bool check_dtype = new_inp[0]->dtype().enumv() == DTypeEnum::QuantizedS8 && new_inp[1]->dtype().enumv() == DTypeEnum::QuantizedS8; - if (opr->input().size() >= 3) - check_dtype &= - new_inp[2]->dtype().enumv() == DTypeEnum::QuantizedS32; - if (opr->inp...
feat(gopt/inference): allow Float32 output dtype in EnableNCHW64Pass
null
megengine/megengine
Apache License 2.0
C++
@@ -354,6 +354,11 @@ public struct TokenAccountBalance: Codable, Equatable, Hashable { public struct TokenAccount<T: BufferLayout>: Decodable, Equatable { public let pubkey: String public let account: BufferInfo<T> + + public init(pubkey: String, account: BufferInfo<T>) { + self.pubkey = pubkey + self.account = account...
feat: add init to TokenAccount
null
p2p-org/solana-swift
MIT License
Swift
package org.gluu.oxauth.authorize.ws.rs; +import static org.gluu.oxauth.service.DeviceAuthorizationService.SESSION_USER_CODE; + +import java.io.IOException; +import java.io.UnsupportedEncodingException; +import java.net.URI; +import java.net.URLEncoder; +import java.util.ArrayList; +import java.util.Arrays; +import jav...
feat: use headers list to determine remote IP
null
gluufederation/oxauth
MIT License
Java
@@ -18,8 +18,12 @@ class IDInfoCommand : AbstractCommand("command.idinfo") { override suspend fun execute(context: ICommandContext) { val id = getLongFromArgNMessage(context, 0, 0) ?: return - val sentTime = (id shr 22) + 1420070400000 + val sentTime = snowflakeToEpochMillis(id) sendRsp(context, "Snowflake created at `...
feat: fancy util method to convert id to epochmillis
null
toxicmushroom/melijn
MIT License
Kotlin
@@ -156,13 +156,16 @@ Status DBMetaImpl::add_group_file(GroupFileSchema& group_file) { group_file.file_id = ss.str(); group_file.dimension = group_info.dimension; GetGroupFilePath(group_file); - try { + + auto commited = ConnectorPtr->transaction([&] () mutable { auto id = ConnectorPtr->insert(group_file); - std::cout ...
feat(db): fix insert bug
null
milvus-io/milvus
Apache License 2.0
C++
//! A metric instrumentation wrapper over [`ObjectStoreApi`] implementations. use std::{ + marker::PhantomData, pin::Pin, task::{Context, Poll}, }; @@ -245,20 +246,33 @@ where &'a self, prefix: Option<&'a Self::Path>, ) -> Result<BoxStream<'a, Result<Vec<Self::Path>, Self::Error>>, Self::Error> { - let t = self.time_pr...
feat(catalog): instrument list() ops
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -32,6 +32,10 @@ pub fn open_file(path: &Path) { unsafe { host_open_file() }; } +pub fn set_max_height(max_height: i32) { + unsafe { host_set_max_height(max_height) }; +} + pub fn set_selectable(selectable: bool) { let selectable = if selectable { 1 } else { 0 }; unsafe { host_set_selectable(selectable) }; @@ -51,6 +...
feat(api): set max height
null
zellij-org/zellij
MIT License
Rust
@@ -17,17 +17,20 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; /*** - * Parse an HTML file and remove blocks between <code>&lt;!-- BEGIN keyword1 keyword2 --&gt;</code> and <code>&lt;!-- END --&gt;</code> - * Must contain a block <code>&lt;!-- LEAGUES level1 level2 level3 level4 --&gt;</code><br> +...
feat(sdk): Display what's difference from one league to another automatically
null
codingame/codingame-game-engine
MIT License
Java
@@ -4,6 +4,8 @@ import { watchWithFilter } from '../watchWithFilter' export interface ThrottledWatchOptions<Immediate> extends WatchOptions<Immediate> { throttle?: MaybeRef<number> + trailing?: boolean + leading?: boolean } // overloads @@ -15,11 +17,12 @@ export function throttledWatch<T extends object, Immediate exte...
feat(throttledWatch): add `leading` option
null
vueuse/vueuse
MIT License
TypeScript
@@ -4,7 +4,9 @@ package main import ( "flag" "fmt" + "io" "io/ioutil" + "os" "github.com/gotd/td/bin" "github.com/gotd/td/internal/mt" @@ -13,14 +15,21 @@ import ( ) func main() { - // TODO: Streaming mode. + inputName := flag.String("f", "", "input file (blank for stdin)") flag.Parse() - name := flag.Arg(0) - if name ...
feat(mtprint): allow reading from stdin
null
gotd/td
MIT License
Go
@@ -222,7 +222,7 @@ def print_audit_credentials(audit_info: AWS_Audit_Info): report = f""" This report is being generated using credentials below: -AWS-CLI Profile: {Fore.YELLOW}[{profile}]{Style.RESET_ALL} AWS API Region: {Fore.YELLOW}[{audit_info.profile_region}]{Style.RESET_ALL} AWS Filter Region: {Fore.YELLOW}[{reg...
feat(api_banner): remove API region from banner
null
toniblyx/prowler
Apache License 2.0
Python
@@ -95,7 +95,7 @@ on_success_cb( int httpcode, struct ua_conn *conn) { - DS_NOTOP_PRINT("(%d)%s - %s", + log_trace("(%d)%s - %s", httpcode, http_code_print(httpcode), http_reason_print(httpcode)); @@ -111,7 +111,7 @@ on_failure_cb( { struct _ratelimit_cxt *cxt = p_cxt; - NOTOP_PRINT("(%d)%s - %s", + log_warn("(%d)%s - ...
feat: use runtime logging to replace compile time switchable logging
null
cee-studio/orca
MIT License
C
@@ -437,6 +437,23 @@ public abstract class VaadinWebSecurity { return requestUtil.applyUrlMapping(path); } + /** + * Vaadin views access checker bean. + * <p> + * This getter can be used in implementing class to override logic of + * <code>VaadinWebSecurity.setLoginView</code> methods and call + * {@link ViewAccessChec...
feat: Give an access to ViewAccessChecker in subclasses
null
vaadin/flow
Apache License 2.0
Java
@@ -7,8 +7,8 @@ const theme = tokens => { const colors = { ...tokens.colors, - primary: tokens.colors.stamina, - secondary: tokens.colors.vibin, + primary: tokens.colors.vibin, + secondary: tokens.colors.stamina, feedback: { success: [tokens.colors.success, tokens.colors.hope], informative: [tokens.colors.neutral, toke...
feat(yoga): change primary and secondary theme colors
null
gympass/yoga
MIT License
JavaScript
@@ -121,7 +121,7 @@ const dev = { }, matomoSite: 2, ledgerAddress: '0x24512422cf6ad1c0c465cbf0bbd5155eaa3da634', - paymentSplitterAddress: '' + paymentSplitterAddress: '0xb91FF8627f30494d27b91Aac1cB3c7465BE58fF5' }; const prod = { @@ -139,7 +139,7 @@ const prod = { }, matomoSite: 1, ledgerAddress: '0x0cb853331293d689c9...
feat(payment): add addresses
null
selfkeyfoundation/identity-wallet
MIT License
JavaScript
@@ -19,6 +19,7 @@ package immuadmin import ( "fmt" "strings" + "time" c "github.com/codenotary/immudb/cmd/helper" "github.com/codenotary/immudb/embedded/store" @@ -40,6 +41,8 @@ func addDbUpdateFlags(c *cobra.Command) { c.Flags().String("replication-follower-password", "", "set password used for replication") c.Flags()...
feat(cmd/immuadmin): expose syncFrequency and WriteBufferSize db parameters
null
codenotary/immudb
Apache License 2.0
Go
@@ -230,14 +230,39 @@ class LabelingTaskGenerator(object): uri = get_unique_identifier(current_file) self.data_[uri]['y'] = self.initialize_y(current_file) + @property + def signature(self): + signature = {'X': {'@': (None, np.stack)}, + 'y': {'@': (None, np.stack)}} + + for key in self.file_labels_: + signature[key] =...
feat: add file-level labels (e.g. database) to base labeling generator
null
pyannote/pyannote-audio
MIT License
Python
@@ -7,9 +7,10 @@ import { Definition, SchemaDgraph } from 'unigraph-dev-common/lib/types/json-ts' import { KeyboardDateTimePicker } from "@material-ui/pickers"; import { getRandomInt } from 'unigraph-dev-common/lib/api/unigraph'; import { ReferenceableSelectorControlled } from './ReferenceableSelector'; -import { Delet...
feat: iniital support for object editor metadata
null
unigraph-dev/unigraph-dev
MIT License
TypeScript
@@ -84,7 +84,17 @@ export default class CoreToggle extends HTMLElement { } // aria-haspopup triggers forms mode in JAWS, therefore store as custom attr - get popup () { return this.getAttribute('popup') === 'true' || this.getAttribute('popup') || this.hasAttribute('popup') } + get popup () { + const hasOldPopup = this....
feat: Add data- prefix to popup attribute to avoid conflict with OpenUI pop-up API
null
nrkno/core-components
MIT License
JavaScript
import { ChainId } from '@sushiswap/chain' import { isPromiseFulfilled } from '@sushiswap/validate' import { otherChains } from '@sushiswap/wagmi-config' -import { Address, allChains, configureChains, createClient, erc20ABI, readContract } from '@wagmi/core' +import { Address, allChains, configureChains, createClient, ...
feat(pkg/graph-client): read balances with readContracts
null
sushiswap/sushiswap
MIT License
TypeScript
<div class="alert alert-danger" role="alert"> <?php if (is_array(session('errors'))) : ?> <?php foreach (session('errors') as $error) : ?> - <?= $error ?> + <?= $error . '<br>' ?> <?php endforeach ?> <?php else : ?> <?= session('errors') ?>
feat: readable form errors if there are multiple errors
null
codeigniter4/shield
MIT License
PHP
@@ -161,6 +161,14 @@ error_code replica::initialize_on_load() return nullptr; } + if (info.partition_count < pidx) { + derror_f("partition[{}], count={}, this replica may be partition split garbage partition, " + "ignore it", + pid, + info.partition_count); + return nullptr; + } + replica *rep = new replica(stub, pid, ...
feat(split): ignore split garbage partition while load replicas
null
apache/incubator-pegasus
Apache License 2.0
C++
@@ -63,11 +63,9 @@ open class Query : AbstractQuery { /// - `prefixNone`: no query word is interpreted as a prefix. This option is not recommended. public var queryType: QueryType? { get { - if let value = self["queryType"] { + guard let value = self["queryType"] else { return nil } + return QueryType(rawValue: value) ...
feat(sortFacetValuesBy): refactor to use guard instead of if
null
algolia/algoliasearch-client-swift
MIT License
Swift
@@ -63,10 +63,10 @@ final class OptimizeMojoTest { "+package f", "[args] > main", " (stdout \"Hello!\").print > @" - ).execute(ParseMojo.class) + ) + .execute(ParseMojo.class) .execute(OptimizeMojo.class); - final Map<String, Path> result = maven.result(); - final Path path = result.get( + final Path path = maven.resul...
feat(#1494): refactor optimizesIfExpired
null
cqfn/eo
MIT License
Java
@@ -69,6 +69,7 @@ import com.b2international.index.query.SortBy.MultiSortBy; import com.b2international.index.query.SortBy.SortByField; import com.b2international.index.query.SortBy.SortByScript; import com.fasterxml.jackson.databind.ObjectMapper; +import com.google.common.base.Stopwatch; import com.google.common.base....
feat(index): add basic ES index query trace log
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -815,8 +815,8 @@ pub(crate) async fn make_user_admin( PduBuilder { event_type: EventType::RoomMessage, content: to_raw_value(&RoomMessageEventContent::text_html( - "## Thank you for trying out Conduit!\n\nConduit is currently in Beta. This means you can join and participate in most Matrix rooms, but not all features...
feat: add 'available' to the help command line in the welcome message
null
timokoesters/conduit
Apache License 2.0
Rust
@@ -20,8 +20,11 @@ package com.dtstack.flinkx.kingbase; import com.dtstack.flinkx.enums.EDatabaseType; import com.dtstack.flinkx.rdb.BaseDatabaseMeta; +import org.apache.commons.lang3.StringUtils; +import java.util.ArrayList; import java.util.List; +import java.util.Map; /** * The class of KingBase database prototype @...
feat: add update sql
null
dtstack/chunjun
Apache License 2.0
Java
@@ -351,11 +351,7 @@ trait Auditable */ public function getAuditableEvents(): array { - if (isset($this->auditableEvents)) { - return $this->auditableEvents; - } - - return [ + return $this->auditableEvents ?? [ 'created', 'updated', 'deleted', @@ -382,7 +378,7 @@ trait Auditable */ public function getAuditInclude(): a...
feat(Auditable): use the null coalescing operator
null
owen-it/laravel-auditing
MIT License
PHP
@@ -18,22 +18,22 @@ namespace Flextype\Parsers\Shortcodes; use Thunder\Shortcode\Shortcode\ShortcodeInterface; -// Shortcode: [filesystem] +// Shortcode: filesystem +// Usage: (filesystem get file:'1.txt) parsers()->shortcodes()->addHandler('filesystem', static function (ShortcodeInterface $s) { if (! registry()->get('...
feat(shortcodes): update `filesystem` shortcode
null
flextype/flextype
MIT License
PHP