diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -10,7 +10,7 @@ use std::convert::TryFrom; target_os = "android", all(target_os = "linux", not(target_env = "uclibc")), ))] -use std::os::unix::io::RawFd; +use std::os::unix::io::{AsRawFd, BorrowedFd}; libc_bitflags!( /// Controls the behavior of [`waitpid`]. @@ -343,8 +343,8 @@ pub fn wait() -> Result<WaitStatus> { ...
feat: I/O safety for 'sys/wait'
null
nix-rust/nix
MIT License
Rust
@@ -189,6 +189,15 @@ class DhtNode { ); void send_ping(NodeContact contact); + // http://bittorrent.org/beps/bep_0005.html#find-node + bool query_find_node( + NodeID target_id, + Contact node, + std::vector<NodeContact>& closer_nodes, + asio::yield_context yield, + Signal<void()>& cancel_signal + ); + bool is_v4() cons...
feat(bittorrent/dht): `public` `find_node`
null
equalitie/ouinet
MIT License
C
@@ -9,7 +9,7 @@ const self_scope = self.registration.scope; function installCache() { return caches.open(CACHE).then(function (cache) { - return cache.addAll([ + let requests = [ '/index.html', '/main.js', '/manifest.json', @@ -23,7 +23,8 @@ function installCache() { '/fa-regular-400.woff2', '/fa-brands-400.woff2', '/a...
feat: better serviceworker smooth update experience
null
aiursoftweb/kahla.app
MIT License
JavaScript
@@ -38,8 +38,7 @@ public interface TermFilterSupport<T> { T filterByTerm(final TermFilter termFilter); /** - * Filters results by matching exact terms, as entered (the comparison is case insensitive and folds non-ASCII characters to their closest - * equivalent). + * Filters results by matching exact terms, as entered....
feat: add exactTermIgnoreCase filter to TermSupport
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -27,6 +27,7 @@ Commands: Options: --help -h Display this message + --version Show version and exit Type 'brownie <command> --help' for specific options and more information about each command.""" @@ -36,6 +37,9 @@ def main(): print(f"Brownie v{__version__} - Python development framework for Ethereum\n") + if "--vers...
feat: add version flag
null
eth-brownie/brownie
MIT License
Python
import React, { useState } from 'react' +import Alert from '@reach/alert' import { Table, Th, Td } from '~components/common/table' import countiesTableStyle from './counties-table.module.scss' import { FormatNumber } from '~components/utils/format' +const sortDescription = { + largestRace1: 'Largest racial group', + la...
feat(a11y): Add alert for sort
null
covid19tracking/website
Apache License 2.0
JavaScript
@@ -21,6 +21,7 @@ const { encryptionPublicKeyPageElements, decryptPageElements, dataSignaturePageElements, + recipientPopupElements, } = require('../pages/metamask/notification-page'); const { settingsPageElements, @@ -828,7 +829,27 @@ module.exports = { } } } - // todo: handle setting of custom nonce here + log('[conf...
feat: return recipient address + network name
null
synthetixio/synpress
MIT License
JavaScript
@@ -5,4 +5,37 @@ class Course::Discussion::Post::CodaveriFeedback < ApplicationRecord validates :original_feedback, presence: true belongs_to :post, inverse_of: :codaveri_feedback + + after_commit :send_rating_to_codaveri + + private + + def send_rating_to_codaveri + return if !rating || status == :pending_review + + p...
feat(codaveri rating): send feedback rating to codaveri
null
coursemology/coursemology2
MIT License
Ruby
use crate::node::NodeOpts; use crate::util::{node_rpc, Rpc}; use crate::CommandGlobalOpts; +use crate::Result; use clap::Args; use ockam::Context; +use ockam_api::config::cli; use ockam_api::nodes::models::vault::CreateVaultRequest; use ockam_core::api::Request; +use ockam_vault::storage::FileStorage; +use ockam_vault:...
feat(rust): add option to create vaults wihout related nodes
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -81,4 +81,19 @@ pub mod note { /// Attributes Mask (u128) pub const ATTRMASK: u32 = 0x73677815; } + + /// SEV-SNP ELF Notes + pub mod snp { + /// SEV-SNP Policy flags (u64) + pub const POLICY: u32 = 0x73677822; + + /// SEV-SNP Family ID [u8; 16] + pub const FAMILY_ID: u32 = 0x73677823; + + /// SEV-SNP Image ID [u8; ...
feat(sallyport): add SEV-SNP keep notes
null
enarx/enarx
Apache License 2.0
Rust
+/* + * Copyright (c) AXA Shared Services Spain S.A. + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, m...
feat: Starting NLU Manager work
null
axa-group/nlp.js
MIT License
JavaScript
+import 'package:auto_size_text/auto_size_text.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/app_localizations.dart'; +import 'package:flutter_svg/flutter_svg.dart'; import 'package:provider/provider.dart'; import 'package:smooth_app/data_models/product_list.dart'; import 'package:...
feat: - added svg picture when no lists
null
openfoodfacts/smooth-app
Apache License 2.0
Dart
@@ -52,11 +52,13 @@ class StackedRNN(nn.Module): linear : list, optional List of hidden dimensions of linear layers. Defaults to [16, ], i.e. one linear layer with hidden dimension of 16. + logsoftmax : bool, optional + Defaults to True (i.e. apply log-softmax). """ def __init__(self, n_features, n_classes, rnn='LSTM',...
feat: add option to **not** use log-softmax
null
pyannote/pyannote-audio
MIT License
Python
@@ -3453,10 +3453,11 @@ router.get('/wsj/:lang/:category', require('./routes/wsj/index')); // China File router.get('/chinafile/:category?', require('./routes/chinafile/index')); -// Grand-Challenge-user -router.get('/grandchallenge/user/:id', require('./routes/grandchallenge/user')); +// CNTV +router.get('/cntv/:colum...
feat: add cntv column
null
diygod/rsshub
MIT License
JavaScript
@@ -29,6 +29,10 @@ emitter()->addListener('onEntriesFetchSingleField', static function (): void { $field = entries()->registry()->get('methods.fetch.field'); + if (is_string($field['value']) && strings($field['value'])->contains('!php')) { + return; + } + if (is_string($field['value'])) { if (strings($field['value'])->...
feat(directives): add ability to disable php using `!php`
null
flextype/flextype
MIT License
PHP
@@ -46,6 +46,7 @@ import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JOptionPane; import javax.swing.JPanel; +import javax.swing.JPopupMenu; import javax.swing.JScrollPane; import javax.swing.JSplitPane; import javax.swing.JToggleButton; @@ -603,11 +604,22 @@ public class MainWindow extends J...
feat(gui): rename classes and fields by popup menu in tree panel (PR
null
skylot/jadx
Apache License 2.0
Java
@@ -118,6 +118,13 @@ class Chain(metaclass=_Singleton): self._undo_lock = threading.Lock() self._undo_buffer: List = [] self._redo_buffer: List = [] + self._chainid: Optional[int] = None + + def __repr__(self) -> str: + try: + return f"<Chain object (chainid={self.id}, height={self.height})>" + except Exception: + retu...
feat: chain.height and chain.id properties
null
eth-brownie/brownie
MIT License
Python
@@ -299,6 +299,7 @@ Locale::setLanguageFromJSON('mr', __DIR__.'/config/locale/translations/mr.json') Locale::setLanguageFromJSON('ms', __DIR__.'/config/locale/translations/ms.json'); Locale::setLanguageFromJSON('ne', __DIR__.'/config/locale/translations/ne.json'); Locale::setLanguageFromJSON('nl', __DIR__.'/config/loca...
feat: Nynorsk Norwegian translation
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
//! instances of the mutable buffer, read buffer, and object store use self::access::QueryCatalogAccess; +use self::catalog::chunk::ChunkStage; use self::catalog::TableNameFilter; use super::{write_buffer::WriteBuffer, JobRegistry}; use crate::db::catalog::partition::Partition; @@ -1153,6 +1154,13 @@ impl CatalogState ...
feat: make sure DB catalog can correctly add and remove parquet files
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -32,6 +32,8 @@ func main() { parallelIO := flag.Int("parallelIO", 1, "number of parallel IO") txCount := flag.Int("txCount", 1_000, "number of tx to commit") kvCount := flag.Int("kvCount", 1_000, "number of kv entries per tx") + kLen := flag.Int("kLen", 32, "key length (bytes)") + vLen := flag.Int("vLen", 32, "value...
feat: add key and value length params in stress tool
null
codenotary/immudb
Apache License 2.0
Go
@@ -88,10 +88,7 @@ export function pointOnCurve(start, cp1, cp2, end, check) { /** Splits a curve on a point */ export function splitCurve(start, cp1, cp2, end, split) { - let [c1, c2] = new Path() - .move(start) - .curve(cp1, cp2, end) - .split(split) + let [c1, c2] = new Path().move(start).curve(cp1, cp2, end).split(...
feat(core): Expose Bezier-js via utils
null
freesewing/freesewing
MIT License
JavaScript
@@ -453,10 +453,9 @@ func (s *ImmuStore) doIndexing() error { s._kvs[i].V = b[:] } - var linkedLeaf [linkedLeafSize]byte - // TODO: built linkedLeaf from tx + alh := tx.Alh() - n, h, err := s.aht.Append(linkedLeaf[:]) + n, h, err := s.aht.Append(alh[:]) if err != nil { return err }
feat: store accumulative linear hash into mutable hash tree
null
codenotary/immudb
Apache License 2.0
Go
@@ -19,7 +19,7 @@ export interface PaletteProperty { } export interface CreatedPaletteTheme { - hoverColor: (value: string) => string + hoverColor: (value: string, darkenAmount?: 0.05 | 0.15) => string disableColor: (value: string) => string TEXT_BLACK: string TEXT_GREY: string @@ -58,7 +58,8 @@ export const defaultPal...
feat: add darkenAmount argument to hoverColor method
null
kufu/smarthr-ui
MIT License
TypeScript
import utils from ..lib import db +counters = { + 'mind': { + 'E': 0, # Extraverted + 'I': 0, # Introverted + 'questions': [1, 5, 9, 13, 17] + }, + 'energy': { + 'N': 0, # Intuitive + 'S': 0, # Sensing + 'questions': [2, 6, 10, 14, 18] + }, + 'nature': { + 'T': 0, # Thinking + 'F': 0, # Feeling + 'questions': [3, 7, 11...
feat(skill/mbti): questions mapping
null
leon-ai/leon
MIT License
Python
@@ -208,8 +208,6 @@ named!(day_of_week_name <CompleteStr, CompleteStr>, alt!( )); fn validate_datetime_string<'a>(value: &String, pattern_tokens: &Vec<DateTimePatternToken>) -> Result<(), String> { - p!(value); - p!(pattern_tokens); let mut buffer = CompleteStr(&value); for token in pattern_tokens { let result = match ...
feat: cleanup date matching
null
pact-foundation/pact-reference
MIT License
Rust
@@ -281,6 +281,12 @@ def reload_doctype(context, doctype): finally: frappe.destroy() +@click.command('add-to-hosts') +@pass_context +def add_to_hosts(context): + "Add site to hosts" + for site in context.sites: + frappe.commands.popen('echo 127.0.0.1\t{0} | sudo tee -a /etc/hosts'.format(site)) @click.command('use') @c...
feat: add-to-hosts command
null
frappe/frappe
MIT License
Python
@@ -38,6 +38,9 @@ class V06 extends Filter { $parsedResponse = $this->parseLogList($content); break; + case Response::MODEL_TOKEN: + $parsedResponse = $this->parseToken($content); + break; case Response::MODEL_ANY : $parsedResponse = $content; break; @@ -54,6 +57,12 @@ class V06 extends Filter { } + private function pa...
feat: parse token
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
@@ -221,12 +221,12 @@ return [ ], Exception::AVATAR_IMAGE_NOT_FOUND => [ 'name' => Exception::AVATAR_IMAGE_NOT_FOUND, - 'description' => 'The requested image was not found.', + 'description' => 'The requested image was not found at the URL.', 'code' => 404, ], Exception::AVATAR_REMOTE_URL_FAILED => [ 'name' => Exceptio...
feat: update descriptions of avatars errors
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
@@ -29,6 +29,15 @@ struct InterpolatedVertex { * which to interpolate. */ double t; + + bool operator==(const InterpolatedVertex& u) const{ + return this->first == u.first && this->second == u.second && + std::fabs(this->t - u.t) <= std::numeric_limits<double>::epsilon(); + } + + bool operator!=(const InterpolatedVerte...
feat: TriangleClipVertex == != operate
null
cesiumgs/cesium-native
Apache License 2.0
C
@@ -100,6 +100,7 @@ class Entries $this->registry()->set('fetch.options', $options); $this->registry()->set('fetch.data', []); + // Run event flextype('emitter')->emit('on' . strings($this->options['collection'])->capitalize()->toString() . 'Fetch'); @@ -207,7 +208,7 @@ class Entries $currentEntryID = strings($currenEn...
feat(entries): fix issues with root collection path
null
flextype/flextype
MIT License
PHP
@@ -45,7 +45,10 @@ void HTMLParser::parseProperty(ElementInstance* element, GumboElement * gumboEle std::string::size_type position = s.find(":"); if (position != s.npos) { std::string styleKey = s.substr(0, position); - styleDeclarationInstance->internalSetProperty(styleKey, JSValueMakeString(m_context->context() ,JSS...
feat: convert style to lowercase
null
openkraken/kraken
Apache License 2.0
C++
@@ -48,6 +48,7 @@ func init() { machoDumpCmd.Flags().BoolP("addr", "v", false, "Output as addresses/uint64s") machoDumpCmd.Flags().BoolP("bytes", "b", false, "Output as bytes") machoDumpCmd.Flags().StringP("output", "o", "", "Output to a file") + machoDumpCmd.Flags().StringP("section", "x", "", "Dump a specific segment...
feat: Allow `macho dump` to get addr and size from segment
null
blacktop/ipsw
MIT License
Go
@@ -8,18 +8,36 @@ pub mod executor; pub mod locks; pub mod timeout; -/// Super trait that is used for our store traits, this trait will differ if -/// it's used on WASM. WASM targets will not require `Send` and `Sync` to have -/// implemented, while other targets will. +/// Alias for `Send` on non-wasm, empty trait (im...
feat(common): Add SendOutsideWasm, SyncOutsideWasm
null
matrix-org/matrix-rust-sdk
Apache License 2.0
Rust
@@ -418,11 +418,13 @@ class Entries * * @access public * - * @return array Updated storage. + * @return self Returns instance of The Entries class. */ - public function setStorage(?string $key, $value): void + public function setStorage(?string $key, $value): self { $this->storage = arrays($this->storage)->set($key, $v...
feat(entries): return $this instead of void in setStorage() method in Entries API
null
flextype/flextype
MIT License
PHP
@@ -283,11 +283,11 @@ func main() { _, _ = fmt.Fprintln(os.Stderr, err) os.Exit(1) } - value2, err := ioutil.ReadAll(&buf) + value, err := ioutil.ReadAll(&buf) if err != nil { return err } - printItem([]byte(args[0]), value2, response) + printItem([]byte(args[0]), value, response) return nil }, Args: cobra.MinimumNArgs...
feat(cmd/immu): fix CLI output of safe commands
null
codenotary/immudb
Apache License 2.0
Go
@@ -4,6 +4,7 @@ import ( "errors" "fmt" "net/http" + "time" "github.com/caos/orbos/internal/secret" @@ -90,7 +91,12 @@ func Instrument(monitor mntr.Monitor, healthyChan chan bool) { }) go func() { - for newHealthiness := range healthyChan { + timeout := 10 * time.Minute + ticker := time.NewTimer(timeout) + for { + sele...
feat: report unhealthy after 10 minutes waiting for status
null
caos/orbos
Apache License 2.0
Go
@@ -6,34 +6,34 @@ use Tests\E2E\Client; trait TeamsBaseClient { - // /** - // * @depends testCreateTeam - // */ - // public function testGetTeamMemberships($data):array - // { - // $teamUid = $data['teamUid'] ?? ''; - - // /** - // * Test for SUCCESS - // */ - // $response = $this->client->call(Client::METHOD_GET, '/te...
feat: uncomment tests
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
@@ -4,9 +4,10 @@ import { IIndexable, PLATFORM, Reporter, - isArrayIndex + isArrayIndex, + IServiceLocator, } from '@aurelia/kernel'; -import { LifecycleFlags } from '../flags'; +import { LifecycleFlags, ExpressionKind } from '../flags'; import { ILifecycle } from '../lifecycle'; import { IBindingContext, @@ -14,11 +15...
feat(watch): implement computed & expression watchers
null
aurelia/aurelia
MIT License
TypeScript
@@ -4,9 +4,10 @@ public class LayerComposer { private weak var rootView: UIView? private let backgroundLayer = BackgroundLayer() private let playbackLayer = PlaybackLayer() - private let coreLayer = CoreLayer() private let containerLayer = ContainerLayer() private let mediaControlLayer = MediaControlLayer() + private l...
feat: adds Overlay Layer to LayerComposer
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -59,6 +59,8 @@ class AnalyticsHelper { 'https://22ec5d0489534b91ba455462d3736680@o241488.ingest.sentry.io/5376745'; options.sentryClientName = 'sentry.dart.smoothie/${packageInfo.version}'; + // To set a uniform sample rate + options.tracesSampleRate = 1.0; options.beforeSend = _beforeSend; }, appRunner: appRunner,
feat: add sentry perf
null
openfoodfacts/smooth-app
Apache License 2.0
Dart
@@ -49,6 +49,12 @@ class UserPreferencesFood extends AbstractUserPreferences { @override IconData getLeadingIconData() => Icons.ramen_dining; + @override + String? getHeaderAsset() => 'assets/onboarding/preferences.svg'; + + @override + Color? getHeaderColor() => const Color(0xFFEBF1FF); + @override List<Widget> getBod...
feat: - added illustration and color to food preferences header
null
openfoodfacts/smooth-app
Apache License 2.0
Dart
@@ -240,6 +240,23 @@ class TestHelpers }); } + /** + * Get the value of a private property. + * + * @param mixed $class The class + * @param string $property The property name. + * @return mixed + */ + public static function getPrivateProperty($class, $property) + { + $className = get_class($class); + $c = \Closure::bi...
feat: add getPrivateProperty test helper
null
googleapis/google-cloud-php
Apache License 2.0
PHP
@@ -333,7 +333,7 @@ Meteor.methods({ _id: 'studio0_cam_bakskjerm', _rank: 17000, name: 'Bakskjerm', - type: RundownAPI.SourceLayerType.CAMERA, + type: RundownAPI.SourceLayerType.REMOTE, onPGMClean: true, clearKeyboardHotkey: 'p' },
feat(init): bakskjerm type
null
nrkno/tv-automation-server-core
MIT License
TypeScript
@@ -97,12 +97,26 @@ export class OwidAdminApp { app.use("/admin/storybook", express.static(".storybook/build")) app.use("/admin", adminRouter) - app.get("/admin/gdocs/:id/draft", async (req, res) => { + // Default route: single page admin app + app.get("/admin/*", async (req, res) => { + res.send( + renderToHtmlPage( +...
feat(gdocs): add public preview
null
owid/owid-grapher
MIT License
TypeScript
@@ -34,16 +34,16 @@ import org.camunda.bpm.engine.runtime.UpdateProcessInstancesSuspensionStateBuild */ public class ProcessInstanceSuspensionStateDto extends SuspensionStateDto { - private String processInstanceId; - private String processDefinitionId; - private String processDefinitionKey; + protected String processI...
feat(rest): add missing getters for ProcessInstanceSuspensionStateDto
null
camunda/camunda-bpm-platform
Apache License 2.0
Java
import { useNavigation } from "@react-navigation/native" -import { - Box, - Button, - CheckCircleFillIcon, - Flex, - Join, - Pill, - ProgressBar, - Screen, - Spacer, - Text, -} from "palette" -import { FC, useState } from "react" +import { Box, Button, CheckCircleFillIcon, Flex, ProgressBar, Screen, Spacer, Text } from...
feat: use animated pill component in question template and hide unselected pills
null
artsy/eigen
MIT License
TypeScript
import Foundation -class Socket: NSObject { +class Socket: NSObject, SolanaSocket { // MARK: - Properties + var isConnected: Bool = false var urlSession: URLSession! var task: URLSessionWebSocketTask! var wsHeartBeat: Timer! + // MARK: - Streams let accountInfoStream = SocketResponseStream<SocketAccountResponse>() let ...
feat: preparing boilerplate
null
p2p-org/solana-swift
MIT License
Swift
@@ -129,8 +129,10 @@ public class JiraAuthenticationProvider implements ArtemisAuthenticationProvider if (authenticationResponse != null) { Map content = authenticationResponse.getBody(); - User user = userRepository.findOneByLogin((String) content.get("name")).orElseGet( - () -> userService.createUser((String) content...
feat(login): Update email with latest data from Jira on login
null
ls1intum/artemis
MIT License
Java
@@ -4,13 +4,22 @@ import { LocalAccount } from 'src/interfaces/local-account.interface'; import HiveUtils from 'src/utils/hive.utils'; import TransactionUtils from 'src/utils/transaction.utils'; +const TIME_REFERENCE = 1643236071000; + export const refreshActiveAccount = (): AppThunk => async (dispatch, getState) => { ...
feat(refresh active account): added delay to wait for next block
null
hive-keychain/hive-keychain-extension
MIT License
TypeScript
@@ -52,7 +52,7 @@ class DoubleTapAnimation { core?.view.bringSubview(toFront: bubbleView) widthConstraint.constant = parentView.frame.width - heightConstraint.constant = parentView.frame.height + heightConstraint.constant = parentView.frame.height * 1.8 UIView.animate(withDuration: 0.4, animations: { bubbleView.alpha =...
feat: increase bubble size
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -60,7 +60,7 @@ extension Web3 { <<<<<<< HEAD ======= - public func makeEIP681Link() -> String? { + public func makeEIP681Link(urlEncode: Bool = false) -> String? { let address: String switch targetAddress { case .ethereumAddress(let ethereumAddress): @@ -87,7 +87,7 @@ extension Web3 { link = "\(link)?\(queryParamete...
feat: option to URL encode EIP681 link before it's returned
null
skywinder/web3swift
Apache License 2.0
Swift
@@ -156,6 +156,9 @@ class Workspace: self.extended_shortcuts = self.extended_shortcuts + page.shortcuts def is_item_allowed(self, name, item_type): + if frappe.session.user == "Administrator": + return True + item_type = item_type.lower() if item_type == "doctype":
feat: bypass perm check for admin
null
frappe/frappe
MIT License
Python
@@ -2,7 +2,7 @@ import axios from "axios"; import { PageCriteria } from "./ResolverInterface"; /** - * use case for category + * use case for specific category */ const getPageForHeadless = (params: PageCriteria) => axios.post("/resolver", params); @@ -24,6 +24,40 @@ const searchCriteria: PageCriteria = { // isCanonica...
feat(rfc): add fiter and sort info in sample output
null
vuestorefront/shopware-pwa
MIT License
TypeScript
@@ -27,6 +27,14 @@ import ( const ( isLastUpdateStatusSuccessfulCheckInterval = 30 * time.Second + + // used in creation + packageTypeZip = "Zip" + packageTypeImage = "Image" + + // used in observation + repositoryTypeECR = "ECR" + repositoryTypeS3 = "S3" ) // SetupFunction adds a controller that reconciles Function. @...
feat(function): Enforce update of function code on changes in imageURI
null
crossplane/provider-aws
Apache License 2.0
Go
@@ -378,20 +378,20 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options: private fun createAudioMediaOption(format: Format, mediaInfo: Options): MediaOption? { return when (format.language) { - "und" -> MediaOption(MediaOptionType.Audio.ORIGINAL.value, MediaOptionType.AUDIO, format, mediaIn...
feat(exoplayer_audios_subtitles): pass track group index on MediaOption Raw
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
@@ -104,10 +104,9 @@ impl Generator { "Time" => Some(Generator::Time(map.get("format").map(|f| json_to_string(f)))), "DateTime" => Some(Generator::DateTime(map.get("format").map(|f| json_to_string(f)))), "RandomBoolean" => Some(Generator::RandomBoolean), - "ProviderState" => Some(Generator::ProviderStateGenerator( - ma...
feat: add tests for serialising Generator::ProviderStateGenerator
null
pact-foundation/pact-reference
MIT License
Rust
@@ -88,7 +88,7 @@ class BuildsV1 extends Worker protected function triggerCreateRuntimeServer(string $projectId, string $functionId, string $tagId) { $ch = \curl_init(); - \curl_setopt($ch, CURLOPT_URL, "http://appwrite-executor:8080/v1/executor/runtime"); + \curl_setopt($ch, CURLOPT_URL, "http://appwrite-executor/v1/e...
feat: refactor the builds worker
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
@@ -158,20 +158,22 @@ type Color uint8 // Spaces are always added between operands and a newline is appended. // Input will be colored with the parent Color. func (c Color) Sprintln(a ...interface{}) string { - return color.RenderCode(color.Color(c).String(), a...) + "\n" + return c.Sprint(a...) + "\n" } // Sprint form...
feat: add color in color support
null
pterm/pterm
MIT License
Go
@@ -201,11 +201,17 @@ export default Vue.extend({ .join(', ') }, + sanitizeFn () { + return this.optionsSanitize === true + ? () => true + : opt => opt !== void 0 && opt !== null && opt.sanitize === true + }, + displayAsText () { return this.displayValueSanitize === true || ( this.displayValue === void 0 && ( this.opti...
feat(QSelect): allow null or void 0 selection options
null
quasarframework/quasar
MIT License
JavaScript
@@ -20,6 +20,16 @@ export enum Type { system = 255, } +export interface MessageParams { + type: Type + msgId: string + chatCode: string + targetId: string + content: any + quote: string + nonce: string +} + export interface MessageBase { type: Type content: string
feat(kaiheila): support card message
null
koishijs/koishi
MIT License
TypeScript
@@ -215,7 +215,7 @@ class SpeechActivityDetection(Application): der = DetectionErrorRate() binarizer = Binarize(onset=0.5, offset=0.5, - log_scale=model.logsoftmax) + log_scale=False) if isinstance(self.feature_extraction_, Precomputed): self.feature_extraction_.use_memmap = False @@ -234,8 +234,20 @@ class SpeechActiv...
feat: add support for 2+ dimensional scores in "validate" mode
null
pyannote/pyannote-audio
MIT License
Python
@@ -37,6 +37,8 @@ use crate::interpreters::InterpreterQueryLog; use crate::sessions::QueryContext; use crate::sessions::SessionRef; use crate::sql::PlanParser; +use crate::storages::result::ResultQueryInfo; +use crate::storages::result::ResultTableWriter; #[derive(Serialize, Deserialize, Debug, Copy, Clone, PartialEq)]...
feat(query): write result table in http handler
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -768,25 +768,45 @@ def set_config(context, key, value, global_=False, parse=False, as_dict=False): @click.command('version') -def get_version(): +@click.option('--output', help='Output format. One of: plain, table, json, legacy.', default='legacy') +def get_version(output): "Show the versions of all the installed ap...
feat: different output formats for `bench version`
null
frappe/frappe
MIT License
Python
@@ -755,7 +755,7 @@ class LookMLSource(Source): return looker_model def _platform_names_have_2_parts(self, platform: str) -> bool: - if platform in ["hive", "mysql"]: + if platform in ["hive", "mysql", "athena"]: return True else: return False @@ -769,7 +769,7 @@ class LookMLSource(Source): # Bigquery has "project.db.t...
feat(ingest): teaching lookml source that athena has 2 parts in its names
null
linkedin/datahub
Apache License 2.0
Python
@@ -642,6 +642,24 @@ pub mod pallet { unimplemented!(); } + #[pallet::weight(<T as pallet::Config>::WeightInfo::cancel_xtx())] + pub fn cancel_xtx(origin: OriginFor<T>, xtx_id: T::Hash) -> DispatchResultWithPostInfo { + let requester = Self::authorize(origin, CircuitRole::Requester)?; + // Setup: new xtx context + let ...
feat: add extrinsic for cancelling xtx before bidding
null
t3rn/t3rn
Apache License 2.0
Rust
@@ -14,7 +14,8 @@ const ReportGenerator = SparkPlugin.extend({ props: { reportId: 'string', zip: 'object', - folder: 'object' + folder: 'object', + spaces: 'object' }, /** @@ -76,15 +77,29 @@ const ReportGenerator = SparkPlugin.extend({ if (!this.zip) { this.zip = new JSZip(); - this.folder = this.zip.folder(`${this.re...
feat(ediscovery): add subfolders based on space id to report
null
webex/webex-js-sdk
MIT License
JavaScript
@@ -3,6 +3,7 @@ package unsubscribe import ( "fmt" + "github.com/MakeNowJust/heredoc" "github.com/profclems/glab/commands/cmdutils" "github.com/profclems/glab/commands/issue/issueutils" "github.com/profclems/glab/internal/utils" @@ -17,6 +18,11 @@ func NewCmdUnsubscribe(f *cmdutils.Factory) *cobra.Command { Short: `Uns...
feat(commands/issue/unsubscribe): add EXAMPLES
null
profclems/glab
MIT License
Go
@@ -165,7 +165,7 @@ impl Default for Config { /// Parameters for a pre-opened file descriptor #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)] -#[serde(tag = "kind")] +#[serde(tag = "kind", deny_unknown_fields)] pub enum File { /// File descriptor of `/dev/null` #[serde(rename = "null")]
feat(config): error on unknown fields
null
enarx/enarx
Apache License 2.0
Rust
@@ -26,10 +26,15 @@ use function str_replace; */ define('ROOT_DIR', str_replace(DIRECTORY_SEPARATOR, '/', getcwd())); +/** + * Define the project name. + */ +define('PROJECT_NAME', 'project'); + /** * Define the PATH (without trailing slash). */ -define('PATH_PROJECT', ROOT_DIR . '/project'); +define('PATH_PROJECT', RO...
feat(core): add new constant `PROJECT_NAME`
null
flextype/flextype
MIT License
PHP
package commands import ( + "context" "flag" "fmt" + "time" "github.com/GoogleContainerTools/kpt/internal/util/cfgflags" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" + "k8s.io/client-go/rest" + "k8s.io/klog/v2" cluster "k8s.io/kubectl/pkg/cmd/util" + "sigs.k8s.io/cli-utils/pkg/flowcontrol" ) func...
feat: disable client-side throttling
null
googlecontainertools/kpt
Apache License 2.0
Go
@@ -362,6 +362,7 @@ impl DbMetrics { let labels = vec![metrics::KeyValue::new("state", state)]; self.catalog_chunk_bytes .sub_with_labels(size as f64, labels.as_slice()); + debug!(?size, ?labels, "called catalog_chunk_bytes.sub_with_labels"); } // Increase next metric for next chunk state @@ -369,9 +370,11 @@ impl DbMe...
feat: Add more logs to shed light on the curious incident with missing metrics in the nighttime
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -194,7 +194,7 @@ export class MateriaService { if (overmeldChances === 0) { return; } - let amount = Math.ceil(1 / (overmeldChances / 100)); + let amount = Math.ceil(Math.log(1 - 0.9) / Math.log(1 - (overmeldChances / 100))); // If we're including all tools and it's a tool if (includeAllTools && ['mainHand', 'offHan...
feat(gearsets): updated materia estimate function to be more realistic
null
ffxiv-teamcraft/ffxiv-teamcraft
MIT License
TypeScript
+package commands + +import ( + "fmt" + "github.com/MakeNowJust/heredoc" + "github.com/gookit/color" + "github.com/spf13/cobra" + "github.com/xanzy/go-gitlab" + "glab/internal/git" +) + +var repoContributorsCmd = &cobra.Command{ + Use: "contributors <command> [flags]", + Short: `Get an archive of the repository.`, + Ex...
feat(repo): Add command to get contributors
null
profclems/glab
MIT License
Go
@@ -132,6 +132,46 @@ impl DirsAndFileName { } } +/// Short-cut macro to create [`DirsAndFileName`] instances. +/// +/// # Example +/// ``` +/// use object_store::parsed_path; +/// +/// // empty path +/// parsed_path!(); +/// +/// // filename only +/// parsed_path!("test.txt"); +/// +/// // directories only +/// parsed_...
feat: add convenience `parsed_path!` marco
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -9,6 +9,7 @@ from sqlite3 import OperationalError from typing import Any, Dict, Iterator, List, Optional, Tuple from requests.exceptions import ConnectionError as RequestsConnectionError +from web3.types import BlockData from brownie._config import CONFIG, _get_data_folder from brownie._singleton import _Singleton @...
feat: update chain docstrings and return types
null
eth-brownie/brownie
MIT License
Python
+#include <stdio.h> +#include <stdlib.h> + +#include <algorithm> +// #include <gle/engine/cpplib/headers.hpp> +#include <cmath> +#include <string> +#include <vector> + +typedef std::string string; + +template <typename T> +inline double tg_pearson_similarity(std::vector<T> A, std::vector<T> B) { + int n = A.size(); + d...
feat(similarity): add pearson similarity algorithm
null
tigergraph/gsql-graph-algorithms
Apache License 2.0
C++
@@ -92,6 +92,12 @@ func (p SectionPrinter) Sprintf(format string, a ...interface{}) string { return p.Sprint(Sprintf(format, a...)) } +// Sprintfln formats according to a format specifier and returns the resulting string. +// Spaces are always added between operands and a newline is appended. +func (p SectionPrinter) S...
feat(section): add `Sprintfln` and `Printfln` function
null
pterm/pterm
MIT License
Go
@@ -83,8 +83,7 @@ class HttpKernel extends LaravelHttpKernel 'auth' => Authenticate::class, // 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, 'cache.headers' => SetCacheHeaders::class, - // Note: This middleware is disabled because Authorization functionality is provided by the Authorizat...
feat: enable `can` Laravel middleware
null
apiato/apiato
MIT License
PHP
@@ -52,8 +52,9 @@ export function apply(ctx: Context) { const { session, options, command } = argv if (!session.user) return - function sendHint(message: string, ...param: any[]) { - return command.config.showWarning ? session.text(message, param) : '' + function sendHint(path: string, ...param: any[]) { + if (!command...
feat(rate-limit): allow override internal translations for warnings
null
koishijs/koishi
MIT License
TypeScript
@@ -21,12 +21,8 @@ def scaled_init_method_normal(sigma, num_layers): return init_ -def orthogonal_init_method(): - """Fills the input Tensor with a (semi) orthogonal matrix, as described in - Exact solutions to the nonlinear dynamics of learning in deep linear neural networks - Saxe, A. et al. (2013)""" - # orthogonal ...
feat(model): add patched orthogonal init
null
eleutherai/gpt-neox
Apache License 2.0
Python
import { Dropdown } from 'semantic-ui-react'; +import React, { useState } from 'react'; import PropTypes from 'prop-types'; -import React from 'react'; import { entityPropType } from '../../utils/EntityUtils'; +// eslint-disable-next-line no-control-regex +const asciiChar = /^[\x21-\x7E]+$/; + function EntityDropdown({...
feat: block non ascii chars in entities
null
botfront/botfront
Apache License 2.0
JavaScript
+#!/bin/bash + + +DATA_DIR=/tmp/jina/multilingual +mkdir -p ${DATA_DIR} + +echo "- Downloading Laser model related files" +python -m laserembeddings download-models ${DATA_DIR} + +echo "- Downloading WMT data" +wget --directory-prefix=${DATA_DIR} -q http://www.statmt.org/wmt13/dev.tgz + +echo "- Extracting file to ${DA...
feat(download-data): adding model/data extraction script
null
jina-ai/examples
Apache License 2.0
Shell
use crate::key_exchange::{ KeyExchangeRequestMessage, KeyExchangeResponseMessage, XInitiator, XResponder, }; -use crate::{SecureChannelError, SecureChannelListenerMessage}; +use crate::{SecureChannelError, SecureChannelListener, SecureChannelListenerMessage}; use async_trait::async_trait; use ockam::{Address, Context, ...
feat(rust): add conenience initializers for secure_channel and secure_channel_listener
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -8,6 +8,7 @@ class PrefActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) + title = getString(R.string.options_settings) setContentView(R.layout.activity_pref) supportFragmentManager.beginTransaction() .replace(R.id.activityPrefFrame, PrefFragment...
feat: add title to the settings page
null
chesire/nekome
Apache License 2.0
Kotlin
@@ -34,7 +34,10 @@ public static class NetworkClient public static bool active => connectState == ConnectState.Connecting || connectState == ConnectState.Connected; - /// <summary>This gives the current connection status of the client.</summary> + /// <summary>Check if client is connecting (before connected).</summary>...
feat: NetworkClient.isConnecting added
null
vis2k/mirror
MIT License
C#
@@ -141,12 +141,20 @@ class Auth0 extends OAuth2 /** * Check if the OAuth email is verified * + * @link https://auth0.com/docs/api/authentication?javascript#user-profile + * * @param $accessToken * * @return bool */ public function isEmailVerified(string $accessToken): bool { + $user = $this->getUser($accessToken); + +...
feat: added check for Auth0 OAuth
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
# $3 of them sending video and the rest having video muted. # $4 seconds the participants will stay in the conference. # $5 will be the conference room name prefix. +# $6 will be the selenium grid address (for example http://grid.example.com:4444/wd/hub) mvn \ -Dthreadcount=1 \ @@ -14,8 +15,8 @@ mvn \ -Dorg.jitsi.malle...
feat(scripts/malleus.sh): add $6 for grid address
null
jitsi/jitsi-meet-torture
Apache License 2.0
Shell
@@ -470,7 +470,7 @@ if (! function_exists('upload')) { { $settings = registry()->get('flextype.settings.upload'); - $uploadFolder = strings(PATH['project'] . '/' . registry()->get('flextype.settings.upload.directory') . '/' . $folder . '/')->reduceSlashes()->toString(); + $uploadFolder = strings(PATH['project'] . '/' ....
feat(helpers): fix `upload` helper
null
flextype/flextype
MIT License
PHP
@@ -87,4 +87,14 @@ namespace OsEngine.Market.Servers.Binance.Futures.Entity { public bool dualSidePosition; } + + public class PremiumIndex + { + public string symbol; //"BTCUSDT", + public string markPrice; //"11793.63104562", // mark price + public string indexPrice; //"11781.80495970", // index price + public string...
feat: binance. mark price and funding rate in realtime
null
alexwan/osengine
Apache License 2.0
C#
@@ -86,9 +86,16 @@ impl CreateCommand { .open(elog) .expect("failed to open stderr log path"); + let verbose = match opts.global_args.verbose { + // Enable logs at DEBUG level by default + 0 => "-vv".to_string(), + // Pass the provided verbosity level to the background node + v => format!("-{}", "v".repeat(v as usize))...
feat(rust): derive background node's verbosity from input arguments, defaults to debug
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -422,7 +422,7 @@ def futures_zh_daily_sina(symbol: str = "V2105") -> pd.DataFrame: if __name__ == "__main__": - futures_zh_minute_sina_df = futures_zh_minute_sina(symbol="TF2109", period="5") + futures_zh_minute_sina_df = futures_zh_minute_sina(symbol="FU2201", period="1") print(futures_zh_minute_sina_df) futures_zh...
feat(stock_cg_guarantee_cninfo): add stock_cg_guarantee_cninfo interface
null
jindaxiang/akshare
MIT License
Python
@@ -62,38 +62,38 @@ class AtomSwitch extends Component { } } - toggleSwitch = function () { + toggleSwitch = () => { const {disabled, onToggle, toggle} = this.state if (disabled) { return } (onToggle) && onToggle(!toggle) this.setState({toggle: !toggle}) - }.bind(this) + } - activateToggle = function () { + activateTog...
feat(atom/switch): refactor class functions to instance functions
null
sui-components/sui-components
MIT License
JavaScript
@@ -15,7 +15,7 @@ use crate::error::{SymCacheError, SymCacheErrorKind}; pub const SYMCACHE_MAGIC: [u8; 4] = *b"SYMC"; /// The latest version of the file format. -pub const SYMCACHE_VERSION: u32 = 4; +pub const SYMCACHE_VERSION: u32 = 5; // Version history: // @@ -23,6 +23,7 @@ pub const SYMCACHE_VERSION: u32 = 4; // 2:...
feat(symcache): Bump SYMCACHE_VERSION to 5
null
getsentry/symbolic
MIT License
Rust
@@ -25,13 +25,22 @@ export default function(api, opts = {}) { if (existsSync(modelJSPath)) { return [winPath(modelJSPath)]; } + const modelJSXPath = join(cwd, 'model.jsx'); + if (existsSync(modelJSXPath)) { + return [winPath(modelJSXPath)]; + } const modelTSPath = join(cwd, 'model.ts'); if (existsSync(modelTSPath)) { r...
feat: support load model.tsx, model.jsx
null
umijs/umi
MIT License
JavaScript
@@ -108,6 +108,27 @@ func (o *VersionOptions) Run() error { } } + // kubectl version + output, err = o.getCommandOutput("", "kubectl", "version", "--short") + if err != nil { + o.warnf("Failed to get kubectl version: %s\n", err) + } else { + for i, line := range strings.Split(output, "\n") { + fields := strings.Fields(...
feat: Added kubectl version number to jx version
null
jenkins-x/jx
Apache License 2.0
Go
@@ -29,6 +29,24 @@ export class CmpBannerContainer extends Component { this.setState({showModal: true, showNotification: false}) } + /** + * This handler is used everytime the user clicks on something in the web + * in order to assume he's accepting our CMP if he's not trying to configure it and + * he's just navigatin...
feat(cmp/banner): remove event when not needed and add some comments
null
sui-components/sui-components
MIT License
JavaScript
@@ -33,27 +33,32 @@ echo "Running infracost on current branch using:" echo " $ $(cat infracost_cmd)" current_branch_output=$(cat infracost_cmd | sh) echo "$current_branch_output" > current_branch_infracost.txt -current_branch_monthly_cost=$(cat current_branch_infracost.txt | awk '/OVERALL TOTAL/ { print $NF }') +curren...
feat: update CI diff script to support CircleCI
null
infracost/infracost
Apache License 2.0
Shell
import * as React from "react"; import * as System from "~/components/system"; +import * as Styles from "~/common/styles"; +import * as SVG from "~/common/svg"; +import * as Constants from "~/common/constants"; import { ModalPortal } from "~/components/core/ModalPortal"; import { css } from "@emotion/react"; -import { ...
feat(Jumper): add
null
filecoin-project/slate
MIT License
JavaScript
@@ -263,6 +263,12 @@ class TransactionReceipt: return None return web3.eth.getBlock(self.block_number)["timestamp"] + @property + def confirmations(self) -> int: + if not self.block_number: + return 0 + return web3.eth.blockNumber - self.block_number + 1 + def _raise_if_reverted(self, exc: Any) -> None: if self.status ...
feat: add confirmations property to txreceipt
null
eth-brownie/brownie
MIT License
Python
@@ -89,8 +89,9 @@ public: rpc_holder(std::unique_ptr<TRequest> req, task_code code, std::chrono::milliseconds timeout = 0_ms, - uint64_t partition_hash = 0) - : _i(new internal(req, code, timeout, partition_hash)) + uint64_t partition_hash = 0, + int thread_hash = 0) + : _i(new internal(req, code, timeout, partition_ha...
feat: update rpc_holder
null
apache/incubator-pegasus
Apache License 2.0
C