diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -326,9 +326,7 @@ Status DBImpl<EngineT>::background_merge_files(const std::string& group_id) {
merge_files(group_id, kv.first, kv.second);
}
- if (has_merge) {
_pMeta->archive_files();
- }
try_build_index();
| feat(db): archive after every serliazation | null | milvus-io/milvus | Apache License 2.0 | C++ |
@@ -52,6 +52,7 @@ pub struct DocPath {
}
impl DocPath {
+ /// Construct a new document path from the provided string path
pub fn new(expr: impl Into<String>) -> anyhow::Result<Self> {
let expr = expr.into();
let path_tokens = parse_path_exp(&expr)
@@ -90,6 +91,7 @@ impl DocPath {
}
}
+ /// Return the list of tokens tha... | feat: add a method to join a value onto a doc path | null | pact-foundation/pact-reference | MIT License | Rust |
/*
- * Copyright 2011-2020 B2i Healthcare Pte Ltd, http://b2i.sg
+ * Copyright 2011-2021 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.
@@ -17,88 +17,88 @@ package com.b2international.snowowl.sn... | feat(core): Pass relationship value to the document builder | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -53,6 +53,11 @@ class MediaFolders
$result = [];
if (filesystem()->directory(flextype('media')->folders()->meta()->getDirectoryMetaLocation($id))->exists()) {
+
+ $id = trim($id, '/');
+
+ $result['basename'] = basename($id);
+ $result['dirname'] = dirname($id);
$result['path'] = $id;
$result['full_path'] = str_repl... | feat(media): MediaFolders updates | null | flextype/flextype | MIT License | PHP |
+import { Currency } from '@sushiswap/currency'
+import { Percent } from '@sushiswap/math'
+import invariant from 'tiny-invariant'
+
+import { Trade, TradeType, Version } from './Trade'
+
+/**
+ * Options for producing the arguments to send call to the router.
+ */
+export interface TradeOptions {
+ /**
+ * How much th... | feat(packages/exchange): init trident router | null | sushiswap/sushiswap | MIT License | TypeScript |
@@ -99,6 +99,41 @@ START_TEST(test_010CallContract_0001SetBytesSuccess)
}
END_TEST
+
+START_TEST(test_010CallContract_0002SetTwoBytesArraySuccess)
+{
+ BOAT_RESULT ret;
+
+ BoatEthWallet *wallet;
+ BoatEthTx *tx_ctx;
+
+ BCHAR *result_str;
+ BUINT8 ba1[3], ba2[] = {5, 10, 30, 40, 50};
+ BUINT32 i;
+
+ BoatIotSdkInit();... | feat: Add test_010CallContract_0002SetTwoBytesArraySuccess | null | aitos-io/boat-x-framework | Apache License 2.0 | C |
@@ -34,6 +34,7 @@ func (cl *commandline) database(cmd *cobra.Command) {
PersistentPostRun: cl.disconnect,
ValidArgs: []string{"list", "create", "use", "clean"},
}
+
ccd := &cobra.Command{
Use: "list",
Short: "List all databases",
@@ -63,6 +64,7 @@ func (cl *commandline) database(cmd *cobra.Command) {
},
Args: cobra.Exa... | feat(cmd/immuadmin): add flag to create database as a replica | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -3,7 +3,7 @@ import { promises as fs } from 'fs'
import path from 'path'
import xcode, { Project } from 'xcode'
-const DOCS_LINK = 'https://docs.bugsnag.com/--TODO--'
+const DOCS_LINK = 'https://docs.bugsnag.com/platforms/react-native/react-native/showing-full-stacktraces/#ios'
const UNLOCATED_PROJ_MSG = `The Xcode ... | feat(react-native-cli): Add docs link | null | bugsnag/bugsnag-js | MIT License | TypeScript |
@@ -25,13 +25,19 @@ package org.eolang;
/**
* Java path.
+ * The class converts object path in eolang notation to java notation.
+ * For example
+ * - "org.eolang" -> "EOorg.EOeolang"
+ * - "org.eolang.as-bytes" -> "EOorg.EOeolang.EOas_bytes"
+ * - "org.eolang.as-bytes$bytes" -> "EOorg.EOeolang.EOas_bytes$EObytes"
+ * ... | feat(#1717): extend JavaPath description | null | cqfn/eo | MIT License | Java |
@@ -15,19 +15,29 @@ import { partition } from "@thi.ng/transducers/xform/partition";
const W = 128;
const H = 48;
+let grid;
+let rules;
// 3x3 convolution kernel (Moore neighborhood)
const kernel = buildKernel2d([1, 1, 1, 1, 0, 1, 1, 1, 1], 3, 3);
-// seed grid with 50% noise
-let grid = [...repeatedly(() => Math.rand... | feat(examples): add randomize buttons (CA) | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
@@ -328,7 +328,144 @@ $('#avatar-submit').on('click',function(){
$('#update-avatar-modal').modal('hide');
});
+</script>
+
+@endsection
+
+@section('additionJS')
+ <script src="/static/library/jquery-datetimepicker/build/jquery.datetimepicker.full.min.js"></script>
+ <script src="/static/js/jquery-ui-sortable.min.js"><... | feat: group setting js | null | zsgsdesign/noj | MIT License | PHP |
@@ -567,7 +567,11 @@ os.ui.search.SearchBoxCtrl.prototype.toggleGroup = function(group) {
* @export
*/
os.ui.search.SearchBoxCtrl.prototype.getSearchOptionsGroup = function(groupName) {
- return this['searchOptionsGroups'][groupName];
+ var group = this['searchOptionsGroups'][groupName];
+ goog.array.sort(group, functi... | feat(searchbox): sort by abc | null | ngageoint/opensphere | Apache License 2.0 | JavaScript |
@@ -32,6 +32,13 @@ export class IgniteUIForAngularTemplate extends AngularTemplate {
path.join(projectPath, `src/app/${this.folderName(name)}/${this.fileName(name)}.component.ts`)
);
+ // import IgxModules:
+ TypeScriptFileUpdate.addIgxImport(
+ path.join(projectPath, "src/app/app.module.ts"),
+ this.dependencies,
+ "i... | feat: import IgxModules on template add | null | igniteui/igniteui-cli | MIT License | TypeScript |
@@ -35,7 +35,7 @@ use pact_plugin_driver::verification::InteractionVerificationDetails;
use regex::Regex;
use reqwest::Client;
use serde_json::{json, Value};
-use tracing::{debug, debug_span, error, info, Instrument, trace, warn};
+use tracing::{debug, debug_span, error, info, Instrument, instrument, trace, warn};
pub ... | feat: always execute provider_states callbacks even when no state is defined | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -15,9 +15,10 @@ const MAX_HEIGHT = null
class MoleculeCollapsible extends Component {
constructor(props) {
super(props)
- const {isCollapsed} = this.props
+ const {isCollapsed, withAutoClose} = this.props
this.childrenContainer = React.createRef()
this.state = {
+ withAutoClose: withAutoClose,
collapsed: isCollapsed... | feat(molecule/collapsible): remove deprecated methods and add withAutoclose props | null | sui-components/sui-components | MIT License | JavaScript |
#[macro_export]
/// Create a route
macro_rules! route {
- () => (
- crate::Route::from(crate::Route::new())
- );
- ($($x:expr),+) => ({
- let mut r = crate::Route::new();
+ ($($x:expr),* $(,)?) => ({
+ #[allow(unused_mut)]
+ let mut r = $crate::Route::new();
$(r = r.append($x);)*
- crate::Route::from(r)
+ $crate::Route... | feat(rust): add trailing comma support to route macro | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -31,7 +31,7 @@ class EmojiPicker extends React.Component {
return (
<div className="overlay">
<div ref={this.emojiPicker}>
- <Picker />
+ <Picker set="apple" autoFocus />
</div>
</div>
);
| feat: set emoji autoFocus | null | weseek/growi | MIT License | JavaScript |
@@ -664,7 +664,7 @@ parse_availability(
if (pos + 1 < xend_pos
&& ':' == *pos && 'b' == *(pos + 1)) {
p->has_enabler = true;
- pos++;
+ pos += 2;
}
*next_pos_p = pos;
return 1;
@@ -879,7 +879,7 @@ parse_actor(
struct composite_value * cv)
{
// work around the incompatible pointer warning
- char * const end_pos = pos + ... | feat: improve the debugging messages and fix a bug of not moving pointer correctly | null | cee-studio/orca | MIT License | C |
@@ -108,6 +108,13 @@ fn read_to_vec<P: AsRef<Path>>(path: P) -> io::Result<Vec<u8>> {
fn main() {
drop(env_logger::init());
+
+ // initialize all "lazy" variables
+ lazy_static::initialize(&MAP);
+ lazy_static::initialize(&LEV_AUT_BLDR_0);
+ lazy_static::initialize(&LEV_AUT_BLDR_1);
+ lazy_static::initialize(&LEV_AUT_B... | feat: Counter the lazyness of static variable loading | null | meilisearch/meilisearch | MIT License | Rust |
+import { Trans } from "@lingui/macro";
import classNames from "classnames";
import { Link } from "react-router";
import { MountService } from "foundation-ui";
@@ -132,13 +133,13 @@ class DeclinedOffersTable extends React.Component {
const tooltipContent = (
<div>
<div>
- <strong>Requested</strong>
+ <Trans render="str... | feat(DeclinedOffersTable): localize using Trans macro | null | dcos/dcos-ui | Apache License 2.0 | JavaScript |
@@ -44,6 +44,12 @@ struct OpMethArgs {
if (inputs[i].layout.dtype != rhs.inputs[i].layout.dtype) {
return false;
}
+ if (inputs[i].layout.ndim != rhs.inputs[i].layout.ndim) {
+ return false;
+ }
+ if (inputs[i].value.empty() != rhs.inputs[i].value.empty()) {
+ return false;
+ }
}
return extras == rhs.extras;
}
@@ -57,1... | feat(opcache): add ndim and has_value to cache key | null | megengine/megengine | Apache License 2.0 | C |
@@ -127,18 +127,23 @@ final class ImportConfig
String schemeName = primary.get();
if ( schemeName != null )
{
- return IdScheme.from( schemeName );
+ return getIdSchemeIdAsUid( IdScheme.from( schemeName ) );
}
IdScheme scheme = secondary.get();
if ( scheme != null && scheme != IdScheme.NULL )
{
- return scheme;
+ retur... | feat: complete data set registration ID schema alias for UID | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -37,6 +37,13 @@ class BasePea(metaclass=PeaType):
self.ready_or_shutdown = _make_or_event(self, self.is_ready, self.is_shutdown)
self.logger = JinaLogger(self.name, **vars(self.args))
+ if self.args.runtime_backend == RuntimeBackendType.THREAD:
+ self.logger.warning(
+ f' Using Thread as runtime backend is not recom... | feat: add warning when using thread backend | null | jina-ai/jina | Apache License 2.0 | Python |
@@ -25,7 +25,7 @@ import NarrativeItinerary from './components/narrative/narrative-itinerary'
import { setAutoPlan, setMapCenter } from './actions/config'
import { getCurrentPosition } from './actions/location'
-import { setLocationToCurrent } from './actions/map'
+import { setLocationToCurrent, clearLocation } from '.... | feat(api): Expose clearLocation action | null | opentripplanner/otp-react-redux | MIT License | JavaScript |
@@ -50,6 +50,7 @@ class _MyHomePageState extends State<MyBrowser> {
MediaQueryData queryData = MediaQuery.of(context);
Kraken kraken;
+ final TextEditingController textEditingController = TextEditingController(text: 'https://kraken.oss-cn-hangzhou.aliyuncs.com/go-rax/kraken.js');
AppBar appBar = AppBar(
backgroundColor... | feat: show bundle url by default | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -155,15 +155,32 @@ impl UserAccount {
/// Make a contract call. `pending_tx` includes the receiver, the method to call as well as its arguments.
/// Note: You will most likely not be using this method directly but rather the [`call!`](./macro.call.html) macro.
- pub fn call(
+ pub fn function_call(
&self,
pending_tx... | feat: make `user.call` not use PendingContractTx | null | near/near-sdk-rs | Apache License 2.0 | Rust |
@@ -17,7 +17,7 @@ export const useMounted = (callback, depedencies) => {
}, depedencies);
};
/** NOTE(amine):
- * useForm handles three main responsabilities
+ * useForm handles three main responsibilities
* - control inputs
* - control form
* - add validations
@@ -52,13 +52,33 @@ export const useForm = ({
});
/** ----... | feat(useForm): add support for checkbox with array value | null | filecoin-project/slate | MIT License | JavaScript |
@@ -413,6 +413,28 @@ func (manager *SGuestManager) ListItemFilter(
q = q.NotIn("id", sq)
}
}
+ if len(query.ServerType) > 0 {
+ var trueVal, falseVal = true, false
+ switch query.ServerType {
+ case "normal":
+ query.Gpu = nil
+ query.Backup = nil
+ case "gpu":
+ query.Gpu = &trueVal
+ query.Backup = &falseVal
+ case "... | feat(region): add list filter server type | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -52,6 +52,28 @@ async function getAccountDetails({ accountId, publicKeyBlacklist, wallet }) {
};
}
+async function deleteKeys({ accountId, publicKeysToDelete, wallet }) {
+ const account = await wallet.getAccount(accountId);
+ const signingPublicKey = await wallet.getPublicKey();
+
+ // TODO build batch delete trans... | feat: delete keys upon signing key verification | null | near/near-wallet | MIT License | JavaScript |
@@ -9,6 +9,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import io.fabric8.kubernetes.api.model.HasMetadata;
+import io.fabric8.kubernetes.client.ConfigBuilder;
import io.fabric8.kubernetes.client.KubernetesClient;
import io.fabric8.kubernetes.client.KubernetesClientBuilder;
import io.fabric8.kubernetes... | feat: setting a higher default max conccurent request for client | null | java-operator-sdk/java-operator-sdk | Apache License 2.0 | Java |
@@ -32,8 +32,8 @@ public class DiceRollCommand : CommandGroup
[Command("random")]
[Description("Generate a random number in a given range; defaults to 100. (Hard limit of ~2.1 billion)")]
- public Task<Result<IMessage>> Random(int max = 100)
- => _channels.CreateMessageAsync(_context.ChannelID, $"{_random.Next(max)} is... | feat: use Int64 for random | null | vtpdevelopment/silk | Apache License 2.0 | C# |
@@ -18,6 +18,33 @@ impl U64Gauge {
self.state.store(value, Ordering::Relaxed);
}
+ /// Increments the value of this U64Gauge by the specified amount.
+ pub fn inc(&self, delta: u64) {
+ self.state.fetch_add(delta, Ordering::Relaxed);
+ }
+
+ /// Decrements the value of this U64Gauge by the specified amount.
+ ///
+ ///... | feat: inc/dec gauge metrics | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
JAVA_17(17, 61D, "Java 17"),
JAVA_18(18, 62D, "Java 18"),
JAVA_19(19, 63D, "Java 19"),
- JAVA_20(20, 64D, "Java 20");
+ JAVA_20(20, 64D, "Java 20"),
+ JAVA_21(21, 65D, "Java 21");
private static final JavaVersion[] JAVA_VERSIONS = resolveActualJavaVersions();
private static final JavaVersion LATEST_VERSION = JAVA_VERSI... | feat: add java 21 to the java version enum | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -134,6 +134,7 @@ impl BuiltIn for String {
.method(Self::replace, "replace", 2)
.method(Self::iterator, (symbol_iterator, "[Symbol.iterator]"), 0)
.method(Self::search, "search", 1)
+ .method(Self::at, "at", 1)
.build();
(Self::NAME, string_object.into(), Self::attribute())
@@ -266,6 +267,41 @@ impl String {
}
}
+ /... | feat(boa): implements `at` method for string | null | boa-dev/boa | MIT License | Rust |
use crate::PortalInternalMessage;
+use core::time::Duration;
use ockam_core::async_trait;
use ockam_core::compat::vec::Vec;
use ockam_core::{route, Address, Processor, Result};
@@ -70,6 +71,7 @@ impl Processor for TcpPortalRecvProcessor {
// Let Sender forward payload to the other side
ctx.send(route![self.sender_addre... | feat(rust): add delay to tcp portal | null | ockam-network/ockam | Apache License 2.0 | Rust |
import re
import os
-
+import argparse
_KEYS_FILE = os.path.join(
os.path.dirname(__file__), "../src/main/java/org/traccar/config/Keys.java"
@@ -72,6 +72,31 @@ def get_html():
)
+def get_pug():
+ return ("\n").join(
+ [
+ f""" div(class='card mt-3')
+ div(class='card-body')
+ h5(class='card-title') {x["key"]} #[span(cl... | feat: generate config keys as pug | null | traccar/traccar | Apache License 2.0 | Python |
import numpy as np
+import scipy.stats
from collections import deque
try:
@@ -48,6 +49,72 @@ AUTO_LR_BATCHES = 500
MOMENTUM_MAX = 0.95
MOMENTUM_MIN = 0.85
+
+def decreasing_probability(values: np.ndarray) -> float:
+ """Compute probability that a sequence is decreasing
+
+ Parameters
+ ----------
+ values : np.ndarray
... | feat: add decreasing_probabiliy and steps_without_decrease | null | pyannote/pyannote-audio | MIT License | Python |
@@ -33,8 +33,12 @@ func examplesCheckRoleRouter(r *gin.Engine, authMiddleware *jwtauth.GinJWTMiddle
//v1 := r.Group("/api/v1")
//v1auth := v1.Use(authMiddleware.MiddlewareFunc()).Use(middleware.AuthCheckRole())
//{
- // v1auth.GET("/examples/list", examples.apis)
+ // registerDemoRouter(v1auth)
//}
}
+//func registerDe... | feat: update demo rotuter | null | go-admin-team/go-admin | MIT License | Go |
@@ -18,15 +18,29 @@ import com.midtrans.sdk.uikit.utilities.UiKitConstants;
public class GopayPaymentPresenter extends BasePaymentPresenter<GoPayPaymentView> {
+ private Boolean isTablet;
+
public GopayPaymentPresenter(GoPayPaymentView view) {
super();
this.view = view;
}
+ void setTabletDevice(Activity activity) {
+ i... | feat: add the logic for isTablet in GopayPaymentPresenter | null | veritrans/veritrans-android | MIT License | Java |
@@ -417,7 +417,8 @@ class AgentStats:
partial_fit_fraction=0.25,
sampler_kwargs=None,
evaluation_function=None,
- evaluation_function_kwargs=None):
+ evaluation_function_kwargs=None,
+ disable_evaluation_writers=True):
"""
Run hyperparameter optimization and updates init_kwargs with the
best hyperparameters found.
@@ -... | feat(stats): Option to disable writers in AgentStats.optimize_hyperparams | null | rlberry-py/rlberry | MIT License | Python |
@@ -357,12 +357,7 @@ pub async fn serve_on(
None => Projects::current_path()?,
};
- tracing::info!(
- "Serving {} at http://{}:{}",
- home.display(),
- address,
- port
- );
+ tracing::info!("Serving {} at http://{}:{}", home.display(), address, port);
match protocol {
Protocol::Http | Protocol::Ws => {
@@ -384,10 +379,... | feat(Server): Implement `traversal` option | null | stencila/stencila | Apache License 2.0 | Rust |
@@ -145,8 +145,15 @@ interface Dependencies {
}
}
return all;
- } catch (final IOException ex) {
- throw new IllegalStateException(ex);
+ } catch (final IOException | IllegalStateException ex) {
+ throw new IllegalStateException(
+ String.format(
+ "Exception happens during reading the dependencies from json file %s. %... | feat(#934): add context for exception in JsonDependencies | null | cqfn/eo | MIT License | Java |
@@ -121,15 +121,14 @@ pub(crate) fn extract_expressions_from_format_string(
let mut placeholder_idx = 1;
for extracted_args in extracted_args {
- // remove expr from format string
- args.push_str(", ");
-
match extracted_args {
- Arg::Ident(s) | Arg::Expr(s) => {
+ Arg::Expr(s)=> {
+ args.push_str(", ");
// insert arg
... | feat: extract only expressions from format string | null | rust-lang/rust-analyzer | Apache License 2.0 | Rust |
@@ -3,6 +3,7 @@ import { getRandomInt, UnigraphObject } from "unigraph-dev-common/lib/api/unigra
import ForceGraph2D from 'react-force-graph-2d';
import { SizeMe } from "react-sizeme";
import _ from "lodash";
+import { Checkbox, List, ListItem, Typography } from "@material-ui/core";
const queryNameIndex = `@filter((NOT... | feat: graph view features | null | unigraph-dev/unigraph-dev | MIT License | TypeScript |
@@ -264,14 +264,17 @@ func NewCmdCreate(f *cmdutils.Factory) *cobra.Command {
}
}
}
+ } else if opts.Title == "" {
+ return fmt.Errorf("title can't be blank")
+ }
+
+ if opts.IsInteractive && (opts.Autofill && !opts.Yes || !opts.Autofill) {
if len(opts.Labels) == 0 {
err = cmdutils.LabelsPrompt(&opts.Labels, labClient,... | feat(commands/mr/create): prompt for labels with --autofill | null | profclems/glab | MIT License | Go |
@@ -30,7 +30,7 @@ const RawGitako: React.FC<Props & ConnectorState> = function RawGitako(props) {
const shouldShow =
intelligentToggle === null ? platform.shouldShow(props.metaData) : intelligentToggle
props.setShouldShow(shouldShow)
- }, [intelligentToggle])
+ }, [intelligentToggle, props.metaData])
React.useEffect(()... | feat: show sidebar depends on meta data | null | enixcoda/gitako | MIT License | TypeScript |
@@ -604,6 +604,7 @@ namespace Objects.Converter.Revit
}
using var builder = new BRepBuilder(bRepType);
+
builder.SetAllowShortEdges();
//builder.AllowRemovalOfProblematicFaces();
@@ -673,40 +674,99 @@ namespace Objects.Converter.Revit
if (solid is null || solid.Faces.IsEmpty) return null;
var brepEdges = new Dictionary... | feat(objects/brep): Major advances in Revit->Revit flow | null | specklesystems/speckle-sharp | Apache License 2.0 | C# |
@@ -370,6 +370,7 @@ static int test_sm2_sign(const EC_GROUP *group,
static int sm2_sig_test(void)
{
int testresult = 0;
+ EC_GROUP *gm_group = NULL;
/* From draft-shen-sm2-ecdsa-02 */
EC_GROUP *test_group =
create_EC_group
@@ -395,10 +396,42 @@ static int sm2_sig_test(void)
"6FC6DAC32C5D5CF10C77DFB20F7C2EB667A457872FB0... | feat: Add sm2 signature test case from GM/T 0003.5-2012 | null | openssl/openssl | Apache License 2.0 | C |
@@ -231,11 +231,11 @@ describe('webex-core', () => {
await services.updateCredentialsConfig();
});
- it('must update IDBROKER_BASE_URL as serviceList.idbroker', () => {
+ it('sets the idbroker url properly when trailing slash is not present', () => {
assert.equal(webex.config.credentials.idbroker.url, expectedServiceLi... | feat(webex-core): refactor unit tests | null | webex/webex-js-sdk | MIT License | JavaScript |
@@ -27,7 +27,7 @@ const Plugin = defineReactivePlugin({
if (__QUASAR_SSR_SERVER__) {
const initialSet = iconSet || materialIcons
- $q.iconMapFn = ssrContext.$q.config.iconMapFn || null
+ $q.iconMapFn = ssrContext.$q.config.iconMapFn || Plugin.iconMapFn || null
$q.iconSet = {}
$q.iconSet.set = setObject => {
this.set(se... | feat(ui): addition to previous iconSet commit | null | quasarframework/quasar | MIT License | JavaScript |
@@ -231,9 +231,90 @@ namespace acl
// Note: Currently only used by scalar track compression which contain no global settings.
struct compression_settings
{
+ //////////////////////////////////////////////////////////////////////////
+ // The compression level determines how aggressively we attempt to reduce the memory
... | feat(compression): add transform compression settings | null | nfrechette/acl | MIT License | C |
@@ -11,9 +11,9 @@ namespace Flextype\Support\Parsers\Shortcodes;
use Thunder\Shortcode\Shortcode\ShortcodeInterface;
-// Shortcode: [entries_fetch id="entry-id" field="field-name" default="default-value"]
-if (flextype('registry')->get('flextype.settings.parsers.shortcode.shortcodes.entries.enabled')) {
- flextype('par... | feat(entries): update settings | null | flextype/flextype | MIT License | PHP |
@@ -512,7 +512,6 @@ tag_partner: "site_kit"
return array(
array(
'id' => 'adsense-notification',
- 'title' => __( 'Alert found!', 'google-site-kit' ),
'description' => $alert->getMessage(),
'isDismissible' => true,
'winImage' => 'sun-small.png',
| feat: Remove "Alert found!" title in AdSense setup | null | google/site-kit-wp | Apache License 2.0 | PHP |
@@ -82,6 +82,13 @@ csgopracticelatestlink=$(echo -e "${csgopracticelatest}" | jq -r '.browser_downl
csgopuglatest=$(curl --connect-timeout 10 -sL https://api.github.com/repos/splewis/csgo-pug-setup/releases/latest | jq '.assets[]')
csgopuglatestfile=$(echo -e "${csgopuglatest}" | jq -r '.name')
csgopuglatestlink=$(echo... | feat(mods): csgo mods - scraping latest versions for GOKZ and MovementAPI | null | gameservermanagers/linuxgsm | MIT License | Shell |
@@ -122,6 +122,11 @@ class Search extends Component {
allowFocus: true
})
this.updateUrl()
+ window._paq.push(['trackSiteSearch',
+ this.state.searchQuery,
+ false,
+ this.state.totalCount
+ ])
}
this.onReset = () => {
| feat(Search): track search query on show results | null | orbiting/republik-frontend | BSD 3-Clause New or Revised License | JavaScript |
@@ -2,8 +2,11 @@ import 'package:firebase_app_check/firebase_app_check.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
+
import 'firebase_options.dart';
+const kWebRecaptchaSiteKey = '6Lemcn0dAAAAABLkf6aiiHvpGD6x-zF3nOSDU2M8';
+... | feat(app_check, web): update the example app with webRecaptcha in activate button | null | firebaseextended/flutterfire | BSD 3-Clause New or Revised License | Dart |
@@ -381,6 +381,35 @@ $utopia->patch('/v1/users/:userId/status')
}
);
+$utopia->patch('/v1/users/:userId/prefs')
+ ->desc('Update Account Prefs')
+ ->label('scope', 'users.write')
+ ->label('sdk.namespace', 'users')
+ ->label('sdk.method', 'updateUserPrefs')
+ ->param('prefs', '', function () {
+ return new \Utopia\Vali... | feat: update user prefs in User Service | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
+import { useState, useCallback } from 'react';
+
+export function useSessionStorage<T>(key: string, initialValue: T) {
+ const [keyValue, setKeyValue] = useState<T>(() => {
+ try {
+ let value = window.sessionStorage.getItem(key);
+ return value !== null ? JSON.parse(value) : initialValue;
+ } catch (error) {
+ // Ret... | feat: useSessionStorage hook | null | lwjgl/lwjgl3-www | BSD 3-Clause New or Revised License | TypeScript |
@@ -663,6 +663,8 @@ func (k *Kad) Start(_ context.Context) error {
k.wg.Add(1)
go k.manage()
+ k.AddPeers(k.previouslyConnected()...)
+
go func() {
select {
case <-k.halt:
@@ -699,6 +701,23 @@ func (k *Kad) Start(_ context.Context) error {
return nil
}
+func (k *Kad) previouslyConnected() []swarm.Address {
+
+ now := t... | feat(kademlia): prioritize previously connected peers | null | ethersphere/bee | BSD 3-Clause New or Revised License | Go |
@@ -103,6 +103,7 @@ String invokeModule(String json, DartAsyncModuleCallback callback, Pointer<Void>
dynamic args = jsonDecode(json);
String module = args[0];
String result = EMPTY_STRING;
+ try {
if (module == 'Connection') {
String method = args[1];
if (method == 'getConnectivity') {
@@ -120,13 +121,13 @@ String invo... | feat: add error handler for invokeModule's every module calls | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -116,8 +116,13 @@ abstract class AbstractUnificator @JvmOverloads constructor(override val context
substitution2: Substitution,
occurCheckEnabled: Boolean
): Substitution {
- if (context.isFailed) return failed()
-
+ if (context.isFailed || substitution1.isFailed || substitution2.isFailed) return failed()
+ if (!occ... | feat: make Unificator.merge quicker in some particular cases | null | tuprolog/2p-kt | Apache License 2.0 | Kotlin |
#!/bin/bash -x
+echo -- Setup directories --
cargo clean
mkdir -p ../target/artifacts
+
+echo -- Build the release artifacts --
cargo build --release
+gzip -c ../target/release/libpact_ffi.so > ../target/artifacts/libpact_ffi-linux-x86_64.so.gz
+openssl dgst -sha256 -r ../target/artifacts/libpact_ffi-linux-x86_64.so.gz... | feat: add musl target to the release build | null | pact-foundation/pact-reference | MIT License | Shell |
@@ -54,6 +54,11 @@ fn main() {
.about("Returns a hint for the current exercise")
.arg(Arg::with_name("name").required(true).index(1)),
)
+ .subcommand(
+ SubCommand::with_name("list")
+ .alias("l")
+ .about("Lists the exercises available in rustlings")
+ )
.get_matches();
if matches.subcommand_name().is_none() {
@@ -88... | feat: add "rustlings list" command | null | rust-lang/rustlings | MIT License | Rust |
@@ -36,7 +36,7 @@ void NativePerformance::mark(const std::string &markName, double startTime) {
entries.emplace_back(nativePerformanceEntry);
}
-JSObjectRef buildPerformanceEntry(std::string &entryType, JSContext *context,
+JSObjectRef buildPerformanceEntry(const std::string &entryType, JSContext *context,
NativePerfor... | feat: add integration pretty print | null | openkraken/kraken | Apache License 2.0 | C++ |
+/******************************************************************************
+ * Copyright (C) 2018-2021 aitos.io
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://ww... | feat: Add ML302 API v2 boatlog.h | null | aitos-io/boat-x-framework | Apache License 2.0 | C |
@@ -81,12 +81,17 @@ def remove_unverified_record():
def confirm_deletion(email, name):
if not verify_request():
return
+
doc = frappe.get_doc("Personal Data Delete Request", name)
+ host_name = frappe.local.site
if doc.status != 'Pending Approval':
doc.status = 'Pending Approval'
doc.save(ignore_permissions=True)
frapp... | feat: add link expiry message for already activated verification link | null | frappe/frappe | MIT License | Python |
-#!/bin/sh
+#!/usr/bin/env bash
+#
+# Download and install standalone binary.
+# The binary version can be specified by setting a VERSION variable.
+# e.g. VERSION=2.21.1 bash install.sh
+# If VERSION is unspecified it will download the latest version.
set -e
@@ -44,23 +49,41 @@ else
fi
fi
+if [[ -z "${VERSION}" ]]
+th... | feat(Standalone): Allow to install specific versions | null | serverless/serverless | MIT License | Shell |
'use strict';
+const request = require('request-promise');
const Command = require('../../models/Command.js');
-const corggit = require('../../resources/Corggit.js');
-
+const options = {
+ uri: `https://dog.ceo/api/breed/corgi/cardigan/images/random`,
+ json: true,
+};
/**
* Corgis - Bsed on https://github.com/ryands/... | feat: better corgis without corggit | null | wfcd/genesis | Apache License 2.0 | JavaScript |
@@ -6,6 +6,8 @@ public class LayerComposer {
private let playbackLayer = PlaybackLayer()
private let containerLayer = ContainerLayer()
+ public init(){}
+
func compose(inside rootView: UIView) {
self.rootView = rootView
| feat: make LayerComposer init public | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
+package influxdb
+
+import "context"
+
+// Predicate is something that can match on a series key.
+type Predicate interface {
+ Matches(key []byte) bool
+ Marshal() ([]byte, error)
+}
+
+// DeleteService will delete a bucket from the range and predict.
+type DeleteService interface {
+ DeleteBucketRangePredicate(ctx c... | feat(influxdb): add delete interface | null | influxdata/influxdb | MIT License | Go |
@@ -78,7 +78,7 @@ public final class RevisionBranch extends MetadataHolderImpl {
/**
* The maximum length of a branch.
*/
- public static final int DEFAULT_MAXIMUM_BRANCH_NAME_LENGTH = 50;
+ public static final int DEFAULT_MAXIMUM_BRANCH_NAME_LENGTH = 100;
/**
* Temporary branch name format. Values are prefix, name, cu... | feat(index): increase branch path segment max length to 100 characters | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -14,6 +14,7 @@ import com.conveyal.analysis.controllers.ModificationController;
import com.conveyal.analysis.controllers.OpportunityDatasetController;
import com.conveyal.analysis.controllers.ProjectController;
import com.conveyal.analysis.controllers.RegionalAnalysisController;
+import com.conveyal.analysis.control... | feat(spatial): register controller | null | conveyal/r5 | MIT License | Java |
@@ -85,15 +85,6 @@ func NewClusterAddCommand(clientOpts *argocdclient.ClientOptions, pathOpts *clie
log.Fatalf("Context %s does not exist in kubeconfig", contextName)
}
- isTerminal := isatty.IsTerminal(os.Stdout.Fd()) || isatty.IsCygwinTerminal(os.Stdout.Fd())
-
- if isTerminal && !skipConfirmation {
- message := fmt.... | feat: only ask for confirmation when creating argocd-manager service account | null | argoproj/argo-cd | Apache License 2.0 | Go |
@@ -22,7 +22,13 @@ import org.jboss.shrinkwrap.api.Archive;
import org.jboss.shrinkwrap.descriptor.api.Descriptor;
/**
- * DeployableContainer
+ * This interface defines a DeployableContainer in Arquillian.
+ *
+ * <p>
+ * Methods to get the configuration class, the default protocol and to deploy
+ * and undeploy an ar... | feat: provides default implementations for DeployableContainer | null | arquillian/arquillian-core | Apache License 2.0 | Java |
@@ -127,4 +127,18 @@ class AuditableTest extends TestCase
$this->assertCount(1, $events);
}
+
+ /**
+ * Test the transformAudit() method to PASS.
+ *
+ * @return void
+ */
+ public function testTransformAuditPass()
+ {
+ $model = new AuditableModelStub();
+
+ $data = $model->transformAudit([]);
+
+ $this->assertEquals(... | feat(AuditableTest): test transformAudit() method | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -11,7 +11,7 @@ public struct AnyResponse<Entity: Decodable>: APIClientResponse {
public var result: Entity?
public var error: ResponseError?
- init<T: APIClientResponse>(_ response: T) where T.Entity == Entity {
+ public init<T: APIClientResponse>(_ response: T) where T.Entity == Entity {
self.result = response.resu... | feat: expose api for testing | null | p2p-org/solana-swift | MIT License | Swift |
@@ -236,9 +236,9 @@ class Collections
}
/**
- * Returns the number of items.
+ * Returns a value indicating whether the collection contains any item of data.
*
- * @return int The number of items.
+ * @return bool Return true or false.
*
* @access public
*/
@@ -259,14 +259,28 @@ class Collections
return count($this->al... | feat(element-queries): Collections API implementation | null | flextype/flextype | MIT License | PHP |
@@ -50,16 +50,16 @@ class Core(options: Options) : UIObject() {
field = value
- activeContainer?.on(InternalEvent.WILL_CHANGE_PLAYBACK.value,
- { bundle: Bundle? ->
+ activeContainer?.on(InternalEvent.WILL_CHANGE_PLAYBACK.value
+ ) { bundle: Bundle? ->
trigger(
InternalEvent.WILL_CHANGE_ACTIVE_PLAYBACK.value, bundle)
-... | feat: trigger new event in core context | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -73,6 +73,67 @@ impl EmissionSchedule {
EmissionSchedule { initial, decay, tail }
}
+ /// Utility function to calculate the decay parameters that are provided in [EmissionSchedule::new]. This function
+ /// is provided as a convenience and for the record, but is kept as a separate step. For performance reasons the
+... | feat: add decay_params method | null | tari-project/tari | BSD 3-Clause New or Revised License | Rust |
@@ -37,6 +37,7 @@ class GlobalVarsAdminTwigExtension extends Twig_Extension implements Twig_Extens
{
return [
'is_logged' => (Session::exists('role') && Session::get('role') === 'admin'),
+ 'uuid' => Session::exists('uuid') ? Session::get('uuid') : '',
'username' => Session::exists('username') ? Session::get('username'... | feat(admin-plugin): add new Global Var uuid for admin plugin Twig Templates | null | flextype/flextype | MIT License | PHP |
@@ -3,6 +3,7 @@ using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
+using System.Windows.Input;
using Microsoft.AspNetCore.Components;
#endregion
@@ -46,7 +47,14 @@ namespace Blazorise
protected void ClickHandler()
{
if ( !IsDisabled )
+ {
Clicked.InvokeAsync( null );
+
+ i... | feat: support for MVVM command on Button component | null | stsrki/blazorise | MIT License | C# |
@@ -296,6 +296,11 @@ impl LifecycleManager {
let sized_out = s.bytes_written > self.config.partition_size_threshold;
if sized_out {
self.persist_size_counter.inc(1);
+ info!(sequencer_id=%s.sequencer_id,
+ partition_id=%s.partition_id,
+ bytes_written=s.bytes_written,
+ partition_size_threshold=self.config.partition_si... | feat: log when partitions are written due to going over size | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -941,6 +941,11 @@ getStaticLibsArchivePath() {
echo "${jdkArchivePath}-static-libs"
}
+getSbomArchivePath(){
+ local jdkArchivePath=$(getJdkArchivePath)
+ echo "${jdkArchivePath}/metadata/sbom.json"
+}
+
# Clean up
removingUnnecessaryFiles() {
local jdkTargetPath=$(getJdkArchivePath)
@@ -1431,10 +1436,10 @@ createAr... | feat: add archive sbom.json in Jenkins build | null | adoptium/temurin-build | Apache License 2.0 | Shell |
@@ -43,6 +43,7 @@ use jwt_simple::algorithms::RSAKeyPairLike;
use jwt_simple::claims::JWTClaims;
use jwt_simple::claims::NoCustomClaims;
use jwt_simple::prelude::Clock;
+use num::ToPrimitive;
use poem::http::Method;
use poem::http::StatusCode;
use poem::Endpoint;
@@ -352,6 +353,93 @@ async fn test_insert() -> Result<()... | feat(query_log): unit test with http handler | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -52,7 +52,7 @@ class CollectClipRepresentations(pyblish.api.InstancePlugin):
"fps": fps,
"name": json_repr_subset,
"ext": json_repr_ext,
- "tags": ["preview", "review", "burnins", "reformat", "delete"]
+ "tags": ["review", "delete"]
}
else:
representation = {
| feat(ppro): restrict tags in representation for review | null | pypeclub/openpype | MIT License | Python |
@@ -955,21 +955,36 @@ class Database(object):
def delete(self, doctype: str, filters: Union[Dict, List], debug=False, **kwargs):
"""Delete rows from a table in site which match the passed filters. This
does trigger DocType hooks. Simply runs a DELETE query in the database.
+
+ Doctype name can be passed directly, it wi... | feat: frappe.db.truncate | null | frappe/frappe | MIT License | Python |
@@ -127,10 +127,9 @@ os.ui.header.ScrollHeaderCtrl = function($scope, $element, $timeout, $attrs) {
* @private
*/
os.ui.header.ScrollHeaderCtrl.prototype.updatePositions_ = function() {
- var bannerHeight = $('.c-classification-banner__text').outerHeight();
- var headerHeight = $('header').outerHeight();
+ var headerHe... | feat(boostrap4): scrollheader feedback | null | ngageoint/opensphere | Apache License 2.0 | JavaScript |
@@ -153,6 +153,7 @@ func (sr *MultiRootRule) Name() string {
// RuleTestCase allows for concise creation of test cases that exercise rules
type RuleTestCase struct {
Name string
+ Context context.Context
Rules []plan.Rule
Before *PlanSpec
After *PlanSpec
@@ -181,7 +182,12 @@ func PhysicalRuleTestHelper(t *testing.T, tc... | feat: add a context to plantest.RuleTestCase | null | influxdata/flux | MIT License | Go |
@@ -712,13 +712,24 @@ class Contract(_DeployedContractBase):
BrownieCompilerWarning,
)
- if as_proxy_for is None and data["result"][0].get("Implementation"):
+ if as_proxy_for is None:
+ # always check for an EIP1967 proxy - https://eips.ethereum.org/EIPS/eip-1967
+ implementation_eip1967 = web3.eth.getStorageAt(
+ add... | feat: check for eip1967 proxy implementation | null | eth-brownie/brownie | MIT License | Python |
@@ -181,6 +181,7 @@ if (registry()->get('flextype.settings.output_buffering')) {
// Add Router Cache
if (registry()->get('flextype.settings.router.cache')) {
+ filesystem()->directory(PATH['tmp'] . '/routes')->ensureExists(0755, true);
app()->getRouteCollector()->setCacheFile(PATH['tmp'] . '/routes/routes.php');
}
| feat(routes): ensure cache dir exists for routes | null | flextype/flextype | MIT License | PHP |
@@ -432,7 +432,7 @@ impl MultiBindings {
/// let gen = MultiAbigen::from_json_files(&abi_dir).unwrap();
/// let bindings = gen.build().unwrap();
/// bindings.ensure_consistent_crate(
- /// "my-crate", "0.0.1", project_root.join("src/contracts"), false
+ /// "my-crate", "0.0.1", project_root.join("src/contracts"), false... | feat(ethers-contract-abigen): opt out of checking cargo.toml for consistency | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -3,7 +3,6 @@ var path = require('path');
var LRU = require('lru-cache');
var iconv = require('iconv-lite');
var wsParser = require('ws-parser');
-var extend = require('extend');
var http = require('http');
var request = require('../util/http-mgr').request;
var isUtf8 = require('../util/is-utf8');
@@ -35,6 +34,7 @@ v... | feat: allow custom request headers | null | avwo/whistle | MIT License | JavaScript |
@@ -967,19 +967,31 @@ static void validate_db(iallocator& allocator, const track_array_qvvf& raw_track
ACL_ASSERT(error_tier0.error >= error_tier1_ref.error, "Tier 0 error should be higher or equal to tier 1");
// Stream in our tier 1 data
- const acl::database_stream_request_result stream_in_result = db_context.stream... | feat(tools): test progressive streaming in/out | null | nfrechette/acl | MIT License | C++ |
@@ -104,6 +104,10 @@ parsers()->shortcodes()->addHandler('strings', static function (ShortcodeInterfa
if ($key == 'capitalize') {
$content = strings($content)->{'capitalize'}()->toString();
}
+
+ if ($key == 'chars') {
+ $content = serializers()->json()->encode(strings($content)->{'chars'}());
+ }
}
return (string) $co... | feat(shortcodes): `[strings]` shortcode - add `chars` modifier | null | flextype/flextype | MIT License | PHP |
@@ -608,6 +608,7 @@ impl MainWin {
// Put keyboard shortcuts here
application.set_accels_for_action("app.find", &["<Primary>f"]);
application.set_accels_for_action("app.save", &["<Primary>s"]);
+ application.set_accels_for_action("app.save_as", &["<Primary><Shift>s"]);
application.set_accels_for_action("app.new", &["<P... | feat(tau): Add `save as` accelerator | null | cogitri/tau | MIT License | Rust |
@@ -26,5 +26,7 @@ then
echo "${DIFFROOT} up to date."
else
echo "${DIFFROOT} is out of date. Please run hack/build-single-manifests.sh"
+ echo "Diff output:"
+ git --no-pager diff "${DIFFROOT}"
exit 1
fi
| feat(ci): display diff on manifest verify failure | null | kong/kubernetes-ingress-controller | Apache License 2.0 | Shell |
@@ -91,7 +91,7 @@ public void UpdateCulling()
targetImage.enabled = visible;
- if (!isLoadingOrLoaded && visible)
+ if (!isLoadingOrLoaded)
loadCoroutine = CoroutineStarter.Start(LoadChunkImage());
}
| feat: now navmap chunks are loaded from start | null | decentraland/explorer | Apache License 2.0 | C# |
@@ -18,7 +18,8 @@ use ruma::{
events::{
room::history_visibility::HistoryVisibility,
tag::{TagInfo, TagName},
- AnyStateEvent, AnySyncStateEvent, StateEventType,
+ AnyStateEvent, AnySyncStateEvent, StateEventContent, StateEventType, StaticEventContent,
+ SyncStateEvent,
},
serde::Raw,
uint, EventId, RoomId, UInt, UserI... | feat(sdk): Add convenience methods for getting state events of statically-known type | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -220,7 +220,7 @@ public interface IndexClientFactory {
/**
* Default size in megabytes to limit all outgoing bulk requests.
*/
- int DEFAULT_BULK_ACTIONS_SIZE_IN_MB = 9;
+ int DEFAULT_BULK_ACTIONS_SIZE_IN_MB = 49;
/**
* Default amount of commit details indicating low watermark
| feat(index): index default bulkActionSizeInMb setting value to `50` | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -205,22 +205,23 @@ os.config.ThemeSettings.changeTheme = function(ssEl, cssFile, backupCssFile, res
request.setUri(cssFile);
request.listenOnce(goog.net.EventType.SUCCESS, function(event) {
os.config.ThemeSettings.cleanupRequest(event);
- $('body').css('opacity', 0);
- $('body').css('background-color', '#000');
- go... | feat(theming): better theme switching | null | ngageoint/opensphere | 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.