diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -41,6 +41,17 @@ public class SDK_InputSimulator : MonoBehaviour
[Tooltip("Key used to switch between X/Y and X/Z axis.")]
public KeyCode changeAxis = KeyCode.LeftControl;
+ [Header("Movement Key Bindings")]
+
+ [Tooltip("Key used to move forward.")]
+ public KeyCode moveForward = KeyCode.W;
+ [Tooltip("Key used to m... | feat(Simulator): allow WASD movement key bindings to be changed | null | extendrealityltd/vrtk | MIT License | C# |
@@ -842,10 +842,10 @@ func (m *Launcher) run(ctx context.Context) (err error) {
b := m.apibackend
pkgSVC = pkger.NewService(
pkger.WithLogger(m.logger.With(zap.String("service", "pkger"))),
- pkger.WithBucketSVC(b.BucketService),
- pkger.WithDashboardSVC(b.DashboardService),
- pkger.WithLabelSVC(b.LabelService),
- pkge... | feat(pkger): add authentication to service dependencies for pkger | null | influxdata/influxdb | MIT License | Go |
@@ -47,7 +47,7 @@ $app->get('/api/delivery/images/{path:.+}', function (Request $request, Response
// Update calls counter
Filesystem::write($delivery_images_token_file_path, $flextype['parser']->encode(array_replace_recursive($delivery_images_token_file_data, ['calls' => $delivery_images_token_file_data['calls'] + 1])... | feat(core): use PATH['uploads'] in Delivery Images API | null | flextype/flextype | MIT License | PHP |
@@ -35,6 +35,7 @@ import os.path
import warnings
from glob import glob
import numpy as np
+from numpy.lib.format import open_memmap
from struct import unpack
import audioread
import librosa
@@ -274,6 +275,15 @@ class Precomputed(object):
return SlidingWindowFeature((data - self.mu) / self.sigma,
self.sliding_window_)
+... | feat: add fast Precomputed.crop | null | pyannote/pyannote-audio | MIT License | Python |
@@ -11,6 +11,8 @@ namespace MahApps.Metro.Controls
{
public class MetroHeader : GroupBox
{
+ private const string PartHeaderPresenter = "PART_Header";
+
/// <summary>Identifies the <see cref="Orientation"/> dependency property.</summary>
public static readonly DependencyProperty OrientationProperty
= DependencyProperty... | feat(controls): handle header visibility for MetroHeader | null | mahapps/mahapps.metro | MIT License | C# |
@@ -112,6 +112,20 @@ namespace Unity.Netcode.Editor
EditorGUILayout.PropertyField(m_InLocalSpaceProperty);
EditorGUILayout.PropertyField(m_InterpolateProperty);
+ // if rigidbody is present but network rigidbody is not present
+ var go = ((NetworkTransform)target).gameObject;
+ if (go.TryGetComponent<Rigidbody>(out _) ... | feat: Add a warning box to NetworkTransform to indicate missing NetworkRigidbody | null | unity-technologies/com.unity.multiplayer.mlapi | MIT License | C# |
@@ -103,9 +103,10 @@ const MigrationBanner = ({ account }) => {
const getInviteCalendarEventURl =()=>{
const calenderURL = new URL('https://calendar.google.com/calendar/u/0/r/eventedit');
- const calendarDate= migrationStartDate.toISOString().replace(/-|:|\.\d\d\d/g,'');
+ const calendarStartDate= migrationStartDate.to... | feat: update dynamic calendar start and end date | null | near/near-wallet | MIT License | JavaScript |
@@ -105,6 +105,9 @@ public class Grid {
/** Maximum area allowed for the bounding box of an uploaded shapefile -- large enough for New York State. */
private static final double MAX_BOUNDING_BOX_AREA_SQ_KM = 250000;
+ /** Maximum area allowed for features in a shapefile upload */
+ double MAX_FEATURE_AREA_SQ_DEG = 0.01... | feat(shapefile-upload): limit feature size | null | conveyal/r5 | MIT License | Java |
@@ -84,7 +84,7 @@ class KitsuLibrary(
retries++
executeAgain = true
} else {
- errorMessage = response.message()
+ errorMessage = response.errorBody()?.string() ?: response.message()
}
}
} while (executeAgain)
| feat: update the error returned for failure to retrieve | null | chesire/nekome | Apache License 2.0 | Kotlin |
@@ -161,7 +161,6 @@ const Pie = <R, >({
layerById.sliceLabels = (
<g key="sliceLabels" transform={`translate(${centerX},${centerY})`}>
<SliceLabels<R>
- // @ts-ignore
dataWithArc={dataWithArc}
label={sliceLabel}
radius={radius}
@@ -180,7 +179,6 @@ const Pie = <R, >({
key="legends"
width={innerWidth}
height={innerHeight... | feat(pie): remove unnecessary ts ignore | null | plouc/nivo | MIT License | TypeScript |
@@ -280,6 +280,39 @@ void CreateDeadLetterSubscription(
std::stoi(argv.at(4)));
}
+void UpdateDeadLetterSubscription(
+ google::cloud::pubsub::SubscriptionAdminClient client,
+ std::vector<std::string> const& argv) {
+ //! [dead-letter-update-subscription]
+ // [START pubsub_dead_letter_update_subscription]
+ namespace... | feat(pubsub): Implement pubsub_dead_letter_update_subscription sample | null | googleapis/google-cloud-cpp | Apache License 2.0 | C++ |
@@ -22,5 +22,5 @@ deno run \
--no-check=remote \
--allow-net \
--allow-env="GITHUB_TOKEN" \
- --allow-run=yarn \
+ --allow-run=yarn,npm \
scripts/deno/peer-dependencies.ts
| feat(peer): ensure yarn is installed | null | guardian/dotcom-rendering | Apache License 2.0 | Shell |
@@ -7,7 +7,7 @@ package com.codingame.gameengine.module.entities;
* This reduces artifacts caused by rounding errors at the cost of lower performance.
* </p>
*/
-public class BufferedGroup extends ContainerBasedEntity<BufferedGroup> {
+public class BufferedGroup extends ContainerBasedEntity<BufferedGroup> implements Ma... | feat(sdk): BufferedGroups can be used as masks | null | codingame/codingame-game-engine | MIT License | Java |
@@ -1104,7 +1104,17 @@ export class TSRHandler {
private changedResults: PlayoutChangedResults | undefined = undefined
private sendCallbacksTimeout: NodeJS.Timer | undefined = undefined
- private sendCallbacksDebounceCount = 0
+
+ private sendChangedResults = (): void => {
+ this.sendCallbacksTimeout = undefined
+ this... | feat: simplify timeline callbacks batching | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -33,6 +33,7 @@ const String DEFAULT_VALUE = 'defaultValue';
const Map<String, dynamic> _defaultStyle = {
DISPLAY: INLINE_BLOCK,
BORDER: '1px solid #767676',
+ BACKGROUND_COLOR: '#fff',
};
// The default width ratio to multiple for calculating the default width of input
| feat: add default backgroundColor for input and textarea | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -312,7 +312,36 @@ Aggregate.prototype.lookup = function(options) {
};
/**
- * Appends new custom $sample operator(s) to this aggregate pipeline.
+ * Appends new custom $graphLookup operator(s) to this aggregate pipeline, performing a recursive search on a collection.
+ *
+ * NOTE: graphLookup can only consume at mos... | feat(aggregate): add graphLookup() as part of aggregation pipeline options for mongodb 3.4 | null | automattic/mongoose | MIT License | JavaScript |
@@ -91,7 +91,7 @@ class EntriesController extends Controller
$entry_current = $this->entries->fetch($this->getEntryID($query));
- if ($entry_current['items_view'] != '') {
+ if (isset($entry_current['items_view'])) {
$items_view = $entry_current['items_view'];
} else {
$items_view = $this->registry->get('settings.entri... | feat(admin-plugin): fix notice for EntriesController | null | flextype/flextype | MIT License | PHP |
@@ -165,7 +165,7 @@ class ExtractReview(pyblish.api.InstancePlugin):
# scaling none square pixels and 1920 width
# scale=320:-2 # to auto count height with output to be multiple of 2
- if profile.get('reformat', False):
+ if "reformat" in tags:
pixel_aspect = instance.data["pixelAspect"]
scaling_arg = "scale=1920:'ceil... | feat(global): hook the conditions to preset tags | null | pypeclub/openpype | MIT License | Python |
@@ -56,11 +56,13 @@ def recorder(function):
# Assumes that function refers to frappe.db.sql
# __self__ will refer to frappe.db
# Rest is trivial
+ query = function.__self__._cursor._executed
data = {
"function": function.__name__,
"args": args,
"kwargs": kwargs,
"result": result,
+ "query": query,
"stack": stack
}
| feat(recorder): Record each executed query as-it-is | null | frappe/frappe | MIT License | Python |
+package org.hisp.dhis.db.migration.v35;
+
+/*
+ * Copyright (c) 2004-2020, University of Oslo
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retai... | feat: add sms authority migration where mobile authority is present | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -164,8 +164,7 @@ public final class FakeMaven {
}
/**
- * Creates eo-foreign.* file. In the future it is going to be a method for `MavenWorkspace`
- * interface.
+ * Creates eo-foreign.* file.
*/
private void withEoForeign() {
final Tojo tojo = Catalogs.INSTANCE.make(this.foreignPath())
| feat(#1417): remove unnesessary comment | null | cqfn/eo | MIT License | Java |
@@ -237,7 +237,7 @@ public class TestUtils
}
/**
- * Waits until an element becomes available and return it.
+ * Waits until an element becomes available/displayed and return it.
* @param driver the {@code WebDriver}.
* @param by the xpath to search for the element
* @param timeout the time to wait for the element in s... | feat: Waits for element text returns after text is displayed | null | jitsi/jitsi-meet-torture | Apache License 2.0 | Java |
@@ -10,7 +10,9 @@ import me.melijn.melijnbot.internals.utils.message.sendMissingPermissionMessage
import me.melijn.melijnbot.internals.utils.message.sendRsp
import me.melijn.melijnbot.internals.utils.message.sendSyntax
import me.melijn.melijnbot.internals.utils.replacePrefix
+import me.melijn.melijnbot.internals.utils.... | feat: better error reporting for invalid spotify urls | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -62,9 +62,13 @@ function Storage(dir) {
if (!/^(\d+)\.(.+)$/.test(file)) {
return;
}
- try {
var index = parseInt(RegExp.$1, 10);
- var filename = decodeURIComponent(RegExp.$2);
+ var filename = RegExp.$2;
+ try {
+ filename = decodeURIComponent(filename);
+ } catch(e) {
+ logger.error(e);
+ }
if (index > maxIndex) ... | feat: Ensure decodeURIComponent safe | null | avwo/whistle | MIT License | JavaScript |
@@ -15,7 +15,7 @@ import (
)
func currentStatePath(selfAbsolutePath []string) []string {
- return append(selfAbsolutePath, "current", "state")
+ return append(selfAbsolutePath, "current")
}
func nodeagentPath(compute infra.Compute) []string {
| feat: remove unnecessary state property under cluster current | null | caos/orbos | Apache License 2.0 | Go |
@@ -33,6 +33,7 @@ import static org.springframework.http.CacheControl.noCache;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
@@ -46,6 +47,7 @@ import org.hisp.dhis.common.DhisApiVersion;
import org.hisp.dhi... | feat: support collections in metadata CSV | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -280,14 +280,25 @@ public class ConfigHelper {
welcomeImagesList,
defaultConfig.welcomeImagesList
);
+ this.testCaseDtoMap = firstNonNullOrEmptyMap(
+ testCaseDtoMap,
+ defaultConfig.testCaseDtoMap
+ );
+ this.criteriaLanguageMap = firstNonNullOrEmptyMap(
+ criteriaLanguageMap,
+ defaultConfig.criteriaLanguageMap
+ ... | feat(sdk): merge new fields with parent dir if applicable | null | codingame/codingame-game-engine | MIT License | Java |
@@ -12,6 +12,8 @@ use Exception;
use Utopia\Config\Config;
use Utopia\Locale\Locale as Locale;
+use function PHPSTORM_META\map;
+
class V06 extends Filter {
// Convert 0.7 Data format to 0.6 format
@@ -238,17 +240,28 @@ class V06 extends Filter {
foreach($sessions as $session) {
$parsedResponse[] = [
'$id' => $session[... | feat: changed session structure | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -75,6 +75,9 @@ type SourceService interface {
DeleteSource(ctx context.Context, id ID) error
}
+// DefaultSourceFindOptions are the default find options for sources
+var DefaultSourceFindOptions = FindOptions{}
+
// SourceUpdate represents updates to a source.
type SourceUpdate struct {
Name *string `json:"name"`
| feat(influxdb): default source find options | null | influxdata/influxdb | MIT License | Go |
@@ -192,7 +192,7 @@ func (sess *Session) Run(ctx context.Context) (err error) {
// install required roles
if len(requirements) > 0 {
args := []string{
- "install", "-r", requirements,
+ "install", "-r", requirements, "-p", tmpdir,
}
cmd := exec.CommandContext(ctx, "ansible-galaxy", args...)
stdout, _ := cmd.StdoutPipe(... | feat: download the role to tmpdir not system role dir | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -612,6 +612,13 @@ impl<'a> TypeChecker<'a> {
}
Err(e) => Some(Err(e)),
},
+ "connection_id" => {
+ let arg = Expr::Literal {
+ span: &[],
+ lit: Literal::String(self.ctx.get_connection_id()),
+ };
+ Some(self.resolve_function("connection_id", &[&arg], None).await)
+ }
_ => None,
}
}
| feat(function): new planner support connection_id function | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -56,7 +56,7 @@ mixin CSSTransformMixin on Node {
if (progress > 0.0) {
transform.transform = combineTransform(newMethods, prevMethods: baseMethods, progress: progress);
}
- if (progress == 1) {
+ if (progress >= 1) {
prevMethods = newMethods;
}
};
| feat: modify condition | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -49,7 +49,10 @@ private AdventureSerializerUtil() {
// check if the current char is a legacy text char
if (chars[i] == LEGACY_CHAR) {
// check if the next char is a legacy color char
- if ((next >= '0' && next <= '9') || (next >= 'a' && next <= 'f') || next == 'r') {
+ if ((next >= '0' && next <= '9')
+ || (next >= ... | feat(adventure): Add support for styling color codes | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -53,17 +53,6 @@ class MigrationV12Test extends MigrationTest
$this->assertEquals($document->getAttribute('search'), 'team Appwrite');
}
- public function testMigrationFiles()
- {
- $document = $this->fixDocument(new Document([
- '$id' => 'file',
- '$collection' => 'files',
- 'name' => 'Dog.jpeg'
- ]));
-
- $this->as... | feat: remove irrelevant migration tests | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -326,6 +326,8 @@ impl MainWin {
"measure_width" => main_win.borrow().measure_width(id, params),
"available_languages" => main_win.borrow_mut().available_languages(¶ms),
"language_changed" => main_win.borrow_mut().language_changed(¶ms),
+ "plugin_started" => main_win.borrow_mut().plugin_started(¶ms),
+ "p... | feat(main_win): notify the user if a plugin isn't available or has crashed | null | cogitri/tau | MIT License | Rust |
@@ -58,7 +58,6 @@ public class HealthCheckController {
Map<String, Object> map = new HashMap<>();
long ms = System.currentTimeMillis();
map.put("Current Time (ms)", Long.valueOf(ms));
- // Instant instant = Instant.ofEpochMilli(ms);
String time = DateTimeFormatter.RFC_1123_DATE_TIME.format(ZonedDateTime.now());
map.put... | feat(health-check): remove commented code | null | uportal-project/uportal | Apache License 2.0 | Java |
@@ -74,11 +74,11 @@ pub enum SessionCommand {
#[derive(Debug, Subcommand, Clone, Serialize, Deserialize)]
pub enum Sessions {
/// List active sessions
- #[clap(alias = "ls")]
+ #[clap(visible_alias = "ls")]
ListSessions,
/// Attach to a session
- #[clap(alias = "a")]
+ #[clap(visible_alias = "a")]
Attach {
/// Name of ... | feat: Shows subcommand aliases in help text | null | zellij-org/zellij | MIT License | Rust |
@@ -20,6 +20,7 @@ import java.util.List;
import com.b2international.commons.http.ExtendedLocale;
import com.b2international.snowowl.core.ResourceURI;
import com.b2international.snowowl.core.TerminologyResource;
+import com.b2international.snowowl.core.branch.Branch;
import com.b2international.snowowl.core.internal.Reso... | feat: add uriFromPath function to CodeSystem | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -38,7 +38,10 @@ func (csh cniServerHandler) configureNic(podName, podNamespace, netns, container
ovs.CleanDuplicatePort(ifaceID)
// Add veth pair host end to ovs port
output, err := ovs.Exec(ovs.MayExist, "add-port", "br-int", hostNicName, "--",
- "set", "interface", hostNicName, fmt.Sprintf("external_ids:iface-id=%... | feat: set more metadata to interface external_ids | null | kubeovn/kube-ovn | Apache License 2.0 | Go |
@@ -18,7 +18,7 @@ import (
)
func addRunFlags(cmd *cobra.Command) {
- cmd.Flags().String("path", "", "Path to the code directory or file")
+ cmd.Flags().StringP("path", "p", "", "Path to the code directory or file")
cmd.Flags().String("config-file", "", "Path to the Infracost config file. Cannot be used with other flag... | feat: add shorthand p flag for path | null | infracost/infracost | Apache License 2.0 | Go |
@@ -132,7 +132,8 @@ impl<T: 'static> SelectView<T> {
/// Sets a callback to be used when an item is selected.
pub fn set_on_select<F>(&mut self, cb: F)
- where F: Fn(&mut Cursive, &T) + 'static
+ where
+ F: Fn(&mut Cursive, &T) + 'static,
{
self.on_select = Some(Rc::new(cb));
}
@@ -141,7 +142,8 @@ impl<T: 'static> Sele... | feat: Add SelectView::select_{up,down} | null | gyscos/cursive | MIT License | Rust |
@@ -10,6 +10,7 @@ import {
Input,
NgZone,
OnChanges,
+ OnDestroy,
Output,
PLATFORM_ID,
Renderer2,
@@ -57,11 +58,13 @@ export interface CustomOption {
encapsulation: ViewEncapsulation.None
})
export class QuillEditorComponent
- implements AfterViewInit, ControlValueAccessor, OnChanges, Validator {
+ implements AfterView... | feat(modelFormat): allow to set model format like object, html, text | null | killercodemonkey/ngx-quill | MIT License | TypeScript |
@@ -485,14 +485,37 @@ func (e *Element) Negate(a Element) *Element {
return e.Sub(z, a)
}
+// Select sets e to a is selector == 0 and to b otherwise.
func (e *Element) Select(selector frontend.Variable, a, b Element) *Element {
- panic("not implemented")
- // return nil
+ if len(a.Limbs) != len(b.Limbs) {
+ panic("uneq... | feat: implement Lookup2 and select | null | consensys/gnark | Apache License 2.0 | Go |
@@ -7,11 +7,14 @@ use clap_blocks::{
run_config::RunConfig,
};
use iox_query::exec::Executor;
+use iox_time::{SystemProvider, TimeProvider};
use ioxd_common::{
server_type::{CommonServerState, CommonServerStateError},
Service,
};
use ioxd_ingester2::create_ingester_server_type;
+use object_store::DynObjectStore;
+use o... | feat: enable object store metrics on ingester2 | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
+use expect_test::*;
+
+#[test]
+fn test_native_types_list_on_crdb() {
+ let schema = r#"
+ datasource mydb {
+ provider = "cockroachdb"
+ url = env("TEST_DATABASE_URL")
+ }
+ "#;
+
+ let result = prisma_fmt::native_types(schema.to_owned());
+ let expected = expect![[r#"[{"name":"Bit","_number_of_args":0,"_number_of_op... | feat(prisma-fmt): write a test for crdb native types | null | prisma/prisma-engines | Apache License 2.0 | Rust |
@@ -2349,7 +2349,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
/// </summary>
/// <param name="contacts"></param>
/// <param name="duration"></param>
- public void InviteContactsToNewMeeting(InvitableDirectoryContact[] contacts, uint duration)
+ public void InviteContactsToNewMeeting(List<Invi... | feat(essentials): switches from array to list type in arguments | null | pepperdash/essentials | MIT License | C# |
@@ -1264,6 +1264,7 @@ func TestConfigureTeamMembers(t *testing.T) {
remove sets.String
addMembers sets.String
addMaintainers sets.String
+ ignoreInvitees bool
invitees sets.String
team org.Team
slug string
@@ -1271,11 +1272,13 @@ func TestConfigureTeamMembers(t *testing.T) {
{
name: "fail when listing fails",
slug: "so... | feat(ignore_invitees): update unit tests for ignore invitees handling | null | kubernetes/test-infra | Apache License 2.0 | Go |
package me.melijn.melijnbot.internals.web
import io.ktor.application.*
+import io.ktor.http.*
+import io.ktor.response.*
import io.ktor.routing.*
import io.ktor.server.engine.*
import io.ktor.server.netty.*
import me.melijn.melijnbot.Container
+import me.melijn.melijnbot.MelijnBot
import me.melijn.melijnbot.internals.w... | feat: ready probe | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -80,3 +80,14 @@ pub trait ProfileTrait:
ProfileIdentity + ProfileChanges + ProfileSecrets + ProfileContacts + ProfileAuth + Send + 'static
{
}
+
+impl<P> ProfileTrait for P where
+ P: ProfileIdentity
+ + ProfileChanges
+ + ProfileSecrets
+ + ProfileContacts
+ + ProfileAuth
+ + Send
+ + 'static
+{
+}
| feat(rust): add generic profile trait implementation | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -578,6 +578,35 @@ SQL;
// --------------------------------------------------------------------
+ /**
+ * Bind parameters
+ *
+ * @param array $params
+ * @return void
+ */
+ protected function bindParams($params)
+ {
+ if (! is_array($params) || ! is_resource($this->stmtId))
+ {
+ return;
+ }
+
+ foreach ($params as... | feat: add bind parameter method | null | codeigniter4/codeigniter4 | MIT License | PHP |
+package log
+
+import (
+ "io"
+ "os"
+
+ "github.com/sirupsen/logrus"
+ lumberjack "gopkg.in/natefinch/lumberjack.v2"
+)
+
+type logrusLogEntry struct {
+ entry *logrus.Entry
+}
+
+type logrusLogger struct {
+ logger *logrus.Logger
+}
+
+func newLogrusLogger(config Configuration) (Logger, error) {
+ logLevel := confi... | feat: add logrus log | null | go-eagle/eagle | MIT License | Go |
@@ -16,11 +16,6 @@ void main() {
initTestFramework();
registerDartTestMethodsToCpp();
registerDartMethodsToCpp();
- addJSErrorListener((String errmsg) {
- Colorize color = Colorize(errmsg);
- color.red();
- print(color);
- });
if (Platform.isMacOS) debugDefaultTargetPlatformOverride = TargetPlatform.iOS;
@@ -41,6 +36,1... | feat: support for error report | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -395,6 +395,13 @@ class AlexaMediaNotificationSensor(Entity):
attr = {
"recurrence": self.recurrence,
+ "process_timestamp":
+
+ dt.as_local(
+ datetime.datetime.fromtimestamp(
+ self._timestamp.timestamp()
+ )
+ ).isoformat(),
"prior_value": self._process_state(self._prior_value),
"total_active": len(self._active),... | feat: add process_timestamp attribute to notification sensors | null | custom-components/alexa_media_player | Apache License 2.0 | Python |
@@ -85,6 +85,9 @@ class RollbarLogger extends AbstractLogger
return $this->config->getCustom();
}
+ /**
+ * @var Level|string $level
+ */
public function log($level, $toLog, array $context = array())
{
if ($this->disabled()) {
@@ -92,7 +95,16 @@ class RollbarLogger extends AbstractLogger
return new Response(0, "Disable... | feat: support Level to RollbarLogger::log | null | rollbar/rollbar-php | MIT License | PHP |
@@ -102,7 +102,7 @@ class Frontmatter
return flextype('yaml')->decode(Strings::create($parts[1])->trim()->toString(), false) + ['content' => Strings::create(implode(PHP_EOL . '---' . PHP_EOL, array_slice($parts, 2)))->trim()->toString()];
}
- protected function getCacheID($input): string
+ public function getCacheID($i... | feat(frontmatter): make getCacheID() method public | null | flextype/flextype | MIT License | PHP |
@@ -403,12 +403,13 @@ class Entries
*
* @param string $id Entry ID
* @param array $data Data
+ * @param string $parser Parser - on of Parser::$parsers
*
* @return bool True on success, false on failure.
*
* @access public
*/
- public function create(string $id, array $data, $parser = 'frontmatter') : bool
+ public func... | feat(core): update Entries methods | null | flextype/flextype | MIT License | PHP |
@@ -45,9 +45,9 @@ typedef NS_ENUM(NSInteger, BSGConfigurationErrorCode) {
/**
* A configuration block for modifying an error report
*
- * @param report The default report
+ * @param event the error report to be modified
*/
-typedef void (^BugsnagOnErrorBlock)(BugsnagEvent *_Nonnull report);
+typedef void (^BugsnagOnErr... | feat: rename OnErrorBlock param | null | bugsnag/bugsnag-cocoa | MIT License | C |
@@ -132,6 +132,10 @@ func RunDocs(cmd *cobra.Command, args []string) {
flags = append(flags, "--delegated-auth=false")
}
+ etcdStopFunc := RunEtcd()
+ defer etcdStopFunc()
+ log.Printf("starting local etcd...\n")
+
c := exec.Command(server,
flags...,
)
@@ -203,3 +207,21 @@ func RunDocs(cmd *cobra.Command, args []string... | feat(build-docs): run local etcd by default | null | kubernetes-sigs/apiserver-builder-alpha | Apache License 2.0 | Go |
@@ -4,7 +4,7 @@ use ockam_core::compat::vec::Vec;
use ockam_core::{route, Address, Processor, Result};
use ockam_node::Context;
use tokio::{io::AsyncReadExt, net::tcp::OwnedReadHalf};
-use tracing::error;
+use tracing::{error, warn};
const MAX_PAYLOAD_SIZE: usize = 256;
@@ -47,11 +47,19 @@ impl Processor for TcpPortalR... | feat(rust): log and ignore error while sending disconnect from portal | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -9,6 +9,8 @@ import {
import middlewares, { transformQuery } from "../../../middlewares"
import { AdminGetOrdersParams } from "./list-orders"
import { FlagRouter } from "../../../../utils/flag-router"
+import SalesChannelFeatureFlag from "../../../../loaders/feature-flags/sales-channels"
+import OrderEditingFeatureF... | feat(medusa): add 'edits' to order relations if the feature is enabled | null | medusajs/medusa | MIT License | TypeScript |
@@ -15,7 +15,7 @@ import (
//dst: /root
//hook: cd /root && rm -rf kube && tar zxvf %s && cd /root/kube/shell && sh init.sh
func SendPackage(location string, hosts []string, dst string, before, after *string) string {
- location, md5 := downloadFile(PkgUrl)
+ location, md5 := downloadFile(location)
pkg := path.Base(loc... | feat(develop): fix pkgurl | null | fanux/sealos | Apache License 2.0 | Go |
@@ -18,7 +18,7 @@ import {
ApiActions,
} from './constants'
-import { application } from './messages'
+import { application, stateDescriptions } from './messages'
import { dataSchema } from './dataSchema'
import {
isMuncipalityNotRegistered,
@@ -90,6 +90,9 @@ const FinancialAidTemplate: ApplicationTemplate<
meta: {
nam... | feat(fa): Add description texts for states | null | island-is/island.is | MIT License | TypeScript |
@@ -48,6 +48,13 @@ public abstract class SnomedTerminologyComponentConstants {
public static final String CODESYSTEM_MODULES_CONFIG_KEY = "moduleIds";
public static final String CODESYSTEM_NAMESPACE_CONFIG_KEY = "namespace";
public static final String CODESYSTEM_DESCRIPTION_COPY_POLICY_CONFIG_KEY = "descriptionCopyPoli... | feat(export): add constants for Rf2 export | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -76,3 +76,10 @@ test('test getFileLocation() method', function () {
flextype('filesystem')->file(PATH['project'] . '/uploads/.meta/foo.txt.yaml')->put(flextype('yaml')->encode(['title' => 'Foo', 'description' => '', 'type' => 'text/plain', 'filesize' => 3, 'uploaded_on' => 1603090370, 'exif' => []]));
$this->assertS... | feat(tests): add tests for MediaFiles delete() method | null | flextype/flextype | MIT License | PHP |
+const got = require('@/utils/got');
+const cheerio = require('cheerio');
+
+module.exports = async (ctx) => {
+ const currentUrl = `http://export.arxiv.org/api/query?${ctx.params.query}`;
+ const response = await got({
+ method: 'get',
+ url: currentUrl,
+ });
+ const $ = cheerio.load(response.data);
+ const list = $(... | feat: add arxiv search | null | diygod/rsshub | MIT License | JavaScript |
@@ -513,3 +513,91 @@ func (s *ServicesService) DeleteJenkinsCIService(pid interface{}, options ...Opt
return s.client.Do(req, nil)
}
+
+// MicrosoftTeamsService represents Microsoft Teams service settings.
+//
+// GitLab API docs:
+// https://docs.gitlab.com/ce/api/services.html#microsoft-teams
+type MicrosoftTeamsServ... | feat: add microsoft teams integration | null | xanzy/go-gitlab | Apache License 2.0 | Go |
@@ -166,7 +166,7 @@ type Config struct {
RFC2136GSSTSIG bool
RFC2136KerberosRealm string
RFC2136KerberosUsername string
- RFC2136KerberosPassword string
+ RFC2136KerberosPassword string `secure:"yes"`
RFC2136TSIGKeyName string
RFC2136TSIGSecret string `secure:"yes"`
RFC2136TSIGSecretAlg string
| feat: restrict rfc2136 kerberos password from being exposed in logs | null | kubernetes-sigs/external-dns | Apache License 2.0 | Go |
@@ -669,12 +669,16 @@ static bool read_acl_sjson_file(iallocator& allocator, const Options& options,
#endif
if (file == nullptr)
+ {
+ printf("Failed to open input file\n");
return false;
+ }
// Make sure to enable buffering with a large buffer
const int setvbuf_result = setvbuf(file, NULL, _IOFBF, 1 * 1024 * 1024);
if... | feat(tools): add more diagnostic messages when we fail to read an input file | null | nfrechette/acl | MIT License | C++ |
-use crate::errors::incompatible_language;
-
use super::{Kernel, KernelTrait};
+use crate::errors::incompatible_language;
use async_trait::async_trait;
use eyre::{bail, Result};
+use fasteval::{ez_eval, Error};
use once_cell::sync::Lazy;
use regex::Regex;
use schemars::JsonSchema;
@@ -75,8 +75,32 @@ impl KernelTrait fo... | feat(Calc kernel): Improve error messages | null | stencila/stencila | Apache License 2.0 | Rust |
@@ -175,4 +175,12 @@ export class CMS {
this._enabled = false
this.events.dispatch(CMS.DISABLED)
}
+
+ toggle(): void {
+ if (this.enabled) {
+ this.disable()
+ } else {
+ this.enable()
+ }
+ }
}
| feat: add cms.toggle to make togling the cms.enabled prop easier | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
@@ -15,7 +15,9 @@ public class List extends Component {
static final String LIST_SELECTOR = ".tc-list";
- static final String ADD_BTN_SELECTOR = ".tc-actionbar-container .btn-primary";
+ static final String ACTIONBAR_SELECTOR = ".tc-actionbar-container";
+
+ static final String BTN_SELECTOR = ACTIONBAR_SELECTOR + " .bt... | feat(component/E2E/List): add method to get all buttons | null | talend/ui | Apache License 2.0 | Java |
@@ -11,15 +11,56 @@ namespace PeanutButter.INIFile
// ReSharper disable once InconsistentNaming
public interface IINIFile
{
+ /// <summary>
+ /// Interface to treat IINIFile like a dictionary of dictionaries
+ /// </summary>
+ /// <param name="index"></param>
+ /// <returns></returns>
Dictionary<string, string> this[st... | feat: bring RemoveSection up into interface | null | fluffynuts/peanutbutter | BSD 3-Clause New or Revised License | C# |
@@ -23,7 +23,7 @@ impl ObjectStorePath for FilePath {
}
fn display(&self) -> String {
- todo!()
+ self.to_raw().display().to_string()
}
}
@@ -436,4 +436,18 @@ mod tests {
b_file_path
);
}
+
+ #[test]
+ fn path_display() {
+ let a_path_buf: PathBuf = "foo/bar/a.json".into();
+ let expected_display = a_path_buf.display()... | feat: Implement display on FilePath | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -11,11 +11,17 @@ interface Props {
name: string
themeColor?: 'light' | 'dark'
disabled?: boolean
+ className?: string
onChange?: (name: string, checked: boolean) => void
}
-const CheckboxLabelComponent: React.FC<Props & InjectedProps> = ({ label, theme, ...props }) => (
- <Wrapper>
+const CheckboxLabelComponent: Rea... | feat: Add className props to CheckboxLabel | null | kufu/smarthr-ui | MIT License | TypeScript |
-use crate::v0::support::{try_only_named_multipart, with_ipfs, NotImplemented, StringError};
+use crate::v0::support::{
+ try_only_named_multipart, with_ipfs, MaybeTimeoutExt, NotImplemented, StringError,
+ StringSerialized,
+};
use futures::stream::Stream;
use ipfs::{Ipfs, IpfsTypes};
use libipld::cid::{Cid, Codec};
@... | feat: timeout on dag/resolve | null | rs-ipfs/rust-ipfs | Apache License 2.0 | Rust |
@@ -24,6 +24,7 @@ void launch({
bool? debugEnableInspector,
Color background = _white,
DevToolsService? devToolsService,
+ HttpClientInterceptor? httpClientInterceptor
}) async {
// Bootstrap binding.
ElementsFlutterBinding.ensureInitialized().scheduleWarmUpFrame();
@@ -35,7 +36,8 @@ void launch({
background: backgroun... | feat: export HttpClientInterceptor api to launcher | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -43,7 +43,7 @@ module.exports = {
performance: {
hints: false
},
- devtool: '#source-map',
+ devtool: 'cheap-module-eval-source-map',
watchOptions: {
aggregateTimeout: 300,
ignored: /node_modules/
| feat(hops-config): use faster source map strategy | null | xing/hops | MIT License | JavaScript |
@@ -414,7 +414,9 @@ size_t AlgoChooser<Opr>::setup_algo(const FixedTensorLayouts& layouts,
size_t workspace = ctx.get_workspace_size_bytes(policy);
std::string ret;
+ if (mgb_opr->dyn_typeinfo()->name) {
ret.append(mgb_opr->dyn_typeinfo()->name);
+ }
ret += format_fixlayouts<Opr>(layouts, arity_in, arity_out);
Algorith... | feat(lite): add version interface | null | megengine/megengine | Apache License 2.0 | C++ |
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
+#include <limits.h>
#include <string.h>
#include <assert.h>
@@ -56,6 +57,7 @@ int main(int argc, char *argv[])
struct discord *client = discord_config_init(config_file);
assert(NULL != client);
+ discord_add_intents(client, 32767);
discord_set_on_ready(clien... | feat: bot-log.c subscribes to every possible event | null | cee-studio/orca | MIT License | C |
@@ -3,6 +3,15 @@ const completionSpec: Fig.Spec = {
args: {
name: "SSID",
description: "The name for a Wi-Fi network",
+ generators: {
+ script:
+ "networksetup -listallhardwareports | awk '/Wi-Fi/{getline; print $2}' | xargs networksetup -listpreferredwirelessnetworks",
+ postProcess: (out) =>
+ out
+ .split("\n")
+ .... | feat(wifi-password): add SSID generator | null | withfig/autocomplete | MIT License | TypeScript |
*/
package com.vaadin.flow.router;
+import javax.annotation.Nullable;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
@@ -29,5 +30,6 @@ import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
@Document... | feat: Annotate OptionalParameter with | null | vaadin/flow | Apache License 2.0 | Java |
@@ -25,7 +25,8 @@ target_release=""
base_release_branch=$(echo "$1" | grep -E 'release-[0-9]*.0$')
if [ "$base_release_branch" != "" ]; then
major_release=$(echo "$base_release_branch" | sed 's/release-*//' | sed 's/\.0//')
- target_release="release-$((major_release-1)).0"
+ target_major_release=$((major_release-1))
+ ... | feat: use the latest major release patch to run upgrade tests for release branches | null | vitessio/vitess | Apache License 2.0 | Shell |
@@ -5,11 +5,11 @@ import (
"context"
"flag"
"fmt"
- "net/http"
"os"
"reflect"
"github.com/kong/go-kong/kong"
+ "github.com/kong/kubernetes-ingress-controller/pkg/adminapi"
"github.com/kong/kubernetes-ingress-controller/pkg/sendconfig"
"github.com/kong/kubernetes-ingress-controller/pkg/util"
konghqcomv1 "github.com/kong... | feat(railgun): admin api mTLS and headers | null | kong/kubernetes-ingress-controller | Apache License 2.0 | Go |
@@ -7,7 +7,7 @@ usage() {
echo "Error: $*"
fi
cat <<EOF
-usage: $0 [update|up|down|logs] [command-specific options]
+usage: $0 [update|up|down|logs|deploy] [command-specific options]
Operate a local testnet
@@ -15,6 +15,7 @@ Operate a local testnet
up - Start the network
down - Stop the network
logs - Display network l... | feat: add deploy command | null | solana-labs/solana-web3.js | MIT License | Shell |
@@ -134,12 +134,26 @@ bar::bar(connection& conn, signal_emitter& emitter, const config& config, const
// Load configuration values
m_opts.origin = m_conf.get(bs, "bottom", false) ? edge::BOTTOM : edge::TOP;
m_opts.spacing = m_conf.get(bs, "spacing", m_opts.spacing);
+ m_opts.separator = m_conf.get(bs, "separator", ""s)... | feat(config): Shorthand for {padding,module-margin}-{left,right} | null | polybar/polybar | MIT License | C++ |
@@ -3,7 +3,7 @@ package me.melijn.melijnbot.database.locking
import me.melijn.melijnbot.database.HIGHER_CACHE
import me.melijn.melijnbot.database.NORMAL_CACHE
-class LockExcludedWrapper(val lockExcludedDao: LockExcludedDao) {
+class LockExcludedWrapper(private val lockExcludedDao: LockExcludedDao) {
suspend fun getExcl... | feat: new entity type | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -102,6 +102,10 @@ const FirstPeriodStart: FC<FieldBaseProps> = ({
.estimatedDateOfBirthOption,
),
value: StartDateOptions.ESTIMATED_DATE_OF_BIRTH,
+ tooltip: formatMessage(
+ parentalLeaveFormMessages.firstPeriodStart
+ .specificDateOptionTooltip,
+ ),
disabled: isDisable,
},
{
| feat(parental-leave): add tooltip to first period start page | null | island-is/island.is | MIT License | TypeScript |
@@ -75,8 +75,8 @@ use function var_export;
// Creates $app Application and $container Container objects.
flextype();
-// Create Flextype Console Application
-container()->set('console', new FlextypeConsoleApplication());
+// Create Flextype CLI Application
+container()->set('console', new FlextypeConsoleApplication('Fl... | feat(flextype): add ability to run `app` and `cli` | null | flextype/flextype | MIT License | PHP |
@@ -225,8 +225,6 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
\exec('mkdir -p '.$resultExamples.' && cp -r '.$result.'/docs/examples '.$resultExamples);
Console::success("Copied code examples for {$language['name']} SDK to: {$resultExamples}");
- // \exec('rm -rf '.$result);
- // C... | feat: remove source directory deletion | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -104,8 +104,7 @@ namespace Unity.Netcode
// todo: Currently, fragmentation support needed to deal with oversize packets encounterable with current pre-snapshot code".
// todo: once we have snapshotting able to deal with missing frame, this should be unreliable
new TransportChannel(NetworkChannel.NetworkVariable, Net... | feat: snapshot, using unreliable packets, now that the underlying foundation supports it. Only merge after | null | unity-technologies/com.unity.multiplayer.mlapi | MIT License | C# |
@@ -7,6 +7,7 @@ import (
"strings"
"time"
+ "github.com/influxdata/influxdb/v2"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
"github.com/spf13/viper"
@@ -208,6 +209,19 @@ func BindOptions(cmd *cobra.Command, opts []Opt) {
}
mustBindPFlag(o.Flag, flagset)
destP.Set(viper.GetString(envVar))
+ case *influxdb.ID:
+ va... | feat: Support influxdb.ID as bindable argument in kit/cli | null | influxdata/influxdb | MIT License | Go |
@@ -680,7 +680,7 @@ module.exports = function(req, res, next) {
var hasData = data.body || data.top || data.bottom;
if (hasData) {
- util.disableCSP(_res.headers);
+ !req.enable.keepCSP && util.disableCSP(_res.headers);
util.disableResStore(_res.headers);
}
| feat: enable://keepCSP | null | avwo/whistle | MIT License | JavaScript |
@@ -37,48 +37,82 @@ where
}
}
-pub struct Recognize<P>(P);
+pub type Recognize<P> = recognize::Recognize<P>;
+parser!{
+ #[derive(Clone)]
+ pub struct Recognize;
+ /// Zero-copy parser which reads a range of length `i.len()` and succeds if `i` is equal to that
+ /// range.
+ ///
+ /// ```
+ /// # extern crate combine;
... | feat: add new range parser, returning (range, value) | null | marwes/combine | MIT License | Rust |
use std::collections::{BTreeMap, BTreeSet};
use std::iter;
-use arrow::array::Array;
+use arrow::array::{Array, PrimitiveArray};
+use arrow::datatypes::ArrowNumericType;
+use arrow::datatypes::*;
+
+pub trait Encoding: Send + Sync {
+ type Item;
+
+ fn size(&self) -> usize;
+ fn value(&self, row_id: usize) -> Self::Ite... | feat: working on arrow backing | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -221,43 +221,22 @@ class Connection extends BaseConnection implements ConnectionInterface
*
* @param string $sql
*
- * @return mixed
+ * @return resource
*/
public function execute(string $sql)
{
- while ($this->connID->more_results())
+ if ($this->resetStmtId === true)
{
- $this->connID->next_result();
- if ($res =... | feat: add exec method | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -485,3 +485,19 @@ func (fwd *SForward) PerformHeartbeat(ctx context.Context, userCred mcclient.Tok
}
return nil, nil
}
+
+func (fwd *SForward) AllowGetDetailsLastseen(ctx context.Context, userCred mcclient.TokenCredential, query jsonutils.JSONObject) bool {
+ return fwd.IsOwner(userCred) || db.IsAllowGetSpec(rbacuti... | feat(cloudproxy): add GetDetailsLastseen for forwards | null | yunionio/yunioncloud | Apache License 2.0 | Go |
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-import 'package:flutterfire_ui/src/i10n/lang/es.dart';
-
-import '../i10n/lang/ar.dart';
+import 'lang/ar.dart';
import 'lang/en.dart';
import 'lang/fr.dart';
import 'lang/it.dart';... | feat(flutterfire_ui): Add German localization language support | null | firebaseextended/flutterfire | BSD 3-Clause New or Revised License | Dart |
@@ -38,6 +38,13 @@ const HeaderNav = () => {
>
storybook
</HeaderExternalLink>
+ <HeaderExternalLink
+ href="https://opencollective.com/nivo"
+ target="_blank"
+ rel="noopener noreferrer"
+ >
+ Donate
+ </HeaderExternalLink>
<ThemeSelector />
<HeaderExternalLink
href="https://github.com/plouc/nivo"
| feat(website): add sponsoring link | null | plouc/nivo | MIT License | JavaScript |
@@ -473,6 +473,13 @@ export default Vue.extend({
this.optionIndex = index
this.__hydrateOptions({ target: this.__getMenuContentEl() }, index)
+
+ if (index >= 0 && this.useInput === true && this.fillInput === true) {
+ const inputValue = this.__getOptionLabel(this.options[index])
+ if (this.inputValue !== inputValue) {... | feat(QSelect): make fillInput fill the inputValue on kdb navigation | null | quasarframework/quasar | MIT License | JavaScript |
import { ChainId, chainName } from '@sushiswap/chain'
import { SUSHI_ADDRESS } from '@sushiswap/currency'
-import { getBuiltGraphSDK } from '@sushiswap/graph-client'
+import { Block, getBuiltGraphSDK } from '@sushiswap/graph-client'
import chalk from 'chalk'
import CliTable3 from 'cli-table3'
@@ -49,63 +49,7 @@ export ... | feat: add processRevenues | null | sushiswap/sushiswap | MIT License | TypeScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.