diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -38,6 +38,9 @@ class IntegrateFtrackInstance(pyblish.api.InstancePlugin):
assumed_data = instance.data["assumedTemplateData"]
assumed_version = assumed_data["version"]
version_number = int(assumed_version)
+ if instance.data.get('version'):
+ version_number = int(instance.data.get('version'))
+
family = instance.dat... | feat(plugins): adding synchronization versions into `integrate_ftrack_instances` | null | pypeclub/openpype | MIT License | Python |
@@ -239,7 +239,7 @@ class ApiDeliveryEntriesController extends Controller
$this->flash->addMessage('error', __('admin_message_delivery_entries_api_token_was_not_updated'));
}
- return $response->withRedirect($this->router->pathFor('admin.api_delivery_images.index'));
+ return $response->withRedirect($this->router->path... | feat(admin-plugin): fix redirect for Delivery Entries edit process | null | flextype/flextype | MIT License | PHP |
@@ -825,11 +825,33 @@ impl EditView {
pub fn handle_scroll(&mut self, es: &EventScroll) -> Inhibit {
self.da.grab_focus();
+ // TODO: Make this user configurable!
let amt = self.font_height * 3.0;
let vadj = self.vscrollbar.get_adjustment();
let hadj = self.hscrollbar.get_adjustment();
match es.get_direction() {
+ Scro... | feat(edit_view): support scrolling with 'smooth' scroll events | null | cogitri/tau | MIT License | Rust |
@@ -78,7 +78,46 @@ pub struct Address {
pub tt: u8,
inner: Vec<u8>,
}
+/// An error which is returned when address parsing from string fails
+#[derive(Debug)]
+pub struct AddressParseError {
+ kind: AddressParseErrorKind,
+}
+/// Enum to store the cause of address parsing failure
+#[derive(Debug, Clone, PartialEq, Eq)]... | feat(rust): impl from str for address | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -36,6 +36,7 @@ public final class VersionCreateRequestBuilder
private LocalDate effectiveTime;
private ResourceURI resource;
private boolean force = false;
+ private String commitComment;
public VersionCreateRequestBuilder setResource(ResourceURI resource) {
this.resource = resource;
@@ -79,7 +80,17 @@ public final ... | feat(VersionCreateRequestBuilder): add commit comment property | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -8,6 +8,7 @@ import cn.edu.tsinghua.iotdb.benchmark.tsdb.influxdb.InfluxDB;
import cn.edu.tsinghua.iotdb.benchmark.tsdb.iotdb.IoTDB;
import cn.edu.tsinghua.iotdb.benchmark.tsdb.kairosdb.KairosDB;
import cn.edu.tsinghua.iotdb.benchmark.tsdb.timescaledb.TimescaleDB;
+import cn.edu.tsinghua.iotdb.benchmark.tsdb.opentsd... | feat(opentsdb): add insert test for opentsdb | null | thulab/iot-benchmark | Apache License 2.0 | Java |
@@ -5,8 +5,6 @@ declare(strict_types=1);
use Flextype\Foundation\Flextype;
use Atomastic\Strings\Strings;
-/*
-
beforeEach(function() {
// Create sandbox plugin
filesystem()->directory(PATH['project'])->create();
@@ -42,4 +40,3 @@ test('test getPluginsCacheID() method', function () {
$md5 = flextype('plugins')->getPlug... | feat(tests): restore tests for Plugins | null | flextype/flextype | MIT License | PHP |
@@ -263,7 +263,7 @@ class SilencedAlert(AlertGenerator):
now = datetime.datetime.utcnow().replace(microsecond=0)
return [
(
- [newMatcher("alertname", SilencedAlert.name, False)],
+ [newMatcher("alertname", self.name, False)],
"{}Z".format(now.isoformat()),
"{}Z".format((now + datetime.timedelta(
minutes=30)).isoformat... | feat(demo): generate more silences in demo mode | null | prymitive/karma | Apache License 2.0 | Python |
@@ -771,17 +771,17 @@ func (s *Service) createHandlerFromSpec(spec HandlerSpec) (handler, error) {
keyvalue.KV("topic", spec.Topic),
}
switch spec.Kind {
- case "bigpanda":
- c := bigpanda.HandlerConfig{}
+ case "aggregate":
+ c := newDefaultAggregateHandlerConfig(s.EventCollector)
err = decodeOptions(spec.Options, &c)... | feat: rolled back removed aggregate handler | null | influxdata/kapacitor | MIT License | Go |
@@ -140,6 +140,12 @@ class Dropbox extends OAuth2
*/
public function isEmailVerified(string $accessToken): bool
{
+ $user = $this->getUser($accessToken);
+
+ if (isset($user['email_verified']) && $user['email_verified'] === true) {
+ return true;
+ }
+
return false;
}
| feat: added check for Dropbox OAuth | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -69,9 +69,9 @@ const (
var kubernetesVersions = []string{
"unknown",
"v1.15.0", "v1.15.1", "v1.15.2", "v1.15.3", "v1.15.4", "v1.15.5", "v1.15.6", "v1.15.7", "v1.15.8", "v1.15.9", "v1.15.10", "v1.15.11", "v1.15.12",
- "v1.16.0", "v1.16.1", "v1.16.2", "v1.16.3", "v1.16.4", "v1.16.5", "v1.16.6", "v1.16.7", "v1.16.8", "... | feat: support more k8s patches | null | caos/orbos | Apache License 2.0 | Go |
@@ -160,8 +160,6 @@ class Connection extends BaseConnection implements ConnectionInterface
*/
public function reconnect()
{
- $this->close();
- $this->initialize();
}
//--------------------------------------------------------------------
| feat: add reconnect method | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -373,6 +373,33 @@ public boolean matches(long ssrc)
return rtpEncodings[0].getPrimarySSRC() == ssrc;
}
+ /**
+ * Gets the maximum subjective quality index that complies to the max height
+ * specified as an argument.
+ *
+ * @param maxHeight the max height
+ * @return the maximum subjective quality index that compli... | feat: Adds MediaStreamTrackDesc.getMaxIndex() method | null | jitsi/libjitsi | Apache License 2.0 | Java |
@@ -176,6 +176,16 @@ class HueSmartButtonLightController(LightController):
}
+class HueSmartButtonZ2MLightController(Z2MLightController):
+ def get_z2m_actions_mapping(self) -> DefaultActionsMapping:
+ return {
+ "on": Z2MLight.TOGGLE,
+ "off": Z2MLight.TOGGLE,
+ "hold": Z2MLight.HOLD_BRIGHTNESS_TOGGLE,
+ "release": Z2... | feat(device): add HueSmartButtonZ2MLightController | null | xaviml/controllerx | MIT License | Python |
@@ -98,14 +98,9 @@ final class JavaFiles {
*/
private static Path saveJava(final XML java, final Path generated) throws IOException {
final String type = java.xpath("@java-name").get(0);
- final Path dest = new Place(type).make(
- generated, "java"
- );
+ final Path dest = new Place(type).make(generated, "java");
new H... | feat(#1634): simplify saveJava method | null | cqfn/eo | MIT License | Java |
@@ -168,8 +168,8 @@ impl Join {
fn inner_join_cardinality(
&self,
- left_prop: &RelationalProperty,
- right_prop: &RelationalProperty,
+ left_prop: &mut RelationalProperty,
+ right_prop: &mut RelationalProperty,
) -> Result<f64> {
let mut join_card = left_prop.cardinality * right_prop.cardinality;
for (left_condition, ... | feat: update statistic during query execution | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -51,12 +51,12 @@ impl Eq for Mailbox {}
impl Mailbox {
/// Create a new `Mailbox` with the given [`Address`] and [`AccessControl`]
pub fn new(
- address: Address,
+ address: impl Into<Address>,
incoming: Arc<dyn AccessControl>,
outgoing: Arc<dyn AccessControl>,
) -> Self {
Self {
- address,
+ address: address.into()... | feat(rust): add generic `Address` to `Mailbox` constructor | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -124,7 +124,7 @@ public abstract class KubernetesDependentResource<R extends HasMetadata, P exten
@Override
public EventSource initEventSource(EventSourceContext<P> context) {
if (informerEventSource == null) {
- configureWith(null, null);
+ configureWith(null, context.getControllerConfiguration().getNamespaces());
... | feat: by default standalone dependent resource inherits namespace | null | java-operator-sdk/java-operator-sdk | Apache License 2.0 | Java |
@@ -2,19 +2,19 @@ package org.burningokr.controller.structure;
import lombok.RequiredArgsConstructor;
import org.burningokr.annotation.RestApiController;
+import org.burningokr.dto.structure.DepartmentDto;
+import org.burningokr.dto.structure.SubStructureDto;
+import org.springframework.http.ResponseEntity;
+import org... | feat(StructureController): Added StructureController Signature | null | burningokr/burningokr | Apache License 2.0 | Java |
describe Node do
- ###
- # Please do not share this file with other teams.
- # Use factories to `build` necessary objects.
- # Please avoid duplicated code as much as you can by moving the code to `before(:each)` block or separated methods.
- # RSpec tutorial video (until 9:32): https://youtu.be/dzkVfaKChSU?t=35s
- # R... | feat(menu_spec#get_menu): add | null | expertiza/expertiza | MIT License | Ruby |
@@ -59,7 +59,7 @@ void RemoteSend::scn_do_execute() {
comp_node.get_uid());
m_megray_comm = MegRayCommBuilder::get_megray_comm(
- reg_info.hash, m_key, 2, 0, MegRay::MEGRAY_UCX, m_group_client);
+ reg_info.hash, m_key, 2, 0, MegRay::MEGRAY_NCCL, m_group_client);
m_megray_ctx = MegRay::CudaContext::make(get_stream(outpu... | feat(mge/imperative): add io remote wrapper | null | megengine/megengine | Apache License 2.0 | C++ |
@@ -21,9 +21,11 @@ package com.dtstack.flinkx.kingbase.format;
import com.dtstack.flinkx.rdb.inputformat.JdbcInputFormat;
import com.dtstack.flinkx.util.DateUtil;
import org.apache.commons.collections.CollectionUtils;
+import org.apache.flink.core.io.InputSplit;
import org.apache.flink.types.Row;
import java.io.IOExcep... | feat: set kingbase resultsetType | null | dtstack/chunjun | Apache License 2.0 | Java |
@@ -1462,6 +1462,118 @@ public class Discovery {
request.response(completionHandler: completionHandler)
}
+ /**
+ Create stopword list.
+
+ Upload a custom stopword list to use with the specified collection.
+
+ - parameter environmentID: The ID of the environment.
+ - parameter collectionID: The ID of the collection.
... | feat(DiscoveryV1): Add support for custom stopword lists | null | watson-developer-cloud/swift-sdk | Apache License 2.0 | Swift |
@@ -15,7 +15,7 @@ if (! function_exists('collect')) {
*
* @param array $value Items to collect
*/
- function collect($array) : \Flextype\Collection
+ function collect($array) : \Flextype\Support\Collection
{
return new Collection($array);
}
| feat(element-queries): Collections API fix helpers | null | flextype/flextype | MIT License | PHP |
@@ -34,6 +34,8 @@ def trace_property(fn: Callable) -> Any:
def wrapper(self: "TransactionReceipt") -> Any:
if self.status == -1:
return None
+ if self._trace_exc is not None:
+ raise self._trace_exc
return fn(self)
return wrapper
@@ -119,6 +121,7 @@ class TransactionReceipt:
print(f"Transaction sent: {color('bright blu... | feat: save and re-raise trace exception | null | eth-brownie/brownie | MIT License | Python |
@@ -98,6 +98,9 @@ class Forms
// Create attribute value
$property['value'] = Arr::keyExists($property, 'value') ? $property['value'] : '';
+ // Create attribute value
+ $property['label'] = Arr::keyExists($property, 'label') ? $property['label'] : true;
+
$pos = strpos($element, '.');
if ($pos === false) {
@@ -115,9 +1... | feat(core): add new label property for Forms fields | null | flextype/flextype | MIT License | PHP |
@@ -39,7 +39,7 @@ import (
)
var (
- _ = flag.Bool("enable_semi_sync", false, "Enable semi-sync when configuring replication, on primary and replica tablets only (rdonly tablets will not ack).")
+ _ = flag.Bool("enable_semi_sync", false, "(DEPRECATED - Set the correct durability_policy instead) Enable semi-sync when co... | feat: mark enable_semi_sync for deprecation | null | vitessio/vitess | Apache License 2.0 | Go |
@@ -234,7 +234,8 @@ Meteor.methods({
type: RundownAPI.SourceLayerType.GRAPHICS,
onPGMClean: false,
activateKeyboardHotkeys: 'q,w,e,r,t,y',
- clearKeyboardHotkey: 'u,alt+u'
+ clearKeyboardHotkey: 'u,alt+u',
+ allowDisable: true
},
{
_id: 'studio0_graphics_fullskjerm',
@@ -271,7 +272,8 @@ Meteor.methods({
name: 'Arkiv',
... | feat(init): adds clear shortcuts + skippabloe | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -139,6 +139,35 @@ def find_config():
return configurations
+def _generate_security_groups(config_key):
+ """Read config file and generate security group dict by environemnt
+
+ Args:
+ config_key (str): Configuration file key
+
+ Returns:
+ dict: of environments in {$env: [$group1, group2]} format
+ """
+ default_gr... | feat: Make security groups for elb/ec2 environment specific | null | foremast/foremast | Apache License 2.0 | Python |
@@ -22,6 +22,11 @@ class MyApp extends StatelessWidget {
theme.brightness == Brightness.dark ? null : Colors.white,
accentColor: theme.palette.primary,
scaffoldBackgroundColor: theme.palette.background,
+ pageTransitionsTheme: PageTransitionsTheme(
+ builders: {
+ TargetPlatform.android: ZoomPageTransitionsBuilder(),
+... | feat: add material app zoom transition | null | git-touch/git-touch | Apache License 2.0 | Dart |
@@ -83,7 +83,7 @@ var Command = &commands.YAGCommand{
// Match found!
timeSince := common.HumanizeDuration(precision, time.Since(msg.ParsedCreated))
- resp += fmt.Sprintf("`%s ago (%s)` **%s**#%s: %s\n\n", timeSince, msg.ParsedCreated.UTC().Format(time.ANSIC), msg.Author.Username, msg.Author.Discriminator, msg.ContentW... | feat(undelete): display user id | null | jonas747/yagpdb | MIT License | Go |
@@ -12,8 +12,11 @@ import (
"os"
"reflect"
"regexp"
+ "runtime"
"github.com/go-gorp/gorp"
+
+ "github.com/ovh/cds/sdk/log"
)
// EncryptFunc is a common type
@@ -95,3 +98,19 @@ func FileSHA512sum(filePath string) (string, error) {
sum := hex.EncodeToString(hashInBytes)
return sum, nil
}
+
+// GoRoutine runs the function... | feat(sdk): run a goroutine with panic recovery | null | ovh/cds | BSD 3-Clause New or Revised License | Go |
@@ -158,6 +158,10 @@ pub struct Settings {
skip_serializing_if = "Option::is_none"
)]
pub evm_version: Option<EvmVersion>,
+ /// Change compilation pipeline to go through the Yul intermediate representation. This is
+ /// false by default.
+ #[serde(rename = "viaIR", default, skip_serializing_if = "Option::is_none")]
+... | feat(solc): add viaIR option | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -9,6 +9,7 @@ import connectivity_macos
import kraken_audioplayers
import kraken_bundle
import kraken_geolocation
+import kraken_method_channel
import kraken_video_player
import path_provider_macos
import shared_preferences_macos
@@ -18,6 +19,7 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
Audio... | feat: add method_channel plugin | null | openkraken/kraken | Apache License 2.0 | Swift |
@@ -310,7 +310,6 @@ public class XRefChecker
}
}
checkReadingOrder(tocLinks, -1, -1);
- checkReadingOrder(pageListLinks, -1, -1);
checkReadingOrder(overlayLinks, -1, -1);
}
| feat: page-list nav does not have to match reading order | null | w3c/epubcheck | BSD 3-Clause New or Revised License | Java |
@@ -56,6 +56,8 @@ var secretStoreTokens = []string{
"device-grove",
"device-uart",
"device-rfid-llrp",
+ "device-usb-camera",
+ "device-onvif-camera",
"edgex-ekuiper",
}
@@ -80,6 +82,8 @@ var secretStoreKnownSecrets = []string{
"redisdb[device-grove]",
"redisdb[device-uart]",
"redisdb[device-rfid-llrp]",
+ "redisdb[dev... | feat(snap): add secretstore token for device camera services | null | edgexfoundry/edgex-go | Apache License 2.0 | Go |
@@ -8,6 +8,9 @@ import { PartialTezosTransactionOperation, TezosOperationType } from '@airgap/be
import { EmbeddedTorusWallet, ImplicitAccount, TorusWallet } from '../../services/wallet/wallet';
import { CoordinatorService } from '../../services/coordinator/coordinator.service';
+// TODO should the OperationsService be... | feat(messages): cleaner message types + add instanceId | null | kukai-wallet/kukai | MIT License | TypeScript |
@@ -200,7 +200,13 @@ impl<'a, 'b> App<'a, 'b> {
}
/// Sets a string describing what the program does. This will be displayed when displaying help
- /// information.
+ /// information with `-h`.
+ ///
+ /// **NOTE:** If only `about` is provided, and not [`App::long_about`] but the user requests
+ /// `--help` clap will ... | feat: allows distinguishing between short and long help with subcommands in the same manner as args | null | clap-rs/clap | Apache License 2.0 | Rust |
+package datastructure
+
+import (
+ "fmt"
+ "testing"
+)
+import "runtime"
+import "unsafe"
+import "errors"
+import "time"
+
+func TestWeakmap(t *testing.T) {
+ generateA(6)
+ fmt.Println("")
+
+ debugWeakMap(6)
+ fmt.Println("")
+
+ runtime.GC()
+ fmt.Println("GC runned.")
+
+ time.Sleep(1 * time.Second)
+
+ debugWe... | feat: started experimenting with a weakmap implementation (tests) | null | iotaledger/goshimmer | Apache License 2.0 | Go |
@@ -32,7 +32,7 @@ pub async fn write_block(
location: &str,
) -> Result<(u64, FileMetaData)> {
let options = WriteOptions {
- write_statistics: true,
+ write_statistics: false,
compression: Compression::Lz4, // let's begin with lz4
version: Version::V2,
};
| feat: disable parquet statistics generation | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -245,9 +245,8 @@ public partial class BitNumericTextField<TValue>
if (internalMin > internalMax)
{
- internalMin += internalMax;
- internalMax = internalMin - internalMax;
- internalMin -= internalMax;
+ internalMin = minGenericValue;
+ internalMax = maxGenericValue;
}
precision = Precision is not null ? Precision.V... | feat(components): fix incorrect operation of the min and max parameters in the BitNumericTextField component | null | bitfoundation/bitframework | MIT License | C# |
@@ -7,6 +7,7 @@ export {
BeforeValidateHook as CollectionBeforeValidateHook,
BeforeChangeHook as CollectionBeforeChangeHook,
AfterChangeHook as CollectionAfterChangeHook,
+ AfterReadHook as CollectionAfterReadHook,
BeforeReadHook as CollectionBeforeReadHook,
BeforeDeleteHook as CollectionBeforeDeleteHook,
AfterDeleteHo... | feat: exposes collection after read hook type | null | payloadcms/payload | MIT License | TypeScript |
@@ -19,105 +19,123 @@ namespace MLAPI.Configuration
/// <summary>
/// The protocol version. Different versions doesn't talk to each other.
/// </summary>
+ [Tooltip("Use this to make two builds incompatible with each other")]
public ushort ProtocolVersion = 0;
/// <summary>
/// The transport hosts the sever uses
/// </... | feat(editor): Added tooltips to NetworkConfig properties | null | unity-technologies/com.unity.multiplayer.mlapi | MIT License | C# |
@@ -20,7 +20,7 @@ import { ServerResponse } from 'http';
import { Dict } from '../utils/types';
import inject from '../metal/inject';
import Serializer from '../render/serializer';
-// import DatabaseService from '../data/database';
+import DatabaseService from '../data/database';
const debug = createDebug('denali:acti... | feat(runtime): inject db service into base action class; fixes | null | denali-js/core | Apache License 2.0 | TypeScript |
@@ -123,10 +123,16 @@ void StopButtons()
// stop host if host mode
if (NetworkServer.active && NetworkClient.isConnected)
{
+ GUILayout.BeginHorizontal();
if (GUILayout.Button("Stop Host"))
{
manager.StopHost();
}
+ if (GUILayout.Button("Stop Client"))
+ {
+ manager.StopClient();
+ }
+ GUILayout.EndHorizontal();
}
// s... | feat: NetManHUD StopClient button for Host | null | vis2k/mirror | MIT License | C# |
@@ -200,11 +200,13 @@ pub fn display_terminal(
) {
let res = match message {
Ok(result) => nvim.lock().unwrap().command(&format!(
- "lua require\"sniprun.display\".write_to_term(\"{}\", true)",
+ "lua require\"sniprun.display\".write_to_term(\"> {}\\n{}\", true)",
+ data.current_bloc.trim_end_matches('\n'),
no_output_w... | feat(display): simple print current line in terminal | null | michaelb/sniprun | MIT License | Rust |
@@ -81,7 +81,11 @@ func ParseIPs(ips []string) []string {
for _, nodes := range ips {
var startIp, endIp string
if !strings.Contains(nodes, "-") {
+ if strings.Contains(nodes, ":") {
hosts = append(hosts, nodes)
+ } else {
+ hosts = append(hosts, nodes+":22")
+ }
continue
} else {
// nodes 192.168.0.2-192.168.0.6
| feat(develop): fix port add :22 | null | fanux/sealos | Apache License 2.0 | Go |
@@ -15,9 +15,10 @@ class Forge2DGame extends FlameGame {
Forge2DGame({
Vector2? gravity,
double zoom = defaultZoom,
+ Camera? camera,
}) : world = World(gravity ?? defaultGravity),
- super(camera: Forge2DCamera()) {
- camera.zoom = zoom;
+ super(camera: camera ?? Forge2DCamera()) {
+ this.camera.zoom = zoom;
world.setC... | feat: Allow to pass a camera to Forge2D Game | null | flame-engine/flame | MIT License | Dart |
-import React, { FC } from 'react'
+import React, { FC, ReactNode } from 'react'
import classNames from 'classnames'
import {
CheckCircleFilled,
@@ -22,22 +22,21 @@ export interface ResultProps {
status: 'success' | 'error' | 'info' | 'waiting' | 'warning'
title: string
description?: string
+ icon?: ReactNode
className... | feat: Result icon | null | ant-design/ant-design-mobile | MIT License | TypeScript |
@@ -103,6 +103,15 @@ open class PlaybackTest {
testPlaybackStartAt("fail", shouldAssertStartAtValue = false)
}
+ @Test
+ fun shouldNotStartAtWhenVideoDoesNotHaveValueStartAt() {
+ val playback = SomePlayback("valid-source.mp4")
+ playback.render()
+
+ assertEquals("startAt value in seconds ", 0 , playback.startAtValueI... | feat(playback): test when video options doesn't have START_AT | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -10,6 +10,8 @@ declare(strict_types=1);
use Flextype\Flextype;
use Intervention\Image\ImageManagerStatic as Image;
use Symfony\Component\Finder\Finder;
+use Sirius\Upload\Handler as UploadHandler;
+use Sirius\Upload\Result\File as UploadResultFile;
if (! function_exists('flextype')) {
/**
@@ -463,12 +465,14 @@ if (!... | feat(helpers): update upload herlper | null | flextype/flextype | MIT License | PHP |
@@ -26,13 +26,13 @@ frappe.throw = function(msg) {
frappe.confirm = function(message, confirm_action, reject_action) {
var d = new frappe.ui.Dialog({
- title: __("Confirm"),
- primary_action_label: __("Yes"),
+ title: __("Confirm", null, "Title of confirmation dialog"),
+ primary_action_label: __("Yes", null, "Approve ... | feat: add context to confirm dailog | null | frappe/frappe | MIT License | JavaScript |
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you... | feat: linkis-cli-common add unit test | null | webankfintech/linkis | Apache License 2.0 | Java |
@@ -147,6 +147,8 @@ export class LayoutRowFilter {
static IS_VENTURE = new LayoutRowFilter(row => getItemSource(row, DataType.VENTURES).length > 0, 'IS_VENTURE');
+ static IS_VOYAGE = new LayoutRowFilter(row => getItemSource(row, DataType.VOYAGES).length > 0, 'IS_VOYAGE');
+
static IS_MASTERCRAFT = LayoutRowFilter.IS_C... | feat(layout): new filter: IS_VOYAGE | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -56,21 +56,31 @@ ProcessResult Selector::ProcessKeyEvent(const KeyEvent& key_event) {
if (ch == XK_Left || ch == XK_KP_Left) {
if (!key_event.ctrl() &&
!key_event.shift() &&
- ctx->caret_pos() == ctx->input().length() &&
- ctx->get_option("_horizontal") &&
+ ctx->caret_pos() == ctx->input().length()) {
+ if (ctx->ge... | feat(selector): support vertical UI | null | rime/librime | BSD 3-Clause New or Revised License | C++ |
@@ -4,16 +4,21 @@ import (
"bytes"
"os"
"path/filepath"
+
+ "github.com/errata-ai/vale/v2/internal/core"
)
var defaultOpts = Options{
path: os.Getenv("DICPATH"),
load: false,
+
+ system: os.Getenv("DICPATH"),
}
// Options controls the checker-creation process:
type Options struct {
path string
+ system string
names []s... | feat: support using local and system dics | null | errata-ai/vale | MIT License | Go |
@@ -11,6 +11,8 @@ export class RegionDiscovery {
protected networkInterface: INetworkModule;
// The IMDS endpoint to retrieve region information.
protected static IMDS_ENDPOINT = "http://169.254.169.254/metadata/instance/compute/location";
+ // Options for the IMDS endpoint request
+ protected static IMDS_OPTIONS = {he... | feat: fix the current version call headers | null | azuread/microsoft-authentication-library-for-js | MIT License | TypeScript |
@@ -10,6 +10,7 @@ import (
"log"
"net"
"net/http"
+ "net/url"
"strings"
"time"
@@ -28,9 +29,11 @@ type HTTPTransport struct {
Server string
Binary bool
client *retryablehttp.Client
- headers map[string]string
+ headers http.Header
}
+var HTTPHeaders = map[string]http.Header{}
+
// Logger is used for logging. If not set... | feat: configure HTTP client with default headers per host | null | privacybydesign/irmago | Apache License 2.0 | Go |
@@ -50,12 +50,10 @@ class RenderSliverListLayout extends RenderLayoutBox {
case Axis.horizontal:
renderStyle.target.scrollOffsetX = scrollable.position;
renderStyle.target.scrollOffsetY = null;
- markNeedsLayout();
break;
case Axis.vertical:
renderStyle.target.scrollOffsetX = null;
renderStyle.target.scrollOffsetY = sc... | feat: remove unneed markNeedsLayout | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -29,7 +29,7 @@ class RestAPITransactionTests: RestAPITests {
_ = try solanaSDK.createAssociatedTokenAccount(
for: account.publicKey,
tokenMint: try SolanaSDK.PublicKey(string: mintAddress),
- isSimulation: false
+ isSimulation: true
).toBlocking().first()
}
| feat: change isSimulation | null | p2p-org/solana-swift | MIT License | Swift |
@@ -41,6 +41,11 @@ extension SolanaSDK {
try partialSign(message: message, signers: signers)
}
+ public mutating func calculateTransactionFee(lamportsPerSignatures: UInt64) throws -> UInt64 {
+ let message = try compile()
+ return UInt64(message.header.numRequiredSignatures) * lamportsPerSignatures
+ }
+
public mutatin... | feat: calculate transaction fee | null | p2p-org/solana-swift | MIT License | Swift |
@@ -25,7 +25,7 @@ class EntriesFetchCommand extends Command
$this->setDescription('Fetch entry.');
$this->addArgument('id', InputArgument::OPTIONAL, 'Unique identifier of the entry.');
$this->addArgument('options', InputArgument::OPTIONAL, 'Options array.');
- $this->addOption('collection', null, InputOption::VALUE_NEG... | feat(console): update EntriesFetchCommand, use VALUE_NONE for --collection flag | null | flextype/flextype | MIT License | PHP |
@@ -193,12 +193,12 @@ class Entries
*/
public function fetch(string $id, array $options = []): Arrays
{
- // Entry data
+ // Set registry initial data for this method.
$this->registry()->set('fetch.id', $id);
$this->registry()->set('fetch.options', $options);
$this->registry()->set('fetch.data', []);
- // Set collectio... | feat(entries): updates for entries api logic | null | flextype/flextype | MIT License | PHP |
import Foundation
-class Interval {
+public class Interval {
static let seekBubbleShowAnimation: TimeInterval = 4.0
static let seekBubbleDismissAnimation: TimeInterval = 2.0
| feat: make interval public | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -50,6 +50,9 @@ type Release struct {
WebURL string `json:"web_url"`
} `json:"author"`
Commit Commit `json:"commit"`
+ UpcomingRelease bool `json:"upcoming_release"`
+ CommitPath string `json:"commit_path"`
+ TagPath string `json:"tag_path"`
Assets struct {
Count int `json:"count"`
Sources []struct {
| feat: add missing fields to release struct | null | xanzy/go-gitlab | Apache License 2.0 | Go |
@@ -266,7 +266,7 @@ class Select extends Field
return $this;
}
- public function getOptionLabelsUsing(Closure $callback): static
+ public function getOptionLabelsUsing(?Closure $callback): static
{
$this->getOptionLabelsUsing = $callback;
| feat: Select component can allow HTML in the choices.js config | null | laravel-filament/filament | MIT License | PHP |
@@ -296,11 +296,6 @@ class CardsDataProvider extends ChangeNotifier {
_cardStates!.keys.where((card) => _cardStates![card]!).toList());
}
- void reorderCards(List<String> order) {
- _cardOrder = order;
- notifyListeners();
- }
-
void toggleCard(String card) {
_cardStates![card] = !_cardStates![card]!;
updateCardStates(... | feat(bug): remove 'reorderCards' unused function | null | ucsd/campus-mobile | MIT License | Dart |
@@ -30,16 +30,21 @@ def pipeline():
"--pipeline-name",
help="Name of the pipeline."
)
+@click.option(
+ "-d",
+ "--description",
+ help="Description for the pipeline."
+)
@click.argument("package-file")
@click.pass_context
-def upload(ctx, pipeline_name, package_file):
+def upload(ctx, pipeline_name, package_file, desc... | feat(sdk): Added optional argument to specify description for pipeline upload | null | kubeflow/pipelines | Apache License 2.0 | Python |
@@ -209,8 +209,8 @@ open class Player: BaseObject {
TimeIndicator.self,
FullscreenButton.self,
Seekbar.self,
- JumpCorePlugin.self,
- JumpMediaControlPlugin.self]
+ QuickSeekCorePlugin.self,
+ QuickSeekMediaControlPlugin.self]
Loader.shared.register(plugins: builtInPlugins)
hasAlreadyRegisteredPlugins = true
| feat: renaming jump to quickSeek on Player | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -39,12 +39,23 @@ Future<CameraDescription> detectCamera(String lens) async {
}
class CameraElement extends Element with CameraPreviewMixin {
- static String DEFAULT_WIDTH = '300px';
- static String DEFAULT_HEIGHT = '150px';
+ static const String DEFAULT_WIDTH = '300px';
+ static const String DEFAULT_HEIGHT = '150px'... | feat: support width height auto | null | openkraken/kraken | Apache License 2.0 | Dart |
+import { useTracking } from "react-tracking"
+import { useAnalyticsContext } from "System"
+import {
+ ActionType,
+ ContextModule,
+ StartedOnboarding,
+ CompletedOnboarding,
+ OnboardingUserInputData,
+ // FollowedArtist,
+ // FollowedPartner,
+ // FollowedGene,
+ // followedPartner,
+ // unfollowedPartner,
+ // fol... | feat(onboarding): define analytics tracking for onboarding user events | null | artsy/force | MIT License | TypeScript |
+"""
+Copyright 2017 Neural Networks and Deep Learning lab, MIPT
+
+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 l... | feat: Datareader from feature/new_hcn branch added | null | deeppavlov/deeppavlov | Apache License 2.0 | Python |
@@ -106,6 +106,20 @@ def customEndpointSpec(custom_model_spec, service_account):
if custom_model_spec.get("port", "")
else None
)
+ resources = (
+ client.V1ResourceRequirements(
+ requests=(custom_model_spec["resources"]["requests"]
+ if custom_model_spec.get('resources', {}).get('requests')
+ else None
+ ),
+ limits=... | feat(components): Added support for specifying resources for custom model deployment | null | kubeflow/pipelines | Apache License 2.0 | Python |
@@ -139,13 +139,14 @@ const HeaderInjector = (() => {
onBeforeSendHeaders: {
options: ['requestHeaders', 'blocking', ...EXTRA_HEADERS],
/** @param {chrome.webRequest.WebRequestHeadersDetails} details */
- listener({ requestHeaders: headers, requestId }) {
+ listener({ requestHeaders: headers, requestId, url }) {
// onl... | feat: expose #hash in gmxhr's finalUrl | null | violentmonkey/violentmonkey | MIT License | JavaScript |
@@ -263,9 +263,14 @@ func (k *Kad) connectBalanced(wg *sync.WaitGroup, peerConnChan chan<- *peerConnI
return
default:
wg.Add(1)
- peerConnChan <- &peerConnInfo{
+ select {
+ case peerConnChan <- &peerConnInfo{
po: swarm.Proximity(k.base.Bytes(), closestKnownPeer.Bytes()),
addr: closestKnownPeer,
+ }:
+ default:
+ k.not... | feat: non-blocking attempts in topology buildup | null | ethersphere/bee | BSD 3-Clause New or Revised License | Go |
@@ -88,13 +88,18 @@ class Peak(object):
When True, alpha = 0 corresponds to p(1) and = 1 to p(99).
min_duration : float, optional
Defaults to 1 second.
+ log_scale : bool, optional
+ Set to True to indicate that binarized scores are log scaled.
+ Defaults to False.
"""
- def __init__(self, alpha=0.5, min_duration=1.0, ... | feat: add log_scale boolean flag to Peak detection | null | pyannote/pyannote-audio | MIT License | Python |
@@ -12,6 +12,8 @@ namespace Flextype\Foundation;
use Exception;
use Psr\Container\ContainerInterface;
use Slim\App;
+use Slim\Http\Environment;
+use Slim\Http\Uri;
use function is_null;
@@ -86,6 +88,16 @@ final class Flextype extends App
return self::$instances[$cls];
}
+ /**
+ * Determine API Request
+ *
+ * @return b... | feat(core): add ability to determine API Request | null | flextype/flextype | MIT License | PHP |
@@ -72,3 +72,14 @@ var ListGroupProjects = func(client *gitlab.Client, groupID interface{}, opts *g
}
return project, nil
}
+
+var ListProjectMembers = func(client *gitlab.Client, projectID interface{}, opts *gitlab.ListProjectMembersOptions) ([]*gitlab.ProjectMember, error) {
+ if client == nil {
+ client = apiClient.... | feat(pkg/api/project): add support for listing project members | null | profclems/glab | MIT License | Go |
@@ -51,8 +51,8 @@ class Forms
{
$form = '';
$form .= Form::open(null, ['id' => 'form']);
- $form .= $this->csrfHiddenField();
- $form .= $this->actionHiddenField();
+ $form .= $this->_csrfHiddenField();
+ $form .= $this->_actionHiddenField();
if (count($fieldset['sections']) > 0) {
$form .= '<ul class="nav nav-pills na... | feat(core): udpate protected methods in Forms class | null | flextype/flextype | MIT License | PHP |
@@ -111,6 +111,10 @@ func (s *Snapshot) GetWithFilters(key []byte, filters ...FilterFn) (valRef Value
}
func (s *Snapshot) GetWithPrefix(prefix []byte, neq []byte) (key []byte, valRef ValueRef, err error) {
+ return s.GetWithPrefixAndFilters(prefix, neq, IgnoreExpired, IgnoreDeleted)
+}
+
+func (s *Snapshot) GetWithPre... | feat(embedded/store): GetWithPrefixAndFilters | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -348,7 +348,7 @@ func (conf *Configuration) PrivateKey(id IssuerIdentifier, counter uint) (*gabi.
return sk, nil
}
-// PrivateKeyLatest returns the latest private key of the specified issuer, or nil if not present in the Configuration.
+// PrivateKeyLatest returns the latest private key of the specified issuer.
func... | feat: check revocation consistency in irma scheme verify | null | privacybydesign/irmago | Apache License 2.0 | Go |
@@ -358,6 +358,8 @@ pub mod pallet {
VaultStatus,
Backing<T>,
),
+ /// vault_id, banned_until
+ BanVault(T::AccountId, T::BlockNumber),
}
#[pallet::error]
@@ -1200,7 +1202,12 @@ impl<T: Config> Pallet<T> {
pub fn ban_vault(vault_id: T::AccountId) -> DispatchResult {
let height = ext::security::active_block_number::<T>(... | feat(ban-vault): added event for vaults being banned | null | interlay/interbtc | Apache License 2.0 | Rust |
@@ -3,6 +3,7 @@ import 'package:flutter_driver/flutter_driver.dart';
import 'package:test/test.dart';
import 'package:path/path.dart' as path;
import 'package:ansicolor/ansicolor.dart';
+import 'package:image/image.dart';
import 'dart:typed_data';
import 'dart:convert';
import 'dart:io';
@@ -85,16 +86,25 @@ void main()... | feat: use driver.screenshot() instead of toBlob and fix pixelRatio into 1 | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -191,7 +191,8 @@ class SpeakerChangeDetection(SpeechActivityDetection):
for _ in range(10):
current_alpha = .5 * (lower_alpha + upper_alpha)
- peak = Peak(alpha=current_alpha, min_duration=0.0)
+ peak = Peak(alpha=current_alpha, min_duration=0.0,
+ log_scale=model.logsoftmax)
metric = DiarizationPurityCoverageFMeasu... | feat: add support for log-scale scores | null | pyannote/pyannote-audio | MIT License | Python |
@@ -235,11 +235,16 @@ class Forge extends \CodeIgniter\Database\Forge
switch (strtoupper($attributes['TYPE']))
{
case 'TINYINT':
+ $attributes['CONSTRAINT'] = $attributes['CONSTRAINT'] ?? 3;
case 'SMALLINT':
+ $attributes['CONSTRAINT'] = $attributes['CONSTRAINT'] ?? 5;
case 'MEDIUMINT':
+ $attributes['CONSTRAINT'] = $a... | feat: Specified default length | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -77,6 +77,32 @@ fn_wipe_server_files(){
fn_sleep_time
fn_script_log_pass "No barren map save to remove."
fi
+ # Wipe custom map.
+ if [ -n "$(find "${serveridentitydir}" -type f -name "*.map")" ]; then
+ echo -en "removing custom map file(s)..."
+ fn_sleep_time
+ fn_script_log_info "Removing map file(s): ${serveride... | feat(rustserver): add rust custom map support | null | gameservermanagers/linuxgsm | MIT License | Shell |
@@ -57,6 +57,116 @@ class RenderLayoutParentData extends ContainerBoxParentData<RenderBox> {
}
}
+/// A mixin that provides useful default behaviors for boxes with children
+/// managed by the [ContainerRenderObjectMixin] mixin.
+///
+/// By convention, this class doesn't override any members of the superclass.
+/// In... | feat: modify the defaultHittest of RenderBoxContainerDefaultsMixin | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -189,6 +189,8 @@ class AlexaClient(MediaPlayerDevice):
self._previous_volume = None
self._source = None
self._source_list = []
+ self._connected_bluetooth = None
+ self._bluetooth_list = []
self._shuffle = None
self._repeat = None
self._playing_parent = None
@@ -342,6 +344,8 @@ class AlexaClient(MediaPlayerDevice):
... | feat: add attributes for bluetooth devices | null | custom-components/alexa_media_player | Apache License 2.0 | Python |
@@ -749,14 +749,9 @@ SQL;
*/
protected function _transCommit(): bool
{
- if ($this->connID->commit())
- {
- $this->connID->autocommit(true);
-
- return true;
- }
+ $this->commitMode = OCI_COMMIT_ON_SUCCESS;
- return false;
+ return oci_commit($this->connID);
}
// --------------------------------------------------------... | feat: add transaction commit method | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -17,6 +17,8 @@ extern "C" {
#define IS_EMPTY_STRING(str) (!(str) || !*(str))
//if case matches return token as string
#define CASE_RETURN_STR(opcode) case opcode: return #opcode
+//if str matches enum token, return enum value
+#define STREQ_RETURN_ENUM(enum, str) if(STREQ(#enum, str))return enum
//possible http meth... | feat: add new macro STREQ_RETURN_ENUM | null | cee-studio/orca | MIT License | C |
@@ -173,21 +173,78 @@ pub fn read_path_to_string_lossy<P: AsRef<Path>>(
pub fn language_id_from_path(path: &Path) -> Option<&'static str> {
// recommended language_id values
// https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocumentItem
- Some(match path.extension()?.to_... | feat: add remaining language IDs | null | lapce/lapce | Apache License 2.0 | Rust |
@@ -5,8 +5,14 @@ import (
)
var telemetryMatcher = pr.NewMatcher().
- Family("influxdb_info").
+ /*
+ * Runtime stats
+ */
+ Family("influxdb_info"). // includes version, os, etc.
Family("influxdb_uptime_seconds").
+ /*
+ * Resource Counts
+ */
Family("influxdb_organizations_total").
Family("influxdb_buckets_total").
F... | feat(telemetry): add http, query, and storage families | null | influxdata/influxdb | MIT License | Go |
@@ -7,7 +7,10 @@ use std::{
use data_types::server_id::ServerId;
use futures::TryStreamExt;
-use object_store::{path::parsed::DirsAndFileName, ObjectStore, ObjectStoreApi};
+use object_store::{
+ path::{parsed::DirsAndFileName, ObjectStorePath},
+ ObjectStore, ObjectStoreApi,
+};
use observability_deps::tracing::info;
... | feat: log files that are deleted | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -161,6 +161,9 @@ pub enum Error {
source: Box<dyn std::error::Error + Send + Sync>,
path: DirsAndFileName,
},
+
+ #[snafu(display("Catalog already exists"))]
+ AlreadyExists {},
}
pub type Result<T, E = Error> = std::result::Result<T, E>;
@@ -271,6 +274,12 @@ where
db_name: impl Into<String>,
state_data: S::EmptyInp... | feat: check if preserved catalog exists when creating an empty one | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -169,11 +169,16 @@ impl IngestHandlerImpl {
let ingester_data = Arc::clone(&ingester_data);
let kafka_topic_name = kafka_topic_name.clone();
- let stream_handler = write_buffer
+ let mut stream_handler = write_buffer
.stream_handler(kafka_partition.get() as u32)
.await
.context(WriteBufferSnafu)?;
+ stream_handler
+... | feat: ingester seeks kafka partition on initialization | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -20,6 +20,7 @@ import (
"yunion.io/x/jsonutils"
"yunion.io/x/log"
+ "yunion.io/x/pkg/errors"
"yunion.io/x/onecloud/pkg/cloudmon/collectors/common"
"yunion.io/x/onecloud/pkg/cloudprovider"
@@ -41,37 +42,49 @@ func (self *SAzureCloudReport) collectRegionMetricOfHost(region cloudprovider.IC
return err
}
for _, server :... | feat(cloudmon): support classic vm metrics | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -181,13 +181,13 @@ func (b *cmdInfluxBuilder) cmd(childCmdFns ...func(f *globalFlags, opt genericCL
if flags.Token == "" {
// migration credential token
- migrateOldCredential()
-
+ if migrateOldCredential() {
// this is after the flagOpts register b/c we don't want to show the default value
// in the usage display.... | feat(cmd/write): don't override config unless token migration really happened | null | influxdata/influxdb | MIT License | Go |
@@ -144,7 +144,8 @@ impl PersistenceWindows {
/// is triggered (either by crossing a row count threshold or time).
///
/// # Panics
- /// When the passed `received_at` is smaller than the last time this method was used (aka time goes backwards).
+ /// - When the passed `received_at` is smaller than the last time this m... | feat: ensure that min and max time in persistence windows are ordered | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -124,7 +124,7 @@ export class ButtonDelivery extends ContentDelivery {
(field: string) =>
!buttonAttributes.includes(field) && !knownFields.includes(field)
)
-
+ button.customFields = {}
for (const customKey of customKeys) {
button.customFields[customKey] = (entryFields as any)[customKey]
}
| feat(plugin-contentful): init button custom fields | null | hubtype/botonic | MIT License | TypeScript |
+/**
+ *
+ * @method hasidentitycheck
+ * @summary
+ * @param {Object} cart - customer cart object
+ * @return {Boolean} - if the customer is signed in or has a guest email set return true else false.
+ */
+const hasIdentityCheck = (cart) => !!((cart && cart.account !== null) || (cart && cart.email));
+
+export default... | feat: added hasIdentityCheck util function | null | reactioncommerce/example-storefront | 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.