diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -497,22 +497,24 @@ class Connection extends BaseConnection implements ConnectionInterface
*/
public function _foreignKeyData(string $table): array
{
- $sql = '
- SELECT
- tc.CONSTRAINT_NAME,
- tc.TABLE_NAME,
- kcu.COLUMN_NAME,
- rc.REFERENCED_TABLE_NAME,
- kcu.REFERENCED_COLUMN_NAME
- FROM information_schema.TABLE_C... | feat: add get forgen key data method | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -57,10 +57,21 @@ def to_volumecutout(img, image_type, resolution=None, offset=None, hostname='loc
handle=None,
)
+def to3d(img):
+ while len(img.shape) > 3:
+ img = img[..., 0]
+ while len(img.shape) < 3:
+ img = img[..., np.newaxis]
+ return img
+
def hyperview(
img, segmentation, resolution=None, offset=None,
host... | feat(uviewer): cast 2D and 4D images to 3D automatically | null | seung-lab/cloud-volume | BSD 3-Clause New or Revised License | Python |
+const https = require('https')
+const parseUrl = require('url').parse
+const { PassThrough, pipeline} = require('stream')
+const eventEmitter = require('events')
+
+const {
+ canPrefetch,
+ createPrefetchClient,
+ createClient,
+} = require('@middy/util')
+
+const S3 = require('aws-sdk/clients/s3.js') // v2
+// const ... | feat: add in new middleware | null | middyjs/middy | MIT License | JavaScript |
@@ -5,6 +5,7 @@ import java.util.Collection;
import org.burningokr.dto.okr.ObjectiveDto;
import org.burningokr.mapper.interfaces.DataMapper;
import org.burningokr.model.okr.KeyResult;
+import org.burningokr.model.okr.Note;
import org.burningokr.model.okr.Objective;
import org.burningokr.model.okrUnits.OkrDepartment;
im... | feat(objective-comment): added mapping for notes | null | burningokr/burningokr | Apache License 2.0 | Java |
@@ -113,8 +113,14 @@ open class Core: UIObject, UIGestureRecognizerDelegate {
private func renderPlugins() {
plugins.forEach { plugin in
view.addSubview(plugin.view)
+ do {
+ try ObjC.catchException {
plugin.render()
}
+ } catch {
+ Logger.logError(error.localizedDescription, scope: "Rendering Core Plugins")
+ }
+ }
}
... | feat: catch exception when rderning core plugins | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -31,7 +31,7 @@ class DropdownSelector extends Component {
<Col xs={6} className='setting-label'>{label}</Col>
<Col xs={6}>
<Form>
- <FormGroup>
+ <FormGroup className='dropdown-selector-container'>
<FormControl
className='dropdown-selector'
componentClass='select'
| feat(form): Add class id to form dropdown container | null | opentripplanner/otp-react-redux | MIT License | JavaScript |
import React from 'react'
import Box from './Box'
-import styled from 'styled-components'
+import Icon from './Icon'
import PropTypes from 'prop-types'
-const HugBanner = styled(Box)`
-`
+const HugBanner = (props) => (
+ <Box>
+ <Icon name={props.iconName} />
+ {props.textNode}
+ </Box>
+)
HugBanner.defaultProps = {
- ... | feat(hug): intermediate commit | null | priceline/design-system | MIT License | JavaScript |
@@ -16,6 +16,7 @@ mod user;
use crate::backend::{Backend, BACKENDS};
+use std::io;
use std::ops::Deref;
use std::process::ExitCode;
use std::str::FromStr;
@@ -23,8 +24,10 @@ use std::str::FromStr;
use anyhow::{anyhow, bail};
use clap::{ArgAction, Args, Parser, Subcommand};
use tracing::info;
+use tracing_subscriber::fi... | feat: take `log-target` into account | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -7,6 +7,7 @@ import (
"testing"
"time"
+ "github.com/google/go-cmp/cmp"
"github.com/influxdata/influxdb/kv"
)
@@ -45,6 +46,10 @@ func KVStore(
name: "Cursor",
fn: KVCursor,
},
+ {
+ name: "CursorWithHints",
+ fn: KVCursorWithHints,
+ },
{
name: "View",
fn: KVView,
@@ -512,6 +517,123 @@ func KVCursor(
}
}
+// KVCurso... | feat(kv): Add unit tests for expected behavior when using hints | null | influxdata/influxdb | MIT License | Go |
@@ -123,3 +123,16 @@ def gas_price(*args: Tuple[Union[int, str, bool, None]]) -> Union[int, bool]:
raise TypeError(f"Invalid gas price '{args[0]}'")
CONFIG.active_network["settings"]["gas_price"] = price
return CONFIG.active_network["settings"]["gas_price"]
+
+
+def gas_buffer(*args: Tuple[float, None]) -> Union[float,... | feat: method to set default gas_buffer | null | eth-brownie/brownie | MIT License | Python |
@@ -104,7 +104,7 @@ module.exports = function (ctx) {
},
manifest: {
name: 'Quasar Documentation',
- short_name: 'Quasar-Docs',
+ short_name: 'Quasar Docs',
description: 'Quasar Framework Documentation',
display: 'standalone',
orientation: 'portrait',
| feat(docs): update doc's pwa short name | null | quasarframework/quasar | MIT License | JavaScript |
@@ -27,6 +27,7 @@ import (
var (
_ SingleColumn = (*Binary)(nil)
_ Reversible = (*Binary)(nil)
+ _ Hashing = (*Binary)(nil)
)
// Binary is a vindex that converts binary bits to a keyspace id.
@@ -61,30 +62,34 @@ func (vind *Binary) NeedsVCursor() bool {
// Verify returns true if ids maps to ksids.
func (vind *Binary) V... | feat: binary vindex implemented hashing interface | null | vitessio/vitess | Apache License 2.0 | Go |
@@ -76,8 +76,10 @@ def _decimal_strategy(
@_exclude_filter
-def _address_strategy() -> SearchStrategy:
- return _DeferredStrategyRepr(lambda: st.sampled_from(list(network.accounts)), "accounts")
+def _address_strategy(length: Optional[int] = None) -> SearchStrategy:
+ return _DeferredStrategyRepr(
+ lambda: st.sampled_... | feat: add `length` kwarg to address strategy | null | eth-brownie/brownie | MIT License | Python |
@@ -117,5 +117,20 @@ for i in $(seq 1 10); do
curl -o /dev/null "${LB_VIP}:80" || (echo "Failed $i"; exit -1)
done
+# Set kind-worker to maintenance
+kubectl -n kube-system exec "${CILIUM_POD_NAME}" -- \
+ cilium service update --id 1 --frontend "${LB_VIP}:80" --backends "${WORKER_IP}:80" --backend-weights "0" --k8s-no... | feat: add XDP L4LB e2e test for backend-weights | null | cilium/cilium | Apache License 2.0 | Shell |
@@ -7,11 +7,13 @@ display_help()
echo "Use this script to run a local instance of Appsmith on port 80."
echo "The script will build all the artefacts required for a fat Docker container to come up."
echo "If no argument is given, the build defaults to release branch."
+ echo "If --local or -l is passed, it will build w... | feat: [scripts] Add option for using local changes instead of a git branch | null | appsmithorg/appsmith | Apache License 2.0 | Shell |
@@ -3,7 +3,7 @@ import { demo } from '../sampleContents/demo';
import React, { useState } from 'react';
import { cellPlugins } from '../plugins/cellPlugins';
import PageLayout from '../components/PageLayout';
-
+import { Button } from '@material-ui/core';
const LANGUAGES: Options['languages'] = [
{
lang: 'en',
@@ -17,7... | feat(docs): add reset button to demo | null | react-page/react-page | MIT License | TypeScript |
@@ -7,7 +7,6 @@ open class AVFoundationPlayback: Playback {
]
private var kvoBufferingContext = 0
- private var kvoPlayerRateContext = 0
private(set) var seekToTimeWhenReadyToPlay: TimeInterval?
@@ -269,14 +268,13 @@ open class AVFoundationPlayback: Playback {
player.observe(\.currentItem?.loadedTimeRanges, options: .n... | feat: handle rate changes with newer kvo syntax | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -409,17 +409,20 @@ export class AccessScopeExpression {
public get hasUnbind(): false { return false; }
public constructor(
- public readonly name: string,
+ // property key instead of string
+ // so that it can support manual ast construction
+ public readonly name: PropertyKey,
public readonly ancestor: number = 0... | feat(ast): allow accessscope to have PropertyKey as name | null | aurelia/aurelia | MIT License | TypeScript |
@@ -20,7 +20,7 @@ use std::sync::Weak;
use common_config::Config;
use common_exception::Result;
-use common_meta_types::UserInfo;
+use common_meta_types::{RoleInfo, UserInfo};
use common_settings::Settings;
use futures::channel::oneshot::Sender;
use parking_lot::RwLock;
@@ -33,9 +33,21 @@ pub struct SessionContext {
se... | feat: add current_role to SessionCtx | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -4,16 +4,22 @@ import { ModalProvider } from './modals/ModalProvider'
import { SidebarContext } from './sidebar/SidebarProvider'
import { cms } from '../index'
import styled, { ThemeProvider } from 'styled-components'
-import { TinaReset, theme } from '@tinacms/styles'
+import { TinaReset, Theme, theme as DEFAULT_TH... | feat: theme override | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
@@ -158,6 +158,8 @@ declare module 'koishi-core/dist/server' {
setRestart(cleanLog?: boolean, cleanCache?: boolean, cleanEvent?: boolean): Promise<void>
setGroupName(groupId: number, name: string): Promise<void>
setGroupNameAsync(groupId: number, name: string): Promise<void>
+ setGroupPortrait(groupId: number, file: st... | feat(cqhttp): support bot.setGroupPortrait() | null | koishijs/koishi | MIT License | TypeScript |
-<?php
-
-declare(strict_types=1);
-
-/**
- * Flextype (https://flextype.org)
- * Founded by Sergey Romanenko and maintained by Flextype Community.
- */
-
-namespace Flextype;
-
-function getApiResponseErrors(): array
-{
- return [
- '400' => [
- 'http_status_code' => 400,
- 'title' => 'Bad Request',
- 'message' => 'Va... | feat(endpoints): remove errors helper file | null | flextype/flextype | MIT License | PHP |
@@ -124,7 +124,7 @@ class Apple extends OAuth
{
if (empty($this->user)) {
$headers[] = 'Authorization: Bearer '. urlencode($accessToken);
- $user = $this->request('POST', 'https://api.dropboxapi.com/2/users/get_current_account', $headers);
+ $user = $this->request('POST', '', $headers);
$this->user = json_decode($user,... | feat: start vk oAuth | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
+#!/bin/sh
+
+check () {
+ count=`ls -1 {__tests__/*.js,__tests__/*.jsx} 2>/dev/null | wc -l`
+ if [ $count == 0 ] ; then
+ echo $1
+ fi
+}
+
+for package in packages/*
+do
+ if [ -d "$package" ] ; then
+ (cd "$package" && check "$package")
+
+ if [ "$?" != 0 ] ; then
+ exit -1
+ fi
+ fi
+done
| feat: add scripts to find package with no tests | null | youzan/zent | MIT License | Shell |
"""Command line option parsing."""
import abc
+from functools import reduce
from os import environ
import yaml
@@ -484,12 +485,24 @@ class GeneralGroup(ArgumentGroup):
dest="plugin_config",
type=str,
required=False,
- env_var="ACAPY_PLUGINS_CONFIG",
- help="Load YAML file path that defines external plugins configuratio... | feat: set arbitrary plugin config value at cli | null | hyperledger/aries-cloudagent-python | Apache License 2.0 | Python |
@@ -47,7 +47,7 @@ const { presets, plugins } = babelConfig;
// Resolve the absolute path of the caller location. This is necessary
// to point to files within that folder.
const rootPath = process.cwd();
-const locales = ['en', 'de'];
+const locales = ['en', 'de', 'es'];
const defaultLocale = flags.locale;
const output... | feat: add support for es language | null | commercetools/merchant-center-application-kit | MIT License | JavaScript |
+#!/bin/sh
+
+if [[ -z "$PROD_ROOT" ]]
+then
+ echo "You need to set PROD_ROOT and NODE_TYPE before building"
+ exit 1
+fi
+
+cp -R $PROD_ROOT/src/pages/_$NODE_TYPE/* $PROD_ROOT/src/pages/
+rm -rf $PROD_ROOT/src/pages/_network $PROD_ROOT/src/pages/_domain
+
| feat: copy and remove for production deployment | null | openmined/pysyft | Apache License 2.0 | Shell |
@@ -54,6 +54,7 @@ use crate::sql::PlanParser;
#[derive(Deserialize)]
pub struct StatementHandlerParams {
query: Option<String>,
+ settings: Option<String>,
}
async fn execute(
@@ -123,6 +124,14 @@ pub async fn clickhouse_handler_get(
.await
.map_err(InternalServerError)?;
+ if let Some(settings) = params.settings {
+ l... | feat(query): support settings for ck | null | datafuselabs/databend | Apache License 2.0 | Rust |
+import 'dart:async';
+
import 'package:flame/cache.dart';
import 'package:flame/src/extensions/size.dart';
import 'package:flame/src/extensions/vector2.dart';
@@ -39,8 +41,8 @@ class SpriteButton extends StatelessWidget {
final Future<List<Sprite>> Function() _buttonsFuture;
SpriteButton({
- required Sprite sprite,
- ... | feat: add FutureOr support on SpriteButton | null | flame-engine/flame | MIT License | Dart |
@@ -304,6 +304,19 @@ impl Client {
Ok(())
}
+ /// Get a copy of the default request config.
+ ///
+ /// The default request config is what's used when sending requests if no
+ /// `RequestConfig` is explicitly passed to [`send`][Self::send] or another
+ /// function with such a parameter.
+ ///
+ /// If the default req... | feat(sdk): Add request_config method to Client | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -1155,8 +1155,9 @@ impl<'bump> DiffState<'bump> {
VNode::Element(t) => break t.dom_id.get(),
VNode::Suspended(t) => break t.dom_id.get(),
VNode::Anchor(t) => break t.dom_id.get(),
- VNode::Linked(_) => {
- todo!()
+ VNode::Linked(l) => {
+ let node: &VNode = unsafe { std::mem::transmute(&*l.node) };
+ self.find_last... | feat: should be functional across the boar | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -15,7 +15,7 @@ public partial class ConfigCommands
{
public partial class EditConfigCommands
{
- [Command("logging")]
+ [Command("logging", "log", "l")]
[Description("Adjust the settings for logging. \n" +
"If a channel is already specified for the action, it will be overridden with the new one."
)]
| feat: add logging command aliases | null | vtpdevelopment/silk | Apache License 2.0 | C# |
@@ -22,6 +22,7 @@ import { HcPopoverHorizontalAlign, HcPopoverOpenOptions, HcPopoverTrigger, HcPop
import { PopoverNotification, PopoverNotificationService, NotificationAction } from '../notification.service';
import { HcPopoverAccessibilityService, HcPopKeyboardNotifier, KEY_CODE } from '../popover-accessibility.servi... | feat(hctooltip): restoreFocus hcTooltip | null | healthcatalyst/fabric.cashmere | Apache License 2.0 | TypeScript |
+from carbonserver.api.errors import DBException
from container import ServerContainer
from fastapi import Depends, FastAPI
@@ -14,6 +15,16 @@ from carbonserver.api.routers import (
users,
)
from carbonserver.database.database import engine
+from starlette.requests import Request
+from starlette.responses import JSONRe... | feat: handling DB & generic exceptions at application lvl, to always | null | mlco2/codecarbon | MIT License | Python |
@@ -46,6 +46,10 @@ class Amazon extends OAuth
*/
public function getLoginURL(): string
{
+ foreach ($this->requiredScope as $item) {
+ $this->addScope($item);
+ }
+
return 'https://www.amazon.com/ap/oa?' .
'client_id='.urlencode($this->appID).
'&redirect_uri='.urlencode($this->callback).
| feat: modified Amazon Adapter to use the new custom scopes | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -66,6 +66,8 @@ pub type Result<T, E = Error> = std::result::Result<T, E>;
/// Users are required to [wipe](crate::catalog::PreservedCatalog::wipe) the existing catalog before running this
/// procedure (**after creating a backup!**).
///
+/// This will create a catalog checkpoint for the very last transaction.
+///
... | feat: create checkpoint during catalog rebuild | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -19,13 +19,14 @@ func NewLogger(zlog *zap.Logger) *Logger {
}
func (l *Logger) Log(level log.Level, keyvals ...interface{}) error {
- if len(keyvals) == 0 || len(keyvals)%2 != 0 {
+ keylen := len(keyvals)
+ if keylen == 0 || keylen%2 != 0 {
l.log.Warn(fmt.Sprint("Keyvalues must appear in pairs: ", keyvals))
return n... | feat(log): update zap interface | null | go-kratos/kratos | MIT License | Go |
@@ -106,6 +106,7 @@ class ForceRoleCommand : AbstractCommand("command.forcerole") {
init {
name = "add"
+ aliases = arrayOf("a")
}
override suspend fun execute(context: ICommandContext) {
@@ -156,6 +157,7 @@ class ForceRoleCommand : AbstractCommand("command.forcerole") {
init {
name = "remove"
+ aliases = arrayOf("rm")... | feat: add some basic aliases | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -360,9 +360,10 @@ func LogWarning(err error) error {
return log(logrus.WarnLevel, err)
}
-func LogRequest(typ, method, url, from string, headers http.Header, message []byte) {
+func LogRequest(typ, proto, method, url, from string, headers http.Header, message []byte) {
fields := logrus.Fields{
"type": typ,
+ "proto"... | feat: log HTTP protocol version | null | privacybydesign/irmago | Apache License 2.0 | Go |
+/*
+ Copyright 2020-2021 Lowdefy, Inc
+
+ 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://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in wri... | feat(build): Added createCheckDuplicateId test | null | lowdefy/lowdefy | Apache License 2.0 | JavaScript |
@@ -40,6 +40,15 @@ func (cfg *Configuration) execHook(rl *release.Release, hook release.HookEvent,
sort.Sort(hookByWeight(executingHooks))
for _, h := range executingHooks {
+ // Set default delete policy to before-hook-creation
+ if h.DeletePolicies == nil || len(h.DeletePolicies) == 0 {
+ // TODO(jlegrone): Only appl... | feat(hooks): set default deletion policy to before-hook-creation | null | helm/helm | Apache License 2.0 | Go |
@@ -59,7 +59,7 @@ class FeatureClassLoader extends URLClassLoader {
*/
FeatureClassLoader(URL[] urls, ClassLoader buildToolClassLoader) {
- super(urls, null);
+ super(urls, getParentClassLoader());
Objects.requireNonNull(buildToolClassLoader);
this.buildToolClassLoader = buildToolClassLoader;
}
@@ -74,4 +74,19 @@ class... | feat(FeatureClassLoader): support class loading of Java 9+ | null | diffplug/spotless | Apache License 2.0 | Java |
@@ -154,7 +154,7 @@ describe(`Encryption`, function() {
.then(([auth]) => {
assert.equal(auth.resourceUri, kro.uri);
assert.equal(auth.authId, mccoy.spark.internal.device.userId);
- return spark.internal.encryption.kms.listAuthorizations({kroUri: kro.uri})
+ return spark.internal.encryption.kms.listAuthorizations({kro}... | feat(@ciscospark/i-p-encryption): get auth list of the resource | null | webex/webex-js-sdk | MIT License | JavaScript |
@@ -2752,8 +2752,6 @@ shaka.hls.HlsParser = class {
partialStatus = shaka.media.SegmentReference.Status.MISSING;
}
- // We do not set the AES-128 key information for partial segments, as we
- // do not support AES-128 and low-latency at the same time.
const partial = new shaka.media.SegmentReference(
pStartTime,
pEndTi... | feat(HLS): Add support to HLS-AES128 low latency | null | google/shaka-player | Apache License 2.0 | JavaScript |
@@ -7,7 +7,9 @@ import me.melijn.melijnbot.commands.image.GifSequenceWriter
import me.melijn.melijnbot.commands.image.UserImageException
import me.melijn.melijnbot.internals.command.ICommandContext
import me.melijn.melijnbot.internals.utils.ParsedImageByteArray
+import me.melijn.melijnbot.internals.utils.StringUtils
im... | feat: gif image effect loading indicator, safe gif loading, size errors messages | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -58,7 +58,7 @@ namespace acl
//////////////////////////////////////////////////////////////////////////
const compressed_database* get_compressed_database() const { return db; }
- //compressed_tracks_version16 get_version() const { return db->get_version(); }
+ compressed_database_version16 get_version() const { ret... | feat(database): expose version query function in database context | null | nfrechette/acl | MIT License | C |
@@ -8,8 +8,8 @@ protocol AVPlayerItemInfoDelegate: AnyObject {
class AVPlayerItemInfo {
private unowned var item: AVPlayerItem {
didSet {
+ clearObservers()
setupObservers()
-
}
}
private unowned var delegate: AVPlayerItemInfoDelegate
@@ -76,8 +76,12 @@ class AVPlayerItemInfo {
assetInfo.wait(for: .characteristics) { [... | feat: Add clear observers to item info | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -77,7 +77,10 @@ class RayPipeline(Pipeline):
:param serve_args: Optional parameters for initializing Ray Serve.
"""
ray_args = ray_args or {}
+ if not ray.is_initialized():
ray.init(address=address, **ray_args)
+ else:
+ logger.warning("Ray was already initialized, so reusing that for this RayPipeline.")
self._serve... | feat: Support multiple `RayPipelines` | null | deepset-ai/haystack | Apache License 2.0 | Python |
@@ -45,7 +45,7 @@ if [ ! -f Attribution.txt ]; then
else
# loop over every library in the modules.txt file in vendor
while IFS= read -r lib; do
- if ! grep -q "$lib" Attribution.txt; then
+ if ! grep -q "$lib" Attribution.txt && [ "$lib" != "explicit" ]; then
echo "An attribution for $lib is missing from Attribution.tx... | feat(all): fix to test-attribution-txt.sh to address | null | edgexfoundry/edgex-go | Apache License 2.0 | Shell |
+'use strict'
+
+var logger = require('../logger').child({component: 'lasp-map'})
+
+module.exports = {
+ // LASP key
+ record_sql: {
+ // full path to corresponding config key
+ path: 'transaction_tracer.record_sql',
+ // Mapping from policy enabled status to usable config value
+ // first element is policy is off, se... | feat(config): break out LASP key map; add clearData functions | null | newrelic/node-newrelic | Apache License 2.0 | JavaScript |
@@ -2,7 +2,7 @@ import { CLTick, getBigNumber, RPool, RToken, UniV3Pool } from '@sushiswap/tines
import NonfungiblePositionManager from '@uniswap/v3-periphery/artifacts/contracts/NonfungiblePositionManager.sol/NonfungiblePositionManager.json'
import WETH9 from 'canonical-weth/build/contracts/WETH9.json'
import { expect... | feat: Tines: +liquidity in mint position | null | sushiswap/sushiswap | MIT License | TypeScript |
import threading
import SocketServer
import xbmc
+import xbmcaddon
+import socket
from resources.lib.common import log
from resources.lib.MSLHttpRequestHandler import MSLHttpRequestHandler
-PORT = 8000
+def select_unused_port():
+ s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
+ s.bind(('localhost', 0))
+ addr, ... | feat(service): Dynamic port allocation | null | castagnait/plugin.video.netflix | MIT License | Python |
@@ -8,15 +8,13 @@ const localeRe = /^\s*([^-]+)(?:-(.+))\s*$/
function normalizeLocale (_, p1, p2) {
const locale = p1.toLowerCase()
- if (typeof p2 === 'string' && p2.length > 0) {
- return locale + '-' + (
+ return typeof p2 === 'string' && p2.length > 0
+ ? locale + '-' + (
p2.length < 4
? p2.toUpperCase()
: (p2[ 0 ... | feat(ui/lang): polish getLocale() | null | quasarframework/quasar | MIT License | JavaScript |
@@ -25,7 +25,14 @@ use std::path::PathBuf;
/// Returns the list of paths where the bundles can be found.
pub fn bundle_project(settings: Settings) -> crate::Result<Vec<PathBuf>> {
let mut paths = Vec::new();
- let package_types = settings.package_types()?;
+ let mut package_types = settings.package_types()?;
+ // The A... | feat(bundler): always bundle deb before appimage, fixes | null | tauri-apps/tauri | Apache License 2.0 | Rust |
@@ -32,6 +32,7 @@ class BulkAppTranslationModuleUpdater(BulkAppTranslationUpdater):
self.title_label = None
self.description = None
self.tab_headers = None
+ self.no_items_text = None
def update(self, rows):
# The list might contain DetailColumn instances in them that have exactly
@@ -99,6 +100,9 @@ class BulkAppTransl... | feat: handle no_items_text in bulk application translations | null | dimagi/commcare-hq | BSD 3-Clause New or Revised License | Python |
@@ -109,7 +109,6 @@ open class Core: UIObject, UIGestureRecognizerDelegate {
parentView.addSubviewMatchingConstraints(view)
layerComposer.attachContainer(containerView)
- setupMediaControlLayer()
layerComposer.compose(inside: view)
self.parentController = controller
@@ -118,15 +117,6 @@ open class Core: UIObject, UIGes... | feat: setup media control layer on render core plugins | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -6,6 +6,7 @@ import com.mongodb.client.MongoClients;
import com.mongodb.client.MongoCollection;
import com.mongodb.client.MongoDatabase;
import org.bson.codecs.configuration.CodecRegistry;
+import org.bson.codecs.pojo.Conventions;
import org.bson.codecs.pojo.PojoCodecProvider;
import org.slf4j.Logger;
import org.slf... | feat(mongo): use conventions (including annotation) | null | conveyal/r5 | MIT License | Java |
@@ -13,6 +13,7 @@ export interface LoggerService {
warn(message: any, context?: string);
debug?(message: any, context?: string);
verbose?(message: any, context?: string);
+ getTimestamp?(): string;
}
@Injectable()
@@ -95,6 +96,18 @@ export class Logger implements LoggerService {
this.printMessage(message, clc.cyanBrigh... | feat(common): timestamp inside log service can be overridden | null | nestjs/nest | MIT License | TypeScript |
@@ -29,10 +29,10 @@ class EntriesUpdateCommand extends Command
{
$io = new SymfonyStyle($input, $output);
- $data = serializers()->json()->decode($input->getOption('data') ?? []);
+ $data = $input->getOption('data') ? serializers()->json()->decode($input->getOption('data')) : [];
if (entries()->update($input->getOption... | feat(console): update EntriesUpdateCommand | null | flextype/flextype | MIT License | PHP |
@@ -116,7 +116,7 @@ class Entries
*
* @access public
*/
- private function initMacros(array $macros): void
+ public function initMacros(array $macros): void
{
foreach ($macros as $key => $value) {
if ($key == 'debug') {
@@ -136,7 +136,7 @@ class Entries
*
* @access public
*/
- private function initDirectives(array $dir... | feat(entries): change visibility of methods `initDirectives` and `initMacros` | null | flextype/flextype | MIT License | PHP |
@@ -18,7 +18,6 @@ import { PaymentRequestOptions } from '../../payment-request-options';
import PaymentRequestSender from '../../payment-request-sender';
import PaymentRequestTransformer from '../../payment-request-transformer';
import * as paymentStatusTypes from '../../payment-status-types';
-import { getVaultedInstr... | feat(checkout): Remove unused import | null | bigcommerce/checkout-sdk-js | MIT License | TypeScript |
@@ -112,6 +112,11 @@ namespace PepperDash.Essentials.Core
public override void ExecuteSwitch(object selector)
{
Debug.Console(2, this, "ExecuteSwitch: {0}", selector);
+
+ if (!_PowerIsOn)
+ {
+ PowerOn();
+ }
}
| feat: updated ExecuteSwitch to turn the display power on if _PowerIsOn is false | null | pepperdash/essentials | MIT License | C# |
@@ -31,8 +31,8 @@ function googleTagManager(pluginConfig = {}) {
...config,
...pluginConfig
},
- initialize: ({ config, customScriptSrc }) => {
- const { containerId, dataLayerName } = config
+ initialize: ({ config }) => {
+ const { containerId, dataLayerName, customScriptSrc } = config
if (!containerId) {
throw new E... | feat(google-tag-manager): allow customScriptSrc - use custom script src from the config | null | davidwells/analytics | MIT License | JavaScript |
@@ -149,6 +149,8 @@ pub enum FieldValue {
F64(f64),
/// A 64-bit signed integer number
I64(i64),
+ /// A 64-bit unsigned integer number
+ U64(u64),
/// A string value
String(String),
}
@@ -171,6 +173,12 @@ impl From<i64> for FieldValue {
}
}
+impl From<u64> for FieldValue {
+ fn from(other: u64) -> Self {
+ Self::U64(o... | feat(influxdb2_client): add FieldValue::U64 | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -59,6 +59,13 @@ func (s Spinner) WithMessageStyle(colors ...Color) *Spinner {
return &s
}
+// UpdateText updates the message of the active spinner.
+// Can be used live.
+func (s *Spinner) UpdateText(text string) {
+ clearLine()
+ s.Text = text
+}
+
// Start starts the spinner
func (s *Spinner) Start(text ...interfa... | feat: add `UpdateText` to spinner | null | pterm/pterm | MIT License | Go |
@@ -379,8 +379,6 @@ class Swagger2 extends Format
$this->getUsedModels($model, $usedModels);
}
- // var_dump($usedModels);
-
foreach ($this->models as $model) {
if (!in_array($model->getType(), $usedModels)) {
continue;
| feat(review): fix review comments | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -455,45 +455,32 @@ App::post('/v1/execution')
\curl_close($ch);
- // If timeout error
- if (in_array($errNo, [CURLE_OPERATION_TIMEDOUT, 110])) {
- $statusCode = 124;
- }
-
- // 110 is the Swoole error code for timeout, see: https://www.swoole.co.uk/docs/swoole-error-code
- if ($errNo !== 0 && $errNo !== CURLE_COULDN... | feat: handle errros better in the executor | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -451,7 +451,7 @@ pub fn efficiently_memory_final_aggregator(
let sample_block = DataBlock::empty_with_schema(schema_before_group_by);
let method = DataBlock::choose_hash_method(&sample_block, group_cols)?;
- with_hash_method(T, match method {
+ with_hash_method!(|T| match method {
HashMethodKind::T(v) => build_conve... | feat(query): add aggregate limit in final aggregate stage | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -19,6 +19,7 @@ use rdkafka::{
client::DefaultClientContext,
consumer::{BaseConsumer, Consumer, StreamConsumer},
error::KafkaError,
+ message::{Headers, OwnedHeaders},
producer::{FutureProducer, FutureRecord},
types::RDKafkaErrorCode,
util::Timeout,
@@ -31,6 +32,14 @@ use crate::core::{
WriteBufferWriting,
};
+/// Me... | feat: add format header to Kafka messages | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -276,6 +276,24 @@ Batch.prototype.loadDetails = function(id, type) {
var self = this;
var cb = (function(err, data) {
+
+ var loadingFailed = function(errMsg) {
+ events.emit('load:details:failed');
+
+ obj.data = errMsg;
+ obj.state = 'ERROR';
+ };
+
+ var loadingSuccessful = function() {
+ events.emit('load:detail... | feat(cockpit): add create user to batch operation details | null | camunda/camunda-bpm-platform | Apache License 2.0 | JavaScript |
@@ -519,6 +519,10 @@ fn get_lang_data(lang: &str) -> Option<(&'static str, &'static encoding_rs::Enco
include_str!("./templates/nsis-languages/PortugueseBR.nsh"),
UTF_8,
)),
+ "tradchinese" => Some((
+ include_str!("./templates/nsis-languages/TradChinese.nsh"),
+ UTF_8,
+ )),
_ => None,
}
}
| feat: add Traditional Chinese support for nsis | null | tauri-apps/tauri | Apache License 2.0 | Rust |
-/* eslint-disable react/prop-types, no-unused-vars, no-console */
+/* eslint-disable no-console */
import React from 'react'
import './index.scss'
@@ -11,9 +11,6 @@ import {withStateValueTags} from '@s-ui/hoc'
import {CloseIcon} from './icons'
import {beatles, ledZeppelin, queen} from './data'
-console.log(withStateVa... | feat(Root): removed console-logs | null | sui-components/sui-components | MIT License | JavaScript |
@@ -3,6 +3,7 @@ from difflib import unified_diff
from typing import List
import frappe
+from frappe.utils import pretty_date
@frappe.whitelist()
@@ -20,7 +21,12 @@ def get_version_diff(
after = after.split("\n")
diff = unified_diff(
- before, after, fromfiledate=before_timestamp, tofiledate=after_timestamp
+ before,
+ ... | feat: show human readable date and version | null | frappe/frappe | MIT License | Python |
package issue
import (
+ "github.com/MakeNowJust/heredoc"
"github.com/profclems/glab/commands/cmdutils"
issueBoardCmd "github.com/profclems/glab/commands/issue/board"
issueCloseCmd "github.com/profclems/glab/commands/issue/close"
@@ -22,6 +23,18 @@ func NewCmdIssue(f *cmdutils.Factory) *cobra.Command {
Use: "issue [com... | feat(commands/issue): add EXAMPLES and ARGUMENTS | null | profclems/glab | MIT License | Go |
@@ -4,11 +4,13 @@ import Overlay, { IOverlayProps } from '../overlay';
import Icon from '../icon';
import Button from '../button';
import './style/index.less';
+import { HTMLDivProps } from '../utils/props';
export interface IDrawerProps extends IOverlayProps {
footer?: React.ReactNode;
icon?: JSX.Element | string | fa... | feat(Drawer): Add bodyProps props | null | uiwjs/uiw | MIT License | TypeScript |
@@ -61,7 +61,7 @@ class TestBlogPost(unittest.TestCase):
frappe.delete_doc("Blog Category", blog.blog_category)
def make_test_blog():
- if not frappe.db.exists('Blog Category', 'Test Blog Category'):
+ if not frappe.db.exists('Blog Category', '-test-blog-category'):
# Set different title and name for the category
frapp... | feat: update category in tests | null | frappe/frappe | MIT License | Python |
@@ -27,6 +27,7 @@ public class VersionRestInput {
private String description = "";
private String effectiveTime;
private Boolean force = Boolean.FALSE;
+ private String commitComment;
public ResourceURI getResource() {
return resource;
@@ -68,4 +69,12 @@ public class VersionRestInput {
this.force = force;
}
+ public St... | feat(VersionRestInput): add commit comment property | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
import glob
import json
+from typing import Dict, List
import pytest
+from pydantic.main import BaseModel
from toucan_connectors.common import nosql_apply_parameters_to_query
from weaverbird.pipeline import Pipeline, PipelineWithVariables
-def get_test_cases():
+class Case(BaseModel):
+ filename: str
+ data: Dict
+ con... | feat(pipeline with variables): when a parametrized test fail, it prints its name | null | toucantoco/weaverbird | BSD 3-Clause New or Revised License | Python |
@@ -2,11 +2,12 @@ use anyhow::Result;
use clap::{App, AppSettings, Arg};
use interceptor::registry::Registry;
use rtcp::payload_feedbacks::picture_loss_indication::PictureLossIndication;
+use std::collections::HashMap;
use std::io::Write;
use std::sync::Arc;
use tokio::time::Duration;
use webrtc::api::interceptor_regis... | feat: Add audio track to examples/reflect | null | webrtc-rs/webrtc | Apache License 2.0 | Rust |
@@ -5,6 +5,7 @@ import (
"encoding/binary"
"fmt"
"math"
+ "sync"
"time"
"github.com/privacybydesign/gabi/revocation"
@@ -75,6 +76,8 @@ func (client *Client) initRevocation() {
// revocation server if those do not suffice.
func (client *Client) NonrevPrepare(request irma.SessionRequest) error {
base := request.Base()
+ ... | feat: irmaclient updates all relevant witnesses concurrently during a session | null | privacybydesign/irmago | Apache License 2.0 | Go |
@@ -75,7 +75,7 @@ app()->get('/api/content', function (Request $request, Response $response) use (
}
// override content.fetch.result
- registry()->set('flextype.settings.storage.content.fields.content.fetch.result', 'toArray');
+ registry()->set('flextype.settings.entries.content.fields.content.fetch.result', 'toArray... | feat(endpoints): update entries endpoints | null | flextype/flextype | MIT License | PHP |
@@ -21,6 +21,6 @@ namespace Senparc.Weixin.Work.AdvancedAPIs
public string corpid { get; set; }
public string userid { get; set; }
public string session_key { get; set; }
+ public string open_userid { get; set; }
}
-
}
| feat: add oepn_userid of LoginCheckResultJson | null | jeffreysu/weixinmpsdk | Apache License 2.0 | C# |
package com.github.mixinors.astromine.common.block.entity;
+import com.github.mixinors.astromine.common.block.entity.base.ExtendedBlockEntity;
+import com.github.mixinors.astromine.common.transfer.storage.SimpleItemStorage;
import com.github.mixinors.astromine.registry.common.AMBlockEntityTypes;
import net.minecraft.bl... | feat: BufferBlockEntity | null | mixinors/astromine | MIT License | Java |
# For Bitbucket: BITBUCKET_TOKEN must be set to "myusername:my_app_password", the password needs to have Read scope
# on "Repositories" and "Pull Requests" so it can post comments. Using a Bitbucket App password
# (https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/) is recommended.
+# For Bitbucket Serve... | feat: add support for Bitbucket Server | null | infracost/infracost | Apache License 2.0 | Shell |
@@ -112,6 +112,10 @@ parsers()->shortcodes()->addHandler('strings', static function (ShortcodeInterfa
if ($key == 'charsFrequency') {
$content = serializers()->json()->encode(strings($content)->{'charsFrequency'}());
}
+
+ if ($key == 'contains') {
+ $content = strings($content)->{'contains'}(isset($values[0]) ? (strin... | feat(shortcodes): `[strings]` shortcode - add `contains` modifier | null | flextype/flextype | MIT License | PHP |
package io.clappr.player.base
import org.junit.Test
-import org.junit.runner.RunWith
-import org.robolectric.RobolectricTestRunner
import kotlin.test.assertEquals
-@RunWith(RobolectricTestRunner::class)
class EventTest {
@Test
| feat(rename_events): Tests improved | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -32,7 +32,7 @@ func newLogger(logLevel string, zapEncoding string) (*zap.SugaredLogger, error)
StacktraceKey: "stacktrace",
LineEnding: zapcore.DefaultLineEnding,
EncodeLevel: zapcore.CapitalColorLevelEncoder,
- EncodeTime: zapcore.EpochTimeEncoder,
+ EncodeTime: zapcore.ISO8601TimeEncoder,
EncodeDuration: zapcore.S... | feat(go): Change timestamp from Epoc to ISO0860 for human readability | null | kubernetes-simulator/simulator | Apache License 2.0 | Go |
@@ -34,18 +34,29 @@ interface TermReader {
fun readTerms(string: String): Sequence<Term> = readTerms(string, defaultOperatorSet)
companion object {
- val withNoOperator: TermReader = withOperators(OperatorSet.EMPTY)
+ @JvmStatic
+ @JvmOverloads
+ fun withNoOperator(scope: Scope = Scope.empty()): TermReader =
+ withOper... | feat: extend TermReader construction API | null | tuprolog/2p-kt | Apache License 2.0 | Kotlin |
@@ -14,6 +14,7 @@ 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';
@@ -24,22 +25,14 @@ class DemoWidget extends Component {
constructor(props) {
super(props);
const {c... | feat(demo-widget): add to user id support | null | webex/react-widgets | MIT License | JavaScript |
@@ -201,6 +201,16 @@ fn main() {
continue;
}
+ #[cfg(not(any(feature = "backend-kvm", feature = "backend-sev")))]
+ if shim_name.starts_with("shim-sev") {
+ continue;
+ }
+
+ #[cfg(not(feature = "backend-sgx"))]
+ if shim_name.starts_with("shim-sgx") {
+ continue;
+ }
+
let target_dir = shim_out_dir.clone().into_os_str... | feat: don't build shims not feature enabled | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -54,8 +54,13 @@ func processNodeJobRunRequirements(db gorp.SqlExecutor, j sdk.Job, run *sdk.Work
var modelType string
if model != "" {
- // Load the worker model
- wm, err := worker.LoadWorkerModelByName(db, strings.Split(model, " ")[0])
+ // load the worker model, if there is group name in the model name, ignore it... | feat(api): ignore worker model group name in requirement | null | ovh/cds | BSD 3-Clause New or Revised License | Go |
@@ -600,6 +600,41 @@ impl Db {
tracker
}
+ /// Spawns a task to perform
+ /// [`load_chunk_to_object_store`](Self::load_chunk_to_object_store)
+ pub fn load_chunk_to_object_store_in_background(
+ self: &Arc<Self>,
+ partition_key: String,
+ chunk_id: u32,
+ ) -> TaskTracker<Job> {
+ let name = self.rules.read().name.cl... | feat: add Db::load_chunk_to_object_store_in_background | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -853,6 +853,24 @@ where
}
}
+ /// Get revision counter for this transaction.
+ pub fn revision_counter(&self) -> u64 {
+ self.transaction
+ .as_ref()
+ .expect("No transaction in progress?")
+ .tkey()
+ .revision_counter
+ }
+
+ /// Get UUID for this transaction
+ pub fn uuid(&self) -> Uuid {
+ self.transaction
+ .a... | feat: add a way to get current revision and UUID from transaction handle | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -112,6 +112,12 @@ pub fn build_gleam_version(mode: Mode, target: Target) -> PathBuf {
build_packages(mode, target).join("gleam_version")
}
+/// A path to a special file that contains the build journal of gleam that last built
+/// the artifacts.
+pub fn build_journal(mode: Mode, target: Target) -> PathBuf {
+ build_... | feat: add path build journal | null | gleam-lang/gleam | Apache License 2.0 | Rust |
+#!/bin/sh
+
+function add_user {
+ npm owner add $2
+ echo "$1: done"
+}
+
+function remove_user {
+ npm owner remove $2
+ echo "$1: done"
+}
+
+function ls_user {
+ echo "$1:"
+ npm owner ls
+ echo
+}
+
+for package in packages/*
+do
+ case "$1" in
+
+ ls) (cd "$package" && ls_user "$package")
+ ;;
+
+ add) (cd "$pac... | feat: add script to manage npm owner | null | youzan/zent | MIT License | Shell |
@@ -30,7 +30,7 @@ class ApiDeliveryController extends Controller
'plugins/admin/templates/system/api/delivery/index.html',
[
'menu_item' => 'api',
- 'api_list' => ['entries' => 'Entries', 'images' => 'Images', 'registry' => 'Registry'],
+ 'api_list' => ['entries' => __('admin_entries'), 'images' => __('admin_images'), ... | feat(admin-plugin): update ApiDeliveryController | null | flextype/flextype | MIT License | PHP |
@@ -80,7 +80,7 @@ const MembersCard = withStyles({
<div class='card u-flex u-flex-column'>
<div class='content'>
<p>Team Information</p>
- <p class='font-thin u-no-margin'>There is no limit on team members. This data is collected for informational purposes only. Please ensure that this section is up to date in order to... | feat(client): update team information description | null | redpwn/rctf | BSD 3-Clause New or Revised License | JavaScript |
@@ -91,8 +91,6 @@ struct Options {
std::int64_t maximum_chunk_size = 4096 * gcs_bm::kKiB;
long minimum_sample_count = 0;
long maximum_sample_count = std::numeric_limits<long>::max();
- bool disable_crc32c = false;
- bool disable_md5 = false;
};
enum OpType { OP_UPLOAD, OP_DOWNLOAD };
@@ -101,6 +99,8 @@ struct Iteration... | feat: Random CRC and MD5 in storage throughput benchmark | null | googleapis/google-cloud-cpp | Apache License 2.0 | C++ |
@@ -299,7 +299,7 @@ def log(msg):
debug_log.append(as_unicode(msg))
-def msgprint(msg, title=None, raise_exception=0, as_table=False, indicator=None, alert=False, primary_action=None, is_minimizable=None):
+def msgprint(msg, title=None, raise_exception=0, as_table=False, indicator=None, alert=False, primary_action=None... | feat: allow wide attribute in msgprint and throw | null | frappe/frappe | MIT License | Python |
@@ -274,42 +274,55 @@ namespace MLAPI
// Check network prefabs and assign to dictionary for quick look up
for (int i = 0; i < NetworkConfig.NetworkPrefabs.Count; i++)
{
- if (NetworkConfig.NetworkPrefabs[i] != null && NetworkConfig.NetworkPrefabs[i].Prefab != null)
+ var networkPrefab = NetworkConfig.NetworkPrefabs[i];... | feat: log warning if detected child NetworkObjects under a NetworkPrefab | null | unity-technologies/com.unity.multiplayer.mlapi | MIT License | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.