diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -184,8 +184,7 @@ public final class ResolveMojo extends SafeMojo {
dependency -> {
final Iterable<Dependency> transitives = new Filtered<>(
dep -> !ResolveMojo.eqTo(dep, dependency)
- && !dep.getScope().contains("test")
- && !dep.getScope().contains("provided")
+ && ResolveMojo.isNotRuntimeRequired(dep)
&& !("org.eo... | feat(#1595): fix qulice suggestions | null | cqfn/eo | MIT License | Java |
@@ -136,7 +136,7 @@ try {
call_user_func($logError, $error, "startupError");
}
-function createRuntimeServer(string $runtimeId, string $destination, array $vars, string $baseImage, string $runtime): bool
+function createRuntimeServer(string $runtimeId, string $buildOutputPath, array $vars, string $baseImage, string $ru... | feat: fix memory leak and separate error callback | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -25,6 +25,7 @@ mixin RenderOverflowMixin on RenderBoxModelBase {
bool get clipX {
RenderBoxModel renderBoxModel = this as RenderBoxModel;
+
// Recycler layout not need repaintBoundary and scroll/pointer listeners,
// ignoring overflowX or overflowY sets, which handle it self.
if (renderBoxModel is RenderSliverListLa... | feat: only clip content of replace element when content is loaded | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -15,7 +15,7 @@ export function getScrollPosition (scrollTarget) {
return scrollTarget.scrollTop
}
-function animScrollTo (el, to, duration) {
+export function animScrollTo (el, to, duration) {
if (duration <= 0) {
return
}
| feat: Request] Scroll to DOM element util | null | quasarframework/quasar | MIT License | JavaScript |
@@ -225,9 +225,7 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options:
val drmMediaCallback = HttpMediaDrmCallback(drmLicenseUrl, defaultHttpDataSourceFactory)
return DefaultDrmSessionManager(drmScheme, FrameworkMediaDrm.newInstance(drmScheme), drmMediaCallback, null, mainHandler, drmEvents... | feat(offline_drm_licenses): load DrmSessionManager with offline drm keys | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
-import Foundation
-
-public struct Pool: Hashable, Codable {
- // MARK: - Constants
- public static var feeCompensationPoolDefaultSlippage: Double = 0.01
-
- // MARK: - Properties
- public let address: PublicKey
- public var tokenAInfo: Mint
- public var tokenBInfo: Mint
- public let poolTokenMint: Mint
- public var s... | feat: remove Pool.swift | null | p2p-org/solana-swift | MIT License | Swift |
@@ -41,6 +41,7 @@ import java.net.HttpURLConnection;
import java.net.URL;
import java.nio.channels.FileChannel;
import java.util.Locale;
+import java.util.zip.GZIPInputStream;
/**
* What this class provides:
@@ -286,13 +287,19 @@ public class CordovaResourceApi {
case URI_TYPE_HTTP:
case URI_TYPE_HTTPS: {
HttpURLConnec... | feat: support gzip encoding requests & use GZIPInputStream | null | apache/cordova-android | Apache License 2.0 | Java |
use Appwrite\Auth\Auth;
use Appwrite\Auth\Validator\Password;
+use Appwrite\Database\Validator\Authorization;
use Appwrite\Utopia\Response;
use Utopia\App;
use Utopia\Exception;
@@ -17,6 +18,8 @@ use Utopia\Database\Exception\Duplicate;
use Utopia\Database\Validator\UID;
use DeviceDetector\DeviceDetector;
use Appwrite\... | feat(usage): added usage endpoint to users api | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -30,6 +30,8 @@ pub trait Vector2Godot {
/// This method runs faster than distance_to, so prefer it if you need to compare vectors or
/// need the squared distance for some formula.
fn distance_squared_to(self, other: Vector2) -> f32;
+ /// Returns the vector with a maximum length by limiting its length to `length`.
... | feat: Add 'clamped' to 'Vector2' | null | godot-rust/godot-rust | MIT License | Rust |
@@ -24,6 +24,9 @@ export class FileMatcher {
}
normalizePattern(pattern: string) {
+ if (pattern.startsWith("./")) {
+ pattern = pattern.substring("./".length)
+ }
return path.posix.normalize(this.macroExpander(pattern.replace(/\\/g, "/")))
}
| feat: remove `./` prefix from file pattern | null | electron-userland/electron-builder | MIT License | TypeScript |
@@ -81,6 +81,21 @@ func GetGOBIN() string {
return GOBIN
}
+func whichProtoc(suffix, targetedVersion string) (string, error) {
+ protoc := "protoc" + suffix
+
+ path, err := exec.LookPath(protoc)
+ if err != nil {
+ errStr := fmt.Sprintf(`
+Command "%s" not found.
+Make sure that %s is in your system path or current pa... | feat: vprotogen refine logic | null | v2fly/v2ray-core | MIT License | Go |
@@ -247,7 +247,13 @@ impl MicrosoftAzure {
///
/// The credentials `account` and `master_key` must provide access to the
/// store.
- pub fn new(account: String, master_key: String, container_name: impl Into<String>) -> Self {
+ pub fn new(
+ account: impl Into<String>,
+ master_key: impl Into<String>,
+ container_name... | feat: Change azure object store to only get config from args, not env | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -134,7 +134,7 @@ fun getUserByArgsN(shardManager: ShardManager, guild: Guild?, arg: String, messa
val id = (USER_MENTION.find(arg) ?: return null).groupValues[1]
message?.mentionedUsers?.firstOrNull { it.id == id } ?: shardManager.getUserById(id)
} else if (guild != null && FULL_USER_REF.matches(arg)) {
- shardManag... | feat: use own implementation of getUserByTag | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -61,7 +61,7 @@ class RNN(nn.Module):
concatenate : `boolean`, optional
Concatenate output of each layer instead of using only the last one
(which is the default behavior).
- pool : {'sum', 'max', 'last'}, optional
+ pool : {'sum', 'max', 'last', 'x-vector'}, optional
Temporal pooling strategy. Defaults to no pooling... | feat: add "x-vector" pooling | null | pyannote/pyannote-audio | MIT License | Python |
clippy::use_self
)]
+use fmt::Display;
use log::debug;
use nom::{
branch::alt,
@@ -146,6 +147,29 @@ pub struct ParsedLine<'a> {
pub timestamp: Option<i64>,
}
+/// Converts from a ParsedLine back to (canonical) LineProtocol
+impl<'a> Display for ParsedLine<'a> {
+ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result... | feat: implement ParsedLine --> LineProtocol | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -47,7 +47,7 @@ type DefinitionExecutorMap = {
*/
export class PhenylRestApi<TM extends GeneralTypeMap>
implements RestApiHandler<TM>, GeneralRestApiHandler {
- readonly client: EntityClient<ResponseEntityMapOf<TM>>;
+ readonly entityClient: EntityClient<ResponseEntityMapOf<TM>>;
readonly sessionClient: SessionClient... | feat(rest-api): Add instance property: entityClient, for consistency | null | phenyl/phenyl | Apache License 2.0 | TypeScript |
@@ -182,15 +182,12 @@ public final class ProbeMojo extends SafeMojo {
private Collection<String> probes(final Path file) throws FileNotFoundException {
final Collection<String> objects = new ListOf<>(
new Mapped<>(
- ProbeMojo::trimSuffix,
+ ProbeMojo::withoutPrefix,
new Filtered<>(
- ProbeMojo::hasNotContainReservedCh... | feat(#1677): fix all qulice suggestions | null | cqfn/eo | MIT License | Java |
@@ -90,6 +90,25 @@ impl<'a> Request<'a> {
self
}
+ /// Set request body to provided `JsValue` by reference. Consider using
+ /// `json`, `text` or `bytes` methods instead.
+ ///
+ /// ## Panics
+ /// This method will panic when request method is GET or HEAD.
+ pub fn body_ref(mut self, body: &'a JsValue) -> Self {
+ se... | feat(fetch): Add Request.body_ref | null | seed-rs/seed | MIT License | Rust |
@@ -183,12 +183,16 @@ function createActivityPaginator() {
indexOffset: offset,
reversed: true,
})
- return { items: invoices, offset: firstIndexOffset }
+ return { items: invoices, offset: parseInt(firstIndexOffset || 0, 10) }
}
- const fetchPayments = async () => {
- const { payments } = await grpc.services.Lightning... | feat(wallet): use pagination when fetching payments | null | ln-zap/zap-desktop | MIT License | JavaScript |
@@ -207,6 +207,12 @@ func (p PrefixPrinter) Sprintf(format string, a ...interface{}) string {
return p.Sprint(Sprintf(format, a...))
}
+// Sprintfln formats according to a format specifier and returns the resulting string.
+// Spaces are always added between operands and a newline is appended.
+func (p PrefixPrinter) S... | feat(prefix): add `Sprintfln` and `Printfln` function | null | pterm/pterm | MIT License | Go |
-const fetch = require('node-fetch');
+// @ts-check
+const fetch = require('node-fetch').default;
+
+/** @type {(_: [string, unknown]) => _ is [string, string]} */
+const isStringTuple = (_) => typeof _[1] === 'string';
/**
* Get DCR content from a `theguardian.com` URL.
* Takes in optional `X-Gu-*` headers to send.
+ ... | feat: add type checking to getContentFromURL | null | guardian/dotcom-rendering | Apache License 2.0 | JavaScript |
@@ -10,7 +10,7 @@ afterEach(function (): void {
filesystem()->directory(PATH['project'] . '/entries')->delete();
});
-test('test PublishedByField', function () {
+test('test SlugField', function () {
flextype('entries')->create('foo', []);
$slug = flextype('entries')->fetch('foo')['slug'];
$this->assertEquals('foo', $s... | feat(tests): fix tests for entry SlugField | null | flextype/flextype | MIT License | PHP |
@@ -1171,6 +1171,7 @@ fn repl_subcommand<'a, 'b>() -> App<'a, 'b> {
.takes_value(true)
.value_name("code"),
)
+ .arg(unsafely_ignore_ceritifcate_errors_arg())
}
fn run_subcommand<'a, 'b>() -> App<'a, 'b> {
@@ -1426,17 +1427,7 @@ fn permission_args<'a, 'b>(app: App<'a, 'b>) -> App<'a, 'b> {
.help("Allow network access")... | feat(repl): add --unsafe-ignore-certificate-errors flag | null | denoland/deno | MIT License | Rust |
@@ -115,6 +115,7 @@ public class EventContainerFragment extends BaseFragment {
fm.beginTransaction()
.replace(R.id.event_container, fg, tag)
.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_FADE)
+ .addToBackStack(null)
.commit();
}
| feat: Retain fragment by tag by addToBackStack call in fragment transaction | null | fossasia/open-event-organizer-android | Apache License 2.0 | Java |
@@ -69,6 +69,20 @@ if (! function_exists('collectionWithRange')) {
}
}
+if (! function_exists('collectionFromQueryString')) {
+ /**
+ * Create a new arrayable object from the given query string.
+ *
+ * @param string $string Input query string.
+ *
+ * @return Collection
+ */
+ function collectionFromQueryString(string... | feat(helpers): add `collectionFromQueryString` helper | null | flextype/flextype | MIT License | PHP |
@@ -21,7 +21,7 @@ public static class NetworkServer
static readonly ILogger logger = LogFactory.GetLogger(typeof(NetworkServer));
static bool initialized;
- static int maxConnections;
+ public static int maxConnections;
/// <summary>
/// The connection to the host mode client (if any).
| feat: NetworkServer.maxConnections is now public | null | vis2k/mirror | MIT License | C# |
-import { Component, Input, Output, OnDestroy, OnInit, OnChanges, SimpleChanges, EventEmitter, Renderer2, ElementRef, TemplateRef, SimpleChange, QueryList, ViewChildren, AfterViewInit, ContentChildren, ContentChild, Optional } from '@angular/core';
-import { _HttpClient, CNCurrencyPipe, MomentDatePipe, YNPipe, ModalHel... | feat(abc:simple-table): support i18n | null | ng-alain/delon | MIT License | TypeScript |
@@ -4,6 +4,10 @@ namespace Auth\OAuth;
use Auth\OAuth;
+// Reference Material
+// https://developers.google.com/oauthplayground/
+// https://developers.google.com/identity/protocols/OAuth2
+// https://developers.google.com/identity/protocols/OAuth2WebServer
class Google extends OAuth
{
/**
| feat: added reference docs for Google | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
+const fs = require('fs');
+const CLIEngine = require('eslint').CLIEngine;
+
+const argv = process.argv.slice(2);
+const cli = new CLIEngine({
+ fix: false,
+ extensions: argv[2].split(','),
+ useEslintrc: true,
+});
+
+console.log('Starting to lint..');
+
+// Lint all files
+const report = cli.executeOnFiles(argv[0]);... | feat: add script for linting with sarif reports | null | synthetixio/staking | MIT License | JavaScript |
@@ -361,3 +361,60 @@ func TestSchedule_panic(t *testing.T) {
t.Fatal("test timed out", now.UTC().Unix())
}
}
+
+func TestTreeScheduler_Release(t *testing.T) {
+ c := make(chan time.Time, 100)
+ exe := &mockExecutor{fn: func(l *sync.Mutex, ctx context.Context, id ID, scheduledAt time.Time) {
+ select {
+ case <-ctx.Done... | feat(tasks): add scheduler release test | null | influxdata/influxdb | MIT License | Go |
@@ -85,8 +85,37 @@ impl TypeDeserializer for ArrayDeserializer {
}
let mut values = Vec::with_capacity(idx);
for _ in 0..idx {
- let value = self.inner.pop_data_value().unwrap();
- values.push(value);
+ values.push(self.inner.pop_data_value()?);
+ }
+ values.reverse();
+ self.builder.append_value(ArrayValue::new(values... | feat(format): implement csv deserialize for array type | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -105,10 +105,11 @@ public class MalleusJitsificus
@Test(dataProvider = "dp")
public void testMain(
JitsiMeetUrl url, int numberOfParticipants, long waitTime, int numSenders)
+ throws InterruptedException
{
WebParticipant[] participants = new WebParticipant[numberOfParticipants];
- try
- {
+ Thread[] runThreads = new... | feat(MalleusJitsificus): run it async | null | jitsi/jitsi-meet-torture | Apache License 2.0 | Java |
@@ -1569,6 +1569,8 @@ frappe.ui.form.Form = class FrappeForm {
prevBtnText: 'Previous',
});
+ this.layout.sections.forEach(section => section.collapse(false))
+
let steps = frappe.tour[this.doctype].map(step => {
let field = this.get_docfield(step.fieldname);
return {
@@ -1580,8 +1582,6 @@ frappe.ui.form.Form = class F... | feat: expand all sections before tour | null | frappe/frappe | MIT License | JavaScript |
@@ -92,7 +92,7 @@ open class MediaControl(core: Core, pluginName: String = name) :
private val centerPanel by lazy { view.findViewById(R.id.center_panel) as LinearLayout }
- private val modalPanel by lazy { view.findViewById(R.id.modal_panel) as FrameLayout }
+ protected val modalPanel by lazy { view.findViewById(R.id.... | feat(change_modal_methods_visibility): change methods visibility: openModal, showModalPanel, hideDefaultMediaControlPanels and animateFadeIn | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -100,7 +100,15 @@ open class Container: UIObject {
playback?.destroy()
Logger.logDebug("destroying plugins", scope: "Container")
- plugins.forEach { plugin in plugin.destroy() }
+ plugins.forEach { plugin in
+ do {
+ try ObjC.catchException {
+ plugin.destroy()
+ }
+ } catch {
+ Logger.logError(error.localizedDescri... | feat: when destroying container plugins, catch exceptions | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -20,7 +20,7 @@ class CacheGetMultipleCommand extends Command
protected function configure(): void
{
$this->setName('cache:get-multiple');
- $this->setDescription('Get multiple keys');
+ $this->setDescription('Get multiple items.');
$this->addArgument('keys', InputArgument::REQUIRED, 'Keys.');
$this->addArgument('def... | feat(console): update CacheGetMultipleCommand | null | flextype/flextype | MIT License | PHP |
@@ -88,7 +88,8 @@ void cuda::__throw_cuda_driver_error__(CUresult err, const char* msg) {
const char* err_str = nullptr;
cuGetErrorName(err, &err_str);
err_str = err_str ? err_str : "unknown error";
- auto s = ssprintf("cuda driver error %d(%s) occurred; expr: %s", int(err), err_str, msg);
+ auto s = ssprintf(
+ "cuda ... | feat(bazel): make bazel gensass depend on cuda toolchain version automatically | null | megengine/megengine | Apache License 2.0 | C++ |
@@ -82,6 +82,13 @@ func WithUnaryInterceptor(in ...grpc.UnaryClientInterceptor) ClientOption {
}
}
+// WithStreamInterceptor returns a DialOption that specifies the interceptor for streaming RPCs.
+func WithStreamInterceptor(in ...grpc.StreamClientInterceptor) ClientOption {
+ return func(o *clientOptions) {
+ o.stream... | feat: add grpc client stream interceptor opts | null | go-kratos/kratos | MIT License | Go |
@@ -42,9 +42,29 @@ func DefaultInvoker(conn db.Connection) *Invoker {
if ref := ctx.Headers("Referer"); ref != "" {
param = "?ref=" + url.QueryEscape(ref)
}
+
+ u := config.Url(config.GetLoginUrl() + param)
+
+ if ctx.Headers(constant.PjaxHeader) == "" && ctx.Method() != "GET" {
ctx.Write(302, map[string]string{
- "Loc... | feat(auth): make auth fail msg friendly | null | goadmingroup/go-admin | Apache License 2.0 | Go |
@@ -35,9 +35,38 @@ namespace PepperDash.Essentials.Core
}
public IOccupancyStatusProviderAggregator(string key, string name, OccupancyAggregatorConfig config)
- : this(dc.Key, dc.Name)
+ : this(key, name)
{
+ AddPostActivationAction(() =>
+ {
+ if (config.DeviceKeys.Count == 0)
+ {
+ return;
+ }
+
+ foreach (var device... | feat: Add post activation action for aggregator | null | pepperdash/essentials | MIT License | C# |
+import 'package:at_chops/at_chops.dart';
import 'package:at_client/at_client.dart';
import 'package:at_client/src/listener/at_sign_change_listener.dart';
import 'package:at_client/src/listener/switch_at_sign_event.dart';
@@ -53,7 +54,7 @@ class AtClientManager {
}
Future<AtClientManager> setCurrentAtSign(String atSign... | feat: Add AtChops? parameter to AtClientManager.setCurrentAtSign so that it can be injected into the AtClient instance | null | atsign-foundation/at_client_sdk | BSD 3-Clause New or Revised License | Dart |
@@ -21,10 +21,6 @@ class GestureManager {
List<RenderBoxModel> renderBoxModelList = [];
- void clearList() {
- renderBoxModelList = [];
- }
-
void addPointer(PointerEvent event) {
gestures.forEach((key, gesture) {
gesture.addPointer(event);
| feat: delete clearList | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -17,7 +17,7 @@ export class MacroPopupComponent implements OnInit {
private readonly maxMacroLines = 15;
- public addEcho = true;
+ public addEcho = localStorage.getItem('macros:addecho') !== 'false';
public echoSeNumber = 1;
@@ -51,6 +51,7 @@ export class MacroPopupComponent implements OnInit {
public generateMacro... | feat(simulator): remember end of macro sound option | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -16,6 +16,7 @@ from typing import Any, Dict, Iterator, KeysView, List, Optional, Set, Tuple, Un
from urllib.parse import urlparse
import requests
+import yaml
from semantic_version import Version
from tqdm import tqdm
@@ -46,6 +47,7 @@ from brownie.project import compiler, ethpm
from brownie.project.build import BUI... | feat: dynamic contract folder for packages | null | eth-brownie/brownie | MIT License | Python |
@@ -30,8 +30,7 @@ package org.hisp.dhis.webapi.controller;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.io.IOUtils;
-
-
+import org.apache.commons.lang3.StringUtils;
import org.hibernate.SessionFactory;
import org.hisp.dhis.common.Compression;
import org.hisp.dhis.common.DhisApiVersion;
@@ -122,6 +121,7 ... | feat: Add content disposition for datavalueset file downloads (master) | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -37,12 +37,15 @@ DEFINE_THREAD_POOL_CODE(THREAD_POOL_COMPACT)
DEFINE_THREAD_POOL_CODE(THREAD_POOL_INGESTION)
DEFINE_THREAD_POOL_CODE(THREAD_POOL_SLOG)
DEFINE_THREAD_POOL_CODE(THREAD_POOL_PLOG)
+DEFINE_THREAD_POOL_CODE(THREAD_POOL_SCAN)
#define DEFINE_STORAGE_WRITE_RPC_CODE(x, allow_batch, is_idempotent) \
DEFINE_STO... | feat: add a new thread pool to process slow query | null | apache/incubator-pegasus | Apache License 2.0 | C |
@@ -8,6 +8,7 @@ import isUndefined from 'lodash/isUndefined';
import pick from 'lodash/pick';
import set from 'lodash/set';
import snakeCase from 'lodash/snakeCase';
+import toNumber from 'lodash/toNumber';
angular
.module('services')
@@ -334,6 +335,14 @@ angular
data: {
description,
},
+ broadcast: 'global_display_nam... | feat(pcc.datacenter): update sidebar when changing description | null | ovh/manager | BSD 3-Clause New or Revised License | JavaScript |
@@ -521,6 +521,17 @@ impl<'a> TypeChecker<'a> {
.await?
}
+ Expr::InSubquery { subquery, not, .. } => self.resolve_subquery(
+ if *not {
+ SubqueryType::All
+ } else {
+ SubqueryType::Any
+ },
+ subquery,
+ true,
+ None,
+ ),
+
Expr::MapAccess {
span,
expr,
| feat(subquery): support IN subquery | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -3,8 +3,10 @@ package live.hms.app2.util
fun String.toSubdomain(): String {
// ------------------ IGNORE BLOCK START ------------------
- if (this.contains("prod2.100ms.live") || this.contains("qa2.100ms.live")) {
+ if (this.contains("prod2.100ms.live")) {
return "internal.app.100ms.live"
+ } else if (this.contains(... | feat: use qa-app subdomain for qa2 links | null | 100mslive/100ms-android | MIT License | Kotlin |
@@ -773,6 +773,20 @@ impl ScopeState {
self.push_future(fut);
}
+ /// Spawn a future that Dioxus will never clean up
+ ///
+ /// This is good for tasks that need to be run after the component has been dropped.
+ pub fn spawn_forever(&self, fut: impl Future<Output = ()> + 'static) -> TaskId {
+ // wake up the scheduler ... | feat: new spawn_forever for tasks that never die | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -53,6 +53,10 @@ public class Objective implements Trackable<Long> {
@OneToMany(mappedBy = "parentObjective", cascade = CascadeType.REMOVE)
private Collection<KeyResult> keyResults = new ArrayList<>();
+ @ToString.Exclude
+ @OneToMany(mappedBy = "parentObjective", cascade = CascadeType.REMOVE)
+ private Collection<No... | feat(objective-comment): added notes objective class | null | burningokr/burningokr | Apache License 2.0 | Java |
@@ -15,7 +15,7 @@ const ICalCategory = require('./category');
class ICalEvent {
constructor (data, _calendar) {
this._data = {
- id: ('0000' + (Math.random() * Math.pow(36, 4) << 0).toString(36)).substr(-4),
+ id: ('0000000000' + Math.floor(Math.random() * Math.pow(36, 10) << 0).toString(36)).substr(-10),
sequence: 0,
... | feat: Increase id entropy - Fixes | null | sebbo2002/ical-generator | MIT License | JavaScript |
@@ -58,7 +58,9 @@ exports.StatsPlugin = class StatsPlugin {
try {
enhancedPromise.resolve({
- ...compilation.getStats().toJson({ all: false, assets: true }),
+ ...compilation
+ .getStats()
+ .toJson({ all: false, assets: true, entrypoints: true }),
...extractFiles(analyzeCompilation(compilation), publicPath),
});
} cat... | feat(webpack): include entrypoints into stats object | null | xing/hops | MIT License | JavaScript |
@@ -54,6 +54,7 @@ MODELS = {
"ami": "d534ec1eb2",
"etape": "bc770a4290",
"dihard": "0585a5507a",
+ "dihardx": "41f38f5b74", # domain-adversarial
},
# speaker change detection
@@ -174,6 +175,7 @@ _sad = functools.partial(_generic, task='sad')
sad_ami = functools.partial(_sad, corpus='ami')
sad_dihard = functools.partial... | feat: add missing entry in hubconf | null | pyannote/pyannote-audio | MIT License | Python |
@@ -246,6 +246,11 @@ impl<R: RuleType> Error<R> {
self.path.as_deref()
}
+ /// Returns the line that the error is on.
+ pub fn line(&self) -> &str {
+ self.line.as_str()
+ }
+
/// Renames all `Rule`s if this is a [`ParsingError`]. It does nothing when called on a
/// [`CustomError`].
///
| feat: make error line accessible | null | pest-parser/pest | Apache License 2.0 | Rust |
@@ -45,7 +45,8 @@ import org.junit.jupiter.api.io.TempDir;
* @since 0.29.0
* @todo #1574:30min MonoTojo is not thread safe.
* It's not possible to use it in parallel. It should be fixed.
- * After that, remove the @Disabled annotation from the test below.
+ * When <a href="https://github.com/yegor256/tojos/issues/50"> ... | feat(#1574): add puzzle | null | cqfn/eo | MIT License | Java |
@@ -196,42 +196,23 @@ final class OptimizeMojoTest {
@Test
void failsOnErrorFlag(@TempDir final Path temp) throws Exception {
- final Path src = temp.resolve("foo/main.eo");
- new Home(temp).save(
- String.join(
- "\n",
+ MatcherAssert.assertThat(
+ new FakeMaven(temp)
+ .withProgram(
"+package f",
- "\n+alias THIS-IS-... | feat(#1494): refactor failsOnErrorFlag | null | cqfn/eo | MIT License | Java |
@@ -35,16 +35,16 @@ const noop = () => {}
const MoleculePhotoUploader = forwardRef(
(
{
- acceptedFileTypes = DEFAULT_FILE_TYPES_ACCEPTED,
acceptedFileMaxSize = DEFAULT_MAX_FILE_SIZE_ACCEPTED,
- allowUploadDuplicatedPhotos = false,
+ acceptedFileTypes = DEFAULT_FILE_TYPES_ACCEPTED,
addMorePhotosIcon,
addPhotoButtonColo... | feat(components/molecule/photoUploader): add two func props: onDrop and onFileDialogOpen | null | sui-components/sui-components | MIT License | JavaScript |
import 'dart:async';
-import 'dart:developer';
import 'package:flame/extensions.dart';
import 'package:flame/input.dart';
@@ -301,17 +300,10 @@ class _GameWidgetState<T extends Game> extends State<GameWidget<T>> {
if (snapshot.hasError) {
final errorBuilder = widget.errorBuilder;
if (errorBuilder == null) {
- // @Since... | feat: Keep stacktrace when rethrowing an error from GameWidget | null | flame-engine/flame | MIT License | Dart |
@@ -1793,9 +1793,9 @@ class Record(NDArrayOperatorsMixin):
"""
Whenever possible, fields can be accessed as attributes.
- For example, the fields of an `record` like
+ For example, the fields of a record like
- ak.Record({"x": 1.1, "y": [2, 2], "z": "three"})
+ record = ak.Record({"x": 1.1, "y": [2, 2], "z": "three"})
... | feat: raise Error for Record.__setattr__ | null | scikit-hep/awkward-1.0 | BSD 3-Clause New or Revised License | Python |
@@ -40,12 +40,12 @@ class Images extends Api
return $this->getApiResponse($response, $this->getStatusCodeMessage($result['http_status_code']), $result['http_status_code']);
}
- // Check is file exists
+ // Determine if the image file exists
if (! filesystem()->file(flextype()->registry()->get('flextype.settings.images.... | feat(endpoints): update endpoints for Images service | null | flextype/flextype | MIT License | PHP |
@@ -754,9 +754,9 @@ export class MathfieldElement extends HTMLElement implements Mathfield {
return this._mathfield.expression;
}
- set expression(mathJson: Expression) {
+ set expression(mathJson: Expression | any) {
if (!this._mathfield) return;
- const latex = this.computeEngine?.box(mathJson).latex;
+ const latex =... | feat: use `aria-readonly` for readonly mathfield | null | arnog/mathlive | MIT License | TypeScript |
import { Request, Response } from 'express';
import { ChainStateProvider } from '../../providers/chain-state';
const router = require('express').Router({ mergeParams: true });
+const feeCache = {};
router.get('/:target', async (req: Request, res: Response) => {
let { target, chain, network } = req.params;
- if (network... | feat(api): cache fee estimates that hit rpc | null | bitpay/bitcore | MIT License | TypeScript |
+package http
+
+import (
+ nethttp "net/http"
+ "strings"
+
+ idpctx "github.com/influxdata/platform/context"
+)
+
+// PlatformHandler is a collection of all the service handlers.
+type PlatformHandler struct {
+ BucketHandler *BucketHandler
+ UserHandler *UserHandler
+ OrgHandler *OrgHandler
+ AuthorizationHandler *A... | feat(http): add platform http handler | null | influxdata/influxdb | MIT License | Go |
@@ -217,7 +217,7 @@ impl AccountManagerBuilder {
self.polling_interval,
self.account_options.automatic_output_consolidation,
)
- .await;
+ .await?;
}
Ok(instance)
@@ -389,11 +389,17 @@ impl AccountManager {
}
/// Initialises the background polling and MQTT monitoring.
- async fn start_background_sync(&mut self, polling... | feat(polling): run with address_index=0, gap_limit=10 on first iteration | null | iotaledger/wallet.rs | Apache License 2.0 | Rust |
@@ -6,6 +6,7 @@ public let kFullscreen = "fullscreen"
public let kFullscreenDisabled = "fullscreenDisabled"
public let kFullscreenByApp = "fullscreenByApp"
public let kStartAt = "startAt"
+public let kLiveStartTime = "liveStartTime"
public let kPlaybackNotSupportedMessage = "playbackNotSupportedMessage"
public let kMim... | feat: Add live start at option | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -95,7 +95,6 @@ if (! function_exists('collect_filter')) {
// Exec: and where
if (isset($bind_and_where)) {
- $_expr = [];
foreach ($bind_and_where as $key => $value) {
$collection->andWhere($value['where']['key'], $value['where']['expr'], $value['where']['value']);
}
@@ -103,7 +102,6 @@ if (! function_exists('collec... | feat(element-queries): The assignment to $_expr removed from collect_filter | null | flextype/flextype | MIT License | PHP |
@@ -32,7 +32,11 @@ extension SolanaSDK {
public init(endpoint: String) {
var request = URLRequest(url: URL(string: endpoint)!)
request.timeoutInterval = 5
+ if #available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *) {
socket = WebSocket(request: request, engine: NativeEngine())
+ } else {
+ socket = WebSocket(requ... | feat: websocket | null | p2p-org/solana-swift | MIT License | Swift |
@@ -94,9 +94,22 @@ struct HomeView: View {
}
}
.background(navigationLinks)
+ .toolbar(content: toolbar)
.navigationTitle("Home")
}
}
+
+ private func toolbar() -> some ToolbarContent {
+ CustomToolbarItem(tint: .primary) {
+ Button {
+ viewStore.send(.fetchAllGalleries)
+ } label: {
+ Image(systemSymbol: .arrowCounter... | feat: Reload HomeView | null | ehpanda-team/ehpanda | MIT License | Swift |
@@ -69,12 +69,16 @@ export async function getDownloadLink (files, gatewayUrl, apiUrl, ipfs) {
export async function getShareableLink (files, ipfs) {
let hash
+ let filename
if (files.length === 1) {
hash = files[0].hash
+ if (files[0].type === 'file') {
+ filename = `?filename=${encodeURIComponent(files[0].name)}`
+ }
... | feat: include filename when sharing single file | null | ipfs-shipyard/ipfs-webui | MIT License | JavaScript |
@@ -314,20 +314,14 @@ bool SchemaUpdate::Run(Deployer* deployer) {
LOG(ERROR) << "invalid schema definition in '" << schema_file_ << "'.";
return false;
}
- fs::path shared_data_path(deployer->shared_data_dir);
- fs::path user_data_path(deployer->user_data_dir);
- fs::path destination_path(user_data_path / (schema_id +... | feat(config): build config files if source files changed | null | rime/librime | BSD 3-Clause New or Revised License | C++ |
@@ -14,7 +14,7 @@ WEB_UI_DIR=${SCRIPT_DIR}/web-ui
GITHUB_INTEGRATION_DIR=${SCRIPT_DIR}/github_integration
# Build server
-cd ${SERVER_DIR} && ./gradlew clean build
+cd ${SERVER_DIR} && ./gradlew build
# Build web ui
cd ${WEB_UI_DIR} && yarn && yarn build
@@ -22,7 +22,7 @@ cd ${WEB_UI_DIR} && yarn && yarn build
if [[ "$... | feat: build-and-run.sh performs incremental builds of server | null | zalando/zally | MIT License | Shell |
+package sqlancer.databend.ast;
+
+import sqlancer.Randomly;
+import sqlancer.common.ast.BinaryOperatorNode;
+import sqlancer.common.ast.newast.NewBinaryOperatorNode;
+import sqlancer.common.ast.newast.Node;
+
+public class DatabendBinaryLogicalOperation extends NewBinaryOperatorNode<DatabendExpression> {
+
+ public Da... | feat: implement the binary logical operation | null | sqlancer/sqlancer | MIT License | Java |
@@ -148,8 +148,8 @@ class RenderTextBox extends RenderBox
maxHeight: double.infinity);
}
- // Empty string is the minimum width character, use it as the base width
- // to calculate the maximum characters to display in a certain width.
+ // Empty string is the minimum size character, use it as the base size
+ // for ca... | feat: clip text when white-space is not nowrap | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -233,7 +233,6 @@ declare namespace InputProps {
* @example_react
* ```tsx
* class App extends Component {
- *
* render () {
* return (
* <View className='example-body'>
| feat(types): update from docs | null | nervjs/taro | MIT License | TypeScript |
@@ -34,7 +34,7 @@ public LinuxMountedVolumeInfoListener(ref ObservableCollection<MountedVolumeInfo
Poll(0);
}
- private string GetSymlinkTarget(string x) => Path.GetFullPath(Path.Combine(DevByLabelDir, NativeMethods.ReadLink(x)));
+ private static string GetSymlinkTarget(string x) => Path.GetFullPath(Path.Combine(DevBy... | feat(FreedDesktop): Address rule CA1822 | null | avaloniaui/avalonia | MIT License | C# |
@@ -42,15 +42,15 @@ class Registry extends Api
count($result = $this->validateApiRequest([
'request' => $request,
'api' => 'registry',
- 'params' => ['token', 'key'],
+ 'params' => ['token', 'id'],
])) > 0
) {
return $this->getApiResponse($response, $this->getStatusCodeMessage($result['http_status_code']), $result['htt... | feat(endpoints): use `id` instead of `key` for registry endpoint | null | flextype/flextype | MIT License | PHP |
-import { Meteor } from 'meteor/meteor'
-import * as React from 'react'
-import { Translated, translateWithTracker } from '../../lib/ReactMeteorData/react-meteor-data'
+import React, { useEffect, useState, useLayoutEffect } from 'react'
+import { useSubscription, useTracker } from '../../lib/ReactMeteorData/react-meteo... | feat(UserActivity): scroll the url hash selected element into view on mount | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -26,6 +26,7 @@ public class TextViewPool {
textView = new AssTextView(mContext);
} else {
textView = idelTextViewList.get(0);
+ idelTextViewList.remove(textView);
}
busyTextViewList.add(textView);
| feat(assSub): remove view when pick from pool | null | alibaba/cicadaplayer | MIT License | Java |
@@ -5,8 +5,9 @@ declare(strict_types=1);
use Flextype\Foundation\Flextype;
use Atomastic\Strings\Strings;
-beforeEach(function() {
+/*
+beforeEach(function() {
// Create sandbox plugin
filesystem()->directory(PATH['project'])->create();
filesystem()->directory(PATH['project'] . '/plugins')->create();
@@ -41,3 +42,4 @@ ... | feat(tests): mute tests for Plugins | null | flextype/flextype | MIT License | PHP |
@@ -43,6 +43,11 @@ return [
'description' => 'SMTP is disabled on your Appwrite instance. Please contact your project.',
'code' => 503,
],
+ Exception::GENERAL_ARGUMENT_INVALID => [
+ 'name' => Exception::GENERAL_ARGUMENT_INVALID,
+ 'description' => 'Invalid argument',
+ 'code' => 400,
+ ],
Exception::GENERAL_SERVER_ER... | feat: add invalid argument error | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -105,7 +105,7 @@ public class JdbcEventStore
.put( "dueDate", "psi_duedate" ).put( "storedBy", "psi_storedby" ).put( "created", "psi_created" )
.put( "lastUpdated", "psi_lastupdated" ).put( "completedBy", "psi_completedby" )
.put( "attributeOptionCombo", "psi_aoc" ).put( "completedDate", "psi_completeddate" )
- .put... | feat: add assignedUser to event order columns | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
-class TimeIndicator: MediaControlPlugin {
- override var pluginName: String {
+open class TimeIndicator: MediaControlPlugin {
+ override open var pluginName: String {
return "TimeIndicator"
}
- override var panel: MediaControlPanel {
+ override open var panel: MediaControlPanel {
return .bottom
}
- override var positi... | feat: Update variables and method visibility | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -6,6 +6,7 @@ import { Dropdown, MenuItem } from 'react-bootstrap';
import { Subject } from 'rxjs';
import { IProject } from 'core/domain';
+import { Overridable } from 'core/overrideRegistry';
import { SpanDropdownTrigger } from 'core/presentation';
import { ReactInjector } from 'core/reactShims';
@@ -24,6 +25,7 @@ ... | feat(core/ProjectHeader): Make component overridable | null | spinnaker/deck | Apache License 2.0 | TypeScript |
@@ -70,7 +70,6 @@ from .dispatcher import Dispatcher
from .util import STARTUP_EVENT_TOPIC, SHUTDOWN_EVENT_TOPIC
LOGGER = logging.getLogger(__name__)
-OUTBOUND_STATUS_PREFIX = "acapy::outbound-message::"
class Conductor:
@@ -593,6 +592,26 @@ class Conductor:
"""
Route an outbound message.
+ Args:
+ profile: The active ... | feat: cleanup event emission | null | hyperledger/aries-cloudagent-python | Apache License 2.0 | Python |
@@ -33,16 +33,15 @@ use Utopia\Validator\Text;
// Remove orphans on startup - done
// Remove multiple request attempt to the runtime logic in executor - done
// Remove builds param from delete endpoint - done
+// Shutdown callback isn't working as expected - done
-
-// Shutdown callback isn't working as expected
// Inc... | feat: fix issues with delete endpoint | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -45,6 +45,10 @@ impl ParquetReader {
chunks: Vec<(usize, Vec<u8>)>,
filter: Option<Bitmap>,
) -> Result<DataBlock> {
+ if chunks.is_empty() {
+ return Ok(DataBlock::new(vec![], part.num_rows));
+ }
+
let mut chunk_map: HashMap<usize, Vec<u8>> = chunks.into_iter().collect();
let mut columns_array_iter = Vec::with_cap... | feat(query): enable empty projection for parquet | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -50,7 +50,7 @@ export function createElement<P extends {
onAppear?: Function;
onDisappear?: Function;
}>(
- type: FunctionComponent<P>,
+ type: FunctionComponent<P> | string,
props?: Attributes & P | null,
...children: ReactNode[]): ReactElement {
const rest = Object.assign({}, props);
| feat: type of createElement can be string | null | alibaba/ice | MIT License | TypeScript |
package io.javaoperatorsdk.operator.api.reconciler;
+import java.time.Duration;
import java.util.Optional;
import java.util.concurrent.TimeUnit;
@@ -12,6 +13,11 @@ public abstract class BaseControl<T extends BaseControl<T>> {
return (T) this;
}
+ public T rescheduleAfter(Duration delay) {
+ this.scheduleDelay = delay.t... | feat: convinience method to reschedule with duration | null | java-operator-sdk/java-operator-sdk | Apache License 2.0 | Java |
@@ -3,10 +3,11 @@ package com.linkedin.datahub.graphql.types.dataplatform;
import com.linkedin.common.urn.DataPlatformUrn;
import com.linkedin.datahub.graphql.QueryContext;
import com.linkedin.datahub.graphql.types.EntityType;
-import com.linkedin.datahub.graphql.types.mappers.DataPlatformInfoMapper;
import com.linkedi... | feat(graphql): More forgiving for unknown data platforms during reads | null | linkedin/datahub | Apache License 2.0 | Java |
@@ -95,8 +95,6 @@ public class JobConfigurationController
{
JobConfiguration jobConfiguration = jobConfigurationService.getJobConfigurationByUid( uid );
- checkConfigurable( jobConfiguration, HttpStatus.FORBIDDEN, "Job %s is a system job that cannot be executed." );
-
ObjectReport objectReport = new ObjectReport( JobCo... | feat: allow manual execution of system jobs | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -14,6 +14,8 @@ public class ApplicationTemplate extends BaseDomain {
private String appUrl;
private String appDataUrl;
private String gifUrl;
+ private String productImageUrl;
+ private String sortPriority;
private List<String> screenshotUrls;
private List<String> widgets;
private List<String> functions;
| feat: Added new fields to templates | null | appsmithorg/appsmith | Apache License 2.0 | Java |
@@ -75,6 +75,35 @@ class Hermione implements Hermione.Process {
once(event: Hermione.INFO_EVENT, callback: () => void): this;
once(event: Hermione.WARNING_EVENT, callback: () => void): this;
once(event: Hermione.ERROR_EVENT, callback: (err: Error) => void): this;
+
+ prependListener(event: Hermione.INIT_EVENT, callback... | feat: added types for 'prependListener' and 'emitAndWait' methods | null | gemini-testing/hermione | MIT License | TypeScript |
@@ -16,8 +16,8 @@ export interface IInstanceTypesByRegion {
export interface IInstanceStorage {
type: string;
- size: number;
- count: number;
+ size?: number;
+ count?: number;
isDefault?: boolean;
}
| feat(amazon/instance): Add typing to instance types | null | spinnaker/deck | Apache License 2.0 | TypeScript |
@@ -9,7 +9,10 @@ import (
"net"
"net/http"
"net/rpc"
+ "os"
+ "os/signal"
"path"
+ "syscall"
"time"
)
@@ -36,6 +39,15 @@ func StartUp(Version, LoadFileType string) {
logger.Infof("db location is %s", dr)
dataDir = dr
}
+
+ c := make(chan os.Signal)
+ signal.Notify(c, os.Interrupt, syscall.SIGTERM)
+ go func() {
+ <-c
+... | feat(main): terminate the kuiper server gracefully | null | emqx/kuiper | Apache License 2.0 | Go |
@@ -40,11 +40,6 @@ import org.junit.jupiter.api.Test;
*/
final class OyFallbackTest {
- /**
- * Eo program source.
- */
- private static final String SOURCE = "[] > main\n";
-
/**
* Primary objectionary.
*/
@@ -53,7 +48,7 @@ final class OyFallbackTest {
/**
* Secondary objectionary.
*/
- private final OyMock secondary ... | feat(#1623): remove SOURCE field | null | cqfn/eo | MIT License | Java |
@@ -190,7 +190,7 @@ func (h *UserHandler) handleGetMe(w http.ResponseWriter, r *http.Request) {
switch s := a.(type) {
case *influxdb.Session:
- if err := encodeResponse(ctx, w, http.StatusOK, newDecoratedUserResponse(user, s)); err != nil {
+ if err := encodeResponse(ctx, w, http.StatusOK, newUserResponseFromSession(u... | feat(http/me): name function according to semantics | null | influxdata/influxdb | MIT License | Go |
@@ -98,7 +98,7 @@ trait Audit
];
if ($this->user) {
- foreach ($this->user->attributesToArray() as $attribute => $value) {
+ foreach ($this->user->getArrayableAttributes() as $attribute => $value) {
$this->data['user_'.$attribute] = $value;
}
}
| feat(Audit): use getArrayableAttributes() so that User attributes are stored unformatted | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -40,7 +40,7 @@ mixin CSSTransformMixin on RenderStyle {
parentRenderer.markChildrenNeedsSort();
}
- renderBoxModel?.markNeedsLayout();
+ renderBoxModel?.markNeedsPaint();
}
static List<CSSFunctionalNotation>? resolveTransform(String present) {
@@ -60,7 +60,7 @@ mixin CSSTransformMixin on RenderStyle {
set transformM... | feat: fix transform mistake trigger layout | null | openkraken/kraken | Apache License 2.0 | Dart |
+import * as React from "react";
+import * as SVG from "~/common/svg";
+import * as Styles from "~/common/styles";
+import * as Typography from "~/components/system/components/Typography";
+
+import { css } from "@emotion/react";
+import { useFilterContext } from "~/components/core/Filter/Provider";
+
+/* -------------... | feat(Filter/Filters): add Filters components to render filter views | null | filecoin-project/slate | MIT License | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.