diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -680,6 +680,45 @@ class VerbosityTest extends BaseRollbarTest
);
}
+ /**
+ * Test verbosity of \Rollbar\Config::handleResponse with
+ * custom `responseHandler`.
+ *
+ * @return void
+ */
+ public function testRollbarConfigHandleResponse()
+ {
+ $responseHandlerMock = $this->getMockBuilder('\Rollbar\ResponseHandlerI... | feat(dev options): test verbosity of `responseHandler` | null | rollbar/rollbar-php | MIT License | PHP |
+<?php
+
+declare(strict_types = 1);
+
+use Flextype\Actions;
+
+test('test getInstance() method', function() {
+ $this->assertInstanceOf(Actions::class, Actions::getInstance());
+});
+
+test('test registry() helper', function() {
+ $this->assertEquals(Actions::getInstance(), registry());
+ $this->assertInstanceOf(Acti... | feat(tests): add tests for Actions | null | flextype/flextype | MIT License | PHP |
@@ -31,6 +31,9 @@ import java.util.concurrent.ConcurrentHashMap;
/**
* A package object, coming from {@link Phi}.
*
+ * @todo #1717:30min Reuse {@link JavaPath} in {@link PhPackage} and remove code duplication.
+ * The duplicate code is in the method "attr()", in variable "target". That issue would be better
+ * implem... | feat(#1717): add puzzle | null | cqfn/eo | MIT License | Java |
@@ -13,9 +13,9 @@ emitter()->addListener('onMediaFetchSingleHasResult', static function (): void {
return;
}
- if (content()->registry()->get('fetch.data.modified_at') !== null) {
+ if (media()->registry()->get('fetch.data.modified_at') !== null) {
return;
}
- content()->registry()->set('fetch.data.modified_at', (int) ... | feat(media): fix ModifiedAtField | null | flextype/flextype | MIT License | PHP |
@@ -56,7 +56,18 @@ export function register(
}
if (features.completion) {
server.completionProvider = {
- triggerCharacters: '!@#$%^&*()_+-=`~{}|[]\:";\'<>?,./ '.split(''), // all symbols on keyboard
+ // triggerCharacters: '!@#$%^&*()_+-=`~{}|[]\:";\'<>?,./ '.split(''), // all symbols on keyboard
+ // hardcode to fix ... | feat: hardcode triggerCharacters | null | johnsoncodehk/volar | MIT License | TypeScript |
+#!/usr/bin/env sh
+
+if [[ -z "$1" ]]; then
+ echo "Ockam Demo: InfluxDB Add-on"
+ echo ""
+ echo "USAGE"
+ echo ""
+ echo "$ ./tools/docker/demo/influxdb.sh [COMPONENT] [ARGS]"
+ echo ""
+ echo "COMPONENTS"
+ echo ""
+ echo " influxdb-ockamd"
+ echo " starts the responder (sink) end, containing \`influxdb\` and \`ock... | feat: add script to easily demo influxdb add-on | null | ockam-network/ockam | Apache License 2.0 | Shell |
@@ -29,6 +29,7 @@ package org.hisp.dhis.tracker.report;
*/
import java.util.Map;
+import java.util.Optional;
import org.hisp.dhis.tracker.TrackerBundleReportMode;
import org.hisp.dhis.tracker.TrackerType;
@@ -228,14 +229,18 @@ public class TrackerImportReport
TrackerValidationReport validationReport = new TrackerValida... | feat: unhandled exception messages occurred during import are now reported in import report | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
-use crate::CommandGlobalOpts;
+use crate::{CommandGlobalOpts, OckamConfig};
use clap::Args;
use nix::sys::signal::{self, Signal};
use nix::unistd::Pid;
+use std::ops::Deref;
#[derive(Clone, Debug, Args)]
pub struct DeleteCommand {
@@ -16,6 +17,10 @@ pub struct DeleteCommand {
/// Should the node be terminated with SIG... | feat(rust): add clean up option for command node delete | null | ockam-network/ockam | Apache License 2.0 | Rust |
+#include <iostream>
+using namespace std;
+
+int t, n, k;
+string s;
+
+void solve() {
+ int dp = 0;
+ for (int i = 1; i <= n; i++) {
+ if (s[i] > s[i - 1])
+ dp += 1;
+ else
+ dp = 1;
+ cout << dp << " ";
+ }
+ cout << endl;
+}
+
+int main() {
+ cin >> t;
+ for (int i = 1; i <= t; i++) {
+ cin >> n >> s;
+ s = ' ' + ... | feat: kick-start 2021 round b: a, b, c | null | upupming/algorithm | MIT License | C++ |
@@ -2,6 +2,7 @@ import {fromJS} from 'immutable';
import {reducers as message} from '@ciscospark/widget-message';
import {reducers as meet} from '@ciscospark/widget-meet';
import errors from '@ciscospark/redux-module-errors';
+import features from '@ciscospark/redux-module-features';
import mercury from '@ciscospark/re... | feat(widget-space): add features module | null | webex/react-widgets | MIT License | JavaScript |
<?php namespace Rollbar;
use \Mockery as m;
+use \Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration;
use Rollbar\FakeDataBuilder;
use Rollbar\Payload\Body;
use Rollbar\Payload\Data;
@@ -18,6 +19,8 @@ use Rollbar\TestHelpers\Exceptions\VerboseExceptionSampleRate;
class ConfigTest extends BaseRollbarTest
{
+ use MockeryP... | feat: support Mockery-only test case | null | rollbar/rollbar-php | MIT License | PHP |
@@ -297,11 +297,8 @@ export default function createContentfulApi ({http, getGlobalOptions}) {
* .catch(console.error)
*/
function sync (query = {}, options = { paginate: true }) {
- const { resolveLinks, removeUnresolved, environment } = getGlobalOptions(query)
- if (environment !== 'master') {
- throw new Error('the e... | feat: Add sync support for environment | null | contentful/contentful.js | MIT License | JavaScript |
@@ -15,10 +15,13 @@ export = (env) => {
).toLowerCase();
const proxy = [
serverProxy.v6(region),
- serverProxy.registry(
- region,
- yn(env.localRegistry) || yn(process.env.npm_package_config_localRegistry),
- ),
+ serverProxy.registry(region, {
+ local:
+ yn(env.localRegistry) ||
+ yn(process.env.npm_package_config_lo... | feat(webpack-dev-server): allow to give registryUrl in | null | ovh/manager | BSD 3-Clause New or Revised License | TypeScript |
@@ -64,7 +64,7 @@ pub trait FileFormatTypeExt {
#[derive(Clone, Debug)]
pub struct FileFormatOptionsExt {
pub stage: FileFormatOptions,
- pub quote: u8,
+ pub quote: String,
pub ident_case_sensitive: bool,
pub headers: usize,
pub json_compact: bool,
@@ -108,7 +108,8 @@ impl FileFormatOptionsExt {
) -> Result<Box<dyn Ou... | feat(format): use quote from setting | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -327,12 +327,14 @@ class TestRunner extends EventEmitter {
this._hasFocusedTestsOrSuites = this._hasFocusedTestsOrSuites || mode === TestMode.Focus;
}
- _addSuite(mode, comment, name, callback) {
+ async _addSuite(mode, comment, name, callback) {
const oldSuite = this._currentSuite;
const suite = new Suite(this._cur... | feat(testrunner): async suite descriptions | null | puppeteer/puppeteer | Apache License 2.0 | JavaScript |
@@ -88,7 +88,7 @@ func NewOperator(kubeconfigPath string, wakeupInterval time.Duration, operatorNa
client: crClient,
namespace: operatorNamespace,
sources: make(map[registry.SourceKey]registry.Source),
- dependencyResolver: &resolver.SingleSourceResolver{},
+ dependencyResolver: &resolver.MultiSourceResolver{},
}
// Re... | feat(catalog): use MultiSourceResolver in catalog operator | null | operator-framework/operator-lifecycle-manager | Apache License 2.0 | Go |
@@ -35,6 +35,9 @@ class GuidedTourContainer extends React.Component {
closeTour = () => {
this.showControls();
+ if (this.props.onClose) {
+ this.props.onClose();
+ }
this.props.setState({ show: false });
};
| feat(GuidedTour): send event when the guided tour is closed | null | talend/ui | Apache License 2.0 | JavaScript |
@@ -43,7 +43,7 @@ const NewRelatedPersonModal = (props: Props) => {
<div className="row">
<div className="col-md-12">
<div className="form-group">
- <Label text={t('patient.relatedPerson')} htmlFor="relatedPersonTypeAhead" />
+ <Label text={t('patient.relatedPerson')} htmlFor="relatedPersonTypeAhead" isRequired />
<Typ... | feat: indicate required fields in new Related Person Modal | null | hospitalrun/hospitalrun-frontend | MIT License | TypeScript |
@@ -231,6 +231,7 @@ class EntriesController extends Controller
$data_result = $data_from_post;
}
+
if ($this->entries->create($id, $data_result)) {
$this->flash->addMessage('success', __('admin_message_entry_created'));
} else {
@@ -722,7 +723,7 @@ class EntriesController extends Controller
'i' => count($parts),
'last'... | feat(admin-plugin): update EntriesController edit method | null | flextype/flextype | MIT License | PHP |
@@ -43,6 +43,7 @@ use ruma::{
client::{
r0::{
account::{register, whoami},
+ capabilities::{get_capabilities, Capabilities},
device::{delete_devices, get_devices},
directory::{get_public_rooms, get_public_rooms_filtered},
filter::{create_filter::Request as FilterUploadRequest, FilterDefinition},
@@ -346,6 +347,33 @@ im... | feat(sdk): Add method to get homeserver capabilities | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -191,7 +191,7 @@ func (r *ReconcileSPOd) Reconcile(_ context.Context, req reconcile.Request) (rec
updatedSPod := foundSPOd.DeepCopy()
updatedSPod.Spec.Template = configuredSPOd.Spec.Template
updateErr := r.handleUpdate(
- ctx, updatedSPod, webhook, metricsService, certManagerResources,
+ ctx, spod, updatedSPod, webh... | feat: skip creating or updating the webhook resoruces when the staticWebhookConfig is set | null | kubernetes-sigs/security-profiles-operator | Apache License 2.0 | Go |
@@ -20,7 +20,7 @@ import (
)
// VERSION of DiscordGo, follows Semantic Versioning. (http://semver.org/)
-const VERSION = "0.23.0"
+const VERSION = "0.24.0"
// New creates a new Discord session with provided token.
// If the token is for a bot, it must be prefixed with "Bot "
| feat(*): bumped version to 0.24.0 | null | bwmarrin/discordgo | BSD 3-Clause New or Revised License | Go |
@@ -108,6 +108,10 @@ parsers()->shortcodes()->addHandler('strings', static function (ShortcodeInterfa
if ($key == 'chars') {
$content = serializers()->json()->encode(strings($content)->{'chars'}());
}
+
+ if ($key == 'charsFrequency') {
+ $content = serializers()->json()->encode(strings($content)->{'charsFrequency'}())... | feat(shortcodes): `[strings]` shortcode - add `charsFrequency` modifier | null | flextype/flextype | MIT License | PHP |
@@ -5,7 +5,7 @@ export default () => {
const [code, setCode] = useState()
return (
- <div style={{maxWidth: '400px'}}>
+ <div style={{maxWidth: '400px', padding: '16px'}}>
<h1>Component</h1>
<AtomValidationCode onChange={setCode} />
<h1>Code</h1>
| feat(components/atom/validationCode/demo): style demo | null | sui-components/sui-components | MIT License | JavaScript |
@@ -114,9 +114,11 @@ query getSearchAggregations(
aggregations {
key
count
+ label
buckets {
value
count
+ label
}
}
}
@@ -158,7 +160,7 @@ class Filter extends Component {
const filterButtonProps = (key, bucket) => {
return {
key: bucket.value,
- label: bucket.value, // TODO: Backend should return labels.
+ label: buck... | feat(Search): Show labels on filters from API response | null | orbiting/republik-frontend | BSD 3-Clause New or Revised License | JavaScript |
@@ -52,6 +52,9 @@ class Convolutional(nn.Module):
Stride of the convolutions
max_pool : list of int, optional
Size and stride of the size of the windows to take a max over.
+ instance_normalize : bool, optional
+ Apply instance normalization after pooling. Set to False to not apply
+ any normalization. Defaults to True... | feat: add support for instance normalization | null | pyannote/pyannote-audio | MIT License | Python |
@@ -12,7 +12,7 @@ pub use geth::{Geth, GethInstance};
/// Utilities for working with a `genesis.json` and other chain config structs.
mod genesis;
-pub use genesis::{ChainConfig, Genesis};
+pub use genesis::{ChainConfig, CliqueConfig, EthashConfig, Genesis, GenesisAccount};
/// Utilities for launching an anvil instance... | feat(core): expose all genesis related structs | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -16,6 +16,11 @@ const forumIdMaps = {
dmyc: '39',
ai: '113',
ydsc: '111',
+ hrxazp: '98',
+ hrjpq: '50',
+ yzxa: '48',
+ omxa: '49',
+ ktdm: '117',
};
module.exports = async (ctx) => {
| feat: remove sehuangtang picture | null | diygod/rsshub | MIT License | JavaScript |
@@ -137,9 +137,56 @@ class UsersController extends Controller
'uuid' => $uuid,
], 'yaml')
)) {
- // Update default flextype entries
+
+ // Update default entry
$this->entries->update('home', ['created_by' => $uuid, 'published_by' => $uuid, 'published_at' => $time, 'created_at' => $time]);
+ // Create default entries de... | feat(admin-panel): create default tokens on installation proccess | null | flextype/flextype | MIT License | PHP |
@@ -233,7 +233,7 @@ open class MediaControl(core: Core, pluginName: String = name) : UICorePlugin(co
show(defaultShowTimeout)
}
- private fun show(timeout: Long) {
+ open fun show(timeout: Long) {
core.trigger(InternalEvent.WILL_SHOW_MEDIA_CONTROL.value)
visibility = Visibility.VISIBLE
backgroundView.visibility = View.... | feat: allow show method with timeout to be overriden | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -295,7 +295,7 @@ class Entries
emitter()->emit('onEntriesFetchSingleNoResult');
// Return entry fetch result
- return arrays($this->registry()->get('methodss.fetch.result'));
+ return arrays($this->registry()->get('methods.fetch.result'));
};
if ($this->registry()->has('methods.fetch.params.options.collection') &&
| feat(entries): typo fix | null | flextype/flextype | MIT License | PHP |
@@ -24,11 +24,10 @@ const colors = {
BgWhite: "\x1b[47m",
};
-class logger {
+class Logger {
constructor(title) {
- this.title;
+ this.title = title;
process.stdout.write(`${colors.Bright}${title} - ${colors.FgCyan}webpack-cli ${colors.Reset}\n`);
- return;
}
log(message) {
@@ -100,4 +99,4 @@ class logger {
}
}
}
-modu... | feat(log): few changes | null | webpack/webpack-cli | MIT License | JavaScript |
@@ -144,7 +144,9 @@ public class ApiKeyServiceImpl extends TransactionalService implements ApiKeySer
// add all subscriptions to the new key
addSharedSubscriptions(allApiKeys, newApiKey);
- return convert(newApiKey);
+ ApiKeyEntity newApiKeyEntity = convert(newApiKey);
+ createAuditLog(newApiKeyEntity, null, APIKEY_REN... | feat: audit shared API key events | null | gravitee-io/gravitee-api-management | Apache License 2.0 | Java |
@@ -42,13 +42,12 @@ class Pendulum(RenderInterface2D, Model):
self.set_refresh_interval(10)
# observation and action spaces
- high = np.array([1., 1., self.max_speed], dtype=np.float32)
+ high = np.array([1., 1., self.max_speed])
low = -high
self.action_space = spaces.Box(low=-self.max_torque,
high=self.max_torque,
- s... | feat(Pendulum): Remove dtype from low/high | null | rlberry-py/rlberry | MIT License | Python |
-import { forwardRef } from "react";
+import React, { forwardRef } from "react";
+import { IconType } from "react-icons";
import { border } from "../border/border";
-import { DivPx, DivSize } from "../div/div";
-import { IconComponent, Icon, IconSize } from "../icon/icon";
+import { DivPx } from "../div/div";
+import {... | feat(core): Support ref in Button without Button.Forwarded | null | thien-do/moai | MIT License | TypeScript |
@@ -266,6 +266,32 @@ const completionSpec: Fig.Spec = {
},
],
},
+ {
+ name: "use",
+ description: "Sets the specified environment as the default environment",
+ args: {
+ name: "environment-name",
+ description: "The name of the environment to use",
+ },
+ options: [
+ {
+ name: ["-r", "--region"],
+ description: "Cha... | feat(eb): add `use` subcommand | null | withfig/autocomplete | MIT License | TypeScript |
@@ -37,11 +37,11 @@ func Load(g *gin.Engine, mw ...gin.HandlerFunc) *gin.Engine {
pprof.Register(g)
// api for authentication functionalities
- g.POST("/v1/users/login", user.Login)
- g.GET("/v1/users/vcode", user.VCode)
+ g.POST("/v1/login", user.Login)
+ g.GET("/v1/vcode", user.VCode)
// The user handlers, requiring ... | feat: modify route | null | go-eagle/eagle | MIT License | Go |
package me.melijn.melijnbot.database.role
+import me.melijn.melijnbot.database.HIGHER_CACHE
+import me.melijn.melijnbot.database.NORMAL_CACHE
import me.melijn.melijnbot.enums.ChannelRoleState
class UserChannelRoleWrapper(private val userChannelRoleDao: UserChannelRoleDao) {
fun setBulk(userId: Long, map: Map<ChannelRol... | feat: cache for userchannelroles | null | toxicmushroom/melijn | MIT License | Kotlin |
#define ACL_IMPL_FILE_PRAGMA_POP
#endif
+//////////////////////////////////////////////////////////////////////////
+// In some cases, for performance reasons, we wish to disable stack security
+// check cookies. This macro serves this purpose.
+//////////////////////////////////////////////////////////////////////////... | feat: add macro to disable security cookie checks when required | null | nfrechette/acl | MIT License | C |
@@ -12,6 +12,26 @@ afterEach(function (): void {
filesystem()->directory(PATH['project'] . '/uploads')->delete();
});
+test('test fetchSingle() method', function () {
+ $this->assertTrue(flextype('media_folders')->create('foo'));
+ $this->assertTrue(count(flextype('media_folders')->fetchSingle('foo')) > 0);
+});
+
+tes... | feat(tests): add tests for MediaFolders fetch() fetchSingle() fetchCollection() methods | null | flextype/flextype | MIT License | PHP |
//! The `pact_verifier` crate provides the core logic to performing verification of providers.
-//! It implements the V3 Pact specification (https://github.com/pact-foundation/pact-specification/tree/version-3).
-#![type_length_limit="4776643"]
+//! It implements the V3 (https://github.com/pact-foundation/pact-specific... | feat(V4): display comments when verifying an interaction | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -105,8 +105,8 @@ abstract class Playback(var source: String, var mimeType: String? = null, option
return false
}
- private var mediaOptionList = LinkedList<MediaOption>()
- private var selectedMediaOptionList = ArrayList<MediaOption>()
+ protected var mediaOptionList = LinkedList<MediaOption>()
+ protected var selec... | feat(media_options): make playback media options protected | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -69,18 +69,21 @@ namespace modules {
// module_formatter {{{
void module_formatter::add(string name, string fallback, vector<string>&& tags, vector<string>&& whitelist) {
+ const auto formatdef = [&](
+ const string& param, const auto& fallback) { return m_conf.get("settings", "format-" + param, fallback); };
+
auto... | feat(modules): Move default format values to the config | null | polybar/polybar | MIT License | C++ |
@@ -206,7 +206,15 @@ public sealed class ReminderService : IHostedService
if (reminder.IsPrivate)
{
dispatchMessage.AppendLine("Hey! You asked me to remind you about this:");
- dispatchMessage.AppendLine(reminder.MessageContent);
+ dispatchMessage.AppendLine(reminder.MessageContent ?? "(You didn't set a message!)");
+
... | feat: Add support for replies in DM reminders | null | vtpdevelopment/silk | Apache License 2.0 | C# |
@@ -31,6 +31,8 @@ import java.io.PrintStream;
* convenient for debugging).
*
* @since 0.24
+ * @todo #1617:30min Use logger instead of System.out.println. It's much better to use standard
+ * logger in that class. Examples of using logger are inside {@link PhDefault} or {@link Dataized}.
*/
final class AtLogged impleme... | feat(#1617): add puzzle | null | cqfn/eo | MIT License | Java |
@@ -7,6 +7,7 @@ import (
"io"
"io/ioutil"
"os"
+ "path/filepath"
"strings"
"github.com/fanux/sealos/k8s"
@@ -215,9 +216,11 @@ func (s *SealosInstaller) InstallMaster0() {
K8sServiceHost: s.ApiServer,
Version: cniVersion,
}).Manifests("")
-
- cmd = fmt.Sprintf(`echo '%s' | kubectl apply -f -`, netyaml)
- output = SSHCon... | feat(develop): fix cni config too long | null | fanux/sealos | Apache License 2.0 | Go |
@@ -18,6 +18,8 @@ pub async fn handler(
) -> crate::Result<()> {
match matches.subcommand() {
("fault", Some(args)) => fault(ctx, args).await,
+ ("offline", Some(args)) => child_operation(ctx, args, 0).await,
+ ("online", Some(args)) => child_operation(ctx, args, 1).await,
(cmd, _) => {
Err(Status::not_found(format!("c... | feat(cli): adding online and offline nexus child cli commands | null | openebs/mayastor | Apache License 2.0 | Rust |
@@ -60,6 +60,12 @@ pub enum Error {
db_name: String,
source: Box<parquet_file::catalog::Error>,
},
+
+ #[snafu(display("failed to skip replay for database ({}): {}", db_name, source))]
+ SkipReplay {
+ db_name: String,
+ source: Box<InitError>,
+ },
}
/// A `Database` represents a single configured IOx database - i.e. ... | feat: server functionality to recover DB by skipping replay | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
import org.destinationsol.game.particle.LightSource;
import org.destinationsol.game.ship.SolShip;
import org.destinationsol.health.events.DamageEvent;
+import org.destinationsol.location.components.Position;
+import org.terasology.gestalt.entitysystem.entity.EntityIterator;
import org.terasology.gestalt.entitysystem.en... | feat: area-of-affect projectiles damage entities | null | movingblocks/destinationsol | Apache License 2.0 | Java |
@@ -1618,7 +1618,7 @@ addJVMVariant() {
}
addBuildSHA() { # git SHA of the build repository i.e. openjdk-build
- local buildSHA=$(git -C "${BUILD_CONFIG[WORKSPACE_DIR]}" rev-parse --short HEAD 2>/dev/null)
+ local buildSHA=$(git -C "${BUILD_CONFIG[WORKSPACE_DIR]}" rev-parse HEAD 2>/dev/null)
if [[ $buildSHA ]]; then
# ... | feat: change to use full git SHA1 for release file | null | adoptium/temurin-build | Apache License 2.0 | Shell |
@@ -4,6 +4,7 @@ import JssProvider from "react-jss/lib/JssProvider";
import flush from "styled-jsx/server";
import Helmet from "react-helmet";
import { Provider } from "mobx-react";
+import jsHttpCookie from "cookie";
import rootMobxStores from "../lib/stores";
import getPageContext from "../lib/theme/getPageContext";
... | feat: add token to mobx auth store on server | null | reactioncommerce/example-storefront | Apache License 2.0 | JavaScript |
@@ -11,7 +11,7 @@ import fnmatch
import itertools
import re
from collections import OrderedDict
-from typing import Dict, List
+from typing import Dict, List, Sequence
import numpy as np
@@ -87,42 +87,11 @@ class Network:
for o in opr.outputs:
self.all_vars_map[o.var.id] = o
- def dump(
- self,
- file,
- *,
- keep_var_... | feat(imperative/utils): add optimize-for-inference interface for opgraph | null | megengine/megengine | Apache License 2.0 | Python |
@@ -12,6 +12,16 @@ class Service extends BaseService<ConfigItem> {
value: item.id,
}));
});
+
+ public getScene = () =>
+ request(`/${SystemConst.API_BASE}/scene/_query/no-paging?paging=false`, {
+ method: 'GET',
+ }).then((resp) => {
+ return resp.result.map((item: { id: string; name: string }) => ({
+ label: item.nam... | feat(merge): merge xyh | null | jetlinks/jetlinks-ui-antd | MIT License | TypeScript |
@@ -90,6 +90,7 @@ module.exports = function(req, res, next) {
res.onDecode = getDecoder(res);
res.onEncode = getEncoder(res);
if (rules.resolveBodyFilter(req)) {
+ req._hasZipBody = true;
req.getPayload(function (err, payload) {
util.getBody(payload, req.headers, function(body) {
req._reqBody = body;
| feat: refine rules.resolveBodyFilter | null | avwo/whistle | MIT License | JavaScript |
+#!/bin/bash
+
+aws ecs update-service \
+--cluster "arn:aws:ecs:us-east-1:668135804372:cluster/webhotelier" \
+--service "arn:aws:ecs:us-east-1:668135804372:service/webhotelier/lwjgl-www" \
+--force-new-deployment
| feat: add script to update ECS service | null | lwjgl/lwjgl3-www | BSD 3-Clause New or Revised License | Shell |
@@ -203,6 +203,12 @@ open class Query : AbstractQuery {
set { self["analytics"] = Query.buildBool(newValue) }
}
+ /// If set to false, this query will not be taken into account for the Click Analytics.
+ public var clickAnalytics: Bool? {
+ get { return Query.parseBool(self["clickAnalytics"]) }
+ set { self["clickAnaly... | feat(clickAnalytics): Access and set the clickAnalytics tag | null | algolia/algoliasearch-client-swift | MIT License | Swift |
@@ -25,8 +25,8 @@ import java.util.Map;
* @author GraviteeSource Team
*/
public enum ExecutionMode {
- V3("v3"),
@JsonEnumDefaultValue
+ V3("v3"),
JUPITER("jupiter");
private static final Map<String, ExecutionMode> BY_LABEL = Map.of(V3.label, V3, JUPITER.label, JUPITER);
| feat(jupiter): set default execution mode to v3 | null | gravitee-io/gravitee-api-management | Apache License 2.0 | Java |
@@ -129,14 +129,11 @@ func (starter *WebServerStarter) OnStartApplication(ctx SpringBoot.ApplicationCo
}
h := SpringWeb.METHOD(receiver.Elem().Interface(), handler.MethodName)
mapper = SpringWeb.NewMapper(mapping.Method(), mapping.Path(), h, filters)
+ default:
+ panic(errors.New("error handler type"))
}
- // Add swagg... | feat: Optimize processing of mapper that may be nil | null | go-spring/go-spring | Apache License 2.0 | Go |
@@ -39,6 +39,7 @@ const (
OriginECSFargate = "AWS::ECS::Fargate"
OriginEB = "AWS::ElasticBeanstalk::Environment"
OriginEKS = "AWS::EKS::Container"
+ OriginAppRunner = "AWS::AppRunner::Service"
)
var (
@@ -231,16 +232,17 @@ func determineAwsOrigin(resource pdata.Resource) string {
}
}
- // TODO(willarmiros): Only use pl... | feat: added support for AWS AppRunner origin | null | open-telemetry/opentelemetry-collector-contrib | Apache License 2.0 | Go |
@@ -9,4 +9,9 @@ if [ ! -e "$HOME/gop" ]; then
ln -s $goproot $HOME/gop
fi
fi
+
+if ! command -v gop &> /dev/null ; then
+ echo "gop has been installed. To use it conveniently, you need put $GOPATH/bin or $HOME/go/bin directory into your PATH environment variable, see \`go help install\`"
+else
gop install ./... # build... | feat: provide helps when gop command not found after installation | null | goplus/gop | Apache License 2.0 | Shell |
@@ -23,6 +23,8 @@ export type UserIndexPageProps = RouteComponentProps;
export interface UserIndexPageState {
roomListType: ListRoomsType;
rooms: FlatServerRoom[];
+ historyRooms: FlatServerRoom[];
+ historyRoomListType: ListRoomsType;
}
class UserIndexPage extends React.Component<UserIndexPageProps, UserIndexPageState... | feat: add rooms history list & replay entry | null | netless-io/flat | MIT License | TypeScript |
@@ -68,6 +68,7 @@ public class RNDeviceModule extends ReactContextBaseJavaModule {
private final DeviceTypeResolver deviceTypeResolver;
private final DeviceIdResolver deviceIdResolver;
private BroadcastReceiver receiver;
+ private BroadcastReceiver headphoneConnectionReceiver;
private RNInstallReferrerClient installRef... | feat(android/../rndevicemodule.java): adding `RNDeviceInfo_headphoneConnectionDidChange` event | null | react-native-device-info/react-native-device-info | MIT License | Java |
@@ -815,8 +815,8 @@ pub(crate) async fn make_user_admin(
PduBuilder {
event_type: EventType::RoomMessage,
content: to_raw_value(&RoomMessageEventContent::text_html(
- "## Thank you for trying out Conduit!\n\nConduit is currently in Beta. This means you can join and participate in most Matrix rooms, but not all features... | feat: add a line with the help command to the welcome message | null | timokoesters/conduit | Apache License 2.0 | Rust |
@@ -25,7 +25,6 @@ pub struct Config {
pub access_token: Option<AccessToken>,
}
-
impl Config {
pub(crate) fn default() -> Config {
Config {
@@ -36,4 +35,22 @@ impl Config {
access_token: None,
}
}
+
+ pub fn update_with(&mut self, new: Config) {
+ if let Some(stop_words) = new.stop_words {
+ self.stop_words = Some(stop... | feat: Add Config.update_with(_) method to merge 2 config | null | meilisearch/meilisearch | MIT License | Rust |
@@ -13,6 +13,10 @@ import ServiceCatalog from './service-catalog';
const Services = WebexPlugin.extend({
namespace: 'Services',
+ props: {
+ validateDomains: ['boolean', false, true]
+ },
+
_catalogs: new WeakMap(),
/**
@@ -39,6 +43,27 @@ const Services = WebexPlugin.extend({
return catalog.get(name, priorityHost, serv... | feat(webex-core): add service whitelisting and helper methods | null | webex/webex-js-sdk | MIT License | JavaScript |
import Head from 'next/head'
import React from 'react'
-export default _ =>
+export default _ => (
<Head>
<title>Pluralsight Design System</title>
<link rel="shortcut icon" type="image/png" href="/static/img/favicon.png" />
@@ -17,4 +17,10 @@ export default _ =>
rel="stylesheet"
href="https://unpkg.com/@pluralsight/ps-... | feat(site): add webengage code for survey | null | pluralsight/design-system | Apache License 2.0 | JavaScript |
@@ -190,6 +190,23 @@ impl Schema {
}
}
+impl Serialize for Schema {
+ fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
+ where S: serde::ser::Serializer,
+ {
+ self.to_builder().serialize(serializer)
+ }
+}
+
+impl<'de> Deserialize<'de> for Schema {
+ fn deserialize<D>(deserializer: D) -> Result<Self, D... | feat: Implement De/Serialize on schema | null | meilisearch/meilisearch | MIT License | Rust |
@@ -18,14 +18,14 @@ use function Flextype\Component\I18n\__;
I18n::$locale = $flextype->registry->get('settings.locale');
// Add Admin Navigation
-$flextype->registry->set('admin_navigation.content.entries', ['title' => __('admin_entries'), 'icon' => 'fas fa-database', 'link' => $flextype->router->pathFor('admin.entrie... | feat(admin-plugin): code cleanup for left nav | null | flextype/flextype | MIT License | PHP |
@@ -648,6 +648,16 @@ parse_value(
act->_.builtin = B_FLOAT;
pos ++;
goto return_true;
+ case 'k': {
+ size_t sz = strlen("key");
+ if (pos + sz <= end_pos && 0 == strncmp(pos, "key", sz)) {
+ act->mem_size.size = sizeof(bool);
+ act->mem_size.tag = SIZE_FIXED;
+ act->_.builtin = B_KEY_EXISTENCE;
+ pos += sz;
+ }
+ goto... | feat: support detecting the existence of a key | null | cee-studio/orca | MIT License | C |
@@ -276,7 +276,11 @@ export default /* @ngInject */ function TelecomTelephonyServiceContactCtrl(
// (self.directoryForm.postCode || "").replace(/[^\d]/g, "").substring(0, 5);
if (self.directoryForm.postCode !== self.directory.postCode) {
- self.directoryForm.urbanDistrict = '';
+ self.directoryForm.urbanDistrict =
+ se... | feat(telphony.service.contact): autofill urban district if required | null | ovh/manager | BSD 3-Clause New or Revised License | JavaScript |
"use strict";
+const makeSerializable = require("../util/makeSerializable");
const ModuleDependency = require("./ModuleDependency");
/** @typedef {import("webpack-sources").ReplaceSource} ReplaceSource */
@@ -14,6 +15,7 @@ const ModuleDependency = require("./ModuleDependency");
class ImportWeakDependency extends Module... | feat(ImportWeakDependency): make serializable | null | webpack/webpack | MIT License | JavaScript |
@@ -155,7 +155,7 @@ class Entries
public function fetchCollection(string $id, array $filter = [])
{
// Store data
- $this->storage['fetch_collection']['id'] = $this->getDirLocation($id);
+ $this->storage['fetch_collection']['id'] = $this->getDirectoryLocation($id);
$this->storage['fetch_collection']['data'] = [];
// Ru... | feat(entries): rename getDirLocation to getDirectoryLocation() | null | flextype/flextype | MIT License | PHP |
@@ -63,6 +63,16 @@ async fn main_entrypoint() -> Result<()> {
set_panic_hook();
set_alloc_error_hook();
+ #[cfg(target_arch = "x86_64")]
+ {
+ if !std::is_x86_feature_detected!("sse4.2") {
+ println!(
+ "Current pre-built binary is typically compiled for x86_64 and leverage SSE 4.2 instruction set, you can build your o... | feat(query): enable sse4.2 in x86-64 releaser | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -3,6 +3,7 @@ use crate::{
column::{self, Column},
};
use arrow::record_batch::RecordBatch;
+use chrono::{DateTime, Utc};
use data_types::partition_metadata::{ColumnSummary, InfluxDbType, TableSummary};
use entry::{Sequence, TableBatch};
use hashbrown::HashMap;
@@ -86,6 +87,15 @@ pub struct MBChunk {
/// Note: This i... | feat: Record time of first/last write on MBChunk | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -29,9 +29,10 @@ pub(crate) mod usermem;
use crate::handler::usermem::UserMemScope;
use crate::heap::Heap;
-use crate::thread::{THREAD_CLEAR_TID, THREAD_SSAS};
+use crate::thread::{
+ NewThread, MAX_THREADS, NEW_THREAD_QUEUE, NUM_THREADS, THREAD_CLEAR_TID, THREAD_SSAS,
+};
use crate::{shim_address, DEBUG, ENARX_EXEC_... | feat(shim-sgx): implement clone() syscall | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -15,11 +15,9 @@ import (
"github.com/gosnmp/gosnmp"
)
-var defaultTimeout = config.Duration(time.Second * 5)
-
type SnmpTrap struct {
ServiceAddress string `toml:"service_address"`
- Timeout config.Duration `toml:"timeout"`
+ Timeout config.Duration `toml:"timeout" deprecated:"1.20.0;unused option"`
Version string `... | feat: deprecate unused snmp_trap timeout configuration option | null | influxdata/telegraf | MIT License | Go |
-import {useState} from 'react'
+import {useEffect, useState} from 'react'
import PropTypes from 'prop-types'
import Tab from './Tab/index.js'
@@ -8,32 +8,46 @@ const MoleculeAccordion = ({
children,
defaultOpenedTabs = [],
onToggleTab = () => {},
+ openedTabs,
withAutoClose,
...tabProps
}) => {
- const initialOpenTabs... | feat(components/molecule/accordion): add new prop openedTabs to component, refactor component state | null | sui-components/sui-components | MIT License | JavaScript |
@@ -47,6 +47,20 @@ internal class WebViewDelegationHandler: NSObject, WKNavigationDelegate, WKUIDel
bridge?.reset()
}
+ // TODO: remove once Xcode 12 support is dropped
+ #if compiler(>=5.5)
+ @available(iOS 15, *)
+ func webView(
+ _ webView: WKWebView,
+ requestMediaCapturePermissionFor origin: WKSecurityOrigin,
+ in... | feat(ios): Add new iOS15 media capture permission delegate | null | ionic-team/capacitor | MIT License | Swift |
@@ -94,8 +94,8 @@ import com.vaadin.fusion.exception.EndpointValidationException.ValidationErrorDa
@RestController
@Import({ FusionControllerConfiguration.class, FusionEndpointProperties.class })
@ConditionalOnBean(annotation = Endpoint.class)
-@NpmPackage(value = "@vaadin/fusion-frontend", version = "0.0.15")
-@NpmPac... | feat: upgrade Fusion npm packages to 0.0.16 | null | vaadin/flow | Apache License 2.0 | Java |
@@ -80,6 +80,9 @@ func VerifyTokenAndCreateCtxData(ctx context.Context, token, orgID string, t *To
if err := checkOrigin(ctx, origins); err != nil {
return CtxData{}, err
}
+ if orgID == "" {
+ orgID = resourceOwner
+ }
return CtxData{
UserID: userID,
OrgID: orgID,
| feat: make x-zitadel-orgid optional (resource owner by default) | null | caos/zitadel | Apache License 2.0 | Go |
@@ -9,9 +9,14 @@ abstract class SpriteBodyComponent<T extends Forge2DGame>
/// body that is create in createBody()
SpriteBodyComponent(
Sprite sprite,
- Vector2 spriteSize,
- ) : super(
- positionComponent: SpriteComponent(size: spriteSize, sprite: sprite),
+ Vector2 spriteSize, {
+ int? priority,
+ }) : super(
+ posit... | feat: Add missing optional priority to SpriteBodyComponent | null | flame-engine/flame | MIT License | Dart |
@@ -68,9 +68,10 @@ export function createHeader(col: Column, ctx: IRankingHeaderContext, options: P
<div class="${extra('toolbar')}"></div>
<div class="${extra('spacing')}"></div>
<div class="${extra('handle')} ${cssClass('feature-advanced')} ${cssClass('feature-ui')}"></div>
+ ${options.mergeDropAble ? `<div class="${... | feat: cross column placer | null | lineupjs/lineupjs | BSD 3-Clause New or Revised License | TypeScript |
@@ -27,12 +27,8 @@ defmodule LogflareWeb.LogController do
end
def create(%{assigns: %{source: source}} = conn, log_params) do
- batch =
- log_params
- # |> Map.take(~w[log_entry message metadata timestamp @logflareTransformDirectives])
- |> List.wrap()
-
- ingest_and_render(conn, batch, source)
+ log_params = Map.drop(... | feat: update key dropping for only individual events | null | logflare/logflare | Apache License 2.0 | Elixir |
import { AtomCache, AtomMeta, Ctx, Fn, Rec } from '@reatom/core'
+export interface LogMsg {
+ error: undefined | Error
+ changes: Rec
+ logs: Array<AtomCache>
+ ctx: Ctx
+}
+
export const getCause = (patch: AtomCache) => {
let log = `self`
let cause: typeof patch.cause = patch
@@ -11,29 +18,61 @@ export const getCause ... | feat(logger): refactor, added createLogBatched | null | artalar/reatom | MIT License | TypeScript |
@@ -139,6 +139,9 @@ func (c *Controller) removeCluster(cluster *v1alpha1.Cluster) (controllerruntime
return controllerruntime.Result{Requeue: true}, fmt.Errorf("requeuing operation until the execution space %v deleted, ", cluster.Name)
}
+ // delete the health data from the map explicitly after we removing the cluster.... | feat(cluster): remove health data explicitly when a cluster is being deleted | null | karmada-io/karmada | Apache License 2.0 | Go |
@@ -11,6 +11,8 @@ namespace Flextype;
use Flextype\Component\Arr\Arr;
use Flextype\Component\Form\Form;
+use Flextype\Component\Html\Html;
+use Flextype\Component\Filesystem\Filesystem;
use Psr\Http\Message\ServerRequestInterface as Request;
use function count;
use function date;
@@ -117,7 +119,7 @@ class Forms
$proper... | feat(core): Forms API - add new heading field | null | flextype/flextype | MIT License | PHP |
@@ -26,6 +26,7 @@ export abstract class MediaWorkFlowStep {
priority: number
/** 0-1 */
progress?: number
+ keyStep?: boolean
/** Calculated time left of this step */
expectedLeft?: number
}
| feat(multi-step success): introduce keyStep property | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -399,16 +399,20 @@ export function register(
const data: Data = prop.data;
const name = nameCases.attr === 'camelCase' ? data.name : hyphenate(data.name);
if (hyphenate(name).startsWith('on-')) {
- const propName = '@' +
- (name.startsWith('on-')
+ const propNameBase = name.startsWith('on-')
? name.substr('on-'.leng... | feat: add `v-bind:*` `v-on:*` to html completion | null | johnsoncodehk/volar | MIT License | TypeScript |
@@ -38,6 +38,7 @@ public class GameRunner {
private final List<AsynchronousWriter> writers = new ArrayList<>();
private final List<BlockingQueue<String>> queues = new ArrayList<>();
private int lastPlayerId = 0;
+ private boolean gameEnded = false;
private String[] avatars = new String[] { "16085713250612", "1608575680... | feat(game runner): prevent launch of finished game | null | codingame/codingame-game-engine | MIT License | Java |
@@ -82,7 +82,6 @@ class GroupNodeModel extends RectResize.model {
foldGroup(isFolded) {
this.setProperty('isFolded', isFolded);
this.isFolded = isFolded;
- console.log(44);
// step 1
if (isFolded) {
this.x = this.x - this.width / 2 + this.foldedWidth / 2;
| feat: optimize move node behavior | null | didi/logicflow | Apache License 2.0 | TypeScript |
@@ -69,7 +69,7 @@ pub trait FormatOptionChecker {
}
fn check_row_tag(&self, row_tag: &mut String) -> Result<()> {
- if !row_tag.is_empty() && row_tag.as_str() == "row" {
+ if !row_tag.is_empty() && row_tag != "row" {
Err(self.not_supported("row_tag"))
} else {
Ok(())
@@ -132,6 +132,10 @@ impl FormatOptionChecker for TS... | feat(format): fix TSV option checking | null | datafuselabs/databend | Apache License 2.0 | Rust |
use super::{common::JsonRpcError, http::ClientError};
use crate::{provider::ProviderError, JsonRpcClient};
use async_trait::async_trait;
-use serde::{de::DeserializeOwned, Serialize};
+use serde::{de::DeserializeOwned, Deserialize, Serialize};
use std::{
fmt::Debug,
sync::atomic::{AtomicU32, Ordering},
@@ -347,11 +347,... | feat(provider): check for serde error with missing req id | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -35,8 +35,6 @@ class IncrementalPCAEncoder(BaseNumericEncoder):
self.num_features = num_features
self.encoder_abspath = save_path
self.is_trained = False
- self._args = args
- self._kwargs = kwargs
def post_init(self):
from sklearn.decomposition import IncrementalPCA
@@ -48,9 +46,7 @@ class IncrementalPCAEncoder(Bas... | feat(encoder): clean up useless args | null | jina-ai/jina | Apache License 2.0 | Python |
@@ -44,7 +44,7 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options:
private val ONE_SECOND_IN_MILLIS: Int = 1000
private val CURRENT_FRAGMENT_TIME_IN_SECONDS = 5
private val FIVE_FRAGMENTS_OF_BUFFER_TIME_IN_SECONDS = 5 * CURRENT_FRAGMENT_TIME_IN_SECONDS
- private val MINIMUM_DURATION_FOR_D... | feat(dvr_exoplayer): make MINIMUM_DURATION_FOR_DVR open | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -427,6 +427,8 @@ if [[ "$INSTALL_BUILD_TOOLS" == "true" ]]; then
install_pkg llvm "$PACKAGE_MANAGER"
install_toolchain "$RUST_TOOLCHAIN"
+
+ install_pkg thrift "$PACKAGE_MANAGER"
fi
if [[ "$INSTALL_DEV_TOOLS" == "true" ]]; then
| feat: add "instal_pgk thrift" to dev_setup.sh | null | datafuselabs/databend | Apache License 2.0 | Shell |
@@ -22,13 +22,19 @@ export const updateFlags = flags => {
adapterState.eventHandlerMap['onFlagsStateChange'](flags);
};
-const subscribeToFlagsChanges = () => {
+const subscribeToFlagsChanges = ({ pollingInteral = 1000 }) => {
setInterval(() => {
adapterState.eventHandlerMap['onFlagsStateChange'](storage.get('flags'));... | feat(localstorage-adapter): add polling internal option | null | tdeekens/flopflip | MIT License | JavaScript |
@@ -9,8 +9,8 @@ const Button = ({
fontWeights,
}) => ({
padding: {
- right: spacing.xlarge,
- left: spacing.xlarge,
+ right: spacing.large,
+ left: spacing.large,
},
height: {
default: 48,
@@ -93,8 +93,8 @@ const Button = ({
},
},
margin: {
- top: spacing.medium,
- bottom: spacing.xsmall,
+ top: spacing.small,
+ bottom... | feat(button): updated button tokens | null | gympass/yoga | MIT License | JavaScript |
@@ -135,6 +135,8 @@ void lv_tabview_set_act(lv_obj_t * obj, uint32_t id, lv_anim_enable_t anim_en)
lv_obj_t * cont = lv_tabview_get_content(obj);
if(cont == NULL) return;
+
+ if((tabview->tab_pos & LV_DIR_VER) != 0) {
lv_coord_t gap = lv_obj_get_style_pad_column(cont, LV_PART_MAIN);
lv_coord_t w = lv_obj_get_content_wi... | feat(tabview): support vertical scrolling | null | lvgl/lvgl | MIT License | C |
@@ -183,6 +183,7 @@ struct jc_type {
char *jtype;
struct decor decor;
char * converter;
+ bool nullable;
};
static void
@@ -231,6 +232,7 @@ struct jc_field {
char * comment;
bool lazy_init;
char spec[512];
+ bool option;
};
static void
@@ -248,10 +250,15 @@ print_field(FILE *fp, struct jc_field *p)
}
}
-struct jc_struc... | feat: support option and nullable | null | cee-studio/orca | MIT License | C |
+#include "CesiumGeometry/clipTriangleAtAxisAlignedThreshold.h"
+#include "catch2/catch.hpp"
+
+using namespace CesiumGeometry;
+
+TEST_CASE("clipTriangleAtAxisAlignedThreshold") {
+ struct TestCase {
+ double threshold;
+ bool keepAbove;
+ int i0;
+ int i1;
+ int i2;
+ double u0;
+ double u1;
+ double u2;
+ std::vecto... | feat: Geometry clipTriangle unit test | null | cesiumgs/cesium-native | Apache License 2.0 | C++ |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.