diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -116,7 +116,7 @@ class KrakenScrollable with CustomTickerProviderStateMixin implements ScrollCont
double pixels = (_drag as ScrollDragController).getPixels();
double maxScrollExtent = (_drag as ScrollDragController).getmaxScrollExtent();
double minScrollExtent = (_drag as ScrollDragController).getminScrollExtent();
... | feat: modify _isAcceptedHorizontalDrag | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -42,7 +42,7 @@ use persistence_windows::persistence_windows::PersistenceWindows;
use query::{exec::Executor, predicate::Predicate, QueryDatabase};
use rand_distr::{Distribution, Poisson};
use snafu::{ensure, OptionExt, ResultExt, Snafu};
-use std::collections::BTreeMap;
+use std::collections::{BTreeMap, BTreeSet};
u... | feat: check that replay plan and write buffer are in-sync | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -190,7 +190,7 @@ class Entries
}
/**
- * Rename entry
+ * Move entry
*
* @param string $id Unique identifier of the entry(entries).
* @param string $new_id New Unique identifier of the entry(entries).
@@ -199,17 +199,17 @@ class Entries
*
* @access public
*/
- public function rename(string $id, string $new_id): bool... | feat(entries): rename method rename() to move() | null | flextype/flextype | MIT License | PHP |
@@ -1302,41 +1302,41 @@ static void
gen_forward_declare(FILE *fp, struct jc_struct *s)
{
char *t = s->name;
- fprintf(fp, "void %s_cleanup_v(void *p);\n", t);
- fprintf(fp, "void %s_cleanup(struct %s *p);\n", t, t);
+ fprintf(fp, "extern void %s_cleanup_v(void *p);\n", t);
+ fprintf(fp, "extern void %s_cleanup(struct %... | feat: prefix all forward declared functions with extern | null | cee-studio/orca | MIT License | C |
@@ -38,8 +38,20 @@ function isConnect(options) {
return p === 'connect:' || p === 'socket:' || p === 'tunnel:';
}
-function handleConnect(options) {
+function drain(socket) {
+ socket.on('error', util.noop);
+ socket.on('data', util.noop);
+}
+function handleConnect(options) {
+ options.headers['x-whistle-policy'] = 't... | feat: Support build connect | null | avwo/whistle | MIT License | JavaScript |
@@ -8,7 +8,7 @@ use crate::Result;
use core::alloc::Layout;
use core::mem::{align_of, size_of};
use core::slice;
-use libc::{sockaddr_storage, socklen_t, EOVERFLOW};
+use libc::{sockaddr_in, sockaddr_in6, sockaddr_storage, sockaddr_un, socklen_t, EOVERFLOW};
pub struct SockaddrInput<'a>(pub &'a [u8]);
@@ -21,11 +21,24 ... | feat(guest): use concrete sockaddr types for SockaddrInput | null | enarx/enarx | Apache License 2.0 | Rust |
use std::{future::Future, marker::PhantomData, sync::Arc, task::Poll, time::Instant};
use futures::{future::BoxFuture, FutureExt};
-use metric::{Attributes, DurationHistogram, MakeMetricObserver, U64Gauge};
+use metric::{Attributes, DurationHistogram, MakeMetricObserver, U64Counter, U64Gauge};
use pin_project::{pin_pro... | feat: instrument semaphore "cancelled while pending" requests | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
import uuid from "uuid";
import {camelCase} from "change-case";
+import Fuzz from "fuse.js";
+
export default class Trigger {
constructor(params) {
this.id = params.id || uuid.v4();
@@ -93,6 +95,11 @@ export default class Trigger {
// Do a loose check
if (checkValues[checkKey] == checkValue) {
return prev.concat(proces... | feat(Triggers): Adds fuzzy text matching to trigger switches. This gives greater flexibility when performing matches on your triggers that deal with text, like sensor scan answers. Refs | null | thorium-sim/thorium | Apache License 2.0 | JavaScript |
@@ -35,9 +35,13 @@ const SearchFilter: React.FC<Props> = (props) => {
},
};
+ if (!debouncedSearch) {
+ delete newWhere[fieldName];
+ }
+
if (handleChange) handleChange(newWhere as Where);
- if (modifySearchQuery) {
+ if (modifySearchQuery && params?.where?.[fieldName]?.like !== newWhere?.[fieldName]?.like) {
history.r... | feat: only adds list search query param if value is present | null | payloadcms/payload | MIT License | TypeScript |
@@ -19,6 +19,12 @@ type (
}
)
+// NewSessionFromTx returns a Session with the given sql.Tx.
+// Use it with caution, it's provided for other ORM to interact with.
+func NewSessionFromTx(tx *sql.Tx) Session {
+ return txSession{Tx: tx}
+}
+
func (t txSession) Exec(q string, args ...interface{}) (sql.Result, error) {
ret... | feat: add NewSessionFromTx to interact with other orm | null | zeromicro/go-zero | MIT License | Go |
@@ -46,8 +46,8 @@ pub use pallet::*;
use primitives::{Balance, CurrencyId, Rate, Ratio, Timestamp};
use sp_runtime::{
traits::{
- AccountIdConversion, CheckedAdd, CheckedDiv, CheckedMul, CheckedSub, One, SaturatedConversion, Saturating,
- StaticLookup, Zero,
+ AccountIdConversion, CheckedAdd, CheckedDiv, CheckedMul, On... | feat(loans): remove `AccountEarned` storage | null | interlay/interbtc | Apache License 2.0 | Rust |
@@ -360,7 +360,9 @@ class PactVerificationStateChangeExtension(
val stateChangeMethods = findStateChangeMethods(context.requiredTestInstance,
testContext.stateChangeHandlers, state)
if (stateChangeMethods.isEmpty()) {
- errors.add("Did not find a test class method annotated with @State(\"${state.name}\")")
+ errors.add... | feat: junit5: print interaction and consumer name for missing state change | null | pact-foundation/pact-jvm | Apache License 2.0 | Kotlin |
//!
//! let name = Name::from("__ZN3std2io4Read11read_to_end17hb85a0f6802e14499E");
//! assert_eq!(name.detect_language(), Language::Rust);
-//! assert_eq!(name.try_demangle(DemangleOptions::complete()), "std::io::Read::read_to_end");
+//! assert_eq!(
+//! name.try_demangle(DemangleOptions::complete()),
+//! "std::io::... | feat(demangle): Demangle Md5 names by doing nothing | null | getsentry/symbolic | MIT License | Rust |
@@ -382,6 +382,11 @@ class EmojiPickerMenu extends Component {
return this.props.isSmallScreenWidth && this.props.windowWidth >= this.props.windowHeight;
}
+ /**
+ * Update user preferred skin tone
+ *
+ * @param {Number} skinTone
+ */
updatePreferredSkinTone(skinTone) {
if (this.props.preferredSkinTone === skinTone) {... | feat: Added jsdoc | null | expensify/expensify.cash | MIT License | JavaScript |
@@ -554,7 +554,6 @@ public class EsDocumentSearcher implements Searcher {
Es8QueryBuilder q = new Es8QueryBuilder(mapping, admin.settings(), admin.log());
co.elastic.clients.elasticsearch._types.query_dsl.Query esQuery = q.build(knn.getFilter());
- // TODO consider adding support for double primitive lists
FloatIterato... | feat(index): return scores with hits in knn api | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
package update
import (
+ "errors"
"fmt"
"github.com/profclems/glab/commands/cmdutils"
@@ -55,6 +56,16 @@ func NewCmdUpdate(f *cmdutils.Factory) *cobra.Command {
l.RemoveLabels = gitlab.Labels(m)
}
+ if cmd.Flags().Changed("confidential") && cmd.Flags().Changed("public") {
+ return &cmdutils.FlagError{Err: errors.New("... | feat(cmd/issue/update): add --public and --confidential flags | null | profclems/glab | MIT License | Go |
@@ -50,8 +50,8 @@ namespace acl
, type(type_)
{
// Large enough to accommodate the largest type
- buffer_size = sizeof(rtm::vector4f) * num_tracks_;
- tracks_typed.any = allocator_.allocate(buffer_size, alignof(rtm::vector4f));
+ buffer_size = sizeof(rtm::qvvf) * num_tracks_;
+ tracks_typed.any = allocator_.allocate(bu... | feat(compression): add support for qvvf tracks | null | nfrechette/acl | MIT License | C |
@@ -45,7 +45,7 @@ public class HealthCheckController {
throws DbQueryTimeoutException {
Map<String, Long> map = new HashMap<>();
- if (detail == null && detail.isEmpty()) {
+ if (detail == null || detail.isEmpty()) {
// Do nothing, just return HTTP 200, OK
logger.debug("Doing a health check...");
} else {
@@ -72,11 +72... | feat: fix empty detail param check and clean-up time vars | null | uportal-project/uportal | Apache License 2.0 | Java |
@@ -475,6 +475,16 @@ impl MatchingRule {
_ => false
}
}
+
+ /// If this matcher should cascade to children
+ pub fn can_cascade(&self) -> bool {
+ match self {
+ MatchingRule::Values => false,
+ MatchingRule::EachValue(_) => false,
+ MatchingRule::EachKey(_) => false,
+ _ => true
+ }
+ }
}
impl Hash for MatchingRule {
| feat: some matching rules should not cascade | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -42,12 +42,33 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
let free_pages: u32 = sysfs::parse_value(&hugepage_path, "free_hugepages")?;
let nr_pages: u32 = sysfs::parse_value(&hugepage_path, "nr_hugepages")?;
let uring_supported = uring::kernel_support();
+ let nvme_core_path = Path::new("/sys/module/nvm... | feat: show kernel nvme initiator multipath status on startup | null | openebs/mayastor | Apache License 2.0 | Rust |
//! separate json file
use crate::{CompilerInput, CompilerOutput};
+use semver::Version;
use std::{env, path::PathBuf, str::FromStr};
/// Debug Helper type that can be used to write the [crate::Solc] [CompilerInput] and
@@ -14,7 +15,8 @@ use std::{env, path::PathBuf, str::FromStr};
/// # Example
///
/// If `ETHERS_SOLC... | feat(solc): support logging multiple files via io logger | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -152,6 +152,10 @@ function formatBaseUrl(filepath: string) {
}
}
+function setTabReadonly({ tab }: Arguments) {
+ Events.eventBus.emitWithTabId('/kui/tab/edit/unset', getPrimaryTabId(tab))
+}
+
async function addComment(args: Arguments<CommentaryOptions>): Promise<true | CommentaryResponse> {
const {
edit: _edit,
@@... | feat(plugins/plugin-client-common): add `show` command as shorthand for `commentary -f` | null | ibm/kui | Apache License 2.0 | TypeScript |
@@ -32,6 +32,10 @@ emitter()->addListener('onEntriesFetchSingleField', static function (): void {
$field = entries()->registry()->get('methods.fetch.field');
+ if (is_string($field['value']) && strings($field['value'])->contains('!types')) {
+ return;
+ }
+
if (is_string($field['value'])) {
if (strings($field['value'])... | feat(directives): add ability to disable types using `!types` | null | flextype/flextype | MIT License | PHP |
@@ -113,7 +113,7 @@ export default {
getCellValue (col, row) {
const val = typeof col.field === 'function' ? col.field(row) : row[col.field]
- return col.format !== void 0 ? col.format(val) : val
+ return col.format !== void 0 ? col.format(val, row) : val
}
}
}
| feat(QTable): [v1] [feature request] QTable Column definition: format function had access to the whole row | null | quasarframework/quasar | MIT License | JavaScript |
@@ -2192,8 +2192,8 @@ var completionSpec = {
{
name: "top",
description: "Display the running processes of a container",
- // TODO: Running contains and display ps OPtion?
- args: {},
+ // TODO: You can pass in psOptions?
+ args: containersArg,
options: [],
subcommands: []
},
| feat(docker): top args | null | withfig/autocomplete | MIT License | JavaScript |
@@ -198,7 +198,11 @@ func (h *Handler) Create(c droplet.Context) (interface{}, error) {
return handler.SpecCodeResponse(err), err
}
- return ret, nil
+ ssl = ret.(*entity.SSL)
+ ssl.Key = ""
+ ssl.Keys = nil
+
+ return ssl, nil
}
type UpdateInput struct {
@@ -234,7 +238,11 @@ func (h *Handler) Update(c droplet.Context)... | feat: refactor ssl unit test | null | apache/apisix-dashboard | Apache License 2.0 | Go |
@@ -79,6 +79,7 @@ setuptools.setup(
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
+ "Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
| feat(setup.py): add support for Python 3.11 | null | jindaxiang/akshare | MIT License | Python |
*/
package org.eolang.maven;
-import com.yegor256.tojos.TjSmart;
import java.nio.file.Files;
import java.nio.file.Path;
-import java.nio.file.Paths;
-import java.util.Map;
import org.cactoos.io.ResourceOf;
import org.cactoos.text.TextOf;
import org.cactoos.text.UncheckedText;
@@ -108,23 +105,14 @@ final class ParseMojo... | feat(#1479): simplify testCrashOnInvalidSyntax test | null | cqfn/eo | MIT License | Java |
@@ -78,7 +78,7 @@ namespace Unity.Netcode.Editor.CodeGen
return new ILPostProcessResult(new InMemoryAssembly(pe.ToArray(), pdb.ToArray()), m_Diagnostics);
}
- private MethodReference m_Debug_LogWarning_MethodRef;
+ private MethodReference m_Debug_LogError_MethodRef;
private TypeReference m_NetworkManager_TypeRef;
priva... | feat: make ServerRpc ownership check an error log instead of warning log | null | unity-technologies/com.unity.multiplayer.mlapi | MIT License | C# |
@@ -86,9 +86,12 @@ export const Radio = (props: RadioProps): JSX.Element => {
<span className={[shared.icon, style.icon, self.icon].join(" ")}>
<Icon display="block" component={coreIcons.dot} />
</span>
- <span className={[shared.label, style.label].join(" ")}>
- {props.children}
- </span>
+ {props.children !== null &&... | feat(radio): Allow empty label | null | thien-do/moai | MIT License | TypeScript |
@@ -6,7 +6,7 @@ import Transport from '@ledgerhq/hw-transport';
export interface CreateOptions {
transportCreator: TransportCreator;
network: Network;
- scrambleKey: string;
+ scrambleKey?: string;
}
export type HWApp = HwAppBitcoin | HwAppEthereum;
| feat: scrambleKey is now optional | null | liquality/chainabstractionlayer | MIT License | TypeScript |
@@ -622,16 +622,12 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options:
}
override fun onTimelineChanged(timeline: Timeline?, manifest: Any?, reason: Int) {
- if (isDvrAvailable) {
- timeline?.let {
- if (it.windowCount > 0) {
+ timeline?.takeIf { isDvrAvailable && it.windowCount > 0 }?.le... | feat(drv_thumbseek): Refactoring | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -46,7 +46,7 @@ type Hash struct {
}
// NewHash creates a new Hash.
-func NewHash(name string, m map[string]string) (Vindex, error) {
+func NewHash(name string, _ map[string]string) (Vindex, error) {
return &Hash{name: name}, nil
}
@@ -71,27 +71,15 @@ func (vind *Hash) NeedsVCursor() bool {
}
// Map can map ids to ke... | feat: implement Hashing function in hash vindex | null | vitessio/vitess | Apache License 2.0 | Go |
-import { Octokit } from "https://cdn.skypack.dev/octokit";
-import type { RestEndpointMethodTypes } from "https://cdn.skypack.dev/@octokit/plugin-rest-endpoint-methods?dts";
-
-const token = Deno.env.get("GITHUB_TOKEN");
-if (!token) {
- console.warn("Missing GITHUB_TOKEN");
- Deno.exit(1);
-}
-const octokit = new Oct... | feat(github): create octokit abstraction | null | guardian/dotcom-rendering | Apache License 2.0 | TypeScript |
use crate::{client_server, ConduitResult, Database, Error, Result, Ruma};
use http::header::{HeaderValue, AUTHORIZATION};
use rocket::{get, post, put, response::content::Json, State};
-use ruma::api::{
+use ruma::{
+ api::{
client,
federation::{
directory::get_public_rooms,
@@ -11,6 +12,8 @@ use ruma::api::{
transactio... | feat: hacky transactions | null | timokoesters/conduit | Apache License 2.0 | Rust |
@@ -51,6 +51,7 @@ import (
"yunion.io/x/onecloud/pkg/cloudcommon/policy"
"yunion.io/x/onecloud/pkg/cloudcommon/userdata"
"yunion.io/x/onecloud/pkg/cloudprovider"
+ guestdriver_types "yunion.io/x/onecloud/pkg/compute/guestdrivers/types"
"yunion.io/x/onecloud/pkg/compute/options"
"yunion.io/x/onecloud/pkg/httperrors"
"yu... | feat(region): guest: add {open,close,list}-forward API | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -106,6 +106,8 @@ function ResponseMetadataForm({
selector: String
css: String
tooltipPlacement: String
+ tooltipClose: String
+ tooltipCloseEnabled: Boolean
}
type CustomCss {
@@ -205,6 +207,10 @@ function ResponseMetadataForm({
<LongTextField className='monospaced' name='domHighlight.css' label='Custom css' />
</Di... | feat: add field in metadata form to send paylaod on tooltip close | null | botfront/botfront | Apache License 2.0 | JavaScript |
@@ -30,6 +30,7 @@ from sqlalchemy.sql import sqltypes as types
from datahub.configuration.common import AllowDenyPattern
from datahub.emitter.mce_builder import (
+ make_container_urn,
make_data_platform_urn,
make_dataplatform_instance_urn,
make_dataset_urn_with_platform_instance,
@@ -589,6 +590,12 @@ class SQLAlchemyS... | feat(ingest): enable container stateful ingestion | null | linkedin/datahub | Apache License 2.0 | Python |
@@ -79,8 +79,6 @@ setup(
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
- "Programming Language :: Python :: 2",
- "Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Lang... | feat: drop support of Python 2 | null | pyannote/pyannote-audio | MIT License | Python |
@@ -11,6 +11,7 @@ namespace Flextype;
use Psr\Http\Message\ServerRequestInterface as Request;
use Slim\Http\Response;
+use Atomastic\Arrays\Arrays;
use function array_replace_recursive;
use function count;
@@ -42,25 +43,17 @@ flextype()->get('/api/folders', function (Request $request, Response $response)
// Get Query P... | feat(rest-api): Media Folders Rest API | null | flextype/flextype | MIT License | PHP |
@@ -78,16 +78,10 @@ open class Container: UIObject {
guard let playback = playback else {
return
}
-
- #if os(iOS)
- layerComposer.attachPlayback(playback.view)
- #else
view.addSubviewMatchingConstraints(playback.view)
view.sendSubviewToBack(playback.view)
- #endif
playback.render()
-
}
fileprivate func renderPlugin(_ ... | feat: add Playback to Container view | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -14,6 +14,7 @@ class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
+ Player.register(plugins: [BrokenPlugin.self])
player = Player(options: options)
listenToPlayerEvents()
@@ -86,3 +87,52 @@ class ViewController: UIViewController {
self.navigationController?.present(alertViewCo... | feat: add a plugin that crashes the player | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
+import type { ICopy, Pair } from "@thi.ng/api";
import { ArraySet, EquivMap, union } from "@thi.ng/associative";
import { equiv } from "@thi.ng/equiv";
import { illegalArgs } from "@thi.ng/errors";
import { filter, reduce, reducer } from "@thi.ng/transducers";
-import type { ICopy } from "@thi.ng/api";
+
+export const... | feat(dgraph): add defDGraph(), update ctor to accept edge pairs | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
import { Fn, typedArray, typedArrayType } from "@thi.ng/api";
import { quickSort, sortByCachedKey, swap } from "@thi.ng/arrays";
import { compareNumAsc, compareNumDesc } from "@thi.ng/compare";
-import type { ReadonlyColor, TypedColor } from "../api";
-import { distHsv, distRgb } from "./distance";
+import type { Color... | feat(color): replace proximity functions | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
@@ -48,6 +48,9 @@ for PACKAGE in ${PACKAGES}; do
echo "."
sleep 5
done
+
+ echo "The following containers are still running on this host"
+ docker ps --format "table {{.ID}}\t{{.Names}}"
else
echo "Warning: CONCURRENCY limit not set; running all suites at once"
fi
@@ -61,6 +64,9 @@ for PACKAGE in ${PACKAGES}; do
PID="$... | feat(tooling): log running docker containers each time one exits | null | webex/webex-js-sdk | MIT License | Shell |
@@ -115,7 +115,8 @@ public function write($file, $contents)
$this->io->writeError('Writing '.$this->root . $file.' into cache', true, IOInterface::DEBUG);
try {
- return file_put_contents($this->root . $file.'.tmp', $contents) !== false && rename($this->root . $file . '.tmp', $this->root . $file);
+ $tempFileName = $th... | feat(Cache): make cache writes more atomic | null | composer/composer | MIT License | PHP |
@@ -27,8 +27,6 @@ import (
"vitess.io/vitess/go/tools/goimports"
- "vitess.io/vitess/go/tools/common"
-
"github.com/dave/jennifer/jen"
"golang.org/x/tools/go/packages"
)
@@ -198,6 +196,13 @@ func VerifyFilesOnDisk(result map[string]*jen.File) (errors []error) {
return errors
}
+var acceptableBuildErrorsOn = map[string]... | feat: don't stop if compilation errors are happening on the generated files | null | vitessio/vitess | Apache License 2.0 | Go |
@@ -657,6 +657,70 @@ inline bool decode_node_perf_counter_info(const dsn::rpc_address &node_addr,
return true;
}
+// rows: key-app name, value-perf counters for each partition
+inline bool get_app_partition_stat(shell_context *sc,
+ std::map<std::string, std::vector<row_data>> &rows)
+{
+ // get apps and nodes
+ std::v... | feat: add a interface to get perf-counters info of all partitions of all apps | null | apache/incubator-pegasus | Apache License 2.0 | C |
@@ -138,6 +138,8 @@ R"__usage__(
level 2 the computing graph can be destructed to reduce memory usage. Read
the doc of `ComputingGraph::Options::comp_node_seq_record_level` for more
details.
+ --get-static-mem-info <svgname>
+ Record the static graph's static memory info.
)__usage__"
#if MGB_ENABLE_FASTRUN
R"__usage__(... | feat(mgb): add load_and_run option | null | megengine/megengine | Apache License 2.0 | C++ |
@@ -141,6 +141,16 @@ if (! function_exists('csrf')) {
}
}
+if (! function_exists('slugify')) {
+ /**
+ * Get Flextype Slugify Service.
+ */
+ function slugify()
+ {
+ return flextype()->container()->get('slugify');
+ }
+}
+
if (! function_exists('plugins')) {
/**
* Get Flextype Plugins Service.
| feat(helpers): add missed `slugify` helper | null | flextype/flextype | MIT License | PHP |
group-card > div:last-of-type{
padding:1rem;
}
-
- .cm-fw{
- white-space: nowrap;
- width:1px;
- }
-
- .pagination .page-item > a.page-link{
- border-radius: 4px;
- transition: .2s ease-out .0s;
- }
-
- .cm-group-name{
- color:#333;
- margin-bottom: 0;
+ .my-card{
+ margin-bottom: 100px;
}
-
- .cm-tending,
- .cm-mine-g... | feat: group create profile | null | zsgsdesign/noj | MIT License | PHP |
@@ -76,6 +76,7 @@ func (b *cmdPkgBuilder) cmdPkg() *cobra.Command {
cmd.AddCommand(
b.cmdPkgNew(),
b.cmdPkgExport(),
+ b.cmdPkgSummary(),
b.cmdPkgValidate(),
)
return cmd
@@ -307,14 +308,35 @@ func (b *cmdPkgBuilder) pkgExportAllRunEFn() func(*cobra.Command, []string) erro
}
}
+func (b *cmdPkgBuilder) cmdPkgSummary() *... | feat(influx): add pkg summary cmd to influx cli | null | influxdata/influxdb | MIT License | Go |
@@ -9,8 +9,8 @@ export const SwapCurrencyInput: FC = () => {
// To avoid slow input
useEffect(() => {
- setValue(value)
- }, [setValue, value])
+ setValue(localValue)
+ }, [setValue, localValue])
return (
<Web3Input.Currency
| feat(apps/swap13): sync with localValue instead of value | null | sushiswap/sushiswap | MIT License | TypeScript |
@@ -13,7 +13,7 @@ const commonProperties = {
...d,
})),
animate: true,
- activeOuterRadiusOffset: 20,
+ activeOuterRadiusOffset: 8,
}
const legends = [
@@ -53,25 +53,25 @@ stories.add('fancy slices', () => (
innerRadius={0.6}
padAngle={0.5}
cornerRadius={5}
- radialLabelsLinkColor={{
+ arcLinkLabelsColor={{
from: 'colo... | feat(pie): adjust stories according to refactoring | null | plouc/nivo | MIT License | TypeScript |
@@ -777,7 +777,7 @@ impl SyncedAccount {
.with_parent2(parent2)
.with_payload(Payload::Transaction(Box::new(transaction)))
.with_network_id(client.get_network_id().await?)
- .with_nonce_provider(client.get_pow_provider(), 4000f64)
+ .with_nonce_provider(client.get_pow_provider(), client.get_network_info().min_pow_score... | feat(transfer): use minimum PoW score from node info | null | iotaledger/wallet.rs | Apache License 2.0 | Rust |
+<?php
+
+declare(strict_types=1);
+
+namespace Flextype;
+
+use function Flextype\Component\I18n\__;
+use Flextype\Component\Filesystem\Filesystem;
+use Psr\Http\Message\ResponseInterface as Response;
+use Psr\Http\Message\ServerRequestInterface as Request;
+
+class ApiController extends Controller
+{
+ /**
+ * Index ... | feat(admin-plugin): add ApiController skeleton for API's - BE/FE | null | flextype/flextype | MIT License | PHP |
@@ -5,6 +5,7 @@ import json
import opentimelineio_contrib.adapters.ffmpeg_burnins as ffmpeg_burnins
from pypeapp.lib import config
from pype import api as pype
+from subprocess import Popen, PIPE
# FFmpeg in PATH is required
@@ -21,6 +22,7 @@ else:
FFMPEG = (
'{} -loglevel panic -i %(input)s %(filters)s %(args)s%(outpu... | feat(scripts): otio_burnin is able to render image sequence | null | pypeclub/openpype | MIT License | Python |
@@ -135,7 +135,9 @@ impl Handler for MyHandler {
}
fn main() {
- env_logger::init();
+ env_logger::Builder::new()
+ .default_format_timestamp(false)
+ .init();
let queue: VecDeque<CoreMsg> = Default::default();
let (reader, writer) = pipe().unwrap();
| feat(main): don't print timestamps in logs | null | cogitri/tau | MIT License | Rust |
@@ -112,16 +112,18 @@ func (s *ImmuServer) Initialize() error {
return logErr(s.Logger, "Unable to load system database: %v", err)
}
- if s.sysDB.IsReplica() {
- s.Logger.Infof("Started in maintenance mode - systemdb in recovery mode")
- }
-
if !s.sysDB.IsReplica() {
if err = s.loadDefaultDatabase(dataDir, remoteStorag... | feat(pkg/server): enable simultaneous replication of systemdb and defaultdb | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -176,6 +176,15 @@ class TestTable:
LOGGER.info(res)
assert res == Status.CONNECT_FAILED
+ @mock.patch.object(MilvusService.Client, 'ShowTables')
+ def test_has_table(self, ShowTables, client):
+ table_name = fake.table_name()
+ ShowTables.return_value = [table_name]
+ assert client.has_table(table_name)
+
+ ShowTabl... | feat(tests): add has_table unittest | null | milvus-io/pymilvus | Apache License 2.0 | Python |
/* eslint-disable react/prop-types */
import React, {Component, PropTypes} from 'react'
import Chevronright from '@schibstedspain/sui-svgiconset/lib/Chevronright'
+import cx from 'classnames'
export default class BreadcrumbBasic extends Component {
constructor (...args) {
super(...args)
- this._breadcrumb = null
+ this... | feat(breadcrumb/basic): using state instead of refs to expand breadcrumb | null | sui-components/sui-components | MIT License | JavaScript |
@@ -138,6 +138,29 @@ export type Val8<
H extends Keys7<T, A, B, C, D, E, F, G>
> = Val7<T, A, B, C, D, E, F, G>[H];
+/**
+ * Internal reducer for ValN.
+ *
+ * @internal
+ *
+ * @param T The structure to get the values from.
+ * @param C The current key.
+ * @param R The remaining keys
+ */
+type ValNReducer<T, C, R ex... | feat(api): added the ValN type | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
import React from "react";
import {Grid, Paper} from "@mui/material";
-import {WarningAmber} from "@mui/icons-material";
+import {Announcement} from "@mui/icons-material";
const InfoBox = (props: { boxShadow: number, style?: React.CSSProperties, children: React.ReactNode}): JSX.Element => {
@@ -17,7 +17,7 @@ const Info... | feat(ui): Change infobox icon | null | hypfer/valetudo | Apache License 2.0 | TypeScript |
@@ -26,6 +26,7 @@ module.exports = {
module: {
rules: require('../sections/module-rules')('build')
},
+ devtool: 'source-map',
plugins: [
new WriteFilePlugin(/^manifest\.js?$/),
new WriteManifestPlugin(),
@@ -61,9 +62,9 @@ module.exports = {
new webpack.LoaderOptionsPlugin({
debug: false,
minimize: true,
- sourceMap: f... | feat(hops-build-config): add source maps to production build output | null | xing/hops | MIT License | JavaScript |
@@ -23,7 +23,7 @@ class Seekbar: MediaControlPlugin {
private var isOfflinePlayback: Bool = false
- required init(context: UIBaseObject) {
+ required init(context: UIObject) {
super.init(context: context)
bindEvents()
}
@@ -32,10 +32,6 @@ class Seekbar: MediaControlPlugin {
super.init()
}
- required init?(coder argumen... | feat: Change seekbar init to use UIObject instead UIBaseObject | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
+package com.codingame.gameengine.runner;
+
+import java.io.BufferedReader;
+import java.io.BufferedWriter;
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.FileReader;
+import java.io.IOException;
+import java.io.OutputStreamWriter;
+import java.io.Writer;
+import java.nio.file.Path;
+import jav... | feat(sdk-config): add class to generate statements from template | null | codingame/codingame-game-engine | MIT License | Java |
@@ -234,3 +234,9 @@ class RedisWrapper(redis.Redis):
"""Return all members of the set"""
return super(RedisWrapper, self).smembers(self.make_key(name))
+ def zincrby(self, name, value, amount=1):
+ return super(redis.Redis, self).zincrby(self.make_key(name), value, amount=amount)
+
+ def zrange(self, name, start, end, ... | feat(redis-wrapper): Add support for ZINCRBY and ZRANGE | null | frappe/frappe | MIT License | Python |
@@ -63,6 +63,7 @@ class CommandContext(
val lavaManager = container.lavaManager
val musicPlayerManager = container.lavaManager.musicPlayerManager
val audioLoader = container.lavaManager.musicPlayerManager.audioLoader
+ var fullArg: String = ""
var calculatedRoot = ""
var calculatedCommandPartsOffset = 1
@@ -110,6 +111,... | feat: fullArg in CommandContext.kt (is like rawArg but without " used for argument borders) | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -911,6 +911,11 @@ where
Ok(())
}
+ /// Abort transaction w/o commit.
+ pub fn abort(mut self) {
+ self.transaction = None;
+ }
+
/// Add a new parquet file to the catalog.
///
/// If a file with the same path already exists an error will be returned.
| feat: add method to abort catalog transaction | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -332,7 +332,7 @@ class FunctionsCustomClientTest extends Scope
$this->assertEquals(201, $function['headers']['status-code']);
- $tag = $this->client->call(Client::METHOD_POST, '/functions/'.$functionId.'/tags', [
+ $deployment = $this->client->call(Client::METHOD_POST, '/functions/'.$functionId.'/deployments', [
'co... | feat: update testSychronousExecution() | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
+//! Instrumentation for [`DmlSink`] implementations.
use std::fmt::Debug;
use async_trait::async_trait;
@@ -5,6 +6,7 @@ use data_types2::KafkaPartition;
use dml::DmlOperation;
use metric::{Attributes, U64Counter, U64Gauge, U64Histogram, U64HistogramOptions};
use time::{SystemProvider, TimeProvider};
+use trace::span::... | feat: emit tracing span for op apply | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -67,7 +67,9 @@ export class GitMediaStore implements MediaStore {
nextOffset: undefined,
}
}
- async delete(_media: Media): Promise<void> {
- throw new Error('Not implemented')
+ async delete(media: Media): Promise<void> {
+ return this.client.deleteFromDisk({
+ relPath: media.id,
+ })
}
}
| feat(@tinacms/git-client): GitMediaStore implements delete | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
@@ -184,7 +184,9 @@ const Index = ({ stats }) => {
</Link.Internal>
</div>
<div className="flex lg:hidden justify-center lg:justify-start">
+ <Link.Internal href="/swap" passHref={true}>
<Button
+ as="a"
color="gradient"
className="px-12 !font-semibold"
size="md"
@@ -192,6 +194,7 @@ const Index = ({ stats }) => {
>
Ent... | feat(apps/root): enter sushi button link | null | sushiswap/sushiswap | MIT License | TypeScript |
@@ -186,7 +186,7 @@ if [ "${javacheck}" == "1" ]; then
# Define required dependencies for SteamCMD.
if [ "${appid}" ]; then
# lib32gcc1 is now called lib32gcc-s1 in debian 11
- if { [ "${distroid}" == "debian" ]&&[ "${distroversion}" == "11" ]; }||{ [ "${distroid}" == "ubuntu" ]&&[ "${distroversion}" == "20.10" ]; }; t... | feat(install): add support for Pop!OS! dependency checks | null | gameservermanagers/linuxgsm | MIT License | Shell |
@@ -104,6 +104,8 @@ elif [ "${engine}" == "realvirtuality" ]; then
# be escaped for regular (tmux) loading, but need to be
# stripped when loading straight from the console.
${executable} ${parms//\\;/;}
+elif [ "${engine}" == "quake" ]; then
+ ${executable} ${parms} -condebug
else
${executable} ${parms}
fi
| feat(debug): add debug option for quake engine ( id tech 1) | null | gameservermanagers/linuxgsm | MIT License | Shell |
@@ -5,4 +5,4 @@ export * from './_lib/sanity'
export * from './transform'
export * from './types'
-export type {ExtractorMessage} from '@microsoft/api-extractor'
+export type {ExtractorLogLevel, ExtractorMessage} from '@microsoft/api-extractor'
| feat(tsdoc-to-portable-text): re-export `ExtractorLogLevel` | null | sanity-io/design | MIT License | TypeScript |
@@ -45,6 +45,10 @@ internal static class NetworkLoop
// helper enum to add loop to begin/end of subSystemList
internal enum AddMode { Beginning, End }
+ // callbacks in case someone needs to use early/lateupdate too.
+ public static Action OnEarlyUpdate;
+ public static Action OnLateUpdate;
+
// helper function to find... | feat: Expose NetworkEarlyUpdate/NetworkLateUpdate (see | null | vis2k/mirror | MIT License | C# |
@@ -14,14 +14,25 @@ class Exception extends \Exception
*
* Appwrite has the follwing entities:
* - Users
- * - Projects
- * - Sessions
+ * - OAuth
* - Teams
* - Memberships
- * - Files
+ * - Avatars
+ * - Storage
* - Functions
* - Deployments
* - Executions
+ * - Collections
+ * - Documents
+ * - Attributes
+ * - Index... | feat: adjust docs | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -22,9 +22,9 @@ func (gui *Gui) handleEditorKeypress(textArea *gocui.TextArea, key gocui.Key, ch
textArea.MoveCursorDown()
case key == gocui.KeyArrowUp:
textArea.MoveCursorUp()
- case key == gocui.KeyArrowLeft:
+ case key == gocui.KeyArrowLeft || key == gocui.KeyCtrlB:
textArea.MoveCursorLeft()
- case key == gocui.Ke... | feat: Add emacs character navigation, because I'm weird like that :) | null | jesseduffield/lazygit | MIT License | Go |
@@ -231,7 +231,7 @@ impl ClientBuilder {
let (etherscan_api_url, etherscan_url) = match chain {
Chain::Mainnet => urls("https://api.etherscan.io/api", "https://etherscan.io"),
- Chain::Ropsten | Chain::Kovan | Chain::Rinkeby | Chain::Goerli => {
+ Chain::Ropsten | Chain::Kovan | Chain::Rinkeby | Chain::Goerli | Chain::... | feat: add Sepolia endpoint | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -87,8 +87,8 @@ impl Chunk {
// Must be nullable boolean or boolean value
fn cast_to_nonull_boolean(predicate: &Value<AnyType>) -> Option<Value<BooleanType>> {
match predicate {
- Value::Scalar(s) => Self::cast_scalar_to_boolean(s).map(|s| Value::Scalar(s)),
- Value::Column(c) => Self::cast_column_to_boolean(c).map(|... | feat(expression): fix lint | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -45,8 +45,11 @@ class Themes
// Get themes list
$themes_list = $this->getThemes();
- // If themes list isnt empty then create themes cache ID and go through the themes list...
- if (is_array($themes_list) && count($themes_list) > 0) {
+ // If Themes List isnt empty then continue
+ if (! is_array($themes_list) || cou... | feat(core): add ability to override themes default manifest and settings | null | flextype/flextype | MIT License | PHP |
@@ -36,7 +36,6 @@ import org.eolang.maven.Home;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.hamcrest.io.FileMatchers;
-import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;
@@ -74,17 +73,6 @@ class OptCachedTest {
);
}
- @Tes... | feat(#1443): remove untestable test case | null | cqfn/eo | MIT License | Java |
+package com.chesire.nekome.database.entity
+
+import androidx.room.Entity
+import androidx.room.PrimaryKey
+import com.chesire.nekome.core.flags.Service
+import com.chesire.nekome.core.models.ImageModel
+import com.squareup.moshi.JsonClass
+
+/**
+ * Data for a singular user entity.
+ */
+@Entity
+@JsonClass(generateA... | feat: add new entity for the user | null | chesire/nekome | Apache License 2.0 | Kotlin |
@@ -22,14 +22,14 @@ func (repo *TokenVerifierRepo) VerifyAccessToken(ctx context.Context, tokenStrin
//TODO: use real key
tokenID, err := crypto.DecryptAESString(tokenString, string(repo.TokenVerificationKey[:32]))
if err != nil {
- return "", "", caos_errs.ThrowPermissionDenied(nil, "APP-8EF0zZ", "invalid token")
+ re... | feat: permissin denied | null | caos/zitadel | Apache License 2.0 | Go |
@@ -102,7 +102,6 @@ mod tests {
assert!(c.is_err());
}
#[test]
- #[test]
fn test_array_correct() {
let c: Result<Color, String> = [183, 65, 14].try_into();
assert_eq!(
| feat(try_from_into): remove duplicate annotation | null | rust-lang/rustlings | MIT License | Rust |
#include <malloc.h>
#endif
+// This sets a predictable pattern on freshly allocated memory (0xCDCD..) and sets
+// another pattern on freed memory (0xFEFE..).
+// This helps tracking down uninitialized memory usage and use after free.
+#if defined(ACL_HAS_ASSERT_CHECKS) && !defined(ACL_NO_ALLOCATOR_SANITIZING) && !defi... | feat(core): add memory sanitization to ANSI allocator | null | nfrechette/acl | MIT License | C |
// limitations under the License.
#include "google/cloud/pubsub/samples/pubsub_samples_common.h"
+#include "google/cloud/pubsub/subscriber.h"
#include "google/cloud/pubsub/subscription_admin_client.h"
+#include "google/cloud/pubsub/subscription_mutation_builder.h"
#include "google/cloud/pubsub/testing/random_names.h"
#... | feat(pubsub): Implement pubsub_dead_letter_create_subscription sample | null | googleapis/google-cloud-cpp | Apache License 2.0 | C++ |
@@ -82,7 +82,7 @@ pub struct XXSymmetricState<'a, V: Vault> {
}
impl<'a, V: Vault> XXSymmetricState<'a, V> {
- const CSUITE: &'static [u8] = b"Noise_XX_25519_AESGCM_SHA256";
+ const CSUITE: &'static [u8] = b"Noise_XX_25519_AESGCM_SHA256\0\0\0\0";
/// Create a new `HandshakeState` starting with the prologue
pub fn prolo... | feat(rust): update protocol name | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -9,6 +9,7 @@ use std::ops::Drop;
use std::sync::Mutex;
use anyhow::{anyhow, Context};
+use bytes::Bytes;
use libc::{c_char, c_int, c_uchar, c_uint, EXIT_FAILURE, EXIT_SUCCESS, size_t};
use serde_json::from_str as from_json_str;
use serde_json::Value as JsonValue;
@@ -20,6 +21,7 @@ use pact_models::interaction::Inter... | feat: add FFI function to set a message contents | null | pact-foundation/pact-reference | MIT License | Rust |
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <assert.h>
+
+#include "libdiscord.h"
+
+
+
+void on_ready(struct discord *client, const struct discord_user *bot) {
+ fprintf(stderr, "\n\nBan-Bot succesfully connected to Discord as %s#%s!\n\n",
+ bot->username, bot->discriminator);
+}
+
+void on... | feat: add bot-ban.c demo bot to demonstrate ban and unban capabilities, aswell GUILD_BAN_ADD and GUILD_BAN_REMOVE events being triggered | null | cee-studio/orca | MIT License | C |
@@ -19,7 +19,7 @@ class SearchViewModel(private val eventService: EventService) : ViewModel() {
var searchEvent: String? = null
fun loadEvents() {
- val query = "[{\"name\":\"name\",\"op\":\"like\",\"val\":\"%$searchEvent%\"}]"
+ val query = "[{\"name\":\"name\",\"op\":\"ilike\",\"val\":\"%$searchEvent%\"}]"
compositeD... | feat: Make search queries case insensitive | null | fossasia/open-event-attendee-android | Apache License 2.0 | Kotlin |
@@ -2,12 +2,15 @@ package me.melijn.melijnbot.commandutil.administration
import me.melijn.melijnbot.database.NORMAL_CACHE
import me.melijn.melijnbot.database.message.LinkedMessageWrapper
-import me.melijn.melijnbot.database.message.ModularMessage
import me.melijn.melijnbot.enums.MessageType
import me.melijn.melijnbot.e... | feat: Replace url variables in the preview embed so it shows | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -165,7 +165,49 @@ make_setting_route!(
"/typo-tolerance",
meilisearch_lib::index::updates::TypoSettings,
typo_tolerance,
- "typoTolerance"
+ "typoTolerance",
+ analytics,
+ |setting: &Option<meilisearch_lib::index::updates::TypoSettings>, req: &HttpRequest| {
+ use serde_json::json;
+
+ analytics.publish(
+ "TypoTol... | feat(http): add analytics on typo tolerance setting | null | meilisearch/meilisearch | MIT License | Rust |
@@ -95,8 +95,14 @@ class _ProductListPageState extends State<ProductListPage>
final bool enableClear = products.isNotEmpty;
final bool enableRename = productList.listType == ProductListType.USER;
return SmoothScaffold(
- floatingActionButton: _selectionMode || products.length <= 1
- ? null
+ floatingActionButton: _sele... | feat: Added compare floating button | null | openfoodfacts/smooth-app | Apache License 2.0 | Dart |
@@ -229,6 +229,8 @@ spec:
openebs.io/version: {{ .CAST.version }}
openebs.io/cas-template-name: {{ .CAST.castName }}
spec:
+ strategy:
+ type: Recreate
replicas: 1
selector:
matchLabels:
| feat(runtask): make pool deployment strategy to "Recreate" in runtask | null | openebs/maya | Apache License 2.0 | Go |
@@ -202,12 +202,16 @@ class Connection extends BaseConnection implements ConnectionInterface
return $this->dataCache['version'];
}
- if (empty($this->mysqli))
+ if (! $this->connID || ($version_string = oci_server_version($this->connID)) === false)
{
- $this->initialize();
+ return false;
+ }
+ elseif (preg_match('#Rel... | feat: add get version method | null | codeigniter4/codeigniter4 | MIT License | PHP |
import { Injectable } from '@angular/core';
import Dexie, { liveQuery } from 'dexie';
-import { Observable } from 'rxjs';
+import { combineLatest, from, Observable } from 'rxjs';
import { Price } from './model/price';
import { ItemAmount } from './model/item-amount';
import { List } from '../../../modules/list/model/li... | feat(pricing): opening pricing mode on a list for the first time now uses known prices | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
-/*
- * *****************************************************************************
- * Cloud Foundry
- * Copyright (c) [2009-2015] Pivotal Software, Inc. All Rights Reserved.
- * This product is licensed to you under the Apache License, Version 2.0 (the "License").
- * You may not use this product except in complian... | feat: Resolve merge conflicts while cherry-picking | null | cloudfoundry/uaa | Apache License 2.0 | Java |
@@ -65,6 +65,10 @@ const completionSpec: Fig.Spec = {
},
],
},
+ {
+ name: "reload",
+ description: "Reload the current zsh session",
+ },
{
name: "theme",
description: "Manage themes",
| feat(omz): add reload option | null | withfig/autocomplete | MIT License | TypeScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.