diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -75,7 +75,7 @@ export const is = <Ts extends Entity>(type: keyof TypeMap<Ts>) => {
*/
export const isA = <K extends keyof Types>(
type: K,
- node: Node
+ node?: Node
): node is Types[K] => {
return isEntity(node) && node.type === type
}
@@ -103,7 +103,7 @@ export const isType = <K extends keyof Types>(type: K) => (
... | feat(Type Guards): Allow typeGuards to work on undefined nodes | null | stencila/stencila | Apache License 2.0 | TypeScript |
@@ -186,7 +186,13 @@ TEST(EventTarget, wontLeakWithStringProperty) {
}
TEST(EventTarget, globalBindListener) {
+ bool static logCalled = false;
+ kraken::KrakenPage::consoleMessageHandler = [](void* ctx, const std::string& message, int logLevel) {
+ logCalled = true;
+ EXPECT_STREQ(message.c_str(), "clicked");
+ };
aut... | feat: add more test | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -15,7 +15,6 @@ import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.reflect.TypeToken;
import org.springframework.http.HttpStatus;
-import org.springframework.http.MediaType;
import org.springframework.stereotype.Service;
import org.springframework.web.reactive.function.client.WebC... | feat: updated download template App API to download from cloud services | null | appsmithorg/appsmith | Apache License 2.0 | Java |
@@ -26,7 +26,7 @@ use function app;
* Returns:
* An array of entry objects.
*/
-app()->get('/api/entries', [Content::class, 'fetch']);
+app()->get('/api/entries', [Entries::class, 'fetch']);
/**
* Create entry
@@ -43,7 +43,7 @@ app()->get('/api/entries', [Content::class, 'fetch']);
* Returns:
* Returns the entry object... | feat(endpoints): fix entries endpoints | null | flextype/flextype | MIT License | PHP |
@@ -99,6 +99,9 @@ type CommandJoinOption struct {
// ClusterKubeConfig is the cluster's kubeconfig path.
ClusterKubeConfig string
+
+ // ClusterProvider is the cluster's provider.
+ ClusterProvider string
}
// Complete ensures that options are valid and marshals them if necessary.
@@ -134,6 +137,7 @@ func (j *CommandJo... | feat: can specify the provider manually | null | karmada-io/karmada | Apache License 2.0 | Go |
@@ -24,6 +24,9 @@ use data_types::{NamespaceId, ParquetFile, ParquetFileParams, PartitionId, Shard
use object_store::path::Path;
use uuid::Uuid;
+// Ingester2 creates partitions in this shard.
+const TRANSITION_SHARD_ID: ShardId = ShardId::new(1234);
+
/// Location of a Parquet file within a namespace's object store.
/... | feat(ingester2): New objecstore paths will have no shard id | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
+import { number, text, withKnobs } from "@storybook/addon-knobs";
+import { SvgCollection } from "app/assets/svg";
+import { Clipboard } from "app/components/Clipboard";
import React from "react";
import { Icon } from "./Icon";
export default {
title: "Basic / Icon",
+ decorators: [withKnobs],
};
-export const Default... | feat: add icon overview | null | arkecosystem/desktop-wallet | MIT License | TypeScript |
@@ -62,6 +62,7 @@ open class MediaControl(core: Core, pluginName: String = name) : UICorePlugin(co
}
open val invalidActivationKeys = listOf(Key.UNDEFINED)
+ private val navigationKeys = listOf(Key.UP, Key.DOWN, Key.LEFT, Key.RIGHT)
private val backgroundView: View by lazy { view.findViewById(R.id.background_view) as V... | feat(media_control): handle valid input key in media control | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -18,6 +18,7 @@ import io.kestra.core.queues.QueueFactoryInterface;
import io.kestra.core.queues.QueueInterface;
import io.kestra.core.serializers.JacksonMapper;
import io.kestra.core.storages.StorageInterface;
+import io.kestra.core.utils.IdUtils;
import io.kestra.core.utils.Slugify;
import io.micronaut.context.Appl... | feat(core): make a temporary directory more random and allow to access path | null | kestra-io/kestra | Apache License 2.0 | Java |
@@ -137,6 +137,12 @@ export class SpindleThemeSwitch extends DarkModeToggle {
[part=aside] {
display: none;
}
+
+ @media (prefers-reduced-motion: reduce) {
+ [part=toggleLabel] {
+ transition-duration: 0.1ms;
+ }
+ }
`;
this.shadowRoot?.appendChild(styleEl);
| feat(spindle-theme-switch): reduce motion | null | openameba/spindle | MIT License | TypeScript |
-class JumpAnimation {
+class QuickSeekAnimation {
private var core: Core?
private var seekLeftBubble = SeekBubble()
private var seekRightBubble = SeekBubble()
| feat: renaming jump to quickSeek on QuickSeekAnimation | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -38,7 +38,7 @@ export function defineReplBindings(app: ApplicationContract, Repl: ReplContract)
setupReplState(repl, 'models', requireAll(modelsAbsPath))
},
{
- description: 'Recursively models Lucid models to the "models" property',
+ description: 'Recursively load Lucid models to the "models" property',
}
)
@@ -54... | feat(real): add helper to load all factories | null | adonisjs/lucid | MIT License | TypeScript |
@@ -326,27 +326,43 @@ class Collection
*/
public function shuffle() : array
{
- $results = $this->matchCollection()->toArray();
+ // Match collection
+ $collection = $this->collection->matching($this->criteria);
+
+ // Restore error_reporting
+ error_reporting($this->errorReporting);
+
+ // Gets a native PHP array repr... | feat(element-queries): add protected function shuffleAssocArray and update shuffle() method | null | flextype/flextype | MIT License | PHP |
@@ -29,6 +29,7 @@ const METHODS_FILE = 'methods.ts';
const PARAMS_FILE = 'params.ts';
const OBJECTS_FILE = 'objects.ts';
const RESPONSES_FILE = 'responses.ts';
+const CONSTANTS_FILE = 'constants.ts';
const typeingsDir = '../../packages/vk-io/src/api/schemas';
@@ -36,17 +37,20 @@ async function generate() {
const [
{ me... | feat(scripts): add support generate error codes | null | negezor/vk-io | MIT License | JavaScript |
@@ -200,7 +200,7 @@ func setupBridge(t *tunnel) {
return
}
iface := string(response)
- pattern := regexp.MustCompile(`.*member: (en\d+) flags=.*`)
+ pattern := regexp.MustCompile(`.*member: ((?:vm)?en(?:et)?\d+) flags=.*`)
submatch := pattern.FindStringSubmatch(iface)
if len(submatch) != 2 {
t.status.RouteError = fmt.E... | feat: Use new bridge interface name on OSX Monterey | null | kubernetes/minikube | Apache License 2.0 | Go |
use super::write_file;
use anyhow::{Context, Result};
-use std::path::Path;
+use std::path::{Path, PathBuf};
use std::{fs, str};
const BINDING_CC_TEMPLATE: &'static str = include_str!("./templates/binding.cc");
@@ -22,39 +22,33 @@ pub fn generate_binding_files(repo_path: &Path, language_name: &str) -> Result<(
// Gener... | feat(cli): Independant language binding files generation | null | tree-sitter/tree-sitter | MIT License | Rust |
@@ -122,6 +122,7 @@ class AuditableTest extends AuditingTestCase
$model->auditableEvents = [
'published' => 'publishedHandler',
'archived',
+ '*ted' => 'multiEventHandler',
];
$model->setAuditEvent('published');
@@ -129,6 +130,9 @@ class AuditableTest extends AuditingTestCase
$model->setAuditEvent('archived');
$this->a... | feat(AuditableTest): improved some tests | null | owen-it/laravel-auditing | MIT License | PHP |
namespace OwenIt\Auditing\Models;
use Illuminate\Database\Eloquent\Model;
-use Illuminate\Support\Facades\Config;
+use OwenIt\Auditing\Audit as AuditTrait;
+use OwenIt\Auditing\Contracts\Audit as AuditContract;
-class Audit extends Model
+class Audit extends Model implements AuditContract
{
+ use AuditTrait;
+
/**
* {@... | feat(Audit): move most of the code to a trait and implement the contract | null | owen-it/laravel-auditing | MIT License | PHP |
+import { ObservableDbRef } from './observable-db-ref';
+import { ShortMonth } from '../models/months';
+
+export class DbRefBuilder {
+ constructor(private db: any) {}
+
+ rootRef() {
+ return new ObservableDbRef(this.db.ref());
+ }
+
+ userRef(id: string) {
+ return new ObservableDbRef(this.db.ref(`users/${id}`));
+ ... | feat(@machinelabs/core): create DbRefBuilder | null | machinelabs/machinelabs | MIT License | TypeScript |
@@ -21,11 +21,11 @@ use Thunder\Shortcode\Shortcode\ShortcodeInterface;
use function parsers;
use function registry;
-// Shortcode: [registry-get name="item-name" default="default-value"]
+// Shortcode: [registry-get id="item-id" default="default-value"]
parsers()->shortcodes()->addHandler('registry-get', static functi... | feat(shortcodes): use registry item id instead of name | null | flextype/flextype | MIT License | PHP |
@@ -29,7 +29,9 @@ class Event {
/// A DataSnapshot contains data from a Firebase Database location.
/// Any time you read Firebase data, you receive the data as a DataSnapshot.
class DataSnapshot {
- DataSnapshot._(this.key, this.value);
+ DataSnapshot._(this.key, this.value){
+ exists = value != null;
+ }
factory Data... | feat(database): DataSnapshot.exists property | null | firebaseextended/flutterfire | BSD 3-Clause New or Revised License | Dart |
@@ -73,6 +73,8 @@ import org.yaml.snakeyaml.Yaml;
* @todo #1107:30m Method `jdkExecutable` is duplicated in eo-runtime.
* Find a way to make it reusable (i.e making it part of
* VerboseProcess) and remove it from MainTest.
+ * @todo #1723:30m Add FakeMojo support for SnippetTest. We have to reuse FakeMojo class in orde... | feat(#1723): add puzzles | null | cqfn/eo | MIT License | Java |
+package io.papermc.hangar.observability;
+
+import com.github.benmanes.caffeine.cache.Cache;
+import com.github.benmanes.caffeine.cache.stats.CacheStats;
+import java.util.HashMap;
+import java.util.Map;
+import org.springframework.boot.actuate.endpoint.annotation.Endpoint;
+import org.springframework.boot.actuate.end... | feat(backend): add actuator endpoint for cache stats | null | papermc/hangar | MIT License | Java |
+package intermodule
+
+import (
+ "context"
+
+ "google.golang.org/grpc"
+)
+
+// Client is an inter-module client as specified in ADR-033. It
+// allows one module to send msg's and queries to other modules provided
+// that the request is valid and can be properly authenticated.
+type Client interface {
+ grpc.Clien... | feat(core): add ADR 033 (inter-module communication) Client interface | null | cosmos/cosmos-sdk | Apache License 2.0 | Go |
@@ -15,16 +15,13 @@ public class ComponentDetailsController : ControllerBase
[HttpGet]
public async Task<ActionResult<List<ComponentPropertyDetailsDto>>> GetProperties(string name)
{
- if (SummariesXmlDocument == null)
- {
- SummariesXmlDocument = await LoadSummariesXmlDocumentAsync();
- }
+ SummariesXmlDocument ??= aw... | feat(components): resolve C# types instead of .NET types in result API | null | bitfoundation/bitframework | MIT License | C# |
@@ -44,8 +44,6 @@ extension SolanaSDK.Socket: WebSocketDelegate {
if let error = error {
onError(SolanaSDK.Error.socket(error))
}
- // reconnect
- socket.connect()
}
}
| feat(websocket): fix | null | p2p-org/solana-swift | MIT License | Swift |
//! Perform XEdDSA according to
//! <https://signal.org/docs/specifications/xeddsa/#xeddsa>
+use aes_gcm::aead::consts::U64;
use curve25519_dalek::{
constants::ED25519_BASEPOINT_POINT, montgomery::MontgomeryPoint, scalar::Scalar,
};
@@ -16,6 +17,16 @@ pub trait XEddsaVerifier {
fn xeddsa_verify(&self, msg: &[u8], sig: ... | feat(rust): complete hkdf version update | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -2,12 +2,9 @@ package tsi1
import (
"context"
- "errors"
"fmt"
"io"
- "io/ioutil"
"math"
- "os"
"path/filepath"
"runtime"
"sort"
@@ -39,6 +36,7 @@ type ReportTsi struct {
seriesFilePath string // optional. Defaults to dbPath/_series
sfile *tsdb.SeriesFile
+ indexFile *Index
topN int
byMeasurement bool
@@ -124,53 +12... | feat(tsi): placeholder | null | influxdata/influxdb | MIT License | Go |
@@ -188,11 +188,19 @@ class Forge extends \CodeIgniter\Database\Forge
* Process column
*
* @param array $field
+ *
* @return string
*/
protected function _processColumn(array $field): string
{
- $extra_clause = isset($field['after']) ? ' AFTER ' . $this->db->escapeIdentifiers($field['after']) : '';
+ return $this->db->... | feat: add processColumn method | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -41,7 +41,7 @@ class Plugins
public function __construct($flextype, $app)
{
$this->flextype = $flextype;
- $this->locales = JsonParser::decode(Filesystem::read(ROOT_DIR . '/flextype/config/locales.json'));
+ $this->locales = Parser::decode(Filesystem::read(ROOT_DIR . '/flextype/config/locales.yaml'), 'yaml');
}
publ... | feat(core): update Locales | null | flextype/flextype | MIT License | PHP |
@@ -381,8 +381,11 @@ pub struct MapperFlush<S: PageSize>(Page<S>);
impl<S: PageSize> MapperFlush<S> {
/// Create a new flush promise
+ ///
+ /// Note that this method is intended for implementing the [`Mapper`] trait and no other uses
+ /// are expected.
#[inline]
- fn new(page: Page<S>) -> Self {
+ pub fn new(page: Pa... | feat(mapper): expose `MapperFlush(All)?::new` | null | rust-osdev/x86_64 | Apache License 2.0 | Rust |
@@ -42,8 +42,9 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options:
}
private val ONE_SECOND_IN_MILLIS: Int = 1000
- private val MINIMUN_BUFFER_TO_BE_CONSIDERED_DVR = 60 * ONE_SECOND_IN_MILLIS
- private val TEN_SECONDS = 10
+ private val CURRENT_CHUNK_TIME_IN_SECONDS = 5
+ private val FIVE... | feat(dvr_exoplayer): consider dvr sync buffer time | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -96,6 +96,8 @@ func TestAlerts(t *testing.T) {
t.Logf("Testing alerts using mock files from Alertmanager %s", version)
mockAlerts(version)
r := ginTestEngine()
+ // re-run a few times to test the cache
+ for i := 1; i <= 3; i++ {
req := httptest.NewRequest("GET", "/alerts.json?q=@receiver=by-cluster-service&q=alertn... | feat(tests): repeat tests to cover cached responses | null | prymitive/karma | Apache License 2.0 | Go |
@@ -44,6 +44,14 @@ export default function(props, ctx, vcInstance: VcComponentInternalInstance) {
})
}
+ const addCustomProp = (obj, options) => {
+ for (const prop in options) {
+ if (!obj[prop]) {
+ obj[prop] = options[prop]
+ }
+ }
+ }
+
// provide
provide(vcKey, getServices())
@@ -51,6 +59,7 @@ export default funct... | feat: supports adding custom prop | null | zouyaoji/vue-cesium | MIT License | TypeScript |
@@ -24,7 +24,8 @@ class OutPoint {
/// The index of the specific output in the transaction.
uint32_t index;
- /// Sequence number, matches sequence from Proto::OutPoint (not always used, see also TransactionInput.sequence)
+ /// Sequence number, matches sequence from Proto::OutPoint (not always used, see also
+ /// Tra... | feat(btc_outpoint_format): apply clang fmt | null | trustwallet/wallet-core | MIT License | C |
@@ -129,7 +129,7 @@ public class Bash extends Task implements RunnableTask<Bash.Output> {
@Override
public Bash.Output run(RunContext runContext) throws Exception {
- tmpFolder = Files.createTempDirectory("python-venv").toString();
+ tmpFolder = Files.createTempDirectory("tmp-run-script").toString();
return run(runCont... | feat(task-python): rename tmp folder prefixes | null | kestra-io/kestra | Apache License 2.0 | Java |
@@ -80,6 +80,7 @@ class NextVideoPlugin(core: Core) : UICorePlugin(core) {
private fun showNextVideo() = Callback.wrap {
show()
+ view.bringToFront()
}
private fun stopPlaybackListeners() {
| feat(next_video_plugin): brig NextVideoPlugin view to top | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -13,119 +13,112 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
-
import sys
from abc import abstractmethod
+from collections import defaultdict
+import numpy as np
import tensorflow as ... | feat: remastered TFModel class | null | deeppavlov/deeppavlov | Apache License 2.0 | Python |
@@ -147,37 +147,21 @@ final class OptimizeMojoTest {
@Test
void savesOptimizedResultsToCache(@TempDir final Path temp) throws Exception {
- final Path src = temp.resolve("foo/main.eo");
- new Home(temp).save(
- "+package f\n\n[args] > main\n (stdout \"Hello!\").print > @\n",
- src
- );
- final Path target = temp.resolv... | feat(#1494): refactor savesOptimizedResultsToCache | null | cqfn/eo | MIT License | Java |
@@ -9,31 +9,11 @@ declare(strict_types=1);
namespace Flextype\Foundation;
-use Exception;
-use DI\Bridge\Slim\Bridge;
-use DI\Container;
-use Middlewares\Whoops;
-use Slim\App;
-use Slim\Middleware\ContentLengthMiddleware;
-use Slim\Middleware\OutputBufferingMiddleware;
-use Slim\Middleware\RoutingMiddleware;
-use Slim... | feat(flextype): code standard updates | null | flextype/flextype | MIT License | PHP |
@@ -23,3 +23,19 @@ export const useIsomorphicLayoutEffect = isRSC ? idFn : isServer ? useEffect : u
export const isChrome = typeof navigator !== 'undefined' && /Chrome/.test(navigator.userAgent || '')
export const isWebTouchable = isClient && 'ontouchstart' in window
export const isTouchable = !isWeb || isWebTouchable
... | feat(core): Add helpful warning for invalid TAMAGUI_TARGET | null | tamagui/tamagui | MIT License | TypeScript |
#!/usr/bin/python3
import json
+import sys
import threading
import time
from collections.abc import Iterator
@@ -14,6 +15,7 @@ import rlp
from eth_utils import keccak
from eth_utils.applicators import apply_formatters_to_dict
from hexbytes import HexBytes
+from web3 import HTTPProvider, IPCProvider
from brownie._config... | feat: allow connecting/disconnecting from clef | null | eth-brownie/brownie | MIT License | Python |
+import { filepaths } from "@fig/autocomplete-generators";
+const restoreRestoreExactOptions: Fig.Option[] = [
+ {
+ name: "--source",
+ description: "Can be a disk image, /dev entry, or volume mountpoint",
+ args: {
+ name: "source",
+ description: "Disk image, /dev entry, or volume mountpoint",
+ template: "filepaths... | feat: add asr completion spec | null | withfig/autocomplete | MIT License | TypeScript |
@@ -71,6 +71,14 @@ class Group {
const bounds = this.lf.getNodeModelById(data.id).getBounds();
const group = this.getGroup(bounds);
if (!group) return;
+ const isAllowAppendIn = group.isAllowAppendIn(data);
+ if (!isAllowAppendIn) {
+ this.lf.emit('group:not-allowed', {
+ group: group.getData(),
+ node: data,
+ });
+ r... | feat: group add isAllowAppendIn to support pick node append in group | null | didi/logicflow | Apache License 2.0 | TypeScript |
@@ -676,6 +676,11 @@ namespace Objects.Converter.Revit
var curve2dIndex = 0;
var curve3dIndex = 0;
+ var speckleFaces = new BrepFace[solid.Faces.Size];
+ var speckleEdges = new BrepEdge[solid.Edges.Size];
+ var speckle3dCurves = new ICurve[solid.Edges.Size];
+ var speckle2dCurves = new List<ICurve>();
+
foreach (var fa... | feat(objects-brep): Commit minor changes for safe keeping | null | specklesystems/speckle-sharp | Apache License 2.0 | C# |
@@ -15,16 +15,21 @@ const MAX_HEIGHT = null
class MoleculeCollapsible extends Component {
constructor(props) {
super(props)
+ const {isCollapsed} = this.props
this.childrenContainer = React.createRef()
- this.state = {collapsed: true, showButton: true, maxHeight: MIN_HEIGHT}
+ this.state = {
+ collapsed: isCollapsed,
+... | feat(molecule/collapsible): add isOpen state to set collapsed state from props | null | sui-components/sui-components | MIT License | JavaScript |
@@ -102,6 +102,7 @@ export class ItemComponent extends ComponentWithSubscriptions implements OnInit,
21080: 13, // Moogle
21081: 13, // Kojin
21935: 13, // Ananta
+ 22525: 13, // Namazu
// Primals
7004: 10, // Weekly quest Garuda/Titan/Ifrit
7850: 10, // Leviathan
@@ -117,6 +118,7 @@ export class ItemComponent extends ... | feat: added 4.3 currencies | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -707,9 +707,11 @@ class WorkfileSettings(object):
frame_start = int(data["frameStart"]) - handle_start
frame_end = int(data["frameEnd"]) + handle_end
+ self._root_node["lock_range"].setValue(False)
self._root_node["fps"].setValue(fps)
self._root_node["first_frame"].setValue(frame_start)
self._root_node["last_frame"]... | feat(nuke): lock range on setting frame ranges | null | pypeclub/openpype | MIT License | Python |
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
-import IORedis from 'ioredis';
import { EventEmitter } from 'events';
import { QueueEvents, Worker, Queue, QueueScheduler, Job } from '@src/classes';
import {
JobsOpts,
QueueOptions,
- AdvancedOpts,
RepeatOpts,
QueueEventsOpt... | feat: support global:progress event | null | taskforcesh/bullmq | MIT License | TypeScript |
@@ -40,7 +40,8 @@ defmodule RealtimeWeb.RealtimeChannel do
true <- Realtime.UsersCounter.tenant_users(tenant) < max_conn_users,
access_token when is_binary(access_token) <-
(case params do
- %{"user_token" => user_token} -> user_token
+ %{"user_token" => user_token} -> user_token # will deprecate
+ %{"access_token" => ... | feat: add access_token to channel and deprecate user_token in future | null | supabase/realtime | Apache License 2.0 | Elixir |
@@ -14,6 +14,12 @@ class Item extends ManualHelper
public function handle()
{
$ids = $this->getContentIds('Item');
+ $recipeIds = $this->getContentIds('Recipe');
+ $recipes = array();
+
+ foreach ($recipeIds as $recipeId) {
+ $recipes[] = Redis::Cache()->get("xiv_Recipe_{$recipeId}");
+ }
foreach ($ids as $id) {
$key =... | feat(item): linked recipes to items for easier search | null | xivapi/xivapi.com | MIT License | PHP |
@@ -28,6 +28,7 @@ import static org.kestra.core.utils.Rethrow.throwConsumer;
description = "Concat files from internal storage."
)
@Example(
+ title = "Concat 2 files with a custom separator",
code = {
"files: ",
" - \"kestra://long/url/file1.txt\"",
@@ -35,6 +36,29 @@ import static org.kestra.core.utils.Rethrow.throwC... | feat(task): add an example for Concat task | null | kestra-io/kestra | Apache License 2.0 | Java |
@@ -69,6 +69,19 @@ public class SpriteAnimation extends TextureBasedEntity<SpriteAnimation> {
return this;
}
+ /**
+ * Calls setStarted(true);
+ */
+ public void start() {
+ setStarted(true);
+ }
+ /**
+ * Calls setStarted(false);
+ */
+ public void stop() {
+ setStarted(true);
+ }
+
/**
* Returns whether the animation... | feat(entities): Sprite Animations extra api | null | codingame/codingame-game-engine | MIT License | Java |
+import { TextAtom } from '../core-atoms/text';
import { ModelPrivate } from '../editor-model/model-private';
+import { range } from '../editor-model/selection-utils';
import { ParseMode } from '../public/core';
-import { InsertOptions } from '../public/mathfield';
+import { InsertOptions, Range } from '../public/mathf... | feat: when outputing to the clipboard, use `\[` and `\]` to bracket latex output | null | arnog/mathlive | MIT License | TypeScript |
+package org.kestra.core.utils;
+
+import io.micronaut.context.annotation.Value;
+import org.apache.commons.lang3.StringUtils;
+import org.kestra.core.models.executions.Execution;
+
+import java.net.URI;
+import javax.annotation.Nullable;
+import javax.inject.Singleton;
+
+@Singleton
+public class UriProvider {
+ @Null... | feat(core): add an UriProvider to allow build kestra url | null | kestra-io/kestra | Apache License 2.0 | Java |
@@ -15,6 +15,7 @@ class RemoteNotification {
const RemoteNotification(
{this.android,
this.apple,
+ this.web,
this.title,
this.titleLocArgs = const <String>[],
this.titleLocKey,
@@ -26,6 +27,7 @@ class RemoteNotification {
factory RemoteNotification.fromMap(Map<String, dynamic> map) {
AndroidNotification? _android;
App... | feat(firebase_messaging): add support for `RemoteMessage` on web | null | firebaseextended/flutterfire | BSD 3-Clause New or Revised License | Dart |
//! Types for the Parity Transaction-Trace Filtering API
use crate::types::{Address, BlockNumber, Bytes, H160, H256, U256};
+use bytes::{Buf, BufMut};
+use open_fastrlp::DecodeError;
+use rlp::{Decodable, DecoderError, Encodable, Rlp, RlpStream};
use serde::{Deserialize, Serialize};
+use std::fmt;
/// Trace filter
#[de... | feat: add TraceError enum | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -51,6 +51,7 @@ use Symfony\Component\ExpressionLanguage\ExpressionLanguage;
use Flextype\Middlewares\WhoopsMiddleware;
use Flextype\Console\FlextypeConsole;
+use function Flextype\setBasePath;
use function Flextype\app;
use function array_replace_recursive;
use function Flextype\container;
| feat(flextype): add `setBasePath` definition | null | flextype/flextype | MIT License | PHP |
@@ -30,8 +30,9 @@ public class ObjectiveController {
private ObjectiveService objectiveService;
private DataMapper<Objective, ObjectiveDto> objectiveMapper;
private DataMapper<KeyResult, KeyResultDto> keyResultMapper;
- private AuthorizationService authorizationService;
private DataMapper<NoteObjective, NoteObjectiveDt... | feat(objective-comments): Added noteObejctiveMapper to constructor, updated code-documentation | null | burningokr/burningokr | Apache License 2.0 | Java |
@@ -227,6 +227,14 @@ post_to_azure_devops () {
fi
}
+post_to_slack () {
+ echo "Posting comment to Slack"
+ msg="$(build_msg false)"
+ jq -Mnc --arg msg "$msg" '{"text": "\($msg)"}' | curl -L -X POST -d @- \
+ -H "Content-Type: application/json" \
+ "$SLACK_WEBHOOK_URL"
+}
+
load_github_env () {
export VCS_REPO_URL=$GI... | feat(ci): add MVP of posting a comment to Slack webhook URLs | null | infracost/infracost | Apache License 2.0 | Shell |
@@ -388,6 +388,21 @@ where
}))
}
+ /// Deletes (potentially existing) catalog.
+ pub async fn wipe(
+ object_store: &ObjectStore,
+ server_id: ServerId,
+ db_name: &str,
+ ) -> Result<()> {
+ for (path, _revision_counter, _uuiud) in
+ list_transaction_files(object_store, server_id, db_name).await?
+ {
+ object_store.de... | feat: implement function to wipe a preserved catalog | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -6,7 +6,6 @@ open class AVFoundationPlayback: Playback {
"m3u8": "application/x-mpegurl",
]
- private var kvoLoadedTimeRangesContext = 0
private var kvoSeekableTimeRangesContext = 0
private var kvoBufferingContext = 0
private var kvoExternalPlaybackActiveContext = 0
@@ -269,10 +268,9 @@ open class AVFoundationPlayba... | feat: handle currentItem loadedTimeRange changes with newer kvo syntax | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -49,32 +49,31 @@ class Media extends Entries
$id = media()->registry()->get('create.id');
$url = registry()->get('flextype.settings.url');
$media = media()->upload($file, $id);
- if (is_string($media)) {
- $fileField = $media;
+
+ if ($media->name) {
+ media()->registry()->set('create.data.file', strings($url . '/pr... | feat(media): fixes for media api | null | flextype/flextype | MIT License | PHP |
@@ -7,6 +7,7 @@ import {
IMutation,
VALUE,
IMutationCallback,
+ IFlushCallback,
} from 'proxy-state-tree'
import { Derived } from './derived'
import { Devtools, Message, safeValue, safeValues } from './Devtools'
@@ -631,6 +632,9 @@ export class Overmind<Config extends Configuration> implements Configuration {
addMutati... | feat(overmind): addFlushListener | null | cerebral/overmind | MIT License | TypeScript |
@@ -97,6 +97,8 @@ impl CompilerInput {
pub fn sanitized(mut self, version: &Version) -> Self {
static PRE_V0_6_0: once_cell::sync::Lazy<VersionReq> =
once_cell::sync::Lazy::new(|| VersionReq::parse("<0.6.0").unwrap());
+ static PRE_V0_8_10: once_cell::sync::Lazy<VersionReq> =
+ once_cell::sync::Lazy::new(|| VersionReq:... | feat: add debug info bindings | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -590,8 +590,7 @@ App::post('/v1/functions/:functionId/deployments')
$function = $dbForProject->getDocument('functions', $functionId);
$ch = \curl_init();
- // TODO: rename the tag endpoints to deployment in the executor
- \curl_setopt($ch, CURLOPT_URL, "http://appwrite-executor:8080/v1/tag");
+ \curl_setopt($ch, CUR... | feat: update create-deployment endpoint | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -2,8 +2,10 @@ import React, { useState } from 'react';
import {
CheckOutlined,
CopyOutlined,
+ ExclamationCircleOutlined,
FolderOpenOutlined,
InfoCircleOutlined,
+ LinkOutlined,
MoreOutlined,
RightOutlined,
} from '@ant-design/icons';
@@ -238,6 +240,7 @@ export const EntityHeader = ({ showDeprecateOption }: Props) =... | feat(ui): entity profile add copy url option update | null | linkedin/datahub | Apache License 2.0 | TypeScript |
@@ -34,6 +34,7 @@ var (
ResponseHeaderTimeout: 15 * time.Second,
ExpectContinueTimeout: 1 * time.Second,
TLSClientConfig: &tls.Config{
+ ServerName: os.Getenv(caServerNameEnvVar),
RootCAs: initCertPool(),
},
},
@@ -53,6 +54,12 @@ const (
// authenticate an ACME server with a HTTPS certificate not issued by a CA in
// t... | feat: CA Server Name | null | go-acme/lego | MIT License | Go |
@@ -66,7 +66,6 @@ from frappe import _
import json
import hmac
import hashlib
-import six
from six.moves.urllib.parse import urlencode
from frappe.model.document import Document
from frappe.utils import get_url, call_hook_method, cint, get_timestamp
@@ -321,17 +320,12 @@ class RazorpaySettings(Document):
frappe.log_err... | feat: make verification function python 3 only | null | frappe/frappe | MIT License | Python |
@@ -37,6 +37,7 @@ from care.facility.models import (
COVID_CATEGORY_CHOICES,
DISCHARGE_REASON_CHOICES,
FACILITY_TYPES,
+ BedTypeChoices,
Facility,
FacilityPatientStatsHistory,
PatientConsultation,
@@ -60,6 +61,7 @@ from config.authentication import (
)
REVERSE_FACILITY_TYPES = covert_choice_dict(FACILITY_TYPES)
+REVERS... | feat: Added admitted bed type filter | null | coronasafe/care | MIT License | Python |
@@ -3,6 +3,9 @@ package dao
import (
"context"
+ "go.opentelemetry.io/otel"
+ "go.opentelemetry.io/otel/trace"
+
"gorm.io/gorm"
"github.com/1024casts/snake/internal/cache"
@@ -15,6 +18,7 @@ var (
// Dao mysql struct
type Dao struct {
db *gorm.DB
+ tracer trace.Tracer
userCache *cache.Cache
}
@@ -22,6 +26,7 @@ type Dao ... | feat: add trace for dao | null | go-eagle/eagle | MIT License | Go |
@@ -9,7 +9,7 @@ const func: DeployFunction = async function (
const {deployer, upgradeAdmin} = await getNamedAccounts();
const {deploy} = deployments;
- const ERC1155_PREDICATE = await deployments.getOrNull('ERC1155_PREDICATE');
+ const ERC1155_PREDICATE = await deployments.get('ERC1155_PREDICATE');
const TRUSTED_FORWA... | feat: updated deployment dependencies | null | thesandboxgame/sandbox-smart-contracts | MIT License | TypeScript |
@@ -117,6 +117,18 @@ impl HiveCatalog {
let table_meta = client
.get_table(db_name.clone(), table_name.clone())
.map_err(from_thrift_error)?;
+
+ if let Some(sd) = table_meta.sd.as_ref() {
+ if let Some(input_format) = sd.input_format.as_ref() {
+ if input_format != "org.apache.hadoop.hive.ql.io.parquet.MapredParquetIn... | feat(hive): explictly check table inputformat(only support parquet inputformat) | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -124,8 +124,16 @@ function getPageRSSHub(url, tabId, done) {
if (parsedDomain) {
const subdomain = parsedDomain.subdomain;
const domain = parsedDomain.domain + '.' + parsedDomain.tld;
- if (rules[domain] && rules[domain][subdomain || '.']) {
- const rule = rules[domain][subdomain || '.'];
+ if (rules[domain]) {
+ le... | feat: apply www rule to root domain and root domain rule to www | null | diygod/rsshub-radar | MIT License | JavaScript |
@@ -231,7 +231,7 @@ impl<'a, 'm, 'v, T: 'v + 'a> fst::Streamer<'a> for Union<'m, 'v, T> {
}
}
-#[derive(Debug)]
+#[derive(Copy, Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct IndexedValues<'a, T: 'a> {
pub index: usize,
pub values: &'a [T],
@@ -305,7 +305,7 @@ where
}
}
-#[derive(Debug)]
+#[derive(Copy... | feat: Add useful derivable traits to `IndexedValues` types | null | meilisearch/meilisearch | MIT License | Rust |
@@ -15,7 +15,7 @@ class ExternalInputPlugin(core: Core) : CorePlugin(core, name = name), ExternalI
companion object : NamedType {
override val name = "externalInputPlugin"
- val entry = PluginEntry.Core(name = name, factory = { core -> ExternalInputPlugin(core) })
+ val entry = PluginEntry.Core(name = name, activeInChr... | feat: disable ExternalInputPlugin in chromeless mode | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -37,5 +37,8 @@ gcloud components install alpha --quiet
# https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
gcloud components install gke-gcloud-auth-plugin --quiet
+# https://cloud.google.com/docs/terraform/policy-validation/quickstart
+gcloud components install terraform-tools... | feat: add terraform-tools for tfv | null | googlecloudplatform/cloud-foundation-toolkit | Apache License 2.0 | Shell |
@@ -20,6 +20,7 @@ export default {
required: true,
validator: v => v.every(opt => ('label' in opt || 'icon' in opt) && 'value' in opt)
},
+ readonly: Boolean,
disable: Boolean,
noCaps: Boolean,
noWrap: Boolean,
@@ -40,6 +41,9 @@ export default {
},
methods: {
set (value, opt) {
+ if (this.readonly) {
+ return
+ }
this.... | feat(QBtnToggle): readonly prop | null | quasarframework/quasar | MIT License | JavaScript |
/*
- * Copyright 2021 B2i Healthcare Pte Ltd, http://b2i.sg
+ * Copyright 2021-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.
@@ -67,6 +67,30 @@ public final class Json extends ForwardingMa... | feat: support deep merging of Maps/Json objects | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -16,7 +16,7 @@ import (
func registerAPI(storageDir string, cdnDomain string) {
start := time.Now()
- client := &http.Client{
+ httpClient := &http.Client{
Transport: &http.Transport{
Dial: func(network, addr string) (conn net.Conn, err error) {
conn, err = net.DialTimeout(network, addr, 15*time.Second)
@@ -54,31 +5... | feat: add proxy for nest.land and denopkg.com | null | esm-dev/esm.sh | MIT License | Go |
@@ -21,11 +21,6 @@ use Utopia\Logger\Log\User;
$http = new Server("0.0.0.0", App::getEnv('PORT', 80));
-$http->set([
- 'worker_num' => 4,
- 'reactor_num' => 6
-]);
-
$payloadSize = max(4000000 /* 4mb */, App::getEnv('_APP_STORAGE_LIMIT', 10000000 /* 10mb */));
$http
| feat: remove swoole server config | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -26,25 +26,35 @@ open class FullscreenButton(core: Core) : ButtonPlugin(core) {
override val resourceLayout: Int
get() = R.layout.bottom_panel_button_plugin
+ internal val playbackListenerIds = mutableListOf<String>()
+
init {
- listenTo(core, InternalEvent.DID_CHANGE_ACTIVE_CONTAINER.value, Callback.wrap { bindEven... | feat(fullscreen_btn_listeners): improve listeners initialization and destruction | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -103,6 +103,14 @@ public extension SolanaSDK.Account {
self.isWritable = isWritable
}
+ public func readonly(publicKey: SolanaSDK.PublicKey, isSigner: Bool) -> Self {
+ .init(publicKey: publicKey, isSigner: isSigner, isWritable: false)
+ }
+
+ public func writable(publicKey: SolanaSDK.PublicKey, isSigner: Bool) -> S... | feat: readonly and writable factory method | null | p2p-org/solana-swift | MIT License | Swift |
@@ -18,7 +18,8 @@ namespace Flextype\Parsers\Shortcodes;
use Thunder\Shortcode\Shortcode\ShortcodeInterface;
-// Shortcode: [php] php code here [/php]
+// Shortcode: php
+// Usage: (php) php code here (/php)
parsers()->shortcodes()->addHandler('php', static function (ShortcodeInterface $s) {
if (! registry()->get('flex... | feat(shortcodes): update `php` shortcode | null | flextype/flextype | MIT License | PHP |
from __future__ import unicode_literals
import frappe
-from frappe import _
+from frappe import _, _dict
from frappe.utils.data import validate_json_string
from frappe.modules.export_file import export_to_files
from frappe.model.document import Document
+from json import loads, dumps
+from six import string_types
+
cla... | feat: add function to rebuild desk links | null | frappe/frappe | MIT License | Python |
@@ -669,3 +669,95 @@ async fn when_no_pacts_is_error_is_false_should_not_generate_error() {
expect(execution_result.result).to(be_true());
expect(execution_result.errors.iter()).to(be_empty());
}
+
+#[test_log::test(tokio::test)]
+async fn when_no_pacts_is_error_is_false_should_generate_error_if_it_is_other_error() {
+... | feat: add a test to check for error result with IO error | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -9,7 +9,8 @@ use data_types::chunk_metadata::ChunkId;
use datafusion::{
error::{DataFusionError, Result as DatafusionResult},
logical_plan::{
- lit, Column, DFSchemaRef, Expr, ExprRewriter, LogicalPlan, LogicalPlanBuilder, Operator,
+ binary_expr, lit, when, Column, DFSchemaRef, Expr, ExprRewriter, LogicalPlan,
+ Lo... | feat: add _value support to selector aggregates | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -6,6 +6,7 @@ from collections import OrderedDict
from avalon import api, io, lib
import avalon.nuke
+from avalon.nuke import lib as anlib
import pype.api as pype
import nuke
@@ -1190,3 +1191,171 @@ class BuildWorkfile(WorkfileSettings):
def position_up(self, multiply=1):
self.ypos -= (self.ypos_size * multiply) + se... | feat(nuke): Lut exporter added to nuke.lib | null | pypeclub/openpype | MIT License | Python |
@@ -342,7 +342,7 @@ export default class JingleSessionPC extends JingleSession {
// Provide a way to control the behavior for jvb and p2p connections independently.
&& this.isP2P
- ? options.p2p?.enableUnifiedOnChrome
+ ? options.p2p?.enableUnifiedOnChrome ?? true
: options.enableUnifiedOnChrome ?? true));
if (this.isP... | feat(JingleSessionPC): Enable unfied plan by default for chrome p2p | null | jitsi/lib-jitsi-meet | Apache License 2.0 | JavaScript |
@@ -97,10 +97,13 @@ func runMain(cmd *cobra.Command, runCtx *config.RunContext) error {
projectResultChan := make(chan projectResult, numJobs)
errGroup, _ := errgroup.WithContext(context.Background())
- if parallelism > 1 && numJobs > 1 && !runCtx.Config.IsLogging() {
+ runInParallel := parallelism > 1 && numJobs > 1
+... | feat: Set log level to 'info' when CI is detected | null | infracost/infracost | Apache License 2.0 | Go |
// operating system
private static final String SYSTEM_LOAD_AVERAGE = "cpu.systemLoadAverage";
private static final String CPU_AVAILABLE_PROCESSORS = "cpu.availableProcessors";
+ private static final String SYSTEM_CPU_LOAD = "cpu.systemCpuLoad";
+ private static final String PROCESS_CPU_LOAD = "cpu.processCpuLoad";
+ p... | feat: add more operating system metrics | null | quarkusio/quarkus | Apache License 2.0 | Java |
@@ -46,6 +46,9 @@ type Database struct {
func (d Database) ParamStr() string {
p := ""
+ if d.Params == nil {
+ d.Params = make(map[string]string)
+ }
if d.Driver == DriverMysql || d.Driver == DriverSqlite {
if d.Driver == DriverMysql {
if _, ok := d.Params["charset"]; !ok {
| feat(database): support dsn parameter config | null | goadmingroup/go-admin | Apache License 2.0 | Go |
package io.quarkus.maven;
import java.io.File;
+import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Collections;
+import java.util.HashMap;
import java.util.List;
+import java.uti... | feat: Generation of extension.json should allow for overrides | null | quarkusio/quarkus | Apache License 2.0 | Java |
@@ -46,9 +46,22 @@ echo -n "benchwizard >= $EXPECTED_BENCHWIZARD_VERSION ..... "
$PYTHON -m bench_wizard >/dev/null 2>&1 || {
echo "benchwizard required. benchwizard is cli tool developed by HydraDX dev to streamline substrate benchmark process.";
echo "Installation: pip3 install bench-wizard";
- exit 1;
- }
+ echo
+ r... | feat(perf-check): install bench wizard as part of the check perf script | null | galacticcouncil/hydradx-node | Apache License 2.0 | Shell |
@@ -361,6 +361,14 @@ func (s *Session) UpdateGameStatus(idle int, name string) (err error) {
return s.UpdateStatusComplex(*newUpdateStatusData(idle, ActivityTypeGame, name, ""))
}
+// UpdateWatchStatus is used to update the user's watch status.
+// If idle>0 then set status to idle.
+// If name!="" then set movie/strea... | feat: add UpdateWatchStatus function | null | bwmarrin/discordgo | BSD 3-Clause New or Revised License | Go |
@@ -104,17 +104,9 @@ export class DtMenuGroup {
host: {
class: 'dt-menu',
role: 'menubar',
- '[attr.aria-label]': 'ariaLabel',
},
preserveWhitespaces: false,
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.Emulated,
})
-export class DtMenu {
- /**
- * Accessibility label describing the... | feat(menu): Remove deprecated aria-label input attributes | null | dynatrace-oss/barista | Apache License 2.0 | TypeScript |
@@ -53,7 +53,8 @@ impl Thread {
F: Send + 'static,
T: Send + 'static,
{
- let mut thread_builder = Builder::new();
+ let mut thread_builder = Builder::new()
+ .stack_size(16 * 1024 * 1024);
#[cfg(debug_assertions)]
{
| feat(base): set more stack size | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -36,6 +36,7 @@ const PollsPane = (props: AbstractProps) => {
return (
<JitsiScreen
contentContainerStyle = { chatStyles.pollPane }
+ disableForcedKeyboardDismiss = { !createMode }
hasTabNavigator = { true }
style = { chatStyles.pollPaneContainer }>
{
| feat(polls/native): fixed scroll inside screen | null | jitsi/jitsi-meet | Apache License 2.0 | JavaScript |
+# Create a local kind cluster with
+# Knative Serving, and Kourier networking installed.
+# Suitable for use locally during development.
+# CI/CD uses the very similar knative-kind action
+
+main() {
+ local green=$(tput bold)$(tput setaf 2)
+ local red=$(tput bold)$(tput setaf 2)
+ local reset=$(tput sgr0)
+
+ echo "... | feat: local cluster allocation, configuration and teardown | null | knative/func | Apache License 2.0 | Shell |
-const hasSymbol = typeof Symbol === 'function'
- && typeof Symbol.toStringTag === 'symbol'
-
-export const quasarKey = hasSymbol === true
- ? Symbol('_q_')
- : '_q_'
-
-export const timelineKey = hasSymbol === true
- ? Symbol('_q_t_')
- : '_q_t_'
-
-export const stepperKey = hasSymbol === true
- ? Symbol('_q_s_')
- : ... | feat(ui): temporarily use string keys for Quasar's provide/inject | null | quasarframework/quasar | MIT License | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.