diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -107,7 +107,6 @@ public abstract class SnomedComponent extends BaseComponent {
* @beta - this method is subject to changes or even removal in future releases.
* @return - the score associated with this component if it's a match in a query, can be <code>null</code>
*/
- @JsonIgnore
public Float getScore() {
return sc... | feat(SnomedComponent): expose ES score | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
limitations under the License.
*/
-import { serializer, type } from '@lowdefy/helpers';
-
-function removeUnderscore(_, value) {
- if (type.isObject(value) && Object.keys(value).length === 1) {
- const key = Object.keys(value)[0];
- if (key.startsWith('__')) {
- const newKey = key.substring(1);
- return { [newKey]: val... | feat: Simplify _function with new operatorPrefix | null | lowdefy/lowdefy | Apache License 2.0 | JavaScript |
@@ -235,7 +235,11 @@ public class SqlUtils {
if (this.dataTypeEnum == MYSQL) {
sql = sql + " LIMIT " + startRow + ", " + pageSize;
getResultForPaginate(sql, paginateWithQueryColumns, jdbcTemplate, excludeColumns, -1);
- } else {
+ } else if (this.dataTypeEnum == KYLIN) {
+ sql = sql + " LIMIT " + pageSize + " OFFSET "+... | feat: pagination query for Kylin | null | edp963/davinci | Apache License 2.0 | Java |
lerna run build --scope @antv/x6-components
lerna run build --scope @antv/x6-detector
-lerna run build --scope @antv/x6-struct
lerna run build --scope @antv/x6-types
-
lerna run build --scope @antv/x6-util
lerna run build --scope @antv/x6-events
lerna run build --scope @antv/x6-dom-event
-lerna run build --scope @antv/... | feat: build packages by order | null | antvis/x6 | MIT License | Shell |
@@ -57,6 +57,7 @@ def reload_pipeline():
"""
import importlib
+ import pype.premiere
api.uninstall()
@@ -73,13 +74,11 @@ def reload_pipeline():
log.info("Reloading module: {}...".format(module))
try:
module = importlib.import_module(module)
- reload(module)
+ importlib.reload(module)
except Exception as e:
log.warning(... | feat(ppro): lib pep8 fixes | null | pypeclub/openpype | MIT License | Python |
@@ -317,7 +317,26 @@ impl Client {
*homeserver = homeserver_url;
}
- async fn get_supported_versions(&self) -> HttpResult<get_supported_versions::Response> {
+ /// Get the versions supported by the homeserver.
+ ///
+ /// This method should be used to check that a server is a valid Matrix
+ /// homeserver.
+ ///
+ /// ... | feat(sdk): Make get_supported_versions public | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -56,7 +56,8 @@ function tunnelProxy(server, proxy) {
req.clientIp = util.getClientIp(req) || LOCALHOST;
req.reqId = ++index;
var hostname = options.hostname;
- var useTunnelPolicy = req.headers[WHISTLE_POLICY_HEADER] == 'tunnel';
+ var policy = req.headers[WHISTLE_POLICY_HEADER];
+ var useTunnelPolicy = policy == 't... | feat: Add whistle policy: intercept | null | avwo/whistle | MIT License | JavaScript |
@@ -21,14 +21,14 @@ impl Generator for Fig {
write!(
&mut buffer,
"const completion: Fig.Spec = {{\n name: \"{}\",\n",
- command
+ escape_string(command)
)
.unwrap();
write!(
&mut buffer,
" description: \"{}\",\n",
- cmd.get_about().unwrap_or_default()
+ escape_string(cmd.get_about().unwrap_or_default())
)
.unwrap();
@... | feat(fig): escape all strings | null | clap-rs/clap | Apache License 2.0 | Rust |
@@ -69,7 +69,8 @@ public class DimensionFilteringAndPagingService
"code", comparing( DimensionResponse::getCode, nullsFirst( naturalOrder() ) ),
"uid", comparing( DimensionResponse::getId, nullsFirst( naturalOrder() ) ),
"id", comparing( DimensionResponse::getId, nullsFirst( naturalOrder() ) ),
- "name", comparing( Dim... | feat: dimensions endpoint can now sort by displayName | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -5,10 +5,11 @@ const TARGET = {
local: 'http://localhost:8888',
};
-module.exports = (region, local = false) => ({
- target: TARGET[local ? 'local' : region.toLowerCase()],
+module.exports = (region, { local = false, registryUrl }) => ({
+ target: registryUrl || TARGET[local ? 'local' : region.toLowerCase()],
contex... | feat(dev-server-config): add registryUrl in registry proxy config | null | ovh/manager | BSD 3-Clause New or Revised License | JavaScript |
// Note the maintainability of this code is not likely high (it came
// from the copy pasta factory) but the plan is to replace it
// soon... We'll see how long that actually takes...
+use core::iter::Iterator;
use std::iter;
use parquet::data_type::ByteArray;
@@ -260,6 +261,10 @@ where
}
}
+ pub fn iter(&'_ self) -> P... | feat: add iterator to Packer<T> | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
-use std::collections::{BTreeMap, HashMap};
+use std::collections::{BTreeMap, BTreeSet, HashMap};
use super::column;
use super::column::Column;
@@ -7,6 +7,45 @@ use arrow::datatypes::SchemaRef;
// Only used in a couple of specific places for experimentation.
const THREADS: usize = 16;
+#[derive(Debug)]
+pub struct Sche... | feat: add schema wrapper for sort order | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
use std::{iter, sync::Arc};
-use ruma::{events::room_key::ToDeviceRoomKeyEvent, OwnedRoomId};
+use ruma::{
+ events::{forwarded_room_key::ToDeviceForwardedRoomKeyEvent, room_key::ToDeviceRoomKeyEvent},
+ OwnedRoomId,
+};
use tracing::{debug_span, error, trace, Instrument};
use super::inner::TimelineInner;
@@ -14,9 +17,... | feat(sdk): Retry event decryption on forwarded room keys | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -201,6 +201,12 @@ class PropertiesUtils(SetupUtils):
if p.get('ldap_install') == '0':
p['ldap_install'] = InstallTypes.NONE
+ if p.get('enable-script'):
+ base.argsp.enable_script = p['enable-script'].split()
+
+ base.argsp.ox_authentication_mode = p.get('ox-authentication-mode')
+ base.argsp.ox_trust_authentication... | feat: set auth mode and enable scripts by setup.properties | null | gluufederation/community-edition-setup | MIT License | Python |
@@ -107,6 +107,7 @@ struct PutCmd {
void parse_args( const vector<string>& args
, vector<asio::ip::address>* ifaddrs
+ , bool* ping_cmd
, optional<GetCmd>* get_cmd
, optional<PutCmd>* put_cmd)
{
@@ -137,6 +138,9 @@ void parse_args( const vector<string>& args
}
}
+ if (args[2] == "ping") {
+ *ping_cmd = true;
+ }
if (ar... | feat(test/bep5): Ping behind option | null | equalitie/ouinet | MIT License | C++ |
@@ -347,6 +347,13 @@ public int getJigasiSipCount()
return (int) instances.stream().filter(i -> supportSip(i)).count();
}
+ public int getJigasiSipInGracefulShutdownCount()
+ {
+ return (int) instances.stream()
+ .filter(i -> supportSip(i))
+ .filter(i -> isInGracefulShutdown(i)).count();
+ }
+
public int getJigasiTran... | feat: Reports sip jigasi in graceful shutdown count | null | jitsi/jicofo | Apache License 2.0 | Java |
@@ -20,6 +20,24 @@ test('test fetch() method', function () {
$this->assertTrue(count(flextype('media_files')->fetch('foo.txt')) > 0);
$this->assertEquals('Foo', flextype('media_files')->fetch('foo.txt')['title']);
- $this->assertTrue(count(flextype('media_files')->fetchCollection('/', true)) == 2);
+ $this->assertTrue(... | feat(tests): add tests for MediaFiles fetchSingle() and fetchCollection method | null | flextype/flextype | MIT License | PHP |
@@ -194,7 +194,14 @@ class InitCaller {
InitCaller() {
#ifndef WIN32
+ if (MGB_GETENV("MGB_REGISTER_SEGV_HANDLER")) {
+ mgb_log_warn(
+ "env config MGB_REGISTER_SEGV_HANDLER, which means "
+ "megbrain will catch crash SEGV signal, if you do not want "
+ "to megbrain do this, do unset MGB_REGISTER_SEGV_HANDLER "
+ "and ... | feat(debug): change megbrain do not catch SEGV signal by default | null | megengine/megengine | Apache License 2.0 | C++ |
@@ -150,13 +150,17 @@ class Box extends OAuth2
/**
* Check if the OAuth email is verified
*
+ * If present, the email is verified. This was verfied through a manual Box sign up process
+ *
* @param $accessToken
*
* @return bool
*/
public function isEmailVerified(string $accessToken): bool
{
- return false;
+ $email = $... | feat: added check for Box OAuth | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -79,6 +79,15 @@ class _ProductImageGalleryViewState extends State<ProductImageGalleryView> {
onPressed: () => Navigator.maybePop(context),
),
),
+ floatingActionButton: FloatingActionButton.extended(
+ onPressed: () async => confirmAndUploadNewPicture(
+ this,
+ imageField: ImageField.OTHER,
+ barcode: _barcode,
+ )... | feat: 3526 - add OTHER picture from product gallery | null | openfoodfacts/smooth-app | Apache License 2.0 | Dart |
+package com.networknt.content;
+
+/**
+ * Created by Ricardo Pina Arellano on 13/06/18.
+ */
+public class ContentConfig {
+ boolean enabled;
+
+ String contentType;
+
+ String description;
+
+ public ContentConfig() { }
+
+ public boolean isEnabled() {
+ return enabled;
+ }
+
+ public void setEnabled(boolean enabled)... | feat(networknt/content): create ContentConfig file to get options from config file | null | networknt/light-4j | Apache License 2.0 | Java |
@@ -13,6 +13,7 @@ from cx_core import (
SwitchController,
action,
)
+from cx_core.integration import EventData
class E1810Controller(LightController):
@@ -503,6 +504,16 @@ class E1812LightController(LightController):
1003: Light.RELEASE,
}
+ def get_zha_actions_mapping(self) -> DefaultActionsMapping:
+ return {
+ "on":... | feat(device): add ZHA support for E1812 | null | xaviml/controllerx | MIT License | Python |
@@ -62,10 +62,14 @@ func (s ImmuServer) Set(ctx context.Context, sr *schema.SetRequest) (*schema.Set
func (s ImmuServer) Get(ctx context.Context, gr *schema.GetRequest) (*schema.GetResponse, error) {
fmt.Println("Get", gr.Key)
+ value, err := s.Topic.Get(gr.Key)
+ if err != nil {
+ return nil, err
+ }
return &schema.Ge... | feat: server topic get wiring | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -6,8 +6,14 @@ eslint
import { FeathersVuexOptions, MakeServicePluginOptions } from './types'
import makeServiceModule from './make-service-module'
import { globalModels, prepareAddModel } from './global-models'
-import { makeNamespace, getServicePath, assignIfNotPresent } from '../utils'
+import {
+ makeNamespace,
+... | feat: debounceEvents | null | feathersjs-ecosystem/feathers-vuex | MIT License | TypeScript |
@@ -407,8 +407,11 @@ public class DDTracer implements Tracer, datadog.trace.api.Tracer, InternalTrace
this.scopeManager = new OTScopeManager(tracer, converter);
}
+ if ((config != null && config.isLogsInjectionEnabled())
+ || (config == null && Config.get().isLogsInjectionEnabled())) {
CorrelationIdInjectors.register(t... | feat(dd-trace-ot): Add MDC injection config support | null | datadog/dd-trace-java | Apache License 2.0 | Java |
@@ -143,10 +143,22 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options:
}
override val isDvrInUse: Boolean
- get() = isDvrAvailable && position < (duration - MIN_TIME_TO_CONSIDER_IN_DVR_USE_IN_SECONDS)
+ get() = exoplayerIsDvrInUse ?: false
+
+ private var exoplayerIsDvrInUse: Boolean? = n... | feat(dvr_onpause): trigger dvr in use event when pause in live position | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -372,7 +372,7 @@ class Entries
public function update(string $id, array $data) : bool
{
if ($_entry = $this->read($id)) {
- return Filesystem::write($_entry['file_path'], Parser::encode($data, $_entry['file_parser']));
+ return Filesystem::write($_entry['file_path'], Parser::encode(array_replace_recursive($_entry['f... | feat(core): update Entries method | null | flextype/flextype | MIT License | PHP |
@@ -44,7 +44,7 @@ const TagFeedDigest = ({ tag, ...cardProps }: TagFeedDigestProps) => {
<section className="container">
<Card {...path} spacing={[0, 0]} {...cardProps}>
<header>
- <Img url={tag.cover || TAG_COVER} size="1080w" smUpSize="540w" />
+ <Img url={tag.cover || TAG_COVER} size="360w" />
<Tag tag={tag} type="t... | feat(component): revise home tag feed tag size | null | thematters/matters-web | Apache License 2.0 | TypeScript |
@@ -10,17 +10,17 @@ return [
/** General Errors */
Exception::GENERAL_UNKNOWN => [
'name' => Exception::GENERAL_UNKNOWN,
- 'description' => 'Default error',
+ 'description' => 'An unknown error has occured. Please check the logs for more information.',
'code' => 500,
],
Exception::GENERAL_ACCESS_FORBIDDEN => [
'name' =... | feat: update descriptions of general errors | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -18,7 +18,8 @@ use Illuminate\Database\Eloquent\Relations\MorphMany;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Config;
-use OwenIt\Auditing\Contracts\AuditRedactor;
+use OwenIt\Auditing\Contracts\AttributeEncoder;
+use OwenIt\Auditing\Contracts\A... | feat(Auditable): implement AttributeEncoder logic | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -3,8 +3,7 @@ import * as Constants from "~/common/constants";
import * as SVG from "~/common/svg";
import * as Events from "~/common/custom-events";
import * as Styles from "~/common/styles";
-import * as System from "~/components/system";
-import * as FileUtilities from "~/common/file-utilities";
+import * as Uploa... | feat(ApplicationHeader): add Upload Provider, Root, Trigger components to the header | null | filecoin-project/slate | MIT License | JavaScript |
*/
#include <LCUI_Build.h>
+#ifdef LCUI_BUILD_IN_LINUX
+#include <unistd.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <fcntl.h>
+#ifdef USE_LINUX_INPUT_EVENT
+#include <linux/input.h>
+#else
+#include <signal.h>
+#include <termios.h>
+#endif
#include <LCUI/LCUI.h>
+#include <LCUI/thread.h>... | feat(platform): add linux keyboard driver | null | lc-soft/lcui | MIT License | C |
#include "bindings/qjs/dom/elements/.gen/anchor_element.h"
#include "bindings/qjs/dom/elements/.gen/canvas_element.h"
#include "bindings/qjs/dom/elements/.gen/input_element.h"
+#include "bindings/qjs/dom/elements/.gen/textarea_element.h"
#include "bindings/qjs/dom/elements/.gen/object_element.h"
#include "bindings/qjs/... | feat: register textarea element globally | null | openkraken/kraken | Apache License 2.0 | C++ |
namespace dsn {
namespace replication {
+DSN_DEFINE_bool("replication",
+ plog_force_flush,
+ false,
+ "when write private log, whether to flush file after write done");
::dsn::task_ptr mutation_log_shared::append(mutation_ptr &mu,
dsn::task_code callback_code,
@@ -431,6 +435,12 @@ void mutation_log_private::commit_pen... | feat: add force flush option for private log | null | apache/incubator-pegasus | Apache License 2.0 | C++ |
@@ -14,6 +14,7 @@ import org.slf4j.LoggerFactory;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.BitSet;
/**
@@ -268,6 +269,8 @@ public class MultiOriginAssembler {
// TODO sanity check shape
for (int d = 0; d < pathsToPoints.length; d++) {
String... | feat(paths): don't write out o-d pairs with no paths | null | conveyal/r5 | MIT License | Java |
// #include "http2intf.h"
// #endif
-BCHAR *url_ptr = NULL;
-
uint32_t random32(void)
{
BUINT8 buf[4];
@@ -407,84 +405,14 @@ BOAT_RESULT BoatReadStorage(BUINT32 offset, BUINT8 *readBuf, BUINT32 readLen, vo
#if (PROTOCOL_USE_HLFABRIC == 1)
BSINT32 BoatConnect(const BCHAR *address, void *rsvd)
{
- url_ptr = BoatMalloc(st... | feat(L503): fix L503 boatplatform_internal.c | null | aitos-io/boat-x-framework | Apache License 2.0 | C |
@@ -234,41 +234,26 @@ final class OptimizeMojoTest {
@Test
void stopsOnCritical(@TempDir final Path temp) throws Exception {
- final Path src = temp.resolve("foo/main.eo");
- new Home(temp).save(
- String.join(
- "\n",
- "+package f\n",
+ MatcherAssert.assertThat(
+ new XMLDocument(
+ new FakeMaven(temp)
+ .withProgram... | feat(#1494): refactor stopsOnCritical | null | cqfn/eo | MIT License | Java |
@@ -70,18 +70,21 @@ class AggTripletLoss(TripletLoss):
Number of segments per speech turn. Defaults to 10.
For short speech turns, a heuristic adapts this number to reduce the
number of overlapping segments.
-
+ normalize : boolean, optional
+ Normalize between aggregation and distance computation.
"""
def __init__(sel... | feat: add option to normalize after aggregation | null | pyannote/pyannote-audio | MIT License | Python |
+import json
+from brownie import (
+ accounts,
+ history,
+ ERC20CRV,
+ GaugeController,
+ LiquidityGauge,
+ LiquidityGaugeReward,
+ Minter,
+ PoolProxy,
+ VotingEscrow,
+)
+
+from . import deployment_config as config
+
+# TODO set weights!
+
+# name, type weight
+GAUGE_TYPES = [
+ ("Liquidity", 10**18),
+ ("Liquidity... | feat: deploy_dao | null | curvefi/curve-dao-contracts | MIT License | Python |
@@ -1015,8 +1015,8 @@ export function generate(
for (const prop of node.props) {
if (
prop.type === CompilerDOM.NodeTypes.DIRECTIVE
- && prop.arg?.type === CompilerDOM.NodeTypes.SIMPLE_EXPRESSION
&& prop.name === 'on'
+ && prop.arg?.type === CompilerDOM.NodeTypes.SIMPLE_EXPRESSION
) {
const var_on = `__VLS_${elementInd... | feat: support vue2 nameless event | null | johnsoncodehk/volar | MIT License | TypeScript |
@@ -57,9 +57,13 @@ def get_audio_duration(current_file):
duration : float
Audio file duration.
"""
- path = current_file['audio']
- with audioread.audio_open(path) as f:
+ # use precomputed duration when available
+ if 'duration' in current_file:
+ return current_file['duration']
+
+ # otherwise use audioread
+ with au... | feat: add support for precomputed duration in get_audio_duration | null | pyannote/pyannote-audio | MIT License | Python |
@@ -447,6 +447,7 @@ impl SymbolicationActor {
// Reject the request if `requests` already contains `max_concurrent_requests` elements.
if let Some(max_concurrent_requests) = self.max_concurrent_requests {
if num_requests >= max_concurrent_requests {
+ metric!(counter("requests.rejected") += 1);
return Err(MaxRequestsEr... | feat(symbolicator): Add metric for rejected requests | null | getsentry/symbolicator | MIT License | Rust |
@@ -24,8 +24,8 @@ class Error extends Model
])
->addRule('type', [
'type' => self::TYPE_STRING,
- 'description' => 'Error type.',
- 'default' => '',
+ 'description' => 'Error type. You can learn more about all the error types at https://appwrite.io/docs/error-codes#errorTypes',
+ 'default' => 'unknown',
'example' => 'n... | feat: add link to docs | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -232,27 +232,7 @@ func (client *Client) Invoke(ctx context.Context, method, path string, args inte
func (client *Client) invoke(ctx context.Context, req *http.Request, args interface{}, reply interface{}, c callInfo, opts ...CallOption) error {
h := func(ctx context.Context, in interface{}) (interface{}, error) {
- ... | feat(http): http client support service discovery in Do | null | go-kratos/kratos | MIT License | Go |
@@ -343,6 +343,10 @@ class Renderer {
}
private void checkTestCases(QuestionConfig questionConfig, String tag, ExportReport exportReport) {
+ if(questionConfig.getTestCases().isEmpty()) {
+ exportReport.addItem(ReportItemType.ERROR, "A solo game must have at least one test case.");
+ }
+
for (TestCase testCase : questi... | feat(sdk): add missing test case check | null | codingame/codingame-game-engine | MIT License | Java |
@@ -884,15 +884,17 @@ if TOOLKIT in (GTK, GTKSOURCEVIEW):
preamble_delete.set_tooltip_text("Clear the preamble file setting")
preamble_frame = gtk.Frame("Preamble File")
- preamble_box = gtk.HBox(homogeneous=False, spacing=2)
+ preamble_box = gtk.HBox(homogeneous=False, spacing=0)
preamble_frame.add(preamble_box)
- pre... | feat(ui): tweak spacing | null | textext/textext | BSD 3-Clause New or Revised License | Python |
@@ -19,7 +19,7 @@ const MoleculeField = ({
errorText,
successText,
label,
- labelType,
+ useContrastLabel,
helpText,
name,
onClickLabel,
@@ -32,6 +32,10 @@ const MoleculeField = ({
)
let statusValidationText, typeValidationLabel, typeValidationText
+ if (useContrastLabel) {
+ typeValidationLabel = AtomLabelTypes.CONTRA... | feat(molecule/field): update prop name and ussage | null | sui-components/sui-components | MIT License | JavaScript |
@@ -19,6 +19,8 @@ extension SolanaSDK {
public var recentBlockhash: String?
// TODO: nonceInfo
+ public init() {}
+
// MARK: - Methods
public mutating func sign(signers: [Account]) throws {
guard signers.count > 0 else { throw Error.invalidRequest(reason: "No signers") }
| feat: mark Transaction initializer as public | null | p2p-org/solana-swift | MIT License | Swift |
*/
package org.jitsi.impl.neomedia.rtp.remotebitrateestimator;
+import org.jitsi.util.*;
+
import java.util.*;
/**
*/
class OveruseEstimator
{
+ /**
+ * The <tt>Logger</tt> used by the
+ * <tt>RemoteBitrateEstimatorAbsSendTime</tt> class and its instances for
+ * logging output.
+ */
+ private static final Logger logge... | feat: Adds logging to the overuse estimator (the Kalman filter) | null | jitsi/libjitsi | Apache License 2.0 | Java |
// See the License for the specific language governing permissions and
// limitations under the License.
+use std::collections::hash_map::DefaultHasher;
use std::collections::HashMap;
+use std::hash::Hash;
+use std::hash::Hasher;
use std::sync::Arc;
use std::time::Instant;
@@ -60,8 +63,30 @@ impl FuseTable {
if setting... | feat: shuffle segments during distributed pruning | null | datafuselabs/databend | Apache License 2.0 | Rust |
+import { Fragment } from 'preact'
import withStyles from '../../components/jss'
import { useState, useCallback } from 'preact/hooks'
+import Modal from '../../components/modal'
import { updateChallenge, deleteChallenge } from '../../api/admin/challs'
import { useToast } from '../../components/toast'
+const DeleteModal... | feat(client): confirm challenge deletion with modal | null | redpwn/rctf | BSD 3-Clause New or Revised License | JavaScript |
@@ -36,8 +36,9 @@ public final class TermFilter implements Serializable {
private final boolean exact;
private final boolean parsed;
private final boolean ignoreStopwords;
+ private final boolean isCaseSensitive;
- public TermFilter(final String term, final Integer minShouldMatch, final boolean fuzzy, final boolean exa... | feat(termFilter): add boolean flag to set case sensitivity | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -100,7 +100,14 @@ async fn wait_for_signal() {
pub async fn main(config: Config) -> Result<()> {
let git_hash = option_env!("GIT_HASH").unwrap_or("UNKNOWN");
let num_cpus = num_cpus::get();
- info!(git_hash, num_cpus, "InfluxDB IOx server starting");
+ let build_malloc_conf = tikv_jemalloc_ctl::config::malloc_conf::... | feat: log jemalloc build conf | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -37,6 +37,10 @@ import org.eolang.maven.Place;
* Returns already optimized XML if it's found in the cache.
*
* @since 0.28.11
+ * @todo #1431:90min Unit test are required. We have to test different cases like:
+ * - if XML file is already in cache
+ * - if XML file is absent
+ * - if some {@link java.io.IOException}... | feat(#1431): add todo puzzle for OptCached | null | cqfn/eo | MIT License | Java |
@@ -172,9 +172,9 @@ namespace acl
__m128 zzww = _mm_shuffle_ps(z, w, _MM_SHUFFLE(0, 0, 0, 0));
return _mm_shuffle_ps(xxyy, zzww, _MM_SHUFFLE(2, 0, 2, 0));
#elif defined(ACL_SSE2_INTRINSICS)
- constexpr __m128 control_wzyx = { 1.0f,-1.0f, 1.0f,-1.0f };
- constexpr __m128 control_zwxy = { 1.0f, 1.0f,-1.0f,-1.0f };
- cons... | feat(quat): optimize quat_mul for SSE2 by using XOR to flip the sign bit | null | nfrechette/acl | MIT License | C |
import React, { Component } from 'react';
-import { Grid, Button, Typography, withStyles, Input } from '@material-ui/core';
+import { Grid, Button, Typography, withStyles, Input, IconButton } from '@material-ui/core';
import { tokensOperations, tokensSelectors } from 'common/tokens';
import { walletTokensOperations } f... | feat: added Tooltip icon with text | null | selfkeyfoundation/identity-wallet | MIT License | JavaScript |
@@ -239,12 +239,6 @@ class NeuralNetwork extends Clonable {
weights[k] += change;
}
perceptron.bias += delta;
- } else {
- for (let k; k < incoming.length; k += 1) {
- const change = momentum * changes[k];
- changes[k] = change;
- weights[k] += change;
- }
}
}
return error / numOutputs;
| feat: remove calculate deltas when no current error was found | null | axa-group/nlp.js | MIT License | JavaScript |
@@ -52,7 +52,9 @@ int main(int argc, char * argv[])
auto topic_dict = node->get_topic_names_and_types();
if (auto topic_info = topic_dict.find(topic_name); topic_info != topic_dict.end()) {
-
+ if (verbose) {
+ RCLCPP_INFO_STREAM(node->get_logger(), "The topic `" << topic_name << "` is found!");
+ }
std::promise<void> ... | feat(ping): add verbose option | null | tier4/scenario_simulator_v2 | Apache License 2.0 | C++ |
+import type { Attribs } from "@thi.ng/geom-api";
import { centroid } from "@thi.ng/geom-poly-utils";
import { SQRT2_2, SQRT3 } from "@thi.ng/math";
import {
add2,
dist,
+ maddN2,
max2,
min2,
ReadonlyVec,
@@ -15,7 +17,6 @@ import { Circle } from "../api/circle";
import { Polygon } from "../api/polygon";
import { Rect }... | feat(geom): add rectFromCentroid() | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
@@ -30,7 +30,7 @@ class CacheClearCommand extends Command
$io->success('Cache cleared.');
return Command::SUCCESS;
} else {
- $io->error('Key wasn\'t cleared.');
+ $io->error('Cache wasn\'t cleared.');
return Command::FAILURE;
}
}
| feat(console): update CacheClearCommand | null | flextype/flextype | MIT License | PHP |
@@ -29,8 +29,40 @@ def _save_coverage_report(build, coverage_eval, report_path):
return report_path
+def _load_report_exclude_data(settings):
+ exclude_paths = []
+ if settings["exclude_paths"]:
+ exclude = settings["exclude_paths"]
+ if not isinstance(exclude, list):
+ exclude = [exclude]
+ for glob_str in exclude:
+ ... | feat: apply exclusion logic to gas profiles | null | eth-brownie/brownie | MIT License | Python |
@@ -249,6 +249,7 @@ pub enum PluginNotification {
exec_path: String,
language_id: String,
options: Option<Value>,
+ system_lsp: bool,
},
DownloadFile {
url: String,
@@ -271,8 +272,17 @@ fn host_handle_notification(plugin_env: &PluginEnv) {
exec_path,
language_id,
options,
+ system_lsp,
} => {
- plugin_env.dispatcher.ls... | feat: add option to use lsp from PATH | null | lapce/lapce | Apache License 2.0 | Rust |
@@ -56,17 +56,27 @@ public class DoubleTapPlugin: UICorePlugin {
guard let activePlayback = core?.activePlayback,
let coreViewWidth = core?.view.frame.width else { return }
- let playBackPosition = activePlayback.position
+ let tapIsOnTheLeftSide = xPosition < coreViewWidth / 2
impactFeedback()
- if xPosition < coreVie... | feat: handle double tap to seek on live videos | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -18,6 +18,8 @@ use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Question\ConfirmationQuestion;
+use Symfony\Component\Console\Question\Question;
+use Symfony\Component\Yaml\Yaml;
/*... | feat: asking the user for site config | null | cecilapp/cecil | MIT License | PHP |
@@ -386,7 +386,8 @@ App::get('/v1/account/sessions/oauth2/:provider/redirect')
->inject('projectDB')
->inject('geodb')
->inject('audits')
- ->action(function ($provider, $code, $state, $request, $response, $project, $user, $projectDB, $geodb, $audits) use ($oauthDefaultSuccess) {
+ ->inject('events')
+ ->action(functio... | feat: pass session to cloud function in oauth create sessions | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -418,6 +418,12 @@ where
info!(%db_name, ?range, predicate=%predicate.loggable(), "tag_keys");
+ let ob = self.metrics.requests.observation();
+ let labels = &[
+ KeyValue::new("operation", "tag_keys"),
+ KeyValue::new("db_name", db_name.to_string()),
+ ];
+
let measurement = None;
let response = tag_keys_impl(
@@ -4... | feat: instrument tag_keys | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -26,6 +26,7 @@ import com.ibm.watson.developer_cloud.natural_language_classifier.v1.model.Delet
import com.ibm.watson.developer_cloud.natural_language_classifier.v1.model.GetClassifierOptions;
import com.ibm.watson.developer_cloud.natural_language_classifier.v1.model.ListClassifiersOptions;
import com.ibm.watson.dev... | feat(natural-language-classifier): Add manual tweaks | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -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.modified_at.enabled')) {
flextype('emitter')->addListener('onEntryAfterInitialized', static f... | feat(fields): use Atomastic Filesystem for ModifiedAtField | null | flextype/flextype | MIT License | PHP |
-import React, {Fragment, Component} from 'react'
+import React, {Component} from 'react'
import PropTypes from 'prop-types'
import cx from 'classnames'
@@ -27,14 +27,12 @@ class AtomTextarea extends Component {
render() {
const {onChange, maxCharacters, size, ...props} = this.props
return (
- <Fragment>
<textarea
{...... | feat(atom/textarea): feedback PR | null | sui-components/sui-components | MIT License | JavaScript |
@@ -1212,6 +1212,7 @@ class Exporter_review_lut:
instance,
name=None,
ext=None,
+ cube_size=None,
lut_size=None,
lut_style=None):
@@ -1220,6 +1221,7 @@ class Exporter_review_lut:
self.name = name or "baked_lut"
self.ext = ext or "cube"
+ self.cube_size = cube_size or 32
self.lut_size = lut_size or 1024
self.lut_style =... | feat(nuke): polishing the Lut Exporter | null | pypeclub/openpype | MIT License | Python |
@@ -156,6 +156,7 @@ class _SummaryCardState extends State<SummaryCard> {
final Iterable<AttributeGroup> groupIterable = widget
._product.attributeGroups!
.where((AttributeGroup group) => group.id == groupId);
+
if (groupIterable.isEmpty) {
continue;
}
| feat: - github magic trick | null | openfoodfacts/smooth-app | Apache License 2.0 | Dart |
@@ -690,7 +690,7 @@ describe('DataExplorer', () => {
cy.getByTestID(`selector-list m`).click()
cy.getByTestID('selector-list v').click()
cy.getByTestID(`selector-list tv1`).click()
- cy.getByTestID('selector-list first').click({force: true})
+ cy.getByTestID('selector-list last').click({force: true})
cy.getByTestID('ti... | feat(autoAgg): change to last in test | null | influxdata/influxdb | MIT License | TypeScript |
@@ -43,7 +43,7 @@ class SiteController extends Controller
// Is JSON Format
$is_json = (isset($query['format']) && $query['format'] == 'json') ? true : false;
- // If uri is empty then it is main page else use entry uri
+ // If uri is empty then it is main entry else use entry uri
if ($uri === '/') {
$entry_uri = $this... | feat(site-plugin): add routable option for entries | null | flextype/flextype | MIT License | PHP |
@@ -10,6 +10,7 @@ import (
"strings"
"syscall"
+ "github.com/MakeNowJust/heredoc"
"github.com/profclems/glab/commands/cmdutils"
"github.com/profclems/glab/commands/mr/mrutils"
"github.com/profclems/glab/internal/utils"
@@ -35,6 +36,12 @@ func NewCmdDiff(f *cmdutils.Factory, runF func(*DiffOptions) error) *cobra.Comma
c... | feat(commands/mr/diff): add EXAMPLES | null | profclems/glab | MIT License | Go |
@@ -166,7 +166,7 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options:
get() = dvrStartTimeinSeconds
override val currentTime: Long?
- get() = currentDate?.plus(duration.toLong())
+ get() = currentDate?.plus(position.toLong())
init {
playerView.useController = false
| feat(live_time_info): make current time return right value | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
-export * from './spacing';
-export * from './color';
export * from './border';
-export * from './typography';
+export * from './color';
export * from './elevation';
+export * from './flex';
+export * from './layout';
+export * from './spacing';
export * from './system';
+export * from './typography';
| feat(system): exporting new modules | null | gympass/yoga | MIT License | JavaScript |
@@ -5,7 +5,7 @@ use std::path::{Path, PathBuf};
use chrono::{DateTime, Utc};
use console::style;
-use failure::{err_msg, Error};
+use failure::{err_msg, Error, Fail};
use serde::Serialize;
use serde_json;
use structopt::StructOpt;
@@ -106,7 +106,10 @@ fn process_file(
);
return Ok(rv);
} else {
- return Err(err.into())... | feat(symsorter): Print more descriptive error messages | null | getsentry/symbolicator | MIT License | Rust |
@@ -306,7 +306,11 @@ public class GitPublisher extends Recorder implements Serializable {
if (b.isRebaseBeforePush()) {
listener.getLogger().println("Fetch and rebase with " + branchName + " of " + targetRepo);
git.fetch_().from(remoteURI, remote.getFetchRefSpecs()).execute();
+ if (!git.revParse("HEAD").equals(git.rev... | feat: skip rebase if not required | null | jenkinsci/git-plugin | MIT License | Java |
@@ -167,4 +167,30 @@ class AuditableTest extends TestCase
$this->assertEquals('database', $model->getAuditDriver());
}
+
+ /**
+ * Test the getAuditThreshold() method to PASS (default).
+ *
+ * @return void
+ */
+ public function testGetAuditThresholdDefaultPass()
+ {
+ $model = new AuditableModelStub();
+
+ $this->ass... | feat(AuditableTest): test getAuditThreshold() method | null | owen-it/laravel-auditing | MIT License | PHP |
import random
-from typing import List, Dict, Generator
+from typing import List, Dict, Generator, Tuple
class Dataset:
def split(self, *args, **kwargs):
pass
- def __init__(self, data: Dict[str, List], *args, **kwargs) -> None:
+ def __init__(self, data: Dict[str, List[Tuple]], *args, **kwargs) -> None:
r""" Dataset t... | feat: better iter_all method for datasets | null | deeppavlov/deeppavlov | Apache License 2.0 | Python |
@@ -254,13 +254,21 @@ impl Filter {
self
}
- /// given the event in string form, it hashes it and adds it to the topics to monitor
+ /// Given the event signature in string form, it hashes it and adds it to the topics to monitor
#[must_use]
pub fn event(self, event_name: &str) -> Self {
let hash = H256::from(keccak256(... | feat: add events function to set multiple event filter | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -146,8 +146,8 @@ def remove_app(app_name, dry_run=False, yes=False, no_backup=False):
if not doctype.issingle:
drop_doctypes.append(doctype.name)
- # remove reports, pages, web forms and chart sources
- for doctype in ("Report", "Page", "Web Form", "Dashboard Chart Source"):
+ # remove desk page, reports, pages, web... | feat: remove desk page while uninstalling app | null | frappe/frappe | MIT License | Python |
@@ -310,6 +310,24 @@ class Dreame1CValetudoRobot extends DreameValetudoRobot {
}
}
}));
+
+ this.registerCapability(new capabilities.DreamePendingMapChangeHandlingCapability({
+ robot: this,
+ miot_actions: {
+ map_edit: {
+ siid: MIOT_SERVICES.MAP.SIID,
+ aiid: MIOT_SERVICES.MAP.ACTIONS.EDIT.AIID
+ }
+ },
+ miot_prope... | feat(vendor.dreame): 1C PendingMapChangeHandling | null | hypfer/valetudo | Apache License 2.0 | JavaScript |
@@ -81,6 +81,10 @@ else:
print("Unsopported OS. Exiting ...")
sys.exit()
+if os_type == 'debian':
+ path_list = [ '/usr/local/sbin', '/usr/sbin', '/sbin', '/usr/local/bin', '/usr/bin', '/bin' ]
+ os.environ['PATH'] = os.pathsep.join(path_list) + os.pathsep + os.environ['PATH']
+
print("OS type was determined as {}.".fo... | feat: update of the env variable path for os debain; | null | gluufederation/community-edition-setup | MIT License | Python |
goog.provide('plugin.cesium.tiles.Provider');
+goog.require('os.data.BaseDescriptor');
goog.require('os.data.FileProvider');
goog.require('plugin.cesium.tiles');
@@ -25,4 +26,22 @@ plugin.cesium.tiles.Provider.prototype.configure = function(config) {
plugin.cesium.tiles.Provider.base(this, 'configure', config);
this.se... | feat(cesium): add 3d tiles layers via config | null | ngageoint/opensphere | Apache License 2.0 | JavaScript |
@@ -120,7 +120,11 @@ function createCertificate(hostname) {
cert.setIssuer(ROOT_CRT.subject.attributes);
cert.setExtensions([ {
name: 'subjectAltName',
- altNames: [{
+ altNames: [net.isIP(hostname) ?
+ {
+ type: 7,
+ ip: hostname
+ } : {
type: 2,
value: hostname
}]
| feat: supports https request for ip host | null | avwo/whistle | MIT License | JavaScript |
@@ -840,6 +840,10 @@ class AlexaClient(MediaPlayerDevice):
**kwargs)
elif media_type == "routine":
await self.alexa_api.run_routine(media_id)
+ elif media_type == "sound":
+ await self.alexa_api.play_sound(
+ media_id,
+ customer_id=self._customer_id, **kwargs)
else:
await self.alexa_api.play_music(
media_type, media_i... | feat: add alexa sound to play_media | null | custom-components/alexa_media_player | Apache License 2.0 | Python |
@@ -350,6 +350,12 @@ impl DbMetrics {
prev_state_size: Option<(&'static str, usize)>,
next_state_size: Option<(&'static str, usize)>,
) {
+ debug!(
+ ?prev_state_size,
+ ?next_state_size,
+ "updating chunk state metrics"
+ );
+
// Reduce bytes tracked metric for previous state
if let Some((state, size)) = prev_state_si... | feat: Add debug to update_chunk_state metrics | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -126,7 +126,6 @@ public final class OptimizeMojo extends SafeMojo {
row -> row.exists(AssembleMojo.ATTR_XMIR)
);
final Set<Callable<Object>> tasks = new HashSet<>(0);
- final AtomicInteger done = new AtomicInteger(0);
sources.stream()
.map(SynchronizedTojo::new)
.forEach(
@@ -152,7 +151,6 @@ public final class Optim... | feat(#1347): remove done | null | cqfn/eo | MIT License | Java |
@@ -4,6 +4,6 @@ export const typesVersion = '16.8.23';
export const styledComponentsVersion = '4.3.2';
export const styledComponentsTypesVersion = '4.1.18';
export const emotionVersion = '10.0.14';
-export const domTypesVersion = '16.8.4';
+export const domTypesVersion = '16.8.5';
export const reactRouterVersion = '5.0... | feat(react): updates to 16.8.5 | null | nrwl/nx | MIT License | TypeScript |
@@ -154,10 +154,10 @@ public final class ParseMojo extends SafeMojo {
}
/**
- * Check if the given tojo has already been parsed.
+ * Check if the given tojo has not been parsed.
*
* @param tojo Tojo.
- * @return True if the tojo has already been parsed.
+ * @return True if the tojo has not been parsed.
*/
private boole... | feat(#1564): fix description | null | cqfn/eo | MIT License | Java |
@@ -15,7 +15,6 @@ import uuid
import warnings
import traceback
import shutil
-from tqdm.auto import tqdm
from collections import defaultdict
from cachetools import LRUCache
import lz4.frame as lz4f
@@ -660,15 +659,21 @@ class IterativeExecutor(ExecutorBase):
):
if len(items) == 0:
return accumulator
- gen = tqdm(
- ite... | feat: use rich for IterativeExe | null | coffeateam/coffea | BSD 3-Clause New or Revised License | Python |
@@ -32,12 +32,14 @@ public partial class ConfigCommands : CommandGroup
private readonly ICommandContext _context;
private readonly GuildConfigCacheService _configCache;
private readonly IDiscordRestChannelAPI _channels;
+ private readonly ViewConfigCommands _viewConfig;
- public ConfigCommands(ICommandContext context, ... | feat: alias `config view` to `config view all` | null | vtpdevelopment/silk | Apache License 2.0 | C# |
@@ -261,9 +261,7 @@ Status DBImpl::background_merge_files(const std::string& group_id) {
merge_files(group_id, kv.first, kv.second);
}
- if (has_merge) {
try_build_index();
- }
_pMeta->cleanup_ttl_files(1);
| feat(db): try build index every merege interval | null | milvus-io/milvus | Apache License 2.0 | C++ |
@@ -28,7 +28,7 @@ const cwd = process.cwd()
function loadEcosystem (type: string, name: string) {
const modules = [resolve(cwd, name)]
const prefix = `koishi-${type}-`
- if (name.includes(prefix)) {
+ if (name.includes(prefix) || name.startsWith('.')) {
modules.unshift(name)
} else {
const index = name.lastIndexOf('/')... | feat(cli): optimize ecosystem module resolution | null | koishijs/koishi | MIT License | TypeScript |
@@ -49,6 +49,13 @@ pub struct Remapping {
pub path: String,
}
+impl Remapping {
+ /// Convenience function for [`RelativeRemapping::new`]
+ pub fn into_relative(self, root: impl AsRef<Path>) -> RelativeRemapping {
+ RelativeRemapping::new(self, root)
+ }
+}
+
#[derive(thiserror::Error, Debug, PartialEq, PartialOrd)]
pu... | feat(solc): remapping helper functions | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -154,15 +154,32 @@ impl UserAccount {
/// Make a contract call. `pending_tx` includes the receiver, the method to call as well as its arguments.
/// Note: You will most likely not be using this method directly but rather the [`call!`](./macro.call.html) macro.
- pub fn call(
+ pub fn function_call(
&self,
pending_tx... | feat: make `user.call` not use PendingContractTx | null | near/near-sdk-rs | Apache License 2.0 | Rust |
@@ -67,6 +67,11 @@ export function getHtml(body, jsonMetadata = {}, returnType = 'Object', options
);
}
+ parsedBody = parsedBody.replace(
+ /https:\/\/ipfs\.busy\.org\/ipfs\/(\w+)/g,
+ (match, p1) => `https://gateway.ipfs.io/ipfs/${p1}`,
+ );
+
const sections = [];
const splittedBody = parsedBody.split('~~~ embed:');
| feat: rewrite busy ipfs links to gateway | null | busyorg/busy | MIT License | JavaScript |
@@ -161,12 +161,14 @@ public extension SolanaSDK {
public let slot: UInt64?
public let err: TransactionError?
public let memo: String?
+ public let blockTime: UInt64?
public init(signature: String) {
self.signature = signature
self.slot = nil
self.err = nil
self.memo = nil
+ self.blockTime = nil
}
}
struct SignatureSta... | feat(getTransaction): add blockTime | null | p2p-org/solana-swift | MIT License | Swift |
@@ -441,19 +441,19 @@ mod tests {
let res = vault.ec_diffie_hellman(sk_ctx_1, pk_2);
assert!(res.is_ok());
let ss = res.unwrap();
- assert_eq!(ss.len(), 33);
+ assert_eq!(ss.len(), 32);
let res = vault.ec_diffie_hellman(sk_ctx_2, pk_1);
assert!(res.is_ok());
let ss = res.unwrap();
- assert_eq!(ss.len(), 33);
+ assert_e... | feat(rust): only need 32 bytes | null | ockam-network/ockam | 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.