diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -410,7 +410,7 @@ where
.to_status());
}
- measurement_name_impl(db, db_name, range, span_ctx).await
+ measurement_name_impl(db, db_name, range, predicate, span_ctx).await
} else if tag_key.is_field() {
info!(%db_name, ?range, predicate=%predicate.loggable(), "tag_values with tag_key=[xff] (field name)");
@@ -519,20 ... | feat: wire up general predicates to measurement_names | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -74,6 +74,10 @@ public class MessageLoggerService
? "Message did not contain content!"
: $"> {previousMessage.Content.Replace("\n", "\n> ")}";
+ var afterContent = message.Content.IsDefined(out var content) ? $"> {content.Replace("\n", "\n> ")}" : "Message did not contain content!";
+
+ if (beforeContent.Length + af... | feat: support for 4k char message edits | null | vtpdevelopment/silk | Apache License 2.0 | C# |
@@ -69,6 +69,13 @@ PHP_MINIT_FUNCTION(openrasp_v8)
// but intern code initializes v8 only once
v8::V8::Initialize();
+#ifdef HAVE_OPENRASP_REMOTE_MANAGER
+ if (openrasp_ini.remote_management_enable && oam != nullptr)
+ {
+ return SUCCESS;
+ }
+#endif
+
load_plugins(TSRMLS_C);
if (!process_globals.snapshot_blob)
| feat(php5): do not load local plugin when remote management is enabled | null | baidu/openrasp | Apache License 2.0 | C++ |
@@ -187,7 +187,7 @@ trait Auditable
throw new RuntimeException('A valid audit event has not been set');
}
- $eventHandler = $this->resolveEventHandler($this->auditEvent);
+ $eventHandler = $this->resolveEventHandlerMethod($this->auditEvent);
if (!is_string($eventHandler)) {
// this means the event is auditable but has ... | feat(Auditable): updates to the event handler method resolver | null | owen-it/laravel-auditing | MIT License | PHP |
-import React, {useEffect, useMemo, useRef, useState} from 'react'
+import React, {forwardRef, useEffect, useMemo, useState} from 'react'
+import {useForwardedRef} from '../../hooks'
import {useTheme} from '../../theme'
import {ResizeObserver} from '../resizeObserver'
import {findMaxBreakpoints, findMinBreakpoints} fro... | feat(ui): allow ElementQuery to be rerenced | null | sanity-io/design | MIT License | TypeScript |
package compute
import (
+ "context"
"fmt"
"yunion.io/x/jsonutils"
"yunion.io/x/log"
+ "yunion.io/x/pkg/errors"
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/mcclient"
@@ -26,6 +28,7 @@ import (
"yunion.io/x/onecloud/pkg/mcclient/options"
"yunion.io/x/onecloud/pkg/mcclient/options/compute"
"yunion.io... | feat(climc): SSH login of a host by private key | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -1204,22 +1204,54 @@ public class PredictionServiceTest
}
@Test
- public void testMissingValuesStddev()
+ public void testMissingValuesStddevSamp()
{
useDataValue( dataElementA, makeMonth( 2010, 8 ), sourceA, 33 );
dataValueBatchHandler.flush();
- Expression expression = new Expression( "STDDEV(#{" + dataElementA.ge... | feat: Predictor percentileCont, stddevSamp, stddevPop | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -511,15 +511,14 @@ open class AVFoundationPlayback: Playback, AVPlayerItemInfoDelegate {
trigger(.willStop)
updateState(.idle)
player.pause()
- releaseResources()
resetPlaybackProperties()
trigger(.didStop)
}
@objc func releaseResources() {
removeObservers()
+ itemInfo = nil
playerLayer.removeFromSuperlayer()
- play... | feat: do not release resources on stop | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
-from hiero.core import *
-from hiero.ui import *
-import ft_utils
+import hiero.core
+import hiero.ui
+
import re
import os
@@ -11,31 +11,30 @@ def create_nk_script_clips(script_lst, seq=None):
[{
'path': 'P:/Jakub_testy_pipeline/test_v01.nk',
'name': 'test',
- 'timeline_frame_in': 10,
'handles': 10,
- 'source_start':... | feat(nukestudio): precomp module work in progress | null | pypeclub/openpype | MIT License | Python |
@@ -39,14 +39,17 @@ export class Element extends Node {
super(NodeType.ELEMENT_NODE, _nodeId);
this.tagName = tagName.toUpperCase();
const nodeId = this.nodeId;
+ const self = this;
this.style = new Proxy(this.style, {
set(target: any, key: string, value: any, receiver: any): boolean {
- this[key] = value;
- setStyle(n... | feat: support style name camelCase convert | null | openkraken/kraken | Apache License 2.0 | TypeScript |
@@ -269,6 +269,7 @@ class Plugins
*/
public function getValidPluginsDependencies(array $plugins): array
{
+
// Set verified plugins array
$verifiedPlugins = [];
@@ -291,7 +292,7 @@ class Plugins
// Remove plugin where it is require this dependency
foreach ($plugins as $_plugin_name => $_pluginData) {
- if (! $_pluginDa... | feat(plugins): improve plugins dependencies initalization | null | flextype/flextype | MIT License | PHP |
@@ -467,8 +467,8 @@ function configDefaults() {
# The default behavior of whether we want to create the legacy JRE
BUILD_CONFIG[CREATE_JRE_IMAGE]="false"
- # Do not create an SBOM by default
- BUILD_CONFIG[CREATE_SBOM]="false"
+ # Set default value to "true. If we do not want this behavior, we can update buildArg per e... | feat: enable SBOM as default behavior | null | adoptium/temurin-build | Apache License 2.0 | Shell |
@@ -138,6 +138,14 @@ public class UnityEvent : UnityEvent<InteractorFacade>
/// Determines if the grab type is set to toggle.
/// </summary>
public bool IsGrabTypeToggle => GrabConfiguration.IsGrabTypeToggle;
+ /// <summary>
+ /// Whether the Interactable is currently being touched by any valid Interactor.
+ /// </summ... | feat(Interactions): get touch/grab state of Interactable via property | null | extendrealityltd/vrtk | MIT License | C# |
@@ -99,12 +99,8 @@ class Entries
*/
public function fetch(string $id)
{
- // Get entry file location
- //$entry_file = $this->_file_location($id);
-
// If requested entry file founded then process it
- if ($this->has($id)) {
- $_entry = $this->read($id);
+ if ($_entry = $this->read($id)) {
// Create unique entry cache_... | feat(core): update Entries fetch method | null | flextype/flextype | MIT License | PHP |
@@ -49,12 +49,10 @@ namespace Microsoft.DocAsCode
.ConfigureLogging(options => options.ClearProviders())
.UseUrls(url);
+ Console.WriteLine($"Serving \"{folder}\" on {url}. Press Ctrl+C to shut down.");
using var app = builder.Build();
app.UseFileServer(fileServerOptions);
- app.Start();
-
- Console.WriteLine($"Serving... | feat: stop serving using Ctrl+C | null | dotnet/docfx | MIT License | C# |
@@ -156,9 +156,6 @@ os.net.AbstractRequestHandler.prototype.getErrorMessage = function(request) {
case s >= 500:
msg = 'The remote server experienced an error (' + s + ').';
break;
- case s === 400:
- msg = 'Bad request.';
- break;
case s === 401:
// unauthorized
msg = 'You do not have proper authorization to perform t... | feat(net): remove unhelpful bad request error | null | ngageoint/opensphere | Apache License 2.0 | JavaScript |
@@ -10,8 +10,7 @@ class Application : AvaloniaObject
{
private readonly App _application;
- private static readonly Version s_version = typeof(AvaloniaObject).Assembly?.GetName()?.Version
- ?? Version.Parse("0.0.00");
+
public event EventHandler? Closed;
public Application(App application)
| feat(Diagnostic): Address Rule CA1823 | null | avaloniaui/avalonia | MIT License | C# |
@@ -146,6 +146,7 @@ BOAT_RESULT BoatHash( const BoatHashAlgType type, const BUINT8* input, BUINT32
*/
BOAT_RESULT BoAT_getPubkey(BoatKeypairPriKeyType type,BoatKeypairPriKeyFormat format, BUINT8 *prikey, BUINT32 prikeyLen, BUINT8 *pubkey, BUINT32 *pubkeyLen)
{
+ BoatLog(BOAT_LOG_CRITICAL, "BoAT_getPubkey");
BOAT_RESULT... | feat(L503): fix L503 boatplatform.c | null | aitos-io/boat-x-framework | Apache License 2.0 | C |
@@ -39,6 +39,7 @@ import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Executors;
import java.util.concurrent.atomic.AtomicInteger;
+import java.util.stream.Collectors;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugin... | feat(#1347): construct tasks from stream | null | cqfn/eo | MIT License | Java |
@@ -209,7 +209,14 @@ namespace PepperDash.Essentials.Devices.Common.Codec
[JsonProperty("title")]
public string Title { get; set; }
-
+ [JsonProperty("isInvitableContact")]
+ public bool IsInvitableContact
+ {
+ get
+ {
+ return this is IInvitableContact;
+ }
+ }
[JsonProperty("contactMethods")]
public List<ContactMeth... | feat(essentials): Adds IsInvitableContact property with getter to DirectoryContact | null | pepperdash/essentials | MIT License | C# |
@@ -272,6 +272,7 @@ impl MainWin {
}
CoreMsg::Notification { method, params } => {
match method.as_ref() {
+ "alert" => main_win.borrow_mut().alert(¶ms),
"available_themes" => main_win.borrow_mut().available_themes(¶ms),
"available_plugins" => main_win.borrow_mut().available_plugins(¶ms),
"config_changed" =... | feat(main_win): handle 'alert' | null | cogitri/tau | MIT License | Rust |
@@ -227,6 +227,13 @@ export class Bounds {
.padLeft(amount.left ?? 0)
}
+ expand(amount: number | PadObject): Bounds {
+ if (isNumber(amount)) return this.pad(-amount)
+ return this.pad(
+ mapValues(amount, (v) => (v !== undefined ? -v : undefined))
+ )
+ }
+
extend(props: {
x?: number
y?: number
| feat(bounds): create `expand()` method | null | owid/owid-grapher | MIT License | TypeScript |
#include <thread>
#include <wrapper/Index.h>
+#include <cache/CpuCacheMgr.h>
#include "MemManager.h"
#include "Meta.h"
@@ -53,6 +54,10 @@ Status MemVectors::serialize(std::string& group_id) {
meta::GroupFileSchema::TO_INDEX : meta::GroupFileSchema::RAW;
auto status = pMeta_->update_group_file(schema_);
+
+ zilliz::vecw... | feat(db): cache for mem serialization | null | milvus-io/milvus | Apache License 2.0 | C++ |
@@ -23,6 +23,20 @@ module.exports = {
* https://wiki.saucelabs.com/display/DOCS/Sauce+Connect+Proxy
*/
sauceConnect: true,
+ /*
+ * Apply Sauce Connect options
+ * https://webdriver.io/docs/sauce-service.html#sauceconnectopts
+ */
+ sauceConnectOpts: {
+ /*
+ * Retry to establish a tunnel 2 times maximum on fail
+ * Th... | feat(webdriverio): add retry for Sauce Connect tunnel (algolia/instantsearch-e2e-tests#17) | null | algolia/instantsearch.js | MIT License | JavaScript |
@@ -15,12 +15,14 @@ waybar::Client::Client(int argc, char* argv[])
config_file = getValidPath({
"$XDG_CONFIG_HOME/waybar/config",
+ "$HOME/.config/waybar/config",
"$HOME/waybar/config",
"/etc/xdg/waybar/config",
"./resources/config",
});
css_file = getValidPath({
"$XDG_CONFIG_HOME/waybar/style.css",
+ "$HOME/.config/wa... | feat: add $HOME to valid path | null | alexays/waybar | MIT License | C++ |
@@ -118,6 +118,10 @@ impl FormatOptionChecker for CSVFormatOptionChecker {
check_quote(quote, "\"")
}
+ fn check_record_delimiter(&self, record_delimiter: &mut String) -> Result<()> {
+ check_record_delimiter(record_delimiter)
+ }
+
fn check_field_delimiter(&self, field_delimiter: &mut String) -> Result<()> {
check_fie... | feat(format): csv check_record_delimiter | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -158,6 +158,8 @@ impl Account {
/// This is a convenience method for calling [`Client::upload()`],
/// followed by [`set_avatar_url()`](#method.set_avatar_url).
///
+ /// Returns the MXC url of the uploaded avatar.
+ ///
/// # Example
/// ```no_run
/// # use std::{path::Path, fs::File, io::Read};
@@ -173,9 +175,13 @... | feat(sdk): Make upload_avatar return an MXC URI | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -16,6 +16,7 @@ declare(strict_types=1);
namespace Flextype\Entries\Directives;
+use function Glowy\Strings\strings;
use function Flextype\emitter;
use function Flextype\entries;
use function Flextype\parsers;
@@ -24,6 +25,7 @@ use function Flextype\collection;
// Directive: [[ ]] [% %] [# #]
emitter()->addListener('... | feat(directive): add ability to disabled expressions using `!expressions` | null | flextype/flextype | MIT License | PHP |
@@ -69,6 +69,7 @@ public struct BodyCells: Codable, Equatable {
public var columnHeaderTexts: [ColumnHeaderTexts]?
public var columnHeaderTextsNormalized: [ColumnHeaderTextsNormalized]?
+ public var attributes: [Attribute]?
// Map each property name to the key that shall be used for encoding/decoding.
private enum Codi... | feat(CompareComplyV1): Add `attributes` property to BodyCells | null | watson-developer-cloud/swift-sdk | Apache License 2.0 | Swift |
@@ -30,7 +30,7 @@ const readModelExecutors = config.readModels.reduce((result, readModel) => {
if (!readModel.name) {
raiseError(`Read model name is mandatory ${getSourceInfo(readModel)}`);
}
- if (!readModel.viewModel || !(readModel.gqlSchema && readModel.gqlResolvers)) {
+ if (!(readModel.viewModel ^ (readModel.gqlSc... | feat(resolve-scripts): Implement multiple read-models and better error handling | null | reimagined/resolve | MIT License | JavaScript |
@@ -101,7 +101,7 @@ export function createMenu(store: Store): void {
const clipboardElement: PageElement | undefined = store.getClipboardElement();
if (selectedElement && clipboardElement && store.getElementFocus()) {
const newPageElement = clipboardElement.clone();
- selectedElement.addChild(newPageElement);
+ selecte... | feat(menu): add pasted page-elements as siblings | null | meetalva/alva | MIT License | TypeScript |
@@ -60,28 +60,19 @@ class AuditTableCommand extends Command
*
* @return void
*/
- public function fire()
+ public function handle()
{
- $fullPath = $this->createBaseMigration();
+ $source = __DIR__.'/../../database/migrations/audits.php';
- $this->files->put($fullPath, $this->files->get(__DIR__.'/stubs/audits.stub'));
... | feat(Commands): code refactor | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -44,6 +44,7 @@ public enum Setting {
MJPEG_SCALING_FACTOR("mjpegScalingFactor"),
KEYBOARD_AUTOCORRECTION("keyboardAutocorrection"),
KEYBOARD_PREDICTION("keyboardPrediction"),
+ BOUND_ELEMENTS_BY_INDEX("boundElementsByIndex"),
// Android and iOS
SHOULD_USE_COMPACT_RESPONSES("shouldUseCompactResponses"),
ELEMENT_RESPO... | feat: Add 'boundElementsByIndex' to Settings (added in appium 1.18.0) | null | appium/java-client | Apache License 2.0 | Java |
#[derive(thiserror::Error, Debug)]
pub enum VersionFileError {
- #[error("Version file is missing or the previous MeiliSearch engine version was below 0.24.0. Use a dump to update MeiliSearch.")]
+ #[error(
+ "MeilSearch (v{}) failed to infer the version of the database. Please consider using a dump to load your data."... | feat(error): Update the error message when you have no version file | null | meilisearch/meilisearch | MIT License | Rust |
@@ -2,12 +2,16 @@ const serve = require('./commands/serve')
const toFile = require('./commands/build')
const transformers = require('./transformers')
const toString = require('./functions/render')
+const PostCSS = require('./generators/postcss')
const toPlaintext = require('./functions/plaintext')
+const TailwindCSS = ... | feat: export css generators | null | maizzle/framework | MIT License | JavaScript |
@@ -195,6 +195,8 @@ class AskText(object):
DEFAULT_AUTOINDENT = True
DEFAULT_INSERTSPACES = True
DEFAULT_TABWIDTH = 4
+ DEFAULT_NEW_NODE_CONTENT = "Empty"
+ NEW_NODE_CONTENT = ["Empty", "InlineMath", "DisplayMath"]
def __init__(self, version_str, text, preamble_file, global_scale_factor, current_scale_factor, current_a... | feat(ui): Add new node content UI option (PyGTK only) | null | textext/textext | BSD 3-Clause New or Revised License | Python |
@@ -21,8 +21,14 @@ PIDS=""
PACKAGES=$(ls ./packages/node_modules | grep -v @ciscospark)
PACKAGES+=" "
PACKAGES+="$(cd ./packages/node_modules/ && find @ciscospark -maxdepth 1 -type d | egrep -v @ciscospark$)"
+# copied from http://www.tldp.org/LDP/abs/html/comparison-ops.html because I can
+# never remember which is wh... | feat(tooling): do not run legacy tests in validated merge pipeline | null | webex/webex-js-sdk | MIT License | Shell |
@@ -120,6 +120,7 @@ type SHostOptions struct {
SdnPidFile string `help:"pid file for sdnagent" default:"$SDN_PID_FILE|/var/run/yunion-sdnagent.pid"`
SdnEnableGuestMan bool `help:"enable guest network manager in sdnagent" default:"$SDN_ENABLE_GUEST_MAN|true"`
SdnEnableEipMan bool `help:"enable eip network manager in sdn... | feat(host): options: add option SdnSocketPath | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -246,9 +246,9 @@ Status DBImpl::background_merge_files(const std::string& group_id) {
return status;
}
- if (raw_files.size() == 0) {
- return Status::OK();
- }
+ /* if (raw_files.size() == 0) { */
+ /* return Status::OK(); */
+ /* } */
bool has_merge = false;
| feat(db): try build index every interval | null | milvus-io/milvus | Apache License 2.0 | C++ |
@@ -16,9 +16,8 @@ namespace OwenIt\Auditing\Tests\Models;
use Illuminate\Database\Eloquent\Model;
use OwenIt\Auditing\Contracts\Auditable;
-use OwenIt\Auditing\Contracts\UserResolver;
-class User extends Model implements Auditable, UserResolver
+class User extends Model implements Auditable
{
use \OwenIt\Auditing\Audit... | feat(Tests): implement UserResolver | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -309,9 +309,10 @@ const updateAllArticles = async (): Promise<void> => {
let progressMeter = 1
for (const file of mdPaths) {
- await postArticle(file, authorId, progressMeter).catch((e) =>
- console.error(e)
- )
+ await postArticle(file, authorId, progressMeter).catch((e) => {
+ // Terminate build in case of errors
... | feat(Docs): Terminate Documentatino build in case of errors | null | stencila/stencila | Apache License 2.0 | TypeScript |
@@ -77,7 +77,7 @@ class API():
# Training on those many chunks for those many epochs
print ("Chunk wise training for ",clf.MODEL_NAME)
for i in range(n_epochs):
- self.train_chunk_wise(clf,d)
+ self.train_chunk_wise(clf, d, i)
else:
print ("Joint training for ",clf.MODEL_NAME)
@@ -104,7 +104,7 @@ class API():
- def tra... | feat: the 'API' class now passing the 'current_epoch' when calling 'partial_fit' | null | nilmtk/nilmtk | Apache License 2.0 | Python |
@@ -362,6 +362,9 @@ typedef FirestoreErrorBuilder = Widget Function(
StackTrace stackTrace,
);
+/// A type representing the function passed to [FirestoreListView] for its `emptyBuilder`.
+typedef FirestoreEmptyBuilder = Widget Function(BuildContext context);
+
/// {@template firebase_ui.firestorelistview}
/// A [ListVi... | feat(ui_firestore): Added empty builder in FirestoreListView | null | firebaseextended/flutterfire | BSD 3-Clause New or Revised License | Dart |
@@ -795,14 +795,13 @@ class Dash:
mode = "dev" if self._dev_tools["props_check"] is True else "prod"
- deps = []
- for js_dist_dependency in _dash_renderer._js_dist_dependencies:
- dep = {}
- for key, value in js_dist_dependency.items():
- dep[key] = value[mode] if isinstance(value, dict) else value
-
- deps.append(dep... | feat: with comprehension pattern | null | plotly/dash | MIT License | Python |
"""Routes for revocation notification."""
import logging
import re
+from typing import cast
-from ....messaging.responder import BaseResponder
from ....core.event_bus import Event, EventBus
from ....core.profile import Profile
-
+from ....messaging.responder import BaseResponder
from ....revocation.models.issuer_cred_r... | feat: use rev notification record in revoke event handler | null | hyperledger/aries-cloudagent-python | Apache License 2.0 | Python |
+import {Compute} from '../Any/Compute'
+import {Keys} from './Keys'
+
+type _Strict<U, _U = U> =
+ U extends unknown
+ ? U & Partial<Record<Exclude<Keys<_U>, keyof U>, never>>
+ : never
+
+/** Make a **union** not allow excess properties (https://github.com/Microsoft/TypeScript/issues/20863)
+ * @param U to make stric... | feat: added a Strict type for Union | null | millsp/ts-toolbelt | Apache License 2.0 | TypeScript |
@@ -346,6 +346,12 @@ impl RetryPolicy<ClientError> for HttpRateLimitRetryPolicy {
if *code == 429 {
return true
}
+
+ // alternative alchemy error for specific IPs
+ if *code == -32016 && message.contains("rate limit") {
+ return true
+ }
+
match message.as_str() {
// this is commonly thrown by infura and is apparently... | feat: add another rate limit retry check | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -7,6 +7,7 @@ import club.minnced.discord.webhook.send.WebhookEmbedBuilder
import club.minnced.discord.webhook.send.WebhookMessageBuilder
import io.ktor.client.*
import io.ktor.client.request.*
+import io.sentry.Sentry
import kotlinx.coroutines.delay
import kotlinx.coroutines.future.await
import me.melijn.melijnbot.d... | feat: add workaround logging to twitter's dumb api | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -229,7 +229,11 @@ protected override void OnKeyDown(KeyEventArgs e)
if (Match(keymap.Copy))
{
Copy();
-
+ handled = true;
+ }
+ else if (Match(keymap.SelectAll))
+ {
+ SelectAll();
handled = true;
}
| feat: add SelectAll hotkey support | null | avaloniaui/avalonia | MIT License | C# |
@@ -360,7 +360,7 @@ App::get('/v1/avatars/initials')
->action(function (string $name, int $width, int $height, string $background, Response $response, Document $user) {
$themes = [
- ['background' => '#F2F2F8'], // Default
+ ['background' => '#FFA1CE'], // Default (Pink)
['background' => '#FDC584'], // Orange
['backgro... | feat: update default avatars color | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -22,6 +22,8 @@ class Course::Discussion::Post < ApplicationRecord
after_initialize :set_topic, if: :new_record?
after_commit :mark_topic_as_read
+ after_save :mark_self_as_read
+ after_update :mark_self_as_read
before_destroy :reparent_children, unless: :destroyed_by_association
before_destroy :unparent_children, if... | feat(post update): mark post as read after updating | null | coursemology/coursemology2 | MIT License | Ruby |
@@ -84,6 +84,7 @@ public class Constants {
public static final String PROTOCOL_SEPARATOR = "://";
public static final String PROTOCOL_LIGHT = "light";
+ public static final String PROTOCOL_HTTPS = "https";
public static final String TAG_ENVIRONMENT = "environment";
public static final String PATH_SEPARATOR = "/";
@@ -9... | feat(utility): Adding https protocol constant | null | networknt/light-4j | Apache License 2.0 | Java |
@@ -324,8 +324,8 @@ class Cache
*/
public function purge(string $directory) : void
{
- // Run event: onCacheBeforeClear
- $this->flextype['emitter']->emit('onCacheBeforeClear');
+ // Run event: onCacheBeforePurge
+ $this->flextype['emitter']->emit('onCacheBeforePurge');
// Remove specific cache directory
Filesystem::de... | feat(cache): Cache API improvements | null | flextype/flextype | MIT License | PHP |
import logging
import sys
import struct
+import datetime
from thrift.transport import TSocket
from thrift.transport import TTransport, TZlibTransport
@@ -23,7 +24,8 @@ from milvus.client.Status import Status
from milvus.client.Exceptions import (
RepeatingConnectError,
DisconnectNotConnectedClientError,
- NotConnectErr... | feat(Range): change Prepare.range | null | milvus-io/pymilvus | Apache License 2.0 | Python |
@@ -77,22 +77,16 @@ impl<E: KeyExchanger + NewKeyExchanger<E>> ChannelManager<E> {
loop {
match self.receiver.try_recv()? {
OckamCommand::Channel(ChannelCommand::Stop) => {
+ self.channels.clear();
+ self.pending_messages.clear();
keep_going = false;
break;
}
OckamCommand::Channel(ChannelCommand::SendMessage(m)) => {
-... | feat(rust): code review update of channels | null | ockam-network/ockam | Apache License 2.0 | Rust |
use ethers_core::types::{
- transaction::eip2718::TypedTransaction, Address, BlockId, Bytes, Signature,
+ transaction::{eip2718::TypedTransaction, eip2930::AccessListWithGasUsed},
+ Address, BlockId, Bytes, Signature, U256,
};
use ethers_providers::{maybe, FromErr, Middleware, PendingTransaction};
use ethers_signers::S... | feat(signer): set from on tx before calling eth_call, eth_createAccessList, eth_estimateGas | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -150,6 +150,9 @@ class DashboardChart {
data: this.data,
type: chart_type_map[this.chart_doc.type],
colors: [this.chart_doc.color || "light-blue"],
+ axisOptions: {
+ xIsSeries: this.settings.is_time_series
+ },
};
if(!this.chart) {
this.chart = new Chart(this.chart_container.find(".chart-wrapper")[0], chart_args);
| feat(dashboard): Use xIsSeries chart option for time series | null | frappe/frappe | MIT License | JavaScript |
import Accordion from './Accordion';
import AccordionSection from './AccordionSection';
+import Application from './Application';
import Avatar from './Avatar';
import AvatarMenu from './AvatarMenu';
import Badge from './Badge';
@@ -49,6 +50,7 @@ import VerticalSectionOverflow from './VerticalSectionOverflow';
export {... | feat: add application to the index file | null | nexxtway/react-rainbow | MIT License | JavaScript |
@@ -1314,6 +1314,7 @@ os.time.TimelineController.prototype.getEffectiveLoadRangeSet = function() {
* Returns all load ranges.
*
* @return {!Array<goog.math.Range>}
+ * @export Prevent the compiler from moving the function off the prototype.
*/
os.time.TimelineController.prototype.getEffectiveLoadRanges = function() {
r... | feat(timeline): keep timeline function call on the prototype | null | ngageoint/opensphere | Apache License 2.0 | JavaScript |
-import { InputModelTypeContext, graphQLInputContext } from '@graphback/core';
+import { InputModelTypeContext, graphQLInputContext, filterObjectTypes } from '@graphback/core';
import { diff } from '@graphql-inspector/core';
import { buildSchema } from 'graphql';
import { SchemaProvider, DatabaseChangeType, DatabaseCha... | feat: filter object types | null | aerogear/graphback | Apache License 2.0 | TypeScript |
@@ -6,7 +6,7 @@ import { CodeRunner } from '../code-runner/code-runner';
import { Observable } from 'rxjs/Observable';
import { of } from 'rxjs/observable/of';
import { empty } from 'rxjs/observable/empty';
-import { map, share, filter, mergeMap, switchMap, startWith, concat, tap } from 'rxjs/operators';
+import { map,... | feat(server): handle IO errors more gracefully | null | machinelabs/machinelabs | MIT License | TypeScript |
@@ -5,6 +5,7 @@ import androidx.room.Room
import com.chesire.malime.db.RoomDB
import dagger.Module
import dagger.Provides
+import dagger.Reusable
@Suppress("unused")
@Module
@@ -19,10 +20,12 @@ object DatabaseModule {
}
@Provides
+ @Reusable
@JvmStatic
fun provideSeries(db: RoomDB) = db.series()
@Provides
+ @Reusable
@... | feat: make the database dao objects reusable | null | chesire/nekome | Apache License 2.0 | Kotlin |
const fs = require('fs');
const path = require('path');
const program = require('commander');
+const semver = require('semver');
+const colors = require('colors');
program
.version('0.0.1')
@@ -107,7 +109,15 @@ function check(source, dep, version, category = 'dep') {
);
}
if (!program.quiet) {
- console.log(`update ${d... | feat(version.js): add downgrades highlights | null | talend/ui | Apache License 2.0 | JavaScript |
@@ -5,6 +5,7 @@ import io.clappr.player.base.NamedType
import io.clappr.player.base.Options
import io.clappr.player.components.Playback
import io.clappr.player.components.PlaybackSupportInterface
+import io.clappr.player.log.Logger
import kotlin.reflect.KClass
import kotlin.reflect.full.companionObjectInstance
import k... | feat(handle_broken_plugin): add log when plugin crash during init | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -48,4 +48,28 @@ public class DefaultDatasourceConfiguration extends AbstractCamundaConfiguration
configuration.setJdbcBatchProcessing(database.isJdbcBatchProcessing());
}
+ public PlatformTransactionManager getTransactionManager() {
+ return transactionManager;
+ }
+
+ public void setTransactionManager(PlatformTrans... | feat(config): expose getter and setter | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -81,6 +81,10 @@ type Configuration struct {
Directories struct {
Download string `toml:"download" default:"/var/lib/cds-engine" json:"download"`
} `toml:"directories" json:"directories"`
+ InternalServiceMesh struct {
+ RequestSecondsTimeout int `toml:"requestSecondsTimeout" json:"requestSecondsTimeout" default:"60"... | feat(api): config to set timeout and tls config | null | ovh/cds | BSD 3-Clause New or Revised License | Go |
+#include <bits/stdc++.h>
+using namespace std;
+
+class Solution {
+ public:
+ int totalMoney(int n) {
+ int ans = 0;
+ for (int i = 0, j = 1; i < n; i++) {
+ ans += i % 7 + j;
+ if ((i + 1) % 7 == 0) j++;
+ }
+ return ans;
+ }
+};
\ No newline at end of file
| feat(leetcode): contest 43 | null | upupming/algorithm | MIT License | C++ |
@@ -113,6 +113,8 @@ const (
UsersResourceType = ResourceType("users") // 7
// MacrosResourceType gives permission to one or more macros.
MacrosResourceType = ResourceType("macros") // 8
+ // ScraperResourceType gives permission to one or more scrapers.
+ ScraperResourceType = ResourceType("scrapers") // 9
)
// AllResou... | feat(influxdb): add authorizer | null | influxdata/influxdb | MIT License | Go |
@@ -15,6 +15,8 @@ import Modal from '../../common/modal/Modal';
import ModalTheme from '../ledger/ModalTheme';
import TwoFactorVerifyInput from './TwoFactorVerifyInput';
+const TOO_MANY_REQUESTS_STATUS = 429;
+
const Form = styled.form`
display: flex;
flex-direction: column;
@@ -101,7 +103,12 @@ const TwoFactorVerifyMo... | feat(2fa): Close 2FA modal on failed resend | null | near/near-wallet | MIT License | JavaScript |
@@ -11,6 +11,8 @@ import android.widget.LinearLayout
import android.widget.RelativeLayout
import io.clappr.player.R
import io.clappr.player.base.*
+import io.clappr.player.base.keys.Action
+import io.clappr.player.base.keys.Key
import io.clappr.player.components.Core
import io.clappr.player.components.Playback
import i... | feat(media_control): show media control when supported external key was pressed | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -50,8 +50,8 @@ open class MediaControl(core: Core, pluginName: String = name) : UICorePlugin(co
val entry = PluginEntry.Core(name = name, factory = { core -> MediaControl(core) })
}
- private val defaultShowDuration = 300L
- private val longShowDuration = 3000L
+ protected val defaultShowDuration = 300L
+ protected ... | feat: open show duration time to allow customization | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -62,7 +62,12 @@ impl InputFormatTSV {
err_msg = Some(format_column_error(column_index, col_data, &e.message()));
break;
};
- // todo(youngsofun): check remaining data
+ reader.ignore_white_spaces().expect("must success");
+ if reader.must_eof().is_err() {
+ err_msg =
+ Some(format_column_error(column_index, col_data... | feat(tsv): check ending of field | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -25,6 +25,10 @@ class V06 extends Filter {
$parsedResponse = $this->parseCollection($content);
break;
+ case Response::MODEL_COLLECTION_LIST:
+ $parsedResponse = $this->parseCollectionList($content);
+ break;
+
case Response::MODEL_FILE :
$parsedResponse = $this->parseFile($content);
break;
@@ -104,6 +108,14 @@ clas... | feat: parse collection list | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -40,6 +40,7 @@ public class QueryOptions extends GenericModel {
private String similarDocumentIds;
private String similarFields;
private String bias;
+ private Boolean spellingSuggestions;
private Boolean xWatsonLoggingOptOut;
/**
@@ -67,6 +68,7 @@ public class QueryOptions extends GenericModel {
private String simi... | feat(Discovery): Add spellingSuggestions param to QueryOptions | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -18,8 +18,6 @@ package com.b2international.snowowl.snomed.datastore;
import static com.b2international.snowowl.snomed.core.domain.refset.SnomedRefSetType.COMPLEX_BLOCK_MAP;
import static com.b2international.snowowl.snomed.core.domain.refset.SnomedRefSetType.COMPLEX_MAP;
import static com.b2international.snowowl.snom... | feat(snomed): Support "map to" reference sets in SnomedRefSetUtil | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
+#!/bin/bash
+#
+# Builds GoShimmer with the latest git tag and commit hash (short)
+# E.g.: ./goshimmer -v --> GoShimmer 0.3.0-f3b76ae4
+
+latest_tag=$(git describe --tags $(git rev-list --tags --max-count=1))
+commit_hash=$(git rev-parse --short HEAD)
+
+go build -ldflags="-s -w -X github.com/iotaledger/goshimmer/plu... | feat: Add script to build with the latest git tag and commit | null | iotaledger/goshimmer | Apache License 2.0 | Shell |
@@ -9,6 +9,10 @@ if [ "$1" == "staging" ]; then
HOST="owid-staging"
PREFIX="staging"
+elif [ "$1" == "explorer" ]; then
+ HOST="owid-staging"
+ PREFIX="explorer"
+
elif [ "$1" == "live" ]; then
HOST="owid-live"
PREFIX="live"
| feat: allow deploying to 'explorer' staging site | null | owid/owid-grapher | MIT License | Shell |
@@ -3643,6 +3643,23 @@ FORCE_INLINE int64_t _mm_popcnt_u64(uint64_t a)
#endif
}
+// Macro: Transpose the 4x4 matrix formed by the 4 rows of single-precision
+// (32-bit) floating-point elements in row0, row1, row2, and row3, and store the
+// transposed matrix in these vectors (row0 now contains column 0, etc.).
+// ht... | feat: Implement _MM_TRANSPOSE4_PS macro | null | dltcollab/sse2neon | MIT License | C |
@@ -98,6 +98,12 @@ module.exports = async (env, spinner, config) => {
}
await asyncForEach(templates, async file => {
+ // Add file source and destination paths to current config
+ config.build.current.file = {
+ source: path.extname(source) ? source : `${source}/${path.basename(file)}`,
+ destination: file
+ }
+
const... | feat: current file source and destination paths | null | maizzle/framework | MIT License | JavaScript |
@@ -33,12 +33,23 @@ void layer_status_init() {
void set_layer_symbol(lv_obj_t *label) {
int active_layer_index = zmk_keymap_highest_layer_active();
- char text[6] = {};
LOG_DBG("Layer changed to %i", active_layer_index);
+
+ const char *layer_label = zmk_keymap_layer_label(active_layer_index);
+ if (layer_label == NULL... | feat(display): Show layer label in widget | null | zmkfirmware/zmk | MIT License | C |
@@ -43,8 +43,7 @@ use core::sync::atomic::{AtomicU32, Ordering};
use mmledger::Access;
use primordial::{Address, Offset, Page};
-use sallyport::guest::Handler as _;
-use sallyport::guest::{self, Platform, ThreadLocalStorage};
+use sallyport::guest::{self, syscall, Handler as _, Platform, ThreadLocalStorage};
use sallyp... | feat(shim-sgx): implement correct exit() | null | enarx/enarx | Apache License 2.0 | Rust |
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
+import 'package:mailto/mailto.dart';
import 'package:openfoodfacts/utils/OpenFoodAPIConfiguration.dart';
import 'package:smooth_app/data_models/user_preferences.dart';
import 'package:smooth_app/generic_lib/buttons/sm... | feat: - added a "delete account" option | null | openfoodfacts/smooth-app | Apache License 2.0 | Dart |
@@ -630,17 +630,26 @@ parse_access_path_value(
{
char * const start_pos = pos, * const end_pos = pos + size,
* next_pos = NULL;
-
+ int len = 0;
ASSERT_S('(' == *pos || '.' == *pos, "expecting '(' or '.'");
+ char begin_c = *pos;
pos ++;
- while (*pos && pos < end_pos) {
- if (')' == *pos || '.' == *pos) break;
+ while... | feat: a better syntax error check | null | cee-studio/orca | MIT License | C |
@@ -403,6 +403,10 @@ func main() {
}
defer fsConn.Close()
+ if cfg.GetString(exporter.ConfigKeyPushAddr) == "" {
+ cfg.SetString(exporter.ConfigKeyPushAddr, "cfs-push.oppo.local")
+ }
+
exporter.Init(ModuleName, cfg)
exporter.RegistConsul(super.ClusterName(), ModuleName, cfg)
| feat: set default push addr for oppo | null | chubaofs/chubaofs | Apache License 2.0 | Go |
@@ -101,11 +101,15 @@ $app->group('/' . $admin_route, function () use ($app) : void {
// ApiController
$app->get('/api', 'ApiController:index')->setName('admin.api.index');
- $app->get('/api/tokens', 'ApiController:tokensIndex')->setName('admin.api_tokens.index');
- $app->get('/api/tokens/add', 'ApiController:add')->se... | feat(admin-plugin): update for API's routes | null | flextype/flextype | MIT License | PHP |
@@ -253,13 +253,22 @@ class Forge extends \CodeIgniter\Database\Forge
case 'NUMERIC':
$attributes['TYPE'] = 'NUMBER';
return;
+ case 'DOUBLE':
+ $attributes['TYPE'] = 'FLOAT';
+ $attributes['CONSTRAINT'] = $attributes['CONSTRAINT'] ?? 126;
+ return;
case 'DATETIME':
+ case 'TIME':
$attributes['TYPE'] = 'DATE';
return;
... | feat: Fixed to store missing types in oracle | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -197,6 +197,13 @@ impl<I: KeyExchanger, R: KeyExchanger, E: NewKeyExchanger<I, R>> ChannelManager<
RouterAddress::from_address(channel.as_address()).unwrap(),
);
p.return_route = return_route;
+
+ // add the channel's remote public key as the message body
+ if let Some(completed_kex) = channel.completed_key_exchange... | feat(rust): add remote public key to the message body for completed kex | null | ockam-network/ockam | Apache License 2.0 | Rust |
+use ockam::message::Message;
+use ockam::node::WorkerContext;
+use ockam::worker::Worker;
+use ockam::Result;
+
+struct PrintWorker {}
+
+impl Worker<Message> for PrintWorker {
+ fn handle(&self, message: Message, _context: &mut WorkerContext) -> Result<bool> {
+ println!("{:#?}", message);
+ Ok(true)
+ }
+}
+
+#[ocka... | feat(rust): worker send example | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -15,35 +15,8 @@ echo "# RUNNING TESTS"
echo "################################################################################"
PIDS=""
-
-PACKAGES=$(ls ./packages/node_modules | grep -v @ciscospark)
-PACKAGES+=" "
-PACKAGES+="$(cd ./packages/node_modules/ && find @ciscospark -maxdepth 1 -type d | egrep -v @ciscospar... | feat(tooling): only run tests for updated code | null | webex/webex-js-sdk | MIT License | Shell |
@@ -849,3 +849,6 @@ def groupby_metric(iterable: typing.Dict[str, list], key: str):
for item in items:
records.setdefault(item[key], {}).setdefault(category, []).append(item)
return records
+
+def get_table_name(table_name: str) -> str:
+ return f"tab{table_name}" if not table_name.startswith("__") else table_name
| feat(utils): frappe.utils.get_table_name | null | frappe/frappe | MIT License | Python |
@@ -5,10 +5,64 @@ Skyra Project (https://github.com/skyra-project/skyra) team.
*/
import type { Handler } from '#lib/i18n/structures/Handler';
+import { ExtendedHandler as BgBgHandler } from './bg-BG/constants';
+import { ExtendedHandler as CsCzHandler } from './cs-CZ/constants';
+import { ExtendedHandler as DaDkHandle... | feat(langs): add language handlers for all supported languages | null | rtbyte/rtbyte | MIT License | TypeScript |
using Microsoft.Extensions.Logging;
using EventCodes = DasBlog.Services.ActivityLogs.EventCodes;
using DasBlog.Services.ActivityLogs;
+using Microsoft.Extensions.Caching.Memory;
namespace DasBlog.Web.Controllers
{
@@ -24,12 +25,15 @@ public class ArchiveController : DasBlogBaseController
private readonly IMapper mapper... | feat: add caching of archive into memory cache | null | poppastring/dasblog-core | MIT License | C# |
public static final String H264_RTX_PT_PNAME
= "org.jitsi.jicofo.H264_RTX_PT";
+ /**
+ * The name of the property which enables the inclusion of the
+ * framemarking RTP header extension in the offer.
+ */
+ public static final String ENABLE_FRAMEMARKING_PNAME
+ = "org.jitsi.jicofo.ENABLE_FRAMEMARKING";
+
/**
* The VP8... | feat: Adds the framemarking header extension | null | jitsi/jicofo | Apache License 2.0 | Java |
@@ -76,6 +76,14 @@ defmodule Ockam.Services.API do
400
end
+ def status_code(:unauthorized) do
+ 401
+ end
+
+ def status_code({:unauthorized, _reason}) do
+ 401
+ end
+
def status_code(:not_found) do
404
end
@@ -97,6 +105,10 @@ defmodule Ockam.Services.API do
error_message(data)
end
+ def error_message({:unauthorized,... | feat(elixir): support :unauthorized error in worker api | null | ockam-network/ockam | Apache License 2.0 | Elixir |
@@ -11,9 +11,9 @@ namespace Flextype\Support\Parsers\Shortcodes;
use Thunder\Shortcode\Shortcode\ShortcodeInterface;
-// Shortcode: [content_fetch id="entry-id" field="field-name" default="default-value"]
+// Shortcode: [entries_fetch id="entry-id" field="field-name" default="default-value"]
if (flextype('registry')->g... | feat(shortocodes): use entries instead of content | null | flextype/flextype | MIT License | PHP |
@@ -98,6 +98,8 @@ public class ExpandValueSetRequest {
// FHIR API Extension to allow cursor pased paging instead of offset+count
private final String after;
+ private final Boolean withHistorySupplements;
+
ExpandValueSetRequest(
Uri url,
ValueSet valueSet,
@@ -120,7 +122,8 @@ public class ExpandValueSetRequest {
Uri ... | feat(fhir): support `withHistorySupplements` in ExpandValueSetRequest | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -239,7 +239,6 @@ Status DBImpl::merge_files(const std::string& group_id, const meta::DateT& date,
LOG(DEBUG) << "New merged file " << group_file.file_id <<
" of size=" << group_file.rows;
- /* auto to_cache = zilliz::vecwise::cache::DataObj(std::make_shared<Index>(index)); */
zilliz::vecwise::cache::CpuCacheMgr::Get... | feat(db): cache for index | null | milvus-io/milvus | Apache License 2.0 | C++ |
import Foundation
open class Container: UIObject {
- var plugins: [UIContainerPlugin] = []
+ private(set) var plugins: [UIContainerPlugin] = []
@objc open var sharedData = SharedData()
@objc open var options: Options {
didSet {
| feat: make the setter private for the plugins array | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -42,11 +42,13 @@ func (m *Mssql) Analyze(s *schema.Schema) error {
}
s.Driver = d
- // tables
+ // tables and comments
tableRows, err := m.db.Query(`
-SELECT schema_name(schema_id) AS table_schema, name, object_id, type
-FROM sys.objects
-WHERE type IN ('U', 'V') ORDER BY object_id
+SELECT schema_name(schema_id) AS ... | feat: Support MSSQL Description for Table/Columns | null | k1low/tbls | MIT License | Go |
@@ -5,8 +5,11 @@ use itertools::Itertools;
/// A path stored as a collection of 0 or more directories and 0 or 1 file name
#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Debug, Default)]
pub struct DirsAndFileName {
- pub(crate) directories: Vec<PathPart>,
- pub(crate) file_name: Option<PathPart>,
+ /// Directory hier... | feat: make DirsAndFileName members public | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.