diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -4,9 +4,11 @@ import {
assign,
forEach
} from 'lodash';
+import ava, { RegisterContextual } from 'ava';
import MockRequest from './mock-request';
import MockResponse from './mock-response';
import Application from '../runtime/application';
+import ORMAdapter from '../data/orm-adapter';
import { ContainerOptions } fr... | feat(test): typed acceptance test contexts! | null | denali-js/core | Apache License 2.0 | TypeScript |
@@ -172,7 +172,7 @@ class Executor
switch (true) {
case $status < 400:
return $response['body'];
- case $status == 404:
+ case $status === 404:
$response = $this->createRuntime(
deploymentId: $deploymentId,
projectId: $projectId,
@@ -186,7 +186,7 @@ class Executor
$response = $this->call(self::METHOD_POST, $route, $hea... | feat: use strict comparison | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -33,7 +33,7 @@ describe('theme: http.client', () => {
done();
});
expect(http.loading).toBeTruthy();
- backend.expectOne(URL).flush(OK);
+ backend.expectOne(req => req.method === 'GET' && req.url === URL).flush(OK);
});
it('#SERVER_URL', () => {
@@ -60,6 +60,29 @@ describe('theme: http.client', () => {
ret.flush(OK)... | feat(theme:http): overloads methods | null | ng-alain/delon | MIT License | TypeScript |
@@ -13,6 +13,15 @@ class DoubleTapAnimation {
private var fowardIcon2 = UIImageView(image: UIImage.fromName("play", for: PlayButton.self))
private var fowardIcon3 = UIImageView(image: UIImage.fromName("play", for: PlayButton.self))
+ private var leftBubbleView = UIView()
+ private var rightBubbleView = UIView()
+
+ pri... | feat: implement bubble animations | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -30,6 +30,7 @@ public abstract class VaInstructionFragment extends Fragment implements View.OnC
public static final String INSTRUCTION_TITLE = "instruction.title";
private final String OTHER_VA_PROCESSOR_BNI = "bni_va";
+ private final String OTHER_VA_PROCESSOR_BRI = "bri_va";
protected OnInstructionShownListener li... | feat: handle atm bersama and prima for Bri Va Processor | null | veritrans/veritrans-android | MIT License | Java |
@@ -164,6 +164,10 @@ open class Player: BaseObject {
core?.activePlayback?.seek(timeInterval)
}
+ open func mute(enabled: Bool) {
+ core?.activePlayback?.mute(enabled)
+ }
+
open func setFullscreen(_ fullscreen: Bool) {
core?.setFullscreen(fullscreen)
}
| feat(Player): add mute method | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -297,7 +297,7 @@ class Entries
// Run event: onEntryDelete
flextype('emitter')->emit('onEntryDelete');
- return Filesystem::deleteDir($this->getDirLocation($this->storage['delete']['id']));
+ return flextype('filesystem')->directory($this->getDirLocation($this->storage['delete']['id']))->delete();
}
/**
@@ -305,23 +... | feat(entries): remove deep option for copy() entries and fix delete() | null | flextype/flextype | MIT License | PHP |
@@ -285,7 +285,9 @@ class NluManager {
domainName
);
result.domain = classifications.domain;
- result.classifications = classifications.classifications;
+ result.classifications = classifications.classifications.sort(
+ (a, b) => b.value - a.value
+ );
if (
this.isEqualClassification(result.classifications) ||
result.c... | feat: sort classifications in the nlu manager | null | axa-group/nlp.js | MIT License | JavaScript |
@@ -427,7 +427,7 @@ if __name__ == "__main__":
)
print(stock_financial_report_sina_df)
- stock_financial_abstract_df = stock_financial_abstract(stock="600004")
+ stock_financial_abstract_df = stock_financial_abstract(stock="000958")
print(stock_financial_abstract_df)
stock_financial_analysis_indicator_df = stock_financ... | feat(stock_hot_rank_relate_em): add stock_hot_rank_relate_em interface | null | jindaxiang/akshare | MIT License | Python |
@@ -56,6 +56,7 @@ class ForemastRunner:
self.artifact_path = os.getenv("ARTIFACT_PATH")
self.artifact_version = os.getenv("ARTIFACT_VERSION")
self.promote_stage = os.getenv("PROMOTE_STAGE", "latest")
+ self.provider = os.getenv("PROVIDER", "aws")
self.git_project = "{}/{}".format(self.group, self.repo)
parsed = gogouti... | feat: Add provider environment variable | null | foremast/foremast | Apache License 2.0 | Python |
@@ -2,7 +2,7 @@ import * as React from "react";
import { css } from "@emotion/react";
import { ModalPortal } from "~/components/core/ModalPortal";
-import { useEscapeKey, useEventListener } from "~/common/hooks";
+import { useCombinedRefs, useEscapeKey, useEventListener } from "~/common/hooks";
import { Boundary } from... | feat(Tooltip): forward ref from Tooltip.Trigger | null | filecoin-project/slate | MIT License | JavaScript |
@@ -79,6 +79,11 @@ func GetLogger() Logger {
return logger
}
+// GetZapLogger return raw zap logger
+func GetZapLogger() *zap.Logger {
+ return zl
+}
+
// WithContext is a logger that can log msg and log span for trace
func WithContext(ctx context.Context) Logger {
//return zap logger
| feat: add GetZapLogger for log | null | go-eagle/eagle | MIT License | Go |
+import * as admin from 'firebase-admin'
+import * as functions from 'firebase-functions'
+import { DB_ENDPOINTS } from '../models'
+import { db } from '../Firebase/firestoreDB'
+import { compareObjectDiffs } from '../Utils/data.utils'
+
+type IDocumentRef = FirebaseFirestore.DocumentReference
+type ICollectionRef = Fi... | feat: add common aggregator methods | null | onearmy/community-platform | MIT License | TypeScript |
@@ -22,6 +22,7 @@ func TestAuth(t *testing.T) {
Token: fmt.Sprintf("randomtoken%d", i),
OrgID: influxdb.ID(i),
UserID: influxdb.ID(i),
+ Status: influxdb.Active,
})
if err != nil {
@@ -75,6 +76,100 @@ func TestAuth(t *testing.T) {
}
},
},
+ {
+ name: "read",
+ setup: setup,
+ results: func(t *testing.T, store *authoriz... | feat(authorization): Added tests for Read, Update, and Delete in Authorization | null | influxdata/influxdb | MIT License | Go |
+use time;
+
use snafu::Snafu;
+#[derive(Debug, Snafu)]
+pub enum Error {
+ #[snafu(display("Unable to parse timestamp '{:?}'", t))]
+ TimestampParseError { t: String },
+}
+
+pub type Result<T, E = Error> = std::result::Result<T, E>;
+
/// Craft and submit different types of storage read requests
#[derive(Debug, clap:... | feat: support parsing timerange | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -12,7 +12,7 @@ import io.swagger.v3.oas.models.parameters.Parameter
@Rule(
ruleSet = ZalandoRuleSet::class,
id = "183",
- severity = Severity.MUST,
+ severity = Severity.SHOULD,
title = "Use Only the Specified Proprietary Zalando Headers"
)
class ProprietaryHeadersRule(rulesConfig: Config) {
| feat: change severity of proprietary header rule | null | zalando/zally | MIT License | Kotlin |
@@ -6,6 +6,7 @@ import { EventBusModule } from '../event-bus/event-bus.module';
import { HealthCheckModule } from '../health-check/health-check.module';
import { I18nModule } from '../i18n/i18n.module';
import { JobQueueModule } from '../job-queue/job-queue.module';
+import { ProcessContextModule } from '../process-con... | feat(core): Export ProcessContextModule from PluginCommonModule | null | vendure-ecommerce/vendure | MIT License | TypeScript |
@@ -98,11 +98,11 @@ type Known = KnownRecord | [Known, ...Known[]] | Known[] | number | string | boo
interface KnownRecord extends Record<string, Known> {}
-type PropertiesSchema<T> = {
+export type PropertiesSchema<T> = {
[K in keyof T]-?: (JSONSchemaType<T[K]> & Nullable<T[K]>) | {$ref: string}
}
-type RequiredMember... | feat: expose PropertiesSchema and RequiredMembers types | null | ajv-validator/ajv | MIT License | TypeScript |
@@ -156,8 +156,7 @@ type TCPDialer struct {
// DNSCacheDuration may be used to override the default DNS cache duration (DefaultDNSCacheDuration)
DNSCacheDuration time.Duration
- tcpAddrsLock sync.Mutex
- tcpAddrsMap map[string]*tcpAddrEntry
+ tcpAddrsMap sync.Map
concurrencyCh chan struct{}
@@ -280,7 +279,6 @@ func (d ... | feat: improve TCPDialer by `sync.map` instead of `map+mutex` | null | valyala/fasthttp | MIT License | Go |
@@ -44,6 +44,7 @@ import net.minecraft.nbt.CompoundTag;
import net.minecraft.nbt.NbtUtils;
import net.minecraft.network.chat.Component;
import net.minecraft.network.chat.Style;
+import net.minecraft.network.chat.TextComponent;
import net.minecraft.server.level.ServerPlayer;
import net.minecraft.world.InteractionHand;
i... | feat: added some tmp text :D | null | direwolf20-mc/buildinggadgets | MIT License | Java |
@@ -311,27 +311,50 @@ class Connection extends BaseConnection implements ConnectionInterface
*/
public function _fieldData(string $table): array
{
- $table = $this->protectIdentifiers($table, true, null, false);
+ if (strpos($table, '.') !== false)
+ {
+ sscanf($table, '%[^.].%s', $owner, $table);
+ }
+ else
+ {
+ $own... | feat: add get field list method | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -78,12 +78,19 @@ public final class VersionSearchRequest
* Filter by the author's username who have created the version.
*/
AUTHOR,
+
+ /**
+ * Filter matches by exact createdAt value
+ */
+ CREATED_AT,
+
/**
- * "Greater than equal to filter
+ * Greater than equal to filter
*/
CREATED_AT_FROM,
+
/**
- * "Less than ... | feat(VersionSearchRequest): add filter by exact createdAt | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -39,6 +39,9 @@ func New(encryptionKey, passwordHash string, logger logging.Logger) (*Authentica
[request_definition]
r = sub, obj, act
+ [role_definition]
+ g = _, _
+
[policy_definition]
p = sub, obj, act
@@ -46,7 +49,7 @@ func New(encryptionKey, passwordHash string, logger logging.Logger) (*Authentica
e = some(whe... | feat: security role inheritance | null | ethersphere/bee | BSD 3-Clause New or Revised License | Go |
@@ -49,6 +49,10 @@ public final class VersionSearchRequestBuilder
return addOption(OptionKey.RESOURCE, resourceUris);
}
+ public VersionSearchRequestBuilder filterByCreatedAt(Long createdAtFrom, Long createdAtTo) {
+ return addOption(OptionKey.CREATED_AT_FROM, createdAtFrom)
+ .addOption(OptionKey.CREATED_AT_TO, create... | feat(VersionSearchRequestBuilder): implement filterByCreatedAt method | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
package io.cloudbeaver.server;
import io.cloudbeaver.auth.provider.AuthProviderConfig;
-import org.jkiss.dbeaver.model.navigator.DBNBrowseSettings;
-import org.jkiss.utils.CommonUtils;
import org.jkiss.code.Nullable;
import org.jkiss.dbeaver.Log;
import org.jkiss.dbeaver.model.data.json.JSONUtils;
+import org.jkiss.dbe... | feat: use LinkedHashMap on ConfigurationUtils | null | dbeaver/cloudbeaver | Apache License 2.0 | Java |
@@ -11,17 +11,36 @@ import {
} from '@taquito/taquito';
import { encodeKeyHash } from '@taquito/utils';
+export type BeaconWalletOptions = { name: string };
+
+export enum PermissionScopeEnum {
+ READ_ADDRESS = 'read_address',
+ SIGN = 'sign',
+ OPERATION_REQUEST = 'operation_request',
+ THRESHOLD = 'threshold',
+}
+
e... | feat(beacon): Validate that permission scopes are granted before executing actions | null | ecadlabs/taquito | MIT License | TypeScript |
@@ -994,6 +994,27 @@ fn status_on_click(ctx: &mut EventCtx, data: &LapceTabData, id: &str, pos: Point
},
);
menu = menu.entry(item);
+ if !data.workspace.kind.is_remote() {
+ let tab_id = data.id;
+ let local_meta = meta.clone();
+ let item = druid::MenuItem::new("Open Plugin Directory").on_activate(
+ move |ctx, _data... | feat: add option to open plugin directory | null | lapce/lapce | Apache License 2.0 | Rust |
@@ -352,7 +352,7 @@ function maybe_install_boost {
--arch=arm64-v8a,armeabi-v7a \
--with-libraries=regex,context,coroutine,program_options,system,test,thread,filesystem,date_time,iostreams \
--layout=system \
- $NDK_DIR
+ $NDK_DIR > "$DIR/$BUILD_DIR/boost.log"
cd - >/dev/null
fi
}
| feat(scripts/build-android): Redirect boost build output to logfile | null | equalitie/ouinet | MIT License | Shell |
@@ -67,6 +67,7 @@ type referrerParamValue struct {
type loggingLauncher struct {
Query string `json:"query"`
+ Referrer string `json:"referrer,omitempty"`
}
// The CLI URL referrer param is a JSON string containing information
@@ -137,6 +138,7 @@ func (g *PlatformLinkGenerator) generateLoggingLink(entityGUID string) st... | feat: add referrer param | null | newrelic/newrelic-cli | Apache License 2.0 | Go |
@@ -550,6 +550,11 @@ func rollbackAtShutdown() {
}
}()
+ if vtgateHandle == nil {
+ // we still haven't been able to initialise the vtgateHandler, so we don't need to rollback anything
+ return
+ }
+
// If vtgate is instead busy executing a query, the number of open conns
// will be non-zero. Give another second for th... | feat: don't use the vtgatehandler unless it is known to have been initialized | null | vitessio/vitess | Apache License 2.0 | Go |
@@ -42,6 +42,7 @@ export class MainRoomHistory extends React.Component<MainRoomHistoryProps> {
roomUUID={room.roomUUID}
historyPush={this.props.historyPush}
userUUID={room.ownerUUID}
+ hasRecord={room.hasRecord}
/>
);
});
| feat: add hasRecord parameter | null | netless-io/flat | MIT License | TypeScript |
@@ -772,7 +772,145 @@ RoborockValetudoRobot.MAP_ERROR_CODE = (vendorErrorCode) => {
parameters.message = "Animal excrements detected";
break;
- //There are also 100+ codes. No idea when they might appear though
+
+ case 100:
+ parameters.severity.kind = ValetudoRobotError.SEVERITY_KIND.PERMANENT;
+ parameters.severity.... | feat(vendor.roborock): Add hardware fault error code mappings | null | hypfer/valetudo | Apache License 2.0 | JavaScript |
@@ -81,10 +81,11 @@ struct RowGroupData {
impl Table {
/// Create a new table with the provided row_group. Creating an empty table is not possible.
pub fn with_row_group(name: impl Into<String>, rg: RowGroup) -> Self {
+ let now = Utc::now();
Self {
name: name.into(),
table_data: RwLock::new(RowGroupData {
- meta: Arc:... | feat: Require passing first/last write times for creation of Table MetaData | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -80,30 +80,24 @@ private class MockSocketTask: WebSocketTask {
continuation.resume(returning: "subscriptionNotification")
case .accountUnsubscribe:
continuation.resume(returning: "unsubscriptionNotification")
- case .signatureNotification:
- continuation.resume(returning: "signatureNotification")
case .signatureSubs... | feat: refactor tests | null | p2p-org/solana-swift | MIT License | Swift |
@@ -31,8 +31,6 @@ import java.util.logging.Logger;
* convenient for debugging).
*
* @since 0.24
- * @todo #1617:30min Use logger instead of System.out.println. It's much better to use standard
- * logger in that class. Examples of using logger are inside {@link PhDefault} or {@link Dataized}.
*/
final class AtLogged im... | feat(#1664): remove puzzle | null | cqfn/eo | MIT License | Java |
@@ -10,7 +10,7 @@ import socket
import time
from frappe import _
from frappe.model.document import Document
-from frappe.utils import validate_email_address, cint, get_datetime, DATE_FORMAT, strip, comma_or, sanitize_html
+from frappe.utils import validate_email_address, cint, get_datetime, DATE_FORMAT, strip, comma_or... | feat: compare meesage-id only with the communications created between last 30 days | null | frappe/frappe | MIT License | Python |
@@ -19,9 +19,10 @@ if [ "$arch" = "aarch64" ]; then
arch="arm64"
fi
-url="https://infracost.io/downloads/latest"
+version=${INFRACOST_VERSION:-latest}
+url="https://infracost.io/downloads/${version}"
tar="infracost-$os-$arch.tar.gz"
-echo "Downloading latest release of infracost-$os-$arch..."
+echo "Downloading version... | feat(installer): Allow installer to download any version | null | infracost/infracost | Apache License 2.0 | Shell |
@@ -270,8 +270,8 @@ def prepare_infrastructure():
def prepare_app_pipeline():
"""Entry point for application setup and initial pipeline in Spinnaker."""
runner = ForemastRunner()
- runner.create_app()
runner.write_configs()
+ runner.create_app()
runner.create_pipeline()
runner.cleanup()
| feat: Change order of create_app and write_configs | null | foremast/foremast | Apache License 2.0 | Python |
@@ -180,7 +180,7 @@ class Search
$filters = str_getcsv($searchRequest->filters);
foreach ($filters as $filter) {
- preg_match('/(?P<column>[A-Za-z0-9_\.]+)(?P<op>(?:=|[<>]=?))(?P<value>\w+)/', $filter, $matches);
+ preg_match('/(?P<column>[A-Za-z0-9_\.]+)(?P<op>(?:=|[<\|>]=?))(?P<value>[\w\,]+)/', $filter, $matches);
$... | feat(search): support for search by list of possible values | null | xivapi/xivapi.com | MIT License | PHP |
+import 'package:flutter/material.dart';
+import 'package:flutter_test/flutter_test.dart';
+import 'package:get/get.dart';
+
+import 'util/wrapper.dart';
+
+void main() {
+ testWidgets("Get.bottomSheet smoke test", (tester) async {
+ await tester.pumpWidget(
+ Wrapper(child: Container()),
+ );
+
+ Get.bottomSheet(Conta... | feat: add test for bottom sheet | null | jonataslaw/getx | MIT License | Dart |
@@ -44,6 +44,7 @@ class Plugins
public function __construct()
{
$this->locales = serializers()->yaml()->decode(filesystem()->file(ROOT_DIR . '/src/flextype/locales.yaml')->get());
+ $this->init();
}
/**
@@ -61,9 +62,9 @@ class Plugins
/**
* Init Plugins
*
- * @access public
+ * @access protected
*/
- public function in... | feat(plugins): simple updates for plugins api | null | flextype/flextype | MIT License | PHP |
+import React, { Component } from "react";
+import styled from "styled-components";
+import { FileInput } from '../../styledComponents';
+
+
+class Select extends Component {
+ state = {
+ isOpened: false
+ };
+
+ componentWillUnmount() {
+ document.removeEventListener('keyup', this.onOutsideClick);
+ document.removeEv... | feat: add shared select component | null | scaleflex/filerobot-image-editor | MIT License | JavaScript |
@@ -856,7 +856,7 @@ gen_init (FILE *fp, struct jc_struct *s)
fprintf(fp, "void %s_init(struct %s *p) {\n", t, t);
fprintf(fp, " memset(p, 0, sizeof(struct %s));\n", t);
- for (int i = 0; s->fields[i]; i++) {
+ for (int i = 0; s->fields && s->fields[i]; i++) {
struct jc_field *f = s->fields[i];
struct action act = { 0 }... | feat: support empty structs | null | cee-studio/orca | MIT License | C |
@@ -1887,6 +1887,31 @@ def append_domain():
grain['append_domain'] = __opts__['append_domain']
return grain
+def fqdns():
+ '''
+ Return all known FQDNs for the system by enumerating all interfaces and
+ then trying to reverse resolve them (excluding 'lo' interface).
+ '''
+ # Provides:
+ # fqdns
+
+ grains = {}
+ fqdn... | feat: add grain for all FQDNs | null | saltstack/salt | Apache License 2.0 | Python |
from pyblish import api
+
class CollectFramerate(api.ContextPlugin):
"""Collect framerate from selected sequence."""
@@ -9,4 +10,13 @@ class CollectFramerate(api.ContextPlugin):
def process(self, context):
sequence = context.data["activeSequence"]
- context.data["fps"] = sequence.framerate().toFloat()
+ context.data["f... | feat(nks): improving calculation of fps | null | pypeclub/openpype | MIT License | Python |
@@ -50,6 +50,7 @@ type RegistryClient interface {
AddRegistry(ctx context.Context, registry Registry) error
GetRegistry(ctx context.Context, registryName string) ([]anchore.RegistryConfiguration, error)
UpdateRegistry(ctx context.Context, registry Registry) error
+ DeleteRegistry(ctx context.Context, registry Registry)... | feat: implement DeleteRegistry | null | banzaicloud/pipeline | Apache License 2.0 | Go |
@@ -49,6 +49,10 @@ import {
import {
CompletionType,
} from './types/_shared';
+import {
+ $NumberConstructor,
+ $NumberPrototype,
+} from './globals/number';
export type $True = $Boolean<true>;
export type $False = $Boolean<false>;
@@ -448,8 +452,11 @@ export class Intrinsics {
const stringPrototype = this['%StringPro... | feat(aot): add %Number% and %NumberPrototype% | null | aurelia/aurelia | MIT License | TypeScript |
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <assert.h>
+#include <libdiscord.h>
+
+
+using namespace discord;
+
+void on_ready(client *client, const user::dati *me)
+{
+ fprintf(stderr, "\n\nMimic-Bot succesfully connected to Discord as %s#%s!\n\n",
+ me->username, me->discriminator);
+
+ (v... | feat: start implementing mimic bot | null | cee-studio/orca | MIT License | C++ |
@@ -90,7 +90,7 @@ const downloadFromInfoCallback = (stream, info, options) => {
const pipeAndSetEvents = () => {
// Forward events from the request to the stream.
[
- 'abort', 'request', 'response', 'error', 'retry', 'reconnect',
+ 'abort', 'request', 'response', 'error', 'redirect', 'retry', 'reconnect',
].forEach(eve... | feat: forward `redirect` event from miniget | null | fent/node-ytdl-core | MIT License | JavaScript |
@@ -40,27 +40,10 @@ class AttributeButton extends StatelessWidget {
children.add(
Expanded(
child: InkWell(
- onTap: () async {
- await productPreferences.setImportance(
- attribute.id!, importanceId);
-
- final AppLocalizations appLocalizations =
- //ignore: use_build_context_synchronously
- AppLocalizations.of(contex... | feat: - removed dialog from food preferences radio buttons | null | openfoodfacts/smooth-app | Apache License 2.0 | Dart |
@@ -11,3 +11,9 @@ deno run \
--allow-net \
--allow-env="GITHUB_TOKEN" \
scripts/deno/thrasher-tracker.ts
+
+deno run \
+ --no-check=remote \
+ --allow-net \
+ --allow-env="GITHUB_TOKEN" \
+ scripts/deno/iframe-titles.ts
| feat: update iframe titles | null | guardian/dotcom-rendering | Apache License 2.0 | Shell |
@@ -95,11 +95,14 @@ def setup(env=None):
if not test_rest_api_server():
return
+ if not env.get("installed_zxp"):
# remove cep_cache from user temp dir
clearing_caches_ui()
# synchronize extensions
extensions_sync()
+ else:
+ log.info("Extensions installed as `.zxp`...")
log.info("Premiere Pype wrapper has been install... | feat(ppro): sync only if not installed as .zxp package | null | pypeclub/openpype | MIT License | Python |
import datetime
import itertools
+import logging
import os
import pathlib
import subprocess
@@ -17,12 +18,18 @@ from datahub.cli.docker_check import (
)
from datahub.ingestion.run.pipeline import Pipeline
+logger = logging.getLogger(__name__)
+
NEO4J_AND_ELASTIC_QUICKSTART_COMPOSE_FILE = (
"docker/quickstart/docker-com... | feat(cli): add support for m1 laptops during quickstart | null | linkedin/datahub | Apache License 2.0 | Python |
@@ -702,16 +702,17 @@ static esp_err_t update_wifi_scan_results(void)
goto exit;
}
- prov_ctx->ap_list[curr_channel] = (wifi_ap_record_t *) calloc(count, sizeof(wifi_ap_record_t));
+ uint16_t get_count = MIN(count, MAX_SCAN_RESULTS);
+ prov_ctx->ap_list[curr_channel] = (wifi_ap_record_t *) calloc(get_count, sizeof(wifi... | feat(wifi_provisioning): Optimize memory for wifi scan ap number | null | espressif/esp-idf | Apache License 2.0 | C |
@@ -25,6 +25,8 @@ import com.netflix.spinnaker.halyard.config.model.v1.notifications.SlackNotifica
import com.netflix.spinnaker.halyard.config.model.v1.providers.appengine.AppengineProvider;
import com.netflix.spinnaker.halyard.config.model.v1.providers.azure.AzureProvider;
import com.netflix.spinnaker.halyard.config.m... | feat(deploy): Add default AWS settings to deck | null | spinnaker/halyard | Apache License 2.0 | Java |
@@ -65,6 +65,10 @@ Footer.defaultProps = {
label: 'Contact',
to: '/contact',
},
+ {
+ label: 'Accessibility',
+ to: '/accessibility',
+ },
],
}
| feat(Accessibility): Add link to statement | null | royal-navy/design-system | Apache License 2.0 | JavaScript |
@@ -545,17 +545,17 @@ fn mainnet_genesis(
vault_registry: VaultRegistryConfig {
minimum_collateral_vault: vec![(CurrencyId::KSM, 0)],
punishment_delay: DAYS,
- system_collateral_ceiling: vec![(default_pair(CurrencyId::KSM), 5533 * CurrencyId::KSM.one())], /* 5533 ksm, about 2 mm
+ system_collateral_ceiling: vec![(defau... | feat: Conservative collateral thresholds | null | interlay/interbtc | Apache License 2.0 | Rust |
@@ -19,7 +19,7 @@ var exports = {
'Softbreak': 'Break',
'Hardbreak': 'Break',
'Emph': 'Emphasis',
- 'Strong': 'Strong',
+ 'strong': 'Strong',
'Html': 'Html',
'link': 'Link',
'Image': 'Image',
| feat(ast): re-implement Strong node | null | textlint/textlint | MIT License | JavaScript |
@@ -7,7 +7,7 @@ mod decl {
rc::PyRc,
};
use crate::{
- builtins::{int, PyGenericAlias, PyInt, PyIntRef, PyTuple, PyTupleRef, PyTypeRef},
+ builtins::{int, PyGenericAlias, PyInt, PyIntRef, PyList, PyTuple, PyTupleRef, PyTypeRef},
convert::ToPyObject,
function::{ArgCallable, FuncArgs, OptionalArg, OptionalOption, PosArgs... | feat: itertools.chain evaluate lazily | null | rustpython/rustpython | MIT License | Rust |
@@ -37,6 +37,16 @@ class Article extends Model implements Auditable
'published_at',
];
+ /**
+ * {@inheritdoc}
+ */
+ protected $fillable = [
+ 'title',
+ 'content',
+ 'published_at',
+ 'reviewed',
+ ];
+
/**
* Uppercase Title accessor.
*
| feat(Tests): define fillable Article attributes | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -2,6 +2,7 @@ import {
ENVIRONMENT,
EventType,
IConfiguration,
+ IContext,
MODE_SSR,
Overmind,
} from 'overmind'
@@ -40,7 +41,7 @@ function createMixin(overmind, propsCallback, trackPropsCallback = false) {
}
} else {
this[OVERMIND] = {
- tree: (overmind as any).proxyStateTree.getTrackStateTree(),
+ tree: (overmind a... | feat(overmind-vue): conform to new typing and API | null | cerebral/overmind | MIT License | TypeScript |
@@ -128,15 +128,17 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options:
else -> duration != 0.0
}
+ private var currentDynamicWindowDurationInSeconds: Long = 0L
+
override val isDvrAvailable: Boolean
get() {
- val videoHasMinimumDurationForDvr = duration >= MINIMUM_DURATION_FOR_DVR
+ val v... | feat(dvr_exoplayer): use current window durations instead player duration | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -217,6 +217,18 @@ class CSSLengthValue {
}
break;
case FLEX_BASIS:
+ // Flex-basis computation is called in RenderFlexLayout which
+ // will ensure parent exists.
+ RenderStyle parentRenderStyle = renderStyle!.parent!;
+ double? mainContentSize = parentRenderStyle.flexDirection == FlexDirection.row ?
+ parentRenderS... | feat: support percentage for flex-basis | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -175,6 +175,15 @@ func (d *NBDDriver) setupLVMS() (bool, error) {
for i := 0; i < len(subparts); i++ {
lvmPartitions = append(lvmPartitions, subparts[i])
}
+ } else {
+ log.Infof("wait a second and try again")
+ time.Sleep(time.Second)
+ subparts := lvm.FindPartitions()
+ if len(subparts) > 0 {
+ for i := 0; i < len... | feat(host-deployer): try again if the partition cannot be found | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -165,9 +165,35 @@ class ExtractReview(pyblish.api.InstancePlugin):
lut_path = instance.data.get("lutPath")
if lut_path:
- lut_arg = "-vf \"lut3d=file='{}'\"".format(
+ # removing Gama info as it is all baked in lut
+ gamma = next((g for g in input_args
+ if "-gamma" in g), None)
+ if gamma:
+ input_args.remove(gamma... | feat(global): implementing Lut integration into Extract Review | null | pypeclub/openpype | MIT License | Python |
+#!/bin/bash
+if [ "$1" == "" ] ; then
+ echo "$0 <module1> <module2>";
+ exit
+fi
+
+for i in $* ; do
+ pushd $i > /dev/null;
+ npm version patch --no-git-tag-version;
+ VERSION=`node -e 'console.log(JSON.parse(require("fs").readFileSync("package.json")).version)'`;
+ git ci -m "chore($i): Bump version to ${VERSION}" ... | feat(modules): Add shell script to bump modules | null | spinnaker/deck | Apache License 2.0 | Shell |
@@ -193,6 +193,7 @@ class V12 extends Filter
protected function parseUsageBuckets(array $content)
{
unset($content['filesStorage']);
+ return $content;
}
protected function parseUsageStorage(array $content)
@@ -215,6 +216,8 @@ class V12 extends Filter
unset($content['filesRead']);
unset($content['filesUpdate']);
unset(... | feat: response filters return | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -38,8 +38,8 @@ pub struct CreateCommand {
skip_defaults: bool,
/// Specify the API address
- #[clap(long, short)]
- api_address: Option<String>,
+ #[clap(default_value = "127.0.0.1:0", long, short)]
+ api_address: String,
#[clap(long, hide = true)]
no_watchdog: bool,
@@ -47,18 +47,18 @@ pub struct CreateCommand {
im... | feat(rust): find available port when running `node create` | null | ockam-network/ockam | Apache License 2.0 | Rust |
+const red = ['#CB3530', '#F46152', '#F48170', '#FFE4E1'];
+const orange = ['#F69755', '#FFAC6F', '#FCBE94', '#FDECE0'];
+const yellow = ['#DFAF26', '#F3D04A', '#FFE461', '#FBFBBE'];
+const green = ['#52E272', '#83FC8B', '#AAFDB6', '#D4FADC'];
+const turquoise = ['#3FA99B', '#58C2B4', '#6FDCCB', '#D8F5F5'];
+const sky ... | feat(colors): adding colors design token | null | gympass/yoga | MIT License | JavaScript |
@@ -188,6 +188,10 @@ open class Player(private val base: BaseObject = BaseObject(),
core = Core(options)
}
+ protected fun destroyCore() {
+ core = null
+ }
+
/**
* Load a new media. Always make sure that the stop() method was called before invoking this
*
| feat: destroy core from player | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
use crate::{debugger, Context, Executor};
use ockam_core::compat::sync::Arc;
-use ockam_core::{AccessControl, Address, AllowAll, Mailbox, Mailboxes, ToDoAccessControl};
+use ockam_core::{AccessControl, Address, DenyAll, Mailbox, Mailboxes};
/// A minimal worker implementation that does nothing
pub struct NullWorker;
@@... | feat(rust): replace `NodeBuilder` access control to use dynamic dispatch | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -7,6 +7,9 @@ import (
"strings"
)
+// glab environment cache: <file: <key: value>>
+var envCache map[string]map[string]string
+
// ReadAndAppend : appends string to file
func ReadAndAppend(file, text string) {
// If the file doesn't exist, create it, or append to the file
@@ -22,23 +25,37 @@ func ReadAndAppend(file,... | feat: Cache glab env config to improve overall command performance | null | profclems/glab | MIT License | Go |
@@ -37,6 +37,7 @@ fn panic(_info: &core::panic::PanicInfo<'_>) -> ! {
// ============== REAL CODE HERE ===============
use noted::noted;
+use primordial::Page;
use sallyport::{elf::note, REQUIRES};
use sgx::parameters::{Attributes, MiscSelect};
use sgx::ssa::{GenPurposeRegs, StateSaveArea};
@@ -211,10 +212,10 @@ pub un... | feat(shim-sgx): correct asm comments | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -47,6 +47,27 @@ def make_post_request(url, auth=None, headers=None, data=None):
frappe.log_error()
raise exc
+def make_put_request(url, auth=None, headers=None, data=None):
+ if not auth:
+ auth = ''
+ if not data:
+ data = {}
+ if not headers:
+ headers = {}
+
+ try:
+ s = get_request_session()
+ frappe.flags.integ... | feat: add put request to integration utils | null | frappe/frappe | MIT License | Python |
@@ -234,6 +234,12 @@ int SdlAFVideoRender::onVSyncInner(int64_t tick)
}
}
#endif
+ bool rendered = false;
+ if (mRenderingCb) {
+ CicadaJSONItem params{};
+ rendered = mRenderingCb(mRenderingCbUserData, frame.get(), params);
+ }
+ if (!rendered) {
IAFFrame::videoInfo &videoInfo = frame->getInfo().video;
recreateTexture... | feat(framecallback): support video frame callback in sdlVideoRender | null | alibaba/cicadaplayer | MIT License | C++ |
+package main
+
+import (
+ "context"
+ "flag"
+ "fmt"
+ "github.com/codenotary/immudb/pkg/api/schema"
+ rp "github.com/codenotary/immudb/pkg/client"
+ "github.com/codenotary/immudb/pkg/client/cache"
+ "github.com/codenotary/immudb/pkg/gw"
+ "github.com/grpc-ecosystem/grpc-gateway/runtime"
+ "github.com/rs/cors"
+ "git... | feat(cmd/immugw): add immugw command | null | codenotary/immudb | Apache License 2.0 | Go |
from collections import OrderedDict
import avalon.api
import avalon.nuke
-from pype.nuke.lib import create_write_node
from pype import api as pype
from pype.nuke import plugin
from pypeapp import config
@@ -11,13 +10,13 @@ import nuke
log = pype.Logger().get_logger(__name__, "nuke")
+
class CreateWriteRender(plugin.Pyp... | feat(nuke): rewriting create write plugin | null | pypeclub/openpype | MIT License | Python |
@@ -349,6 +349,16 @@ func alerts(c *gin.Context) {
agCopy.Alerts = append(agCopy.Alerts, alert)
+ if len(upstreams.Clusters) > 1 {
+ clusters := map[string]bool{}
+ for _, am := range alert.Alertmanager {
+ clusters[am.Cluster] = true
+ }
+ for cluster := range clusters {
+ countLabel(counters, "@cluster", cluster)
+ }... | feat(api): count labels when there are multiple upstreams | null | prymitive/karma | Apache License 2.0 | Go |
@@ -144,8 +144,18 @@ export const Dropdown: React.FC<DropdownProps> = ({
const handleClick = (event: MouseEvent) => {
if (!panelRef.current || !openDropdownByClick) return
+ const target = event.target as Element
+ const tagName = target.tagName.toLowerCase()
+ let isClosableElement = tagName === "a"
+ let element: Ele... | feat: close dropdown only when link is clicked | null | artsy/palette | MIT License | TypeScript |
@@ -25,10 +25,11 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
IRouting,
IHasScheduleAwareness, IHasCodecCameras, IHasParticipants, IHasCameraOff, IHasCameraMute, IHasCameraAutoMode,
IHasFarEndContentStatus, IHasSelfviewPosition, IHasPhoneDialing, IHasZoomRoomLayouts, IHasParticipantPinUnpin,
- ... | feat(essentials): Adds IHasStartMeeting interface and implments on ZoomRoom | null | pepperdash/essentials | MIT License | C# |
@@ -81,7 +81,8 @@ trait Auditable
*/
public function audits()
{
- return $this->morphMany(AuditModel::class, 'auditable');
+ return $this->morphMany(AuditModel::class, 'auditable')
+ ->orderBy('created_at', 'DESC');
}
/**
| feat(Auditable): return the Audits ordered by creation date descending by default | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -63,12 +63,18 @@ macro_rules! log {
#[macro_export]
macro_rules! require {
($cond:expr $(,)?) => {
- if !$cond {
- $crate::env::panic_str("require! assertion failed")
+ if cfg!(debug_assertions) {
+ assert!($cond)
+ } else if !$cond {
+ $crate::env::panic_str("require! assertion failed");
}
};
($cond:expr, $message:... | feat: use rust assertions in require! debug for line numbers | null | near/near-sdk-rs | Apache License 2.0 | Rust |
@@ -488,6 +488,7 @@ class Index(object):
params['facetFilters'] = filters
params['facets'] = disjunctive_facet
+ params['analytics'] = False
queries.append(dict(params))
answers = self.client.multiple_queries(queries, request_options=request_options)
| feat: no analytics on disjunctive faceting | null | algolia/algoliasearch-client-python | MIT License | Python |
@@ -214,7 +214,7 @@ abstract class SafeMojo extends AbstractMojo {
try {
final long start = System.nanoTime();
if (this.timeout != null) {
- SafeMojo.waitAndInterrupt(Thread.currentThread(), timeout);
+ SafeMojo.waitAndInterrupt(Thread.currentThread(), this.timeout);
}
this.exec();
if (Logger.isDebugEnabled(this)) {
@@... | feat(#1423): apply all qulice suggestions | null | cqfn/eo | MIT License | Java |
@@ -4,6 +4,7 @@ import os
import sys
import shutil
from pathlib import Path
+from datetime import date
from typing import Dict, List, Optional, Iterable, IO, Union
from crontab import CronTab, CronSlices
@@ -387,6 +388,15 @@ def init(force: bool=False, out_dir: Path=OUTPUT_DIR) -> None:
print(' For more usage and examp... | feat: Rename old indexes at the end of init process | null | archivebox/archivebox | MIT License | Python |
@@ -37,7 +37,8 @@ module.exports = (api, options) => {
'--report': `generate report.html to help analyze bundle content`,
'--report-json': 'generate report.json to help analyze bundle content',
'--skip-plugins': `comma-separated list of plugin names to skip for this run`,
- '--watch': `watch for changes`
+ '--watch': `... | feat(cli-service): add stdin flag to build | null | vuejs/vue-cli | MIT License | JavaScript |
+#include <climits>
#include <iostream>
using namespace std;
@@ -6,7 +7,7 @@ using namespace std;
(0)-2-(1)-3-(2)
6| /8 5\ |7
(3)--9---(4)
- 9 */
+ */
int graph[V][V] = {{0, 2, 0, 6, 0},
{2, 0, 3, 8, 5},
| feat: prim vs dijkstra | null | upupming/algorithm | MIT License | C++ |
@@ -77,7 +77,18 @@ class TxHistory(metaclass=_Singleton):
if tx not in self._list:
self._list.append(tx)
- def clear(self) -> None:
+ def clear(self, only_confirmed: bool = False) -> None:
+ """
+ Clear the list.
+
+ Arguments
+ ---------
+ only_confirmed : bool, optional
+ If True, transactions which are still marked ... | feat: allow only clearing confirmed tx's | null | eth-brownie/brownie | MIT License | Python |
package de.dytanic.cloudnet.ext.bridge.player;
+import de.dytanic.cloudnet.common.INameable;
import de.dytanic.cloudnet.common.document.property.JsonDocPropertyHolder;
import java.util.UUID;
import lombok.EqualsAndHashCode;
@ToString
@EqualsAndHashCode(callSuper = false)
-public class CloudOfflinePlayer extends JsonDoc... | feat(bridge): make the CloudOfflinePlayer an INameable | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -98,3 +98,92 @@ $app->get('/api/files', function (Request $request, Response $response) use ($fl
return $response
->withJson($api_sys_messages['AccessTokenInvalid'], 401);
});
+
+/**
+ * Create a media file
+ *
+ * endpoint: POST /api/files
+ *
+ * Body:
+ * folder - [REQUIRED] - The folder you're targetting.
+ * to... | feat(media): add create media file endpoint | null | flextype/flextype | MIT License | PHP |
import {ExportNs} from '../../esl-utils/environment/export-ns';
import {attr, jsonAttr} from '../../esl-base-element/core';
import {prop} from '../../esl-utils/decorators/prop';
+import {rafDecorator} from '../../esl-utils/async/raf';
import {ESLToggleable} from '../../esl-toggleable/core';
import type {ToggleableActio... | feat: add resize listener to esl-popup for updating position | null | exadel-inc/esl | MIT License | TypeScript |
@@ -220,7 +220,7 @@ class RequestWrapper
* **Defaults to** `3`.
* @type callable $restRetryFunction Sets the conditions for whether or
* not a request should attempt to retry. Function signature should
- * match: `function (\Exception $ex) : bool`.
+ * match: `function (\Exception $ex, [$retry_attempt]) : bool`.
* @typ... | feat: Surface $retry_attempts to retryFunction for observation | null | googleapis/google-cloud-php | Apache License 2.0 | PHP |
+import 'package:flutterfire_ui/src/i10n/lang/es.dart';
+
import 'lang/en.dart';
import '../i10n/lang/ar.dart';
import 'lang/fr.dart';
@@ -96,6 +98,7 @@ abstract class FlutterFireUILocalizationLabels {
const localizations = <String, FlutterFireUILocalizationLabels>{
'en': EnLocalizations(),
+ 'es': EsLocalizations(),
'... | feat(ui): add Spanish localization support | null | firebaseextended/flutterfire | BSD 3-Clause New or Revised License | Dart |
@@ -11,8 +11,8 @@ use tokio_util::sync::CancellationToken;
use trace::TraceCollector;
use crate::influxdb_ioxd::{
- http::error::{HttpApiError, HttpApiErrorSource},
- rpc::RpcBuilderInput,
+ http::error::{HttpApiError, HttpApiErrorCode, HttpApiErrorSource},
+ rpc::{serve_builder, setup_builder, RpcBuilderInput},
server... | feat: basic non-panic HTTP/gRPC interface for ingester | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -315,6 +315,15 @@ namespace PeanutButter.Utils
return canConvert;
}
+ public static bool IsInterface(this Type type)
+ {
+#if NETSTANDARD1_6
+ return type?.GetTypeInfo().IsInterface ?? false;
+#else
+ return type?.IsInterface ?? false;
+#endif
+ }
+
private static MethodInfo _tryConvertGeneric =
typeof(TypeExtension... | feat: add IsInterface() method for Type which does the right thing on NETSTANDARD and on FRAMEWORK | null | fluffynuts/peanutbutter | BSD 3-Clause New or Revised License | C# |
@@ -4,12 +4,12 @@ angular.module('managerApp')
.constant('TRACKING', {
EU: {
config: {
- level2: '1', // 1 is Cloud project ID in AT-Internet EU manager
+ level2: '10', // 1 is Cloud project ID in AT-Internet EU manager
},
},
CA: {
config: {
- level2: '1', // 1 is Cloud project ID in AT-Internet CA manager
+ level2: '1... | feat: update tracking id | null | ovh-ux/ovh-manager-cloud | BSD 3-Clause New or Revised License | JavaScript |
package org.eolang.maven;
import com.jcabi.log.Logger;
-import com.jcabi.log.Supplier;
import com.jcabi.xml.XML;
import com.jcabi.xml.XMLDocument;
import com.yegor256.tojos.Tojo;
-import com.yegor256.tojos.Tojos;
import java.io.IOException;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Collect... | feat(#1625): fix all qulice suggestions | null | cqfn/eo | MIT License | Java |
package executor
-import "github.com/vshn/k8up/job"
+import (
+ stderrors "errors"
+
+ k8upv1alpha1 "github.com/vshn/k8up/api/v1alpha1"
+ "github.com/vshn/k8up/constants"
+ "github.com/vshn/k8up/job"
+ corev1 "k8s.io/api/core/v1"
+)
// CheckExecutor will execute the batch.job for checks.
type CheckExecutor struct {
gen... | feat: rewrite check executor | null | vshn/k8up | BSD 3-Clause New or Revised License | Go |
@@ -68,7 +68,7 @@ open class MediaControl(core: Core, pluginName: String = name) : UICorePlugin(co
open val invalidActivationKeys = listOf(Key.UNDEFINED)
private val navigationKeys = listOf(Key.UP, Key.DOWN, Key.LEFT, Key.RIGHT)
- protected val backgroundView: View by lazy { view.findViewById(R.id.background_view) as V... | feat(/background_media_control_tv): change backgroundView modifier to private | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -23,7 +23,7 @@ func Init() {
cacheDriver := "redis"
cachePrefix := "snake"
fmt.Println("get prefix key1:", cachePrefix)
- encoding := MsgPackEncoding{}
+ encoding := JSONEncoding{}
switch cacheDriver {
case memCacheDriver:
| feat: modify default encoding to json | null | go-eagle/eagle | MIT License | Go |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.