diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
+#!/bin/sh
+DATA_DIR=data
+cd ${DATA_DIR}
+
+wget https://upload.wikimedia.org/wikipedia/commons/1/1e/Beethoven_String_Quartet_3_opening.wav
+wget https://upload.wikimedia.org/wikipedia/commons/0/0a/Beethoven_Piano_Concerto_4_slow_movement%2C_bars_47-55.wav
+wget https://upload.wikimedia.org/wikipedia/commons/b/ba/Beet... | feat: data getter script | null | jina-ai/examples | Apache License 2.0 | Shell |
@@ -141,6 +141,20 @@ public class NetworkManager : MonoBehaviour
// virtual so that inheriting classes' OnValidate() can call base.OnValidate() too
public virtual void OnValidate()
{
+ // make sure someone doesn't accidentally add another NetworkManager
+ // need transform.root because when adding to a child, the paren... | feat: Prevent Nested Network Managers (see | null | vis2k/mirror | MIT License | C# |
@@ -80,7 +80,7 @@ StandaloneIcon.propTypes = {
/**
* The icon size in pixels.
*/
- size: PropTypes.oneOf([16, 24, 48]),
+ size: PropTypes.oneOf([16, 20, 24, 32, 48]),
/**
* Pass a handler to the icon to make it interactive. Wraps the icon with a `<button>`.
*/
| feat(core-standalone-icon): add 20px and 32px sizes | null | telus/tds-core | MIT License | JavaScript |
@@ -25,20 +25,13 @@ package org.eolang.maven.optimization;
import com.jcabi.xml.XML;
import java.nio.file.Path;
+import java.util.function.Function;
/**
* Abstraction for XML optimizations.
*
* @since 0.28.11
*/
-public interface Optimization {
-
- /**
- * Optimize XML file.
- *
- * @param xml Path to raw XML file.
- *... | feat(#1431): Optimization extends Function | null | cqfn/eo | MIT License | Java |
@@ -7,6 +7,8 @@ const config = {
disableAnonymousTraffic: false,
/* Sync segment Anonymous id with `analytics` Anon id */
syncAnonymousId: false,
+ /* Enable/disable segment destinations https://bit.ly/38nRBj3 */
+ integrations: {}
/* Override the Segment snippet url, for loading via custom CDN proxy */
}
@@ -115,26 +1... | feat: add integrations config option to segment | null | davidwells/analytics | MIT License | JavaScript |
@@ -106,6 +106,14 @@ void GuiVarChanged( Var<T>& var)
}
}
+void glLine(GLfloat vs[4])
+{
+ glEnableClientState(GL_VERTEX_ARRAY);
+ glVertexPointer(2, GL_FLOAT, 0, vs);
+ glDrawArrays( GL_LINE_STRIP, 0, 2);
+ glDisableClientState(GL_VERTEX_ARRAY);
+}
+
void glRect(Viewport v)
{
GLfloat vs[] = { (float)v.l,(float)v.b,
@@... | feat: Add caret to TextInput | null | stevenlovegrove/pangolin | MIT License | C++ |
+package user
| feat: add user example, include: reg,login,follow and fans | null | go-eagle/eagle | MIT License | Go |
@@ -46,7 +46,7 @@ class MessageReceivedListener(container: Container) : AbstractListener(container
// SpammingUtil.handleSpam(container, event.message)
}
} else if (event is PrivateMessageReceivedEvent) {
- TaskManager.async {
+ TaskManager.async(event.author, event.channel) {
checkTicTacToe(event)
checkRockPaperScisso... | feat: more task context | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -537,12 +537,15 @@ def check_for_project(path: Union[Path, str] = ".") -> Optional[Path]:
structure_config = _load_project_structure_config(folder)
contracts = folder.joinpath(structure_config["contracts"])
interfaces = folder.joinpath(structure_config["interfaces"])
+ scripts = folder.joinpath(structure_config["scr... | feat: Brownie project just with scripts folder and brownie-config.yaml is not considered a project | null | eth-brownie/brownie | MIT License | Python |
@@ -15,6 +15,8 @@ use crate::{as_mut, ffi_fn, safe_str};
use crate::util::*;
use crate::util::string::if_null;
use serde::Serialize;
+use std::any::Any;
+use clap::{Arg, ArgSettings};
mod args;
pub mod verifier;
@@ -160,9 +162,16 @@ struct Argument {
short: Option<String>,
long: Option<String>,
help: Option<String>,
- ... | feat(ffi verify): add in default values, start looking at flags | null | pact-foundation/pact-reference | MIT License | Rust |
:alignment="$column->getAlignment()"
:sortable="$column->isSortable() && (! $isReordering)"
:sort-direction="$getSortDirection()"
- :class="$getHiddenClasses($column)"
+ class="filament-table-cell-{{ $column->getName() }} {{ $getHiddenClasses($column) }}"
>
{{ $column->getLabel() }}
</x-tables::header-cell>
@endif
@for... | feat: Add class for table-cell name | null | laravel-filament/filament | MIT License | PHP |
@@ -4,18 +4,19 @@ use crate::{
util::{api, exitcode, get_final_element, node_rpc, Rpc},
CommandGlobalOpts, OutputFormat, Result,
};
+use std::str::FromStr;
use atty::Stream;
-use clap::Args;
use colorful::Colorful;
use serde_json::json;
+use clap::Parser;
use ockam::{route, Context};
use ockam_api::{nodes::models::secu... | feat(rust): add service format parsing to `secure-channel delete` | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -15,3 +15,11 @@ test('test decode() method', function () {
flextype('frontmatter')
->decode("---\ntitle: Foo\n---\nBar"));
});
+
+test('test getCacheID() method', function () {
+ $string = "---\ntitle: Foo\n---\nBar";
+ $cache_id = flextype('frontmatter')
+ ->getCacheID($string);
+ $this->assertEquals(32, strlen($ca... | feat(tests): add tests for Serializer Frontmatter getCacheID() | null | flextype/flextype | MIT License | PHP |
@@ -3527,8 +3527,8 @@ inline internal::ElementsAreArrayMatcher<T> ElementsAreArray(
}
template <typename Container>
-inline internal::ElementsAreArrayMatcher<typename Container::value_type>
-ElementsAreArray(const Container& container) {
+inline auto ElementsAreArray(const Container& container)
+ -> decltype(ElementsAr... | feat: make a matcher ElementsAreArray applicable for std ranges | null | google/googletest | BSD 3-Clause New or Revised License | C |
@@ -20,6 +20,8 @@ use common_catalog::table_context::TableContext;
use common_exception::Result;
use common_meta_types::UserStageInfo;
use futures::TryStreamExt;
+use opendal::Object;
+use opendal::Operator;
use tracing::warn;
use crate::StageFilePartition;
@@ -111,3 +113,18 @@ pub async fn list_file(
Ok(results)
}
+
+... | feat(stage): add util fn get_first_file | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -33,7 +33,26 @@ else
exit 1
fi
+EXPECTED_BENCHWIZARD_VERSION="0.1.1"
+
+echo -n "benchwizard >= $EXPECTED_BENCHWIZARD_VERSION ..... "
+
+command -v benchwizard >/dev/null 2>&1 || {
+ echo "benchwizard required. benchwizard is cli tool developed by HydraDX dev to streamline substrate benchmark process.";
+ echo "Inst... | feat: bench perf tool update - extracted bench check tool into separate cli tool, adjust performance script accordingly | null | galacticcouncil/hydradx-node | Apache License 2.0 | Shell |
@@ -69,7 +69,7 @@ func (wd *WithDDL) Exec(ctx context.Context, query string, fQuery interface{}, f
}
execDDL := execQuery
if fDDL != nil {
- execDDL, err = wd.unify(ctx, fQuery)
+ execDDL, err = wd.unify(ctx, fDDL)
if err != nil {
return nil, err
}
| feat: bug-fix to use fDDL inside condition | null | vitessio/vitess | Apache License 2.0 | Go |
+//
+// Original Author: Stuart Carnie
+// https://github.com/stuartcarnie/rust-encoding
+//
+const S8B_BIT_SIZE: usize = 60;
+
+const NUM_BITS: [[u8; 2]; 14] = [
+ [60, 1],
+ [30, 2],
+ [20, 3],
+ [15, 4],
+ [12, 5],
+ [10, 6],
+ [8, 7],
+ [7, 8],
+ [6, 10],
+ [5, 12],
+ [4, 15],
+ [3, 20],
+ [2, 30],
+ [1, 60],
+];
+... | feat(encoders): add simple8b encoder/decoder | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -143,6 +143,7 @@ class MediaFile extends Base
);
break;
+
case 'ptm_analytics':
// we track, so we need to generate a shadow URL
if (get_option('permalink_structure')) {
@@ -155,6 +156,7 @@ class MediaFile extends Base
$url = home_url($path);
break;
+
default:
// tracking is off, return raw URL
$url = $this->get_fil... | feat: shorter download_file_name for urls | null | podlove/podlove-publisher | MIT License | PHP |
@@ -20,17 +20,14 @@ pub async fn send_event_to_device_route(
let sender_user = body.sender_user.as_ref().expect("user is authenticated");
let sender_device = body.sender_device.as_deref();
- // TODO: uncomment when https://github.com/vector-im/element-android/issues/3589 is solved
// Check if this is a new transaction ... | feat: if txn id exists in the db, skip the event | null | timokoesters/conduit | Apache License 2.0 | Rust |
@@ -9,7 +9,7 @@ export default function getProviders() {
withCredentials: true,
})
.then((res) => {
- const {providers, thirdPartyLogin} = res
+ const {providers, thirdPartyLogin, sso} = res
const customProviders = (config.providers && config.providers.entries) || []
if (customProviders.length === 0) {
return providers... | feat(default-login): add support for sso login providers | null | sanity-io/sanity | MIT License | JavaScript |
+class AwsSamCli < Formula
+ include Language::Python::Virtualenv
+
+ desc "AWS SAM command line interface"
+ homepage "https://github.com/awslabs/aws-sam-cli/"
+ url "https://github.com/awslabs/aws-sam-cli/archive/v0.6.0.tar.gz"
+ sha256 "f85762aba829525eb8c6a52d354ef7254ed37e5bc8a7389885fd0daebfea1c96"
+ head "https:... | feat: new brew Formula | null | aws/homebrew-tap | Apache License 2.0 | Ruby |
@@ -10,10 +10,21 @@ public class Organization : Account
{
public Organization() { }
- public Organization(string avatarUrl, string bio, string blog, int collaborators, string company, DateTimeOffset createdAt, int diskUsage, string email, int followers, int following, bool? hireable, string htmlUrl, int totalPrivateRep... | feat: add missed props for organization | null | octokit/octokit.net | MIT License | C# |
import { readFile } from 'node:fs/promises';
import ow from 'ow';
+import vm from 'vm';
import type { Page, Response, Route } from 'playwright';
import { LruCache } from '@apify/datastructures';
import log_ from '@apify/log';
@@ -273,6 +274,55 @@ export async function blockRequests(page: Page, options: BlockRequestsOpt... | feat: add `utils.playwright.compileScript` | null | apify/apify-js | Apache License 2.0 | TypeScript |
@@ -107,9 +107,6 @@ static ContentPresenter()
AffectsRender<ContentPresenter>(BackgroundProperty, BorderBrushProperty, BorderThicknessProperty, CornerRadiusProperty);
AffectsArrange<ContentPresenter>(HorizontalContentAlignmentProperty, VerticalContentAlignmentProperty);
AffectsMeasure<ContentPresenter>(BorderThicknessP... | feat(ContentPresenter): Content of ContentPresenter should become DataContext of the subtree whenever ContentTemplate is not null | null | avaloniaui/avalonia | MIT License | C# |
@@ -8,6 +8,7 @@ use compiler::BlockElement;
use compiler::LiquidOptions;
use compiler::TagBlock;
use compiler::TagTokenIter;
+use compiler::TryMatchToken;
use interpreter::Context;
use interpreter::Expression;
use interpreter::Renderable;
@@ -88,9 +89,11 @@ fn parse_condition(arguments: &mut TagTokenIter) -> Result<Vec... | feat(case_block): support comma separated values in `when` | null | cobalt-org/liquid-rust | MIT License | Rust |
@@ -160,8 +160,10 @@ func (c *ImmuClient) connectWithRetry() (err error) {
return nil
}
c.Logger.Debugf("dial failed: %v", err)
+ if c.Options.DialRetries > 0 {
time.Sleep(time.Second)
}
+ }
return err
}
@@ -172,7 +174,9 @@ func (c *ImmuClient) waitForHealthCheck() (err error) {
return nil
}
c.Logger.Debugf("health che... | feat: no healthcheck/dial retry wait-period when set to 0 | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -94,7 +94,7 @@ final class SnomedQueryLabelerRequest extends ResourceRequest<BranchContext, Exp
}
if (!errors.isEmpty()) {
- BadRequestException badRequestException = new BadRequestException("One or more QL syntax errors", errors);
+ BadRequestException badRequestException = new BadRequestException("One or more QL s... | feat(api): fix throwing BadRequestException | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -144,6 +144,9 @@ class IntersectionObserverLayer extends ContainerLayer {
/// entries for non-visible ones are actively removed.
IntersectionObserverEntry? _lastIntersectionInfo;
+ /// Cache of layer transform to root layer.
+ static final Map<int, Matrix4> _layerTransformCache = {};
+
/// Converts a [Rect] in local... | feat: add cache for layer transform | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -81,6 +81,11 @@ function bootDB {
echo 'DB initialized'
break
else
+ if [[ ${attempt} == ${number_attempts} ]]; then
+ echo 'error initializing the DB, aborting'
+ exit 2
+ fi
+
local wait_time="$((2 ** (attempt - 1)))"
echo "Error initializing the DB, retrying in ${wait_time} seconds"
sleep "${wait_time}"
| feat: output message when DB cannot be initialized | null | cloudfoundry/uaa | Apache License 2.0 | Shell |
@@ -95,7 +95,7 @@ export function VacuumMap(canvasElement) {
svgPath += type + " " + path.points[i] / size.pixelSize + " " + path.points[i + 1] / size.pixelSize + " ";
}
- svgPath += "\" fill=\"none\" stroke=\"" + pathColor + "\" stroke-width=\"0.5\"";
+ svgPath += "\" fill=\"none\" stroke=\"" + pathColor + "\" stroke-... | feat(ui): Nice rounded paths | null | hypfer/valetudo | Apache License 2.0 | JavaScript |
@@ -11,7 +11,7 @@ songs = dict() # eId (input), just to count unique youtube tracks
counter = 0
-print('user,song') # header of the csv file
+print('timestamp,user,song') # header of the csv file
with open("./playlog.json.log", "r") as f:
for line in f:
@@ -26,6 +26,6 @@ with open("./playlog.json.log", "r") as f:
# ide... | feat: add timestamp to anonymised playlog entries | null | openwhyd/openwhyd | MIT License | Python |
@@ -147,9 +147,11 @@ func newVCursorImpl(
// we only support collations for the new TabletGateway implementation
collationEnv := collations.NewEnvironment(*sqlparser.MySQLServerVersion)
var connCollation collations.ID
+ if executor != nil {
if gw, isTabletGw := executor.resolver.resolver.GetGateway().(*TabletGateway); ... | feat: check if executor is nil before accessing it | null | vitessio/vitess | Apache License 2.0 | Go |
@@ -4,6 +4,7 @@ import android.content.Context
import android.os.Bundle
import io.clappr.player.log.Logger
import io.clappr.player.utils.IdGenerator
+import java.util.*
open class BaseObject(private val logger: Logger = Logger) : EventInterface {
@@ -71,6 +72,6 @@ open class BaseObject(private val logger: Logger = Logg... | feat: use thread-safe data structure to save BaseObject subscriptions | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -16,10 +16,22 @@ public protocol RenVMSolanaAPIClientType {
programId: String
) -> Single<SolanaSDK.Mint>
func getConfirmedSignaturesForAddress2(account: String, configs: SolanaSDK.RequestConfiguration?) -> Single<[SolanaSDK.SignatureInfo]>
- func serializeAndSend(
+ func getMinimumBalanceForRentExemption(span: UInt... | feat: renVM transaction sender | null | p2p-org/solana-swift | MIT License | Swift |
@@ -275,12 +275,18 @@ export class EventResolver {
}
const rsvpName = getRsvpName(event);
+
+ const userChapter = ctx.user.user_chapters.find(
+ (user_chapter) => user_chapter.chapter_id === event.chapter_id,
+ );
+ const isSubscribedToEvent = userChapter ? userChapter.subscribed : true; // TODO add default event subsc... | feat: default event subscription with chapter subscription | null | freecodecamp/chapter | BSD 3-Clause New or Revised License | TypeScript |
@@ -191,6 +191,11 @@ func NewCmdMerge(f *cmdutils.Factory) *cobra.Command {
return err
},
retry.RetryIf(func(err error) bool {
+ if !opts.RebaseBeforeMerge {
+ // If we are not rebasing then a `Branch cannot be merged` error
+ // is always relevant and should not be retried
+ return false
+ }
return err.Error() != "Bra... | feat(commands/mr/merge): if we are not rebasing before merging don't try multiple times | null | profclems/glab | MIT License | Go |
@@ -17,7 +17,10 @@ use std::sync::Arc;
use ruma::{
events::{
presence::PresenceEvent,
- room::{member::RoomMemberEventContent, power_levels::SyncRoomPowerLevelsEvent},
+ room::{
+ member::{MembershipState, RoomMemberEventContent},
+ power_levels::SyncRoomPowerLevelsEvent,
+ },
},
MxcUri, UserId,
};
@@ -106,4 +109,13 @@... | feat(base): Add RoomMember::membership accessor | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -14,12 +14,8 @@ import HamburgerMenu from 'react-hamburger-menu'
import { observer, inject } from 'mobx-react'
import type { MobileMenuStore } from 'src/stores/MobileMenu/mobilemenu.store'
import type { UserStore } from 'src/stores/User/user.store'
-import { isModuleSupported, MODULE } from 'src/modules'
-import { A... | feat: activity notifications available to all users | null | onearmy/community-platform | MIT License | TypeScript |
@@ -113,6 +113,7 @@ open class Core: UIObject, UIGestureRecognizerDelegate {
containers.forEach(renderContainer)
addToContainer()
parentView?.bringSubviewToFront(overlayView)
+ overlayView.clipsToBounds = true
}
#if os(tvOS)
| feat: adjust overlayView to clipsToBounds | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -244,6 +244,24 @@ class DbPopulator
date: Date.today - (index + 1).weeks
)
end
+
+ # guarantee at least one transition aged youth case to "volunteer1"
+ volunteer1 = Volunteer.find_by(email: "volunteer1@example.com")
+ if volunteer1.casa_cases.where(transition_aged_youth: true).blank?
+ rand(1..3).times do
+ birth_m... | feat: add transition age youth case to seed | null | rubyforgood/casa | MIT License | Ruby |
@@ -13,15 +13,67 @@ import { Polygon } from "./api/polygon.js";
export const polygon = (pts?: Vec[], attribs?: Attribs) =>
new Polygon(pts, attribs);
+/**
+ * Syntax sugar for {@link starWithCentroid}, using [0,0] as center.
+ *
+ * @param r
+ * @param n
+ * @param profile
+ * @param attribs
+ * @returns
+ */
export co... | feat(geom): add startWithCentroid(), add docs | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
+package commands
+
+import (
+ "fmt"
+ "github.com/spf13/cobra"
+ "github.com/xanzy/go-gitlab"
+ "glab/internal/git"
+ "glab/internal/manip"
+ "strings"
+)
+
+var mrForCmd = &cobra.Command{
+ Use: "for",
+ Short: `Create new merge request for an issue`,
+ Long: ``,
+ Aliases: []string{"new"},
+ Args: cobra.ExactArgs(1... | feat: Add `mr_for` command | null | profclems/glab | MIT License | Go |
@@ -83,6 +83,7 @@ publish_snapshot() {
publish_snapshot "core" "dist/core"
pack_styles
publish_snapshot "styles" "dist/styles"
+publish_snapshot "assets" "dist/assets"
publish_snapshot "storefront" "dist/storefrontlib"
echo "Finished publishing snapshot build artifacts"
| feat(@spartacus/assets): Adding snapshot build support for assets library | null | sap/spartacus | Apache License 2.0 | Shell |
@@ -2936,6 +2936,12 @@ export class $Identifier implements I$Node {
this.BoundNames = [node.text] as const;
this.StringValue = node.text;
this.PropName = this.StringValue;
+
+ if (hasBit(ctx, Context.InStrictMode) && (this.PropName === 'eval' || this.PropName === 'arguments')) {
+ this.AssignmentTargetType = 'strict';
... | feat(ast): finish SS:AssignmentTargetType | null | aurelia/aurelia | MIT License | TypeScript |
@@ -311,39 +311,36 @@ class DeletesV1 extends Worker
{
$dbForProject = $this->getProjectDB($projectId);
$device = new Local(APP_STORAGE_FUNCTIONS . '/app-' . $projectId);
+ $deploymentIds = [];
// Delete Deployments
$this->deleteByGroup('deployments', [
new Query('functionId', Query::TYPE_EQUAL, [$document->getId()])
-... | feat: delete built files in deletes worker | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -83,6 +83,7 @@ impl ObjectLineMapping {
}
/// An Il2cpp `source_info` record.
+#[derive(Debug, PartialEq, Eq)]
struct SourceInfo<'data> {
/// The C++ source line the `source_info` was parsed from.
cpp_line: u32,
@@ -94,9 +95,10 @@ struct SourceInfo<'data> {
/// An iterator over Il2cpp `source_info` markers.
///
-///... | feat: Improve il2cpp line mapping parser | null | getsentry/symbolic | MIT License | Rust |
@@ -113,6 +113,22 @@ fn tracing_panic_hook(other_hook: &PanicFunctionPtr, panic_info: &PanicInfo<'_>)
other_hook(panic_info)
}
+/// Ensure panics are fatal events by exiting the process with an exit code of
+/// 1 after calling the existing panic handler, if any.
+pub fn make_panics_fatal() {
+ let existing = panic::ta... | feat(iox): fatal panics | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -384,7 +384,9 @@ func (c *awsClient) HasCompatibleVersionTags(iamTags []*iam.Tag, version string)
if err != nil {
return false, err
}
- return currentVersion.GreaterThanOrEqual(wantedVersion), nil
+ // Current version equals to wanted is not necessarily compatible
+ // as actions can be altered to accommodate more p... | feat: consider current version incompatible | null | openshift/rosa | Apache License 2.0 | Go |
@@ -244,7 +244,7 @@ interface NewSize {
newHeight: number | string;
newWidth: number | string;
}
-export class Resizable extends React.Component<ResizableProps, State> {
+export class Resizable extends React.PureComponent<ResizableProps, State> {
get parentNode(): HTMLElement | null {
if (!this.resizable) {
return null... | feat: use pure | null | bokuweb/re-resizable | MIT License | TypeScript |
@@ -23,7 +23,7 @@ west build -d build/$testcase -b native_posix -- -DZMK_CONFIG=$testcase > /dev/n
if [ $? -gt 0 ]; then
echo "FAIL: $testcase did not build" >> ./build/tests/pass-fail.log
else
- ./build/$testcase/zephyr/zmk.exe | sed -e "s/.*> //" | sed -n -f $testcase/events.patterns > build/$testcase/keycode_events.... | feat(test): record full key log as well | null | zmkfirmware/zmk | MIT License | Shell |
@@ -165,7 +165,7 @@ open class Player: BaseObject {
open class func register(plugins: [Plugin.Type]) {
if !hasAlreadyRegisteredPlugins {
- let builtInPlugins: [Plugin.Type] = [AVFoundationPlayback.self, PosterPlugin.self, SpinnerPlugin.self]
+ let builtInPlugins: [Plugin.Type] = [AVFoundationPlayback.self, MediaControl... | feat: add MediaControl to the list of built-in plugins | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -30,7 +30,7 @@ if (! function_exists('fetch')) {
*
* @param string $resource A resource that you wish to fetch.
* @param array $options Options.
- * @return Glowy\Arrays\Arrays|GuzzleHttp\Psr7\Response Returns the data from the resource or empty collection on failure.
+ * @return mixed Returns the data from the reso... | feat(helpers): update `fetch` helper | null | flextype/flextype | MIT License | PHP |
+/******************************************************************************
+ * Copyright (C) 2018-2021 aitos.io
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://ww... | feat: Add test_010CallContract_0001SetBytesSuccess | null | aitos-io/boat-x-framework | Apache License 2.0 | C |
@@ -17,7 +17,9 @@ namespace OwenIt\Auditing;
use Illuminate\Database\Eloquent\Relations\MorphMany;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Config;
-use Illuminate\Support\Facades\Request;
+use OwenIt\Auditing\Contracts\IpAddressResolver;
+use OwenIt\Auditing\Contracts\UrlResolver;
+use OwenIt... | feat(Auditable): refactor resolver methods | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -5,7 +5,8 @@ export class Link extends InlineAnnotation<{
title?: string;
rel?: string;
target?: string;
+ isAffiliateLink?: string;
}> {
- static type = "link";
static vendorPrefix = "offset";
+ static type = "link";
}
| feat: add affiliate link attribute | null | condenast/atjson | Apache License 2.0 | TypeScript |
@@ -69,7 +69,7 @@ export default class Swiper extends Nerv.Component {
</Taro.View>
</Taro.View>
<Taro.View className='page__con'>
- <Taro.Swiper {...swiperOpts} bindchange={this.onChange}>
+ <Taro.Swiper {...swiperOpts} onChange={this.onChange}>
{goodsData.map(item => {
return (
<Taro.SwiperItem>
| feat(tc): add swiper test | null | nervjs/taro | MIT License | JavaScript |
@@ -77,6 +77,7 @@ const MenuButtonContent = styled(Flex)`
const MenuButtonText = styled(Flex)`
color: ${getColor};
+ user-select: none;
`
const MenuButtonTextMuted = styled(Flex)`
@@ -179,12 +180,11 @@ DropmenuButton.propTypes = {
}
const DropmenuListScrollerBase = styled(Flex)`
- position: absolute;
- bottom: ${props ... | feat(ui): add ability to scroll dropdown menus with arrow buttons | null | ln-zap/zap-desktop | MIT License | JavaScript |
-import { AnyAction } from 'redux'
-import Appointment from 'model/Appointment'
-import { createMemoryHistory } from 'history'
-import AppointmentRepository from 'clients/db/AppointmentsRepository'
-import { mocked } from 'ts-jest/utils'
-import appointments, {
- createAppointmentStart,
- createAppointment,
-} from '..... | feat(i8ln): accidently committed deleted file | null | hospitalrun/hospitalrun-frontend | MIT License | TypeScript |
@@ -479,6 +479,7 @@ impl Default for HALClient {
fn default() -> Self {
HALClient {
client: reqwest::ClientBuilder::new()
+ .user_agent(format!("{}/{}", env!("CARGO_PKG_NAME"), env!("CARGO_PKG_VERSION")))
.build()
.unwrap(),
url: "".to_string(),
@@ -1099,6 +1100,27 @@ mod tests {
expect!(json_content_type(&response)).t... | feat: add user-agent header to the HALClient | null | pact-foundation/pact-reference | MIT License | Rust |
import Foundation
-import Foundation
-
protocol LayersComposer {
func attach(containers: [Container])
func attach(corePlugins: [UICorePlugin])
@@ -16,6 +14,17 @@ class BackgroundLayer: UIView, Layer {
}
class LayersCompositor: LayersComposer {
+
+ private weak var rootView: UIView?
+
+ private var layers: [Layer] = [
+... | feat: adds initializer to LayersCompositor | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -265,12 +265,18 @@ open class AVFoundationPlayback: Playback {
}
open override func seek(_ timeInterval: TimeInterval) {
+ var timeToSeek = timeInterval
+
+ if supportDVR, let seekStart = seekableTimeRanges?.first?.timeRangeValue.start.seconds {
+ timeToSeek = timeToSeek + seekStart
+ }
+
if !isReadyToSeek {
- seekT... | feat: modify seek method to be able to execute seek with dvr enabled | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -177,8 +177,12 @@ const ENTRY_COUNT: usize = 512;
///
/// This struct implements the `Index` and `IndexMut` traits, so the entries can be accessed
/// through index operations. For example, `page_table[15]` returns the 15th page table entry.
+///
+/// Note that while this type implements [`Clone`], the users must be... | feat: implement `Clone` for `PageTable` | null | rust-osdev/x86_64 | Apache License 2.0 | Rust |
@@ -13,21 +13,21 @@ export class MasterbooksPopupComponent implements OnInit {
private static BOOKS: { [index: number]: number[] } = {
//CRP
- 8: [8135, 7778, 9336, 12244, 14126, 17869, 22309, 24266, 7786, 29484, 35618],
+ 8: [8135, 7778, 9336, 12244, 14126, 17869, 22309, 24266, 7786, 29484, 35618, 37734],
//BSM
- 9: [... | feat(profile): added new 6.2 masterbooks in masterbooks popup | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -356,6 +356,18 @@ class Cache
$this->driver->save($id, $data, $lifetime);
}
+ /**
+ * Delete item from the chache
+ */
+ public function delete(string $id) : void
+ {
+ if (! $this->flextype['registry']->get('settings.cache.enabled')) {
+ return;
+ }
+
+ $this->driver->delete($id);
+ }
+
/**
* Clear Cache
*/
| feat(core): add new public method delete() | null | flextype/flextype | MIT License | PHP |
@@ -8,9 +8,8 @@ USAGE=$(cat <<-END
Usage:
$ docker run -it --rm \\
-e IMAGE=docker.io/library/alpine:3.6 \\
- -e IMAGE_FILE=image.tar.gz \\
+ -e AUTH=admin:Pwd123456 \\
-v /var/run/docker.sock:/var/run/docker.sock \\
- -v /config.json:/root/.docker/config.json \\
image-resource-resolver:latest <COMMAND>
Supported comma... | feat: flexible image resolver and allow pass credential | null | caicloud/cyclone | Apache License 2.0 | Shell |
@@ -72,6 +72,11 @@ impl Span {
pub fn child(&self, name: impl Into<Cow<'static, str>>) -> Self {
self.ctx.child(name)
}
+
+ /// Link this span to another context.
+ pub fn link(&mut self, other: &SpanContext) {
+ self.ctx.links.push((other.trace_id, other.span_id));
+ }
}
#[derive(Debug, Clone)]
@@ -177,6 +182,13 @@ im... | feat: simplify linking of spans | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -391,6 +391,11 @@ impl Loader {
.arg("-o")
.arg(&library_path)
.arg("-O2");
+
+ // For conditional compilation of external scanner code when
+ // used internally by `tree-siteer parse` and other sub commands.
+ command.arg("-DTREE_SITTER_INTERNAL_BUILD");
+
if let Some(scanner_path) = scanner_path.as_ref() {
if scan... | feat(cli/loader): Add TREE_SITTER_INTERNAL_BUILD C/C++ compiler definition | null | tree-sitter/tree-sitter | MIT License | Rust |
@@ -28,6 +28,7 @@ export type DatePickerProps = Pick<
| 'afterShow'
| 'afterClose'
| 'onClick'
+ | 'title'
> & {
value?: Date
defaultValue?: Date
@@ -188,6 +189,7 @@ export const DatePicker = withDefaultProps(defaultProps)<DatePickerProps>(
afterShow={props.afterShow}
afterClose={props.afterClose}
onClick={props.onClic... | feat: DatePicker add `title` prop | null | ant-design/ant-design-mobile | MIT License | TypeScript |
@@ -3,4 +3,4 @@ import sys
def install(package):
- return subprocess.check_call([sys.executable, '-m', 'pip', 'install', package])
+ return subprocess.check_call(f'{sys.executable} -m pip install {package}', shell=True)
| feat: use shell=True for pip install to allow complex parameters in requirements | null | deeppavlov/deeppavlov | Apache License 2.0 | Python |
@@ -129,6 +129,12 @@ wrapPull() {
done
fi
fi
+
+ # Write commit id to output file, which will be collected by Cyclone
+ cd $WORKDIR/data
+ echo "Collect commit id to result file /__result__ ..."
+ echo "LastCommitID:`git log -n 1 --pretty=format:"%H"`" >> /__result__;
+ cat /__result__;
}
# Revision can be in two diffe... | feat: get last commit id in git resolver | null | caicloud/cyclone | Apache License 2.0 | Shell |
@@ -13,7 +13,6 @@ export default class Grid extends React.Component<GridProps, any> {
columnNum: 4,
carouselMaxRow: 2,
prefixCls: 'am-grid',
- onClick: () => {},
};
constructor(props) {
super(props);
@@ -45,13 +44,13 @@ export default class Grid extends React.Component<GridProps, any> {
}
return pagesArr;
}
- renderIte... | feat(Grid): accepts carousel api. close | null | ant-design/ant-design-mobile | MIT License | TypeScript |
@@ -25,7 +25,8 @@ import UIKit
*/
public final class DropInComponent: NSObject,
AnyDropInComponent,
- ActionHandlingComponent {
+ ActionHandlingComponent,
+ LoadingComponent {
internal var configuration: Configuration
@@ -247,7 +248,8 @@ public final class DropInComponent: NSObject,
paymentInProgress = false
}
- intern... | feat: make DropInComponent a LoadingComponent | null | adyen/adyen-ios | MIT License | Swift |
@@ -18,9 +18,13 @@ use crate::sql::optimizer::rule::Rule;
use crate::sql::optimizer::rule::RuleID;
use crate::sql::optimizer::rule::TransformResult;
use crate::sql::optimizer::SExpr;
+use crate::sql::plans::BoundColumnRef;
+use crate::sql::plans::ComparisonExpr;
+use crate::sql::plans::ComparisonOp;
use crate::sql::pla... | feat(optimizer): remove useless predicate in filter | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -101,6 +101,7 @@ public class ProcessDefinitionResourceImpl implements ProcessDefinitionResource
@Override
public ProcessInstanceDto startProcessInstance(UriInfo context, StartProcessInstanceDto parameters) {
+ parameters = parameters == null ? new StartProcessInstanceDto() : parameters;
ProcessInstanceWithVariables... | feat(engine-rest): start a process instance on post with an empty body | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -59,6 +59,22 @@ open class AVFoundationPlayback: Playback {
}
}
+ #if os(tvOS)
+ private let minSizeToShowSubtitle = CGSize(width: 560, height: 312)
+ #else
+ private let minSizeToShowSubtitle = CGSize(width: 280, height: 156)
+ #endif
+
+ private var lastSelectedSubtitle: MediaOption?
+
+ private func hideSubtitleF... | feat: add logic to hide subtitle in small player sizes | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -183,14 +183,15 @@ def show(run_id: str) -> None:
@ingest.command()
@click.option("--run-id", required=True, type=str)
+@click.option("-f", "--force", required=False, is_flag=True)
@click.option("--dry-run", "-n", required=False, is_flag=True, default=False)
@telemetry.with_telemetry
-def rollback(run_id: str, dry_r... | feat(cli): add --force option to ingest rollback subcommand | null | linkedin/datahub | Apache License 2.0 | Python |
@@ -144,8 +144,7 @@ public extension SolanaSDK {
destination: PublicKey,
owner: PublicKey
) -> TransactionInstruction {
-
- TransactionInstruction(
+ .init(
keys: [
Account.Meta(publicKey: account, isSigner: false, isWritable: true),
Account.Meta(publicKey: destination, isSigner: false, isWritable: true),
@@ -156,6 +15... | feat: closeAccountInstruction with signers | null | p2p-org/solana-swift | MIT License | Swift |
import net.java.sip.communicator.impl.protocol.jabber.extensions.jingle.*;
+import org.jitsi.impl.libjitsi.*;
+import org.jitsi.service.configuration.*;
import org.jitsi.service.neomedia.*;
import org.jitsi.service.neomedia.codec.*;
*/
public class JingleOfferFactory
{
+ /**
+ * The property name of the VP8 payload typ... | feat: Makes the payload types configurable via sys props | null | jitsi/jicofo | Apache License 2.0 | Java |
-#!/bin/bash
+#!/bin/sh
-muffet -e .*/edit/.* -e .*/f2895a6e-ca7c-0010-82c7-eda71af511fa.html -e .*exploit-db\.com -e .*corp[/:].* -e .*:8033/.* -e .*/apps.* -e .*/bugs.* -e .*maven\.apache\.org.* -e .*docs\.oracle\.com.* -e .*wala\.sourceforge\.net.* -t 20 http://127.0.0.1:8000
\ No newline at end of file
+URL=${1:-12... | feat(docs): accept URL parameter | null | eclipse/steady | Apache License 2.0 | Shell |
@@ -672,8 +672,8 @@ def get_futures_index(df):
if __name__ == "__main__":
get_futures_daily_df = get_futures_daily(
- start_day="20200415", end_day="20200416", market="DCE", index_bar=False
+ start_day="20200701", end_day="20200716", market="DCE", index_bar=False
)
print(get_futures_daily_df)
- get_dce_daily_df = get_d... | feat(option_commodity_sina.py): add option_commodity_sina interface | null | jindaxiang/akshare | MIT License | Python |
@@ -5,6 +5,7 @@ use serde_derive::*;
use std::fmt::Debug;
use std::fs::OpenOptions;
use std::io::prelude::*;
+use tempfile::tempdir;
/// Generic wrapper struct around GtkXiConfig and XiConfig
#[derive(Clone, Debug)]
@@ -98,23 +99,25 @@ impl<T> Config<T> {
self.config = config_toml.clone();
- config_file.sync_all()?;
-
... | feat(pref_storage): save config atomically | null | cogitri/tau | MIT License | Rust |
@@ -113,7 +113,7 @@ return [
'name' => 'Android',
'version' => '0.0.0-SNAPSHOT',
'url' => 'https://github.com/appwrite/sdk-for-android',
- 'package' => 'https://pub.dev/packages/appwrite',
+ 'package' => 'https://repo1.maven.org/maven2/io/appwrite/sdk-for-android/',
'enabled' => true,
'beta' => true,
'dev' => false,
| feat: update package link | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -260,8 +260,14 @@ open class MediaControl(core: Core) : UICorePlugin(core) {
override fun destroy() {
controlPlugins.clear()
+ stopListeners()
view.setOnClickListener(null)
handler.removeCallbacksAndMessages(null)
super.destroy()
}
+
+ private fun stopListeners() {
+ containerListenerIds.forEach(::stopListening)
+ p... | feat(init_destroy_plugin): add function to stop container and playback listeners in media control | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -378,12 +378,6 @@ impl Database {
chunk_ids: &[u32],
predicate: Predicate,
) -> Result<RecordBatch> {
- if !predicate.is_empty() {
- return Err(Error::UnsupportedOperation {
- msg: "predicate support on `table_names` not implemented".to_owned(),
- });
- }
-
let partition = self
.partitions
.get(partition_key)
@@ -39... | feat: wire up predicate support to external API | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -329,6 +329,8 @@ class TwillServiceProvider extends ServiceProvider
}
/**
+ * Resolve and include a given view expression in the project, Twill internals or a package.
+ *
* @param string $view
* @param string $expression
* @return string
@@ -337,7 +339,13 @@ class TwillServiceProvider extends ServiceProvider
{
[$na... | feat: Support vendor form field partials | null | area17/twill | Apache License 2.0 | PHP |
@@ -106,6 +106,29 @@ const Challenges = ({ classes }) => {
return filtered
}, [problems, categories, showSolved, solveIDs])
+ const { categoryCounts, solvedCount } = useMemo(() => {
+ const categoryCounts = {}
+ let solvedCount = 0
+ for (const problem of problems) {
+ const solved = solveIDs.includes(problem.id)
+ if ... | feat(client): add solved count in challenges sidebar | null | redpwn/rctf | BSD 3-Clause New or Revised License | JavaScript |
@@ -45,6 +45,7 @@ frappe.ui.get_print_settings = function (pdf, callback, letter_head, pick_column
fieldname: "columns",
depends_on: "pick_columns",
columns: 2,
+ select_all: true,
options: pick_columns.map((df) => ({
label: __(df.label),
value: df.fieldname,
| feat: allow user to pick all columns | null | frappe/frappe | MIT License | JavaScript |
+package org.kestra.runner.kafka;
+
+import io.micronaut.core.util.CollectionUtils;
+import io.micronaut.health.HealthStatus;
+import io.micronaut.management.health.indicator.HealthIndicator;
+import io.micronaut.management.health.indicator.HealthResult;
+import io.reactivex.Flowable;
+import org.apache.kafka.clients.a... | feat(runner-kafka): add a KafkaHealthIndicator | null | kestra-io/kestra | Apache License 2.0 | Java |
*/
package org.eolang.maven;
-import java.nio.file.Files;
import java.nio.file.Path;
import org.cactoos.io.ResourceOf;
import org.cactoos.text.TextOf;
@@ -120,33 +119,19 @@ final class ParseMojoTest {
}
@Test
- void testDoNotCrashesWithFailOnError(@TempDir final Path temp)
- throws Exception {
- final Path src = temp.r... | feat(#1479): simplify testDoNotCrashesWithFailOnError test | null | cqfn/eo | MIT License | Java |
@@ -11,6 +11,7 @@ import au.com.dius.pact.core.model.Response;
import au.com.dius.pact.core.model.generators.Category;
import au.com.dius.pact.core.model.generators.Generators;
import au.com.dius.pact.core.model.generators.ProviderStateGenerator;
+import au.com.dius.pact.core.model.matchingrules.ContentTypeMatcher;
imp... | feat: set content type matcher with withBinaryData DSL method | null | pact-foundation/pact-jvm | Apache License 2.0 | Java |
@@ -64,9 +64,7 @@ public final class IdentityPlugin extends Plugin {
private static final String PUBLIC_HEADER = "-----BEGIN PUBLIC KEY-----";
private static final String PUBLIC_FOOTER = "-----END PUBLIC KEY-----";
- private static final String PKCS1_HEADER_START = "-----BEGIN RSA PRIVATE KEY-----";
private static fina... | feat(auth): remove comment about PKCS#1 and JWK | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -327,6 +327,7 @@ class MediaControl(core: Core) : UICorePlugin(core, name = name) {
inner class MediaControlDoubleTapListener : GestureDetector.OnDoubleTapListener {
override fun onDoubleTap(event: MotionEvent?): Boolean {
triggerDoubleTapEvent(event)
+ hide()
return true
}
| feat(media_control_double_tap): hide media control on double tap | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -112,6 +112,9 @@ var args struct {
// Force STS mode for interactive and validation
sts bool
+ // Force IAM mode (mint mode) for interactive
+ nonSts bool
+
// Account IAM Roles
roleARN string
externalID string
@@ -176,6 +179,18 @@ func init() {
false,
"Use AWS Security Token Service (STS) instead of IAM credentials... | feat: add warn messages about sts/non sts modes | null | openshift/rosa | Apache License 2.0 | Go |
@@ -27,7 +27,7 @@ const knexConfig: Knex.Config = {
},
pool: {
min: 1,
- max: client === 'sqlite' ? 4 : 4,
+ max: client === 'sqlite' ? 4 : 8,
acquireTimeoutMillis: 1000 * 5 * 60, // timeout 5 minutes
afterCreate: (conn: any, done: (err: Error, conn: any) => void) => {
if (client === 'sqlite') {
| feat: change pool size in pg to 8 | null | fengkx/noderssbot | MIT License | TypeScript |
@@ -25,6 +25,10 @@ class V06 extends Filter {
$parsedResponse = $this->parseFile($content);
break;
+ case Response::MODEL_FILE_LIST :
+ $parsedResponse = $content;
+ break;
+
case Response::MODEL_USER :
$parsedResponse = $this->parseUser($content);
break;
| feat: parse file list | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -12,19 +12,12 @@ static std::vector<std::string> eventTypeNames {
"onanimationend",
"onanimationiteration",
"onanimationstart",
- "onauxclick",
- "onbeforematch",
"onblur",
"oncancel",
"oncanplay",
"oncanplaythrough",
"onchange",
"onclick",
- "onclose",
- "oncontextmenu",
- "oncontextlost",
- "oncontextrestored",
- ... | feat: reduce event type names | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -226,7 +226,7 @@ def get_title_field_query(meta):
def build_for_autosuggest(res, doctype):
results = []
meta = frappe.get_meta(doctype)
- if not (meta.title_field and meta.show_title_field_in_link) or doctype in (frappe.get_hooks().standard_queries or {}):
+ if not (meta.title_field and meta.show_title_field_in_link... | feat: show link titles for standard queries | null | frappe/frappe | MIT License | Python |
+use crate::lib::Vec;
use crate::{Address, LocalMessage};
use serde::{Deserialize, Serialize};
@@ -12,7 +13,7 @@ pub enum RouterMessage {
/// Register a new client to this routing scope
Register {
/// Specify an accept scope for this client
- accepts: Address,
+ accepts: Vec<Address>,
/// The clients own worker bus add... | feat(rust): add support for multiple accept addresses for router | null | ockam-network/ockam | Apache License 2.0 | Rust |
package me.melijn.melijnbot.internals.command
import io.ktor.client.*
+import kotlinx.coroutines.delay
import me.melijn.melijnbot.Container
import me.melijn.melijnbot.commands.administration.ScriptsCommand
import me.melijn.melijnbot.database.DaoManager
@@ -331,6 +332,7 @@ class CommandClient(private val commandList: Se... | feat: allow static command args in scripts, added a 1s delay between executing each command | null | toxicmushroom/melijn | MIT License | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.