diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -5,6 +5,7 @@ import React, { useState, useMemo, SetStateAction, + useCallback, } from 'react' import { jsx, @@ -29,6 +30,8 @@ import { } from './custom-properties' const STORAGE_KEY = 'theme-ui-color-mode' +const DARK_QUERY = '(prefers-color-scheme: dark)' +const LIGHT_QUERY = '(prefers-color-scheme: light)' declare...
feat(color-modes): add media query event listeners and effects
null
system-ui/theme-ui
MIT License
TypeScript
@@ -78,7 +78,7 @@ class FieldsetsController extends Controller $id = $this->slugify->slugify($data['id']); $data = ['title' => $data['title'], 'default_field' => 'title', - 'icon' => 'far fa-file-alt', + 'icon' => $data['icon'], 'sections' => [ 'main' => [ 'title' => 'Main',
feat(admin-plugin): add ability to set individual icons
null
flextype/flextype
MIT License
PHP
@@ -76,6 +76,18 @@ frappe.ui.form.ControlAutocomplete = class ControlAutoComplete extends frappe.ui }; } + init_option_cache() { + if (!this.$input.cache) { + this.$input.cache = {}; + } + if (!this.$input.cache[this.doctype]) { + this.$input.cache[this.doctype] = {}; + } + if (!this.$input.cache[this.doctype][this.df....
feat: cache options & parsing set_query
null
frappe/frappe
MIT License
JavaScript
package de.zalando.zally.ruleset.zalando import com.fasterxml.jackson.databind.JsonNode -import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.databind.node.ObjectNode import com.google.common.io.Resources import com.typesafe.config.Config @@ -67,40 +66,35 @@ class UseOpenApiRule(rulesConfig: ...
feat(server): Fall back to built-in schemas independantly rather than as a set
null
zalando/zally
MIT License
Kotlin
@@ -40,12 +40,24 @@ init(char token[]) client* fast_init(const char config_file[]) { - // This will be returned from this function - // it has to be static. It also means we can - // only have one setting per main. + /* + * settings will be returned from this function, + * it has to be static. It also means we can + * ...
feat: add a check to make sure fast_init is called only once
null
cee-studio/orca
MIT License
C++
@@ -20,6 +20,7 @@ pub const BYTES_1_GIB: u64 = bytes![1; GiB]; use crate::get_cbit_mask; use crate::hostmap::HOSTMAP; use core::convert::TryFrom; +use core::ops::Range; use nbytes::bytes; use primordial::{Address, Register}; @@ -154,12 +155,18 @@ impl<U> TryFrom<ShimVirtAddr<U>> for ShimPhysUnencryptedAddr<U> { fn try_...
feat(shim-sev): check `ShimPhysUnencryptedAddr` for sallyport addr range
null
enarx/enarx
Apache License 2.0
Rust
@@ -9,4 +9,12 @@ use OwenIt\Auditing\Contracts\Auditable as AuditableContract; class AuditableModelStub extends Model implements AuditableContract { use Auditable; + + /** + * {@inheritdoc} + */ + public function resolveIpAddress() + { + return '127.0.0.1'; + } }
feat(AuditableModelStub): override resolveIpAddress() method
null
owen-it/laravel-auditing
MIT License
PHP
-import {Card, Grid} from '@sanity/ui' +import {Card, Grid, Theme} from '@sanity/ui' import React from 'react' import styled from 'styled-components' import {MOVING_ITEM_CLASS_NAME, sortableGrid, sortableItem, sortableList} from './sortable' @@ -6,6 +6,24 @@ import {MOVING_ITEM_CLASS_NAME, sortableGrid, sortableItem, s...
feat(form-builder): update array `ListItem` design
null
sanity-io/sanity
MIT License
TypeScript
@@ -47,14 +47,10 @@ class BanService( val guild = shardManager.getGuildById(ban.guildId) ?: continue //If ban exists, unban and send log messages - val guildBan = guild.retrieveBanById(ban.bannedId).awaitOrNull() ?: continue - val bannedUser = shardManager.retrieveUserById(guildBan.user.idLong).awaitOrNull() ?: continu...
feat: no more retrieve ban
null
toxicmushroom/melijn
MIT License
Kotlin
@@ -102,7 +102,13 @@ async fn load_remote_system_tables( connection: Connection, ) -> Result<()> { // all prefixed with "system." - let table_names = vec!["chunks", "chunk_columns", "columns", "operations"]; + let table_names = vec![ + "chunks", + "chunk_columns", + "columns", + "operations", + "queries", + ]; let star...
feat: add queries system table
null
influxdata/influxdb_iox
Apache License 2.0
Rust
#!/usr/bin/env bash set -euo pipefail +if [[ -f "/proc/sys/net/bridge/bridge-nf-call-iptables" ]]; + then echo 1 > /proc/sys/net/bridge/bridge-nf-call-iptables; +fi + +if [[ -f "/proc/sys/net/ipv4/ip_forward" ]]; + then echo 1 > /proc/sys/net/ipv4/ip_forward; +fi + +if [[ -f "/proc/sys/net/ipv4/conf/all/rp_filter" ]]; ...
feat: set kernel args when start cniserver
null
kubeovn/kube-ovn
Apache License 2.0
Shell
@@ -847,8 +847,13 @@ export const Block: React.FC<BlockProps> = (props) => { return ( <tr className='notion-simple-table-row'> {order.map((column) => { + const color = formatMap[column].color return ( - <td key={column} style={{ width: formatMap[column].width }}> + <td + key={column} + className={color ? `notion-${colo...
feat: add background color setting for table cell
null
notionx/react-notion-x
MIT License
TypeScript
@@ -113,7 +113,7 @@ class UpdateSearchCommand extends Command $content = Redis::Cache()->get("xiv_{$contentName}_{$id}"); // if no name_en, skip it! - if (empty($content->Name_en)) { + if (empty($content->Name_en) && $index != 'map') { continue; }
feat: allow map to be pushed even if it has no direct name
null
xivapi/xivapi.com
MIT License
PHP
@@ -34,6 +34,9 @@ use crate::table_empty::TableEmptyIter; use crate::table_empty::TableEmptyIterMut; use crate::unsized_hashtable::FallbackKey; +/// Simple unsized hashtable is used for storing unsized keys in arena. It can be worked with HashMethodSerializer. +/// Different from `UnsizedHashtable`, it doesn't use adpa...
feat(query): add comments
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -55,7 +55,7 @@ class Result extends BaseResult implements ResultInterface */ public function getFieldCount(): int { - return $this->resultID->field_count; + return oci_num_fields($this->resultID); } //--------------------------------------------------------------------
feat: add get field count method
null
codeigniter4/codeigniter4
MIT License
PHP
@@ -32,6 +32,7 @@ public class NetworkingManagerEditor : Editor private SerializedProperty connectionApprovalProperty; private SerializedProperty secondsHistoryProperty; private SerializedProperty enableTimeResyncProperty; + private SerializedProperty enableNetworkedVarProperty; private SerializedProperty forceSamePref...
feat(editor): Added EnableNetworkedVar option to inspector
null
unity-technologies/com.unity.multiplayer.mlapi
MIT License
C#
@@ -51,7 +51,7 @@ if (! function_exists('filter')) { if (isset($params['sort_by'])) { if (isset($params['sort_by']['key']) && isset($params['sort_by']['direction'])) { - $collection->sortBySubKey($params['sort_by']['key'], $params['sort_by']['direction']); + $collection->sortBy($params['sort_by']['key'], $params['sort_...
feat(filter): use Atomastic Components
null
flextype/flextype
MIT License
PHP
@@ -17,9 +17,7 @@ declare(strict_types=1); namespace Flextype\Parsers\Shortcodes; use Thunder\Shortcode\Shortcode\ShortcodeInterface; -use Flextype\Entries\Entries; -use function entries; use function parsers; use function registry;
feat(shortcodes): upd `[if]` shortcode
null
flextype/flextype
MIT License
PHP
+// Package event provides a basic API for app modules to emit events. +package event + +import ( + "context" + + "google.golang.org/protobuf/runtime/protoiface" +) + +// Service represents an event service which can retrieve and set an event manager in a context. +// event.Service is a core API type that should be pro...
feat(core): add event service
null
cosmos/cosmos-sdk
Apache License 2.0
Go
@@ -70,14 +70,10 @@ const Streams: FC<StreamsProps> = (props) => { console.log({token, amount, recipient, startDate, endDate}) console.log(contract) contract.createStream(recipient, token, startDate.getTime() / 1000, endDate.getTime() / 1000, amount, false) - // write({args: [ - // recipient, - // token, - // startDate...
feat: cancel stream
null
sushiswap/sushiswap
MIT License
TypeScript
@@ -141,14 +141,18 @@ class _ContractBase: build_json = self._project._build.get(name) offset = slice(*build_json["offset"]) source = build_json["source"][offset] - flattened_source = f"{flattened_source}\n\n{source}" + file_name = Path(build_json["sourcePath"]).parts[-1] + flattened_source = f"{flattened_source}\n\n//...
feat: add filename and license to flatten
null
eth-brownie/brownie
MIT License
Python
@@ -116,12 +116,19 @@ public final class ParseMojo extends SafeMojo { @Override public void exec() throws IOException { - final int total = this.scopedTojos() + final List<Supplier<Integer>> tasks = this.scopedTojos() .select(row -> row.exists(AssembleMojo.ATTR_EO)) .stream() .filter(this::hasNotAlreadyParsed) .map(thi...
feat(#1564): add classloaders
null
cqfn/eo
MIT License
Java
*/ package org.eolang.maven.footprint; +import java.io.IOException; import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.Random; +import java.util.UUID; import org.hamcrest.MatcherAssert; import org.hamcrest.Matchers; import org.junit.jupiter.api.Test; @@ -50,4 +54,32 @@ final class FtDefaultTest {...
feat(#1609): add test for FtDefault.list()
null
cqfn/eo
MIT License
Java
@@ -211,6 +211,7 @@ async fn rm_query<T: IpfsTypes>( #[derive(Debug, Deserialize)] pub struct StatQuery { arg: String, + timeout: Option<StringSerialized<humantime::Duration>>, } #[derive(Debug, Serialize)] @@ -225,7 +226,13 @@ async fn stat_query<T: IpfsTypes>( query: StatQuery, ) -> Result<impl Reply, Rejection> { le...
feat: timeout on block/stat
null
rs-ipfs/rust-ipfs
Apache License 2.0
Rust
@@ -96,4 +96,16 @@ $app->group('/' . $admin_route, function () use ($app) : void { $app->get('/tools/cache', 'ToolsController:cache')->setName('admin.tools.cache'); $app->post('/tools/cache', 'ToolsController:clearCacheProcess')->setName('admin.tools.clearCacheProcess'); $app->post('/tools/cache-all', 'ToolsController:...
feat(admin-plugin): add new routes for API's interface
null
flextype/flextype
MIT License
PHP
+import { IID } from "@thi.ng/api/api"; import { fromEvent } from "@thi.ng/rstream/from/event"; import { merge, StreamMerge } from "@thi.ng/rstream/stream-merge"; import { map } from "@thi.ng/transducers/xform/map"; @@ -22,7 +23,7 @@ export interface GestureEvent { [1]: GestureInfo; } -export interface GestureStreamOpt...
feat(rstream-gestures): allows partial opts, add ID option
null
thi-ng/umbrella
Apache License 2.0
TypeScript
+"""Base Plugin class.""" +from abc import ABC, abstractmethod + + +class BasePlugin(ABC): + """All Plugins should inherit from this base class.""" + + @abstractmethod + def create(self): + """Implement the Resource create operation.""" + pass + + @abstractmethod + def delete(self): + """Implement the Resource deletion...
feat: Add BasePlugin structure
null
foremast/foremast
Apache License 2.0
Python
@@ -619,36 +619,26 @@ class Orbit(OrbitCreationMixin): res = orbit_new return res - def plot(self, label=None, use_3d=False, interactive=False): + def plot(self, backend_name="matplotlib2D", label=None): """Plots the orbit. Parameters ---------- + backend_name : str + Name of the plotting backend to be used. label : st...
feat: update Orbit.plot method
null
poliastro/poliastro
MIT License
Python
@@ -582,8 +582,10 @@ open class AVFoundationPlayback: Playback, AVPlayerItemInfoDelegate { open override func seekToLivePosition() { guard canSeek, let liveCurrentSeekableTimeRange = player.currentItem?.seekableTimeRanges.last else { return } let livePosition = liveCurrentSeekableTimeRange.timeRangeValue.end.seconds - ...
feat: Adjust seek to live edge
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
use clap::Args; +use rand::prelude::random; + use std::{env::current_exe, fs::OpenOptions, process::Command, time::Duration}; use crate::{ @@ -15,7 +17,7 @@ use ockam_api::{ #[derive(Clone, Debug, Args)] pub struct CreateCommand { /// Name of the node. - #[clap(default_value = "default")] + #[clap(default_value_t = hex...
feat(rust): `node create` default to a random 4 byte hex string
null
ockam-network/ockam
Apache License 2.0
Rust
using System.Text; using UnityEditor; using UnityEditorInternal; +using UnityEditorInternal.VR; using UnityEngine; namespace VRTK @@ -103,6 +104,34 @@ private void RefreshData() } ); + Append( + "VR Settings", + () => + { + foreach (BuildTargetGroup targetGroup in VRTK_SharedMethods.GetValidBuildTargetGroups()) + { + b...
feat(SupportInfo): add VR settings
null
extendrealityltd/vrtk
MIT License
C#
@@ -255,6 +255,10 @@ def init(force: bool=False, out_dir: str=OUTPUT_DIR) -> None: os.makedirs(out_dir, exist_ok=True) is_empty = not len(set(os.listdir(out_dir)) - ALLOWED_IN_OUTPUT_DIR) + if (Path(out_dir) / JSON_INDEX_FILENAME).exists(): + stderr("[!] This folder contains a JSON index. It is deprecated, and will no ...
feat: Add deprecation warning for index.json
null
archivebox/archivebox
MIT License
Python
@@ -443,10 +443,26 @@ func (n *OpenBazaarNode) SendRefund(peerID string, refundMessage *pb.RicardianCo log.Errorf("failed to marshal the contract: %v", err) return err } + // Create the REFUND message m := pb.Message{ MessageType: pb.Message_REFUND, Payload: a, } + + // Save REFUND message to the database for this orde...
feat: Save refund message in database
null
openbazaar/openbazaar-go
MIT License
Go
@@ -46,6 +46,10 @@ build_and_push_image() { echo "++++++++++++ Push Image built -------" docker push $REGISTRY_OWNER/activity:$APPLICATION_NAME_DEV-$TRAVIS_COMMIT + # TODO add timestamp + docker logout + docker login -p=$DOCKER_HUB_PASSWORD -u=$DOCKER_HUB_USERNAME + docker tag $REGISTRY_OWNER/activity:$APPLICATION_NAME...
feat(CI): login to new Docker Hub repo
null
hikaya-io/activity
Apache License 2.0
Shell
@@ -84,6 +84,15 @@ class WXKG12LMLightController(LightController): "release": Light.RELEASE, } + def get_deconz_actions_mapping(self) -> TypeActionsMapping: + return { + 1002: Light.TOGGLE, # button_1_press + 1004: Light.ON_FULL_BRIGHTNESS, # button_1_double_press + 1006: Light.ON_MIN_BRIGHTNESS, # button_1_shake + 100...
feat(device): add deCONZ support for WXKG12LM xiaomi button
null
xaviml/controllerx
MIT License
Python
@@ -8,26 +8,70 @@ const baseTheme = ({ primary, secondary }) => { const components = { button: { padding: { - top: spacing.small, right: spacing.large, - bottom: spacing.small, left: spacing.large, }, + height: { + normal: 46, + small: 32, + }, + types: { + contained: { border: { width: 'none', radius: radii.circle, },...
feat(basetheme): add button component to the baseTheme
null
gympass/yoga
MIT License
JavaScript
@@ -793,6 +793,16 @@ func init() { return err } + eip, err := srv.GetString("eip") + if err != nil && err.Error() != "Get: key not found" { + return err + } + + vpcid, err := srv.GetString("vpc_id") + if err != nil { + return err + } + address := make([]string, 0) nics, err := srv.GetArray("nics") if err != nil { @@ -8...
feat(climc): add SSH through EIP in server-ssh
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -109,6 +109,7 @@ pub unsafe extern "sysv64" fn _syscall_enter() -> ! { USR = const USR_RSP_OFF, KRN = const KERNEL_RSP_OFF, + syscall_rust = sym syscall_rust, options(noreturn)
feat(shim-sev): indent syscall asm block
null
enarx/enarx
Apache License 2.0
Rust
@@ -31,6 +31,7 @@ namespace PepperDash.Essentials.Core.Shades public interface IShadesOpenCloseStop : IShadesOpenClose { void StopOrPreset(); + string StopOrPresetButtonLabel; } /// <summary>
feat(essentials): Adds label property to shade interface
null
pepperdash/essentials
MIT License
C#
<div class="max-w-sm w-full space-y-2 pointer-events-auto flex flex-col-reverse"> <template x-for="notification in notifications" :key="`notification-${notification.id}`"> <div class="max-w-sm w-full bg-white shadow-lg rounded-lg ring-1 ring-black - ring-opacity-5 relative overflow-hidden pointer-events-auto" + ring-op...
feat: add notifications dark mode
null
wireui/wireui
MIT License
PHP
@@ -26,14 +26,18 @@ class TwitterService( private val twitterToken: String, private val twitterWrapper: TwitterWrapper, val shardManager: ShardManager -) : Service("Twitter", 25, 5, TimeUnit.SECONDS) { +) : Service("Twitter", 5, 1, TimeUnit.MINUTES) { override val service: RunnableTask = RunnableTask { val twitterWebho...
feat: add security checks to TwitterService.kt
null
toxicmushroom/melijn
MIT License
Kotlin
@@ -24,6 +24,8 @@ open class MediaControl: UICorePlugin, UIGestureRecognizerDelegate { private var alwaysVisible = false private var currentlyShowing = false private var currentlyHiding = false + private var isChromeless: Bool { core?.options.bool(kChromeless) ?? false } + required public init(context: UIObject) { supe...
feat: Hide media controls when returning from background
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -329,7 +329,11 @@ public class FastRaptorWorker { // total travel time. Each randomized schedule will improve on these travel times. if (transit.hasFrequencies) { long frequencyStartTime = System.nanoTime(); + if (monteCarloDrawsPerMinute > 0) { doFrequencySearchForRound(scheduleState[round - 1], scheduleState[round...
feat(half-headway): trigger use of half-headway mode
null
conveyal/r5
MIT License
Java
@@ -35,7 +35,7 @@ full_requires = [ extras_require = { 'full': full_requires, 'test': tests_require, - 'deploy': ['sphinx', 'sphinx_rtd_theme', 'mock'], + 'deploy': ['sphinx', 'sphinx_rtd_theme'], 'opengl_rendering': ['PyOpenGL', 'PyOpenGL_accelerate'], 'torch_agents': ['torch>=1.6.0'], 'hyperparam_optimization': ['opt...
feat(docs): some minor changes
null
rlberry-py/rlberry
MIT License
Python
@@ -197,6 +197,7 @@ public class GithubRelease [Serializable] public class TransportArtifactDefinition { + public int breaking_version; public TransportArtifact[] artifacts; } @@ -236,12 +237,14 @@ public class GithubAsset [InitializeOnLoad] public class MLAPIEditor : EditorWindow { + private const int COMPATIBLE_ARTIF...
feat: Added support for subfoldered transport exports
null
unity-technologies/com.unity.multiplayer.mlapi
MIT License
C#
@@ -62,6 +62,34 @@ public void addStat(Stat stat) addChildExtension(stat); } + /** + * @return the first {@link Stat}, if any, with a specific name. + * @param name the name of the stat to match. + */ + public Stat getStat(String name) + { + for (Stat stat : getChildExtensionsOfType(Stat.class)) + { + if (stat.getName(...
feat: Adds conveneince methods
null
jitsi/jitsi
Apache License 2.0
Java
@@ -65,6 +65,7 @@ use nom::types::CompleteStr; use chrono::Local; use onig::Regex; use rand::prelude::*; +use itertools::Itertools; pub mod handles; pub mod bodies; @@ -402,8 +403,8 @@ pub extern fn write_pact_file(mock_server_port: i32, directory: *const c_char) - /// Returns a new `PactHandle`. #[no_mangle] pub exter...
feat: update FFI to support provider states with parameters
null
pact-foundation/pact-reference
MIT License
Rust
@@ -305,6 +305,7 @@ class HelpCommand : AbstractCommand("command.help") { Pair(CommandCategory.ANIMAL, "$root.field6.title"), Pair(CommandCategory.ANIME, "$root.field7.title"), Pair(CommandCategory.ECONOMY, "$root.field8.title"), + Pair(CommandCategory.GAME, "$root.field9.title"), Pair(CommandCategory.IMAGE, "$root.fie...
feat: add games category to help list and some eye candy for ui
null
toxicmushroom/melijn
MIT License
Kotlin
@@ -44,12 +44,15 @@ def get_context(context): boot_json = CLOSING_SCRIPT_TAG_PATTERN.sub("", boot_json) boot_json = json.dumps(boot_json) + include_js = hooks.get("app_include_js", []) + frappe.conf.get("app_include_js", []) + include_css = hooks.get("app_include_css", []) + frappe.conf.get("app_include_css", []) + con...
feat: Allow app_include_js and app_include_css via site config
null
frappe/frappe
MIT License
Python
@@ -38,6 +38,9 @@ public class ConditionQueryParameterDto { public static final String LESS_THAN_OPERATOR_NAME = "lt"; public static final String LESS_THAN_OR_EQUALS_OPERATOR_NAME = "lteq"; public static final String LIKE_OPERATOR_NAME = "like"; + public static final String LIKE_CASE_INSENSITIVE_OPERATOR_NAME = "likeci...
feat(rest/engine): introduce case-insensitive task queries
null
camunda/camunda-bpm-platform
Apache License 2.0
Java
@@ -7,7 +7,6 @@ import pandas as pd import seaborn as sns from joblib import Parallel, delayed from copy import deepcopy - from rlberry.envs import OnlineModel @@ -171,7 +170,7 @@ class ComparePolicy: print("No output to be plotted.") return - with sns.axes_style("darkgrid"): + with sns.axes_style("whitegrid"): ax = sn...
feat(eval): chaging sns style for plot
null
rlberry-py/rlberry
MIT License
Python
@@ -15,14 +15,23 @@ class Canonicalizer(gast.NodeTransformer): self.keepgoing_flag = '#keepgoing' self.breaked_flag = '#breaked_' self.continued_flag = '#continued_' + self.returned_flag = '#returned_' + self.returned_value_key = '#returned_value' else: self.keepgoing_flag = 'keepgoing' self.breaked_flag = 'breaked_' s...
feat: Support return statement
null
pfnet-research/chainer-compiler
MIT License
Python
@@ -29,7 +29,7 @@ class EntriesDeleteCommand extends Command $io = new SymfonyStyle($input, $output); if (entries()->delete($input->getOption('id'))) { - $io->success('Deleted entry ' . $input->getOption('id')); + $io->success('Entry ' . $input->getOption('id') . ' deleted.'); return Command::SUCCESS; } else { $io->err...
feat(console): update EntriesDeleteCommand
null
flextype/flextype
MIT License
PHP
@@ -21,6 +21,7 @@ import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.junit.runners.Suite.SuiteClasses; +import com.b2international.snowowl.core.bundle.BundleApiTest; import com.b2international.snowowl.core.rest.auth.BasicAuthenticationTest; import com.b2international.snowowl.core.rest.codesyste...
feat: add BundleApiTest to SnowOwl API tests
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
+/* + * Copyright 2022 B2i Healthcare Pte Ltd, http://b2i.sg + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required...
feat(core): Introduce generic taxonomy change processor for concept docs
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -154,9 +154,8 @@ open class Player(private val base: BaseObject = BaseObject()) : Fragment(), Eve override fun onPause() { super.onPause() - activity?.let { - if (!it.isRunningInAndroidTvDevice()) - pause() + activity?.takeUnless { it.isRunningInAndroidTvDevice()}?.let { + if(!pause()) stop() } }
feat(dvr_fix_playing_live_videos_background): stop videos that cant be paused on onPause()
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
@@ -309,6 +309,35 @@ export class Rectangle { return this } + rotate( + degree: number, + center: Point | Point.PointLike | Point.PointData = this.getCenter(), + ) { + if (degree !== 0) { + const rad = Angle.toRad(degree) + const cos = Math.cos(rad) + const sin = Math.sin(rad) + + let p1 = this.getOrigin() + let p2 = t...
feat: rotate rectangle
null
antvis/x6
MIT License
TypeScript
callback(result.class_name); }); }; + ext.image_classification_confidence = function (imagedata, callback) { + classifyImage(imagedata, function (result) { + callback(result.confidence); + }); + }; ext.image_store = function (imagedata, label, callback) { var descriptor = { blocks : [ [ 'R', 'recognise image %s (label)...
feat: Confidence block in Scratch for images projects
null
ibm/taxinomitis
Apache License 2.0
JavaScript
package io.clappr.player -import android.app.Fragment import android.content.Context import android.os.Bundle import android.view.KeyEvent import android.view.LayoutInflater import android.view.View import android.view.ViewGroup +import androidx.fragment.app.Fragment import io.clappr.player.base.* import io.clappr.play...
feat: remove legacy fragment from player
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
@@ -105,7 +105,6 @@ JSBridge::JSBridge(int32_t contextId, const JSExceptionHandler &handler) : conte bindCSSStyleDeclaration(m_context); bindScreen(m_context); bindBlob(m_context); - bindMouseEvent(m_context); #if ENABLE_PROFILE nativePerformance->mark(PERF_JS_NATIVE_METHOD_INIT_END);
feat: delete bindMouseEvent
null
openkraken/kraken
Apache License 2.0
C++
@@ -33,6 +33,7 @@ public class NLS { LANG_LOCALES.add(new LangLocale("en", "US")); // As default language LANG_LOCALES.add(new LangLocale("zh", "CN")); + LANG_LOCALES.add(new LangLocale("zh", "TW")); LANG_LOCALES.add(new LangLocale("es", "ES")); LANG_LOCALES.add(new LangLocale("de", "DE")); LANG_LOCALES.add(new LangLoc...
feat(gui): add Traditional Chinese translation (PR
null
skylot/jadx
Apache License 2.0
Java
@@ -8,6 +8,7 @@ import ( "reflect" "strconv" "strings" + "time" ) // options for formatting. @@ -28,14 +29,14 @@ const ( noIdent = "" ) -func formatValue(b *strings.Builder, prefix string, opt options, v reflect.Value) { +func formatValue(b *strings.Builder, prefix, fieldName string, opt options, v reflect.Value) { swi...
feat(tdp): format dates
null
gotd/td
MIT License
Go
PID=$$ if [ $# -le 3 ]; then - echo "USAGE: $0 <cluster-name> <cluster-meta-list> <type> <start_task_id> " - "<rebalance_cluster_after_rolling>(default false) <rebalance_only_move_primary>(default true)" + echo "USAGE: $0 <cluster-name> <cluster-meta-list> <type> <start_task_id> [rebalance] [only_move_pri]" echo echo "...
feat: update usage hint for rolling update script
null
apache/incubator-pegasus
Apache License 2.0
Shell
@@ -68,6 +68,19 @@ export default { coinType: '60', isTestnet: true }, + bsc_mainnet: { + name: 'bsc_mainnet', + coinType: '60', + networkId: 56, + chainId: 56 + }, + bsc_testnet: { + name: 'bsc_testnet', + coinType: '60', + networkId: 97, + chainId: 97, + isTestnet: true + } version }
feat: added config for bsc network
null
liquality/chainabstractionlayer
MIT License
JavaScript
@@ -44,11 +44,6 @@ public class McRaptorSuboptimalPathProfileRouter { public static final int[] EMPTY_INT_ARRAY = new int[0]; - /** - * the number of searches to run (approximately). We use a constrained random walk to get about this many searches. - */ - public int NUMBER_OF_SEARCHES = 20; - private final boolean DUMP...
feat(mcraptor): respond to UI simulated schedules requested
null
conveyal/r5
MIT License
Java
@@ -16,6 +16,7 @@ using namespace alibaba; namespace { std::atomic<bool> v8_inited{false}; std::unique_ptr<v8::Platform> platform; +v8::Isolate *isolate {nullptr}; v8::Local<v8::String> getEmptyString(v8::Isolate *isolate) { static v8::Local<v8::String> empty = @@ -79,6 +80,10 @@ void initV8Engine(const char *current_d...
feat: standalone isolate, use context to separate objects
null
openkraken/kraken
Apache License 2.0
C++
@@ -30,6 +30,7 @@ type UpgradeBootOptions struct { *opts.CommonOptions Dir string UpgradeVersionStreamRef string + LatestRelease bool } var ( @@ -67,6 +68,7 @@ func NewCmdUpgradeBoot(commonOpts *opts.CommonOptions) *cobra.Command { } cmd.Flags().StringVarP(&options.Dir, "dir", "d", "", "the directory to look for the Je...
feat: upgrade to latest version stream release tag by default
null
jenkins-x/jx
Apache License 2.0
Go
@@ -17,7 +17,7 @@ const AJAX_DEBOUNCE = 500 const ARIA_LIVE_DELAY = 150 // 150 ms established as sufficient, through testing, to not be invasive of expected screen-reader behavior export default class CoreSuggest extends HTMLElement { - static get observedAttributes () { return ['hidden', 'highlight'] } + static get ob...
feat(core-suggest): Add observed attribute empty to reflect whether there are items in DOM
null
nrkno/core-components
MIT License
JavaScript
@@ -3,8 +3,7 @@ const fs = require('fs'), merge = require('webpack-merge'), chokidar = require('chokidar'), - debounce = require('lodash.debounce'), - openInEditor = require('launch-editor-middleware') + debounce = require('lodash.debounce') const appPaths = require('./app-paths'), @@ -558,6 +557,7 @@ class QuasarConfi...
feat(app): Improve launch-editor-middleware configuration
null
quasarframework/quasar
MIT License
JavaScript
@@ -39,6 +39,32 @@ Loader.registerPlayback(HTMLImg) Loader.registerPlayback(HTML5Audio) Loader.registerPlayback(HTML5Video) +export { + Player, + Events, + Browser, + ContainerPlugin, + UIContainerPlugin, + CorePlugin, + UICorePlugin, + Playback, + Container, + Core, + PlayerError, + Loader, + BaseObject, + UIObject, +...
feat(main): add named exports together with default
null
clappr/clappr-core
BSD 3-Clause New or Revised License
JavaScript
@ToString public class CommandInfo implements INameable { - protected String name; + protected final String name; /** * The configured names by the command */ - protected Collection<String> aliases; + protected final Collection<String> aliases; /** * The permission, that is configured by this command, that the command ...
feat(driver): the CommandInfo should be immutable
null
cloudnetservice/cloudnet-v3
Apache License 2.0
Java
@@ -157,6 +157,7 @@ public class GoPayPaymentActivity extends BasePaymentActivity implements GoPayPa private void initProperties() { presenter = new GopayPaymentPresenter(this); + presenter.setTabletDevice(this); } @Override @@ -320,5 +321,4 @@ public class GoPayPaymentActivity extends BasePaymentActivity implements Go...
feat: presenter.setTabletDevice(this) on GoPayPaymentActivity
null
veritrans/veritrans-android
MIT License
Java
@@ -76,6 +76,19 @@ test('txStatus with string hash and buffer hash', withProvider(async(provider) = expect(responseWithUint8Array).toMatchObject(outcome); })); +test('txStatusReciept with string hash and buffer hash', withProvider(async(provider) => { + const near = await testUtils.setUpTestConnection(); + const sender...
feat: add test for txStatusReceipts
null
near/near-api-js
MIT License
JavaScript
import UIKit -public class JumpMediaControlPlugin: JumpPlugin { +public class QuickSeekMediaControlPlugin: QuickSeekPlugin { override open var pluginName: String { - return "JumpMediaControlPlugin" + return "QuickSeekMediaControlPlugin" } private var mediaControl: MediaControl? { @@ -27,7 +27,7 @@ public class JumpMedi...
feat: renaming jump to quickSeek on QuickSeekMediaControlPlugin
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
+import * as React from "react"; + +import { mergeRefs } from "~/common/utilities"; +import { useEventListener, useMounted } from "~/common/hooks"; + +/* ------------------------------------------------------------------------------------------------- + * RovingTabIndex Provider + * ------------------------------------...
feat(RovingTabIndex): add RovingTabIndex component
null
filecoin-project/slate
MIT License
JavaScript
import {useId} from '@reach/auto-id' import {ValidationList} from '@sanity/base/components' -import {ErrorOutlineIcon} from '@sanity/icons' +import {ErrorOutlineIcon, InfoOutlineIcon, WarningOutlineIcon} from '@sanity/icons' import { isValidationInfoMarker, isValidationWarningMarker, isValidationErrorMarker, } from '@s...
feat(desk-tool): update `ValidationMenu` button so that it reflects the highest level of validation
null
sanity-io/sanity
MIT License
TypeScript
@@ -38,6 +38,7 @@ const valueUpdateDelay = 100; export class StateEditorDialog extends Overlay { textEditor: CodeMirror.Editor; applyButton: HTMLButtonElement; + exportButton: HTMLButtonElement; closeButton: HTMLButtonElement; constructor(public viewer: Viewer) { super(); @@ -56,6 +57,11 @@ export class StateEditorDial...
feat(ui): Add state export button from JSON viewer
null
google/neuroglancer
Apache License 2.0
TypeScript
@@ -136,26 +136,14 @@ final class XRHelper { int platform = glfwGetPlatform(); if (platform == GLFW_PLATFORM_X11) { long display = glfwGetX11Display(); - - /* - * To continue, we need the GLXFBConfig that was used to create the GLFW window. Unfortunately, - * GLFW doesn't expose this to us. I created a pull request for...
feat(OpenXR): Add Linux X11 support to the OpenXR + OpenGL example
null
lwjgl/lwjgl3
BSD 3-Clause New or Revised License
Java
@@ -94,6 +94,7 @@ import {NeweggCa} from './newegg-ca'; import {NeweggSg} from './newegg-sg'; import {Notebooksbilliger} from './notebooksbilliger'; import {Novatech} from './novatech'; +import {NovoAtalho} from './novoatalho'; import {NvidiaDE} from './nvidia-de'; import {NvidiaES} from './nvidia-es'; import {NvidiaFR...
feat(store): add novoatalho (PT)
null
jef/streetmerchant
MIT License
TypeScript
@@ -29,26 +29,36 @@ def date_to_milliseconds(date_str): def interval_to_milliseconds(interval): """Convert a Binance interval string to milliseconds - :param interval: Binance interval string 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w + :param interval: Binance interval string, e.g.: 1m, 3m, 5m, 15m, 30m...
feat(helpers): Add 1M to interval_to_milliseconds, simplify logic, add doctest
null
sammchardy/python-binance
MIT License
Python
@@ -41,6 +41,10 @@ func (m ConfirmDepositRequest) ValidateBasic() error { return fmt.Errorf("amount cannot be less than or equal to 0") } + if err := sdk.VerifyAddressFormat(m.DepositAddress); err != nil { + return sdkerrors.Wrap(sdkerrors.ErrInvalidAddress, sdkerrors.Wrap(err, "deposit address").Error()) + } + return ...
feat(axelarnet): validate deposit address
null
axelarnetwork/axelar-core
Apache License 2.0
Go
@@ -182,7 +182,7 @@ if (! function_exists('getBaseUrl')) { } } - return $url . '/' . $basePath; + return strings($url . '/' . $basePath)->reduceSlashes()->trimRight('/')->toString(); } } @@ -198,7 +198,7 @@ if (! function_exists('getAbsoluteUrl')) { $url .= '/'; $url .= $_SERVER['REQUEST_URI'] ?? ''; - return $url; + r...
feat(helpers): add `url` function
null
flextype/flextype
MIT License
PHP
/* - * (C) Copyright IBM Corp. 2019. + * (C) Copyright IBM Corp. 2020. * * 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 @@ -23,13 +23,35 @@ import com.ibm.cloud.sdk.core.service.model.GenericMod...
feat(Speech to Text): Add endOfUtterance prop to SpeechRecognitionResult
null
watson-developer-cloud/java-sdk
Apache License 2.0
Java
import logging import zipfile +from os.path import exists import boto3 from tryagain import retries +from ..consts import LAMBDA_STANDALONE_MODE from ..exceptions import RequiredKeyNotFound -from ..utils import get_details, get_lambda_arn, get_properties, get_role_arn, get_security_group_id, get_subnets, \ - get_env_cr...
feat: backwards compatibility for lambda infra step
null
foremast/foremast
Apache License 2.0
Python
@@ -567,125 +567,6 @@ class EntriesController extends Controller return $response->withRedirect($this->router->pathFor('admin.entries.index') . '?id=' . implode('/', array_slice(explode("/", $id), 0, -1))); } - /** - * Fetch Fieldset form - * - * @access public - * @param array $fieldset Fieldset - * @param string $val...
feat(admin-plugin): remove fetchForm method
null
flextype/flextype
MIT License
PHP
@@ -125,7 +125,8 @@ namespace PeanutButter.DuckTyping.Extensions Dictionary<string, PropertyInfo> test ) { - return test.Where(t => { + return test.Where(t => + { PropertyInfo authoritativePropInfo; if (!authoritative.TryGetValue(t.Key, out authoritativePropInfo)) return false; @@ -314,7 +315,7 @@ namespace PeanutButte...
feat: make errors chucked from bad dictionary (null keys) a little more informative
null
fluffynuts/peanutbutter
BSD 3-Clause New or Revised License
C#
package io.clappr.player.plugin.control import android.annotation.SuppressLint +import android.content.res.Resources +import android.content.res.Resources.Theme import android.os.Bundle import android.os.Handler import android.os.SystemClock @@ -66,7 +68,7 @@ open class MediaControl(core: Core, pluginName: String = nam...
feat(background_media_control_tv): create method setBackground
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
@@ -916,6 +916,29 @@ func waitForEvent(eventEmitter <-chan *websocket.Event) (event *websocket.Event, return } +/* status updates */ + +// UpdateStatus updates the client's game status +// note: for simple games, check out UpdateStatusString +func (c *Client) UpdateStatus(s *UpdateStatusCommand) error { + return c.Emit...
feat: Client.SetStatus, Client.SetStatusString
null
andersfylling/disgord
BSD 3-Clause New or Revised License
Go
@@ -181,7 +181,8 @@ fn run() -> Result<()> { let config = Config::load()?; let mut loader = loader::Loader::new()?; - if matches.subcommand_matches("init-config").is_some() { + match matches.subcommand() { + ("init-config", Some(_)) => { let mut config = Config::initial()?; config.add(tree_sitter_loader::Config::initia...
feat(cli): Make more clearer sub command selection
null
tree-sitter/tree-sitter
MIT License
Rust
@@ -90,7 +90,20 @@ export const FeedbackWrapper = ({ seedData, open }) => { dispatch({ kind: 'set customer type', data: customerType }); const submitFeedback = () => { - console.log('send feedback here '); + fetch(process.env.UNLEASH_FEEDBACK_TARGET_URL, { + method: 'post', + body: JSON.stringify({ data: state.data }),...
feat: set up request execution on form submission
null
unleash/unleash
Apache License 2.0
JavaScript
@@ -293,6 +293,10 @@ export default class OnboardingWidget extends Widget { }); }; } else { + frappe.msgprint({ + message: __("You may continue with onboarding"), + title: __("Looks Great") + }); this.mark_complete(step); } },
feat: show message print on quick entry dialog
null
frappe/frappe
MIT License
JavaScript
/* - * (C) Copyright IBM Corp. 2019. + * (C) Copyright IBM Corp. 2020. * * 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 @@ -23,16 +23,19 @@ import com.ibm.cloud.sdk.core.service.model.GenericMod...
feat(Assistant v2): Add system prop to MessageContentSkill
null
watson-developer-cloud/java-sdk
Apache License 2.0
Java
@@ -13,17 +13,18 @@ const isSubset = (kind: string, subset: object, superset: object) => { export const enhanceArgTypes: ArgTypesEnhancer = (context) => { const { component, argTypes: userArgTypes = {}, docs = {}, args = {} } = context.parameters; - const { extractArgTypes } = docs; + const { extractArgTypes, forceExtr...
feat(docs): enable args merging via docs.forceExtractedArgTypes parameter
null
storybookjs/storybook
MIT License
TypeScript
@@ -88,6 +88,8 @@ private function publishConfig(): void $this->setupRoutes(); $this->runMigrations(); + + $this->setSecurityItem(); } /** @@ -98,6 +100,10 @@ protected function copyAndReplace(string $file, array $replaces): void { $path = "{$this->sourcePath}/{$file}"; + if ($file === 'Config/Security.php'){ + $path =...
feat: add `setSecurityItem()` for implement security instructions
null
codeigniter4/shield
MIT License
PHP
@@ -585,7 +585,7 @@ class Connection extends BaseConnection implements ConnectionInterface public function insertID(): int { - if (empty($this->rowId) || empty($this->lastInsertedTableName)) { + if (empty($this->lastInsertedTableName)) { return 0; } @@ -609,8 +609,6 @@ class Connection extends BaseConnection implements...
feat: Added getting the last insertID
null
codeigniter4/codeigniter4
MIT License
PHP
@@ -164,14 +164,14 @@ foreach (Filesystem::listContents(ROOT_DIR . '/flextype/shortcodes') as $shortco } /** - * Init themes + * Init plugins */ -$flextype['themes']->init($flextype, $app); +$flextype['plugins']->init($flextype, $app); /** - * Init plugins + * Init themes */ -$flextype['plugins']->init($flextype, $app)...
feat(core): initialize plugins before themes initialised
null
flextype/flextype
MIT License
PHP
@@ -9,8 +9,9 @@ import SwiftUI struct AuthView: View, StoreAccessor { @EnvironmentObject var store: Store - @State private var enterBackgroundDate: Date? + @State private var isLaunchingApp = true @Binding private var blurRadius: CGFloat + @State private var enterBackgroundDate: Date? init(blurRadius: Binding<CGFloat>)...
feat: Make AutoLock functionable after exiting
null
ehpanda-team/ehpanda
MIT License
Swift
@@ -257,7 +257,7 @@ export const ImageComponent = ({ const isSupported = (imageUrl: string) => { const supportedImages = ['jpg', 'jpeg', 'png']; const extension = imageUrl.split('.').pop(); - return extension && supportedImages.includes(extension); + return extension && supportedImages.includes(extension.toLowerCase())...
feat: Guard against the extension being upper case
null
guardian/dotcom-rendering
Apache License 2.0
TypeScript
+import re +import nuke import contextlib from avalon import api, io - -import nuke +from pype.nuke import presets from pype.api import Logger log = Logger().get_logger(__name__, "nuke") @@ -24,7 +25,7 @@ def preserve_trim(node): offset_frame = None if node['frame_mode'].value() == "start at": start_at_frame = node['fr...
feat(nuke): feat(nuke): reads mov are now in colorspace presets
null
pypeclub/openpype
MIT License
Python
@@ -35,7 +35,7 @@ export function register(config?: Config) { "$1/", ) - if (!isLocalhost) { + if (isLocalhost) { // This is running on localhost. Let's check if a service worker still exists or not. checkValidServiceWorker(swUrl, config)
feat(new-client): Fixed localhost check
null
adaptiveconsulting/reactivetradercloud
Apache License 2.0
TypeScript