diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -28,6 +28,7 @@ import kotlinx.android.synthetic.main.fragment_signup.view.confirmPasswords
import kotlinx.android.synthetic.main.fragment_signup.view.usernameSignUp
import kotlinx.android.synthetic.main.fragment_signup.view.signupNestedScrollView
import org.fossasia.openevent.general.R
+import org.fossasia.openevent... | feat: Store credentials with Google smart lock after authentication | null | fossasia/open-event-attendee-android | Apache License 2.0 | Kotlin |
@@ -17,10 +17,14 @@ import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
+
@Service
@RequiredArgsConstructor
public class DatabaseScheduleService {
+ @Value("${spring.environment.demo}")
+ private bool... | feat(Playground): Database should only reset in the playground environment | null | burningokr/burningokr | Apache License 2.0 | Java |
+<?php
+
+declare(strict_types=1);
+
+use Flextype\Foundation\Flextype;
+use Atomastic\Strings\Strings;
+
+beforeEach(function() {
+ //filesystem()->directory(PATH['project'] . '/entries')->create();
+
+ // Create sandbox plugin
+ filesystem()->directory(PATH['project'] . '/plugins/sandbox')->create(0755, true);
+ file... | feat(tests): add tests for Plugins | null | flextype/flextype | MIT License | PHP |
@@ -23,6 +23,7 @@ import java.time.LocalDate;
import org.springdoc.api.annotations.ParameterObject;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.format.annotation.DateTimeFormat.ISO;
+import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
impo... | feat(fhir.rest): Record request locale preferences in controller methods | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
pkg=packages/ast
-node $pkg/scripts/generateTypeDefinitions.js | npx prettier > $pkg/src/types/nodes.js
-node $pkg/scripts/generateNodeUtils.js | npx prettier > $pkg/src/nodes.js
+node $pkg/scripts/generateTypeDefinitions.js > $pkg/src/types/nodes.js
+node $pkg/scripts/generateNodeUtils.js > $pkg/src/nodes.js
+
+npx pr... | feat: remove unix pipe | null | xtuc/webassemblyjs | MIT License | Shell |
@@ -3,6 +3,7 @@ use std::sync::{Arc, Mutex};
use std::thread;
use std::time;
+use crate::cli;
use crate::config::{Config, Role};
use crate::worker::Worker;
@@ -15,9 +16,7 @@ use ockam_message::message::AddressType;
use ockam_router::router::Router;
use ockam_system::commands::{OckamCommand, RouterCommand};
use ockam_tr... | feat(rust): re-use key based on identity name provided in cli | null | ockam-network/ockam | Apache License 2.0 | Rust |
import net.java.sip.communicator.util.*;
import org.jitsi.jicofo.event.*;
+import org.jitsi.jicofo.util.*;
import org.jitsi.service.configuration.*;
import org.jitsi.eventadmin.*;
import org.jitsi.utils.logging.Logger;
public static final String IDLE_TIMEOUT_PNAME
= "org.jitsi.focus.IDLE_TIMEOUT";
+ /**
+ * Name of con... | feat: log a thread dump on focus idle timeout | null | jitsi/jicofo | Apache License 2.0 | Java |
@@ -8,8 +8,10 @@ import (
var DefaultArea = AreaPrinter{}
+// AreaPrinter prints an area which can be updated easily.
+// use this printer for live output like charts, algorithm visualizations, simulations and even games.
type AreaPrinter struct {
- Content string
+ content string
RemoveWhenDone bool
isActive bool
@@ -... | feat(area): add `AreaPrinter` | null | pterm/pterm | MIT License | Go |
@@ -38,6 +38,11 @@ import java.util.stream.Collectors;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.plugins.annotations.Parameter;
+import org.cactoos.Scalar;
+import org.cactoos.experimental.Threads;
+import org.cactoos.iterable.F... | feat(#1625): simplify OptimizeMojo concurrency | null | cqfn/eo | MIT License | Java |
@@ -647,7 +647,7 @@ export default class Roi {
return (2 * Math.sqrt(this.surface * Math.PI)) / this.perimeter;
}
- get convexity() {
+ get solidity() {
return this.surface / this.convexHull.surface;
}
@@ -686,7 +686,7 @@ export default class Roi {
aspectRatio: this.feretDiameters.aspectRatio,
sphericity: this.spherici... | feat: rename convexity to solidity | null | image-js/image-js | MIT License | JavaScript |
@@ -485,6 +485,10 @@ to all instances running in a specific region using the --region/-r flag.`,
return KeyStrings{"stop <id>", "Stop a Fly machine",
`Stop a Fly machine`,
}
+ case "machine.status":
+ return KeyStrings{"status <id>", "Get status on a fly machine",
+ `Get status for a Fly machine`,
+ }
case "monitor":
r... | feat: Add status to docs | null | superfly/flyctl | Apache License 2.0 | Go |
@@ -73,6 +73,20 @@ namespace Bunit
=> (IRenderedFragment)this.RenderInsideRenderTree(renderFragment);
#if NET5_0_OR_GREATER
+ /// <summary>
+ /// Renders the first component (root component) in the <paramref name="renderFragment"/>,
+ /// and stubs out all other components, both child components as well as sibling comp... | feat: added ShallowRender<TComponent> overload | null | bunit-dev/bunit | MIT License | C# |
@@ -23,10 +23,7 @@ import com.b2international.snowowl.eventbus.IMessage;
import com.b2international.snowowl.internal.eventbus.netty.AddressBookNettyHandler;
import com.b2international.snowowl.internal.eventbus.netty.EventBusNettyHandler;
-import io.netty.channel.Channel;
-import io.netty.channel.ChannelHandler;
-import... | feat(netty): Disallow "half-closed" channels in EventBusNettyUtil | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -4,7 +4,12 @@ import ms from 'milliseconds'
const bundle = createAsyncResourceBundle({
name: 'peers',
actionBaseType: 'PEERS',
- getPromise: ({ getIpfs }) => getIpfs().swarm.peers(),
+ getPromise: ({ getIpfs }) => getIpfs().swarm.peers()
+ .then((peers) => peers.sort((a, b) => {
+ const aAddr = a.addr.toString()
+ c... | feat: numeric sensitive sorting of peers by multiaddr | null | ipfs-shipyard/ipfs-webui | MIT License | JavaScript |
@@ -25,7 +25,9 @@ import (
"github.com/spf13/cobra"
"github.com/openshift/rosa/cmd/create/idp"
+ "github.com/openshift/rosa/pkg/object"
"github.com/openshift/rosa/pkg/ocm"
+ "github.com/openshift/rosa/pkg/output"
"github.com/openshift/rosa/pkg/rosa"
)
@@ -52,6 +54,7 @@ func init() {
"",
"Choice of password for admin us... | feat: add --output json/yaml to create admin, omit when passwordArg is set | null | openshift/rosa | Apache License 2.0 | Go |
+<?php
+
+declare(strict_types=1);
+
+test('test /api/registry', function () {
+ //$request = flextype()->createJsonRequest('GET', '/api/registry');
+ //$response = flextype()->handle($request);
+ //var_dump($response);
+});
| feat(tests): add tests for Registry Endpoints methods | null | flextype/flextype | MIT License | PHP |
@@ -69,27 +69,14 @@ final class ParseMojoTest {
}
@Test
- void failsOnTimeout(@TempDir final Path temp) throws Exception {
- final Path src = temp.resolve("foo/x/main.eo");
- final Path target = temp.resolve("target");
- new Home(temp).save(
- "+package f\n\n[args] > main\n (stdout \"Hello!\").print\n",
- temp.relativi... | feat(#1479): simplify failsOnTimeout test | null | cqfn/eo | MIT License | Java |
@@ -140,4 +140,8 @@ public extension BaseObject {
func listenTo<T: EventProtocol>(_ contextObject: T, event: Event, callback: @escaping EventCallback) {
listenTo(contextObject, eventName: event.rawValue, callback: callback)
}
+
+ func listenToOnce<T: EventProtocol>(_ contextObject: T, event: Event, callback: @escaping ... | feat: create listen to once overload | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -9,20 +9,15 @@ declare(strict_types=1);
namespace Flextype;
-
-use Flextype\Component\Filesystem\Filesystem;
-use Flextype\Component\Date\Date;
-use Flextype\Component\Form\Form;
use Flextype\Component\Arr\Arr;
-use Flextype\Component\Text\Text;
-use Flextype\Component\Registry\Registry;
-use function Flextype\Compo... | feat(core): refactor Forms class | null | flextype/flextype | MIT License | PHP |
@@ -39,7 +39,9 @@ func (h *PlatformHandler) ServeHTTP(w nethttp.ResponseWriter, r *nethttp.Request
// Server the chronograf assets for any basepath that does not start with addressable parts
// of the platform API.
- if !strings.HasPrefix(r.URL.Path, "/v1/") && !strings.HasPrefix(r.URL.Path, "/chronograf/") {
+ if !str... | feat(http): allow for v2 paths in serve http | null | influxdata/influxdb | MIT License | Go |
@@ -263,3 +263,11 @@ def get_ancestors_of(doctype, name, order_by="lft desc", limit=None):
result = frappe.db.sql_list("""select name from `tab{0}`
where lft<%s and rgt>%s order by {1} {2}""".format(doctype, order_by, limit), (lft, rgt))
return result or []
+
+def get_descendants_of(doctype, name, order_by="lft desc", ... | feat: added a utility method to get all the descendants of a node | null | frappe/frappe | MIT License | Python |
+<?php
+
+declare(strict_types=1);
+
+namespace Pest\Exceptions;
+
+use BadFunctionCallException;
+use NunoMaduro\Collision\Contracts\RenderlessEditor;
+use NunoMaduro\Collision\Contracts\RenderlessTrace;
+use Symfony\Component\Console\Exception\ExceptionInterface;
+
+/**
+ * Creates a new instance of dataset is not pr... | feat: add new exception for missing datasets on tests with arguments | null | pestphp/pest | MIT License | PHP |
-import path, { join } from 'path'
+import { existsSync } from 'fs'
+import path, { dirname, join } from 'path'
import type { TamaguiOptions } from '@tamagui/static'
import browserslist from 'browserslist'
@@ -26,15 +27,6 @@ export type WithTamaguiProps = TamaguiOptions & {
}
export const withTamagui = (tamaguiOptions:... | feat(next-plugin): Automatically configures compiler for components passed in, using shouldExtract needed less often | null | tamagui/tamagui | MIT License | TypeScript |
@@ -6,11 +6,9 @@ import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import org.jetbrains.annotations.TestOnly;
import javax.annotation.ParametersAreNonnullByDefault;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Map;
-import java.util.WeakHashMap;
+import java.util.*;
import java.util... | feat: support Transmittee Register(WIP) | null | alibaba/transmittable-thread-local | Apache License 2.0 | Java |
@@ -249,8 +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/flextype.php';
-
+flextype()->app()->run();
echo "<div style='position:absolute; bottom: 10... | feat(index): use `flextype()->app()->run()` instead bootstrap include | null | flextype/flextype | MIT License | PHP |
@@ -18,7 +18,7 @@ import com.google.gson.annotations.SerializedName;
import com.ibm.cloud.sdk.core.service.model.GenericModel;
/**
- * SpeechRecognitionResults.
+ * The complete results for a speech recognition request.
*/
public class SpeechRecognitionResults extends GenericModel {
@@ -27,6 +27,10 @@ public class Spee... | feat(Speech to Text): Add processingMetrics and audioMetrics props to SpeechRecognitionResults | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -168,7 +168,7 @@ const BlockOverview = ({ block }: { block: State.Block }) => {
},
{
title: i18n.t('block.nonce'),
- content: `${block.nonce}`,
+ content: localeNumberString(block.nonce),
},
{
title: i18n.t('block.uncle_count'),
| feat: add localNumber for nonce | null | nervosnetwork/ckb-explorer-frontend | MIT License | TypeScript |
@@ -157,7 +157,7 @@ frappe.ui.Page = Class.extend({
},
get_icon_label: function(icon, label) {
- return `${icon ? frappe.utils.icon(icon, 'xs') : ''} <span> ${__(label)} </span>`;
+ return `${icon ? frappe.utils.icon(icon, 'xs') : ''} <span class="hidden-xs"> ${__(label)} </span>`;
},
set_action: function(btn, opts) {
| feat: hide primary button label in mobile if icon is present | null | frappe/frappe | MIT License | JavaScript |
@@ -214,7 +214,6 @@ func createRun(opts *CreateOpts) error {
return err
}
}
-
if opts.MileStone == 0 {
err = cmdutils.MilestonesPrompt(&opts.MileStone, apiClient, repoRemote, opts.IO)
if err != nil {
@@ -222,6 +221,12 @@ func createRun(opts *CreateOpts) error {
}
}
}
+ if len(opts.Assignees) == 0 {
+ err = cmdutils.Ass... | feat(commands/issue/create): add interactive user assignment | null | profclems/glab | MIT License | Go |
+// Copyright 2021. The Tari Project
+//
+// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
+// following conditions are met:
+//
+// 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
+// ... | feat: example to generate vanity node_ids | null | tari-project/tari | BSD 3-Clause New or Revised License | Rust |
@@ -45,5 +45,5 @@ func init() {
flags.SortFlags = false
flags.StringP("key-file", "k", "storagekey.aes", "File to write key to")
- flags.Uint32P("counter", "c", 0, "Set counter for number of generated storage keys")
+ flags.Uint32P("counter", "c", 0, "Counter of generated key")
}
| feat: clarify description of --counter flag to irma keyshare keygen | null | privacybydesign/irmago | Apache License 2.0 | Go |
@@ -230,7 +230,7 @@ trait Auditable
'auditable_type' => $this->getMorphClass(),
'user_id' => $this->resolveUserId(),
'url' => $this->resolveUrl(),
- 'ip_address' => Request::ip(),
+ 'ip_address' => $this->resolveIpAddress(),
'created_at' => $this->freshTimestamp(),
]);
}
@@ -275,6 +275,16 @@ trait Auditable
return Requ... | feat(Auditable): implement resolveIpAddress() method | null | owen-it/laravel-auditing | MIT License | PHP |
-import React from 'react';
+import React, { useState, ChangeEvent } from 'react';
import { Flex, Box, Text, Input } from '@blockstack/ui';
import { AppIcon } from '../../app-icon';
import { Link } from '../../../link';
-import { doTrack, CONNECT_SAVED, CONNECT_BACK } from '../../../../common/track';
+import { doTrack,... | feat: Add validation to seed entry field | null | blockstack/stacks-wallet-web | MIT License | TypeScript |
@@ -60,15 +60,16 @@ fn push_down_topk_to_merge(s_expr: &mut SExpr, mut top_k: Option<TopK>) -> Resul
return Ok(());
}
- top_k = None;
for child in s_expr.children.iter_mut() {
+ top_k = None;
if let RelOperator::Sort(sort) = &child.plan {
- // If limit.limit is None, no need to push down.
- if let Some(_) = sort.limit ... | feat(query): fix topk pushdown | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -5,9 +5,9 @@ import PropTypes from 'prop-types'
import React from 'react'
import { transparentize } from 'polished'
-const appearances = { stroke: 'stroke', flat: 'flat' }
+export const appearances = { stroke: 'stroke', flat: 'flat' }
-const sizes = {
+export const sizes = {
xSmall: 'xSmall',
small: 'small',
medium:... | feat(button): export statics separately | null | pluralsight/design-system | Apache License 2.0 | JavaScript |
@@ -12,7 +12,7 @@ impl ProfileIdentifier {
Self { 0: hash }
}
- pub fn string_representation(&self) -> String {
+ pub fn to_string_representation(&self) -> String {
format!("P_ID.{}", hex::encode(&self.0))
}
}
| feat(rust): rename string_representation to to_string_representation in profile id | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -84,7 +84,7 @@ function createThemesFrom<Name extends string, GetTheme extends ThemeCreator = T
[`${name}_Progress`, altThemes[2][1]],
[`${name}_ProgressIndicator`, inverted[2]],
[`${name}_Switch`, altThemes[0][1]],
- [`${name}_SwitchThumb`, altThemes[1][1]],
+ [`${name}_SwitchThumb`, inverted[2]],
[`${name}_Tooltip... | feat(theme-base): Style Switch thumb more contrasting | null | tamagui/tamagui | MIT License | TypeScript |
-use crate::{abi::Abi, types::Bytes};
+use std::{collections::HashMap, fmt, io::BufRead, path::PathBuf, process::Command};
+
use glob::glob;
use serde::{Deserialize, Serialize};
-use std::{collections::HashMap, fmt, io::BufRead, path::PathBuf, process::Command};
use thiserror::Error;
+use crate::{abi::Abi, types::Bytes... | feat: support parsing solc contract abi output in string and array form | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -15,6 +15,7 @@ using System.Drawing;
using System.IO;
using System.Threading;
using RuriLib.Models.Bots;
+using RuriLib.Models.Data;
namespace OpenBullet2.Console
{
@@ -33,9 +34,12 @@ namespace OpenBullet2.Console
[Option('c', "config", Required = true, HelpText = "Configuration file to be processed.")]
public strin... | feat(Console): add `--wordlist-range` argument | null | openbullet/openbullet2 | MIT License | C# |
@@ -18,6 +18,7 @@ use DateTimeInterface;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\MorphTo;
use Illuminate\Support\Facades\Config;
+use OwenIt\Auditing\Contracts\AttributeEncoder;
trait Audit
{
@@ -164,7 +165,39 @@ trait Audit
// Auditable value
if ($this->auditable && starts_wi... | feat(Audit): implement AttributeEncoder logic (decode) | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -25,6 +25,7 @@ import Loader from "../../components/Loader";
import Page from "../../components/Page";
import StringUtil from "../../utils/StringUtil";
import CatalogPackageOption from "./CatalogPackageOption";
+import MetadataStore from "../../stores/MetadataStore";
const PackagesBreadcrumbs = () => {
const crumbs ... | feat(PackagesTab): adds empty state behavior to Packages | null | dcos/dcos-ui | Apache License 2.0 | JavaScript |
@@ -62,6 +62,20 @@ class SeriesRepository(
return response
}
+ /**
+ * Removes the series [seriesToRemove] from being tracked.
+ */
+ suspend fun deleteSeries(seriesToRemove: SeriesModel): Resource<Any> {
+ val response = libraryApi.delete(seriesToRemove.userId)
+ when (response) {
+ is Resource.Success -> seriesDao.de... | feat: add delete method to the series repository | null | chesire/nekome | Apache License 2.0 | Kotlin |
@@ -26,7 +26,7 @@ Convolution::Param gconv_param(Convolution::Param p) {
} // anonymous namespace
-#define CONVOLUTION_ARG_DIV_SIZE 230
+#define CONVOLUTION_ARG_DIV_SIZE 100
TEST_F(CPU, CONVOLUTION_0) {
using namespace convolution;
std::vector<TestArg> args = get_args();
@@ -39,18 +39,51 @@ TEST_F(CPU, CONVOLUTION_0) {... | feat(dnn/test): split cpu.convolution | null | megengine/megengine | Apache License 2.0 | C++ |
@@ -5,6 +5,7 @@ import importlib
import inspect
import sys
import tokenize
+from collections.abc import Iterable
from io import StringIO
from prompt_toolkit import PromptSession
@@ -383,6 +384,8 @@ def _obj_from_token(obj, token):
key = token.string
if isinstance(obj, dict):
return obj[key]
+ if isinstance(obj, Iterabl... | feat: for indexed iterables, generate hints from actual object when possible | null | eth-brownie/brownie | MIT License | Python |
@@ -26,6 +26,7 @@ import static com.b2international.snowowl.test.commons.rest.RestExtensions.given
import static com.google.common.collect.Lists.newArrayList;
import static org.assertj.core.api.Assertions.assertThat;
import static org.hamcrest.CoreMatchers.equalTo;
+import static org.hamcrest.CoreMatchers.containsStrin... | feat(SnomedRefSetMemberApiTest): add message assert to invalid action | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -53,7 +53,10 @@ void HTMLParser::parseProperty(ElementInstance* element, GumboElement * gumboEle
}
} else {
std::string strName = attribute->name;
- JSValueRef valueRef = JSValueMakeString(m_context->context(), JSStringCreateWithUTF8CString(attribute->value));
+ std::transform(strName.begin(), strName.end(), strName... | feat: convert property to lowercase | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -28,6 +28,7 @@ var writeFlags struct {
Precision string
Format string
File string
+ DryRun bool
}
func cmdWrite(f *globalFlags, opt genericCLIOpts) *cobra.Command {
@@ -76,12 +77,16 @@ func cmdWrite(f *globalFlags, opt genericCLIOpts) *cobra.Command {
opts.mustRegister(cmd)
cmd.Flags().StringVar(&writeFlags.Format, ... | feat(cmd/write): add dry-run flag | null | influxdata/influxdb | MIT License | Go |
@@ -181,7 +181,8 @@ ffi_fn! {
///
/// # Safety
///
- /// This function is safe.
+ /// The message contents and content type must either be NULL pointers, or point to valid
+ /// UTF-8 encoded NULL-terminated strings. Otherwise behaviour is undefined.
///
/// # Error Handling
///
@@ -248,6 +249,32 @@ ffi_fn! {
}
}
+ffi_... | feat: add FFI function to set a message contents as binary | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -86,7 +86,13 @@ Status DBImpl::search(const std::string &group_id, size_t k, size_t nq,
// merge raw files and build flat index.
faiss::Index *index(faiss::index_factory(dim, "IDMap,Flat"));
for (auto &file : raw_files) {
- auto file_index = dynamic_cast<faiss::IndexIDMap *>(faiss::read_index(file.location.c_str()))... | feat(db): cache for search | null | milvus-io/milvus | Apache License 2.0 | C++ |
@@ -92,7 +92,7 @@ export class EventStore {
value: newEntity,
createdAt: eventEnvelope.createdAt,
}
- this.logger.debug('[EventStore#entityReducer]: Result from the reducer: ', newSnapshot)
+ this.logger.debug('[EventStore#entityReducer]: Reducer result: ', newSnapshot)
return newSnapshot
} catch (e) {
this.logger.erro... | feat: Force publish | null | boostercloud/booster | Apache License 2.0 | TypeScript |
@@ -25,7 +25,11 @@ import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.NotEmpty;
+import com.b2international.commons.exceptions.BadRequestException;
+import com.b2international.commons.exceptions.SyntaxException;
import com.b2international.commons.tree.NoopTreeVisitor;
+import com.b2... | feat(api): include syntax errors for each expression.. | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -117,12 +117,39 @@ let testSearchBarWithNoResults = function (cb) {
};
let driver;
-describe('WIN 10 | Edge 14 | Compodoc page', function () {
+describe('WIN 10 | Edge 15 | Compodoc page', function () {
before(function (done) {
capabilities.platform = 'Windows 10';
capabilities.browserName = 'MicrosoftEdge';
- capab... | feat(tests): e2e - test Edge 15 / Firefox 56 | null | compodoc/compodoc | MIT License | TypeScript |
@@ -37,6 +37,26 @@ class AuditableModelStub extends Model implements AuditableContract
return '127.0.0.1';
}
+ /**
+ * Enable strict auditing.
+ *
+ * @return void
+ */
+ public function enableStrictAuditing()
+ {
+ $this->auditStrict = true;
+ }
+
+ /**
+ * Include model timestamps when auditing.
+ *
+ * @return void
... | feat(AuditableModelStub): implement enableTimestampAuditing() and enableStrictAuditing() methods | null | owen-it/laravel-auditing | MIT License | PHP |
const STRIP_COMMENTS = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg;
const ARGUMENT_NAMES = /([^\s,]+)/g;
-export function getParamNames(func) {
+export function getParamNames(func: () => any): RegExpMatchArray {
const fnStr = func.toString().replace(STRIP_COMMENTS, '');
let result = fnStr.slice(fnStr.indexOf('(') + 1, fnStr.ind... | feat(types): update types of utils.ts | null | midwayjs/midway | MIT License | TypeScript |
@@ -4,7 +4,7 @@ open class AvailableMediaOptions {
open let sources: [MediaOption]
open let hasDefaultSelected: Bool
- init(_ sources: [MediaOption], hasDefaultSelected: Bool) {
+ public init(_ sources: [MediaOption], hasDefaultSelected: Bool) {
self.sources = sources
self.hasDefaultSelected = hasDefaultSelected
}
| feat: make AvailableMediaOption's constructor public | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -6,7 +6,8 @@ import { isSSR } from '../../plugins/Platform.js'
const
xhr = isSSR ? null : XMLHttpRequest,
send = isSSR ? null : xhr.prototype.send,
- stack = { start: [], stop: [] }
+ stackStart = [],
+ stackStop = []
let highjackCount = 0
@@ -46,32 +47,27 @@ function inc (p, amount) {
}
function highjackAjax (start... | feat(QAjaxBar): improve event handling | null | quasarframework/quasar | MIT License | JavaScript |
@@ -26,6 +26,7 @@ import (
"io/ioutil"
"os"
"strconv"
+ "time"
"github.com/codenotary/immudb/pkg/store"
"google.golang.org/grpc"
@@ -645,6 +646,68 @@ secondRoot: %x at index: %d
},
Args: cobra.NoArgs,
},
+ &cobra.Command{
+ Use: "backup",
+ Aliases: []string{"b"},
+ RunE: func(cmd *cobra.Command, args []string) error {... | feat(cmd/immu): add backup and restore commands | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -359,6 +359,13 @@ impl<'a, T: Encode<()>> RequestBuilder<'a, T> {
}
Ok(())
}
+
+ pub fn to_vec(self) -> Result<Vec<u8>, encode::Error<<Vec<u8> as Write>::Error>> {
+ let mut buf = Vec::new();
+ self.encode(&mut buf)?;
+
+ Ok(buf)
+ }
}
#[derive(Debug)]
@@ -415,6 +422,13 @@ impl<T: Encode<()>> ResponseBuilder<T> {
}
... | feat(rust): add `to_vec()` for `RequestBuilder` and `ResponseBuilder` | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -84,7 +84,6 @@ function MyLayout ({
noToC,
overflow,
isWIP,
- noGithub,
}) {
const theme = useTheme()
const classes = useStyles()
@@ -125,7 +124,6 @@ function MyLayout ({
noEdit={noEdit}
noMeta={noMeta}
relativePath={relativePath}
- noGithub={noGithub}
/>
<Divider className={classes.divider} />
{isWIP && WIPAlert}
| feat: adjust style | null | oi-wiki/gatsby-oi-wiki | Apache License 2.0 | JavaScript |
@@ -370,7 +370,7 @@ var mainmenu = {
"title" : "Hebrew Date"
},
cal: {
- value: now.getDate() + "/" + Number(now.getMonth() + 1) + "/" + now.getFullYear(),
+ value: require('locale').date(now,1),
onchange : () => {}
},
date: {
| feat: use locale lib | null | espruino/bangleapps | MIT License | JavaScript |
@@ -26,7 +26,7 @@ class ViewController: UIViewController {
player.on(Event.didStop) { _ in print("on Stop") }
- player.on(Event.didComplete) { _ in print("on Ended") }
+ player.on(Event.didComplete) { _ in print("on Complete") }
player.on(Event.ready) { _ in print("on Ready") }
@@ -35,6 +35,9 @@ class ViewController: U... | feat(example): add stalled event to listen | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -38,6 +38,7 @@ class MiniAppRuntimePlugin {
const target = this.target;
const { nativeLifeCycleMap, usingComponents, routes = [], command } = options;
let isFirstRender = true;
+ let lastUseNativeComponent = false; // Record whether using native component last time
// Execute when compilation created
compiler.hooks.... | feat(miniapp): hot reload supports adding native component | null | raxjs/rax-app | MIT License | JavaScript |
@@ -11,12 +11,34 @@ using PepperDash.Core;
namespace PepperDash.Essentials.Core
{
+ public class RouteRequest
+ {
+ public IRoutingSink Destination {get; set;}
+ public IRoutingOutputs Source {get; set;}
+ public eRoutingSignalType SignalType {get; set;}
+
+ public void HandleCooldown(object sender, FeedbackEventArgs a... | feat: add cooldown logic to Magic Routing | null | pepperdash/essentials | MIT License | C# |
@@ -573,6 +573,9 @@ func (dbs *dbMetaStorage) SaveChannelMeta(key string, fsync bool, channels []*Ch
if err != nil {
nsqLog.LogErrorf("failed to save meta key %v to db: %v , %v ", key, dbs.dataPath, err)
}
+ if atomic.LoadInt32(&alwaysEnableFileMetaWriter) == 1 {
+ dbs.fileMeta.SaveChannelMeta(key, fsync, channels)
+ }... | feat: by default alseo write channel meta to file to keep compatible with old | null | youzan/nsq | MIT License | Go |
@@ -189,7 +189,7 @@ interface SusiService {
@GET("/aaa/addNewDevice.json")
fun addSusiDevices(@QueryMap query: Map<String, String>): Call<GetAddDeviceResponse>
- @get:GET("/aaa/listUserSettings.json")
+ @get:GET("/aaa/listUserDevices.json")
val getConnectedDevices: Call<ConnectedDevicesResponse>
/**
| feat: Update url to show display of connected devices | null | fossasia/susi_android | Apache License 2.0 | Kotlin |
@@ -31,6 +31,7 @@ export * from './services/role.service';
export * from './services/search.service';
export * from './services/session.service';
export * from './services/shipping-method.service';
+export * from './services/stock-movement.service';
export * from './services/tax-category.service';
export * from './serv... | feat(core): Export StockMovementService | null | vendure-ecommerce/vendure | MIT License | TypeScript |
@@ -953,6 +953,8 @@ static void validate_db(iallocator& allocator, const track_array_qvvf& raw_track
acl::decompression_context<debug_transform_decompression_settings_with_db> context;
acl::database_context<acl::debug_database_settings> db_context;
acl::debug_database_streamer db_streamer(allocator, split_db_bulk_data,... | feat(tools): add more asserts to make sure bulk data is properly managed by the streamer | null | nfrechette/acl | MIT License | C++ |
#!/usr/bin/env bash
+function printDonationHeader {
echo ''
echo -e ' \x1B[1m***\x1B[0m Thank you for using webpack! \x1B[1m***\x1B[0m'
echo ''
@@ -11,3 +12,11 @@ echo ''
echo -e ' \x1B[1m***\x1B[0m'
echo ''
exit 0
+}
+
+LANG=C DAY=$(date +"%a")
+
+if [ "$DAY" == "Mon" ];
+then
+ printDonationHeader
+fi
\ No newline at... | feat: only display once a week | null | webpack/webpack-cli | MIT License | Shell |
@@ -12,7 +12,6 @@ declare(strict_types=1);
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;
@@ -87,7 +86,7 @@ class FormController extends Control... | feat(form-plugin): remove flextype/form component | null | flextype/flextype | MIT License | PHP |
@@ -16,6 +16,8 @@ import static org.camunda.bpm.engine.authorization.Authorization.ANY;
import static org.camunda.bpm.engine.authorization.Authorization.AUTH_TYPE_GRANT;
import static org.camunda.bpm.engine.authorization.Permissions.ALL;
import static org.camunda.bpm.engine.authorization.Resources.AUTHORIZATION;
+impor... | feat(auth): add test cases for new report and dashboard resources | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
#include <faiss/MetaIndexes.h>
#include <faiss/index_io.h>
#include <faiss/AutoTune.h>
-#include <wrapper/IndexBuilder.h>
#include <cstring>
#include <wrapper/Topk.h>
#include <easylogging++.h>
+#include <wrapper/IndexBuilder.h>
+#include <cache/CpuCacheMgr.h>
#include "DBImpl.h"
#include "DBMetaImpl.h"
#include "Env.h... | feat(db): cache merged file | null | milvus-io/milvus | Apache License 2.0 | C++ |
@@ -222,16 +222,16 @@ object XmlBodyMatcher : BodyMatcher, KLogging() {
listOf(BodyItemMatchResult(path.joinToString("."), listOf(BodyMismatch(expected, actual,
"Expected a Tag with at least ${expectedAttrs.size} attributes but " +
"received ${actual.attributes.length} attributes",
- path.joinToString(".")))))
+ path.j... | feat: generate mismatch diffs for XML attributes | null | pact-foundation/pact-jvm | Apache License 2.0 | Kotlin |
@@ -28,7 +28,7 @@ namespace Elastic.Apm.Helpers
Function = item?.GetMethod()?.Name,
FileName = fileName,
Module = item?.GetMethod()?.ReflectedType?.Name,
- LineNo = item.GetFileLineNumber()
+ LineNo = item?.GetFileLineNumber() ?? 0
});
}
catch (Exception e)
| feat: add null check | null | elastic/apm-agent-dotnet | Apache License 2.0 | C# |
@@ -66,7 +66,7 @@ open class PartialStore<S: State>: AnyStore {
Creates an instance of the `PartialStore` with the given initial state
- parameter state: the initial state of the store
*/
- fileprivate init(state: S) {
+ internal init(state: S) {
self.state = state
}
| feat: make PartialStore init internal | null | bendingspoons/katana-swift | MIT License | Swift |
@@ -143,7 +143,7 @@ class WebsiteGenerator(Document):
# Override this method to disable indexing
def allow_website_search_indexing(self):
- return True
+ return bool(self.route)
def remove_old_route_from_index(self):
"""Remove page from the website index if the route has changed."""
@@ -151,7 +151,7 @@ class WebsiteGen... | feat: allow indexing only if route is present | null | frappe/frappe | MIT License | Python |
@@ -697,3 +697,23 @@ extension AVFoundationPlayback {
return 5
}
}
+
+// MARK: - Metrics
+extension AVFoundationPlayback {
+ public func getBitrate() -> Double? {
+ guard let logEvent = player?.currentItem?.accessLog()?.events.last as? AVPlayerItemAccessLogEvent else { return nil }
+ if (logEvent.segmentsDownloadedDura... | feat: add method in AVFoundation playback to return nominal bitrate and average bitrate | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -249,7 +249,9 @@ $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.
*/
-flextype()->app()->run();
+include __DIR__ . '/src/flextype/flextype.php';
+
+
echo "<div style='position:absolute; bottom: ... | feat(index): use flextype.php starting point | null | flextype/flextype | MIT License | PHP |
@@ -10,8 +10,9 @@ pub enum RankingOrdering {
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct AccessToken {
- pub token: String,
- pub secret_key: String,
+ pub read_key: String,
+ pub write_key: String,
+ pub admin_key: String,
}
| feat: add admin key on config | null | meilisearch/meilisearch | MIT License | Rust |
// after you already figured it out. If you got everything working and feel
// ready for the next exercise, remove the `I AM NOT DONE` comment below.
// Execute the command `rustlings hint intro1` for a hint.
+//
+// If you're running this using `rustlings watch`: The exercise file will be reloaded
+// when you change ... | feat(intro1): add more hints | null | rust-lang/rustlings | MIT License | Rust |
@@ -136,6 +136,9 @@ namespace modules {
if (m_label[connection_state::PACKETLOSS]) {
replace_tokens(m_label[connection_state::PACKETLOSS]);
}
+ if (m_label[connection_state::DISCONNECTED]) {
+ replace_tokens(m_label[connection_state::DISCONNECTED]);
+ }
return true;
}
| feat(net): All tokens for all labels | null | polybar/polybar | MIT License | C++ |
@@ -20,11 +20,15 @@ type MultiError interface {
Errors() []error // Errors returns the error objects for all operations.
}
+var (
// ErrStoreNotFound is returned when a store is not found.
-var ErrStoreNotFound = errors.New("store not found")
-
+ ErrStoreNotFound = errors.New("store not found")
// ErrDataNotFound is re... | feat: Added ErrDuplicateKey to storage interface | null | hyperledger/aries-framework-go | Apache License 2.0 | Go |
@@ -51,6 +51,9 @@ class VideoGridFragment(
private var binding by viewLifecycle<FragmentVideoGridBinding>()
+ // Determined using the onResume() and onPause()
+ private var isViewVisible = false
+
private data class RenderedViewPair(
val binding: GridItemVideoBinding,
val video: MeetingTrack
@@ -153,7 +156,10 @@ class ... | feat: init/release context with fragment lifecycle | null | 100mslive/100ms-android | MIT License | Kotlin |
@@ -146,10 +146,13 @@ async fn initialize_database(
) -> Result<()> {
// Reserve name before expensive IO (e.g. loading the preserved catalog)
let mut handle = config
- .create_db(db_name)
+ .create_db(db_name.clone())
.map_err(Box::new)
.context(InitDbError)?;
+ info!(db_name=%db_name, wipe_on_error, skip_replay_and_s... | feat: Log messages during database initialization | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -52,7 +52,7 @@ version_compare($ver = PHP_VERSION, $req = FLEXTYPE_MINIMUM_PHP, '<') and exit(s
/**
* Ensure vendor libraries exist
*/
-! is_file($autoload = __DIR__ . '/vendor/autoload.php') and exit('Please run: <i>composer install</i> for flextype');
+! is_file($flextype_autoload = __DIR__ . '/vendor/autoload.php... | feat(refactor): rename $flextype_autoload and $flextype_loader | null | flextype/flextype | MIT License | PHP |
@@ -46,16 +46,10 @@ export const download = <Response extends Res = Res>(res: Response) => (
}
// merge user-provided options
- opts = Object.create(opts)
- opts.headers = headers
-
- // Resolve the full path for sendFile
- const fullPath = resolve(path)
-
- const noop = () => undefined
+ opts = { ...opts, headers }
//... | feat(res): replace some stuff w/ ES6 syntax | null | talentlessguy/tinyhttp | MIT License | TypeScript |
@@ -147,6 +147,13 @@ def revert(snapshot_id: int) -> None:
def unlock_account(address: str) -> None:
+ if web3.clientVersion.lower().startswith("ganache/v7"):
+ web3.provider.make_request("evm_addAccount", [address, ""]) # type: ignore
+ web3.provider.make_request( # type: ignore
+ "personal_unlockAccount",
+ [address,... | feat: unlocking accounts with ganache 7 | null | eth-brownie/brownie | MIT License | Python |
@@ -302,6 +302,15 @@ impl IngestHandler for IngestHandlerImpl {
Err(e) => panic!("request limiter error: {}", e),
};
+ // TEMP(alamb): Log details about what was requested
+ // temporarily so we can track down potentially "killer"
+ // requests from the querier to ingester
+ info!(namespace=%request.namespace,
+ table=... | feat: log query from querier to ingester at `info` level | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -476,8 +476,11 @@ App::get('/v1/account/sessions/oauth2/:provider/redirect')
if ($user === false || $user->isEmpty()) { // No user logged in or with OAuth2 provider ID, create new one or connect with account with same email
$name = $oauth2->getUserName($accessToken);
$email = $oauth2->getUserEmail($accessToken);
+ $... | feat: create new account if email not verified | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
+use std::process::Command;
+
use crate::exercise::{Exercise, Mode};
use crate::verify::test;
use indicatif::ProgressBar;
@@ -15,6 +17,19 @@ pub fn run(exercise: &Exercise, verbose: bool) -> Result<(), ()> {
Ok(())
}
+// Resets the exercise by stashing the changes.
+pub fn reset(exercise: &Exercise) -> Result<(), ()> {... | feat: Add reset command, given a filename | null | rust-lang/rustlings | MIT License | Rust |
@@ -75,7 +75,7 @@ use bytes::BytesMut;
use cached::proc_macro::cached;
use db::load_preserved_catalog;
use futures::stream::TryStreamExt;
-use observability_deps::tracing::{error, info, warn};
+use observability_deps::tracing::{debug, error, info, warn};
use parking_lot::Mutex;
use snafu::{OptionExt, ResultExt, Snafu};... | feat: Log cached connections | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -92,7 +92,7 @@ class ElementManagerActionDelegate {
}
void removeNode(int targetId) {
- assert(nodeMap.containsKey(targetId));
+ assert(nodeMap.containsKey(targetId), 'targetId: $targetId');
Node target = nodeMap[targetId];
assert(target != null);
@@ -102,7 +102,7 @@ class ElementManagerActionDelegate {
}
void setPr... | feat: element_manager add assert error messages | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -105,8 +105,8 @@ class Collection
// line 40: return $object[$field];
//
// @todo research this issue and find possible better solution to avoid this in the future
- $this->$errorReporting = error_reporting();
- error_reporting($this->$errorReporting & ~E_NOTICE);
+ $this->errorReporting = error_reporting();
+ error... | feat(element-queries): update random() method | null | flextype/flextype | MIT License | PHP |
@@ -1333,6 +1333,20 @@ func (manager *SNetworkManager) ValidateCreateData(ctx context.Context, userCred
return input, httperrors.NewInputParameterError("Invalid server_type: %s", input.ServerType)
}
+ {
+ defaultVlanId := 1
+
+ if input.VlanId == nil {
+ input.VlanId = &defaultVlanId
+ } else if *input.VlanId < 1 {
+ i... | feat: add 'vlan_id' param when creating network | null | yunionio/yunioncloud | Apache License 2.0 | Go |
import React, { useRef } from 'react';
import styled, { css } from 'styled-components';
-import { func, string, bool, number, shape, oneOfType, node } from 'prop-types';
+import {
+ arrayOf,
+ func,
+ string,
+ bool,
+ number,
+ shape,
+ oneOfType,
+ node,
+} from 'prop-types';
import { Close } from '@gympass/yoga-icon... | feat: include children prop on input | null | gympass/yoga | MIT License | JavaScript |
+import { InjectionToken } from '@angular/core';
+import { Observable } from 'rxjs';
+
+import { DaffCart } from '../../models/cart';
+import { DaffCartPaymentMethod } from '../../models/cart-payment';
+
+/**
+ * The interface responsible for placing an order for the customer's cart.
+ */
+export interface DaffCartOrde... | feat(cart): add cart-order service interface | null | graycoreio/daffodil | MIT License | TypeScript |
@@ -55,7 +55,7 @@ import org.springframework.stereotype.Component;
* Created by zubair on 29.03.17.
*/
@Slf4j
-@Component( "credentialsExpiryAlertJob" )
+@Component
public class CredentialsExpiryAlertJob implements Job
{
private static final String SUBJECT = "Password Expiry Alert";
@@ -64,15 +64,11 @@ public class Cre... | feat: provide job progress for credential expiry alert job | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -109,3 +109,15 @@ impl ObjectStorePath for Path {
}
}
}
+
+impl From<Path> for DirsAndFileName {
+ fn from(path: Path) -> Self {
+ match path {
+ Path::AmazonS3(path) => path.into(),
+ Path::File(path) => path.into(),
+ Path::GoogleCloudStorage(path) => path.into(),
+ Path::InMemory(path) => path,
+ Path::MicrosoftA... | feat: add Path->DirsAndFileName conversion | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -137,6 +137,9 @@ func (cb *CasPoolBuilder) withAnnotations(annotations map[string]string) *CasPoo
// WithPoolROThreshold set PoolROThreshold value
func (cb *CasPoolBuilder) WithPoolROThreshold(poolROThreshold int) *CasPoolBuilder {
+ if poolROThreshold == 0 {
+ poolROThreshold = 85
+ }
cb.CasPool.PoolROThreshold = p... | feat(csp, poolROThreshold): setting default poolROThreshold to 85 for CSP | null | openebs/maya | Apache License 2.0 | Go |
@@ -107,6 +107,6 @@ final class ChRemote implements CommitHash {
* @throws IOException if fails
*/
private static Text load() throws IOException {
- return new TextOf(new URL(ChRemote.HOME).openStream());
+ return new TextOf(new URL(ChRemote.HOME));
}
}
| feat(#1382): don't open stream | null | cqfn/eo | MIT License | Java |
@@ -66,20 +66,25 @@ public static class Emojis
public static ulong ScanId { get; set; } = 948205918640820224;
public static string ScanEmoji => $"<:_:{ScanId}>";
- #endregion
-
public static ulong LoadingId { get; set; } = 841020747577163838;
public static string LoadingEmoji => $"<:_:{LoadingId}>";
- public static ulo... | feat: Update status emojis | null | vtpdevelopment/silk | 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.