diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
-import { isSSR } from './platform.js'
+import { isSSR, fromSSR } from './platform.js'
import extend from '../utils/extend.js'
+let updateId, ssrTakeover
+
function normalize (meta) {
if (meta.title) {
meta.title = meta.titleTemplate
@@ -137,6 +139,13 @@ function parseMeta (component, meta) {
}
function updateClient ()... | feat: Plan Meta Quasar plugin takeover from SSR | null | quasarframework/quasar | MIT License | JavaScript |
+// https://github.com/hnarayanan/shpotify
+const completionSpec: Fig.Spec = {
+ name: "spotify",
+ description: "CLI to use Spotify from the terminal",
+ subcommands: [
+ {
+ name: "play",
+ description: "Resume playback where Spotify last left off",
+ args: {
+ name: "song name",
+ description: "The name of the song ... | feat: add shpotify spec | null | withfig/autocomplete | MIT License | TypeScript |
@@ -14,10 +14,15 @@ use rustyline::highlight::Highlighter;
use rustyline::validate::ValidationContext;
use rustyline::validate::ValidationResult;
use rustyline::validate::Validator;
+use rustyline::Cmd;
use rustyline::CompletionType;
use rustyline::Config;
use rustyline::Context;
use rustyline::Editor;
+use rustyline::... | feat(repl): Add key binding to force a new line | null | denoland/deno | MIT License | Rust |
-use std::convert::TryFrom;
+use std::{convert::TryFrom, fmt::Display};
/// Possible comparison operators
#[derive(Debug, PartialEq, Copy, Clone)]
@@ -12,6 +12,23 @@ pub enum Operator {
LTE,
}
+impl Display for Operator {
+ fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
+ write!(
+ f,
+ "{}",
+ ma... | feat: implement predicate pushdown on RLE | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -26,6 +26,10 @@ if [[ $FBS_CHANGES -gt 0 ]]; then
echo "Checking for uncommitted changes..."
if ! git diff-index --quiet HEAD --; then
+ echo "git diff-index HEAD found:"
+ git diff-index HEAD --
+ echo "git diff found:"
+ git diff HEAD
echo "************************************************************"
echo "* Foun... | feat: Show more info if flatbuffers check fails | null | influxdata/influxdb_iox | Apache License 2.0 | Shell |
@@ -441,6 +441,12 @@ impl<'a> IntoDynNode<'a> for VNode<'a> {
}
}
+impl<'a> IntoDynNode<'a> for DynamicNode<'a> {
+ fn into_vnode(self, _cx: &'a ScopeState) -> DynamicNode<'a> {
+ self
+ }
+}
+
// An element that's an error is currently lost into the ether
impl<'a> IntoDynNode<'a> for Element<'a> {
fn into_vnode(self, ... | feat: allow dynamic nodes to be into dynamic nodes | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -47,14 +47,11 @@ class Course::Assessment::Question::TextResponsesController < Course::Assessment
end
def destroy
- title = question_type
if @text_response_question.destroy
- redirect_to course_assessment_path(current_course, @assessment),
- success: t('.success', name: title)
+ head :ok
else
error = @text_response_... | feat(text_response): destroy responds to json | null | coursemology/coursemology2 | MIT License | Ruby |
@@ -516,27 +516,48 @@ mod execute_issue_test {
#[test]
fn integration_test_issue_execute_precond_rawtx_valid() {
+ test_with_initialized_vault(|| {
+ let (issue_id, issue) = request_issue(1000);
+ let (_tx_id, _height, proof, _raw_tx, mut transaction) = TransactionGenerator::new()
+ .with_address(issue.btc_address)
+ .... | feat(issue-tests): issue execute tests updated according to pre- and postconditions | null | interlay/interbtc | Apache License 2.0 | Rust |
@@ -150,7 +150,7 @@ public class CockpitAuthenticationResource extends AbstractAuthenticationResourc
);
// Redirect the user.
- return Response.temporaryRedirect(new URI(url)).build();
+ return Response.temporaryRedirect(new URI(URLEncoder.encode(url, "UTF-8"))).build();
} catch (Exception e) {
LOGGER.error("Error occu... | feat: build correct URL before redirect | null | gravitee-io/gravitee-api-management | Apache License 2.0 | Java |
@@ -27,7 +27,7 @@ function assert_invalid(node) {
assert(false, `module is valid, expected invalid (${expected.value})`);
} catch (err) {
assert(
- err.message.toLowerCase() === expected.value.toLowerCase(),
+ new RegExp(expected.value, "ig").test(err.message),
`Expected failure of ${expected.value}, ${err.message} giv... | feat(repl): use regex to assert_invalid | null | xtuc/webassemblyjs | MIT License | JavaScript |
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}, success: function(ret){
- console.log(ret);
if (ret.ret==200) {
alert(ret.desc);
setTimeout(function(){
- location.reload();
+ location.href='/group/{{$basic_info["gid"]}}';
},800)
} else {
alert(ret.desc);
| feat: notice page jump | null | zsgsdesign/noj | MIT License | PHP |
@@ -37,6 +37,7 @@ import com.b2international.snowowl.core.repository.RepositoryRequests;
import com.b2international.snowowl.core.request.ResourceRequests;
import com.b2international.snowowl.core.rest.AbstractRestService;
import com.b2international.snowowl.core.rest.commit.CommitInfoRestSearch;
+import com.b2internation... | feat(resources): add get commit info endpoint | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -21,11 +21,15 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
+import com.b2international.commons.CompareUtils;
+
/**
* @since 4.5
*/
public interface Options {
+ Options EMPTY = new HashMapOptions(0);
+
/**
* Returns the number of key-value mappings in this map. If the map contains more than <... | feat: add `Options.empty()` and `Options.merge` methods to `Options` | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
import util from "../assets/util";
describe("API data", function() {
+ const data = [
+ ["data1", 30, 30, 100, 400, 150, 250],
+ ["data2", 5000, 2000, 1000, 4000, 1500, 2500]
+ ];
+
const chart = util.generate({
data: {
- columns: [
- ["data1", 30, 200, 100, 400, 150, 250],
- ["data2", 5000, 2000, 1000, 4000, 1500, 250... | feat(data): Intent to ship data.min()/max() | null | naver/billboard.js | MIT License | JavaScript |
@@ -188,6 +188,23 @@ impl ArgGroup {
self
}
+ /// Getters for all args. It will return a vector of `Id`
+ ///
+ /// # Example
+ ///
+ /// ```rust
+ /// # use clap::{ArgGroup};
+ /// let args: Vec<&str> = vec!["a1".into(), "a4".into()];
+ /// let grp = ArgGroup::new("program").args(&args);
+ ///
+ /// for (pos, arg) in ... | feat: expose `is_multiple` & `get_args` API for `ArgGroup` | null | clap-rs/clap | Apache License 2.0 | Rust |
@@ -2,13 +2,13 @@ import { FC, ReactNode, ReactElement, ComponentProps } from 'react'
import React from 'react'
import classNames from 'classnames'
import { NativeProps, withNativeProps } from '../../utils/native-props'
-import Badge from '../badge'
+import Badge, { BadgeProps } from '../badge'
import { useNewControlla... | feat: (TabBar) update some prop type | null | ant-design/ant-design-mobile | MIT License | TypeScript |
@@ -40,6 +40,9 @@ abstract class KrakenBundle {
bool isResolved = false;
+ // Bundle contentType.
+ ContentType? contentType;
+
Future<void> resolve();
static Future<KrakenBundle> getBundle(String path, { String? contentOverride, required int contextId }) async {
@@ -70,7 +73,7 @@ abstract class KrakenBundle {
Performa... | feat: html file should judge contenttype | null | openkraken/kraken | Apache License 2.0 | Dart |
from .connectionpools import ConnectionPool
from .cloudvolume import CloudVolume
-from .lib import Bbox
+from .lib import Bbox, Vec
from .provenance import DataLayerProvenance
from .skeletonservice import PrecomputedSkeleton, SkeletonEncodeError, SkeletonDecodeError
from .storage import Storage
| feat: export Vec class for use in other applications | null | seung-lab/cloud-volume | BSD 3-Clause New or Revised License | Python |
@@ -74,8 +74,7 @@ def get_chart_config(chart, filters, timespan, timegrain, from_date, to_date):
result = convert_to_dates(data, timegrain)
# add missing data points for periods where there was no result
- result = add_missing_values(result, timegrain, from_date, to_date)
-
+ result = add_missing_values(result, timegra... | feat: add yearly in dashboard charts | null | frappe/frappe | MIT License | Python |
@@ -7,7 +7,7 @@ import org.burningokr.model.configuration.ConfigurationName;
import org.burningokr.model.cycles.CycleState;
import org.burningokr.model.okr.KeyResult;
import org.burningokr.model.okr.Objective;
-import org.burningokr.model.structures.Department;
+import org.burningokr.model.structures.SubStructure;
impo... | feat(ObjectiveService): ObjectiveService now works with departments and CorporateObjectiveStructures | null | burningokr/burningokr | Apache License 2.0 | Java |
@@ -37,10 +37,18 @@ func main() {
&lib.OSCmdExecutor{},
lib.WithUnAllowedURLs(
[]string{
+ // Block access to Kubernetes API
+ kubeAPIHostIP,
kubeAPIHostIP + ":" + kubeAPIPort,
+ "kubernetes",
"kubernetes" + ":" + kubeAPIPort,
+ "kubernetes.default",
"kubernetes.default" + ":" + kubeAPIPort,
+ "kubernetes.default.svc",... | feat: Improve unallowed URLs of webhook-service | null | keptn/keptn | Apache License 2.0 | Go |
@@ -657,16 +657,19 @@ class RenderFlexLayout extends RenderBox
totalFlexGrow += childParentData.flexGrow;
}
+ double baseConstraints = _getBaseConstraints(child);
BoxConstraints innerConstraints;
if (crossAxisAlignment == CrossAxisAlignment.stretch) {
switch (_direction) {
case Axis.horizontal:
innerConstraints = BoxCo... | feat: add flex-basis support when flex-grow is not set | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -1365,7 +1365,7 @@ async fn perform_transfer(
let account_ = account_handle.read().await;
- for (input_address, address_outputs) in input_addresses {
+ for (input_address, address_outputs) in input_addresses.iter() {
let account_address = account_
.addresses()
.iter()
@@ -1649,6 +1649,15 @@ async fn perform_transfer... | feat(transfer): add input change addresses to `change_addresses_to_sync` | null | iotaledger/wallet.rs | Apache License 2.0 | Rust |
-import React from 'react';
-import { bool } from 'prop-types';
+import React, { forwardRef } from 'react';
+import { oneOfType, func, node, bool } from 'prop-types';
import styled from 'styled-components';
import { hexToRgb } from '@gympass/yoga-common';
-import StyledButton from './StyledButton';
+import Button from ... | feat(button): add forwardRef and large prop | null | gympass/yoga | MIT License | JavaScript |
@@ -24,14 +24,12 @@ from aea_ledger_fetchai import FetchAICrypto
from aea.test_tools.test_cases import AEATestCaseManyFlaky
-from tests.conftest import (
- FETCHAI_PRIVATE_KEY_FILE,
- FETCHAI_PRIVATE_KEY_FILE_CONNECTION,
-)
-
from packages.fetchai.connections.p2p_libp2p.connection import LIBP2P_SUCCESS_MESSAGE
-MAX_RER... | feat: working simple aggregation integration test | null | fetchai/agents-aea | Apache License 2.0 | Python |
@@ -9,7 +9,7 @@ declare(strict_types=1);
use Flextype\Flextype;
use Symfony\Component\Finder\Finder as Finder;
-
+use Intervention\Image\ImageManagerStatic as Image;
if (! function_exists('flextype')) {
/**
@@ -242,3 +242,147 @@ if (! function_exists('filter')) {
return $result;
}
}
+
+if (! function_exists('image')) {... | feat(media): add `image` helper function | null | flextype/flextype | MIT License | PHP |
@@ -120,12 +120,19 @@ def recorder(function):
# __self__ will refer to frappe.db
# Rest is trivial
query = function.__self__._cursor._executed
+
+ # Built in profiler is already turned on
+ # Now fetch the profile data for last query
+ # This must be done after collecting query from _cursor._executed
+ profile_result =... | feat(recorder): Use MariaDB's built in profiler | null | frappe/frappe | MIT License | Python |
@@ -49,7 +49,7 @@ impl LoggingLevel {
const DEFAULT_VERBOSE_LOG_LEVEL: &str = "info";
// Default log level is warn level for all components
- const DEFAULT_LOG_LEVEL: &str = "warn";
+ const DEFAULT_LOG_LEVEL: &str = "info";
match level {
Some(lvl) => {
| feat: change default log level to INFO | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -30,7 +30,6 @@ import java.io.Closeable;
import java.io.File;
import java.io.IOException;
import java.util.List;
-import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import java.util.function.Predicate;
import org.apache.maven.execution.MavenSession;
@@ -306,8 +305,7 @@ abstract class SafeMo... | feat(#1423): use simple timeout thread with corrent interruption | null | cqfn/eo | MIT License | Java |
@@ -302,5 +302,21 @@ func uploadObject(client *storage.Client, bucket, key, localPath string) error {
}
func (g *ArtifactDriver) ListObjects(artifact *wfv1.Artifact) ([]string, error) {
- return nil, fmt.Errorf("ListObjects is currently not supported for this artifact type, but it will be in a future version")
+ var fi... | feat(artifact): enable gcs ListObjects | null | argoproj/argo-workflows | Apache License 2.0 | Go |
@@ -2,7 +2,7 @@ const { EOL } = require('os');
const prettyMS = require('pretty-ms');
const prettyBytes = require('pretty-bytes');
const chalk = require('chalk');
-const { BuildError } = require('../utils/errors');
+const { BuildError, CoreJsResolutionError } = require('../utils/errors');
const statsToJsonOptions = {
a... | feat(webpack): improve error output for core-js issues | null | xing/hops | MIT License | JavaScript |
@@ -10,6 +10,7 @@ use futures::stream::StreamExt;
use std::collections::HashSet;
use std::ffi::OsStr;
use std::path::PathBuf;
+use std::sync::atomic::{AtomicU64, Ordering};
use tokio::{
fs,
io::{AsyncReadExt, AsyncWriteExt},
@@ -21,6 +22,7 @@ use super::{BlockRm, BlockRmError, RepoCid};
pub struct FsBlockStore {
path: ... | feat: track written bytes in fsblockstore | null | rs-ipfs/rust-ipfs | Apache License 2.0 | Rust |
@@ -14,7 +14,7 @@ _FREQUENCIES = {'day': 'D', 'week': 'W', 'month': 'M', 'year': 'Y'}
# the .apply is expected to be slow :(
def at_begin_period(timestamps: Series, dates_granularity: str):
- return timestamps.dt.to_period(_FREQUENCIES[dates_granularity]).apply(lambda r: r.start_time)
+ return timestamps.dt.to_period(_... | feat(pandas/addmissingdate): we no longer use #apply to put the timestamp at the beginning of the period | null | toucantoco/weaverbird | BSD 3-Clause New or Revised License | Python |
@@ -468,6 +468,7 @@ func (cs *ConstraintSystem) AssertIsEqual(i1, i2 interface{}) {
r := cs.Constant(1) // no constraint is recorded
o := cs.Constant(i2) // no constraint is recorded
+ // build log
var sbb strings.Builder
sbb.WriteString("[")
lhs := cs.buildLogEntryFromVariable(l)
@@ -478,6 +479,14 @@ func (cs *Constra... | feat: call stack displayed when AssertIsEqual fails | null | consensys/gnark | Apache License 2.0 | Go |
import { closest, dispatchEvent, toggleAttribute, queryAll } from '../utils'
-const FOCUSABLE = '[tabindex],a,button:not([disabled]),input:not([disabled]),select:not([disabled]),textarea:not([disabled])'
+const NATIVE_FOCUSABLE = 'a,button:not([disabled]),input:not([disabled]),select:not([disabled]),textarea:not([disab... | feat(core-dialog): Set initial focus on any programatic focusable elements, keep focus using keyboard focusable | null | nrkno/core-components | MIT License | JavaScript |
@@ -13,10 +13,6 @@ afterEach(function (): void {
filesystem()->directory(PATH['project'] . '/entries')->delete();
});
-test('test find() method', function () {
- $this->assertInstanceOf(Finder::class, find());
-});
-
test('test find_filter() method', function () {
$this->assertTrue(find_filter(PATH['project'] . '/entri... | feat(tests): improve tests for FinderFilterHelper | null | flextype/flextype | MIT License | PHP |
#!/bin/bash
+# properties
+run_ios=false
+run_and=false
+run_dep=false
+run_cor=false
+
+# options
+usage() {
+ printf "\n invalid usage"
+ printf "\n ./rebuild.sh -h -> help"
+ printf "\n ./rebuild.sh -i -> build ios"
+ printf "\n ./rebuild.sh -a -> build android"
+ printf "\n ./rebuild.sh -d -> reset node dependencie... | feat: added arguments to testbed init | null | branchmetrics/cordova-ionic-phonegap-branch-deep-linking-attribution | MIT License | Shell |
@@ -32,3 +32,5 @@ TASK_MULTI_LABEL_CLASSIFICATION = 'multi_label_classification'
TASK_REGRESSION = 'regression'
TASK_REPRESENTATION_LEARNING = 'representation_learning'
+from .models import PyanNet
+from .models import ClopiNet
| feat: add PyanNet architecture | null | pyannote/pyannote-audio | MIT License | Python |
@@ -14,4 +14,10 @@ final class MediaControlLayer: Layer {
mediaControl.layoutIfNeeded()
}
+
+ override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
+ let result = super.hitTest(point, with: event)
+ if result == self { return nil }
+ return result
+ }
}
| feat: add passthrough view on media control layer | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
#!/bin/bash
+
+# verbose mode
+set -x
+
+echo "ARCH=$ARCH"
+echo "DEV_TAG=$DEV_TAG"
+echo "PROD_TAG=$PROD_TAG"
+pwd
+ls -al
+
+# push dev image
docker login -u="$DOCKER_USER" -p="$DOCKER_PASS"
docker push ambianic/ambianic:${DEV_TAG}
docker manifest create ambianic/ambianic:dev ambianic/ambianic:dev-amd64 ambianic/ambi... | feat: Save inference (detection) samples; close | null | ambianic/ambianic-edge | Apache License 2.0 | Shell |
@@ -125,7 +125,15 @@ final class Timeout {
private void interrupt() {
if (!this.finish.get()) {
this.thread.interrupt();
- Logger.warn(this, "Timeout reached");
+ Logger.warn(
+ this,
+ String.format(
+ "Timeout ('%d %s') is reached for thread '%s'",
+ this.value,
+ this.unit,
+ this.thread
+ )
+ );
}
}
}
| feat(#1423): add context for Logger.warn | null | cqfn/eo | MIT License | Java |
@@ -167,7 +167,7 @@ const HeaderControl = styled.div<{ accent?: AccentName }>`
min-width: 2.3rem;
padding-top: 7px;
- color: ${props => props.theme.button.secondary.backgroundColor};
+ color: ${props => props.theme.secondary.base};
cursor: pointer;
&:hover {
| feat(client): fix openfin platform header buttons base colour | null | adaptiveconsulting/reactivetradercloud | Apache License 2.0 | TypeScript |
@@ -847,4 +847,16 @@ SQL;
}
// --------------------------------------------------------------------
+
+ /**
+ * Returns the name of the current database being used.
+ */
+ public function getDatabase(): string
+ {
+ if (empty($this->database)) {
+ $this->database = $this->query('SELECT DEFAULT_TABLESPACE FROM USER_USER... | feat: Due to name of the tablespace is not defined in the property when connecting by instance name | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -13,52 +13,17 @@ import styled from 'styled-components';
import Text from '../../Text';
import Icon from '../../Icon';
+import Box from '../../Box';
const Container = styled.Text`
text-align-vertical: center;
flex: 1;
`;
-const Wrapper = styled.View`
- display: flex;
- flex-direction: row;
- align-items: center;
-
-... | feat(ResultDetails): change icon size | null | gympass/yoga | MIT License | JavaScript |
+#define _GNU_SOURCE /* asprintf() */
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "mujs.h"
+#include "user-agent.h"
+
+
+static void
+respbody_copy_cb(char *start, size_t size, void *p_body)
+{
+ char **body = p_body;
+ asprintf(body, "%.*s", (int)size, start);
+}
+
ORCAcode orcajs_run(
js... | feat: add prototype orcajs_run() at mujs-addons.c | null | cee-studio/orca | MIT License | C |
+<?php
+
+use PHPUnit\Framework\TestCase;
+use Illuminate\Container\Container;
+use Illuminate\Contracts\Config\Repository;
+use Illuminate\Contracts\Debug\ExceptionHandler;
+
+class ClientRepositoryTest extends TestCase
+{
+ public function setUp()
+ {
+ $passwordOnlyClient = new \Laravel\Passport\Client([
+ 'id' => 5... | feat: tests for restricting client grant types | null | laravel/passport | MIT License | PHP |
@@ -45,5 +45,9 @@ enum class ClapprOption(val value: String) {
* If true the video will be played forever (loop mode).
* If false the video will be stopped when it ends
*/
- LOOP("loop")
+ LOOP("loop"),
+ /**
+ * Boolean value indicating if Audio Focus should be handled by Clappr. Default value is false.
+ */
+ HANDLE_... | feat(option): add audio focus option | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -140,7 +140,7 @@ class Yaml
}
}
- protected function getCacheID($input): string
+ public function getCacheID($input): string
{
return Strings::create('yaml' . $input)->hash()->toString();
}
| feat(yaml): make getCacheID() method public | null | flextype/flextype | MIT License | PHP |
use super::{
catalog::chunk::ChunkMetadata, pred::to_read_buffer_predicate, streams::ReadFilterResultsStream,
};
+use chrono::{DateTime, Utc};
use data_types::partition_metadata;
use datafusion::physical_plan::SendableRecordBatchStream;
use datafusion_util::MemoryStream;
@@ -201,6 +202,20 @@ impl DbChunk {
pub fn table... | feat: Add first/last write time on DbChunk | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -8,7 +8,7 @@ use async_trait::async_trait;
use bytes::Bytes;
use futures::{stream::BoxStream, Stream, StreamExt, TryStreamExt};
use snafu::{ensure, futures::TryStreamExt as _, ResultExt, Snafu};
-use std::{convert::TryFrom, io};
+use std::{convert::TryFrom, env, io};
/// A specialized `Result` for Google Cloud Stora... | feat: Change google cloud object store to get config from args, not env | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -17578,6 +17578,16 @@ const devices = [
extend: preset.switch(),
fromZigbee: [fz.on_off, fz.ignore_basic_report, fz.ignore_time_read],
},
+
+ // WETEN
+ {
+ fingerprint: [{modelID: 'TS0001', manufacturerName: '_TZ3000_wrhhi5h2'}],
+ model: '1GNNTS',
+ vendor: 'WETEN',
+ description: '1 gang no neutral touch wall swi... | feat: add suport for WETEN 1 gang no neutral switch 1GNNTS | null | koenkk/zigbee-herdsman-converters | MIT License | JavaScript |
@@ -76,7 +76,7 @@ void
discord_bucket_try_cooldown(struct discord_bucket *bucket)
{
if (!bucket) {
- log_debug("[BUCKET-?] Missing 'bucket', skipping cooldown");
+ log_debug("[?] Missing 'bucket', skipping cooldown");
return; /* EARLY RETURN */
}
@@ -86,21 +86,27 @@ discord_bucket_try_cooldown(struct discord_bucket *bu... | feat: more logging for discord-ratelimit.c | null | cee-studio/orca | MIT License | C |
@@ -27,6 +27,8 @@ package org.eolang.maven;
* Hash of tag.
*
* @since 0.28.11
+ * @todo It's better to move CommitHash class and all it's implementations to a separate package.
+ * For example, `org.eolang.maven.hash`
*/
public interface CommitHash {
| feat(#1174): add puzzle for CommitHash | null | cqfn/eo | MIT License | Java |
@@ -98,7 +98,12 @@ module.exports = async (ctx) => {
.eq(0)
.text()
.trim(),
- description: `<img src="${item.find('.trophy img').attr('src')}"><br>${item
+ description: `<img src="${
+ item
+ .find('.trophy source')
+ .attr('srcset')
+ .split(' ')[1]
+ }"><br>${item
.find('.title')
.parent()
.contents()
| feat: clearer picture for ps trophy | null | diygod/rsshub | MIT License | JavaScript |
@@ -39,7 +39,7 @@ async function validatorBuiltin(
session,
context,
params,
- builtinName,
+ builtinsName,
entityName,
typeName
) {
@@ -50,7 +50,7 @@ async function validatorBuiltin(
const input = {
locale,
text,
- builtins: [builtinName],
+ builtins: builtinsName,
};
if (container) {
const builtin = container.get(`ex... | feat: accept builtins array for validator | null | axa-group/nlp.js | MIT License | JavaScript |
@@ -21,6 +21,7 @@ import com.ibm.cloud.sdk.core.service.model.GenericModel;
*/
public class CategoriesOptions extends GenericModel {
+ private Boolean explanation;
private Long limit;
private String model;
@@ -28,10 +29,12 @@ public class CategoriesOptions extends GenericModel {
* Builder.
*/
public static class Builde... | feat(Natural Language Understanding): Add explanation param | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -105,13 +105,19 @@ type PresentationDefinition struct {
// PresentationSubmission is the container for the descriptor_map:
// https://identity.foundation/presentation-exchange/#presentation-submission.
type PresentationSubmission struct {
+ // ID unique resource identifier.
+ ID string `json:"id,omitempty"`
+ // Def... | feat: Defines Presentation Submission fields according to spec | null | hyperledger/aries-framework-go | Apache License 2.0 | Go |
@@ -9,6 +9,7 @@ import android.graphics.Color;
import android.graphics.PixelFormat;
import android.graphics.drawable.Animatable;
import android.graphics.drawable.Drawable;
+import android.graphics.drawable.LayerDrawable;
import android.os.Handler;
import android.view.Gravity;
import android.view.View;
@@ -60,6 +61,18 @... | feat(android): start animatable layers when splash drawable is layered | null | ionic-team/capacitor | MIT License | Java |
@@ -182,9 +182,9 @@ public final class ProbeMojo extends SafeMojo {
private Collection<String> probes(final Path file) throws FileNotFoundException {
final Collection<String> objects = new ListOf<>(
new Mapped<>(
- ProbeMojo::withoutPrefix,
+ ProbeMojo::noPrefix,
new Filtered<>(
- obj -> !obj.isEmpty() && ProbeMojo.not... | feat(#1677): rename methods in ProbeMojo | null | cqfn/eo | MIT License | Java |
@@ -9,8 +9,9 @@ import { Logger } from 'common/logger';
const log = new Logger('staking-service');
// TODO: use selfkey domain here
-const CONFIG_URL =
- 'https://us-central1-kycchain-master.cloudfunctions.net/airtable?tableName=Contracts';
+const AIRTABLE_NAME = CONFIG.chainId === 1 ? 'Contracts' : 'ContractsTest';
+
... | feat(staking): separate dev and main airtables | null | selfkeyfoundation/identity-wallet | MIT License | JavaScript |
@@ -11,7 +11,7 @@ use datafusion::physical_plan::{
};
use internal_types::{schema::Schema, selection::Selection};
use object_store::{
- path::{ObjectStorePath, Path},
+ path::{parsed::DirsAndFileName, ObjectStorePath, Path},
ObjectStore, ObjectStoreApi,
};
use parquet::{
@@ -108,6 +108,9 @@ pub enum Error {
#[snafu(dis... | feat: add a way to parse infos from parquet paths | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -86,7 +86,9 @@ class RollbarLogger extends AbstractLogger
}
/**
- * @var Level|string $level
+ * @param Level|string $level
+ * @param mixed $toLog
+ * @param array $context
*/
public function log($level, $toLog, array $context = array())
{
@@ -100,8 +102,6 @@ class RollbarLogger extends AbstractLogger
// string. Wi... | feat: document obvious types | null | rollbar/rollbar-php | MIT License | PHP |
@@ -188,23 +188,6 @@ class Builder {
return $type;
}
- /**
- * Function to initialise the typeMapping array with the base cases of the recursion
- *
- * @param string $a
- * @return void
- */
- protected static function getArgs(array $params, $utopia) {
- $args = [];
- foreach ($params as $key => $value) {
- $args[$key... | feat: removed getArgs function | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -38,6 +38,22 @@ namespace IBM.Watson.Assistant.v1.Model
/// Constant HIGH for high
/// </summary>
public const string HIGH = "high";
+ /// <summary>
+ /// Constant MEDIUM_HIGH for medium_high
+ /// </summary>
+ public const string MEDIUM_HIGH = "medium_high";
+ /// <summary>
+ /// Constant MEDIUM for medium
+ /// </... | feat(assistant-v1): add more enums for Disambiguation settings | null | watson-developer-cloud/dotnet-standard-sdk | Apache License 2.0 | C# |
@@ -516,10 +516,12 @@ namespace acl
// Force inline this function, we only use it to keep the code readable
RTM_FORCE_INLINE RTM_DISABLE_SECURITY_COOKIE_CHECK rtm::vector4f RTM_SIMD_CALL quat_from_positive_w4(rtm::vector4f_arg0 xxxx, rtm::vector4f_arg1 yyyy, rtm::vector4f_arg2 zzzz)
{
- const rtm::vector4f xxxx_squared... | feat(decompression): use negmulsub for improved arm64 codegen | null | nfrechette/acl | MIT License | C |
@@ -31,7 +31,7 @@ export default class ModeButton extends Component {
<div className='mode-label' style={{ color: buttonColor }}>{label}</div>
{active && <div>
<div className='mode-check' style={{ color: 'white' }}><i className='fa fa-circle' /></div>
- <div className='mode-check' style={{ color: 'red' }}><i className=... | feat(form): Change color of mode button checkboxes to green | null | opentripplanner/otp-react-redux | MIT License | JavaScript |
@@ -11,13 +11,14 @@ const statusToText: { [key in IVerification['status']]: string } = {
PENDING: `Verification in progress`,
PASS: `Verification passed`,
FAIL: `Verification failed`,
- OVERRIDE_FAIL: `TBD`,
- OVERRIDE_PASS: `TBD`,
+ OVERRIDE_FAIL: `Failed verification has been overridden`,
+ OVERRIDE_PASS: `Verificati... | feat(md): change pending verification icon color to blue | null | spinnaker/deck | Apache License 2.0 | TypeScript |
@@ -9,12 +9,50 @@ const { decode } = require("@webassemblyjs/wasm-parser");
const { Tapable } = require("tapable");
const WebAssemblyImportDependency = require("./dependencies/WebAssemblyImportDependency");
+const { readFileSync } = require("fs");
+const { join } = require("path");
const decoderOpts = {
ignoreCodeSecti... | feat(WebAssemblyParser): error when restriction are hit | null | webpack/webpack | MIT License | JavaScript |
@@ -505,6 +505,10 @@ fn get_lang_data(lang: &str) -> Option<(&'static str, &'static encoding_rs::Enco
include_str!("./templates/nsis-languages/SimpChinese.nsh"),
UTF_8,
)),
+ "french" => Some((
+ include_str!("./templates/nsis-languages/French.nsh"),
+ UTF_8,
+ )),
_ => None,
}
}
| feat: add french support for nsis | null | tauri-apps/tauri | Apache License 2.0 | Rust |
@@ -595,10 +595,30 @@ func (n *OpenBazaarNode) SendDisputeClose(peerID string, k *libp2p.PubKey, resol
log.Errorf("failed to marshal the contract: %v", err)
return err
}
+
+ // Create the DISPUTE_CLOSE message
m := pb.Message{
MessageType: pb.Message_DISPUTE_CLOSE,
Payload: a,
}
+
+ // Save DISPUTE_CLOSE message to the... | feat: Save dispute close message to database | null | openbazaar/openbazaar-go | MIT License | Go |
+<?php
+
+use Flextype\Component\Filesystem\Filesystem;
+
+beforeEach(function() {
+ filesystem()->directory(PATH['project'] . '/entries')->create();
+});
+
+afterEach(function (): void {
+ filesystem()->directory(PATH['project'] . '/entries')->delete();
+});
+
+test('test RoutableField', function () {
+ flextype('regi... | feat(tests): add tests for entry RoutableField | null | flextype/flextype | MIT License | PHP |
@@ -249,9 +249,7 @@ $flextypeLoader = require_once $flextypeAutoload;
* will load up this application so that we can run it and send
* the responses back to the browser and delight our users.
*/
-include __DIR__ . '/src/flextype/bootstrap.php';
-
-
+require_once __DIR__ . '/src/flextype/flextype.php';
echo "<div style=... | feat(index): use `require_once` instead of `include` | null | flextype/flextype | MIT License | PHP |
@@ -46,6 +46,7 @@ class HttpRunner(object):
__step_datas: List[StepData] = None
__session: HttpSession = None
__session_variables: VariablesMapping = {}
+ __export_variables: VariablesMapping = {}
# time
__start_at: float = 0
__duration: float = 0
@@ -249,6 +250,7 @@ class HttpRunner(object):
self.__step_datas: List[St... | feat: log export variables | null | httprunner/httprunner | Apache License 2.0 | Python |
#gitrepo paths are overrideable to run from your own fork or branch for testing or private distribution
-VERSION="1.2.0"
+VERSION="1.2.1"
gitreposubpath="PowerShell/PowerShell/master"
gitreposcriptroot="https://raw.githubusercontent.com/$gitreposubpath/tools"
thisinstallerdistro=debian
@@ -176,12 +176,12 @@ fi
case $DI... | feat: Add Ubuntu 20.04 Support to install-powershell.sh | null | powershell/powershell | MIT License | Shell |
@@ -2,7 +2,7 @@ use clap::Args;
use anyhow::anyhow;
use ockam::identity::IdentityIdentifier;
-use ockam::{Context, TcpTransport};
+use ockam::Context;
use ockam_api::authenticator::direct::types::AddMember;
use ockam_api::config::lookup::{ConfigLookup, ProjectAuthority};
use ockam_api::nodes::models::secure_channel::{
... | feat(rust): use embedded node to run project enroll command | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -76,6 +76,8 @@ class Entries
*/
public function __construct($options = null, $registry = null)
{
+ filesystem()->directory(PATH['project'] . registry()->get('flextype.settings.entries.directory'))->ensureExists(0755, true);
+
$this->setRegistry($registry);
$this->setOptions($options);
$this->loadCollectionsEvents();... | feat(entries): use `ensureExists` for entries dir on init | null | flextype/flextype | MIT License | PHP |
@@ -17,7 +17,10 @@ use crate::{
use data_types::database_rules::{PartitionTemplate, TemplatePart};
use observability_deps::tracing::*;
use router2::{
- dml_handlers::{NamespaceAutocreation, Partitioner, SchemaValidator, ShardedWriteBuffer},
+ dml_handlers::{
+ InstrumentationDecorator, NamespaceAutocreation, Partitione... | feat: add instrumentation to request pipeline | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
KRAKEN_EXPORT
void init_callback();
+KRAKEN_EXPORT
+void evaluate_scripts(const char *code, const char *bundleFilename,
+ int startLine);
+
#endif // KRAKEN_BRIDGE_EXPORT_H
| feat: export evaluate_scripts in libkraken.so | null | openkraken/kraken | Apache License 2.0 | C |
@@ -21,6 +21,8 @@ import com.netflix.spinnaker.halyard.config.model.v1.node.Master;
import com.netflix.spinnaker.halyard.config.model.v1.node.NodeIterator;
import com.netflix.spinnaker.halyard.config.model.v1.node.NodeIteratorFactory;
import com.netflix.spinnaker.halyard.config.model.v1.node.Secret;
+import com.netflix... | feat(jenkins): Support for overriding TrustStore used by Jenkins | null | spinnaker/halyard | Apache License 2.0 | Java |
package org.eolang.maven;
import com.jcabi.log.Logger;
+import com.jcabi.log.Supplier;
import com.jcabi.xml.XMLDocument;
import com.yegor256.tojos.Tojo;
import com.yegor256.tojos.Tojos;
@@ -33,12 +34,14 @@ import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Collection;
import java.util.HashSet;
+imp... | feat(#1564): use streams instead of ExecutorsService | null | cqfn/eo | MIT License | Java |
@@ -57,6 +57,21 @@ func AddToContainer(c *restful.Container, factory informers.InformerFactory, op
DataFormat("limit=%d,page=%d").
DefaultValue("limit=10,page=1")))
+ webservice.Route(webservice.GET("/namespaces/{namespace}/applications").
+ To(handler.ListApplications).
+ Returns(http.StatusOK, api.StatusOK, models.Pa... | feat: add api list application | null | kubesphere/kubesphere | Apache License 2.0 | Go |
// SOFTWARE.
////////////////////////////////////////////////////////////////////////////////
+#include "acl/core/error.h"
#include "acl/core/iallocator.h"
#include "acl/core/impl/compiler_utils.h"
#include "acl/database/idatabase_streamer.h"
@@ -62,12 +63,20 @@ namespace acl
virtual void stream_in(uint32_t offset, uin... | feat(database): add sanity checks to debug streamer | null | nfrechette/acl | MIT License | C |
@@ -838,6 +838,8 @@ class ArgNamespace:
args += positional_args
p_args, unknown_args = parser.parse_known_args(args)
unknown_args = list(filter(lambda x: x.startswith('--'), unknown_args))
+ if '--jcloud' in unknown_args:
+ unknown_args.remove('--jcloud')
if warn_unknown and unknown_args:
_leftovers = set(unknown_args)... | feat: avoid warning jcloud arg | null | jina-ai/jina | Apache License 2.0 | Python |
@@ -102,8 +102,8 @@ $customFlextypeSettingsFilePath = PATH['project'] . '/config/flextype/settings.
$preflightFlextypePath = PATH['tmp'] . '/config/flextype/';
$customFlextypeSettingsPath = PATH['project'] . '/config/flextype/';
-! filesystem()->directory($preflightFlextypePath)->exists() and filesystem()->directory($p... | feat(flextype): use `ensureExists` for primary configs | null | flextype/flextype | MIT License | PHP |
+#!/usr/bin/env bash
+
+# Output terraform plans
+terragrunt plan-all -out=infracost-plan
+
+# Loop through plans and output infracost JSONs
+planfiles=$(find . -name "infracost-plan")
+while IFS= read -r planfile; do
+ echo "Running terraform show for $planfile";
+ cd $(dirname $planfile)
+ terraform show -json $(base... | feat: add example script for Terragrunt reports | null | infracost/infracost | Apache License 2.0 | Shell |
@@ -27,20 +27,22 @@ import com.jcabi.log.Logger;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Scanner;
+import org.cactoos.Text;
+import org.cactoos.io.InputOf;
+import org.cactoos.text.TextOf;
+import org.cactoos.text.U... | feat(#1382): use ChText inside ChRemote | null | cqfn/eo | MIT License | Java |
@@ -410,7 +410,7 @@ class ModificationDateTimeField(CreationDateTimeField):
def pre_save(self, model_instance, add):
if not getattr(model_instance, 'update_modified', True):
- return model_instance.modified
+ return getattr(model_instance, self.attname)
return super(ModificationDateTimeField, self).pre_save(model_insta... | feat: make modificationfield name modifiable | null | django-extensions/django-extensions | MIT License | Python |
@@ -224,8 +224,8 @@ public extension SolanaSDK {
}
struct InnerInstruction: Decodable {
- let index: UInt32
- let instructions: [ParsedInstruction]
+ public let index: UInt32
+ public let instructions: [ParsedInstruction]
}
struct TokenBalance: Decodable {
let accountIndex: UInt64
| feat(inner-struction): change private to public | null | p2p-org/solana-swift | MIT License | Swift |
@@ -121,6 +121,7 @@ JSBridge::JSBridge(int32_t contextId, const JSExceptionHandler &handler) : conte
bindSVGElement(m_context);
bindDocumentFragment(m_context);
bindWindow(m_context);
+ bindHistory(m_context);
bindPerformance(m_context);
bindCSSStyleDeclaration(m_context);
bindScreen(m_context);
| feat: add bindHistory | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -488,6 +488,10 @@ impl CowStr<'_> {
pub fn to_owned<'r>(&self) -> CowStr<'r> {
CowStr(Cow::Owned(self.0.to_string()))
}
+
+ pub fn into_owned(self) -> String {
+ self.0.into_owned()
+ }
}
impl<'a> From<&'a str> for CowStr<'a> {
@@ -539,6 +543,10 @@ impl CowBytes<'_> {
pub fn to_owned<'r>(&self) -> CowBytes<'r> {
Cow... | feat(rust): add `into_owned` for `CowStr` and `CowBytes` | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -126,7 +126,7 @@ class Api
return $this->getStatusCodeMessage(401);
}
- if (! password_verify($data['access_token'], $tokenData['hashed_access_token'])) {
+ if (! tokenHashValidate($data['access_token'], $tokenData['hashed_access_token'])) {
return $this->getStatusCodeMessage(401);
}
}
| feat(endpoints): use helper function `tokenHashValidate` for API Validation | null | flextype/flextype | MIT License | PHP |
@@ -24,5 +24,7 @@ export const partAsStringWithoutTypes = (part: Part): string => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export const getFallbackProxy = <TF extends TranslationFunctions<any>>(prefixKey?: string): TF =>
new Proxy((prefixKey ? () => prefixKey : {}) as TF, {
- get: (_target, key:... | feat: add functionality to loop over arrays | null | ivanhofer/typesafe-i18n | MIT License | TypeScript |
@@ -4,6 +4,7 @@ declare(strict_types=1);
namespace Tests;
+use Illuminate\Support\Str;
use Symfony\Component\Finder\Finder;
class FeaturesTest extends TestCase
@@ -37,6 +38,10 @@ class FeaturesTest extends TestCase
private function analyze(string $file): int
{
+ if (Str::contains($file, 'Features/Laravel8') && version_... | feat: add support for Laravel 8 and upper tests | null | nunomaduro/larastan | MIT License | PHP |
@@ -20,16 +20,17 @@ class Input extends Component {
const {
target: {value}
} = ev
- onChange && onChange(ev, {value})
+ onChange(ev, {value})
}
handleKeyDown = ev => {
- const {onEnter, onEnterKey} = this.props
+ const {onEnter, onEnterKey, onKeyDown} = this.props
const {
target: {value}
} = ev
const {key} = ev
- if (... | feat(atom/input): onKeyDown handler as prop | null | sui-components/sui-components | MIT License | JavaScript |
@@ -2,7 +2,7 @@ import Foundation
open class MediaControl: UICorePlugin, UIGestureRecognizerDelegate {
- override var view: UIView {
+ override open var view: UIView {
didSet {
addSubview(view)
view.addSubview(container)
@@ -17,7 +17,7 @@ open class MediaControl: UICorePlugin, UIGestureRecognizerDelegate {
}
}
- privat... | feat: expose some methods to control the MediaControl by extending it | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -16,40 +16,40 @@ const color = {
80: '#DAD4F3',
},
beerus: {
- 100: '#E5E4EA',
+ 100: '#654ACE',
},
goku: {
- 100: '#141414',
- 80: '#1c1c1c',
- 40: '#2b2b2b',
- 10: '#3b3b3b',
+ 100: '#15064F',
+ 80: '#15064F',
+ 40: '#15064F',
+ 10: '#15064F',
},
gohan: {
- 100: '#000000',
- 80: '#080808',
- 40: '#171717',
- 10: '... | feat: new colours for empire dark theme | null | coingaming/moon-design | MIT License | TypeScript |
+#include <stdio.h>
+#include <stdlib.h>
+
+#include "reddit.h"
+
+
+int main(int argc, char *argv[])
+{
+ const char *config_file;
+ if (argc > 1)
+ config_file = argv[1];
+ else
+ config_file = "bot.config";
+
+ struct reddit *client = reddit_config_init(config_file);
+
+ reddit_access_token(client);
+
+ reddit_clean... | feat: test authentication with reddit works | null | cee-studio/orca | MIT License | C |
@@ -8,6 +8,7 @@ import 'package:smooth_app/data_models/product_list.dart';
import 'package:smooth_app/database/dao_product.dart';
import 'package:smooth_app/database/dao_product_list.dart';
import 'package:smooth_app/database/local_database.dart';
+import 'package:smooth_app/generic_lib/buttons/smooth_simple_button.dar... | feat: Make "Start Scanning" Button | null | openfoodfacts/smooth-app | Apache License 2.0 | Dart |
@@ -164,6 +164,7 @@ export default class Time extends React.Component {
this.centerLi = li;
}
}}
+ tabIndex="0"
>
{formatDate(time, format, this.props.locale)}
</li>
@@ -199,7 +200,7 @@ export default class Time extends React.Component {
this.list = list;
}}
style={height ? { height } : {}}
- tabIndex='0'
+ tabIndex="0... | feat: fix accessibility issue for time selection | null | hacker0x01/react-datepicker | MIT License | JavaScript |
@@ -17,7 +17,9 @@ package com.b2international.snowowl.core.request;
import com.b2international.commons.exceptions.AlreadyExistsException;
import com.b2international.commons.exceptions.BadRequestException;
+import com.b2international.commons.exceptions.NotFoundException;
import com.b2international.snowowl.core.authoriza... | feat: validate updated bundle id | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.