diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -51,11 +51,13 @@ public final class CodeSystemResourceTypeConverter implements ResourceTypeConver
@Override
public void expand(RepositoryContext context, Options expand, List<ExtendedLocale> locales, Collection<Resource> results) {
if (expand.containsKey("content")) {
+ final Options expandOptions = expand.getOption... | feat(api): support `active` and `version` parameters in content expand | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -30,6 +30,7 @@ import javax.inject.Singleton;
import dagger.Module;
import dagger.Provides;
import okhttp3.Authenticator;
+import okhttp3.Cache;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
@@ -118,19 +119,29 @@ public class NetworkModule {
};
}
+ @Provides
+ @Singleton
+ Cache provi... | feat: Include OkHttp cache for Picasso and Retrofit | null | fossasia/open-event-organizer-android | Apache License 2.0 | Java |
@@ -4,10 +4,39 @@ set -e
os=$(uname | tr '[:upper:]' '[:lower:]')
arch=$(uname -m | tr '[:upper:]' '[:lower:]' | sed -e s/x86_64/amd64/)
+if [ "$arch" = "aarch64" ]; then
+ arch="arm64"
+fi
+
+url="https://infracost.io/downloads/latest"
+tar="infracost-$os-$arch.tar.gz"
echo "Downloading latest release of infracost-$os... | feat: add shasum checking into install.sh | null | infracost/infracost | Apache License 2.0 | Shell |
@@ -69,6 +69,16 @@ export const floorMonth: RoundingFn = (epoch) => {
return Date.UTC(d.getUTCFullYear(), d.getUTCMonth());
};
+/**
+ * Rounds down `epoch` to month precision, but at beginning of a quarter.
+ *
+ * @param epoch
+ */
+export const floorQuarter: RoundingFn = (epoch) => {
+ const d = ensureDate(epoch);
+ ... | feat(date): add quarter-based rounding fns | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
*/
import * as React from 'react';
+import { LayoutPluginProps } from 'src';
import {
- LayoutPluginConfig,
ContentPluginConfig,
- ContentPluginProps
+ ContentPluginProps,
+ LayoutPluginConfig
} from './classes';
const ContentMissingComponent = (props: ContentPluginProps<{}>) => (
@@ -38,6 +39,7 @@ const ContentMissing... | feat: allow to remove missing plugins | null | react-page/react-page | MIT License | TypeScript |
@@ -82,7 +82,8 @@ auto waybar::modules::sway::Workspaces::update() -> void
if (config_["format"]) {
auto format = config_["format"].asString();
button.set_label(fmt::format(format, fmt::arg("icon", icon),
- fmt::arg("name", node["name"].asString())));
+ fmt::arg("name", node["name"].asString()),
+ fmt::arg("index", nod... | feat: workspaces index | null | alexays/waybar | MIT License | C++ |
+#pragma once
+
+////////////////////////////////////////////////////////////////////////////////
+// The MIT License (MIT)
+//
+// Copyright (c) 2022 Nicholas Frechette & Animation Compression Library contributors
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software... | feat(math): add qvv_is_finite | null | nfrechette/acl | MIT License | C |
import json
import os
import re
+import time
import warnings
from pathlib import Path
from textwrap import TextWrapper
@@ -568,6 +569,133 @@ class _DeployedContractBase(_ContractBase):
balance = web3.eth.getBalance(self.address)
return Wei(balance)
+ def publish_source(self, silent: bool = False, wait_for_result: bool ... | feat: publish source first version | null | eth-brownie/brownie | MIT License | Python |
@@ -111,8 +111,9 @@ function onReady() {
ctx.tokenService.loadTokens(),
loadIdentity(ctx)
]);
- registerJobHandlers(ctx);
- scheduleInitialJobs(ctx);
+ // XXX Disable scheduler
+ // registerJobHandlers(ctx);
+ // scheduleInitialJobs(ctx);
ctx.txHistoryService.startSyncingJob();
mainWindow.webContents.send('APP_SUCCESS_... | feat(scheduler): temporary disable the sheduler | null | selfkeyfoundation/identity-wallet | MIT License | JavaScript |
@@ -250,6 +250,23 @@ public class Binder<BEAN> implements Serializable {
* @return A boolean value.
*/
public boolean isValidatorsDisabled();
+
+ /**
+ * Define whether the value should be converted back to the presentation
+ * in the field when a converter is used in binding.
+ *
+ * @param convertBackToPresentation
+... | feat: Add API to control whether Binder converts back to presentation (forward port from FW 8 (#12246)) | null | vaadin/flow | Apache License 2.0 | Java |
@@ -303,6 +303,37 @@ TEST_CASE("pack_vector3_32", "[math][vector4][packing]")
}
}
+TEST_CASE("decay_vector3_32", "[math][vector4][decay]")
+{
+ {
+ const uint8_t num_bits_xy = 11;
+ const uint8_t num_bits_z = 10;
+ const uint32_t max_value_xy = (1 << num_bits_xy) - 1;
+
+ uint32_t num_errors = 0;
+ for (uint32_t value ... | feat(tests): add unit test for 32 bit decay | null | nfrechette/acl | MIT License | C++ |
@@ -19,6 +19,9 @@ echo "files: $files"
filteredFiles="$(echo "$files" | { grep -v 'apps-rendering' || :; })"
echo "filteredFiles: $filteredFiles"
+# Github actions sets this by default but we also want this variable set in TeamCity
+export CI=true
+
# run the ci steps if either of the followings is true
# - filteredFil... | feat: Explicitly add CI env var | null | guardian/dotcom-rendering | Apache License 2.0 | Shell |
@@ -42,7 +42,11 @@ def use_native_modules!(root = "..", packages = nil)
existing_dep.name.split('/').first == spec.name
end
- pod spec.name, :path => File.dirname(podspec_path)
+ # Use relative path
+ absolute_podspec_path = File.dirname(podspec_path)
+ relative_podspec_path = File.join(root, absolute_podspec_path.part... | feat: use relative paths for Podfile.lock | null | react-native-community/cli | MIT License | Ruby |
@@ -1335,9 +1335,8 @@ class BaseQuerySet:
:param map_f: map function, as :class:`~bson.code.Code` or string
:param reduce_f: reduce function, as
:class:`~bson.code.Code` or string
- :param output: output collection name, if set to 'inline' will try to
- use :class:`~pymongo.collection.Collection.inline_map_reduce`
- Th... | feat: update map_reduce to use db.command | null | mongoengine/mongoengine | MIT License | Python |
@@ -253,10 +253,11 @@ public final class SnomedConceptConverter extends BaseRevisionResourceConverter<
.prepareSearchDescription()
.all()
.setExpand(expandOptions.get("expand", Options.class))
- .filterByActive(expandOptions.containsKey("active") ? expandOptions.getBoolean("active") : null)
- .filterByType(expandOption... | feat(api): support sorting when expanding `descriptions()`.. | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -3,10 +3,13 @@ package compiled
import (
"fmt"
"io"
+ "math/big"
+ "reflect"
"github.com/consensys/gnark-crypto/ecc"
"github.com/consensys/gnark/backend"
"github.com/consensys/gnark/backend/hint"
+ "github.com/fxamacker/cbor/v2"
)
// CS contains common element between R1CS and CS
@@ -54,6 +57,124 @@ type Hint struct... | feat(internal/backend): explicit type marshalling for hints | null | consensys/gnark | Apache License 2.0 | Go |
@@ -123,6 +123,7 @@ import static com.navercorp.pinpoint.common.trace.AnnotationKeyProperty.VIEW_IN_
* <tr><td>300</td><td>PROXY_HTTP_HEADER</td></tr>
* <tr><td>310</td><td>REDIS.IO</td></tr>
* <tr><td>320</td><td>hbase.client.params</td></tr>
+ * <tr><td>330</td><td>memory.usage</td></tr>
* <tr><td>923</td><td>marker.... | feat: show memory.usage when available | null | pinpoint-apm/pinpoint | Apache License 2.0 | Java |
@@ -47,7 +47,7 @@ const String EVENT_SCROLL = 'scroll';
const String EVENT_SWIPE = 'swipe';
const String EVENT_PAN = 'pan';
const String EVENT_SCALE = 'scale';
-const String EVENT_Long_PRESS = 'longpress';
+const String EVENT_LONG_PRESS = 'longpress';
const String EVENT_STATE_START = 'start';
const String EVENT_STATE_U... | feat: modify string to const | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -170,7 +170,6 @@ struct KernelMap(BTreeMap<KernelId, Kernel>);
impl KernelMap {
/// Get a reference to a kernel
- #[allow(dead_code)]
fn get(&self, kernel_id: &str) -> Result<&Kernel> {
(**self)
.get(kernel_id)
@@ -234,7 +233,7 @@ impl KernelSpace {
/// Set a symbol in the kernel space
pub async fn set(&mut self, na... | feat(Kernels): Add `start`, `stop`, `status` and `show` CLI commands | null | stencila/stencila | Apache License 2.0 | Rust |
@@ -121,9 +121,9 @@ class ElementManager {
_eventTargets.remove(targetId);
}
- void removeChildrenTag(Node target) {
+ void removeChildrenTarget(Node target) {
target?.childNodes?.forEach((element) {
- removeChildrenTag(element);
+ removeChildrenTarget(element);
removeTarget(element.targetId);
});
}
@@ -178,7 +178,7 @@... | feat: modify removeChildrenTar to removeChildrenTarget | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -19,17 +19,7 @@ import java.time.OffsetDateTime
import java.time.ZoneOffset
import java.time.format.DateTimeFormatter
import java.util.concurrent.TimeUnit
-import kotlin.collections.List
-import kotlin.collections.Set
-import kotlin.collections.first
-import kotlin.collections.firstOrNull
-import kotlin.collections.... | feat: handle reply type and print exception | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -9,7 +9,7 @@ declare(strict_types=1);
namespace Flextype\Foundation;
-use Awilum\ArrayDots\ArrayDots;
+use Flextype\Component\Arrays\Arrays;
use Flextype\Component\Filesystem\Filesystem;
use Flextype\Component\Session\Session;
use Ramsey\Uuid\Uuid;
@@ -171,7 +171,6 @@ class Entries
// Entry Routable
$entry_decoded['... | feat(entries): updates for method create() | null | flextype/flextype | MIT License | PHP |
@@ -62,19 +62,19 @@ class Entries
* fields: - array - Array of fields for entries collection.
* events: - array - Array of events for entries collection.
*
- * @var array
+ * @var Collection
*
* @access private
*/
- private array $options = [];
+ private Collection $options;
/**
* Create a new entries object.
*
- * @pa... | feat(entries): add ability to set mixed type options and registry | null | flextype/flextype | MIT License | PHP |
/*
- * Copyright 2019 B2i Healthcare Pte Ltd, http://b2i.sg
+ * Copyright 2019-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.
@@ -29,7 +29,7 @@ import org.slf4j.LoggerFactory;
import com.b2... | feat(snomed): Use LongOrderedSet in TaxonomyGraph | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -162,6 +162,10 @@ public final class ResolveMojo extends SafeMojo {
* Find all deps for all Tojos.
*
* @return List of them
+ * @todo #1595:30 Make method 'deps' testable. For now it's not possible to test
+ * 'ignoreTransitive=false' branch because it's hard to mock all required fields.
+ * Maybe we should provide ... | feat(#1595): add puzzle | null | cqfn/eo | MIT License | Java |
+import { useMemo } from 'react'
+import { useCMS } from '@tinacms/react-core'
+
+type parseFn = (content: string) => any
+type serializeFn = (data: any) => string
+
+export class GithubFile {
+ private sha: string | null = null
+
+ constructor(
+ private cms: any,
+ private path: string,
+ private parse?: parseFn,
+ p... | feat(react-tinacms-github): add GithubFile and useGithubFile | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
+#include <iostream>
+#include <cmath>
+
+// the binomial distribution models the number of
+// successes in a sequence of n independent events
+
+// n : number of trials
+// p : probability of success
+// x : desired successes
+
+// finds the expected value of a binomial distribution
+
+double binomial_expected(double... | feat: added binomial_dist.cpp | null | thealgorithms/c-plus-plus | MIT License | C++ |
@@ -1129,7 +1129,7 @@ App::post('/v1/builds/:buildId')
->groups(['api', 'functions'])
->desc('Retry Build')
->label('scope', 'functions.write')
- ->label('event', 'functions.tags.update')
+ ->label('event', 'functions.deployments.update')
->label('sdk.auth', [APP_AUTH_TYPE_SESSION, APP_AUTH_TYPE_KEY, APP_AUTH_TYPE_JWT]... | feat: update retry build endpoint | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -7,7 +7,7 @@ use null::Null;
use super::{Compiled, Connected, Loader};
-use anyhow::Result;
+use anyhow::{Context, Result};
use cap_std::net::{TcpListener, TcpStream};
use enarx_config::{File, Protocol};
use wasi_common::{file::FileCaps, WasiFile};
@@ -25,8 +25,10 @@ impl Loader<Compiled> {
}
// Set up the arguments... | feat: set `main.wasm` in `argv[0]` | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -10,15 +10,18 @@ export const ConsentItem = ({
id,
handleToggleConsent,
title,
- isVendor
+ isVendor,
+ url
}) => (
<div className={`${CLASS}-consent`}>
<div className={`${CLASS}-consentTitle`}>{title}</div>
<div className={`${CLASS}-consentActions`}>
<AtomSwitch
disabled={!enabled}
+ label=""
labelLeft=""
labelRigh... | feat(cmp/modal): add isVendor prop and put required props | null | sui-components/sui-components | MIT License | JavaScript |
@@ -336,7 +336,7 @@ static int to_builtin_action(struct jc_field *f, struct action *act)
act->c_type = "bool";
}
else {
- fprintf(stderr, "unknown %s\n", f->type.base);
+ //fprintf(stderr, "unknown %s\n", f->type.base);
return 0;
}
return 1;
@@ -396,10 +396,14 @@ to_action(struct jc_field *f, struct action *act)
case D... | feat: support ntl | null | cee-studio/orca | MIT License | C |
@@ -208,6 +208,14 @@ impl Session {
self.session_ctx.set_current_user(user);
}
+ pub fn get_current_role(self: &Arc<Self>) -> String {
+ self.session_ctx.get_current_role()
+ }
+
+ pub fn set_current_role(self: &Arc<Self>, role: String) {
+ self.session_ctx.set_current_role(role);
+ }
+
pub fn set_auth_role(self: &Arc<... | feat: add getter setter in session.rs | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import { createStore, compose, applyMiddleware, combineReducers } from 'redux';
import { createLogger } from 'redux-logger';
import { Provider as StoreProvider, connect } from 'react-redux';
-import { Switch, Route } from 'react-router-dom';
+import { Switch, Route, R... | feat(app-shell/test-app): dashboard as index route | null | commercetools/merchant-center-application-kit | MIT License | JavaScript |
@@ -200,23 +200,23 @@ impl Settings {
possible_values: None,
},
SettingValue {
- default_value: UserSettingValue::String("\n".to_owned()),
+ default_value: UserSettingValue::String("".to_owned()),
user_setting: UserSetting::create(
"format_record_delimiter",
- UserSettingValue::String("\n".to_owned()),
+ UserSettingVal... | feat: use empty string as default value of string format settings | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -11,8 +11,12 @@ type UsageMetric string
const (
// UsageWriteRequestCount is the name of the metrics for tracking write request count.
UsageWriteRequestCount UsageMetric = "usage_write_request_count"
- // UsageWriteRequestBytes is the name of the metrics for tracking the number of bytes.
+ // UsageWriteRequestBytes ... | feat(usage): add query usage metrics | null | influxdata/influxdb | MIT License | Go |
@@ -35,11 +35,22 @@ class Entries
*/
public $storage = [];
+ /**
+ * Get storage
+ *
+ * @param string Key
+ */
public function getStorage(string $key)
{
return Arrays::get($this->storage, $key);
}
+ /**
+ * Set storage
+ *
+ * @param string Key
+ * @param mixed Value
+ */
public function setStorage(string $key, $value... | feat(entries): add new methods getStorage() setStorage() | null | flextype/flextype | MIT License | PHP |
@@ -59,7 +59,10 @@ class Comments extends Component {
document.addEventListener(
"spot-im-current-user-typing-start",
- onCommentStart
+ onCommentStart,
+ {
+ once: true
+ }
);
document.addEventListener(
"spot-im-current-user-sent-message",
| feat(TNLT-3719): add once to spot IM comment call | null | newsuk/times-components | BSD 3-Clause New or Revised License | JavaScript |
@@ -337,7 +337,35 @@ func (ex *resourceExporter) resourceCloneToKind(ctx context.Context, r ResourceT
mapResource(e.GetOrgID(), uniqByNameResID, KindNotificationEndpoint, NotificationEndpointToObject(r.Name, e))
}
case r.Kind.is(KindNotificationRule):
- rule, ruleEndpoint, err := ex.getEndpointRule(ctx, r.ID)
+ var rul... | feat: export notification rules by name | null | influxdata/influxdb | MIT License | Go |
@@ -125,10 +125,16 @@ func DefaultFullNodeConfig() (*ipfscfg.Config, error) {
// In kDHT all records have TTL, thus we have to regularly(Interval) reprovide/reannounce stored CID to the
// network. Otherwise information that the node stores something will be lost. Should be in tact with kDHT
// record cleaning configur... | feat(ipfs): disable automagical providing in IPFS in default configuration | null | lazyledger/lazyledger-core | Apache License 2.0 | Go |
@@ -21,6 +21,13 @@ use std::rc::Rc;
use std::sync::{Arc, Mutex};
use std::thread;
+#[derive(Debug, PartialEq)]
+enum SaveAction {
+ Save,
+ CloseWithoutSave,
+ Cancel,
+}
+
#[derive(Deserialize)]
pub struct MeasureWidth {
pub id: u64,
@@ -124,9 +131,15 @@ impl MainWin {
window.set_application(application);
- window.con... | feat(main_win): ask user if unsaved changes should be save upon closing | null | cogitri/tau | MIT License | Rust |
@@ -583,9 +583,24 @@ final class SnomedEclEvaluationRequest implements Request<BranchContext, Promise
}
protected Promise<Expression> eval(BranchContext context, final TypedTermFilter typedTermFilter) {
- final String term = typedTermFilter.getTerm();
+ return eval(context, typedTermFilter.getClause());
+ }
+
+ protect... | feat(datastore): Update SnomedEclEvaluationRequest after model change | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -135,6 +135,33 @@ impl Context {
R: Into<Route>,
M: Message + Send + 'static,
{
+ self.send_message_from_address(route, msg, self.address())
+ .await
+ }
+
+ /// Send a message via a fully qualified route using specific Worker address
+ ///
+ /// Routes can be constructed from a set of [`Address`]es, or via
+ /// th... | feat(rust): add send_message_from_address to context | null | ockam-network/ockam | Apache License 2.0 | Rust |
package mr
import (
+ "github.com/MakeNowJust/heredoc"
"github.com/profclems/glab/commands/cmdutils"
mrApproveCmd "github.com/profclems/glab/commands/mr/approve"
mrApproversCmd "github.com/profclems/glab/commands/mr/approvers"
@@ -31,6 +32,18 @@ func NewCmdMR(f *cmdutils.Factory) *cobra.Command {
Use: "mr <command> [fl... | feat(commands/mr): add EXAMPLES and ARGUMENTS | null | profclems/glab | MIT License | Go |
@@ -217,37 +217,18 @@ final class OptimizeMojoTest {
}
@Test
- void testOptimizedFail(@TempDir final Path temp) throws Exception {
- final Path src = temp.resolve("foo/main.eo");
- new Home(temp).save(
- String.join(
- "\n",
- "+package f",
- "\n+alias THIS-IS-WRONG org.eolang.io.stdout",
- "[args] > main",
- " (stdout... | feat(#1494): refactor failsOptimization | null | cqfn/eo | MIT License | Java |
@@ -72,6 +72,11 @@ public abstract class Participant<T extends WebDriver>
*/
private String joinedRoomName = null;
+ /**
+ * The url used to join.
+ */
+ private JitsiMeetUrl meetUrl = null;
+
/**
* Executor that is responsible for keeping the participant session alive.
*/
@@ -152,6 +157,7 @@ public abstract class Part... | feat: Store the URL with all options when using it | null | jitsi/jitsi-meet-torture | Apache License 2.0 | Java |
@@ -77,7 +77,6 @@ pub struct Id(#[n(0)] u32);
/// Request methods.
#[derive(Debug, Copy, Clone, Encode, Decode)]
-#[non_exhaustive]
#[rustfmt::skip]
#[cbor(index_only)]
pub enum Method {
| feat(rust): make `Method` enum exhaustive | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -855,10 +855,6 @@ func (t *MemFSTest) AppendMode() {
AssertEq(nil, err)
ExpectEq(13, off)
- off, err = getFileOffset(f)
- AssertEq(nil, err)
- ExpectEq(13, off)
-
// Read back the contents of the file, which should be correct even though we
// seeked to a silly place before writing the world part.
//
| feat: Remove duplicate code in test | null | jacobsa/fuse | Apache License 2.0 | Go |
@@ -346,7 +346,7 @@ where B: BlockchainBackend + 'static
if let Err(res) = result {
error!(
target: LOG_TARGET,
- "BaseNodeService failed to send reply to local block submitter {:?}",
+ "BaseNodeService Caller dropped the oneshot receiver before reply could be sent. Reply: {:?}"
res.map(|r| r.to_string()).map_err(|e| e... | feat: improve logging of dropped channel | null | tari-project/tari | BSD 3-Clause New or Revised License | Rust |
@@ -41,7 +41,7 @@ use snafu::{OptionExt, ResultExt, Snafu};
use tokio::sync::mpsc;
use tonic::Status;
-use tracing::{info, warn};
+use tracing::{error, info, warn};
use super::data::{
fieldlist_to_measurement_fields_response, grouped_series_set_item_to_read_response,
@@ -172,6 +172,7 @@ pub type Result<T, E = Error> = ... | feat: log gRPC errors | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -1537,6 +1537,53 @@ public class Discovery {
request.response(completionHandler: completionHandler)
}
+ /**
+ Get stopword list status.
+
+ Returns the current status of the stopword list for the specified collection.
+
+ - parameter environmentID: The ID of the environment.
+ - parameter collectionID: The ID of the... | feat(DiscoveryV1): Add method to get the stopword list status | null | watson-developer-cloud/swift-sdk | Apache License 2.0 | Swift |
-import { EventType } from 'overmind'
+import { EventType, MODE_SSR } from 'overmind'
const OVERMIND = Symbol('OVERMIND')
const IS_PRODUCTION = process.env.NODE_ENV === 'production'
@@ -11,6 +11,24 @@ function createMixin(overmind, propsCallback) {
return {
beforeMount(this: any) {
+ if (overmind.mode === MODE_SSR) {
+... | feat(overmind-vue): optimize for SSR | null | cerebral/overmind | MIT License | TypeScript |
@@ -137,11 +137,14 @@ impl VcsUrl {
static ref VS_GIT_PATH_RE: Regex = Regex::new(r"^_git/(.+?)(?:\.git)?$").unwrap();
static ref VS_TRAILING_GIT_PATH_RE: Regex = Regex::new(r"^(.+?)/_git").unwrap();
static ref HOST_WITH_PORT: Regex = Regex::new(r"(.*):\d+$").unwrap();
+ static ref GCB_DOMAIN_RE: Regex = Regex::new(r"^... | feat: Support Google Cloud Builder VCS detection | null | getsentry/sentry-cli | BSD 3-Clause New or Revised License | Rust |
@@ -152,13 +152,13 @@ defmodule Extensions.PostgresCdcRls.Subscriptions do
iex> params = %{"schema" => "public", "table" => "messages", "filter" => "subject=in.(hidee,ho)"}
iex> Extensions.PostgresCdcRls.Subscriptions.parse_subscription_params(params)
- {:ok, ["public", "messages", [{"subject", "in", "(hidee,ho)"}]]}
+... | feat: wrap 'in' filter value with curly brackets | null | supabase/realtime | Apache License 2.0 | Elixir |
package org.eolang.maven;
import com.yegor256.tojos.MnCsv;
-import com.yegor256.tojos.MnJson;
-import java.io.File;
import java.io.IOException;
import java.nio.file.Path;
import java.util.LinkedList;
-import org.cactoos.Input;
-import org.cactoos.io.InputOf;
import org.cactoos.io.ResourceOf;
import org.cactoos.text.Tex... | feat(#1679): remove redundant code | null | cqfn/eo | MIT License | Java |
@@ -15,9 +15,12 @@ import TokenInput from '../token-input';
import styles from './styles.css';
-const MODE_ONE_ON_ONE_ID = 'MODE_ONE_ON_ONE_ID';
-const MODE_ONE_ON_ONE = 'MODE_ONE_ON_ONE';
-const MODE_SPACE = 'MODE_SPACE';
+const MODE_ONE_ON_ONE_ID = 'userId';
+const MODE_ONE_ON_ONE = 'email';
+const MODE_SPACE = 'spac... | feat(widget-demo): add destination support | null | webex/react-widgets | MIT License | JavaScript |
@@ -13,8 +13,8 @@ const Badge = styled.span<BadgeProps>(
fontSize: rem(space.small),
lineHeight: 1.25,
fontWeight: fontWeight.bold,
- textAlign: 'center',
textTransform: 'uppercase',
+ textAlign: 'center',
borderRadius: rem(radius.largest),
letterSpacing: rem(0.5),
}),
| feat: force build | null | coingaming/moon-design | MIT License | TypeScript |
@@ -37,7 +37,7 @@ func (s Script) Run(blk nlp.Block, f *core.File) ([]core.Alert, error) {
var alerts []core.Alert
script := tengo.NewScript([]byte(s.Script))
- script.SetImports(stdlib.GetModuleMap("text", "fmt", "math"))
+ script.SetImports(stdlib.GetModuleMap("text", "fmt", "math", "os"))
err := script.Add("scope", ... | feat: enable access to `os` module in `script` | null | errata-ai/vale | MIT License | Go |
@@ -28,7 +28,8 @@ export function AgeBarChart({ data, rates }: SimProps) {
name: age,
fraction: Math.round(data.params.ageDistribution[age] * 1000) / 10,
peakSevere: Math.round(Math.max(...data.deterministicTrajectory.map(x => x.hospitalized[age]))),
- peakCritical: Math.round(Math.max(...data.deterministicTrajectory.m... | feat: made overflow its own entry in bar chart | null | neherlab/covid19_scenarios | MIT License | TypeScript |
+/*
+ * @lc app=leetcode id=2 lang=cpp
+ *
+ * [2] Add Two Numbers
+ */
+
+// @lc code=start
+/**
+ * Definition for singly-linked list.
+ * struct ListNode {
+ * int val;
+ * ListNode *next;
+ * ListNode() : val(0), next(nullptr) {}
+ * ListNode(int x) : val(x), next(nullptr) {}
+ * ListNode(int x, ListNode *next) : v... | feat: leetcode 2 | null | upupming/algorithm | MIT License | C++ |
import itertools
import numpy as np
import torch
+import torch.nn.functional as F
from pyannote.audio.generators.speaker import SpeechTurnSubSegmentGenerator
from .triplet_loss import TripletLoss
@@ -42,11 +43,15 @@ class AggTripletLoss(TripletLoss):
Number of segments per speech turn. A heuristic may use a lower value... | feat: add "rescale" option to AggTripletLoss | null | pyannote/pyannote-audio | MIT License | Python |
@@ -368,8 +368,14 @@ func (cs *constraintSystem) checkVariables() error {
// for each constraint, we check the linear expressions and mark our inputs / hints as constrained
processLinearExpression := func(l compiled.LinearExpression) {
for _, t := range l {
+ if t.CoeffID() == compiled.CoeffIdZero {
+ // ignore zero co... | feat: ignore zero coefficients for variable constraint check | null | consensys/gnark | Apache License 2.0 | Go |
@@ -44,6 +44,7 @@ func (g GeneratorList) CombineAll(ggg []GeneratorList) GeneratorList {
type Table interface {
GetInfo() *types.InfoPanel
GetDetail() *types.InfoPanel
+ GetDetailFromInfo() *types.InfoPanel
GetForm() *types.FormPanel
GetCanAdd() bool
@@ -84,6 +85,11 @@ func (base *BaseTable) GetDetail() *types.InfoPane... | feat(admin): support copy info fields to detail | null | goadmingroup/go-admin | Apache License 2.0 | Go |
@@ -446,7 +446,7 @@ App::post('/v1/teams/:teamId/memberships')
if (!$isPrivilegedUser && !$isAppUser) { // No need in comfirmation when in admin or app mode
$mails
- ->setParam('event', 'teams.membership.create')
+ ->setParam('event', 'teams.memberships.create')
->setParam('from', ($project->getId() === 'console') ? ''... | feat: correct the event names | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -15,6 +15,7 @@ import org.gluu.oxtrust.action.HomeAction;
import org.gluu.oxtrust.model.GluuCustomAttribute;
import org.gluu.oxtrust.model.GluuCustomPerson;
import org.gluu.oxtrust.security.Identity;
+import org.gluu.oxtrust.service.JsonConfigurationService;
import org.gluu.oxtrust.service.PersonService;
import org.... | feat: locale configurable | null | gluufederation/oxtrust | MIT License | Java |
@@ -46,10 +46,12 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options:
private val ONE_SECOND_IN_MILLIS: Int = 1000
+ protected var player: SimpleExoPlayer? = null
+ protected val bandwidthMeter = DefaultBandwidthMeter()
+
private val mainHandler = Handler()
private val eventsListener = Exo... | feat(exoplayer_visibility): change exoplayer visibility to protected | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -50,10 +50,6 @@ open class AVFoundationPlayback: Playback {
private var backgroundSessionBackup: String?
- @objc open var url: URL? {
- return asset?.url
- }
-
open override var pluginName: String {
return "AVPlayback"
}
@@ -211,14 +207,6 @@ open class AVFoundationPlayback: Playback {
fatalError("init(context:) has ... | feat: remove unused code and hide some functions from AVFoundationPlayback | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -42,6 +42,7 @@ class BaseResponder(ABC):
reply_session_id: str = None,
reply_thread_id: str = None,
reply_to_verkey: str = None,
+ reply_from_verkey: str = None,
target: ConnectionTarget = None,
target_list: Sequence[ConnectionTarget] = None,
to_session_only: bool = False,
@@ -62,6 +63,7 @@ class BaseResponder(ABC):... | feat: allow specifying reply_from_verkey in send | null | hyperledger/aries-cloudagent-python | Apache License 2.0 | Python |
@@ -7084,6 +7084,99 @@ describe('Model', function() {
});
});
+ describe('buildBulkWriteOperations', () => {
+ it('builds write operations', () => {
+ return co(function*() {
+
+ const userSchema = new Schema({
+ name: { type: String }
+ });
+
+ const User = db.model('User', userSchema);
+
+ const users = [
+ new User(... | feat(model): Model.buildBulkWriteOperations(...) and base for Model.bulkSave(...) | null | automattic/mongoose | MIT License | JavaScript |
@@ -26,10 +26,10 @@ base_release_branch=$(echo "$1" | grep -E 'release-[0-9]*.0$')
if [ "$base_release_branch" != "" ]; then
major_release=$(echo "$base_release_branch" | sed 's/release-*//' | sed 's/\.0//')
target_major_release=$((major_release-1))
- target_release=$(git show-ref --tags | grep -E 'refs/tags/v[0-9]*.[0... | feat: enforce shellcheck rules | null | vitessio/vitess | Apache License 2.0 | Shell |
@@ -262,6 +262,11 @@ send_request(struct ua_conn_s *conn)
ASSERT_S(CURLE_OK == ecode, curl_easy_strerror(ecode));
DS_PRINT("Response URL: %s", conn->resp_url);
+ if (httpcode == HTTP_NO_CONTENT) {
+ *conn->resp_body.start = '\0';
+ conn->resp_body.size = 0;
+ }
+
return httpcode;
}
| feat: 204 (NO CONTENT) responses now properly blanks the conn->res_body | null | cee-studio/orca | MIT License | C |
import os
+from os.path import getsize
import logging
-import shutil
+import speedcopy
import clique
import traceback
import sys
-
import errno
import pyblish.api
from avalon import api, io
@@ -414,10 +414,13 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
self.log.critical("An unexpected error occurred.")
rais... | feat(pype): implemented `speedcopy` into integrate_new.py | null | pypeclub/openpype | MIT License | Python |
@@ -117,7 +117,8 @@ void replica::assign_primary(configuration_update_request &proposal)
}
if (proposal.type == config_type::CT_UPGRADE_TO_PRIMARY &&
- (status() != partition_status::PS_SECONDARY || _secondary_states.checkpoint_is_running)) {
+ (status() != partition_status::PS_SECONDARY || _secondary_states.checkpoint... | feat(split): add split state check while assign primary | null | apache/incubator-pegasus | Apache License 2.0 | C++ |
* you may not use this file except in compliance with the License.
*/
-import { makeObservable, observable, toJS } from 'mobx';
+import { makeObservable, observable } from 'mobx';
import { injectable } from '@cloudbeaver/core-di';
import { NotificationService } from '@cloudbeaver/core-events';
@@ -119,7 +119,7 @@ expor... | feat(plugin-sql-editor): remove unused dependencies | null | dbeaver/cloudbeaver | Apache License 2.0 | TypeScript |
@@ -985,7 +985,7 @@ class RealtimeCustomClientTest extends Scope
$this->assertEquals($function['headers']['status-code'], 201);
$this->assertNotEmpty($function['body']['$id']);
- $tag = $this->client->call(Client::METHOD_POST, '/functions/'.$functionId.'/tags', array_merge([
+ $deployment = $this->client->call(Client::... | feat: update RealtimeCustomClientTest | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
-import React, { useMemo } from "react";
+import React, { useEffect, useMemo } from "react";
import "./App.css";
import { useIsMenuVisible } from "./state/visibility.state";
import MenuRoot from "./components/MenuRoot";
@@ -14,6 +14,7 @@ import { WarnPage } from "./components/WarnPage/WarnPage";
import { IFrameProvider... | feat(menu): always open the menu on the main page | null | tabarra/txadmin | MIT License | TypeScript |
@@ -31,6 +31,7 @@ Feature extraction
Usage:
pyannote-speech-feature [--robust --database=<db.yml>] <experiment_dir> <database.task.protocol>
+ pyannote-speech-feature check [--database=<db.yml>] <experiment_dir> <database.task.protocol>
pyannote-speech-feature -h | --help
pyannote-speech-feature --version
@@ -83,6 +84,... | feat: add "check" mode to pyannote-speech-feature | null | pyannote/pyannote-audio | MIT License | Python |
@@ -387,6 +387,17 @@ pub fn load_byte(vm: &Thread) -> Result<ExternModule> {
to_be => primitive!(1, std::byte::prim::to_be),
to_le => primitive!(1, std::byte::prim::to_le),
pow => primitive!(2, std::byte::prim::pow),
+ saturating_add => primitive!(2, std::byte::prim::saturating_add),
+ saturating_sub => primitive!(2, s... | feat(std): Expose functions for overflowing/saturating arithmetic in std.int | null | gluon-lang/gluon | MIT License | Rust |
@@ -71,11 +71,14 @@ class SeekbarView: UIView {
}
private func moveScrubber(relativeTo horizontalTouchPoint: CGFloat) {
- var position = horizontalTouchPoint - (scrubber.frame.width / 2)
- if position <= 0 {
- position = 0
- } else if position > seekBarContainerView.frame.width - scrubber.frame.width {
- position = see... | feat: Fix MoveScrubber error | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -252,7 +252,18 @@ const MarathonAppValidators = {
const type = PROP_MISSING_ONE;
const variables = {name: 'value'};
- return constraints.reduce((errors, [fieldName, operator, value], index) => {
+ return constraints.reduce((errors, constraint, index) => {
+ if (!Array.isArray(constraint)) {
+ errors.push({
+ path: [... | feat(validators): validate if a constraint is not an array | null | dcos/dcos-ui | Apache License 2.0 | JavaScript |
@@ -101,3 +101,107 @@ where
write_one(io, buf).await
}
}
+
+#[cfg(test)]
+mod test {
+
+ use super::*;
+ use async_std::{
+ io,
+ net::{TcpListener, TcpStream},
+ task,
+ };
+ use serde::Deserialize;
+
+ type RequestId = u64;
+
+ #[derive(Serialize, Deserialize, PartialEq, Debug, Clone)]
+ struct Message {
+ id: Reques... | feat(p2p): test MessageProtocol | null | iotaledger/stronghold.rs | Apache License 2.0 | Rust |
@@ -6,8 +6,29 @@ from brownie.convert import to_address
warnings.filterwarnings("ignore")
-# This script is used to prepare, simulate and broadcast an arbitrary ownership vote
-# (where the transaction is executed via 0x40907540d8a6c65c637785e8f8b742ae6b0b9968).
+# this script is used to prepare, simulate and broadcast... | feat: emergency dao votes | null | curvefi/curve-dao-contracts | MIT License | Python |
@@ -57,6 +57,8 @@ public class ObjectiveDto {
private Collection<Long> keyResultIds = new ArrayList<>();
+ private Collection<Long> noteIds = new ArrayList<>();
+
public boolean hasParentObjectiveId() {
return parentObjectiveId != null;
}
| feat(objective-comment): added nodeIds | null | burningokr/burningokr | Apache License 2.0 | Java |
@@ -45,6 +45,8 @@ import {LoadingButton} from "@mui/lab";
import ConfirmationDialog from "./components/ConfirmationDialog";
import {useCapabilitiesSupported} from "./CapabilitiesProvider";
+const SCAN_RESULT_BATCH_SIZE = 5;
+
const SignalStrengthIcon :React.FunctionComponent<{
signal?: number
}> = ({
@@ -76,6 +78,7 @@ ... | feat(ui): Limit wifi scan results | null | hypfer/valetudo | Apache License 2.0 | TypeScript |
@@ -249,6 +249,12 @@ export class FrameBase extends CustomLayoutView {
}
newPage.onNavigatedTo(isBack);
+ this.notify({
+ eventName: Page.navigatedToEvent,
+ object: this,
+ isBack,
+ entry,
+ });
// Reset executing context after NavigatedTo is raised;
// we do not want to execute two navigations in parallel in case
@@... | feat(frame): add navigatingTo and navigatedTo events | null | nativescript/nativescript | MIT License | TypeScript |
+package org.hisp.dhis.db.migration.v35;
+
+/*
+ * Copyright (c) 2004-2020, University of Oslo
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retai... | feat: Moving visualization rows from columns into filters | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -137,7 +137,7 @@ async fn pre_configured_listening_addrs() {
assert!(
addrs.contains(&addr),
- "pre-configured listening addr not found; listening addrs: {:?}",
+ "pre-configured listening addr not found; is port 4001 available to listen on?; listening addrs: {:?}",
addrs
);
}
| feat(test): added additional context on why test could fail | null | rs-ipfs/rust-ipfs | Apache License 2.0 | Rust |
@@ -85,7 +85,10 @@ void cuda::__throw_cusolver_error__(cusolverStatus_t err, const char* msg) {
}
void cuda::__throw_cuda_driver_error__(CUresult err, const char* msg) {
- auto s = ssprintf("cuda driver error %d occurred; expr: %s", int(err), msg);
+ const char* err_str = nullptr;
+ cuGetErrorName(err, &err_str);
+ err... | feat(mgb): show more details for cuda driver api call | null | megengine/megengine | Apache License 2.0 | C++ |
@@ -4,11 +4,12 @@ waybar::modules::Clock::Clock(Json::Value config)
: _config(config)
{
_label.set_name("clock");
- _thread = [this] {
- Glib::signal_idle().connect_once(sigc::mem_fun(*this, &Clock::update));
+ int interval = _config["interval"] ? _config["inveral"].asInt() : 60;
+ _thread = [this, interval] {
auto now... | feat(clock): allow choose interval | null | alexays/waybar | MIT License | C++ |
@@ -88,6 +88,16 @@ export enum InstanceClass {
*/
M5DN = 'm5dn',
+ /**
+ * Standard instances with high memory and compute capacity based on Intel Xeon Scalable (Cascade Lake) processors, 5nd generation
+ */
+ STANDARD5_HIGH_COMPUTE = 'm5zn',
+
+ /**
+ * Standard instances with high memory and compute capacity based on... | feat(ec2): add m5zn instances | null | aws/aws-cdk | Apache License 2.0 | TypeScript |
@@ -225,8 +225,8 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
\exec('mkdir -p '.$resultExamples.' && cp -r '.$result.'/docs/examples '.$resultExamples);
Console::success("Copied code examples for {$language['name']} SDK to: {$resultExamples}");
- \exec('rm -rf '.$result);
- Console... | feat: added kotlin getting started | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -146,7 +146,8 @@ class MediaFolders
flextype('filesystem')
->directory(flextype('media_folders_meta')->getDirMetaLocation($id))
->copy(flextype('media_folders_meta')->getDirMetaLocation($new_id));
- return Filesystem::has($this->getDirLocation($new_id)) && Filesystem::has(flextype('media_folders_meta')->getDirMetaLo... | feat(tests): update tests for MediaFolders copy() method | null | flextype/flextype | MIT License | PHP |
@@ -50,6 +50,10 @@ type MultiGetOptions struct {
// Query order
Reverse bool
+
+ // Whether to retrieve keys only, without value.
+ // Enabling this option will reduce the network load, improve the RPC latency.
+ NoValue bool
}
// DefaultMultiGetOptions defines the defaults of MultiGetOptions.
@@ -62,6 +66,7 @@ var Def... | feat: add no_value option for multiget | null | apache/incubator-pegasus | Apache License 2.0 | Go |
@@ -6,7 +6,7 @@ defmodule AndiWeb.Router do
"style-src 'self' 'unsafe-inline' 'unsafe-eval' https://fonts.googleapis.com;" <>
"script-src 'self' 'unsafe-inline' 'unsafe-eval';" <>
"font-src https://fonts.gstatic.com data: 'self';" <>
- "img-src 'self' data:;"
+ "img-src 'self' #{Application.get_env(:andi, :logo_url)} d... | feat(789): whitelist img-src for andi logo | null | urbanos-public/smartcitiesdata | Apache License 2.0 | Elixir |
@@ -4,16 +4,22 @@ import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
+import android.support.design.widget.TextInputLayout;
+import android.text.Editable;
+import android.text.TextUtils;
+import android.text.TextWa... | feat: Validate URL in UpdateSponsorsFragment | null | fossasia/open-event-organizer-android | Apache License 2.0 | Java |
@@ -11,6 +11,7 @@ namespace Flextype\Console\Commands\Entries;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputOption;
+use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use... | feat(console): use args for EntriesFetchCommand | null | flextype/flextype | MIT License | PHP |
@@ -112,7 +112,8 @@ public void displayServices(
source.sendMessage(
"Name: " + serviceInfoSnapshot.getServiceId().getName() +
" | Lifecycle: " + serviceInfoSnapshot.getLifeCycle() +
- " | " + (serviceInfoSnapshot.isConnected() ? "Connected" : "Not Connected") //+ extension
+ " | Node: " + serviceInfoSnapshot.getServic... | feat(commands): Add the nodeId to `ser list` | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -452,6 +452,16 @@ public abstract class WatsonService {
this.tokenManager = new IamTokenManager(iamOptions);
}
+ /**
+ * Sets primary file path for the SDK to look for service credentials. This path should be the full file path,
+ * including the file name.
+ *
+ * @param newPath custom file path to search for crede... | feat(core): Allow user to specify location and name of credential file | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
+package bb
+
+import (
+ "github.com/mundipagg/boleto-api/models"
+ "github.com/mundipagg/boleto-api/test"
+)
+
+type stubBoletoRequestBB struct {
+ test.StubBoletoRequest
+}
+
+func newStubBoletoRequestBB() *stubBoletoRequestBB {
+ base := test.NewStubBoletoRequest(models.BancoDoBrasil)
+
+ s := &stubBoletoRequestBB{... | feat: send the document number on request to banco do brasil | null | mundipagg/boleto-api | MIT License | Go |
@@ -18,7 +18,8 @@ use ruma::{
events::{
room::{history_visibility::HistoryVisibility, MediaSource},
tag::{TagInfo, TagName},
- AnyStateEvent, AnySyncStateEvent, EventContent, StateEventType, StaticEventContent,
+ AnyRoomAccountDataEvent, AnyStateEvent, AnySyncStateEvent, EventContent,
+ RoomAccountDataEvent, RoomAccoun... | feat(sdk): Retrieve account data from room::Common | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -34,7 +34,7 @@ final class Flextype
*
* @var Flextype|null
*/
- private static ?Flextype $instance = null;
+ private static Flextype|null $instance = null;
/**
* The Flextype Application.
| feat(flextype): use union type | null | flextype/flextype | MIT License | PHP |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.