diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
+// https://www.youtube.com/watch?v=xuoQdt5pHj0&t=299s&ab_channel=TusharRoy-CodingMadeSimple + +#include <climits> +#include <cmath> +#include <iostream> +#include <vector> + +using namespace std; + +template <typename T> +class SegmentTree { + public: + SegmentTree(const vector<T>& arr) { + // 4 -> 4 + 3 = 7 + // 5 ->...
feat(wheel): lazy update & query for segment tree
null
upupming/algorithm
MIT License
C++
@@ -48,11 +48,8 @@ def get_pdf(html, options=None, output=None): output.encrypt(options["password"].encode('utf-8')) return get_file_data_from_writer(output) - # https://pythonhosted.org/PyPDF2/PdfFileWriter.html - # initialize a writer writer = PdfFileWriter() - # Append pages from the reader object to the writer writ...
feat: code imporvements
null
frappe/frappe
MIT License
Python
@@ -7,7 +7,7 @@ import { isSSR } from '../plugins/Platform.js' let buf, bufIdx = 0, - hexBytes = [] + hexBytes = new Array(256) // Pre-calculate toString(16) for speed for (let i = 0; i < 256; i++) { @@ -18,7 +18,7 @@ for (let i = 0; i < 256; i++) { const randomBytes = (() => { // Node & Browser support const lib = isS...
feat(uid): further tweaks
null
quasarframework/quasar
MIT License
JavaScript
@@ -299,7 +299,7 @@ abstract class Element extends Node bool isFixed; if (el.offsetTop == null) { - double offsetTop = double.parse(el.getOffset(true)); + double offsetTop = double.parse(el.getOffsetY()); // save element original offset to viewport el.offsetTop = offsetTop; } @@ -1076,9 +1076,9 @@ abstract class Elemen...
feat: Issue add getBoundingClientRect impl
null
openkraken/kraken
Apache License 2.0
Dart
@@ -177,7 +177,9 @@ build_msg () { if [ -n "$update_msg" ]; then msg+="\n$update_msg\n\n" fi - msg+="<sub><a href='https://infracost.io/feedback' rel='noopener noreferrer' target='_blank'>How can this comment be more helpful?</a></sub>\n" + msg+="<sub>\n" + msg+=" Is this comment useful? <a href=\"https://www.infracost...
feat: update CI feedback comment
null
infracost/infracost
Apache License 2.0
Shell
@@ -26,6 +26,7 @@ limitations under the License. #include <vector> #include <algorithm> #include <string> +#include <functional> #include <signal.h> #include <fcntl.h> #include <sys/utsname.h> @@ -47,6 +48,8 @@ limitations under the License. #include "statsfilewriter.h" #include "webserver.h" +typedef function<void(sin...
feat(userspace): can not disable both the event sources
null
falcosecurity/falco
Apache License 2.0
C++
@@ -75,10 +75,5 @@ return [ 'developers' => 'https://developer.twitter.com/', 'icon' => 'icon-twitter', 'enabled' => false, - ], - 'stackoverflow' => [ - 'developers' => 'https://developer.twitter.com/', - 'icon' => 'icon-stackoverflow', - 'enabled' => true, - ], + ] ];
feat: removed StackExchange from providers
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
@@ -4,13 +4,12 @@ from avalon.nuke.pipeline import Creator class CreateBackdrop(Creator): """Add Publishable Backdrop""" - name = "backdrop" - label = "Backdrop" - family = "group" - icon = "cube" + name = "nukenodes" + label = "Create Backdrop" + family = "nukenodes" + icon = "file-archive-o" defaults = ["Main"] def _...
feat(nuke): update head info in create backdrop
null
pypeclub/openpype
MIT License
Python
@@ -3,8 +3,11 @@ import 'dart:core'; import 'dart:io'; import 'dart:async'; import 'dart:typed_data'; +import 'dart:convert'; import 'package:kraken/bridge.dart'; +import 'package:crypto/crypto.dart'; +import 'package:kraken/module.dart'; import 'package:path/path.dart' as path; import 'package:flutter/services.dart'; ...
feat: use support directory to store bundle content
null
openkraken/kraken
Apache License 2.0
Dart
@@ -46,15 +46,14 @@ var ( ) var ( - cleanup = flag.Bool("cleanup", false, "Disable/delete contacts and subscriptions of missing users") + cleanupUsers = flag.Bool("cleanup-users", false, "Disable/delete contacts and subscriptions of missing users") + cleanupAbandonedKeys = flag.Bool("cleanup-abandoned-keys", false, "De...
feat(cli): Moved abandoned/outdated to one command
null
moira-alert/moira
MIT License
Go
@@ -77,7 +77,7 @@ angular countryIp: null, firewall: 'NONE', ownLog: null, - ssl: false, + ssl: true, runtime: null, };
feat: ssl selected by default when creating multisite
null
ovh/manager
BSD 3-Clause New or Revised License
JavaScript
+const completion: Fig.Spec = { + name: "bcd", + description: "Bookmark directories and move to them", + options: [ + { + name: ["-s", "--store"], + description: "Store the current directory as a bookmark", + isRepeatable: true, + args: { + name: "store", + isOptional: true, + }, + }, + { + name: ["-r", "--remove"], + ...
feat: add bcd spec
null
withfig/autocomplete
MIT License
TypeScript
@@ -82,7 +82,10 @@ impl Context { /// Create a new context without spawning a full worker pub async fn new_context<S: Into<Address>>(&self, addr: S) -> Result<Context> { - let addr = addr.into(); + self.new_context_impl(addr.into()).await + } + + async fn new_context_impl(&self, addr: Address) -> Result<Context> { let ...
feat(rust): extract private implementations and into wrappers
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -250,7 +250,7 @@ namespace Bit.Client.Web.BlazorUI internalMin -= internalMax; } - precision = Precision is not null ? Precision.Value : CalculatePrecision(internalStep); + precision = Precision is not null ? Precision.Value : CalculatePrecision(Step); if (ValueHasBeenSet is false) { SetValue(GetDoubleValueOrDefault...
feat(components): fix the CalculatePrecision method problems in the BitNumericTextField component
null
bitfoundation/bitframework
MIT License
C#
@@ -3,8 +3,8 @@ import { isNotStringAndIterable as isi, isString as iss, } from "@thi.ng/checks"; -import { css, SVG_TAGS } from "@thi.ng/hiccup"; -import { SVG } from "@thi.ng/prefixes"; +import { css, formatPrefixes, SVG_TAGS } from "@thi.ng/hiccup"; +import { XML_SVG } from "@thi.ng/prefixes"; import type { HDOMImpl...
feat(hdom): add RDFa `prefix` attrib support, update xmlns imports
null
thi-ng/umbrella
Apache License 2.0
TypeScript
@@ -22,17 +22,22 @@ abstract class TaskEventMapper { fun dto(withMetadata: TaskEventWithMetaData) = when (withMetadata.event) { + // Interaction is TaskToBeCompletedEvent -> dto(withMetadata.event, withMetadata.instant) is TaskClaimedEvent -> dto(withMetadata.event, withMetadata.instant) is TaskUnclaimedEvent -> dto(wi...
feat: add support for new events in the cockipt
null
holunda-io/camunda-bpm-taskpool
Apache License 2.0
Kotlin
@@ -7,7 +7,7 @@ const { i18nextCodes } = require('../../config/i18n/all-langs'); const i18nextCode = i18nextCodes[clientLocale]; i18n.use(initReactI18next).init({ - fallbackLng: i18nextCode, + fallbackLng: 'en', lng: i18nextCode, // we only load one language since each language will have it's own server resources: { @@...
feat: use en as i18n fallback
null
freecodecamp/freecodecamp
BSD 3-Clause New or Revised License
JavaScript
@@ -17,7 +17,7 @@ import ( var cacheFileVersion = "0.1" var infracostDir = ".infracost" var cacheFileName = ".infracost-cache" -var cacheMaxAgeSecs int64 = 60 * 10 // 10 minutes +var cacheMaxAgeSecs int64 = 60 * 30 // 30 minutes type terraformConfigFileState struct { Filepath string `json:"filepath"`
feat: increase TF plan cache from 10 to 30mins
null
infracost/infracost
Apache License 2.0
Go
@@ -49,7 +49,7 @@ func init() { if Hostname == "" { Hostname, err = os.Hostname() if err != nil { - Hostname = "" + Hostname = Hostname = strconv.Itoa(time.Now().UnixNano()) } } addFlag(flag.CommandLine)
feat: default host name
null
go-kratos/kratos
MIT License
Go
@@ -20,6 +20,21 @@ function getRoutifyContext() { return getContext('routify') || rootContext } +export const components = { + subscribe(run) { + const components = [] + return derived(routes, routes => { + routes.forEach(route => { + const layouts = route.layouts + .map(layout => layout.api) + .filter(api => !componen...
feat: added $components helper
null
roxiness/routify
MIT License
JavaScript
@@ -13,6 +13,12 @@ const ( UsageWriteRequestCount UsageMetric = "usage_write_request_count" // UsageWriteRequestBytes is the name of the metrics for tracking the number of write bytes. UsageWriteRequestBytes UsageMetric = "usage_write_request_bytes" + + // UsageValues is the name of the metrics for tracking the number ...
feat(usage): add values and series metrics to usage service
null
influxdata/influxdb
MIT License
Go
@@ -218,8 +218,10 @@ const processMarkdown = (syntaxTree, entries, entry) => { const text = contents.join(' ') .replace(/\n/g, ' ') .replace(/<br>/g, '') + .replace(/\|/g, '') .replace(/\s\s+/g, ' ') .replace(/::: tip/g, '') + .replace(/---/g, '') .replace(/::: warning/g, '') .replace(/::: danger/g, '') .replace(/:::/g...
feat(docs): further tweaking
null
quasarframework/quasar
MIT License
JavaScript
@@ -113,17 +113,34 @@ class ExtensionRelease(BaseModel): description: Optional[str] @classmethod - def from_github_release(cls, r: dict) -> "ExtensionRelease": + def from_github_release(cls, source_repo: str, r: dict) -> "ExtensionRelease": return ExtensionRelease( name=r["name"], version=r["tag_name"], archive=r["zipb...
feat: fetch releases for GitHub repo
null
lnbits/lnbits
MIT License
Python
@@ -27,6 +27,17 @@ use function Flextype\parsers; use function Flextype\registry; use function Flextype\serializers; use function Flextype\urlFor; +use function Flextype\url; + +// Shortcode: url +// Usage: (url) +parsers()->shortcodes()->addHandler('url', static function (ShortcodeInterface $s) { + if (! registry()->g...
feat(shortcodes): add new shortcode `url`
null
flextype/flextype
MIT License
PHP
@@ -51,8 +51,12 @@ func NewDashboardHandler() *DashboardHandler { h.HandlerFunc("PATCH", dashboardsIDCellsIDPath, h.handlePatchDashboardCell) h.HandlerFunc("POST", dashboardsIDMembersPath, newPostMemberHandler(h.UserResourceMappingService, platform.Member)) + h.HandlerFunc("GET", dashboardsIDMembersPath, newGetMembersH...
feat(http): add owner/member endpoints to dashboards
null
influxdata/influxdb
MIT License
Go
@@ -305,9 +305,7 @@ impl JsRuntime { if !has_startup_snapshot { js_runtime.js_init(); } - if !options.will_snapshot { js_runtime.init_recv_cb(); - } js_runtime } @@ -432,7 +430,9 @@ impl JsRuntime { // TODO(piscisaureus): The rusty_v8 type system should enforce this. state.borrow_mut().global_context.take(); + // Drop ...
feat(core): allow async opcalls in snapshots
null
denoland/deno
MIT License
Rust
import { h, ref, onUnmounted, Teleport } from 'vue' +import { noop } from '../../utils/event.js' import { createGlobalNode, removeGlobalNode } from '../../utils/private/global-nodes.js' import { portalList } from '../../utils/private/portal.js' @@ -25,8 +26,13 @@ function isOnGlobalDialog (vm) { export default function...
feat(app): SSR support for Quasar Portal
null
quasarframework/quasar
MIT License
JavaScript
@@ -10,7 +10,6 @@ import ( "net" "net/http" "os" - "os/signal" "strings" "syscall" "time" @@ -81,12 +80,11 @@ func listenAndShutdownGracefully(logger log.Logger, gr *run.Group, srv *http.Ser logger.Infof("listening (%s) on %s", name, srv.Addr) return srv.Serve(l) }, func(err error) { - logger.Debugf("starting gracefull...
feat: graceful shutdown fixes
null
dexidp/dex
Apache License 2.0
Go
@@ -43,6 +43,10 @@ export { ThemesService, ThemeType } from './services/themes/themes.service'; export { ALAIN_I18N_TOKEN, AlainI18NService } from './services/i18n/i18n'; export { ModalHelper } from './services/modal/modal.helper'; export { _HttpClient } from './services/http/http.client'; +export { MomentDatePipe } fr...
feat(theme): export all pipes
null
ng-alain/delon
MIT License
TypeScript
* <field-type> := "type" : { "base":<string>, * "c_base"? : <string>, * "dec"?:("ntl"|"pointer"|"[<string>]"), - * <user-defined-conversion>? + * "converter"?:<string> * } * - * <user-defined-conversion> := "U":<string> * <field-loc> := "loc" : ("json" | "query" | "body") * */ +struct converter { + char *name; + char *...
feat: support user-defined string to type conversion
null
cee-studio/orca
MIT License
C
@@ -465,6 +465,20 @@ namespace acl writer.write_vector4(track_index, value); break; } + case track_type8::qvvf: + { + const track_qvvf& track__ = track_cast<track_qvvf>(track_); + + const rtm::qvvf& value0 = track__[key_frame0]; + const rtm::qvvf& value1 = track__[key_frame1]; + const rtm::quatf rotation = rtm::quat_le...
feat(compression): add support for sampling qvvf raw tracks
null
nfrechette/acl
MIT License
C
#!/bin/bash +if [ ! -z ${1+x} ] && [ $1 = "--webapps" ]; then java -Dloader.path="../lib/webapps/camunda-rest-distro-webapps-1.0-SNAPSHOT.jar, ../lib/db/*" \ -jar ../lib/camunda-rest-distro-1.0-SNAPSHOT.jar \ --spring.config.location=file:../config/application.yml +else + java -Dloader.path="../lib/db/*" \ + -jar ../li...
feat(project): make webapps optional
null
camunda/camunda-bpm-platform
Apache License 2.0
Shell
@@ -50,6 +50,8 @@ build_and_push_image() { docker logout docker login -p=$DOCKER_HUB_PASSWORD -u=$DOCKER_HUB_USERNAME docker tag $REGISTRY_OWNER/activity:$APPLICATION_NAME_DEV-$TRAVIS_COMMIT hikaya/activity:$TRAVIS_COMMIT + docker push hikaya/activity:$TRAVIS_COMMIT + fi #@--- Build staging image ---@#
feat(CI): push to new Docker Hub repo
null
hikaya-io/activity
Apache License 2.0
Shell
namespace rime { +// Direction of candidate list. +using Direction = int; +constexpr Direction kDirectionVoid = -1; +constexpr Direction kDirectionDown = 0; +constexpr Direction kDirectionLeft = 1; +constexpr Direction kDirectionUp = 2; +constexpr Direction kDirectionRight = 3; + Selector::Selector(const Ticket& ticket...
feat(selector): support 4 combinations of horizontal/vertical text orientation and stacked/linear candidate list layout
null
rime/librime
BSD 3-Clause New or Revised License
C++
@@ -15,12 +15,15 @@ typealias AccessibilityCardData = (paymentMethodId: String, paymentTypeId: Strin final class PXCardSlider: NSObject { private var pagerView = FSPagerView(frame: .zero) private var pageControl = ISPageControl(frame: .zero, numberOfPages: 0) + private var model: [PXCardSliderViewModel] = [] { didSet {...
feat: Added layoutIfNeeded to force render after updating PXCardSlider pagerView
null
mercadopago/px-ios
MIT License
Swift
@@ -136,7 +136,7 @@ fn main() { rt.block_on(async move { let opts: IpfsOptions = IpfsOptions::new(home.clone(), keypair, Vec::new(), false, None); - let (ipfs, task): (Ipfs<ipfs::TestTypes>, _) = UninitializedIpfs::new(opts, None) + let (ipfs, task): (Ipfs<ipfs::Types>, _) = UninitializedIpfs::new(opts, None) .await .s...
feat: use fsblockstore in ipfs-http
null
rs-ipfs/rust-ipfs
Apache License 2.0
Rust
@@ -3,4 +3,5 @@ Initialization of the optimize subpackage """ from .scalar_maximization import brent_max +from .multivar_maximization import maximize, nelder_mead_algorithm from .root_finding import newton, newton_halley, newton_secant, bisect, brentq
feat: Add Nelder-Mead algorithm
null
quantecon/quantecon.py
BSD 3-Clause New or Revised License
Python
@@ -31,7 +31,7 @@ class PDFPasswordForm extends Component { } submitPassword() { - if (!this.state.password) { + if (_.isEmpty(this.state.password)) { return; } this.props.onSubmit(this.state.password); @@ -56,6 +56,7 @@ class PDFPasswordForm extends Component { returnKeyType="done" onSubmitEditing={this.submitPassword...
feat: pdf password form - password field autofocus and buttton press-on-enter
null
expensify/expensify.cash
MIT License
JavaScript
@@ -286,7 +286,7 @@ public partial class BitTextField protected override Task OnInitializedAsync() { - if (DefaultValue.HasValue()) + if (CurrentValueAsString.HasNoValue() && DefaultValue.HasValue()) { CurrentValueAsString = DefaultValue; }
feat(components): correct implementation of defaultvalue in the BitTextField
null
bitfoundation/bitframework
MIT License
C#
@@ -57,25 +57,48 @@ final class DcsTransitive implements Dependencies { @Override public Iterator<Dependency> iterator() { - return new Filtered<>(this.delegate.iterator(), + return new Filtered<>( + this.delegate.iterator(), dependency -> () -> DcsTransitive.notRuntime(dependency) && DcsTransitive.notTesting(dependenc...
feat(#934): fix all linter mistakes
null
cqfn/eo
MIT License
Java
use crate::{PortalInternalMessage, PortalMessage, TcpPortalRecvProcessor}; +use core::time::Duration; use ockam_core::{async_trait, compat::boxed::Box, Decodable}; use ockam_core::{Address, Any, Result, Route, Routed, Worker}; use ockam_node::Context; @@ -146,58 +147,54 @@ impl TcpPortalWorker { // Connection was dropp...
feat(rust): adjust portals delays to avoid race conditions
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -13,7 +13,7 @@ use Atomastic\Csrf\Csrf; use Atomastic\Session\Session; use Cocur\Slugify\Slugify; use DateTimeZone; -use Flextype\Content\Content; +use Flextype\Entries\Entries; use Flextype\Handlers\HttpErrorHandler; use Flextype\Handlers\ShutdownHandler; use Flextype\Media\Media; @@ -407,14 +407,8 @@ container()->...
feat(flextype): use Entries API as common entry point for entries
null
flextype/flextype
MIT License
PHP
@@ -55,6 +55,7 @@ public final class BundleResourceTypeConverter implements ResourceTypeConverter // allow expanding content via content expansion, for now hit count only results.forEach(bundle -> { final Resources resources = ResourceRequests.prepareSearch() + .filterByBundleAncestorId(bundle.getId()) .setLimit(0) .bu...
feat(core): add missing filter to properly calculate per bundle contents
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
#[macro_use] extern crate tracing; +#[allow(unused_imports)] +#[macro_use] +pub extern crate hex; + // --- // Export the #[node] attribute macro. pub use ockam_node_attribute::*;
feat(rust): add hex as a public exported crate to ockam crate
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -60,6 +60,8 @@ export function fontSize(size: ThemeFontSize, horizontalOffset?: number): CSSObj const negHeight = ascenderHeight + descenderHeight const capHeight = lineHeight - negHeight const iconOffset = (capHeight - iconSize) / 2 + const customIconSize = Math.floor((fontSize * 1.125) / 2) * 2 + 1 + const customI...
feat(ui): improve sizing of custom icons
null
sanity-io/design
MIT License
TypeScript
@@ -26,6 +26,20 @@ solcx_logger.addHandler(sh) AVAILABLE_SOLC_VERSIONS = None +# error codes used in Solidity >=0.8.0 +# docs.soliditylang.org/en/v0.8.0/control-structures.html#panic-via-assert-and-error-via-require +SOLIDITY_ERROR_CODES = { + 1: "Failed assertion", + 17: "Integer overflow", + 18: "Division or modulo b...
feat: add new solc panic codes
null
eth-brownie/brownie
MIT License
Python
@@ -137,6 +137,30 @@ impl RegisterValue for u64 { } } +impl RegisterValue for i32 { + const WIDTH: usize = 4; + fn read_bytes<E: Endianness>(bytes: &[u8], endian: E) -> Option<Self> { + let bytes: &[u8; Self::WIDTH] = bytes.get(..Self::WIDTH)?.try_into().ok()?; + if endian.is_big_endian() { + Some(Self::from_be_bytes(*...
feat(unwind): i32 and i64 implement RegisterValue
null
getsentry/symbolic
MIT License
Rust
@@ -12,11 +12,10 @@ RANDOM_SEED = 14 cur_dir = os.path.dirname(os.path.abspath(__file__)) - def config(): - os.environ['JINA_PARALLEL'] = os.environ.get('JINA_PARALLEL', str(1)) - os.environ['JINA_SHARDS'] = os.environ.get('JINA_SHARDS', str(1)) - os.environ['JINA_PORT'] = str(45678) + os.environ['JINA_PARALLEL'] = os....
feat: clean cross model config
null
jina-ai/examples
Apache License 2.0
Python
@@ -37,6 +37,7 @@ class GlobalVarsTwigExtension extends Twig_Extension implements Twig_Extension_G 'PATH_SITE' => PATH['site'], 'PATH_PLUGINS' => PATH['plugins'], 'PATH_ACCOUNTS' => PATH['accounts'], + 'PATH_UPLOADS' => PATH['uploads'], 'PATH_TOKENS' => PATH['tokens'], 'PATH_THEMES' => PATH['themes'], 'PATH_ENTRIES' =>...
feat(core): add new Global Var PATH_UPLOADS for Twig Templates
null
flextype/flextype
MIT License
PHP
@@ -773,6 +773,9 @@ impl Db { /// Perform sequencer-driven replay for this DB. pub async fn perform_replay(&self, replay_plan: &ReplayPlan) -> Result<()> { if let Some(WriteBufferConfig::Reading(write_buffer)) = &self.write_buffer { + let db_name = self.rules.read().db_name().to_string(); + info!(%db_name, "starting re...
feat: add replay logging
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -170,11 +170,18 @@ const ALL_GLOBAL_KEYS: &[&str] = &[VERSION_KEY]; type Result<A, E = SledStoreError> = std::result::Result<A, E>; -#[derive(Builder, Debug, PartialEq, Eq)] +#[derive(Debug, Clone)] +enum DbOrPath { + Db(Db), + Path(PathBuf), +} + +#[derive(Builder, Debug)] #[builder(name = "SledStateStoreBuilder", ...
feat(sdk): Allow using an existing sled::Db with SledStateStore
null
matrix-org/matrix-rust-sdk
Apache License 2.0
Rust
@@ -87,24 +87,34 @@ class InstalledExtensionMiddleware: async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None: pathname = scope["path"].split("/")[1] if pathname in settings.lnbits_disabled_extensions: + path_elements = scope["path"].split("/") + if len(path_elements) > 2: + _, path_name, path_ty...
feat: add re-routing for upgraded extension APIs
null
lnbits/lnbits
MIT License
Python
@@ -104,25 +104,38 @@ class DiscreteDiarizationErrorRate(BaseMetric): return ["total", "false alarm", "missed detection", "confusion"] def compute_components( - self, reference, hypothesis, uem: Optional[Timeline] = None, + self, + reference, + hypothesis, + uem: Optional[Timeline] = None, ): - return self.compute_comp...
feat: add support for UEM
null
pyannote/pyannote-audio
MIT License
Python
@@ -196,6 +196,7 @@ func (it *ChaosNodeReconciler) createChaos(ctx context.Context, node v1alpha1.Wo })) meta.SetLabels(map[string]string{ v1alpha1.LabelControlledBy: node.Name, + v1alpha1.LabelWorkflow: node.Spec.WorkflowName, }) err = it.kubeClient.Create(ctx, chaosObject)
feat: also append workflow name for controlled chaos object
null
chaos-mesh/chaos-mesh
Apache License 2.0
Go
@@ -9,6 +9,7 @@ declare(strict_types=1); namespace Flextype; +use Flextype\Component\Filesystem\Filesystem; use Psr\Http\Message\ResponseInterface as Response; use Psr\Http\Message\ServerRequestInterface as Request; @@ -17,15 +18,7 @@ use Psr\Http\Message\ServerRequestInterface as Request; */ function validate_delivery...
feat(admin-plugin): update routes validation for API's
null
flextype/flextype
MIT License
PHP
@@ -323,16 +323,20 @@ func (ins *Insert) getInsertSelectQueries(vcursor VCursor, bindVars map[string]* if colVindexes == nil { colVindexes = ins.Table.ColumnVindexes } + + if len(colVindexes) != len(ins.VindexValueOffset) { + return nil, nil, vterrors.Errorf(vtrpcpb.Code_INTERNAL, "vindex value offsets and vindex info ...
feat: handle owned vindexes for INSERT...SELECT
null
vitessio/vitess
Apache License 2.0
Go
import React from "react"; import styled from "styled-components"; import { display } from "styled-system"; -import { themeGet } from "@styled-system/theme-get"; import { Text, Heading3 } from "../Type"; import { Flex } from "../Flex"; import { BrandingText } from "../Branding"; import { DefaultNDSThemeType } from "../...
feat: update link sub-menu item hamburger styles
null
nulogy/design-system
MIT License
TypeScript
@@ -395,12 +395,14 @@ func handlePush(opts *CreateOpts, remote *glrepo.Remote) error { } fmt.Fprintf(opts.IO.StdErr, "\nwarning: you have %s\n", utils.Pluralize(c, "uncommitted change")) } - if trackingRef := determineTrackingBranch(remotes, opts.SourceBranch); trackingRef != nil { - if r, err := remotes.FindByName(tra...
feat(commands/mr/create): set tracking remote if none is set
null
profclems/glab
MIT License
Go
@@ -13,7 +13,7 @@ extension SolanaSDK { public let programId: SolanaSDK.PublicKey public let data: [UInt8] - init(keys: [SolanaSDK.Account.Meta], programId: SolanaSDK.PublicKey, data: [BytesEncodable]) + public init(keys: [SolanaSDK.Account.Meta], programId: SolanaSDK.PublicKey, data: [BytesEncodable]) { self.keys = ke...
feat: public AccountInstruction
null
p2p-org/solana-swift
MIT License
Swift
@@ -17,7 +17,7 @@ declare(strict_types=1); use Glowy\Arrays\Arrays as Collection; emitter()->addListener('onEntriesFetchSingleHasResult', static function (): void { - dump(entries()->registry()->get('methods.fetch.collection')); + if (! entries()->registry()->get('methods.fetch.collection.fields.entries.enabled')) { re...
feat(fields): improve `EntriesField` logic - cleanup dump
null
flextype/flextype
MIT License
PHP
@@ -18,13 +18,12 @@ namespace Flextype\Parsers\Shortcodes; use Thunder\Shortcode\Shortcode\ShortcodeInterface; use Ramsey\Uuid\Uuid; -use function app; use function parsers; use function registry; // Shortcode: uuid // Usage: (uuid) (uuid:4) -parsers()->shortcodes()->addHandler('uuid', static function () { +parsers()->...
feat(shortcodes): fix logic for `uuid` shortcode and upd tests
null
flextype/flextype
MIT License
PHP
@@ -2,13 +2,17 @@ import os import traceback from pype.lib import PypeHook from pypeapp import Logger +import importlib +import avalon.api +import pype.premiere +from pype.premiere import lib as prlib class PremierePrelaunch(PypeHook): """ - This hook will check if current workfile path has Unreal + This hook will chec...
feat(ppro): prelaunch finalized wrapping
null
pypeclub/openpype
MIT License
Python
@@ -18,7 +18,6 @@ import com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource import com.google.android.exoplayer2.text.CaptionStyleCompat import com.google.android.exoplayer2.trackselection.* import com.google.android.exoplayer2.ui.SimpleExoPlayerView -import com.google.android.exoplayer2.upstream.DataSp...
feat(remove_adaptive_media_source_events): remove AdaptiveMediaSourceEventListener
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
@@ -121,7 +121,7 @@ public class Bundle extends Model implements Cloneable { * This method should be called after setServiceDates(). */ private void createFeedName (GTFSFeed feed) { - String name = ""; + String name = null; LocalDate startingDate = this.serviceStart; LocalDate endingDate = this.serviceEnd; @@ -131,7 +1...
feat(gtfs): cleaner feed names
null
conveyal/r5
MIT License
Java
@@ -40,6 +40,16 @@ impl<A: Allocator> fmt::Debug for BitVec<A> { .finish() } } +impl<A: Allocator> From<Vec<u8, A>> for BitVec<A> { + fn from(data: Vec<u8, A>) -> Self { + let pos = if data.is_empty() { 0 } else { data.len() - 1 }; + Self { + data, + pos, + bit_offset: 0, + } + } +} impl BitVec { /// Create a new, empt...
feat: add support for constructing bitvecs from vec<u8>
null
lumen/lumen
Apache License 2.0
Rust
package org.gluu.oxauth.service; +import static org.gluu.oxauth.model.authorize.AuthorizeResponseParam.SESSION_ID; +import static org.gluu.oxauth.model.authorize.AuthorizeResponseParam.SID; + +import java.io.UnsupportedEncodingException; +import java.security.Principal; +import java.util.ArrayList; +import java.util.Ar...
feat: add methods to simplify getting auth manager configurations
null
gluufederation/oxauth
MIT License
Java
@@ -22,7 +22,9 @@ var ( ErrMissingReadSource = errors.New("missing ReadSource") ) -func getReadSource(req *datatypes.ReadRequest) (*ReadSource, error) { +// GetReadSource will attempt to unmarshal a ReadSource from the ReadRequest or +// return an error if no valid resource is present. +func GetReadSource(req *datatype...
feat(storage): Export GetReadSource API for Enterprise reuse
null
influxdata/influxdb
MIT License
Go
@@ -16,6 +16,8 @@ import solcx from eth_utils import remove_0x_prefix from hexbytes import HexBytes from semantic_version import Version +from vvm import get_installable_vyper_versions +from vvm.utils.convert import to_vyper_version from brownie._config import CONFIG, REQUEST_HEADERS from brownie.convert.datatypes impo...
feat: compile vyper sources from etherscan
null
eth-brownie/brownie
MIT License
Python
@@ -37,8 +37,8 @@ namespace Unity.Netcode.Editor var ft = fields[i].FieldType; if (ft.IsGenericType && ft.GetGenericTypeDefinition() == typeof(NetworkVariable<>) && !fields[i].IsDefined(typeof(HideInInspector), true)) { - m_NetworkVariableNames.Add(fields[i].Name); - m_NetworkVariableFields.Add(fields[i].Name, fields[i...
feat: Show public NetworkVariables in editor with a nice name
null
unity-technologies/com.unity.multiplayer.mlapi
MIT License
C#
@@ -222,6 +222,34 @@ pub async fn clickhouse_handler_get( let sql = params.query(); + let (stmts, _) = DfParser::parse_sql(sql.as_str(), context.get_current_session().get_type()) + .unwrap_or_else(|_| (vec![], vec![])); + + let settings = context.get_settings(); + if settings.get_enable_new_processor_framework().unwrap...
feat(handler): ck http handler get support new planner
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -6,7 +6,7 @@ use rand::prelude::random; use anyhow::{anyhow, Context as _}; use std::{ net::{IpAddr, SocketAddr}, - path::{Path, PathBuf}, + path::PathBuf, str::FromStr, }; use tracing::error; @@ -81,8 +81,8 @@ pub struct CreateCommand { /// This argument is currently ignored on background nodes. Node /// configurat...
feat(rust): node launch_config optional `JSON` string
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -24,6 +24,108 @@ let brain = { } let nlu = { } let httpServer = { } +/** + * Generate packages routes + */ +const generatePackagesRoutes = () => { + // Dynamically expose Leon modules over HTTP + endpoints.forEach((endpoint) => { + fastify.route({ + method: endpoint.method, + url: endpoint.route, + async handler (re...
feat(server): add timeout action over HTTP
null
leon-ai/leon
MIT License
JavaScript
-import React, { useContext } from 'react' +import React, { useContext, useEffect } from 'react' +import { RouteComponentProps } from 'react-router-dom' import styled from 'styled-components' +import axios, { AxiosResponse } from 'axios' import AppContext from '../../contexts/App' +import CONFIG from '../../config' con...
feat: add http check to maintain page
null
nervosnetwork/ckb-explorer-frontend
MIT License
TypeScript
@@ -200,6 +200,18 @@ pub enum Error { UnknownError(Box<dyn std::error::Error + Send + Sync>), } +impl Error { + /// If `self` is `Http(Api(Server(Known(e))))`, returns `Some(e)`. + /// + /// Otherwise, returns `None`. + pub fn as_ruma_api_error(&self) -> Option<&RumaApiError> { + match self { + Error::Http(e) => e.as_r...
feat(sdk): Add Error::as_ruma_api_error
null
matrix-org/matrix-rust-sdk
Apache License 2.0
Rust
@@ -202,3 +202,35 @@ func TestStringSliceContains(t *testing.T) { }) } } + +func TestIsInSlice(t *testing.T) { + type args struct { + value interface{} + sli interface{} + } + tests := []struct { + name string + args args + want bool + }{ + {"test int in slice", args{ + value: 1, + sli: []int{1, 2, 3}, + }, true}, + {"...
feat: add func IsInSlice
null
go-eagle/eagle
MIT License
Go
@@ -105,7 +105,11 @@ class PaginationQuery extends AbstractPaginationQuery * a recruiter can see his jobs and jobs from users who gave permissions to do so */ if (isset($params['by']) && 'me' == $params['by']) { - $queryBuilder->field('user')->equals($this->user->getId()); + $queryBuilder->addAnd( + $queryBuilder->expr...
feat: job filer "my jobs" also lists job which a user is assigned to as department manager
null
cross-solution/yawik
MIT License
PHP
@@ -65,20 +65,18 @@ export enum Purpose { SUBSCRIPTION = 'subscriptionSplit', } -const BaseTransactions = () => { - const [currencyType, setCurrencyType] = useState<Currency>(Currency.ALL) - const [purpose, setPurpose] = useState<Purpose>(Purpose.ALL) - - const isALL = purpose === Purpose.ALL - const isDonaion = purpos...
feat(Transaction): revise UI
null
thematters/matters-web
Apache License 2.0
TypeScript
@@ -36,7 +36,7 @@ set -e script_utc_start_time=$(date -u +"%Y%m%dT%H%M%S") -if [ -z "$AWS_SECRET_ACCESS_KEY" || -z "$AWS_PROFILE" ]; then +if [ -z "$AWS_SECRET_ACCESS_KEY" ] && [ -z "$AWS_PROFILE" ]; then echo "No AWS credentials were found in the environment." echo "Note that only Datadog employees can run these integ...
feat: fix bash script to run agent integration tests
null
datadog/datadog-agent
Apache License 2.0
Shell
@@ -8,6 +8,7 @@ export const icons = { chevronRight: "M10.71 7.29l-4-4a1 1 0 00-1.42 1.42L8.59 8 5.3 11.29A.97.97 0 005 12a1 1 0 001.71.71l4-4A1 1 0 0011 8a1 1 0 00-.29-.71z", chevronUp: "M12.71 9.29l-4-4C8.53 5.11 8.28 5 8 5s-.53.11-.71.29l-4 4a1 1 0 001.42 1.42L8 7.41l3.29 3.29c.18.19.43.3.71.3a1 1 0 00.71-1.71z", ci...
feat: Add cog icon
null
thien-do/moai
MIT License
TypeScript
@@ -95,6 +95,7 @@ test('test getDirectoryLocation entry', function () { }); test('test getCacheID entry', function () { + flextype('registry')->set('flextype.settings.cache.enabled', false); flextype('entries')->create('foo', []); $this->assertEquals('', flextype('entries')->getCacheID('foo'));
feat(tests): fix test for getCacheID() method
null
flextype/flextype
MIT License
PHP
@@ -4,6 +4,7 @@ import ( "context" "fmt" "strings" + "time" "github.com/flanksource/commons/logger" "github.com/flanksource/karina/pkg/constants" @@ -90,6 +91,8 @@ func init() { var master bool var install bool var cloudInit bool + var nodeGroup string + var tokenExpiry time.Duration generateJoinCommand := &cobra.Comma...
feat: add node join token expirty
null
flanksource/karina
Apache License 2.0
Go
@@ -140,6 +140,12 @@ private static Integer getInt(Object obj) */ private final Map<String, String> pubSubToBridge = new HashMap<>(); + /** + * The bridge selection strategy. + */ + private BridgeSelectionStrategy bridgeSelectionStrategy + = new SingleBridgeSelectionStrategy(); + /** * Creates new instance of {@link Br...
feat: Abstracts a BridgeSelectionStrategy
null
jitsi/jicofo
Apache License 2.0
Java
@@ -51,6 +51,10 @@ func GenerateCmd() *cobra.Command { cmd.Flags().String("driver", "", "name of the database driver to run (required)") cmd.Flags().String("dbname", "", "schemahero database name to write in the yaml (required)") + cmd.MarkFlagRequired("uri") + cmd.MarkFlagRequired("driver") + cmd.MarkFlagRequired("dbn...
feat(generate): add required markers
null
schemahero/schemahero
Apache License 2.0
Go
@@ -41,8 +41,16 @@ func asian(ver string, arch TOSArch) SOsInfo { return SOsInfo{LINUX, "Asianux Server", ver, arch} } -func centos(arch TOSArch) SOsInfo { - return SOsInfo{LINUX, "CentOS", "4/5", arch} +func centos4_5(arch TOSArch) SOsInfo { + return centos("4/5", arch) +} + +func centos(ver string, arch TOSArch) SOsI...
feat(esxi): update guest os info
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -255,9 +255,6 @@ namespace Discord if (options == null) throw new ArgumentNullException(nameof(options), "Options cannot be null!"); - if (options.Length == 0) - throw new ArgumentException("Options cannot be empty!", nameof(options)); - Options ??= new List<SlashCommandOptionBuilder>(); if (Options.Count + options....
feat: AddOptions no longer has an uneeded restriction, added AddOptions to SlashCommandOptionBuilder
null
discord-net/discord.net
MIT License
C#
@@ -2,6 +2,7 @@ package com.swmansion.gesturehandler.react; import android.content.Context; import android.os.Bundle; +import android.util.AttributeSet; import android.view.MotionEvent; import com.facebook.react.ReactInstanceManager; @@ -18,6 +19,10 @@ public class RNGestureHandlerEnabledRootView extends ReactRootView ...
feat: add RNGestureHandlerEnabledRootView constructor with attrs so we can use this view inside an xml layout file
null
software-mansion/react-native-gesture-handler
MIT License
Java
@@ -25,6 +25,7 @@ bool is_extended_cjk(uint32_t ch) (ch >= 0x2B820 && ch <= 0x2CEAF) || // CJK Unified Ideographs Extension E (ch >= 0x2CEB0 && ch <= 0x2EBEF) || // CJK Unified Ideographs Extension F (ch >= 0x30000 && ch <= 0x3134F) || // CJK Unified Ideographs Extension G + (ch >= 0xF900 && ch <= 0xFAFF) || // CJK Com...
feat(chareset_filter): add CJK Compatibility Ideographs in is_extended_cjk()
null
rime/librime
BSD 3-Clause New or Revised License
C++
@@ -30,6 +30,7 @@ import ( "gx/ipfs/QmatUACvrFK3xYg1nd2iLAKfz7Yy5YB56tnzBYHpqiUuhn/go-ipfs/repo/fsrepo" lockfile "gx/ipfs/QmatUACvrFK3xYg1nd2iLAKfz7Yy5YB56tnzBYHpqiUuhn/go-ipfs/repo/fsrepo/lock" + "gx/ipfs/QmZoWKhxUmZ2seW4BzX6fJkNR8hh9PsGModr7q171yq2SS/go-libp2p-peer" libp2p "gx/ipfs/QmaPbCnUMBohSGo3KnxEa2bHqyJVVeEEcwt...
feat(pairing): decrypt mnemonic phrase before pairing
null
textileio/go-textile
MIT License
Go
package org.eolang.maven; import com.jcabi.log.Logger; -import com.jcabi.log.Supplier; import com.jcabi.xml.XMLDocument; import com.yegor256.tojos.Tojo; import com.yegor256.tojos.Tojos; @@ -107,7 +106,10 @@ public final class ParseMojo extends SafeMojo { .select(row -> row.exists(AssembleMojo.ATTR_EO)) .stream() .filte...
feat(#1564): remove redundant method
null
cqfn/eo
MIT License
Java
@@ -108,5 +108,15 @@ class SafeList<E> { } } + suspend fun any(function: (E) -> Boolean): Boolean { + lock.withLock { + return list.any(function) + } + } + suspend fun firstOrNull(function: (E) -> Boolean): E? { + lock.withLock { + return list.firstOrNull(function) + } + } } \ No newline at end of file
feat: use safelist for activegames in tictactoe
null
toxicmushroom/melijn
MIT License
Kotlin
@@ -156,11 +156,14 @@ func (conf *Configuration) CanRevoke(requestor string, cred irma.CredentialTypeI if err != nil { return false, err.Error() } - if !contains(permissions, cred.String()) { - return false, cred.String() - } + if contains(permissions, "*") || + contains(permissions, cred.Root()+".*") || + contains(per...
feat: irma server revocation permissions now supports wildcards like other permissions
null
privacybydesign/irmago
Apache License 2.0
Go
@@ -34,6 +34,12 @@ export interface InlineBlocksProps { } className?: string direction?: 'column' | 'row' + /** + * object will be spread to every block child element + */ + blockProps?: { + [key: string]: any + } } export interface InlineBlocksActions { @@ -68,6 +74,7 @@ export function InlineBlocks({ blocks, classNam...
feat: add a blockProps prop which spreads props to child elements
null
tinacms/tinacms
Apache License 2.0
TypeScript
@@ -195,7 +195,8 @@ static int OnParseImage( LCUI_CSSParserStyleContext ctx, const char *str ) return -1; } -static int OnParseStyleOption( LCUI_CSSParserStyleContext ctx, const char *str ) +static int OnParseStyleOption( LCUI_CSSParserStyleContext ctx, + const char *str ) { LCUI_Style s = &ctx->sheet->sheet[ctx->parse...
feat(css): add parsing support for "border-left: 0;"
null
lc-soft/lcui
MIT License
C
@@ -200,6 +200,7 @@ async function checkTypeScriptVersion() { const typescriptPath = await resolvePkg('typescript', { basedir: process.cwd(), }) + debug('typescriptPath', typescriptPath) const typescriptPkg = typescriptPath && path.join(typescriptPath, 'package.json') if (typescriptPkg && fs.existsSync(typescriptPkg)) ...
feat(sdk): add resolved TypeScript path to logs and error message
null
prisma/prisma
Apache License 2.0
TypeScript
@@ -60,6 +60,14 @@ func Print(a ...interface{}) { } } + for _, spinner := range activeSpinnerPrinters { + if spinner.IsActive { + ret += sClearLine() + ret += Sprinto(a...) + printed = true + } + } + if !printed { ret = color.Sprint(Sprint(a...)) }
feat: print lines above active spinners
null
pterm/pterm
MIT License
Go
+const completionSpec: Fig.Spec = { + name: "k9s", + description: + "K9s is a terminal based UI to interact with your Kubernetes clusters", + subcommands: [ + { + name: "help", + description: "Help about any command", + args: { name: "command", isOptional: true, template: "help" }, + }, + { + name: "info", + descriptio...
feat: add k9s completion spec
null
withfig/autocomplete
MIT License
TypeScript
@@ -4,8 +4,12 @@ use futures::{ future::{BoxFuture, Shared}, FutureExt, TryFutureExt, }; +use observability_deps::tracing::debug; use parking_lot::Mutex; -use tokio::{sync::oneshot::error::RecvError, task::JoinHandle}; +use tokio::{ + sync::oneshot::{error::RecvError, Sender}, + task::JoinHandle, +}; use super::{backen...
feat: `Cache::set`
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -21,10 +21,7 @@ export default Vue.extend({ mixins: [ BtnMixin ], props: { - percentage: { - type: Number, - validator: v => v >= 0 && v <= 100 - }, + percentage: Number, darkPercentage: Boolean }, @@ -40,6 +37,10 @@ export default Vue.extend({ { keyCodes: [] }, this.ripple === true ? {} : this.ripple ) + }, + + com...
feat(QBtn): relax "percentage" prop handling
null
quasarframework/quasar
MIT License
JavaScript
using System.Collections.Generic; using System.Diagnostics; using System.Linq; +using System.Reflection; +using System.Runtime.CompilerServices; using Elastic.Apm.Logging; using Elastic.Apm.Model; @@ -9,6 +11,8 @@ namespace Elastic.Apm.Helpers { internal static class StacktraceHelper { + private const string DefaultAsy...
feat: real stack
null
elastic/apm-agent-dotnet
Apache License 2.0
C#
@@ -7,12 +7,10 @@ declare(strict_types=1); * Founded by Sergey Romanenko and maintained by Flextype Community. */ -use Flextype\Component\Filesystem\Filesystem; - if (flextype('registry')->get('flextype.settings.entries.fields.published_at.enabled')) { flextype('emitter')->addListener('onEntryAfterInitialized', static ...
feat(fields): use Atomastic Filesystem for PublishedAtField
null
flextype/flextype
MIT License
PHP