diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -88,7 +88,7 @@ def list_services(provider: str) -> set:
# Format: "providers.{provider}.services.{service}.{check_name}.{check_name}"
service_name = check_name.split(".")[3]
available_services.add(service_name)
- return available_services
+ return sorted(available_services)
def print_services(service_list: set):
| feat(services): Sort services alphabetically | null | toniblyx/prowler | Apache License 2.0 | Python |
@@ -24,6 +24,7 @@ bool is_extended_cjk(uint32_t ch)
(ch >= 0x2B740 && ch <= 0x2B81F) || // CJK Unified Ideographs Extension D
(ch >= 0x2B820 && ch <= 0x2CEAF) || // CJK Unified Ideographs Extension E
(ch >= 0x2CEB0 && ch <= 0x2EBEF) || // CJK Unified Ideographs Extension F
+ (ch >= 0x30000 && ch <= 0x3134F) || // CJK U... | feat(charset_filter): support CJK Unified Ideographs Extension G | null | rime/librime | BSD 3-Clause New or Revised License | C++ |
+package platform
+
+import (
+ "context"
+ "time"
+)
+
+// Session is a user session.
+type Session struct {
+ ID ID `json:"id"`
+ Key string `json:"key"`
+ CreatedAt time.Time `json:"createdAt"`
+ ExpiresAt time.Time `json:"expiresAt"`
+ UserID ID `json:"userID,omitempty"`
+ Permissions []Permission `json:"permission... | feat(platform): add session service | null | influxdata/influxdb | MIT License | Go |
@@ -296,6 +296,10 @@ class DBTConfig(StatefulIngestionConfigBase):
default=False,
description="Whether or not to strip email id while adding owners using dbt meta actions.",
)
+ enable_owner_extraction: bool = Field(
+ default=True,
+ description="When enabled, ownership info will be extracted from the dbt meta",
+ )
o... | feat(ingest): dbt - add `enable_owner_extraction` option | null | linkedin/datahub | Apache License 2.0 | Python |
@@ -142,6 +142,14 @@ func (sql *SQL) OrderBy(fields ...string) *SQL {
return sql
}
+// OrderByRaw set order by.
+func (sql *SQL) OrderByRaw(order string) *SQL {
+ if order != "" {
+ sql.Order += " " + order
+ }
+ return sql
+}
+
func (sql *SQL) GroupBy(fields ...string) *SQL {
if len(fields) == 0 {
panic("wrong group b... | feat(db): add OrderByRaw API | null | goadmingroup/go-admin | Apache License 2.0 | Go |
@@ -3,5 +3,6 @@ export default {
'Salesforce Commerce Cloud (beta)': 'https://github.com/ForkPoint/vsf-sfcc-template.git',
Shopify: 'https://github.com/vuestorefront/template-shopify.git',
'Spryker (beta)': 'https://github.com/spryker/vsf-theme.git',
- 'Magento 2 (beta)': 'https://github.com/vuestorefront/template-mage... | feat: add Vendure template beta to cli | null | vuestorefront/vue-storefront | MIT License | TypeScript |
@@ -561,6 +561,8 @@ class LibGraphqlParser:
Visitor.OUT,
self._create_visitor_element(libgraphql_type, element),
)
+ else:
+ context.continue_child = 1
def _set_callback(self, proto, func, attr):
c_func = self._ffi.callback(proto)(func)
| feat(cffi): set continue_child to 1 without executing exit callback on error node | null | tartiflette/tartiflette | MIT License | Python |
// Taken from https://github.com/tomusdrw/rust-web3/blob/master/src/types/block.rs
use crate::types::{Address, Bloom, Bytes, H256, U256, U64};
-use serde::{ser::SerializeStruct, Deserialize, Serialize, Serializer};
+use serde::{ser::SerializeStruct, Deserialize, Deserializer, Serialize, Serializer};
+use std::str::From... | feat: impl Deserialize for block number | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -10,6 +10,7 @@ import { withStyles } from '@material-ui/core/styles';
import { bankAccountsOperations, bankAccountsSelectors } from 'common/bank-accounts';
import { BankingDetailsPage } from './details-page';
import { incorporationsOperations, incorporationsSelectors } from 'common/incorporations';
+import config fr... | feat(marketplace): add validation on bank accounts | null | selfkeyfoundation/identity-wallet | MIT License | JavaScript |
@@ -4,6 +4,7 @@ export { default as de } from './de'
export { default as el } from './el'
export { default as en } from './en'
export { default as es } from './es'
+export { default as et } from './et'
export { default as fa } from './fa'
export { default as fr } from './fr'
export { default as hu } from './hu'
| feat(locale): add Estonian translation | null | vuetifyjs/vuetify | MIT License | TypeScript |
@@ -21,6 +21,8 @@ use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
+use function Thermage\div;
+use function Thermage\renderToString;
class CacheHasCommand extend... | feat(console): improve `cache:has` logic | null | flextype/flextype | MIT License | PHP |
@@ -140,6 +140,17 @@ public PacketTransformer getRTCPTransformer()
return rtcpTransformer;
}
+ /**
+ * Returns a boolean that indicates whether or not the destination
+ * endpoint supports RTX.
+ *
+ * @return true if the destination endpoint supports RTX, otherwise false.
+ */
+ public boolean destinationSupportsRtx()... | feat: Adds the RtxTransformer.destinationSupportsRtx() method | null | jitsi/libjitsi | Apache License 2.0 | Java |
@@ -37,7 +37,7 @@ class CreateTokenCommand extends Command
$access_token = generateToken();
$hashed_access_token = generateTokenHash($access_token);
- filesystem()->directory(PATH['project'] . '/entries/tokens')->ensureExists();
+ ! entries()->has('tokens') and entries()->create('tokens', ['title' => 'Tokens']);
if (en... | feat(console): update command `utils:create-token` | null | flextype/flextype | MIT License | PHP |
@@ -106,7 +106,11 @@ const ParentalLeaveTemplate: ApplicationTemplate<
actionCard: {
description: statesMessages.draftDescription,
},
- lifecycle: DefaultStateLifeCycle,
+ lifecycle: {
+ shouldBeListed: true,
+ shouldBePruned: true,
+ whenToPrune: 30 * 24 * 3600 * 1000, // 30 days
+ },
progress: 0.25,
roles: [
{
| feat(Parental-leave): Add 30 day expiration to draft state | null | island-is/island.is | MIT License | TypeScript |
@@ -80,9 +80,21 @@ function serverPostConstructor(shim) {
}
} else if (route.options) {
// v17 now prefers `options` property...
+ if (route.options.pre) {
+ // config objects can also contain multiple OTHER handlers in a `pre` array
+ for (var i = 0; i < route.options.pre.length; ++i) {
+ route.options.pre[i] = wrapPr... | feat(hapi): add support for hapi v17 | null | newrelic/node-newrelic | Apache License 2.0 | JavaScript |
@@ -22,26 +22,28 @@ defmodule Logflare.SqlTest do
test "transform table names" do
Sandbox.unboxed_run(Logflare.Repo, fn ->
user = insert(:user)
- source = insert(:source, user: user, name: "my_table") |> IO.inspect()
+ source = insert(:source, user: user, name: "my_table")
query = "select val from my_table where my_tab... | feat: updated query transform testes for quoting | null | logflare/logflare | Apache License 2.0 | Elixir |
+<?php
+
+beforeEach(function() {
+ filesystem()->directory(PATH['project'] . '/entries/media')->ensureExists(0755, true);
+ filesystem()->directory(PATH['project'] . '/uploads/media')->ensureExists(0755, true);
+});
+
+afterEach(function (): void {
+ filesystem()->directory(PATH['project'] . '/entries/media')->delete(... | feat(tests): add tests for Media API | null | flextype/flextype | MIT License | PHP |
@@ -3,6 +3,7 @@ import de from './de.json';
import en from './en.json';
import es from './es.json';
import fr from './fr.json';
+import hr from "./hr.json";
import it from './it.json';
import ja from './ja.json';
import my from './my.json';
@@ -24,6 +25,7 @@ export default {
en,
es,
fr,
+ hr,
it,
ja,
my,
| feat: add Croatian translation | null | payloadcms/payload | MIT License | TypeScript |
@@ -21,17 +21,12 @@ waybar::ALabel::ALabel(const Json::Value& config, const std::string format, uint
}
// configure events' user commands
- if (config_["on-click"].isString()) {
+ if (config_["on-click"].isString() || config_["on-click-right"].isString()) {
event_box_.add_events(Gdk::BUTTON_PRESS_MASK);
event_box_.sign... | feat(Label): on-click-right | null | alexays/waybar | MIT License | C++ |
@@ -139,7 +139,11 @@ class HomePage extends ScrollablePage {
const SizedBox(height: 22.0),
IconButton(
onPressed: () {
- showDialog(context: context, builder: (context) => const Changelog());
+ showDialog(
+ context: context,
+ barrierDismissible: true,
+ builder: (context) => const Changelog(),
+ );
},
icon: Column(
c... | feat: make changelog dialog barrier dismissible | null | bdlukaa/fluent_ui | BSD 3-Clause New or Revised License | Dart |
@@ -69,6 +69,9 @@ class TripletLoss(object):
Triplet sampling strategy.
per_label : int, optional
Number of sequences per speaker in each batch. Defaults to 3.
+ label_min_duration : float, optional
+ Remove speakers with less than `label_min_duration` seconds of speech.
+ Defaults to 0 (i.e. keep them all).
per_fold :... | feat: add support for new "label_min_duration" parameter | null | pyannote/pyannote-audio | MIT License | Python |
+<?php
+
+declare(strict_types=1);
+
+test('test registry_get shortcode', function () {
+ $this->assertEquals('Flextype',
+ flextype('shortcode')->process('[registry_get name="flextype.manifest.name"]'));
+ $this->assertEquals('default-value',
+ flextype('shortcode')->process('[registry_get name="item-name" default="de... | feat(tests): add tests for Shortcode registry_get | null | flextype/flextype | MIT License | PHP |
@@ -52,6 +52,14 @@ namespace acl
static constexpr compressed_tracks_version16 version_supported() { return compressed_tracks_version16::any; }
};
+ //////////////////////////////////////////////////////////////////////////
+ // These settings disable database usage.
+ ///////////////////////////////////////////////////... | feat(database): add a database settings struct to disable database usage | null | nfrechette/acl | MIT License | C |
@@ -393,6 +393,13 @@ export const COLLECTION_DATA = [
damage: 0,
maxTier: 9,
},
+ {
+ type: "combat",
+ skyblockId: "CHILI_PEPPER",
+ name: "Chili Pepper",
+ texture: "f859c8df1109c08a756275f1d2887c2748049fe33877769a7b415d56eda469d8c",
+ maxTier: 9,
+ },
{
type: "foraging",
| feat: add chili pepper to collections | null | skycryptwebsite/skycrypt | MIT License | JavaScript |
@@ -9,7 +9,7 @@ declare(strict_types=1);
namespace Flextype\Support\Serializers;
-use Flextype\Component\Arrays\Arrays;
+use Atomastic\Arrays\Arrays;
use Atomastic\Strings\Strings;
use function array_slice;
@@ -68,7 +68,7 @@ class Frontmatter
{
if (isset($input['content'])) {
$content = $input['content'];
- Arrays::del... | feat(Frontmatter): use Atomastic Components | null | flextype/flextype | MIT License | PHP |
@@ -34,7 +34,7 @@ pub struct Client {
/// Client that executes HTTP requests
client: reqwest::Client,
/// Etherscan API key
- api_key: String,
+ api_key: Option<String>,
/// Etherscan API endpoint like <https://api(-chain).etherscan.io/api>
etherscan_api_url: Url,
/// Etherscan base endpoint like <https://etherscan.io>... | feat(etherscan): Allow `ClientBuilder` to create `Client` without API key | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -11,8 +11,8 @@ module Course::UsersControllerManagementConcern
def update
@course_user.assign_attributes(course_user_params)
- # Recompute personal timeline if algorithm changed
- update_personalized_timeline_for_user(@course_user) if @course_user.timeline_algorithm_changed?
+
+ update_personalized_timeline_for_user... | feat(users_controller): recompute pers. t'line if ref. t'line changes | null | coursemology/coursemology2 | MIT License | Ruby |
@@ -61,6 +61,8 @@ class SpeakerDiarization(object):
See pyannote.audio.signal.Peak.apply(). Defaults to 1.
cls__min_cluster_size, cls__min_samples, cls__metric : optional
See pyannote.audio.embedding.clustering.Clustering
+ normalize : boolean, optional
+ Normalize embeddings before clustering. Defaults to not normaliz... | feat: add "normalize" option to SpeakerDiarization pipeline | null | pyannote/pyannote-audio | MIT License | Python |
@@ -120,6 +120,8 @@ open class Player: UIViewController, BaseObject {
Event.didFindSubtitle.rawValue, Event.didFindAudio.rawValue,
Event.didSelectSubtitle.rawValue, Event.didSelectAudio.rawValue,])
+ Loader.shared.register(plugins: externalPlugins)
+
setCore(with: options)
bindPlaybackEvents()
| feat: register external plugins | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -31,6 +31,7 @@ defmodule Ash.Resource do
defmacro __using__(_opts) do
quote do
@before_compile Ash.Resource
+ @after_compile Ash.Resource
@behaviour Ash.Resource
Ash.Resource.define_resource_module_attributes(__MODULE__)
@@ -52,6 +53,36 @@ defmodule Ash.Resource do
Module.put_attribute(mod, :description, nil)
end
+ ... | feat: add `after_compile` and validate primary key | null | ash-project/ash | MIT License | Elixir |
@@ -15,12 +15,12 @@ from weakref import WeakSet
import numpy as np
from megengine.autodiff.grad_manager import GradManager, get_backwarding_grad_manager
-from megengine.device import get_default_device, get_device_count
from ..core._imperative_rt.core2 import apply
from ..core.ops.builtin import ParamPackConcat, ParamP... | feat(mge/distributed): deprecate get_device_count_by_fork | null | megengine/megengine | Apache License 2.0 | Python |
@@ -568,8 +568,11 @@ func NewBee(addr string, swarmAddress swarm.Address, publicKey ecdsa.PublicKey,
pullSyncProtocol := pullsync.New(p2ps, pullStorage, pssService.TryUnwrap, validStamp, logger)
b.pullSyncCloser = pullSyncProtocol
+ var pullerService *puller.Puller
+ if o.FullNodeMode {
pullerService := puller.New(stat... | feat: disable lightnodes puller | null | ethersphere/bee | BSD 3-Clause New or Revised License | Go |
package middleware
import (
+ "fmt"
"net/http"
gateway "github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1"
@@ -20,8 +21,12 @@ func PublicShareAuth(opts ...Option) func(next http.Handler) http.Handler {
return func(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
- ... | feat(public-token): get public-token from query string | null | owncloud/ocis | Apache License 2.0 | Go |
@@ -7,6 +7,8 @@ const regexTime = /\b((0?[0-9]|1[0-2])(:[0-5][0-9])?(am|pm)|([01]?[0-9]|2[0-3]):
const regexPhone = /(\d?[^\s\w]*(?:\(?\d{3}\)?\W*)?\d{3}\W*\d{4})/gi;
const regexHashtag = /(#[a-zA-Z0-9]+,? *)*#[a-zA-Z0-9_/-]+/gi;
const regexNumber = /[+-]?([0-9]*[.])?[0-9]+/g;
+const regexDate = /(\d{4}\-\d{2}\-\d{2}|\... | feat: regex for Date | null | axa-group/nlp.js | MIT License | JavaScript |
@@ -50,6 +50,7 @@ pub use lease::*;
pub use ockam_core::compat;
pub use ockam_core::println;
pub use ockam_core::worker;
+pub use ockam_core::AsyncTryClone;
pub use ockam_entity::*;
pub use protocols::*;
pub use remote_forwarder::*;
| feat(rust): expose async_try_clone from ockam crate | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -27,11 +27,12 @@ import com.jcabi.xml.XML;
import com.jcabi.xml.XMLDocument;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
-import java.nio.file.Files;
import java.nio.file.Path;
+import java.nio.file.Paths;
import org.cactoos.bytes.BytesOf;
import org.cactoos.bytes.UncheckedBytes;
import org... | feat(#1442): use Home object instead of Files | null | cqfn/eo | MIT License | Java |
@@ -10,10 +10,10 @@ declare(strict_types=1);
namespace Flextype\Console\Commands\Entries;
use Symfony\Component\Console\Command\Command;
-use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Conso... | feat(console): use args for EntriesCreateCommand | null | flextype/flextype | MIT License | PHP |
@@ -15,7 +15,7 @@ namespace Discord
/// <summary>
/// Gets or sets the time for this timestamp tag.
/// </summary>
- public DateTime Time { get; set; }
+ public DateTimeOffset Time { get; set; }
/// <summary>
/// Converts the current timestamp tag to the string representation supported by discord.
@@ -26,11 +26,11 @@ n... | feat: Add FromDateTimeOffset in TimestampTag | null | discord-net/discord.net | MIT License | C# |
@@ -158,7 +158,12 @@ public extension PublicKey {
return try PublicKey(data: hash)
}
- private static func isOnCurve(publicKeyBytes: Data) -> Int {
+ static func isOnCurve(publicKey: String) -> Int {
+ guard let data = try? Base58.decode(publicKey) else { return 0 }
+ return isOnCurve(publicKeyBytes: Data(data))
+ }
+
... | feat: make isOnCurve public | null | p2p-org/solana-swift | MIT License | Swift |
@@ -79,8 +79,16 @@ public class Flow extends Task implements RunnableTask<Flow.Output> {
title = "Wait the end of the execution.",
description = "By default, we don't wait till the end of the flow, if you set to true, we wait the end of the trigger flow before continue this one."
)
- @PluginProperty(dynamic = true)
- p... | feat(tasks): add a property transmitFailed on task Flow to failed the main flow | null | kestra-io/kestra | Apache License 2.0 | Java |
@@ -107,7 +107,13 @@ const signupPageSchema: ISchema = {
},
};
-export const useSignup = () => {
+export interface UseSignupProps {
+ message?: {
+ success?: string;
+ };
+}
+
+export const useSignup = (props?: UseSignupProps) => {
const history = useHistory();
const form = useForm();
const api = useAPIClient();
@@ -11... | feat(useSignup): customize success message | null | nocobase/nocobase | Apache License 2.0 | TypeScript |
@@ -88,6 +88,9 @@ APP_GRP_SEC_POL_ELEM = "<application><member>{app_group_name}</member></applicat
URL_PROF_XPATH = "{config_xpath}/profiles/url-filtering/entry[@name='{url_profile_name}']"
URL_PROF_ELEM = "<description>Created by Phantom for Panorama</description><action>block</action><block-list><member>{url}</member... | feat: Add consts for blockUrls | null | phantomcyber/phantom-apps | Apache License 2.0 | Python |
@@ -118,8 +118,10 @@ func (conf *Configuration) ParseFolder() (err error) {
conf.clear()
// Copy any new or updated schemes out of the assets into storage
+ assetsFolders := make(map[string]struct{})
if conf.assets != "" {
err = common.IterateSubfolders(conf.assets, func(dir string, _ os.FileInfo) error {
+ assetsFolde... | feat: during irma_configuration parsing, remove folders not present in assets | null | privacybydesign/irmago | Apache License 2.0 | Go |
@@ -21,11 +21,24 @@ import Foundation
*/
public struct Parties: Codable, Equatable {
+ /**
+ A string that identifies the importance of the party.
+ */
+ public enum Importance: String {
+ case primary = "Primary"
+ case unknown = "Unknown"
+ }
+
/**
A string identifying the party.
*/
public var party: String?
+ /**
+ ... | feat(CompareComplyV1): Add `importance` to Parties | null | watson-developer-cloud/swift-sdk | Apache License 2.0 | Swift |
@@ -123,7 +123,7 @@ public final class RemoteJob extends Job {
.build();
}
- LOG.error("Error encountered while executing remote job", e);
+ LOG.error("Error encountered while executing remote job '{}'", id, e);
this.response = toJson(mapper, apiError);
// XXX: Don't delete remote jobs with errors
autoClean = false;
| feat(core.jobs): Add job ID to log message | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -94,6 +94,8 @@ namespace PeanutButter.Utils
/// <param name="encoding">Encoding to use</param>
public static void WriteString(this Stream stream, string data, Encoding encoding)
{
+ if (string.IsNullOrEmpty(data))
+ return;
var bytes = encoding.GetBytes(data);
stream.Write(bytes, 0, bytes.Length);
}
| feat: {Stream}.WriteString() should ignore null values | null | fluffynuts/peanutbutter | BSD 3-Clause New or Revised License | C# |
@@ -317,7 +317,7 @@ function createRuntimeServer(string $functionId, string $projectId, string $depl
Console::success('Runtime server is ready to run');
}
} catch (\Throwable $th) {
- var_dump($th->getTraceAsString());
+ Console::error($th->getMessage());
$orchestrationPool->put($orchestration ?? null);
throw $th;
}
| feat: replace var_dump | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -55,6 +55,15 @@ def prepare_shortcuts(data):
for item in data:
new_item = item.as_dict().copy()
new_item['name'] = _(item.link_to)
+ if ((item.type=="DocType" and item.link_to in user.can_read)
+ or (item.type=="Page" and item.link_to in allowed_pages)
+ or (item.type=="Report" and item.link_to in allowed_reports)
+... | feat: allow pages for shortcut | null | frappe/frappe | MIT License | Python |
@@ -22,9 +22,10 @@ import static com.google.cloud.pubsublite.internal.UncheckedApiPreconditions.che
import com.google.api.gax.rpc.ApiException;
import com.google.cloud.pubsublite.PublishMetadata;
import com.google.cloud.pubsublite.internal.Publisher;
+import com.google.cloud.pubsublite.internal.wire.PartitionCountWatch... | feat: Allow Pub/Sub Lite Sink to support increasing partitions | null | apache/beam | Apache License 2.0 | Java |
@@ -102,6 +102,7 @@ func NewV2(stream io.Writer, config Config) (Modular, error) {
logger.SetFormatter(&logrus.TextFormatter{
DisableTimestamp: !config.AddTimeStamp,
QuoteEmptyFields: true,
+ FullTimestamp: config.AddTimeStamp,
})
default:
return nil, fmt.Errorf("log format '%v' not recognized", config.Format)
| feat: opt log timestamp show | null | jeffail/benthos | MIT License | Go |
@@ -51,6 +51,7 @@ load_object_sha(char *str, size_t len, void *ptr)
{
fprintf(stderr, "%.*s\n", (int)len, str);
json_extract(str, len, "(object.sha):?s", ptr);
+ fprintf(stderr, "extracted sha %s\n", *(char **)ptr);
}
static void
@@ -58,6 +59,7 @@ load_sha(char *json, size_t len, void *ptr)
{
fprintf(stderr, "%.*s\n", ... | feat: add more debugging info | null | cee-studio/orca | MIT License | C++ |
@@ -14,8 +14,10 @@ import frappe.model.meta
from frappe import _
from time import time
-from frappe.utils import now, getdate, cast, get_datetime, get_table_name
+from frappe.utils import now, getdate, cast, get_datetime
from frappe.model.utils.link_count import flush_local_link_count
+from frappe.query_builder.functio... | feat: added aggregation using build_conditions | null | frappe/frappe | MIT License | Python |
@@ -807,14 +807,17 @@ void run_test_st(Args &env) {
parser.feed(path);
}
auto inputs = parser.inputs;
+ if (inputs.size() > 1) {
for (auto& i : inputs) {
- if (tensormap.find(i.first) == tensormap.end()) {
- continue;
- }
+ mgb_assert(tensormap.find(i.first) != tensormap.end());
auto& in = tensormap.find(i.first)->seco... | feat(load_and_run): feat --input parameter | null | megengine/megengine | Apache License 2.0 | C++ |
@@ -18,7 +18,6 @@ use function count;
use function find_filter;
use function ltrim;
use function md5;
-use function rename;
use function rtrim;
use function str_replace;
@@ -205,7 +204,7 @@ class Entries
$this->storage['move']['id'] = $id;
$this->storage['move']['new_id'] = $new_id;
- // Run event: onEntryRename
+ // R... | feat(entries): typo code update | null | flextype/flextype | MIT License | PHP |
@@ -1266,11 +1266,13 @@ class OverloadedMethod:
self._name = name
self._owner = owner
self.methods: Dict = {}
+ self.natspec: Dict = {}
def _add_fn(self, abi: Dict, natspec: Dict) -> None:
fn = _get_method_object(self._address, abi, self._name, self._owner, natspec)
key = tuple(i["type"].replace("256", "") for i in abi... | feat: `info` for overloaded method | null | eth-brownie/brownie | MIT License | Python |
@@ -28,14 +28,14 @@ public class TravelTimeReducer {
* after results have been calculated) */
private int maxTripDurationMinutes;
- private boolean retainTravelTimes;
+ private boolean calculateAccessibility;
- /** Reduced travel time results. May be null if we're only recording accessibility. */
- private TravelTimeRe... | feat(points): calculate accessibility for freeform origins | null | conveyal/r5 | MIT License | Java |
@@ -24,7 +24,9 @@ import org.slf4j.LoggerFactory
abstract class CodeEvent(
open val repoKey: String,
open val targetBranch: String,
- open val pullRequestId: String? = null
+ open val pullRequestId: String? = null,
+ open val authorName: String? = null,
+ open val authorEmail: String? = null
) {
abstract val type: Stri... | feat(scm): Add author metadata to code events | null | spinnaker/keel | Apache License 2.0 | Kotlin |
@@ -59,10 +59,11 @@ class Key extends Model
'example' => '919c2d18fb5d4...a2ae413da83346ad2',
])
->addRule('accessedAt', [
- 'type' => self::TYPE_INTEGER,
+ 'type' => self::TYPE_DATETIME_EXAMPLE,
'description' => 'Most recent access date in Unix timestamp.',
'default' => null,
- 'example' => '1653990687',
+ 'default' =... | feat: update response model | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
-import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs";
-import { sync } from "gzip-size";
-import { rollup } from "rollup";
-import cleanup from "rollup-plugin-cleanup";
-import { minify, MinifyOptions } from "terser";
-
-const camelCase = (x: string) =>
- x.replace(/\-+(\w)/g, (_, c) => c.toUpperCas... | feat(tools): update module-stats tool | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
return [
+ /*
+ |--------------------------------------------------------------------------
+ | Audit implementation
+ |--------------------------------------------------------------------------
+ |
+ | Define which Audit model implementation should be used.
+ |
+ */
+
+ 'implementation' => OwenIt\Auditing\Models\Audit... | feat(Configuration): add Audit implementation setting | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -393,12 +393,12 @@ class WebhooksCustomServerTest extends Scope
/**
* @depends testUpdateFunction
*/
- public function testCreateTag($data):array
+ public function testCreateDeployment($data):array
{
/**
* Test for SUCCESS
*/
- $tag = $this->client->call(Client::METHOD_POST, '/functions/'.$data['functionId'].'/tags'... | feat: update WebhooksCustomServerTest | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
import i18next from 'i18next'
import { initReactI18next } from 'react-i18next'
+import { Lang } from './translation'
import unitsTranslations from './units.yaml'
-export type AvailableLangs = 'fr' | 'en'
-
i18next
.use(initReactI18next)
.init({
- resources: {
- fr: { units: unitsTranslations.fr },
- en: { units: unitsT... | feat(i18n): add units translation | null | datagir/nosgestesclimat-site | MIT License | TypeScript |
@@ -3286,9 +3286,7 @@ export default class Meeting extends StatelessWebexPlugin {
return MeetingUtil.validateOptions(options)
.then(() => {
- if (!this.mediaProperties.peerConnection) {
this.mediaProperties.setMediaPeerConnection(MediaUtil.createPeerConnection());
- }
this.setMercuryListener();
PeerConnectionManager.se... | feat(meetings): added fix for addMedia issue pre media request | null | webex/webex-js-sdk | MIT License | JavaScript |
@@ -69,8 +69,7 @@ export default {
])
},
- getProp (h, prop, propName, onlyChildren, level = 0) {
- debugger
+ getProp (h, prop, propName, level, onlyChildren) {
const type = getStringType(prop.type)
const child = []
@@ -141,7 +140,7 @@ export default {
const nodes = []
for (let propName in prop.definition) {
nodes.pus... | feat(docs): Small tweaks to Card API design | null | quasarframework/quasar | MIT License | JavaScript |
@@ -136,7 +136,6 @@ public class ConfigDescriptor {
config.MAX_K = Integer.parseInt(properties.getProperty("MAX_K", config.MAX_K+""));
config.LAMBDA = Double.parseDouble(properties.getProperty("LAMBDA", config.LAMBDA+""));
config.IS_RANDOM_TIMESTAMP_INTERVAL = Boolean.parseBoolean(properties.getProperty("IS_RANDOM_TIME... | feat(BaseClient): add ops control of BaseClient | null | thulab/iot-benchmark | Apache License 2.0 | Java |
@@ -5,6 +5,7 @@ import (
"bytes"
"io"
"io/fs"
+ "os"
"path"
"sort"
"strings"
@@ -71,7 +72,7 @@ func (fsys FS) Open(name string) (fs.File, error) {
if name == "." {
elem = "."
for fname, f := range fsys {
- i := strings.Index(fname, "/")
+ i := strings.Index(fname, string(os.PathSeparator))
if i < 0 {
list = append(list... | feat: support windows paths in embedded templates FS | null | knative/func | Apache License 2.0 | Go |
@@ -86,19 +86,23 @@ impl ServiceInitializer for MempoolSyncInitializer {
let base_node = handles.expect_handle::<LocalNodeCommsInterface>();
let mut status_watch = state_machine.get_status_info_watch();
- if !status_watch.borrow().bootstrapped {
- debug!(target: LOG_TARGET, "Waiting for node to bootstrap...");
+ if !st... | feat: mempool sync wait for node initial sync | null | tari-project/tari | BSD 3-Clause New or Revised License | Rust |
@@ -34,6 +34,7 @@ public class Splash {
public static final int DEFAULT_SHOW_DURATION = 3000;
public static final boolean DEFAULT_AUTO_HIDE = true;
public static final boolean DEFAULT_SPLASH_FULL_SCREEN = false;
+ public static final boolean DEFAULT_SPLASH_IMMERSIVE = false;
private static ImageView splashImage;
privat... | feat(android): Add immersive configuration to Splash | null | ionic-team/capacitor | MIT License | Java |
@@ -79,6 +79,7 @@ QLocale LanguageLoader::localeFromString(const QString &lang)
{ "Polish", QLocale::Polish },
{ "Portuguese", QLocale::Portuguese },
{ "Russian", QLocale::Russian },
+ { "Vietnamese", QLocale::Vietnamese },
{ "Spanish", QLocale::Spanish }
};
if (languages.contains(lang)) {
| feat: add Vietnamese locale support | null | bionus/imgbrd-grabber | Apache License 2.0 | C++ |
@@ -190,7 +190,7 @@ func NewSocketCollector(pod, namespace, class string, metricsPerHost bool, bucke
Namespace: PrometheusNamespace,
ConstLabels: constLabels,
},
- []string{"ingress", "namespace", "status", "service", "canary"},
+ requestTags,
),
bytesSent: prometheus.NewHistogramVec(
| feat(metrics): add path and method labels to requests counter | null | kubernetes/ingress-nginx | Apache License 2.0 | Go |
@@ -17,7 +17,7 @@ pub mod heap;
use sgx::parameters::{Attributes, Features, Xfrm};
-const DEBUG: bool = false;
+const DEBUG: bool = cfg!(feature = "dbg");
/// FIXME: doc
pub const ENCL_SIZE_BITS: u8 = 31;
| feat(shim-sgx): use dbg feature | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -215,7 +215,7 @@ type ListIssuesOptions struct {
Scope *string `url:"scope,omitempty" json:"scope,omitempty"`
AuthorID *int `url:"author_id,omitempty" json:"author_id,omitempty"`
NotAuthorID *[]int `url:"not[author_id],omitempty" json:"not[author_id],omitempty"`
- AssigneeID *int `url:"assignee_id,omitempty" json:"a... | feat: initial setup for allowing 'none' and 'any' AssigneeID, tackling | null | xanzy/go-gitlab | Apache License 2.0 | Go |
@@ -27,6 +27,8 @@ const EnterpriseContactPage = () => {
/>
<div className="max-w-xl px-4 mx-auto my-16 md:my-20 lg:my-24 xl:my-32">
+ <h2 className="block pb-16 text-center h2">Contact Enterprise Sales</h2>
+
<EnterpriseContactForm />
</div>
</DefaultLayout>
| feat: add header to contact enterprise page | null | supabase/supabase | Apache License 2.0 | TypeScript |
@@ -223,8 +223,9 @@ def install_app(context, apps):
@click.command('list-apps')
+@click.option('--only-apps', is_flag=True)
@pass_context
-def list_apps(context):
+def list_apps(context, only_apps):
"List apps in site"
import click
titled = False
@@ -237,6 +238,9 @@ def list_apps(context):
frappe.connect()
apps = sorte... | feat: Show apps excluding frappe using --only-apps | null | frappe/frappe | MIT License | Python |
@@ -261,7 +261,9 @@ open class InteractionRunner<I>(
val methods = findStateChangeMethod(state, testTarget.getStateHandlers())
if (methods.isEmpty()) {
return Fail(MissingStateChangeMethod("MissingStateChangeMethod: Did not find a test class method annotated " +
- "with @State(\"${state.name}\")"))
+ "with @State(\"${s... | feat: add interaction description and consumer name to output when an expected state change cannot be found | null | pact-foundation/pact-jvm | Apache License 2.0 | Kotlin |
package org.eolang.maven;
import com.jcabi.log.Logger;
+import com.jcabi.log.Supplier;
import com.jcabi.xml.XML;
import com.jcabi.xml.XMLDocument;
import com.yegor256.tojos.Tojo;
@@ -33,7 +34,6 @@ import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Collection;
import java.util.List;
-import java.uti... | feat(#1347): calculate done instead of using a separate field | null | cqfn/eo | MIT License | Java |
@@ -9,6 +9,16 @@ open class UICorePlugin: SimpleCorePlugin, UIPlugin {
}
}
+ #if os(tvOS)
+ func updateFocus(userInfo: EventUserInfo) {
+ core?.trigger(.requestFocusUpdate, userInfo: userInfo)
+ }
+
+ func updateFocus() {
+ core?.trigger(.requestFocusUpdate)
+ }
+ #endif
+
open func render() {
NSException(name: NSExcep... | feat: introduce updateFocus in UICorePlugin | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -78,8 +78,6 @@ class CollectReviews(api.InstancePlugin):
file_dir = os.path.dirname(file_path)
file = os.path.basename(file_path)
ext = os.path.splitext(file)[-1][1:]
- handleStart = rev_inst.data.get("handleStart")
- handleEnd = rev_inst.data.get("handleEnd")
# change label
instance.data["label"] = "{0} - {1} - ({2... | feat(nks): adjusting collect review for cutting | null | pypeclub/openpype | MIT License | Python |
@@ -61,6 +61,7 @@ function convertToGeocodeJSON(req, res, next, opts) {
res.body.geocoding.query = req.clean;
// remove arrays produced by the tokenizer (only intended to be used internally).
+ delete res.body.geocoding.query.tokens;
delete res.body.geocoding.query.tokens_complete;
delete res.body.geocoding.query.token... | feat(geocodeJSON): remove geocoding.query.tokens array | null | pelias/api | MIT License | JavaScript |
@@ -712,6 +712,11 @@ export const talismans = {
rarity: "epic",
texture: "/head/89cbbbe7ed0356d5846596c4ad1cfa9fa719db1c4568f3f7f0c7979e7a401208",
},
+ PULSE_RING: {
+ name: "Pulse Ring",
+ rarity: "uncommon",
+ texture: "/head/e5ebf6f14301d3ebd14533587d2a2d48234433b17c9d2f13934b7cab458ee267",
+ },
};
// Getting Unique... | feat: add pulse ring talisman | null | skycryptwebsite/skycrypt | MIT License | JavaScript |
@@ -63,6 +63,25 @@ public extension OrcaSwap {
}
extension OrcaSwap.Pool {
+ // MARK: - Public methods
+ public func getMinimumAmountOut(
+ inputAmount: UInt64,
+ slippage: Double
+ ) throws -> UInt64? {
+ let estimatedOutputAmount = try getOutputAmount(fromInputAmount: inputAmount)
+ return UInt64(Float64(estimatedOut... | feat: public methods | null | p2p-org/solana-swift | MIT License | Swift |
@@ -6,6 +6,7 @@ import Grid from "@material-ui/core/Grid";
import Typography from "@material-ui/core/Typography";
import { withStyles } from "@material-ui/core/styles";
import trackProductViewed from "lib/tracking/trackProductViewed";
+import Button from "@reactioncommerce/components/Button/v1";
import CartSummary from... | feat: add a load more button to load more cart items | null | reactioncommerce/example-storefront | Apache License 2.0 | JavaScript |
import Foundation
+// TODO: Fix this to user enums or session object
struct AWSCognitoAuthCredential: Codable {
public let userPoolTokens: AWSCognitoUserPoolTokens?
public let identityId: String?
| feat: adding TODO to fix credential store return type | null | aws-amplify/amplify-ios | Apache License 2.0 | Swift |
@@ -24,8 +24,8 @@ then
export CONFIGURE_ARGS_FOR_ANY_PLATFORM="${CONFIGURE_ARGS_FOR_ANY_PLATFORM} --disable-warnings-as-errors"
fi
-# jdk-19 and above support reproducible builds
-if [[ "${JAVA_FEATURE_VERSION}" -ge 19 ]]
+# jdk-17 and jdk-19+ support reproducible builds
+if [[ "${JAVA_FEATURE_VERSION}" -ge 19 || "${JA... | feat: enable reproducible build for jdk17 | null | adoptium/temurin-build | Apache License 2.0 | Shell |
@@ -37,7 +37,10 @@ class BotStartShutdownListener(container: Container) : AbstractListener(containe
VoiceUtil.resumeMusic(event, container)
logger.info("Started music clients")
}
+ TaskManager.async {
container.serviceManager.startSlowservices()
+ logger.info("Slow Services ready")
+ }
}
}
}
| feat: load slow services async and send log when finished | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -113,7 +113,9 @@ class Scrubber implements ScrubberInterface
return;
}
- if (isset($fields[strtolower($key)])) {
+ // $key may be an integer (proper), such as when scrubbing
+ // backtraces -- coerce to string to satisfy strict types
+ if (isset($fields[strtolower((string)$key)])) {
$val = $replacement;
} else {
$va... | feat: satisfy key normalization for integer keys | null | rollbar/rollbar-php | MIT License | PHP |
@@ -61,7 +61,11 @@ class MoleculePagination extends Component {
</AtomButtom>
)}
{range.map((page, index) => (
- <AtomButtom key={index} onClick={e => window.alert('clicked A')}>
+ <AtomButtom
+ key={index}
+ focused={page === currentPage}
+ onClick={e => window.alert('clicked A')}
+ >
{page}
</AtomButtom>
))}
| feat(molecule/pagination): current page | null | sui-components/sui-components | MIT License | JavaScript |
+/**
+ * \file imperative/src/include/megbrain/imperative/graph_builder.h
+ * MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
+ *
+ * Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the... | feat(subgraph): add graph builder | null | megengine/megengine | Apache License 2.0 | C |
import { Typography } from '@mui/material';
import React from 'react';
+import _ from 'lodash/fp';
import { withUnigraphSubscription } from '../../unigraph-react';
import { AutoDynamicView } from '../../components/ObjectView/AutoDynamicView';
import { NavigationContext } from '../../utils';
@@ -13,15 +14,14 @@ function... | feat(tags): alphabetical order | null | unigraph-dev/unigraph-dev | MIT License | TypeScript |
@@ -405,15 +405,6 @@ App::patch('/v1/functions/:functionId/deployments/:deploymentId')
'trigger' => 'schedule',
]); // Async task rescheduale
}
-
- // Enqueue a message to start the build
- Resque::enqueue(Event::BUILDS_QUEUE_NAME, Event::BUILDS_CLASS_NAME, [
- 'projectId' => $project->getId(),
- 'functionId' => $funct... | feat: do not enque build | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -116,15 +116,17 @@ class ElementManager {
return _eventTargets.containsKey(id);
}
- void removeTarget(int targetId) {
- assert(targetId != null);
- _eventTargets.remove(targetId);
+ void removeTarget(Node target) {
+ assert(target.targetId != null);
+ removeChildrenTarget(target);
+ _eventTargets.remove(target.targe... | feat: modify removeChildrenTarget | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -182,7 +182,9 @@ namespace Blazorise.DataGrid
var editedCellValues = EditableColumns
.Select( c => new { c.Field, editItemCellValues[c.ElementId].CellValue } ).ToDictionary( x => x.Field, x => x.CellValue );
- if ( IsSafeToProceed( RowSaving, editItem, editedCellValues ) )
+ var rowSavingHandler = editState == DataG... | feat: added RowInserting and RowUpdating event handlers for DataGrid | null | stsrki/blazorise | MIT License | C# |
import Foundation
-class MediaControl: UICorePlugin, UIGestureRecognizerDelegate {
+open class MediaControl: UICorePlugin, UIGestureRecognizerDelegate {
override var view: UIView {
didSet {
@@ -33,7 +33,7 @@ class MediaControl: UICorePlugin, UIGestureRecognizerDelegate {
return core?.activePlayback
}
- var plugins: [Me... | feat: open MediaControl and expose MediaControl plugins | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -64,15 +64,31 @@ ProcessResult ChordComposer::ProcessFunctionKey(const KeyEvent& key_event) {
return kNoop;
}
+// Note: QWERTY layout only.
+static const char map_to_base_layer[] = {
+ " 1'3457'908=,-./"
+ "0123456789;;,=./"
+ "2abcdefghijklmno"
+ "pqrstuvwxyz[\\]6-"
+ "`abcdefghijklmno"
+ "pqrstuvwxyz[\\]`"
+};
+
+... | feat(chord_composer): support chording with Shift keys | null | rime/librime | BSD 3-Clause New or Revised License | C++ |
import { IPlugin } from '@alib/build-scripts';
-const plugin: IPlugin = ({ onGetWebpackConfig }) => {
+const plugin: IPlugin = ({ onGetWebpackConfig, registerUserConfig }) => {
+ registerUserConfig({
+ name: 'moduleFederation',
+ validation: 'object',
+ async configWebpack(config, value, context) {
+ const { ModuleFede... | feat: support moduleFederation | null | alibaba/ice | MIT License | TypeScript |
@@ -164,7 +164,7 @@ class FormController extends Controller
// Go through all sections and create nav items
foreach ($fieldset['sections'] as $key => $section) {
- $form .= '<a href="javascript:;" class="block opacity-90 p-2 pl-4 hover:bg-dark-muted hover:opacity-100 tabs__nav__link ' . ($key === 'main' ? 'tabs__nav__l... | feat(form-plugin): update styles for tabs navigation | null | flextype/flextype | MIT License | PHP |
@@ -728,7 +728,7 @@ func (c *EKSCluster) GetK8sUserConfig() ([]byte, error) {
k8sutil.CreateAuthInfoFunc(func(clusterName string) *clientcmdapi.AuthInfo {
return &clientcmdapi.AuthInfo{
Exec: &clientcmdapi.ExecConfig{
- APIVersion: "client.authentication.k8s.io/v1alpha1",
+ APIVersion: "client.authentication.k8s.io/v1b... | feat: updated EKS kubeconfig auth apiversion | null | banzaicloud/pipeline | Apache License 2.0 | Go |
@@ -26,7 +26,7 @@ class TotalDimension(BaseModel):
class TotalsStep(BaseStep):
name = Field('totals', const=True)
total_dimensions: List[TotalDimension] = Field(alias='totalDimensions')
- aggregations: Sequence[Aggregation] = Field(min_items=1)
+ aggregations: Sequence[Aggregation]
groups: List[ColumnName] = Field(min_... | feat(templating pandas steps): added many tests | null | toucantoco/weaverbird | BSD 3-Clause New or Revised License | Python |
protocol FullscreenStateHandler {
- var core: Core? { get set }
+ var core: Core? { get }
init(core: Core)
func enterInFullscreen(_: EventUserInfo)
func exitFullscreen(_: EventUserInfo)
@@ -15,7 +15,7 @@ struct FullscreenByApp: FullscreenStateHandler {
guard let core = core else {
return
}
- // external event of fullsc... | feat: throw event when enter and exit fullscreen | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
#include "Options.h"
#include "Env.h"
#include "DBMetaImpl.h"
+#include "Exception.h"
namespace zilliz {
namespace vecwise {
@@ -46,24 +47,29 @@ void ArchiveConf::ParseCritirias(const std::string& criterias) {
LOG(WARNING) << "Invalid ArchiveConf Criterias: " << token << " Ignore!";
continue;
}
+ try {
auto value = std... | feat(db): add exception | null | milvus-io/milvus | 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.