diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
+package dnsprovider
+
+import (
+ "fmt"
+
+ log "github.com/Sirupsen/logrus"
+ "github.com/google/uuid"
+
+ "github.com/aws/aws-sdk-go/aws"
+ "github.com/aws/aws-sdk-go/service/route53"
+ "github.com/aws/aws-sdk-go/service/route53/route53iface"
+
+ "github.com/kubernetes-incubator/external-dns/endpoint"
+ "github.com/... | feat(dnsprovider): first implementation of AWS Route53 DNS provider | null | kubernetes-sigs/external-dns | Apache License 2.0 | Go |
@@ -73,13 +73,13 @@ export class Runner {
}
async launchClient(testScript: EvaluatedScript): Promise<PlaywrightClient> {
+ let options: Partial<ConcreteLaunchOptions> = this.launchOptionOverrides
const settings = {
+ acceptDownloads: !!options.downloadsPath,
...this.settingsFromConfig,
...testScript.settings,
...this.t... | feat: set settings.acceptDownloads base on options.downloadsPath | null | flood-io/element | Apache License 2.0 | TypeScript |
@@ -124,6 +124,7 @@ export default function BalanceBox({
<div className='title'>
{title && <Translate id={title}/>}
{info && <Tooltip translate={info}/>}
+ {loading && <span className="animated-dots" style={{width: 16}}/>}
</div>
}
<div className='token-balance'>
| feat: add loading ui to balancebox | null | near/near-wallet | MIT License | JavaScript |
@@ -120,6 +120,11 @@ impl DesktopContext {
let _ = self.proxy.send_event(SetZoomLevel(scale_factor));
}
+ /// launch print modal
+ pub fn print(&self) {
+ let _ = self.proxy.send_event(Print);
+ }
+
/// opens DevTool window
pub fn devtool(&self) {
let _ = self.proxy.send_event(DevTool);
@@ -155,6 +160,7 @@ pub enum Use... | feat: use_window add `print` & `devtool` | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -357,13 +357,29 @@ return [
'description' => '',
'variables' => [
[
- 'name' => '_APP_MAINTENANCE_INTERVAL',
- 'description' => 'Interval value containing the number of seconds that the Appwrite maintenance process should wait before executing system cleanups and optimizations. The default value is 86400 seconds (1 ... | feat: add description of new env variables | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -79,7 +79,7 @@ function AtomPopover({
placement={placement}
placementPrefix={PREFIX_PLACEMENT}
target={id || targetRef.current}
- toggle={!disableNativeToggle && handleToggle}
+ toggle={!disableNativeToggle ? handleToggle : undefined}
trigger={DEFAULT_TRIGGER}
>
{closeIcon && (
| feat(atom/popover): fix toggle default | null | sui-components/sui-components | MIT License | JavaScript |
@@ -131,6 +131,13 @@ public:
}
};
+ struct PreprocessedFilter {
+ //! user data; its lifetime should be bound to MegDNN Convolution
+ //! operator
+ void* algorithm_id;
+ TensorNDArray tensors;
+ };
+
protected:
// Check or deduce output DType
void check_or_deduce_dtype_fwd(DType src, DType filter, DType& dst) const;
@... | feat(dnn/naive): add convolution weight preprocess interface | null | megengine/megengine | Apache License 2.0 | C |
@@ -31,7 +31,7 @@ build({
backgroundColor: '#1d3557',
displayName: 'LeafView',
showNameOnTiles: true,
- languages: ['EN-US', 'JA-JP', 'CS-CZ', 'DE-DE'],
+ languages: ['EN-US', 'JA-JP', 'CS-CZ', 'DE-DE', 'ES-ES'],
identityName: process.env.IDENTITY_NAME,
publisher: process.env.PUBLISHER,
publisherDisplayName: 'sprout200... | feat: add 'ES-ES' to languages | null | sprout2000/leafview | MIT License | TypeScript |
@@ -236,10 +236,11 @@ public class Path {
public String toItineraryString(TransitLayer transitLayer){
StringJoiner joiner = new StringJoiner("->");
for (int i = 0; i < length; i++) {
- String routeId = transitLayer.tripPatterns.get(patterns[i]).routeId;
+ // TODO use a compact feed index, instead of splitting to remove... | feat(paths): remove feedId prefix from gtfsIds in path summaries | null | conveyal/r5 | MIT License | Java |
@@ -408,9 +408,19 @@ bool llvm::PDGAnalysis::edgeIsOnKnownMemorylessFunction (DGEdge<Value> *edge) {
auto isCallMemoryless = [&](CallInst *call) -> bool {
auto func = call->getCalledFunction();
- if (!func || func->empty()) return false;
+ if (func && !func->empty()) {
auto funcName = func->getName();
return memoryless... | feat: PDGAnalysis: detect memoryless function calls on variable refs | null | arcana-lab/noelle | MIT License | C++ |
@@ -41,8 +41,15 @@ impl Column {
//
// Meta information about the column
//
- pub fn num_rows(&self) -> usize {
- todo!()
+ pub fn num_rows(&self) -> u32 {
+ match &self {
+ Column::String(meta, _) => meta.rows,
+ Column::Float(meta, _) => meta.rows,
+ Column::Integer(meta, _) => meta.rows,
+ Column::Unsigned(meta, _) ... | feat: add implementation | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
/*
- * Copyright 2017-2021 B2i Healthcare Pte Ltd, http://b2i.sg
+ * Copyright 2017-2022 B2i Healthcare Pte Ltd, http://b2i.sg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -39,6 +39,7 @@ import com.b2international.snowowl.core.... | feat(snomed): Support "map to" reference sets in RF2 transaction context | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -127,6 +127,32 @@ class _ContractBase:
return function_sig, input_args
+ def flatten(self) -> str:
+ """
+ Return a single, deployable source code for this contract.
+ """
+ language = self._build["language"]
+ if language == "Vyper":
+ return self._build["source"]
+ elif language == "Solidity":
+ flattened_source =... | feat: flatten contracts | null | eth-brownie/brownie | MIT License | Python |
@@ -420,7 +420,6 @@ class Element extends Node
RenderLayoutParentData positionParentData;
RenderBoxModel renderBoxModel = getRenderBoxModel();
if (renderBoxModel.parentData is RenderLayoutParentData) {
- RenderLayoutBox renderParent = renderBoxModel.parent;
positionParentData = renderBoxModel.parentData;
RenderLayoutPa... | feat: revert toBlob change | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -49,34 +49,56 @@ class Forge extends \CodeIgniter\Database\Forge
*
* @var string
*/
+ protected $createDatabaseStr = false;
/**
+ * CREATE TABLE IF statement
*
* @var string
*/
+ protected $createTableIfStr = false;
/**
+ * DROP TABLE IF EXISTS statement
*
+ * @var string
*/
+ protected $dropTableIfStr = false;
/**
... | feat: add necessary properties | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -21,8 +21,6 @@ export default class UserAccount extends Component {
this.props.onComponentMount(this.props)
}
- _onChangeUserName = (value) => this.props.updateUserName(this.props.user, value)
-
_onClickGet = () => this.props.getUser(this.props.user.profile.user_id)
_onClickUnsubscribeAll = () => this.props.unsubscr... | feat(manager): Make username (email address) non-editable in Manage Account screen | null | ibi-group/datatools-ui | MIT License | JavaScript |
+using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
+using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Humanizer;
@@ -10,6 +12,7 @@ using OneOf;
using Remora.Commands.Attributes;
using Remora.Commands.Grou... | feat: Better member info embed (only took 6h) | null | vtpdevelopment/silk | Apache License 2.0 | C# |
@@ -37,6 +37,8 @@ from maintenance.tasks_create_database import (get_or_create_infra,
from notification.scripts import script_mongo_log_rotate
from util.providers import get_deploy_settings
+import json
+import requests
LOG = get_task_logger(__name__)
@@ -1816,6 +1818,46 @@ def database_set_ssl_not_required(self, datab... | feat: create task | null | globocom/database-as-a-service | BSD 3-Clause New or Revised License | Python |
@@ -32,6 +32,10 @@ EOF
echo
cat /tmp/st | grep "error" | sed 's/^>.*: //'
break
+ elif cat /tmp/st | grep -q "rejected"; then
+ echo
+ cat /tmp/st | grep "rejected" | sed 's/^>.*: //'
+ break
fi
sleep 1
echo -n "."
| feat(iroha-testnet): Add REJECT check for transactions to setup-iroha-wallet.sh script in iroha-testnet | null | hyperledger/cactus | Apache License 2.0 | Shell |
@@ -402,7 +402,14 @@ function addRuleHeaders(req, rules, headers, isPipe) {
if (isPipe) {
if (req._pipePlugin) {
rule = rule || rulesMgr.resolveRule(req);
- rule = { plugin: req._pipePlugin, value: util.getMatcherValue(rule) };
+ var value;
+ if (rule) {
+ var name = req._pipePlugin.moduleName;
+ name = name.substring(... | feat: send rule value to pipe server | null | avwo/whistle | MIT License | JavaScript |
@@ -173,7 +173,8 @@ impl guest::Handler for Handler<'_> {
_code: c_int,
_addr: c_ulong,
) -> sallyport::Result<()> {
- debugln!(self, "arch_prctl should have never been called");
+ let tid = self.tcb.tid;
+ debugln!(self, "[{tid}] arch_prctl should have never been called");
Err(ENOSYS)
}
@@ -211,6 +212,8 @@ impl guest:... | feat(shim-sgx): improve debug output | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -78,6 +78,8 @@ class FormField extends React.Component {
}
componentWillReceiveProps(nextProps) {
+ if (this.props.defaultValue) return
+
if (this.state.value !== nextProps.value) {
this.setState({
value: nextProps.value,
@@ -86,7 +88,15 @@ class FormField extends React.Component {
}
onChange = event => {
- const { ... | feat(shared-form-field): change value, defaultValue prop | null | telus/tds-core | MIT License | JavaScript |
set -o errexit
# Create a local Docker image registry that we'll hook up to kind
-reg_name='kind-registry'
-reg_port='5000'
+reg_name="${KIND_REGISTRY_NAME:-kind-registry}"
+reg_port="${KIND_REGISTRY_PORT:-5000}"
running="$(docker inspect -f '{{.State.Running}}' "${reg_name}" 2>/dev/null || true)"
if [ "${running}" != ... | feat(new-cluster.sh): allow overriding kind registry name and port | null | brigadecore/brigade | Apache License 2.0 | Shell |
@@ -49,11 +49,6 @@ type LeafHandler func(visibility compiled.Visibility, name string, tValue reflec
// Visit using reflect, browse through exposed addressable fields from input, and calls handler() if leaf.type == target
func Visit(input interface{}, baseName string, parentVisibility compiled.Visibility, handler LeafHa... | feat: added explicit warning when parser encounters unadressable struct field | null | consensys/gnark | Apache License 2.0 | Go |
-import { GlobalActionTypes, GlobalState } from "./global.types";
import {
CLOSE_MODAL,
HANDLE_CONNECTION_STATUS,
@@ -8,78 +7,49 @@ import {
SHOW_ERROR,
SHOW_MODAL,
TOGGLE_SIDE_BAR,
-} from "./global.constants";
-import logger from "../../logger";
-import { HANDLE_NEW_LOG } from "../logStream/logStream.constants";
+} f... | feat: immerjs global | null | jina-ai/dashboard | Apache License 2.0 | TypeScript |
@@ -33,6 +33,8 @@ def init_bot_for_model(token, model):
model_name = type(model.get_main_component()).__name__
model_info = models_info[model_name] if model_name in models_info else models_info['@default']
+ buffer = {}
+ expect = []
@bot.message_handler(commands=['start'])
def send_start_message(message):
@@ -41,6 +43... | feat: interactbot command works with pipes that require multiple inputs | null | deeppavlov/deeppavlov | Apache License 2.0 | Python |
@@ -220,7 +220,7 @@ impl Lvol {
self.as_bdev().uuid_as_string()
}
- /// returns the pool of the lvol
+ /// returns the pool name of the lvol
pub fn pool(&self) -> String {
unsafe {
Lvs(NonNull::new_unchecked(self.0.as_ref().lvol_store))
@@ -229,6 +229,13 @@ impl Lvol {
}
}
+ /// returns the pool uuid of the lvol
+ pub ... | feat(lvs): add function to get pool uuid of lvol | null | openebs/mayastor | Apache License 2.0 | Rust |
+#!/bin/bash
+
+echo 'Setting up your developmental environment. This may take a while.'
+
+echo '[*] Installing GNUpg...'
+brew install gnupg
+
+echo '[*] Adding Keys for rvm...'
+gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
+
+echo ... | feat: add OSX setup script | null | wikieducationfoundation/wikiedudashboard | MIT License | Shell |
@@ -329,7 +329,7 @@ class CMDMODTestCase(TestCase, LoaderModuleMockMixin):
if not salt.utils.platform.is_darwin():
getpwnam_mock.assert_called_with('foobar')
- @skipIf(salt.utils.platform.is_windows(), 'Do not run on Windows')
+ @skipIf(not salt.utils.platform.is_darwin(), 'applicable to macOS only')
def test_shell_pro... | feat: skip test if platform is not macOS | null | saltstack/salt | Apache License 2.0 | Python |
@@ -52,6 +52,7 @@ import { fetchBlockByHash, fetchTransactionsByBlockHash, fetchBlockByNumber } fr
import { copyElementValue, shannonToCkb } from '../../utils/util'
import { startEndEllipsis, validNumber } from '../../utils/string'
import browserHistory from '../../routes/history'
+import { localeNumberString } from '.... | feat: Localized block detail page numbers | null | nervosnetwork/ckb-explorer-frontend | MIT License | TypeScript |
+use super::Options;
use eyre::Result;
use stencila_schema::Node;
/// Encode a `Node` to a JSON document
-pub fn encode(node: &Node) -> Result<String> {
- Ok(serde_json::to_string_pretty::<Node>(node)?)
+///
+/// Defaults to pretty (indented). Use "compact" theme for non-indented JSON.
+pub fn encode(node: &Node, optio... | feat(Encoding JSON): Add option for compact or indented | null | stencila/stencila | Apache License 2.0 | Rust |
@@ -233,12 +233,20 @@ export default class ChatRoom extends Listenable {
}
/**
- *
+ * Joins the chat room.
* @param password
+ * @returns {Promise} - resolved when join completes. At the time of this
+ * writing it's never rejected.
*/
join(password) {
this.password = password;
- this.moderator.allocateConferenceFocus... | feat(ChatRoom): join() returns a Promise | null | jitsi/lib-jitsi-meet | Apache License 2.0 | JavaScript |
@@ -18,20 +18,14 @@ fn append_el<'a, Ms>(
new: &'a mut El<Ms>,
parent: &web_sys::Node,
mailbox: &Mailbox<Ms>,
-) -> Option<&'a web_sys::Node> {
+) {
virtual_dom_bridge::assign_ws_nodes_to_el(document, new);
virtual_dom_bridge::attach_el_and_children(new, parent, mailbox);
- new.node_ws.as_ref()
}
-fn append_text<'a>(
-... | feat(el_key): Clean up patch execution functions | null | seed-rs/seed | MIT License | Rust |
@@ -210,10 +210,12 @@ open class AVFoundationPlayback: Playback {
return playbackType == .live ? isDvrAvailable : !duration.isZero
}
+ @available(*, unavailable)
public required init?(coder _: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
+ @available(*, unavailable)
public required init(context _: U... | feat: mark unused initializers as unavailable | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -82,6 +82,9 @@ pub mod pallet {
oracle_id: T::AccountId,
values: Vec<(OracleKey, T::UnsignedFixedPoint)>,
},
+ AggregateUpdated {
+ values: Vec<(OracleKey, Option<T::UnsignedFixedPoint>)>,
+ },
OracleAdded {
oracle_id: T::AccountId,
name: Vec<u8>,
@@ -256,10 +259,16 @@ impl<T: Config> Pallet<T> {
let current_time = ... | feat: added event for when the oracle aggregate gets updated | null | interlay/interbtc | Apache License 2.0 | Rust |
@@ -146,11 +146,16 @@ def create_custom_fields(custom_fields, ignore_validate = False, update=True):
if not ignore_validate and frappe.flags.in_setup_wizard:
ignore_validate = True
- for doctype, fields in custom_fields.items():
+ for doctypes, fields in custom_fields.items():
if isinstance(fields, dict):
# only one fi... | feat: allow tuple of doctypes as key | null | frappe/frappe | MIT License | Python |
@@ -55,7 +55,7 @@ module.exports = {
const xStyle = scrollBarCfg.xStyle;
const xScale = chart.getXScale();
const limitRange = Helper._getLimitRange(data, xScale);
- const currentRange = Helper._getFieldRange(xScale, limitRange);
+ const currentRange = Helper._getFieldRange(xScale, limitRange, xScale.type);
let horizont... | feat: add scrollBar plugin for pan and pinch interaction | null | antvis/f2 | MIT License | JavaScript |
@@ -70,9 +70,11 @@ const _Pools = () => {
New Position
</Button>
</Link.Internal>
+ <Link.External href="https://rbieu62gj0f.typeform.com/to/KkrPkOFe">
<Button fullWidth color="gray" startIcon={<OnsenIcon width={16} height={16} />}>
Join Onsen
</Button>
+ </Link.External>
</div>
</div>
</section>
| feat(apps/pool): add join onsen button | null | sushiswap/sushiswap | MIT License | TypeScript |
@@ -15,16 +15,12 @@ use Thunder\Shortcode\ShortcodeFacade;
use function flextype;
use function strings;
-final class Shortcode
+final class Shortcodes
{
/**
- * The Shortcode's instance is stored in a static field. This field is an
- * array, because we'll allow our Shortcode to have subclasses. Each item in
- * this a... | feat(shortcodes): update Shortcodes parser | null | flextype/flextype | MIT License | PHP |
@@ -611,8 +611,20 @@ impl Column {
// Methods for inspecting
//
+ /// Determines if this column contains any NULL values.
+ pub fn contains_null(&self) -> bool {
+ match &self {
+ Column::String(_, data) => data.contains_null(),
+ Column::Float(_, data) => data.contains_null(),
+ Column::Integer(_, data) => data.contai... | feat: add non-null checking to column abstraction | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -29,12 +29,17 @@ impl Holder {
) -> Result<(CredentialRequest, CredentialBlinding), CredentialError> {
let nonce = ProofNonce::from(offer.id);
let mut i = 0;
+ let mut found = false;
for (j, att) in offer.schema.attributes.iter().enumerate() {
if att.label == SECRET_ID {
i = j;
+ found = true;
break;
}
}
+ if !found... | feat(rust): throw an error if secret id doesn't exist | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -47,6 +47,13 @@ func WithVersion(version string) Option {
}
}
+// WithSignal .
+func WithContext(ctx context.Context) Option {
+ return func(o *options) {
+ o.ctx = ctx
+ }
+}
+
// WithSignal .
func WithSignal(sigs ...os.Signal) Option {
return func(o *options) {
| feat: add context func | null | go-eagle/eagle | MIT License | Go |
@@ -18,6 +18,7 @@ waybar::Bar::Bar(struct waybar_output* w_output, const Json::Value& w_config)
window.set_name("waybar");
window.set_decorated(false);
window.get_style_context()->add_class(output->name);
+ window.get_style_context()->add_class(config["name"].asString());
window.get_style_context()->add_class(config["p... | feat(bar): individual bars can be named for CSS | null | alexays/waybar | MIT License | C++ |
@@ -19,6 +19,7 @@ export function ColumnHeader<R>({
const columnKey = column.key
const columnFormat = getColumnFormat(columnType, format)
const state = useTrackedState()
+ const hoverValue = column.name as string
// keep state.gridColumns' order in sync with data grid component
if (state.gridColumns[columnIdx].key != c... | feat: table column title hover | null | supabase/supabase | Apache License 2.0 | TypeScript |
@@ -331,7 +331,9 @@ class Renderer {
}
private void checkStatement(GameConfig gameConfig, QuestionConfig questionConfig, String tag, ExportReport exportReport) {
-
+ if (!questionConfig.getStatementsLanguageMap().containsKey(Constants.LANGUAGE_ID_ENGLISH)) {
+ exportReport.addItem(ReportItemType.ERROR, tag + "Missing s... | feat(sdk-config): add check statement | null | codingame/codingame-game-engine | MIT License | Java |
import asyncio
import logging
import random
+import typing as t
import discord
from discord.ext import commands
@@ -88,11 +89,16 @@ class Bookmark(commands.Cog):
async def bookmark(
self,
ctx: commands.Context,
- target_message: WrappedMessageConverter,
+ target_message: t.Optional[WrappedMessageConverter],
*,
title: s... | feat: allow replying to messages to bookmark | null | python-discord/sir-lancebot | MIT License | Python |
@@ -259,6 +259,11 @@ if (process.env.SENTRYCLI_LOCAL_CDNURL) {
npmLog.stream = getLogStream('stderr');
+if (process.env.SENTRYCLI_SKIP_DOWNLOAD === '1') {
+ npmLog.info('sentry-cli', `Skipping download because SENTRYCLI_SKIP_DOWNLOAD=1 detected.`);
+ process.exit(0);
+}
+
downloadBinary()
.then(() => checkVersion())
.t... | feat: add SENTRYCLI_SKIP_DOWNLOAD flag for preventing download | null | getsentry/sentry-cli | BSD 3-Clause New or Revised License | JavaScript |
@@ -34,6 +34,7 @@ defmodule Moon.Components.TextInput do
prop keydown, :event
prop keyup, :event
prop blur, :event
+ prop step, :string, default: "1"
prop background_color, :string, values: Moon.colors(), default: "goku-100"
prop size, :string, values: ["medium", "large"], default: "large"
@@ -72,7 +73,8 @@ defmodule M... | feat: added step opts to number input | null | coingaming/moon | MIT License | Elixir |
@@ -511,44 +511,42 @@ metas:
flow_plain = f'''from jina import Flow
f = Flow().add(uses='jinahub://{executor_name}')
-
-with f:
- ...'''
+'''
flow_docker = f'''from jina import Flow
f = Flow().add(uses='jinahub+docker://{executor_name}')
+'''
-with f:
- ...'''
+ flow_sandbox = f'''from jina import Flow
- p1 = Panel(
- ... | feat: add sandbox after push | null | jina-ai/jina | Apache License 2.0 | Python |
@@ -121,7 +121,7 @@ class Collection
*
* @param mixed $items Items to collect
*/
- public static function collect($items) : Collection
+ public static function collection($items) : Collection
{
return new Collection($items);
}
| feat(element-queries): update collect() | null | flextype/flextype | MIT License | PHP |
@@ -662,7 +662,7 @@ public class Bridge {
* Restore any saved bundle state data
* @param savedInstanceState
*/
- protected void restoreInstanceState(Bundle savedInstanceState) {
+ public void restoreInstanceState(Bundle savedInstanceState) {
String lastPluginId = savedInstanceState.getString(BUNDLE_LAST_PLUGIN_ID_KEY);... | feat(android): Make Bridge.restoreInstanceState() public | null | ionic-team/capacitor | MIT License | Java |
+# -*- coding: utf-8 -*-
+# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors
+# MIT License. See license.txt
+
+from __future__ import unicode_literals
+
+from datetime import datetime
+import frappe
+from frappe import _
+from frappe.utils import cint
+from werkzeug.wrappers import Response
+
+
+def ... | feat: Rate Limiter | null | frappe/frappe | MIT License | Python |
+use crate::{Entity, Identity, SecureChannelTrustInfo, TrustPolicy};
+use ockam_core::compat::string::String;
+use ockam_core::vault::PublicKey;
+use ockam_core::{async_trait, compat::boxed::Box};
+use ockam_core::{AsyncTryClone, Result};
+
+#[derive(AsyncTryClone)]
+pub struct TrustPublicKeyPolicy {
+ public_key: Publ... | feat(rust): add `TrustPublicKeyPolicy` | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -36,6 +36,7 @@ import org.apache.commons.io.FileUtils;
import org.apache.commons.io.FilenameUtils;
import com.codingame.gameengine.runner.ConfigHelper.GameConfig;
+import com.codingame.gameengine.runner.ConfigHelper.GameType;
import com.codingame.gameengine.runner.ConfigHelper.QuestionConfig;
import com.codingame.ga... | feat(sdk): add check cases on config.ini check | null | codingame/codingame-game-engine | MIT License | Java |
+import { TAU } from "@thi.ng/math";
+import type { StatelessOscillator } from "../api";
+
+export const cos: StatelessOscillator = (phase, freq, amp = 1, dc = 0) =>
+ dc + amp * Math.cos(phase * freq * TAU);
| feat(dsp): add cos() stateless oscillator | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
@@ -20,6 +20,7 @@ public class CAPDevicePlugin: CAPPlugin {
"memUsed": memUsed,
"diskFree": diskFree,
"diskTotal": diskTotal,
+ "name": UIDevice.current.name,
"model": UIDevice.current.model,
"operatingSystem": "ios",
"osVersion": UIDevice.current.systemVersion,
| feat(ios): add device name to Device.getInfo() | null | ionic-team/capacitor | MIT License | Swift |
@@ -28,7 +28,7 @@ module.exports = {
If you use Webpack for loading CSS, you'll also need to install your loaders:
\`\`\`bash
-npm install style-loader css-loader postcss-loader
+npm install style-loader css-loader postcss-loader cssnano
\`\`\`
And add a \`module.rule\` to your \`webpack.config.js\`:
@@ -74,6 +74,77 @@... | feat(site): update build docs with SSR and peer dep setup info | null | pluralsight/design-system | Apache License 2.0 | JavaScript |
@@ -181,9 +181,12 @@ dependencies {
protobuf {
protoc {
- artifact = if (osdetector.os == "osx")
- "${libs.google.protobuf.protoc.get()}:osx-aarch_64"
- else
+ artifact = if (osdetector.os == "osx") {
+ // support both Apple Silicon and Intel chipsets
+ val arch = System.getProperty("os.arch")
+ val suffix = if (arch =... | feat: use correct protoc binary for macOS | null | libchecker/libchecker | Apache License 2.0 | Kotlin |
if [ -z "$1" ]; then
echo "Usage: ./run-test.sh <path to testcase>"
exit 1
-elif [ "$1" = "all" ]; then
+fi
+
+path="$1"
+if [ path = "all" ]; then
+ path = "tests"
+fi
+
+testcases=$(find $path -name native_posix.keymap -exec dirname \{\} \;)
+num_cases=$(echo "$testcases" | wc -l)
+if [ $num_cases -gt 1 ]; then
echo ... | feat(tests): run subdirectory of tests | null | zmkfirmware/zmk | MIT License | Shell |
@@ -497,6 +497,26 @@ impl MultiAddr {
pub fn shrink_to_fit(&mut self) {
self.dat.shrink_to_fit()
}
+
+ /// Try to extend this multi-address with another sequence of protocols.
+ pub fn try_extend<'a, T>(&mut self, iter: T) -> Result<(), Error>
+ where
+ T: IntoIterator<Item = ProtoValue<'a>>,
+ {
+ for p in iter.into_i... | feat(rust): add `MultiAddr::{try_extend, try_with}` | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -39,6 +39,8 @@ import org.eolang.maven.Moja;
* Fake maven workspace that executes Mojos in order to test
* their behaviour and results.
* @since 0.28.12
+ * @todo #1417:90min Make `FakeMaven.exec()` return a `HashMap` with all
+ * files created in the directory and their relative names. Then, we can assert on this h... | feat(#1417): create puzzle | null | cqfn/eo | MIT License | Java |
@@ -1573,18 +1573,6 @@ impl<T: Config> Pallet<T> {
)
}
- pub fn is_collateral_below_secure_threshold(
- collateral: &Amount<T>,
- wrapped_amount: &Amount<T>,
- ) -> Result<bool, DispatchError> {
- let currency_pair = VaultCurrencyPair {
- collateral: collateral.currency(),
- wrapped: wrapped_amount.currency(),
- };
- l... | feat(pervault-secure-thresholds): remove now-unused function for global secure collateral | null | interlay/interbtc | Apache License 2.0 | Rust |
@@ -80,7 +80,7 @@ use log4rs::{
},
Append,
},
- config::{Appender, Config, Root},
+ config::{Appender, Config, Logger, Root},
encode::pattern::PatternEncoder,
};
use num_traits::FromPrimitive;
@@ -4153,6 +4153,36 @@ unsafe fn init_logging(
let lconfig = Config::builder()
.appender(Appender::builder().build("logfile", l... | feat: change log level ffi comms | null | tari-project/tari | BSD 3-Clause New or Revised License | Rust |
@@ -117,30 +117,48 @@ class Forge extends \CodeIgniter\Database\Forge
{
return parent::_alterTable($alter_type, $table, $field);
}
+ elseif ($alter_type === 'CHANGE')
+ {
+ $alter_type = 'MODIFY';
+ }
$sql = 'ALTER TABLE ' . $this->db->escapeIdentifiers($table);
- foreach ($field as $i => $data)
+ $sqls = [];
+ for ($i... | feat: add alter table method | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -119,17 +119,46 @@ export default (Component) => (
>
{(mutationFunction) => (
<Query query={query} variables={variables}>
- {({ data: cartData }) => {
- const { anonymousCartByCartId, accountCartByAccountId } = cartData || {
- anonymousCartByCartId: null,
- accountCartByAccountId: null
- };
-
- const cart = anonymou... | feat: cart item pagination | null | reactioncommerce/example-storefront | Apache License 2.0 | JavaScript |
@@ -2,12 +2,21 @@ import type { Plugin } from '@ice/types';
const plugin: Plugin = ({ onGetConfig }) => {
onGetConfig((config) => {
+ // @ts-ignore
config.configureWebpack = [...(config.configureWebpack || []), (webpackConfig) => {
- webpackConfig.resolve.alias = {
- ...(webpackConfig.resolve.alias || {}),
+ return Obj... | feat: add alias for plugin rax compat | null | alibaba/ice | MIT License | TypeScript |
@@ -1199,7 +1199,7 @@ pub extern fn pactffi_with_body(
let body = if reqres.request.content_type().unwrap_or_default().is_json() {
let category = reqres.request.matching_rules.add_category("body");
OptionalBody::Present(Bytes::from(process_json(body.to_string(), category, &mut reqres.request.generators)),
- Some(JSON.c... | feat: allow non deafult json content-type | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -104,6 +104,7 @@ function copy_more_dll() {
fi
}
+
function do_build() {
for ver in ${ALL_PYTHON}
do
@@ -171,6 +172,7 @@ function do_build() {
${PYTHON_DIR}/python3 setup.py bdist_wheel
cp ${BUILD_DIR}/staging/dist/Meg*.whl ${WINDOWS_WHL_HOME}/
+
echo ""
echo "########################################################... | feat(lite): add windows lite whl scripts, enable megenginelite | null | megengine/megengine | Apache License 2.0 | Shell |
@@ -261,7 +261,7 @@ int main(int argc, const char** argv)
}
}
}
- if (cmd_toks[0] == "put") {
+ else if (cmd_toks[0] == "put") {
if (args.size() != 4) {
cerr << "Bad command." << endl;
continue;
@@ -295,7 +295,7 @@ int main(int argc, const char** argv)
cerr << "FINISH: Success, took:" << secs(now() - start) << "s\n";
}... | feat(test/test-dht): {OR=>XOR} parsing of cli cmds | null | equalitie/ouinet | MIT License | C++ |
@@ -427,6 +427,9 @@ class WXCJKG12LMZ2MLightController(Z2MLightController):
"button_4_release": Z2MLight.RELEASE,
}
+class WXCJKG13LMMediaPlayerController(MediaPlayerController):
+ def get_deconz_actions_mapping(self) -> DefaultActionsMapping:
+ return {}
class WXCJKG13LMLightController(LightController):
def get_z2m_ac... | feat(aqara.py): allow WXCJKG13LM to control media players | null | xaviml/controllerx | MIT License | Python |
@@ -34,8 +34,8 @@ const getIsTypeableKey = key => {
return key.length === 1 || keysEdit.includes(key)
}
-const MoleculeAutosuggest = ({multiselection, ...props}) => {
- const {
+const MoleculeAutosuggest = ({
+ multiselection,
refMoleculeAutosuggest: refMoleculeAutosuggestFromProps,
children,
onToggle,
@@ -48,9 +48,10 ... | feat(molecule/autosuggest): add accesibilty props and refactor for render one content component | null | sui-components/sui-components | MIT License | JavaScript |
@@ -27,6 +27,7 @@ use naive_cityhash::cityhash128;
use poem::error::BadRequest;
use poem::error::InternalServerError;
use poem::error::Result as PoemResult;
+use poem::get;
use poem::post;
use poem::web::Query;
use poem::Body;
@@ -175,12 +176,19 @@ pub async fn clickhouse_handler_post(
.map_err(InternalServerError)
}
+... | feat: CK httpapi support /ping | null | datafuselabs/databend | Apache License 2.0 | Rust |
-var TaskTableHeaderLabels = {
- cpus: "CPU",
- gpus: "GPU",
- disk: "Disk",
- host: "Host",
- zone: "Zone",
- region: "Region",
- mem: "Mem",
- id: "ID",
- name: "Name",
- status: "Status",
- health: "Health",
- updated: "Updated",
- version: "Version"
+import { i18nMark } from "@lingui/react";
+
+const TaskTableHeade... | feat(TaskTableHeaderLabels): mark labels for translation | null | dcos/dcos-ui | Apache License 2.0 | JavaScript |
@@ -24,6 +24,7 @@ func Load(g *gin.Engine, mw ...gin.HandlerFunc) *gin.Engine {
g.Use(middleware.Secure)
g.Use(middleware.Logging())
g.Use(middleware.RequestID())
+ g.Use(middleware.PromMiddleware(nil))
g.Use(mw...)
// 404 Handler.
| feat: add prometheus middleware | null | go-eagle/eagle | MIT License | Go |
@@ -116,10 +116,20 @@ namespace acl
// Constructs a context instance from a settings instance.
decompression_context(const decompression_settings_type& settings);
+ //////////////////////////////////////////////////////////////////////////
+ // Returns the compressed tracks bound to this context instance.
+ const compr... | feat(decompression): add a few useful functions and add missing documentation | null | nfrechette/acl | MIT License | C |
@@ -2,6 +2,7 @@ import {
Box,
CircularProgress,
Grid,
+ Icon,
Mark,
Paper,
Slider,
@@ -19,9 +20,15 @@ import {
usePresetSelectionsQuery,
useRobotAttributeQuery,
} from "../api";
+import {ExpandLess as OpenIcon, ExpandMore as CloseIcon} from "@mui/icons-material";
import LoadingFade from "../components/LoadingFade";
imp... | feat(ui): Collapse preset selection controls | null | hypfer/valetudo | Apache License 2.0 | TypeScript |
@@ -127,15 +127,22 @@ module.exports = {
});
}
- // takes component object and creates file glob matching selected components
- config.globs.components = (Array.isArray(config.components) && config.components.length >= 1)
- ? '{' + config.components.join(',') + '}'
- : '{' + defaults.components.join(',') + '}'
+ const ... | feat(build): remove individuals from components | null | fomantic/fomantic-ui | MIT License | JavaScript |
+import { ChainId } from '@sushiswap/chain'
+import { Token, WNATIVE } from '@sushiswap/currency'
+import { BigintIsh } from '@sushiswap/math'
+import { findMultiRouteExactIn, MultiRoute, NetworkInfo, RouteStatus, RToken } from '@sushiswap/tines'
+import { BigNumber, BigNumberish, ethers } from 'ethers'
+import { Limit... | feat: +DataFetcher | null | sushiswap/sushiswap | MIT License | TypeScript |
@@ -41,6 +41,9 @@ const DB_RULES_FILE_NAME: &str = "rules.pb";
#[derive(Debug, Snafu)]
#[allow(missing_docs)]
pub enum IoxObjectStoreError {
+ #[snafu(display("{}", source))]
+ UnderlyingObjectStoreError { source: object_store::Error },
+
#[snafu(display(
"Cannot create database `{}`; it already exists with generation ... | feat: Add a method to find one active database in object storage | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -138,7 +138,7 @@ final class DcsDepgraph implements Dependencies {
} catch (final MojoExecutionException ex) {
throw new IllegalStateException(
String.format(
- "Dphgraph. Uploading of dependencies file failed for the dependency %s",
+ "Dphgraph. Creation of the dependencies file failed for the dependency %s",
origi... | feat(#934): Uploading -> Creation | null | cqfn/eo | MIT License | Java |
@@ -15,9 +15,9 @@ var uploadTemplate = require('../../../../../client/scripts/components/variables
module.exports = function(ngModule) {
ngModule.controller('VariableInstancesController', [
'$scope', '$sce', '$http', 'search', 'Uri', 'LocalExecutionVariableResource',
- 'Notifications', '$modal', '$q', 'camAPI', 'fixDat... | feat(cockpit): Add persistence to runtime variable table | null | camunda/camunda-bpm-platform | Apache License 2.0 | JavaScript |
using System;
using System.Collections.Generic;
using System.Globalization;
+using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
+// ReSharper disable MemberCanBePrivate.Global
// ReSharper disable ParameterOnlyUsedForPreconditionCheck.Local
@@ -149,6 +151,37 @@ namespace Peanut... | feat: add AsStream() extension for strings | null | fluffynuts/peanutbutter | BSD 3-Clause New or Revised License | C# |
@@ -9,5 +9,6 @@ export const reductions: { [ index: number ] : number[] } = {
20015: [20010],
20013: [20012, 20011, 20180],
20017: [20024],
- 20016 : [ 19937 ]
-}
+ 20016: [19937],
+ 23182: [23220, 23221]
+};
| feat: added timers for duskglow aethersand in alarms page | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
public extension UIImageView {
func download(url: URL) {
- URLSession.shared.dataTask(with: url) { data, response, error in
+ let request = URLRequest(url: url, cachePolicy: .returnCacheDataElseLoad)
+
+ URLSession.shared.dataTask(with: request) { data, response, error in
guard
let httpURLResponse = response as? HTTPUR... | feat: adding cache policy in image request | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -7,6 +7,8 @@ use salvo_core::{Depot, Error, Handler};
/// key used when insert into depot.
pub const DATA_KEY: &str = "::salvo::extra::authorization::data";
+/// key used when insert into depot.
+pub const DATA_TYPE: &str = "::salvo::extra::authorization::type";
/// AuthorizationValidator
#[async_trait]
@@ -16,7 +18... | feat: add `depot` key | null | salvo-rs/salvo | Apache License 2.0 | Rust |
@@ -40,8 +40,8 @@ Common options:
<database.task.protocol> Experimental protocol (e.g. "Etape.SpeakerDiarization.TV")
--database=<db.yml> Path to database configuration file.
[default: ~/.pyannote/db.yml]
- --subset=<subset> Set subset [default: development].
-
+ --subset=<subset> Set subset. Defaults to 'development' ... | feat: add --subset option to "pyannote-pipeline apply" | null | pyannote/pyannote-audio | MIT License | Python |
@@ -281,11 +281,17 @@ impl CopyInterpreterV2 {
from: &ReadDataSourcePlan,
copy_stage_files: BTreeMap<String, TableCopiedFileInfo>,
) -> Result<PipelineBuildResult> {
- let files: Vec<String> = copy_stage_files.keys().cloned().collect();
- let mut build_res = PipelineBuildResult::create();
+ // let mut v = [5, 4, 1, 3, ... | feat: copy files order by last modified time asc | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -573,12 +573,15 @@ impl_event_handler!(A, B, C, D, E, F, G);
impl_event_handler!(A, B, C, D, E, F, G, H);
mod static_events {
- use ruma::events::{
+ use ruma::{
+ events::{
self,
presence::{PresenceEvent, PresenceEventContent},
EphemeralRoomEventContent, GlobalAccountDataEventContent, MessageLikeEventContent,
Redac... | feat(sdk): Allow `Raw<_>` to be used as the first event handler argument | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -36,7 +36,8 @@ public abstract class BaseResourceCreateRequestBuilder <RB extends BaseResourceC
private String title;
private String language;
private String description;
- private String status;
+ // resources start their lifecycle in draft mode
+ private String status = "draft";
private String copyright;
private S... | feat: newly created resources start their lifecycle in draft mode | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -12,6 +12,7 @@ class Canonicalizer(gast.NodeTransformer):
def __init__(self):
super().__init__()
self.for_continue_stack = []
+ self.for_breaked_stack = []
self.flagid = -1
def getflag(self):
@@ -21,8 +22,8 @@ class Canonicalizer(gast.NodeTransformer):
def visit_UnaryOp(self, node):
node = self.generic_visit(node)
i... | feat: Canonicalize break (move them to the end) | null | pfnet-research/chainer-compiler | MIT License | Python |
@@ -82,6 +82,18 @@ const Examples = ({ type, Component }) => {
</div>
</div>
)}
+ {meta.test &&
+ meta.test.methods &&
+ meta.test.methods.map((method) => (
+ <button
+ key={method}
+ onClick={() => {
+ block.registeredMethods[method]();
+ }}
+ >
+ {method}
+ </button>
+ ))}
</div>
);
})}
| feat(blocksAntd): render methods onClicks | null | lowdefy/lowdefy | Apache License 2.0 | JavaScript |
import React, {PropTypes} from 'react'
+import cx from 'classnames'
const CoverBasic = (props) => {
const buttons = buildButtons(props)
// Custom css class is attached when component is clickable.
- const isClickableClass = isClickable(props) ? ' is-clickable' : ''
+ const coverBasicClassNames = cx('sui-CoverBasic', {
... | feat(cover/basic): use classnames to generate className property | null | sui-components/sui-components | MIT License | JavaScript |
@@ -85,7 +85,8 @@ fn make_delegate() -> AppDelegate<State> {
AppDelegate::new().event_handler(|event, data, _env, ctx| {
match event {
Event::Command(ref cmd) if cmd.selector == druid::command::sys::NEW_FILE => {
- let new_win = WindowDesc::new(ui_builder).menu(make_menu(data));
+ let new_win = WindowDesc::new(ui_build... | feat: Added window size API to multi window example | null | linebender/druid | Apache License 2.0 | Rust |
@@ -100,6 +100,7 @@ export default {
backgroundColor: BaseTheme.palette.ui16,
bottom: BaseTheme.spacing[3],
borderRadius: 4,
+ margin: BaseTheme.spacing[3],
paddingHorizontal: BaseTheme.spacing[3],
paddingVertical: BaseTheme.spacing[1],
position: 'absolute'
| feat(prejoin/native): adjusted room name margins | null | jitsi/jitsi-meet | Apache License 2.0 | JavaScript |
@@ -48,10 +48,10 @@ class SeekbarView: UIView {
}
var seekbarWidth: CGFloat = 0
-
var videoDuration: CGFloat = 0
-
var isSeeking = false
+ var scrubberInitialWidth: CGFloat = 0.0
+ var scrubberInitialHeight: CGFloat = 0.0
weak var delegate: SeekbarDelegate?
@@ -64,6 +64,9 @@ class SeekbarView: UIView {
moveScrubber(rel... | feat: creating scrubber animation when is touching | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
+#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_overlap_similarity(std::vector<T> A, std::vector<T> B) {
+ std::sort(std::begin(... | feat(similarity): add overlap similarity algorithm | null | tigergraph/gsql-graph-algorithms | Apache License 2.0 | C++ |
@@ -14,6 +14,9 @@ export class Adapter implements DAP.Adapter {
private _browserSession: CDPSession;
private _targetManager: TargetManager;
private _mainTarget: Target;
+ private _lastVariableReference: number = 0;
+ private _variableToObject: Map<number, Protocol.Runtime.RemoteObjectId> = new Map();
+ private _objectT... | feat(eval): render object properties | null | microsoft/vscode-js-debug | MIT License | TypeScript |
@@ -14,6 +14,7 @@ fn print_number(maybe_number: Option<u16>) {
// TODO: Return an Option!
fn maybe_icecream(time_of_day: u16) -> Option<u16> {
// We use the 24-hour system here, so 10PM is a value of 22
+ // The Option output should gracefully handle cases where time_of_day > 24.
???
}
@@ -24,8 +25,9 @@ mod tests {
#[t... | feat(options1): update expected result | null | rust-lang/rustlings | MIT License | Rust |
@@ -16,12 +16,14 @@ func TestTablePrinter_NilPrint(t *testing.T) {
func TestTablePrinter_Render(t *testing.T) {
proxyToDevNull()
- pterm.DefaultTable.WithHasHeader().WithData(pterm.TableData{
+ d := pterm.TableData{
{"Firstname", "Lastname", "Email"},
{"Paul", "Dean", "nisi.dictum.augue@velitAliquam.co.uk"},
{"Callie",... | feat(coverage): add unit test | null | pterm/pterm | MIT License | Go |
@@ -73,11 +73,11 @@ const v3 = {
webpackConfig.optimization.runtimeChunk = {
name: 'app-config'
}
+ webpackConfig.optimization.splitChunks = require('../split-chunks')()
} else if (isAppView) {
webpackConfig.optimization.runtimeChunk = false
- }
-
webpackConfig.optimization.splitChunks = false
+ }
let devtool = false
| feat(v3): app-confusion.js | null | dcloudio/uni-app | Apache License 2.0 | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.