diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -593,6 +593,7 @@ class Connection extends BaseConnection implements ConnectionInterface
$primaryColumnType = $columnTypeList[$primaryColumnName];
if ($primaryColumnType !== 'NUMBER') {
+ $primaryColumnName = '';
continue;
}
}
| feat: Fixed the problem that 1 is always returned when the type is not number | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -8,7 +8,7 @@ use crate::{
use backoff::BackoffConfig;
use data_types::{
CompactionLevel, Namespace, NamespaceId, ParquetFile, ParquetFileId, Partition, PartitionId,
- PartitionParam, SequencerId, Table, TableId, TableSchema, Tombstone, TombstoneId,
+ PartitionKey, PartitionParam, SequencerId, Table, TableId, TableSc... | feat: add sort key and partition key into PartitionCompactionCandidateWithInfo | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -5,12 +5,12 @@ import tornado.web
class MainHandler(tornado.web.RequestHandler):
def get(self):
- self.write("")
+ pass
class UserHandler(tornado.web.RequestHandler):
def post(self):
- self.write("")
+ pass
class UserInfoHandler(tornado.web.RequestHandler):
| feat(tornado): Optimize empty string return | null | the-benchmarker/web-frameworks | MIT License | Python |
@@ -57,7 +57,6 @@ export default {
},
on: {
load: () => {
- this.loaded = true
this.$el.contentDocument.defaultView.addEventListener('resize', this.trigger, listenOpts.passive)
this.trigger()
}
@@ -89,7 +88,7 @@ export default {
return
}
- if (this.loaded) {
+ if (this.$el.contentDocument) {
this.$el.contentDocument.de... | feat(QResizeObservable): Improve guard | null | quasarframework/quasar | MIT License | JavaScript |
@@ -20,11 +20,10 @@ public static class MauiProgram
var services = builder.Services;
- services.AddMauiBlazorWebView()
+ services.AddMauiBlazorWebView();
#if DEBUG
- .AddBlazorWebViewDeveloperTools()
+ services.AddBlazorWebViewDeveloperTools();
#endif
- ;
services.AddTransient<IAuthTokenProvider, ClientSideAuthTokenPro... | feat(template): modify the registration of the BlazorWebView and its devtools in the TodoTemplate project | null | bitfoundation/bitframework | MIT License | C# |
/*
- * Copyright 2011-2021 B2i Healthcare Pte Ltd, http://b2i.sg
+ * Copyright 2011-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.
@@ -26,11 +26,11 @@ import com.b2international.snowowl.cor... | feat(refset): Make use of member change streams in query update request | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -351,9 +351,14 @@ namespace acl
}
}
- constexpr bool is_rotation_format_variable(rotation_format8 rotation_format)
+ constexpr bool is_rotation_format_variable(rotation_format8 format)
{
- return rotation_format == rotation_format8::quatf_drop_w_variable;
+ return format == rotation_format8::quatf_drop_w_variable;
+... | feat: add helper functions | null | nfrechette/acl | MIT License | C |
@@ -298,7 +298,17 @@ class Collection
*/
public function last() : array
{
- return array_undot($this->matchCollection()->last());
+ // Match collection
+ $collection = $this->collection->matching($this->criteria);
+
+ // Restore error_reporting
+ error_reporting($this->errorReporting);
+
+ // Gets first matching result... | feat(element-queries): update methods first() next() last() | null | flextype/flextype | MIT License | PHP |
@@ -203,6 +203,13 @@ impl Verifiable for KeyPackage {
// Public `KeyPackage` functions.
impl KeyPackage {
+ /// Create a key package builder.
+ ///
+ /// This is provided for convenience. You can also use [`KeyPackageBuilder::new`].
+ pub fn builder() -> KeyPackageBuilder {
+ KeyPackageBuilder::new()
+ }
+
/// Create a... | feat: Introduce a `KeyPackageBuilder` | null | openmls/openmls | MIT License | Rust |
@@ -144,6 +144,8 @@ class Spotify extends OAuth2
/**
* Check if the OAuth email is verified
*
+ * @link https://developer.spotify.com/documentation/web-api/reference/#/operations/get-current-users-profile
+ *
* @param $accessToken
*
* @return bool
@@ -179,7 +181,7 @@ class Spotify extends OAuth2
if (empty($this->user))... | feat: update spotify OAuth provider | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -210,6 +210,7 @@ async function getConfig() {
return {
...config,
libraryVersion,
+ name: config.name || appName,
template: templatePath,
};
}
| feat(cli): Print relative cd path (algolia/create-instantsearch-app#45) | null | algolia/instantsearch.js | MIT License | JavaScript |
@@ -295,9 +295,7 @@ MeetingInfoUtil.getDirectMeetingInfoURI = (options) => {
preferredWebexSite = MeetingInfoUtil.getWebexSite(destination);
break;
case _LOCUS_ID_:
- if (destination.info?.sipUri) {
- preferredWebexSite = MeetingInfoUtil.getWebexSite(destination.info?.sipUri);
- }
+ preferredWebexSite = destination.inf... | feat(plugin-meetings): use webExSite property for LOCUS_ID case | null | webex/webex-js-sdk | MIT License | JavaScript |
@@ -43,6 +43,7 @@ class _ProductImageGalleryViewState extends State<ProductImageGalleryView> {
bool _hasPhoto = true;
bool _isRefreshed = false;
late ProductImageData _productImageDataCurrent;
+ int _currentIndex = 0;
@override
void initState() {
@@ -103,7 +104,14 @@ class _ProductImageGalleryViewState extends State<Pr... | feat: Added a gallery item indicator | null | openfoodfacts/smooth-app | Apache License 2.0 | Dart |
@@ -51,7 +51,7 @@ function generateComponentTypings(componentName, fileContent) {
import * as React from 'react';
// IMPORTS
-interface ${componentName}Props${propsExtends ? ` extends ${propsExtends.trim()}` : ''} {
+export interface ${componentName}Props${propsExtends ? ` extends ${propsExtends.trim()}` : ''} {
slot?:... | feat(react): add export for props interface | null | framework7io/framework7 | MIT License | JavaScript |
@@ -35,6 +35,7 @@ parsers()->shortcodes()->addHandler('registry', static function (ShortcodeInterf
$result = '';
$params = $s->getParameters();
+ // get
if (
collection(array_keys($params))->filter(static fn ($v) => $v === 'get')->count() > 0 &&
isset($params['id']) &&
@@ -47,5 +48,5 @@ parsers()->shortcodes()->addHand... | feat(shortcodes): update registry shortcode | null | flextype/flextype | MIT License | PHP |
@@ -206,6 +206,20 @@ impl Bdev {
spdk_rs::DummyBdev::lookup_by_name(name).map(Self::new)
}
+ /// lookup a bdev by its uuid
+ pub fn lookup_by_uuid(uuid: &str) -> Option<Bdev> {
+ match Self::bdev_first() {
+ None => None,
+ Some(bdev) => {
+ let b: Vec<Bdev> = bdev
+ .into_iter()
+ .filter(|b| b.uuid_as_string() == uui... | feat(bdev): add function to lookup bdev by uuid | null | openebs/mayastor | Apache License 2.0 | Rust |
@@ -327,7 +327,9 @@ class Renderer {
}
private void checkBoss(GameConfig gameConfig, QuestionConfig questionConfig, String tag, ExportReport exportReport) {
-
+ if (questionConfig.getAiCode() == null || questionConfig.getAiCode().isEmpty()) {
+ exportReport.addItem(ReportItemType.ERROR, tag + "Missing Boss.* file.");
+... | feat(sdk-config): add check boss | null | codingame/codingame-game-engine | MIT License | Java |
@@ -2065,7 +2065,9 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
settings.setStringIfNotNull(Settings.KEYS.ANALYZER_PNPM_PATH, pathToPnpm);
final Proxy proxy = getMavenProxy();
+ boolean proxySet = false;
if (proxy != null) {
+ proxySet = true;
settings.setString(Settings.KEYS.PROX... | feat: allow the use of maven CLI proxy def, resolves | null | jeremylong/dependencycheck | Apache License 2.0 | Java |
@@ -550,16 +550,6 @@ class AlgoChooser {
ImplAlgo algo, double& timeout) const;
private:
- /*!
- * \brief modify param passed to prof_impl by weights preprcess.
- *
- * \param param: param passed.
- *
- * \warning invoke when is_weights_persistent is true.
- */
- void modify_param_with_weights_preprocessed(
- typename ... | feat(opr): remove old weight preprocess adapter in fastrun | null | megengine/megengine | Apache License 2.0 | C++ |
@@ -20,8 +20,9 @@ func NewCmdMerge(f *cmdutils.Factory) *cobra.Command {
Long: ``,
Aliases: []string{"accept"},
Example: heredoc.Doc(`
- glab mr merge 235
- glab mr merge # Finds open merge request from current branch
+ $ glab mr merge 235
+ $ glab mr accept 235
+ $ glab mr merge # Finds open merge request from current... | feat(commands/mr/merge): update EXAMPLES | null | profclems/glab | MIT License | Go |
@@ -21,6 +21,8 @@ use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
+use function Thermage\div;
+use function Thermage\renderToString;
class EntriesCopyCommand ext... | feat(console): improve `entries:copy` logic | null | flextype/flextype | MIT License | PHP |
@@ -37,6 +37,10 @@ module Geocoder
def results(query)
return [] unless configuration[:file]
+ if @mmdb.respond_to?(:local_ip_alias) && !configuration[:local_ip_alias].nil?
+ @mmdb.local_ip_alias = configuration[:local_ip_alias]
+ end
+
result = @mmdb.lookup(query.to_s)
result.nil? ? [] : [result]
end
| feat: add configuration option for maxminddb local_ip_alias | null | alexreisner/geocoder | MIT License | Ruby |
+import { Link } from "gatsby"
import React, { PropsWithChildren } from "react"
import { Container } from "../Container"
import logo from "../../images/tph-logo.png"
@@ -16,7 +17,9 @@ export function Header() {
<SC.HeaderWrapper>
<Container>
<SC.InnerWrapper>
+ <Link to="/">
<SC.Logo src={logo} />
+ </Link>
<SC.Menu>
<... | feat(header): add index link to logo | null | the-programmers-hangout/website | MIT License | TypeScript |
@@ -176,6 +176,10 @@ final class GetTest extends CIUnitTestCase
$this->expectException(DatabaseException::class);
$this->expectExceptionMessage('SQLite3 doesn\'t support seeking to other offset.');
}
+ elseif ($this->db->DBDriver === 'OCI8')
+ {
+ $this->markTestSkipped('OCI8 does not support data seek.');
+ }
$data->d... | feat: add test case for dataSeek | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -247,7 +247,7 @@ App::post('/v1/runtimes')
command: $commands,
stdout: $stdout,
stderr: $stderr,
- timeout: App::getEnv('_APP_FUNCTIONS_TIMEOUT', 900)
+ timeout: App::getEnv('_APP_FUNCTIONS_BUILD_TIMEOUT', 900)
);
if (!$status) {
| feat: use build timeout when building runtime | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -6,12 +6,10 @@ use Flextype\Foundation\Flextype;
use Atomastic\Strings\Strings;
beforeEach(function() {
- //filesystem()->directory(PATH['project'] . '/entries')->create();
-
// Create sandbox plugin
filesystem()->directory(PATH['project'] . '/plugins/sandbox')->create(0755, true);
filesystem()->directory(PATH['proj... | feat(tests): add tests for Plugins getLocales() and getPluginsDictionary() method | null | flextype/flextype | MIT License | PHP |
@@ -74,6 +74,19 @@ func ToApiPipeline(pipeline *model.Pipeline) *api.Pipeline {
}
}
+ var resourceRefs []*api.ResourceReference
+ if len(pipeline.Namespace) > 0 {
+ resourceRefs = []*api.ResourceReference{
+ {
+ Key: &api.ResourceKey{
+ Type: api.ResourceType_NAMESPACE,
+ Id: pipeline.Namespace,
+ },
+ Relationship: ap... | feat(backend): Include namespace in Pipeline API model. Part of | null | kubeflow/pipelines | Apache License 2.0 | Go |
@@ -99,6 +99,10 @@ function nukecomments () {
<p>${removalChainLength + distinguishedCommentsLength} comments found (Already removed comments not included).</p>
<p>${distinguishedCommentsLength} distinguished comments found.</p>
<p><label><input type="checkbox" class="tb-ignore-distinguished-checkbox" ${ignoreDistingui... | feat(Nuke): Ability to lock instead of remove | null | toolbox-team/reddit-moderator-toolbox | Apache License 2.0 | JavaScript |
@@ -13,18 +13,17 @@ use Atomastic\Csrf\Csrf;
use Atomastic\Session\Session;
use Cocur\Slugify\Slugify;
use DateTimeZone;
-use RuntimeException;
use Flextype\Content\Content;
-use Flextype\Media\Media;
-use Flextype\Tokens\Tokens;
use Flextype\Handlers\HttpErrorHandler;
use Flextype\Handlers\ShutdownHandler;
+use Flexty... | feat(flextype): code styles and format updates | null | flextype/flextype | MIT License | PHP |
@@ -1307,6 +1307,16 @@ class Document(BaseDocument):
users = set([assignment.owner for assignment in assignments])
return users
+ def add_tag(self, tag):
+ """Add a Tag to this document"""
+ from frappe.desk.doctype.tag.tag import DocTags
+ DocTags(self.doctype).add(self.name, tag)
+
+ def get_tags(self):
+ """Return a... | feat: Convenience APIs for tags | null | frappe/frappe | MIT License | Python |
@@ -25,6 +25,15 @@ pub mod code {
}
/// Compile a node
+///
+/// Compiling a document involves walking over the node tree and compiling each
+/// individual node so that it is ready to be built & executed. This includes
+/// (but is not limited to):
+///
+/// - ensuring that each node has an `id`
+/// - for `Include` n... | feat(Compile): Identify all entity nodes | null | stencila/stencila | Apache License 2.0 | Rust |
@@ -3,9 +3,6 @@ using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
-using System.Net.Http.Headers;
-using System.Net.Http;
-using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.Common.Helper
@@ -15,137 +12,6 @@ namespace Blog.Core.Common.Helper
/// </summar... | feat: add ExpressionExtensions_Nacos.cs | null | anjoy8/blog.core | Apache License 2.0 | C# |
namespace kraken::binding::jsc {
+// https://developer.mozilla.org/zh-CN/docs/Web/API/MouseEvent
void bindMouseEvent(std::unique_ptr<JSContext> &context) {
auto MouseEvent = JSMouseEvent::instance(context.get());
JSC_GLOBAL_SET_PROPERTY(context, "MouseEvent", MouseEvent->classObject);
| feat: add comment for mouseEvent | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -17,7 +17,7 @@ const endMeasurmentFrom = start => {
return {
durationMs: Math.round((seconds * NS_PER_SEC + nanoseconds) / NS_PER_MS),
- durationS: seconds,
+ durationS: (seconds * NS_PER_SEC + nanoseconds) / NS_PER_SEC,
};
};
| feat(request-observer): change seconds duration precision to float | null | tdeekens/promster | MIT License | JavaScript |
using namespace std;
using namespace ouinet;
+using json = nlohmann::json;
using Request = ClientFrontEnd::Request;
using Response = ClientFrontEnd::Response;
@@ -419,11 +420,15 @@ void ClientFrontEnd::handle_status( ClientConfig& config
" </head>\n"
" <body>\n";
- ss << ToggleInput{"Auto refresh", "auto_refresh", _aut... | feat(client/frontend/handle_status): ToggleInputs => json | null | equalitie/ouinet | MIT License | C++ |
/>
<div x-ref="timesContainer"
- class="mt-1 w-full h-52 pb-1 pt-2 overflow-y-auto flex flex-col picker-times">
+ class="mt-1 w-full max-h-52 pb-1 pt-2 overflow-y-auto flex flex-col picker-times">
<template x-for="time in filteredTimes">
<button class="group rounded-md focus:outline-none focus:bg-primary-100 dark:focus... | feat: use auto height | null | wireui/wireui | MIT License | PHP |
@@ -33,35 +33,67 @@ on_command(client *client, const user::dati *me, const channel::message::dati *m
message::create::params params = {0};
- if (STRNEQ(msg->content, "cd", 2)) {
+ char *cmd = strchr(msg->content, ' '); //get first occurence of space
+ size_t len;
+ if (cmd) {
+ len = cmd - msg->content;
+ ++cmd; //skip... | feat: bot-shell.cpp covers more cases | null | cee-studio/orca | MIT License | C++ |
@@ -9,6 +9,7 @@ from brownie.convert import Wei
from brownie.exceptions import BrownieEnvironmentWarning
from .account import Accounts
+from .gas.bases import GasABC
from .rpc import Rpc
from .state import Chain, _notify_registry
from .web3 import web3
@@ -114,7 +115,9 @@ def gas_price(*args: Tuple[Union[int, str, bool... | feat: allow use of gas strategy in network.gas_price | null | eth-brownie/brownie | MIT License | Python |
@@ -40,8 +40,8 @@ const Encryption = SparkPlugin.extend({
.then((k) => SCR.fromJWE(k.jwk, cipherScr));
},
- decryptText(key, ciphertext) {
- return this.getKey(key)
+ decryptText(key, ciphertext, onBehalfOf) {
+ return this.getKey(key, onBehalfOf)
.then((k) => jose.JWE
.createDecrypt(k.jwk)
.decrypt(ciphertext)
| feat(encryption): decrypttext support for onbehalfof | null | webex/webex-js-sdk | MIT License | JavaScript |
@@ -10,5 +10,6 @@ enum class CommandCategory(val runCondition: Array<RunCondition> = emptyArray())
MODERATION(arrayOf(RunCondition.GUILD)),
ADMINISTRATION(arrayOf(RunCondition.GUILD)),
ECONOMY,
- GAME
+ GAME,
+ NSFW(arrayOf(RunCondition.GUILD, RunCondition.CHANNEL_NSFW))
}
\ No newline at end of file
| feat: NSFW category | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -16,6 +16,7 @@ import com.google.gson.JsonObject;
import com.ibm.watson.developer_cloud.http.RequestBuilder;
import com.ibm.watson.developer_cloud.http.ServiceCall;
import com.ibm.watson.developer_cloud.service.WatsonService;
+import com.ibm.watson.developer_cloud.service.security.IamOptions;
import com.ibm.watson.d... | feat(tone-analyzer): Add manual tweaks | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -28,9 +28,6 @@ const menuStyles = css`
cursor: pointer;
width: 100%;
}
- menu-container:not([|menuEmpty]) value {
- padding-left: 8px;
- }
menu-box {
display: flex;
height: 100%;
@@ -41,7 +38,8 @@ const menuStyles = css`
}
}
value {
- transition: padding 0.2s;
+ flex-grow: 1;
+ flex-shrink: 1;
}
`;
@@ -86,12 +84,12 ... | feat(plugin-object-viewer): Move menu button to right for ME | null | dbeaver/cloudbeaver | Apache License 2.0 | TypeScript |
use std::sync::Arc;
+use common_datablocks::DataBlock;
+use common_datavalues::prelude::*;
+use common_datavalues::Series;
use common_exception::Result;
use common_planner::plans::ShowRolesPlan;
+use common_users::UserApiProvider;
use crate::interpreters::Interpreter;
use crate::pipelines::PipelineBuildResult;
@@ -43,8... | feat: add interpreter_role_show | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -2,15 +2,21 @@ import {
$x,
$xy,
$y,
+ add,
assign,
+ bvec4,
defn,
div,
+ greaterThan,
+ lessThan,
mul,
ret,
sym,
+ vec2,
Vec2Sym,
Vec2Term,
Vec4Term,
+ _any,
} from "@thi.ng/shader-ast";
import { fit0111 } from "../math/fit";
@@ -44,3 +50,29 @@ export const aspectCorrectedUV = defn(
];
}
);
+
+/**
+ * Returns true ... | feat(shader-ast-stdlib): add borderMask() | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
use std::alloc::Layout;
use std::mem;
use std::ptr;
+use libc::memcmp;
use ockam_vault_sys::{ockam_error_t, ockam_memory_dispatch_table_t, ockam_memory_t};
@@ -21,6 +22,7 @@ impl RustAlloc {
set: Some(self::memset_impl),
copy: Some(self::memcpy_impl),
move_: Some(self::memmove_impl),
+ compare: Some(self::memcmp_impl),... | feat(rust): add memory compare implementation | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -113,6 +113,13 @@ $flextype['cache'] = static function ($container) use ($flextype) {
return new Cache($flextype);
};
+/**
+ * Add options service to Flextype container
+ */
+$flextype['config'] = static function ($container) use ($flextype) {
+ return new Config($flextype);
+};
+
/**
* Add shortcodes service to Fle... | feat(core): add new dependencies for Config API | null | flextype/flextype | MIT License | PHP |
@@ -112,16 +112,17 @@ function handleParams(req, params) {
}
chunk = iconv.encode(body, 'GB18030');
} else {
- if (isJson) {
- try {
- body = JSON.stringify(_params);
- } catch(e) {}
- }
chunk = util.toBuffer(body);
}
buffer = null;
} else {
- chunk = util.toBuffer(params);
+ var data = params;
+ if (isJson) {
+ try {
... | feat: reqParams | null | avwo/whistle | MIT License | JavaScript |
@@ -10,7 +10,6 @@ use tokio::{
};
use crate::{
- block_future,
error::Error,
node::NullWorker,
parser,
@@ -36,17 +35,6 @@ impl Context {
}
}
-impl Drop for Context {
- fn drop(&mut self) {
- let addr = self.address.first();
- trace!("Running Context::drop()");
-
- if let Err(e) = block_future(self.rt.as_ref(), async { ... | feat(rust): remove drop implementation for context | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -21,6 +21,7 @@ use Psr\Http\Message\ServerRequestInterface;
use function Glowy\Strings\strings;
use function Flextype\parsers;
+use function Flextype\collection;
use function count;
class Query extends Api
@@ -51,8 +52,11 @@ class Query extends Api
$data = [];
+ // Get flat representation of queries
+ $queries = col... | feat(query-api): add ability to create nested queries | null | flextype/flextype | MIT License | PHP |
+#!/bin/bash
+if [[ "$TRAVIS_PULL_REQUEST" == "true" ]]; then
+echo "This is a pull request. No deployment will be done.";
+ exit 0;
+fi
+if [[ "$TRAVIS_BRANCH" != "master" ]] && [[ "$TRAVIS_BRANCH" != "staging" ]]; then
+echo "This is not a deployable branch.";
+ exit 0;
+fi
+
+echo "BUMP HELLO WORLD set up $GH_REPO [... | feat(travis): add travis script | null | textlint/textlint | MIT License | Shell |
@@ -58,7 +58,7 @@ export async function testConnectMethod(clients: Clients, params?: TestConnectPa
uri?: string | undefined;
approval: () => Promise<SessionTypes.Struct>;
}> = new Promise(async function (resolve, reject) {
- const connectTimeoutMs = 20_000;
+ const connectTimeoutMs = 50_000;
const timeout = setTimeout(... | feat: increases connect timeout | null | walletconnect/walletconnect-monorepo | Apache License 2.0 | TypeScript |
@@ -10,6 +10,7 @@ import 'lang/fr.dart';
import 'lang/it.dart';
import 'lang/pt.dart';
import 'lang/nl.dart';
+import 'lang/tr.dart';
import 'lang/id.dart';
abstract class FlutterFireUILocalizationLabels {
@@ -108,6 +109,7 @@ const localizations = <String, FlutterFireUILocalizationLabels>{
'en': EnLocalizations(),
'es'... | feat(flutterfire_ui): Add Turkish language localization support | null | firebaseextended/flutterfire | BSD 3-Clause New or Revised License | Dart |
@@ -551,23 +551,25 @@ export function EditorJSONtoForm(props: Props) {
if (!allowToRender) return null;
}
- if (formControlOrSection.hasOwnProperty("children")) {
+ // If component is type section, render it's children
+ if (
+ formControlOrSection.hasOwnProperty("controlType") &&
+ formControlOrSection.controlType ===... | feat: Update the conditional for section components for UQI | null | appsmithorg/appsmith | Apache License 2.0 | TypeScript |
@@ -241,7 +241,16 @@ impl ExecutingGraph {
if state_guard_cache.is_none() {
state_guard_cache = Some(node.state.lock().unwrap());
}
- let processor_state = match node.processor.event()? {
+ let event = node.processor.event()?;
+ if tracing::enabled!(tracing::Level::TRACE) {
+ tracing::trace!(
+ "node id:{:?}, name:{:?}... | feat(pipeline): log event with tracing::enabled! | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -146,7 +146,6 @@ export const row = baseField.keys({
export const group = baseField.keys({
type: joi.string().valid('group').required(),
name: joi.string().required(),
- label: joi.string(),
fields: joi.array().items(joi.link('#field')),
defaultValue: joi.object(),
admin: baseAdminFields.keys({
| feat: fixes group label schema validation | null | payloadcms/payload | MIT License | TypeScript |
@@ -84,8 +84,25 @@ impl ObjectStorePath {
}
/// Determines whether `prefix` is a prefix of `self`.
- pub fn starts_with(&self, _prefix: &Self) -> bool {
- unimplemented!()
+ pub fn starts_with(&self, prefix: &Self) -> bool {
+ let diff = itertools::diff_with(self.parts.iter(), prefix.parts.iter(), |a, b| a == b);
+ mat... | feat: Implement starts_with on ObjectStorePath | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
#![warn(missing_docs)]
-use std::ffi::{CStr, CString};
+use std::ffi::{CStr, CString, OsStr};
use std::panic::catch_unwind;
use anyhow::Context;
@@ -158,20 +158,22 @@ ffi_fn! {
#[derive(Serialize)]
struct Argument {
- name: Option<String>,
- short: Option<String>,
long: Option<String>,
+ #[serde(skip_serializing_if = "... | feat(ffi verifier cli): split out flags and options | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -55,6 +55,8 @@ class ClopiNet(nn.Module):
bidirectional : bool, optional
Use bidirectional recurrent layers. Defaults to False, i.e. use
mono-directional RNNs.
+ pooling : {'sum', 'max'}
+ Temporal pooling strategy. Defaults to 'sum'.
batch_normalize : boolean, optional
Set to False to not apply batch normalization ... | feat: add option to control temporal pooling ("sum" or "max") | null | pyannote/pyannote-audio | MIT License | Python |
import Widget from "./base_widget.js";
import { generate_route } from "./utils";
-const indicator_colors = ["grey", "green", "red", "orange", "pink", "yellow", "blue", "cyan", "teal"]
+const indicator_colors = ["Grey", "Green", "Red", "Orange", "Pink", "Yellow", "Blue", "Cyan", "Teal"]
export default class ShortcutWidg... | feat: update indicator color list in shortcut widget | null | frappe/frappe | MIT License | JavaScript |
@@ -9,6 +9,7 @@ import {
addCartItemsMutation,
removeCartItemsMutation,
reconcileCartsMutation,
+ setEmailOnAnonymousCartMutation,
updateCartItemsQuantityMutation
} from "./mutations.gql";
import {
@@ -224,6 +225,29 @@ export default (Component) => (
});
}
+ /**
+ *
+ * @name handleSetEmailOnAnonymousCart
+ * @summary ... | feat: updated withCart to handle setEmailOnAnonymousCart mutation | null | reactioncommerce/example-storefront | Apache License 2.0 | JavaScript |
+package com.cicada.player.utils.ass;
+
+import android.graphics.Canvas;
+import android.graphics.Paint;
+import android.graphics.Typeface;
+import android.text.style.ReplacementSpan;
+
+public class BorderedSpan extends ReplacementSpan {
+ final Paint mBorderPaint;
+ private BorderStyle mBorderStyle;
+
+ public static... | feat(assSub): change to spannableString to show border and fontsize | null | alibaba/cicadaplayer | MIT License | Java |
#include <stdlib.h>
#include <string.h>
-#include <libdiscord.h>
-#include <orka-utils.h>
-
-#if 1
-namespace discord {
-namespace user_defined {
-namespace bulk_delete_messages {
+#include "libdiscord.h"
+#include "orka-utils.h"
struct msg {
u64_snowflake_t id;
@@ -21,7 +16,10 @@ void msg_from_json(char *json, size_t ... | feat: use C function names | null | cee-studio/orca | MIT License | C++ |
@@ -536,6 +536,7 @@ class UI {
return
}
const formatCommand = command => ({
+ time: command.date,
clientId: command.clientId,
payload: {
name: command.payload.name,
@@ -543,6 +544,7 @@ class UI {
},
type: command.type,
})
+
const commands = JSON.stringify(this.session.commands.map(formatCommand))
fs.writeFile(this.expo... | feat: allow exporting command timestamps | null | infinitered/reactotron | MIT License | JavaScript |
@@ -293,7 +293,22 @@ app.get('*', (req, res, next) => {
preload.push(...routes.map(id => `\</js/${manifest.assets[id]}\>; rel=preload; as=script`));
}
- preload.push(`\<https://unpkg.com/\>; rel=preconnect`);
+ switch (req.path) {
+ case '/':
+ preload.push(`\<https://unpkg.com\>; rel=preconnect`);
+ preload.push(`\<ht... | feat: add preconnect to route-specific deps | null | lwjgl/lwjgl3-www | BSD 3-Clause New or Revised License | JavaScript |
@@ -7,7 +7,7 @@ declare(strict_types=1);
* Founded by Sergey Romanenko and maintained by Flextype Community.
*/
-use Flextype\Support\Collection;
+use Atomastic\Arrays\Arrays;
if (! function_exists('collect')) {
/**
@@ -15,9 +15,9 @@ if (! function_exists('collect')) {
*
* @param mixed $items Items
*/
- function collec... | feat(collection): new collection helper | null | flextype/flextype | MIT License | PHP |
@@ -70,6 +70,13 @@ function BasicComponents() {
type={ICONS.ICON_TYPE_DOCUMENT}
/>
</div>
+ <div style={{height: '25px', width: '25px', backgroundColor: 'blueviolet'}}>
+ <Icon
+ color="white"
+ title="Download"
+ type={ICONS.ICON_TYPE_DOWNLOAD}
+ />
+ </div>
<div style={{height: '25px', width: '25px', backgroundColor:... | feat(samples): add download icon | null | webex/react-widgets | MIT License | JavaScript |
@@ -45,11 +45,19 @@ export default function UserDetails({ ownerships, subview, item, urn }: Props) {
const ownershipMenuOptions: Array<EntityType> = Object.keys(ownerships) as Array<EntityType>;
const history = useHistory();
- const onMenuClick: MenuProps['onClick'] = ({ key }) => {
+ const setSelectedEntityType = (key... | feat(react): makes user profile select first ownership item automatically | null | linkedin/datahub | Apache License 2.0 | TypeScript |
@@ -10,6 +10,7 @@ import { TAU } from "@thi.ng/vectors/math";
interface DrawState {
attribs: IObjectOf<any>;
+ grads?: IObjectOf<CanvasGradient>;
edits?: string[];
restore?: boolean;
}
@@ -114,6 +115,12 @@ export const drawTree = (_: Partial<HDOMOpts>, canvas: HTMLCanvasElement, tree:
walk(shape[i], __state);
}
break;
... | feat(hdom-canvas): fix add gradient support | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
@@ -118,6 +118,13 @@ pub fn detect_release_name() -> Result<String> {
}
}
+ // try Cloudflare Pages: https://developers.cloudflare.com/pages/platform/build-configuration/#environment-variables
+ if let Ok(release) = env::var("CF_PAGES_COMMIT_SHA") {
+ if !release.is_empty() {
+ return Ok(release);
+ }
+ }
+
// for now ... | feat: Add support for Cloudflare Pages when detecting a release name | null | getsentry/sentry-cli | BSD 3-Clause New or Revised License | Rust |
@@ -170,13 +170,19 @@ const INVALID: &AsciiSet = &CONTROLS
.add(b'%')
.add(b'`')
.add(b']')
- .add(b'"')
+ .add(b'"') // " <-- my editor is confused about double quotes within single quotes
.add(b'>')
.add(b'[')
.add(b'~')
.add(b'<')
.add(b'#')
- .add(b'|');
+ .add(b'|')
+ // Characters Google Cloud Storage recommends ... | feat: Encode characters GCS recommends avoiding | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -368,7 +368,7 @@ var errorsAmericanEnglish = map[int]string{
ErrRepositoryUsedByHook.ID: "There is still a repository webhook on this repository",
ErrResourceNotInProject.ID: "The resource is not attached to the project",
ErrEnvironmentNotFound.ID: "Environment not found ",
- ErrIntegrationtNotFound.ID: "Integration... | feat: err msg - add name integration not found | null | ovh/cds | BSD 3-Clause New or Revised License | Go |
@@ -71,6 +71,7 @@ public class DimensionFilteringAndPagingService
"id", comparing( DimensionResponse::getId, nullsFirst( naturalOrder() ) ),
"name", comparing( DimensionResponse::getName, nullsFirst( naturalOrder() ) ),
"dimensionType", comparing( DimensionResponse::getDimensionType, nullsFirst( naturalOrder() ) ),
+ "... | feat: adds displayShortName order to dimension endpoint | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -16,7 +16,8 @@ const componentTypes = {
BUTTON: 'button',
INPUT_ADDON_GROUP: 'input-addon-group',
INPUT_ADDON_BUTTON_GROUP: 'input-addon-button-group',
- DUAL_LIST_SELECT: 'dual-list-select'
+ DUAL_LIST_SELECT: 'dual-list-select',
+ SLIDER: 'slider'
};
export default componentTypes;
| feat(renderer): add slider type | null | data-driven-forms/react-forms | Apache License 2.0 | JavaScript |
@@ -554,7 +554,7 @@ open class AVFoundationPlayback: Playback {
internal func selectDefaultSubtitleIfNeeded() {
guard let subtitles = subtitles else { return }
var isFirstSelection = false
- let defaultSubtitle = defaultMediaOption(for: subtitles, with: defaultSubtitleLanguage)
+ let defaultSubtitle = defaultMediaOptio... | feat: make playback respect automatic subtitle choice if no option is passed | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -255,13 +255,18 @@ Status DBImpl::build_index(const meta::GroupFileSchema& file) {
}
auto opd = std::make_shared<Operand>();
+ opd->d = file.dimension;
opd->index_type = "IDMap,Flat";
IndexBuilderPtr pBuilder = GetIndexBuilder(opd);
auto from_index = dynamic_cast<faiss::IndexIDMap*>(faiss::read_index(file.location.c... | feat(db): add some print | null | milvus-io/milvus | Apache License 2.0 | C++ |
@@ -20,6 +20,7 @@ import { EditAttribute, EditAttributeBase } from '../../lib/EditAttribute'
interface IProps {
}
interface IState {
+ errorMessage?: string
systemVersion: string
databaseVersion: string
migrationNeeded: boolean
@@ -79,18 +80,24 @@ export const MigrationView = translateWithTracker<IProps, IState, ITrack... | feat(migration): display returned error message in GUI | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -2,6 +2,7 @@ import { get, isString, mergeWith } from 'lodash';
import babel from '@rollup/plugin-babel';
import camelcase from 'camelcase';
import commonjs from '@rollup/plugin-commonjs';
+import fs from 'fs';
import html from 'rollup-plugin-html';
import image from '@rollup/plugin-image';
import json from '@rollup... | feat(component-rollup-config): use node resolution for sass imports | null | ovh/manager | BSD 3-Clause New or Revised License | TypeScript |
@@ -202,7 +202,41 @@ class Forge extends \CodeIgniter\Database\Forge
. $field['unique'];
}
+ //--------------------------------------------------------------------
+ /**
+ * Field attribute TYPE
+ *
+ * Performs a data type mapping between different databases.
+ *
+ * @param array &$attributes
+ *
+ * @return void
+ */... | feat: merge column type method | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -4,7 +4,12 @@ public struct APIEndPoint: Hashable, Codable {
public init(address: String, network: Network, socketUrl: String? = nil, additionalQuery: String? = nil) {
self.address = address
self.network = network
+
self.socketUrl = socketUrl ?? address.replacingOccurrences(of: "http", with: "ws")
+ if let additiona... | feat(socket): fix additional param for socket | null | p2p-org/solana-swift | MIT License | Swift |
@@ -52,10 +52,6 @@ extension SolanaSDK {
// resign transaction
try transaction.sign(signers: signers)
- if let decodedTransaction = transaction.jsonString {
- Logger.log(message: decodedTransaction, event: .info)
- }
-
return .init(transaction: transaction, signers: signers, expectedFee: expectedFee)
}
}
| feat: remove logger | null | p2p-org/solana-swift | MIT License | Swift |
@@ -24,7 +24,7 @@ function parse() {
return parsedData
}
-const RESERVED_NAME = ['blog', 'settings']
+const RESERVED_NAME = ['blog', 'settings', 'orgs']
// route types related to determining if sidebar should show
const TYPES = {
TREE: 'tree',
| feat: handle organizations page | null | enixcoda/gitako | MIT License | JavaScript |
@@ -30,11 +30,11 @@ namespace backtracking {
*/
template <size_t V>
void printSolution(const std::array <int, V>& color) {
- std::cout << "Following are the assigned colors\n";
+ std::cout << "Following are the assigned colors" << std::endl;
for (auto &col : color) {
std::cout << col;
}
- std::cout << "\n";
+ std::cout... | feat: Replace "\n" -> std::endl | null | thealgorithms/c-plus-plus | MIT License | C++ |
package io.clappr.player.plugin.control
import android.annotation.SuppressLint
+import android.annotation.TargetApi
+import android.os.Build
import android.os.Bundle
import android.os.Handler
import android.os.SystemClock
@@ -341,7 +343,7 @@ open class MediaControl(core: Core, pluginName: String = name) : UICorePlugin(... | feat(background_media_control_tv): change annotation to supress old android APIs | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -435,20 +435,13 @@ else if (role.compareTo(ChatRoomMemberRole.MODERATOR) < 0)
}
}
+ // TODO: do we actually still need these events fired now that influxdb
+ // has been removed?
Participant participant = conference.findParticipantForRoomJid(from);
- ColibriConference colibriConference = conference.getColibriConfere... | feat: Uses the global conference ID | null | jitsi/jicofo | Apache License 2.0 | Java |
@@ -198,6 +198,7 @@ plugin.heatmap.Heatmap.prototype.onPreCompose_ = function(event) {
// cache the image and its data URL for the synchronizer
this.set('url', c.toDataURL());
+ this.set('canvas', c);
}
}
};
| feat(heatmap): shared canvas directly with layer | null | ngageoint/opensphere | Apache License 2.0 | JavaScript |
@@ -1050,9 +1050,28 @@ int falco_init(int argc, char **argv)
}
else
{
+ open_t open_cb = [](sinsp* inspector) {
+ inspector->open();
+ };
+ open_t open_nodriver_cb = [](sinsp* inspector) {
+ inspector->open_nodriver();
+ };
+ open_t open_f;
+
+ // Default mode: both event sources enabled
+ if (!disable_syscall && !disa... | feat(userspace): open the event source/s depending on the flags | null | falcosecurity/falco | Apache License 2.0 | C++ |
+import 'dart:math';
+
+import 'package:flame/src/utils/solve_quadratic.dart';
+import 'package:flame_test/flame_test.dart';
+import 'package:test/test.dart';
+
+void main() {
+ group('solveQuadratic', () {
+ const repeatCount = 3;
+
+ testRandom(
+ 'solve equation with 2 roots',
+ (Random rnd) {
+ final x1 = rnd.nextD... | feat: Add solveQuadratic() utility function | null | flame-engine/flame | MIT License | Dart |
import json
import re
from pathlib import Path
+from textwrap import TextWrapper
from typing import Any, Callable, Dict, Iterator, List, Optional, Tuple, Union
import eth_abi
@@ -43,7 +44,13 @@ class _ContractBase:
self._name = name
self.abi = abi
self.topics = _get_topics(abi)
- self.signatures = dict((i["name"], _sig... | feat: add method to show natspec docs for contract methods | null | eth-brownie/brownie | MIT License | Python |
@@ -68,14 +68,25 @@ mixin ElementBase on Node {
}
}
+/// Mark the renderer of element as needs layout.
+typedef void MarkRendererNeedsLayout();
+/// Toggle the renderer of element between repaint boundary and non repaint boundary.
+typedef void ToggleRendererRepaintBoundary();
+/// Detach the renderer from its owner el... | feat: typeof the function instance of class | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -111,7 +111,16 @@ class URL
public static function getClashInfo($user) {
$result = [];
- $v2ray_nodes = Node::query()->where("sort", '=', 11)->get();
+ $v2ray_nodes = $nodes=Node::where(
+ function ($query) {
+ $query->where('sort', 11);
+ }
+ )->where(
+ function ($query) use ($user){
+ $query->where("node_group", ... | feat: add clash ss support | null | chensee/ss-panel-v3-mod_uim-alipay-wxpay | MIT License | PHP |
@@ -6,8 +6,9 @@ import android.content.Intent
import android.content.IntentFilter
import android.os.Bundle
import android.support.v4.content.LocalBroadcastManager
+import io.clappr.player.log.Logger
-open class BaseObject() : EventInterface {
+open class BaseObject : EventInterface {
companion object {
const val CONTEX... | feat(handle_broken_plugin): handle plugin error when event is triggered | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -120,13 +120,19 @@ public class RestController {
if (resourcePath.contains("+")) {
resourcePath = resourcePath.replace("+", "%20");
}
+ // Remove trailing '/' if any.
+ String trimmedResourcePath = resourcePath;
+ if (trimmedResourcePath.endsWith("/")) {
+ trimmedResourcePath = resourcePath.substring(0, resourcePath... | feat: santize trailing / if any | null | microcks/microcks | Apache License 2.0 | Java |
+package grpc
+
+import (
+ "fmt"
+ "reflect"
+ "testing"
+
+ "github.com/influxdata/platform"
+ "google.golang.org/grpc/codes"
+ "google.golang.org/grpc/status"
+)
+
+func TestToStatus(t *testing.T) {
+ tests := []struct {
+ name string
+ err *platform.Error
+ wantCode codes.Code
+ wantMessage string
+ wantErr bool
+ ... | feat(kit/grpc): add tests for conversions | null | influxdata/influxdb | MIT License | Go |
@@ -33,6 +33,7 @@ define('ROOT_DIR', str_replace(DIRECTORY_SEPARATOR, '/', getcwd()));
*/
define('PATH', [
'site' => ROOT_DIR . '/site',
+ 'assets' => ROOT_DIR . '/site/assets',
'plugins' => ROOT_DIR . '/site/plugins',
'themes' => ROOT_DIR . '/site/themes',
'entries' => ROOT_DIR . '/site/entries',
| feat(core): add new constant - PATH['assets'] | null | flextype/flextype | MIT License | PHP |
@@ -60,6 +60,9 @@ pub struct SequencedStreamHandler<I, O, T = SystemProvider> {
sink_apply_error_count: U64Counter,
skipped_sequence_number_amount: U64Counter,
+ /// Reset count
+ sequencer_reset_count: U64Counter,
+
/// Log context fields - otherwise unused.
kafka_topic_name: String,
kafka_partition: KafkaPartition,
@... | feat: add sequencer reset count metric and log to ingester | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -8,6 +8,7 @@ import { register as registerCommand } from '../editor/commands';
import type { ModelPrivate } from './model-private';
import { contentDidChange, contentWillChange } from './listeners';
import { arrayIndex, arrayCell } from './array-utils';
+import { ArrayAtom } from 'core-atoms/array';
export * from '.... | feat: handle matrix shortcuts | null | arnog/mathlive | MIT License | TypeScript |
@@ -4,7 +4,7 @@ use async_trait::async_trait;
use data_types::{delete_predicate::DeletePredicate, DatabaseName};
use metric::{Metric, U64Histogram, U64HistogramOptions};
use time::{SystemProvider, TimeProvider};
-use trace::ctx::SpanContext;
+use trace::{ctx::SpanContext, span::SpanRecorder};
use super::DmlHandler;
@@ ... | feat: emit trace spans for router stages | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -1354,7 +1354,16 @@ func (conf *Configuration) validateCredentialType(manager *SchemeManager, issuer
return errors.Errorf("Credential type %s has wrong SchemeManager %s", credid.String(), cred.SchemeManagerID)
}
if err := validateDemoPrefix(cred.Name); manager.Demo && err != nil {
- return errors.Errorf("Name of dem... | feat: irma scheme verify now checks credential type revocation server urls for https and slashes | null | privacybydesign/irmago | Apache License 2.0 | Go |
@@ -70,6 +70,9 @@ class GraphQLServerTest extends Scope
}
public function testUserCreate() {
+ /**
+ * Try to create a user without the required scope
+ */
$projectId = $this->getProject()['$id'];
$key = '';
$query = $this->getQuery(self::$CREATE_USER);
@@ -97,6 +100,9 @@ class GraphQLServerTest extends Scope
$this->as... | feat: updated tests | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -327,6 +327,9 @@ where
/// Implements [RetryPolicy] that will retry requests that errored with
/// status code 429 i.e. TOO_MANY_REQUESTS
+///
+/// Infura often fails with a `"header not found"` rpc error which is apparently linked to load
+/// balancing, which are retried as well.
#[derive(Debug, Default)]
pub stru... | feat: retry infura's header not found | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.