diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -221,6 +221,53 @@ public class MuteTest
unmuteParticipant1AndCheck();
}
+ /**
+ * Run MuteAfterJoinCanShareAndUnmute in both p2p and jvb mode.
+ */
+ @Test(dependsOnMethods = {"muteParticipant1BeforeParticipant2Joins"})
+ public void MuteAfterJoinCanShareAndUnmute()
+ {
+ muteParticipant1BeforeParticipant2JoinsAndSc... | feat: Add MuteAfterJoinCanShareAndUnmute test | null | jitsi/jitsi-meet-torture | Apache License 2.0 | Java |
+//
+// Copyright Amazon.com Inc. or its affiliates.
+// All Rights Reserved.
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+
+import Foundation
+#if canImport(UIKit)
+import UIKit
+#elseif canImport(WatchKit)
+import WatchKit
+#elseif canImport(IOKit)
+import IOKit
+#endif
+#if canImport(AppKit)
+import AppKit
+#end... | feat(Core): Implementing DeviceInfo | null | aws-amplify/amplify-ios | Apache License 2.0 | Swift |
@@ -13,6 +13,17 @@ export const TAX_TREATIES_API_ENDPOINT = `${config.airtableBaseUrl}TaxTreaties${
isDevMode() ? 'Dev' : ''
}`;
+// Helper function to evenly distribute in time expensive background processing.
+// This avoids blocking the event loop, and should be used when we are expecting
+// to parse and process a ... | feat: background map processing | null | selfkeyfoundation/identity-wallet | MIT License | JavaScript |
@@ -526,8 +526,13 @@ type EditProjectOptions struct {
PrintingMergeRequestLinkEnabled *bool `url:"printing_merge_request_link_enabled,omitempty" json:"printing_merge_request_link_enabled,omitempty"`
CIConfigPath *string `url:"ci_config_path,omitempty" json:"ci_config_path,omitempty"`
ApprovalsBeforeMerge *int `url:"app... | feat(projects): add missing values to edit options | null | xanzy/go-gitlab | Apache License 2.0 | Go |
@@ -34,6 +34,7 @@ class WebViewContainer extends StatefulWidget {
}
class _WebViewContainerState extends State<WebViewContainer> {
+ UserDataProvider _userDataProvider;
WebViewController _webViewController;
double _contentHeight = cardContentMinHeight;
bool active;
@@ -104,6 +105,7 @@ class _WebViewContainerState exten... | feat: add refreshToken channel to webcard_container | null | ucsd/campus-mobile | MIT License | Dart |
@@ -484,7 +484,12 @@ public class LinkedPointSet implements Serializable {
}
TransitLayer transitLayer = streetLayer.parentNetwork.transitLayer;
int nStops = transitLayer.getStopCount();
- LambdaCounter counter = new LambdaCounter(LOG, nStops, 1000,
+ int logFrequency = 1000;
+ if (streetMode == StreetMode.CAR) {
+ // ... | feat(LinkedPointSet): change logging frequency based on street mode | null | conveyal/r5 | MIT License | Java |
@@ -104,6 +104,11 @@ class GameTester<T extends Game> {
String description,
VerifyFunction<T> verify, {
String? skip,
+ String? testOn,
+ Timeout? timeout,
+ dynamic tags,
+ Map<String, dynamic>? onPlatform,
+ int? retry,
}) {
flutter_test.test(
description,
@@ -112,6 +117,11 @@ class GameTester<T extends Game> {
await... | feat: add options to flutter test | null | flame-engine/flame | MIT License | Dart |
use std::sync::Arc;
-use bstr::ByteSlice;
-use common_exception::ErrorCode;
use common_exception::Result;
use common_expression::Column;
use common_expression::DataBlock;
@@ -57,10 +55,9 @@ pub fn block_to_json_value(
for column in &columns {
buf.clear();
encoder.write_field(column, row_index, &mut buf, true);
- row.pu... | feat: http handler not check utf8 when serialize results | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -147,3 +147,42 @@ impl<T: 'static + Send + serde::Serialize> IntoResponse for Json<T> {
.unwrap()
}
}
+
+impl <S: 'static> Extract<S> for String {
+ type Fut = FutureObj<'static, Result<Self, Response>>;
+
+ fn extract(
+ data: &mut S,
+ req: &mut Request,
+ params: &RouteMatch<'_>,
+ ) -> Self::Fut {
+ let mut body... | feat: parsing body reqeusts to String and Vec<u8> seems to be working | null | http-rs/tide | Apache License 2.0 | Rust |
@@ -33,7 +33,7 @@ func toSQL(ctx *planningContext, op abstract.PhysicalOperator) sqlparser.SelectS
func buildQuery(op abstract.PhysicalOperator, qb *queryBuilder) {
switch op := op.(type) {
case *tableOp:
- qb.addTable(op.qtable.Table.Name.String())
+ qb.addTable(op.qtable.Table.Name.String(), op.qtable.Alias.As.String... | feat: store table aliases in tableOp | null | vitessio/vitess | Apache License 2.0 | Go |
@@ -22,13 +22,13 @@ JSDocumentFragment::JSDocumentFragment(JSContext *context) : JSNode(context) {}
JSObjectRef JSDocumentFragment::instanceConstructor(JSContextRef ctx, JSObjectRef constructor, size_t argumentCount,
const JSValueRef *arguments, JSValueRef *exception) {
auto instance = new DocumentFragmentInstance(this... | feat: doocument fragment instance should be set flag of IsDocumentFragment | null | openkraken/kraken | Apache License 2.0 | C++ |
+#include <iostream>
+using namespace std;
+
+int t;
+string s;
+
+int solve() {
+ int n = s.length();
+ int k = 0, ans = 0;
+ for (int i = 0; i < n; i++) {
+ if (s.substr(i, 4) == "KICK") k++;
+ if (s.substr(i, 5) == "START") ans += k;
+ }
+ return ans;
+}
+
+int main() {
+ cin >> t;
+ for (int i = 1; i <= t; i++) {
+... | feat: review kick start round g | null | upupming/algorithm | MIT License | C++ |
@@ -155,6 +155,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
$sdk
->setName($language['name'])
+ ->setNamespace('io appwrite')
->setDescription("Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very... | feat: added namespace | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -34,19 +34,26 @@ emitter()->addListener('onEntriesFetchSingleDirectives', static function (): voi
$field = strings(strings($field)->replace('@type:boolean', '')->trim())->toBoolean();
} elseif (strings($field)->contains('@type:bool')) {
$field = strings(strings($field)->replace('@type:bool', '')->trim())->toBoolean(... | feat(diretives): add `json` type and logic upd for `array` type | null | flextype/flextype | MIT License | PHP |
@@ -61,6 +61,7 @@ func (rf *RecipeFilterRunner) RunFilter(ctx context.Context, r *types.OpenInstal
}
}
+ rf.installStatus.RecipeDetected(*r)
return false
}
@@ -71,7 +72,6 @@ func (rf *RecipeFilterRunner) RunFilterAll(ctx context.Context, r []types.OpenIn
filtered := rf.RunFilter(ctx, &recipe, m)
if !filtered {
- rf.ins... | feat: detected status for targeted install | null | newrelic/newrelic-cli | Apache License 2.0 | Go |
@@ -289,10 +289,17 @@ public class SessionIdService {
currentStep = StringHelper.toInteger(sessionAttributes.get("auth_step"), currentStep);
}
+ if (resetToStep <= currentStep) {
for (int i = resetToStep; i <= currentStep; i++) {
String key = String.format("auth_step_passed_%d", i);
sessionAttributes.remove(key);
}
+ }... | feat: custom script: skip step for authentication flow | null | gluufederation/oxauth | MIT License | Java |
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-from __future__ import division
+from __future__ import division, print_function
from collections import deque
from datetime import timedelta
from math import ceil
from sys import ... | feat: update vendored progress library from 1.2 to 1.5 | null | nerdvegas/rez | Apache License 2.0 | Python |
@@ -67,7 +67,7 @@ class BaseValidator {
if (action[paramName] && typeof action[paramName] === "object") {
const check = self.compile(action[paramName]);
return function validateContextParams(ctx) {
- let res = check(ctx.params != null ? ctx.params : {});
+ let res = check(ctx.params != null ? ctx.params : {}, { meta: c... | feat(validator): add meta in check | null | moleculerjs/moleculer | MIT License | JavaScript |
@@ -42,16 +42,16 @@ pub struct Config {
db_name: OrgAndBucket,
/// The requested start time (inclusive) of the time-range (also accepts RFC3339 format).
- #[clap(long, default_value = "-9223372036854775806", parse(try_from_str = parse_range))]
- start: i64,
+ #[clap(global = true, long, default_value = "-92233720368547... | feat: make stop/stop/predicate global | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -405,7 +405,7 @@ plugin.ogc.wfs.WFSLayerConfig.prototype.getParser = function(options) {
var typeConfig = this.getBestType(options);
var im = os.ui.im.ImportManager.getInstance();
var type = typeConfig.type;
- var parser = im.getParser(type);
+ var parser = im.getParser(type, options);
// special case handling
if (t... | feat(avro): pass options to parser so avro can get layer id | null | ngageoint/opensphere | Apache License 2.0 | JavaScript |
@@ -62,6 +62,7 @@ export class HttpServer extends RunnableModule {
}
for (const service of this.#dependencies.services) {
this.app.use(`/${service.slug}`, service.router);
+ this.logger.debug(`Using /${service.slug}`);
}
}
| feat(cardano-services): log services HTTP server is using | null | input-output-hk/cardano-js-sdk | Apache License 2.0 | TypeScript |
@@ -46,6 +46,7 @@ int read_key_content(char* key_ptr)
{
return -1;
}
+ BoatLog(BOAT_LOG_VERBOSE, "Current key type is native");
}
else
{
@@ -54,6 +55,7 @@ int read_key_content(char* key_ptr)
{
return -1;
}
+ BoatLog(BOAT_LOG_VERBOSE, "Current key type is PKCS");
}
len = read(fd, key_ptr, 1024);
if (len < 0)
| feat: Adds printing that currently uses the KEY type | null | aitos-io/boat-x-framework | Apache License 2.0 | C |
@@ -28,7 +28,7 @@ public ManagedStorageProvider(Window parent, ManagedFileDialogOptions? managedOp
public override async Task<IReadOnlyList<IStorageFile>> OpenFilePickerAsync(FilePickerOpenOptions options)
{
var model = new ManagedFileChooserViewModel(options, _managedOptions);
- var results = await Show(model, _parent... | feat(Dialogs): Address rule CA1822 | null | avaloniaui/avalonia | MIT License | C# |
@@ -96,6 +96,7 @@ func (c *githubClient) CreateRelease(ctx *context.Context, body string) (int64,
var data = &github.RepositoryRelease{
Name: github.String(title),
TagName: github.String(ctx.Git.CurrentTag),
+ TargetCommitish: github.String(ctx.Git.Commit),
Body: github.String(body),
Draft: github.Bool(ctx.Config.Relea... | feat: Create new tags for GitHub release | null | goreleaser/goreleaser | MIT License | Go |
@@ -13,6 +13,13 @@ var _ platform.UsageService = (*UsageService)(nil)
var defaultMatcher = pr.NewMatcher().
Family("influxdb_info").
Family("influxdb_uptime_seconds").
+ Family("influxdb_organizations_total").
+ Family("influxdb_buckets_total").
+ Family("influxdb_users_total").
+ Family("influxdb_tokens_total").
+ Fam... | feat(telemetry): add boltdb resource counts to telemetry collection | null | influxdata/influxdb | MIT License | Go |
@@ -11,6 +11,10 @@ namespace Flextype\Endpoints;
use Psr\Http\Message\ResponseInterface;
+use function count;
+use function registry;
+use function serializers;
+
class Endpoints
{
/**
@@ -31,7 +35,7 @@ class Endpoints
404 => [
'title' => 'Not Found',
'message' => 'Not Found',
- ]
+ ],
];
/**
@@ -63,6 +67,7 @@ class En... | feat(endpoints): update base Endpoints class | null | flextype/flextype | MIT License | PHP |
@@ -192,7 +192,7 @@ public void installTemplate(
@Argument("versionType") ServiceVersionType versionType,
@Argument("version") ServiceVersion serviceVersion,
@Flag("force") boolean forceInstall,
- @Flag("caches") Boolean caches,
+ @Flag("no-cache") boolean noCache,
@Flag("executable") @Quoted String executable
) {
var ... | feat(node): Invert cache flag for the template installer | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -14,6 +14,7 @@ import (
const (
defaultKeyAlgorithm = certv1.RSAKeyAlgorithm
+ defaultKeySize = 4096
)
type certificateEncryption struct {
@@ -28,6 +29,7 @@ func (r *Registry) GetCertificates(ctx context.Context) []*certv1.Certificate {
url := r.harbor.Spec.PublicURL
encryption := &certificateEncryption{
+ KeySize: ... | feat(certificate): use 4096 as default key size and use PKCS1 encoding | null | goharbor/harbor-operator | Apache License 2.0 | Go |
@@ -37,6 +37,7 @@ import org.gluu.oxauth.service.external.ExternalApplicationSessionService;
import org.gluu.oxauth.service.external.ExternalEndSessionService;
import org.gluu.oxauth.service.external.context.EndSessionContext;
import org.gluu.oxauth.util.ServerUtil;
+import org.gluu.oxauth.util.TokenHashUtil;
import or... | feat(oxauth): end session - if id_token is expired but signature is correct, we should make attempt to look up session by "sid" claim | null | gluufederation/oxauth | MIT License | Java |
@@ -73,7 +73,10 @@ use crate::{
peer_manager::NodeId,
proto,
protocol::{
- rpc::{body::BodyBytes, message::RpcResponse},
+ rpc::{
+ body::BodyBytes,
+ message::{RpcMethod, RpcResponse},
+ },
ProtocolEvent,
ProtocolId,
ProtocolNotification,
@@ -509,7 +512,7 @@ where
let decoded_msg = proto::rpc::RpcRequest::decode(&mut ... | feat(comms/rpc): log method id | null | tari-project/tari | BSD 3-Clause New or Revised License | Rust |
@@ -472,15 +472,34 @@ namespace acl
const uint32_t z32 = uint32_t(vector_u64);
return _mm_castsi128_ps(_mm_set_epi32(x32, z32, y32, x32));
-#elif defined(ACL_NEON_INTRINSICS)
+#elif defined(ACL_NEON64_INTRINSICS) && defined(__clang__) && __clang_major__ == 3 && __clang_minor__ == 8
+ // Clang 3.8 has a bug in its codeg... | feat(vector4): optimize vector3 96 bit unpacking | null | nfrechette/acl | MIT License | C |
@@ -80,7 +80,7 @@ func validateClientConfig(configuration *config.ConfigurationStruct) errors.Edge
}
func checkDependencyServices(ctx context.Context, startupTimer startup.Timer, dic *di.Container) bool {
- var dependencyList = []string{clients.CoreDataServiceKey, clients.CoreMetaDataServiceKey}
+ var dependencyList = ... | feat: remove coredata dependency | null | edgexfoundry/device-sdk-go | Apache License 2.0 | Go |
using namespace acl;
#if defined(ACL_USE_SJSON) && defined(ACL_HAS_ASSERT_CHECKS)
-void validate_transform_tracks(const acl::acl_impl::debug_track_writer& reference, const acl::acl_impl::debug_track_writer& tracks, float quat_error_threshold, float vec3_error_threshold)
+void validate_transform_tracks(const acl::acl_im... | feat(tools): improve regression test logging | null | nfrechette/acl | MIT License | C++ |
@@ -11,7 +11,7 @@ import { map } from "@thi.ng/transducers/xform/map";
import { Mat23 } from "@thi.ng/vectors/mat23";
// for testing SVG conversion
-import { serialize } from "@thi.ng/hiccup";
+import { COMMENT, serialize } from "@thi.ng/hiccup";
import { convertTree } from "@thi.ng/hiccup-svg/convert";
import { svg } ... | feat(examples): add SVG export comment to hdom-canvas-shapes | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
+from abc import ABC, abstractmethod
+from typing import Optional
+
+
+class GasABC(ABC):
+ pass
+
+
+class SimpleGasStrategy(GasABC):
+ @abstractmethod
+ def get_gas_price(self) -> int:
+ raise NotImplementedError
+
+
+class BlockGasStrategy(GasABC):
+
+ block_duration = 2
+
+ def __init__(self, block_duration: int = ... | feat: gas strategy abc's | null | eth-brownie/brownie | MIT License | Python |
+use std::convert::TryFrom;
+
+// A `Transcoders` describes behaviour to encode and decode from one scalar type
+// to another.
+//
+// All scalar encodings within the Read Buffer require a `Transcoder`
+// implementation to define how data should be encoded before they store it and
+// how they should decode it before... | feat: add transcoder trait | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -340,6 +340,11 @@ class CookieManager:
def set_cookie(self, key, value, expires=None, secure=False, httponly=False, samesite="Lax"):
if not secure and hasattr(frappe.local, 'request'):
secure = frappe.local.request.scheme == "https"
+
+ # Cordova does not work with Lax
+ if frappe.local.session.data.device == "mobil... | feat: set samesite noen for mobile | null | frappe/frappe | MIT License | Python |
@@ -880,6 +880,13 @@ export default Vue.extend({
// before filter is called the indicator is reset
this.userInputValue = true
+ if (
+ this.focused !== true &&
+ (this.hasDialog !== true || this.dialogFieldFocused === true)
+ ) {
+ this.__focus()
+ }
+
if (this.$listeners.filter !== void 0) {
this.inputTimer = setTimeo... | feat(QSelect): Autofocus when input is autofilled | null | quasarframework/quasar | MIT License | JavaScript |
@@ -148,8 +148,6 @@ class SwipeGestureRecognizer extends OneSequenceGestureRecognizer {
return isFling && (_globalVerticalDistanceMoved.abs() > kTouchSlop || _globalHorizontalDistanceMoved.abs() > kTouchSlop);
}
- Offset _getDeltaForDetails(Offset delta) => Offset(0.0, delta.dy);
-
final Map<int, VelocityTracker> _velo... | feat: rm _getDeltaForDetails | null | openkraken/kraken | Apache License 2.0 | Dart |
import { Api, RouteOptions } from './Api';
-import { FetchOptions, Filter, Func, Gateway, Id, Json, JsonValue, PageList, toPageList, Uri } from '../types';
-import { HttpStatus, RequestOptions, toPageOptions } from '../http';
+import { Func, Id, Json, JsonValue, PageList, Uri } from '../types';
+import { HttpStatus } f... | feat(services): updated RouteGateway, now inherits from ApiGateway | null | thisisagile/easy | MIT License | TypeScript |
@@ -305,6 +305,7 @@ func (s *Service) startInternalListener() {
continue
}
+ logger.Errorf("abandoning: %s", msg.err)
msg.state = &abandoning{Code: codeInternalError}
if err := s.handle(msg); err != nil {
| feat: log error in case of abandoning of credential issuing process | null | hyperledger/aries-framework-go | Apache License 2.0 | Go |
@@ -75,6 +75,8 @@ def maybe_start_new_plot(dir_cfg, sched_cfg, plotting_cfg):
if (youngest_job_age < global_stagger):
wait_reason = 'stagger (%ds/%ds)' % (
youngest_job_age, global_stagger)
+ elif len(jobs) > sched_cfg['global_max_jobs']:
+ wait_reason = 'max jobs (%d)' % sched_cfg['global_max_jobs']
else:
tmp_to_all_p... | feat: add global max jobs options | null | ericaltendorf/plotman | Apache License 2.0 | Python |
@@ -2,16 +2,19 @@ package cmd
import (
"fmt"
+ "os"
"strings"
+ "io/ioutil"
+ "path/filepath"
+
"github.com/controlplaneio/simulator-standalone/pkg/scenario"
sim "github.com/controlplaneio/simulator-standalone/pkg/simulator"
+ "github.com/olekukonko/tablewriter"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"git... | feat: format scenarios list into a matrix | null | kubernetes-simulator/simulator | Apache License 2.0 | Go |
@@ -802,12 +802,16 @@ int falco_init(int argc, char **argv)
falco_logger::set_time_format_iso_8601(config.m_time_format_iso_8601);
// log after config init because config determines where logs go
+ falco_logger::log(LOG_INFO, "Falco version " + std::string(FALCO_VERSION) + " (driver version " + std::string(DRIVER_VERSI... | feat(userspace/falco): print version at startup | null | falcosecurity/falco | Apache License 2.0 | C++ |
@@ -75,7 +75,7 @@ JSValueRef JSTemplateElement::TemplateElementInstance::getProperty(std::string &
}
JSTemplateElement::TemplateElementInstance::~TemplateElementInstance() {
-// delete m_content;
+ delete m_content;
}
} // namespace kraken::binding::jsc
| feat: delete document fragment of content | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -32,6 +32,7 @@ function git_submodule_update() {
git submodule update -f --init cppzmq
git submodule update -f --init OpenBLAS
git submodule update -f --init cpuinfo
+ git submodule update -f --init gflags
git submodule update -f --init MegRay
pushd MegRay/third_party >/dev/null
| feat(mgb/third_party): add gflags submodule | null | megengine/megengine | Apache License 2.0 | Shell |
@@ -5,7 +5,9 @@ import json
import subprocess
import ftrack_api
import logging
-from pype import pypelib
+import operator
+import re
+from pype import lib as pypelib
from app.api import Logger
log = Logger.getLogger(__name__)
@@ -13,7 +15,7 @@ log = Logger.getLogger(__name__)
class RVAction(BaseAction):
""" Launch RV a... | feat(rv): basic working version of rv action | null | pypeclub/openpype | MIT License | Python |
@@ -988,7 +988,7 @@ public class JdbcEventStore implements EventStore
sqlBuilder.append( RELATIONSHIP_IDS_QUERY );
}
- sqlBuilder.append( getExternalOrderQuery( params ) );
+ sqlBuilder.append( getOrderQuery( params ) );
return sqlBuilder.toString();
}
@@ -1069,12 +1069,22 @@ public class JdbcEventStore implements Even... | feat: Add ordering attribute column in select | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -115,7 +115,11 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options:
override val canPause: Boolean
get() = currentState == State.PLAYING ||
currentState == State.STALLED ||
- currentState == State.IDLE
+ currentState == State.IDLE &&
+ when (mediaType) {
+ MediaType.LIVE -> isDvrAvailab... | feat(dvr_exoplayer): can pause live video with dvr | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -10,6 +10,13 @@ class AuditableModelStub extends Model implements AuditableContract
{
use Auditable;
+ /**
+ * {@inheritdoc}
+ */
+ protected $casts = [
+ 'published' => 'bool',
+ ];
+
/**
* {@inheritdoc}
*/
@@ -41,4 +48,16 @@ class AuditableModelStub extends Model implements AuditableContract
{
$this->auditThreshol... | feat(AuditableModelStub): implement cast and accessor | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -257,6 +257,12 @@ impl<'a> From<(u8, &'a str)> for Address {
}
}
+impl From<(u8, String)> for Address {
+ fn from((tt, inner): (u8, String)) -> Self {
+ Self::from((tt, inner.as_str()))
+ }
+}
+
impl<'a> From<&'a [u8]> for Address {
fn from(inner: &'a [u8]) -> Self {
Self {
| feat(rust): add `From<(u8, String>)` implementation for `Address` | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -5,8 +5,8 @@ use crate::{rewrite, BinaryExpr, Predicate};
use datafusion::error::Result as DataFusionResult;
use datafusion::execution::context::ExecutionProps;
use datafusion::logical_plan::{
- lit, Column, DFField, DFSchema, Expr, ExprRewritable, ExprRewriter, ExprSchemable,
- ExprSimplifiable, Operator, SimplifyI... | feat: avoid copying schemas while simplifying exprs | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -78,7 +78,7 @@ const DateInfo = styled.div`
flex-shrink: 0;
width: 56px;
- background-color: ${event.date.backgroundColor};
+ background-color: ${event.date.backgroundColor.active};
`}
`;
| feat(event card): fix web component | null | gympass/yoga | MIT License | JavaScript |
@@ -42,8 +42,8 @@ class TransitiveDependenciesTest {
@ParameterizedTest
@CsvSource({
- "eo-math-dependencies-transient-dependency.json, false",
- "eo-math-dependencies-without-foreign.json, true"
+ "eo-math-dependencies-transient-dependency.json, true",
+ "eo-math-dependencies-without-foreign.json, false"
})
void selec... | feat(#934): fix tests | null | cqfn/eo | MIT License | Java |
@@ -489,6 +489,7 @@ App::post('/v1/execution')
Console::info('Executing Runtime: ' . $runtimeId);
+ $execution = [];
$executionStart = \microtime(true);
$stdout = '';
$stderr = '';
@@ -496,7 +497,6 @@ App::post('/v1/execution')
$errNo = -1;
$executorResponse = '';
- try {
$ch = \curl_init();
$body = \json_encode([
'pat... | feat: improve executor | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -16,7 +16,7 @@ use frame_support::{
PalletId,
};
use frame_system::{EnsureOneOf, EnsureRoot, RawOrigin};
-use orml_traits::parameter_type_with_key;
+use orml_traits::{parameter_type_with_key, MultiCurrency};
use sp_api::impl_runtime_apis;
use sp_core::{u32_trait::_1, OpaqueMetadata, H256};
use sp_runtime::{
@@ -30,6... | feat: enable reception of kint/kbtc over xcm | null | interlay/interbtc | Apache License 2.0 | Rust |
declare(strict_types=1);
-test('[url] shortcode', function () {
- registry()->set('flextype.settings.url', 'https://awilum.github.io/flextype');
+test('[getBaseUrl] shortcode', function () {
+ registry()->set('flextype.settings.base_url', 'https://awilum.github.io/flextype');
- $this->assertStringContainsString('https:... | feat(tests): add tests for [url] shortcode | null | flextype/flextype | MIT License | PHP |
@@ -350,10 +350,13 @@ class Plugins
{
// Get Plugins List
$plugins_list = [];
+
+ if (flextype('filesystem')->directory(PATH['project'] . '/plugins/')->exists()) {
foreach (flextype('filesystem')->find()->in(PATH['project'] . '/plugins/')->directories()->depth(0) as $plugin) {
$plugins_list[$plugin->getBasename()]['dir... | feat(plugins): fix issue with non exists plugins folder | null | flextype/flextype | MIT License | PHP |
@@ -160,19 +160,6 @@ public class AppShellRegistry implements Serializable {
}
}
- /**
- * @return {code null};
- *
- * @deprecated this method does not work, to get the application shell title,
- * use {code UI.getCurrent().getInternals().getAppShellTitle()} instead.
- */
- @Deprecated
- public String getTitle() {
- t... | feat: remove deprecated AppShellRegistry.getTitle() | null | vaadin/flow | Apache License 2.0 | Java |
-<button {{ $attributes->merge([
- 'type' => 'button',
+@php
+ $tag = $href ? 'a' : 'button';
+
+ $defaultAttributes = [
'wire:loading.attr' => 'disabled',
'wire:loading.class' => '!cursor-wait',
-]) }}>
+ ];
+
+ $href === null
+ ? $defaultAttributes['type'] = 'button'
+ : $defaultAttributes['href'] = $href;
+@endphp
+... | feat: add href on circle button | null | wireui/wireui | MIT License | PHP |
@@ -22,10 +22,10 @@ use mmarinus::{perms, Map, Shared};
use sallyport::host::{deref_aligned, deref_slice};
use sallyport::item;
use sallyport::item::enarxcall::sgx::{Report, TargetInfo};
-use sallyport::item::enarxcall::Payload;
use sallyport::item::{Block, Item};
use sgx::enclu::{EENTER, EEXIT, ERESUME};
use sgx::ssa:... | feat(backend/sgx): handle `exit` and `exit_group` differently | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -16,6 +16,7 @@ export class Dev extends Entity {
static readonly Sander = new Dev({ id: 3, name: 'Sander', level: 3, certificates: [Certificate.ScrumMaster] });
static readonly Wouter = new Dev({ id: 4, name: 'Wouter', level: 3 });
static readonly Rob = new Dev({ id: 5, name: 'Rob', level: 3 });
+ static readonly Eu... | feat(services): Added Eugen to Dev. :) | null | thisisagile/easy | MIT License | TypeScript |
@@ -4,7 +4,6 @@ import me.melijn.melijnbot.database.scripts.Script
import me.melijn.melijnbot.internals.command.AbstractCommand
import me.melijn.melijnbot.internals.command.CommandCategory
import me.melijn.melijnbot.internals.command.ICommandContext
-import me.melijn.melijnbot.internals.command.RunCondition
import me.m... | feat: ScriptsCommand.kt is no longer premium locked | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -34,10 +34,6 @@ import org.cactoos.text.UncheckedText;
* Hash of tag from objectionary.
*
* @since 0.26
- * @todo #1382:90min We definitely have to split {@link org.eolang.maven.ChRemote} class to
- * a two different classes: ChRemote and ChCached - in that case we will able to remove
- * static methods and reuse Ch... | feat(#1397): remove puzzle | null | cqfn/eo | MIT License | Java |
@@ -15,9 +15,16 @@ export const createMenu = (
win: BrowserWindow,
store: Store<TypedStore>
): Menu => {
+ const isLinux = process.platform === 'linux';
const isDarwin = process.platform === 'darwin';
const helpSub: MenuItemConstructorOptions[] = [
+ {
+ label: i18next.t('support'),
+ click: async (): Promise<void> =>
... | feat: Updated the application menu for Linux | null | sprout2000/elephicon | MIT License | TypeScript |
@@ -158,7 +158,7 @@ export const Options: TabContainerPanelComponent<IConnectionFormTabProps> = obse
return styled(useStyles(styles, BASE_CONTAINERS_STYLES))(
<SubmittingForm ref={formRef} onChange={handleFormChange} onSubmit={form.save}>
- <ColoredContainer wrap horizontal overflow parent flexFixed>
+ <ColoredContaine... | feat(core-connections): remove flexFixed | null | dbeaver/cloudbeaver | Apache License 2.0 | TypeScript |
@@ -992,6 +992,7 @@ impl<T> Drop for Channel<T> {
/// An error returned from the `try_send` method.
#[cfg(feature = "unstable")]
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
+#[derive(PartialEq, Eq)]
pub enum TrySendError<T> {
/// The channel is full but not disconnected.
Full(T),
@@ -1023,7 +1024,7 @@ impl<T> Dis... | feat: add PartialEq and Eq for channel Errors | null | async-rs/async-std | Apache License 2.0 | Rust |
package types
import (
+ "github.com/cosmos/cosmos-sdk/codec"
cdctypes "github.com/cosmos/cosmos-sdk/codec/types"
sdk "github.com/cosmos/cosmos-sdk/types"
@@ -20,4 +21,8 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) {
&SubmitPubKeyRequest{},
&SubmitSignatureRequest{},
)
+
+ registry.RegisterImplementa... | feat(multisig): register Multisig to ProtoMArshaler | null | axelarnetwork/axelar-core | Apache License 2.0 | Go |
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:provider/provider.dart';
+import 'package:smooth_app/data_models/user_preferences.dart';
import 'package:smooth_app/pages/inherited_data_manager.dart';
+import 'package:smooth_app/pages/preferences/user... | feat: 3657 - blue banner on bottom end when in "TEST ENV" | null | openfoodfacts/smooth-app | Apache License 2.0 | Dart |
@@ -59,17 +59,19 @@ void HTMLParser::parseProperty(ElementInstance* element, GumboElement * gumboEle
std::transform(strValue.begin(), strValue.end(), strValue.begin(), ::tolower);
JSValueRef valueRef = JSValueMakeString(m_context->context(), JSStringCreateWithUTF8CString(strValue.c_str()));
+ // Set property.
+ if (!el... | feat: deal with setPropety | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -72,6 +72,11 @@ public class DialInAudioTest
*/
private boolean userJoined = false;
+ /**
+ * The timestamp when we received an OK answer from the REST API request.
+ */
+ private long restAPIExecutionTS;
+
@Override
public boolean skipTestByDefault()
{
@@ -175,6 +180,7 @@ public class DialInAudioTest
{
if (!userJoi... | feat: Adds more states and timings | null | jitsi/jitsi-meet-torture | Apache License 2.0 | Java |
@@ -171,6 +171,18 @@ export class ApiTokenService {
return this.insertNewApiToken(createNewToken);
}
+ // TODO: Remove this service method after embedded proxy has been released in
+ // 4.16.0
+ public async createMigratedProxyApiToken(
+ newToken: Omit<IApiTokenCreate, 'secret'>,
+ ): Promise<IApiToken> {
+ validateAp... | feat: add method for migrating proxies without environment validation | null | unleash/unleash | Apache License 2.0 | TypeScript |
@@ -43,10 +43,18 @@ class NewsEmbed extends BaseEmbed {
} else {
value = value.length > 0 ? value : ['No News Currently'];
}
+ if (news.length === 1) {
+ this.title = `[${platform.toUpperCase()}] ${news.message}`;
+ this.fields = undefined;
+ this.footer.text = 'Published ';
+ this.timestamp = new Date(news.date);
+ th... | feat: update news embed to use better fields | null | wfcd/genesis | Apache License 2.0 | JavaScript |
@@ -32,6 +32,9 @@ namespace modules {
int m_tempwarn = 0;
int m_temp = 0;
int m_perc = 0;
+
+ // Whether or not to show units with the %temperature-X% tokens
+ bool m_units{true};
};
}
| feat(temp): Add units option | null | polybar/polybar | MIT License | C++ |
@@ -386,6 +386,7 @@ export interface SortOrderingItem {
export type SortOrdering = {
title: string
+ name: string
by: SortOrderingItem[]
}
export interface ConditionalPropertyCallbackContext {
| feat(types): add missing `name` to `SortOrdering` type | null | sanity-io/sanity | MIT License | TypeScript |
@@ -378,11 +378,13 @@ public:
void init() {
MGB_LOCK_GUARD(mtx);
if (!initialized) {
- auto acl_err = aclInit(nullptr);
+ const char* config_path =
+ MGB_GETENV("MGB_ATLAS_PROFILE_JSON");
+ auto acl_err = aclInit(config_path);
initialized = acl_err == ACL_ERROR_NONE;
mgb_throw_if(!initialized, AtlasError,
- "acl initia... | feat(atlas): add acl.json support, use for profile | null | megengine/megengine | Apache License 2.0 | C |
import Foundation
import Amplify
-protocol AuthCredentialStorable {
- func saveCredential(credential: AWSCognitoAuthCredential) throws
- func retrieveCredential() throws -> AWSCognitoAuthCredential?
- func deleteCredential() throws
-}
-
public struct AWSCognitoAuthCredentialStore {
private let service = "com.amplify.cr... | feat: removing unused protocols | null | aws-amplify/amplify-ios | Apache License 2.0 | Swift |
+#!/usr/bin/env bash
+set -euo pipefail
+
+root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
+cd "$root_dir"
+
+if [[ "${1:-}" == "--watch" ]]; then
+ shift
+
+ if ! hash entr 2>/dev/null; then
+ echo "entr is required" 1>&2
+ exit 1
+ fi
+
+ echo bin/acid | entr -cr bin/acid "$@"
+else
+ bin/acid "$@"
+fi
+
| feat(scripts): add script to run acid locally | null | brigadecore/brigade | Apache License 2.0 | Shell |
@@ -159,6 +159,8 @@ def get():
bootinfo["setup_complete"] = cint(frappe.db.get_single_value('System Settings', 'setup_complete'))
bootinfo["is_first_startup"] = cint(frappe.db.get_single_value('System Settings', 'is_first_startup'))
+ bootinfo['desk_theme'] = frappe.db.get_value("User", frappe.session.user, "desk_theme... | feat: Add desk_theme to bootinfo | null | frappe/frappe | MIT License | Python |
@@ -284,6 +284,34 @@ struct OprMaker<opr::LSQBackward, 5> {
}
};
+template <>
+struct OprMaker<opr::RNNCellForward, 6> {
+ using Param = opr::RNNCellForward::Param;
+ static cg::OperatorNodeBase* make(
+ const Param& param, const cg::VarNodeArray& i, ComputingGraph& graph,
+ const OperatorNodeConfig& config) {
+ MGB_MA... | feat(ci): add model compatibility check in ci | null | megengine/megengine | Apache License 2.0 | C |
@@ -84,9 +84,13 @@ void __on_exception_throw__(const std::exception &exc)
MGB_CATCH(..., {_stmt; throw; }) \
_stmt
+#if MGB_ENABLE_LOGGING
+//! throw exception with given message
+#define mgb_throw(_exc, _msg...) mgb_throw_raw(_exc(::mgb::ssprintf(_msg)))
+#else
//! throw exception with given message
-#define mgb_throw... | feat(core): redact exception messages if logging is disabled | null | megengine/megengine | Apache License 2.0 | C |
@@ -2,9 +2,10 @@ import React from 'react'
import AddonHoc from './Features/Addon'
import Component, {inputSizes} from './Component'
+const WithAddonComponent = AddonHoc(Component)
+
export default props => {
const {leftAddon, rightAddon} = props // eslint-disable-line react/prop-types
- const WithAddonComponent = Addo... | feat(atom/input): fixed FormInput loose focus onChange | null | sui-components/sui-components | MIT License | JavaScript |
@@ -4,11 +4,11 @@ public static class ClaimsPrincipalExtensions
{
public static int GetUserId(this ClaimsPrincipal claimsPrincipal)
{
- return int.Parse((claimsPrincipal.FindFirst(ClaimTypes.NameIdentifier) ?? claimsPrincipal.FindFirst("nameid"))!.Value);
+ return int.Parse(claimsPrincipal.FindFirst(ClaimTypes.NameIden... | feat(template): simplify the jwt claim types in the TodoTemplate project | null | bitfoundation/bitframework | MIT License | C# |
@@ -241,7 +241,9 @@ def _load_project_dependencies(project_path: Path) -> List:
return dependencies
-def _modify_hypothesis_settings(settings, name, parent):
+def _modify_hypothesis_settings(settings, name, parent=None):
+ if parent is None:
+ parent = hp_settings._current_profile
hp_settings.register_profile(
name,
pa... | feat: do not require parent profile name for hypothesis settings | null | eth-brownie/brownie | MIT License | Python |
@@ -30,6 +30,10 @@ pub mod array {
array.len() as VmInt
}
+ pub fn is_empty(array: Array<generic::A>) -> bool {
+ array.len() == 0
+ }
+
pub(crate) fn index<'vm>(
array: OpaqueRef<'vm, [generic::A]>,
index: VmInt,
@@ -536,6 +540,7 @@ pub fn load_array(vm: &Thread) -> Result<ExternModule> {
vm,
record! {
len => primitiv... | feat(std): Add std.array.is_empty | null | gluon-lang/gluon | MIT License | Rust |
@@ -65,9 +65,54 @@ class Entries
{
$this->setRegistry($registry);
$this->setOptions($options);
+ $this->initCollectionsActions();
$this->initCollectionsFields();
}
+ /**
+ * Init Collections Actions
+ *
+ * @access public
+ */
+ private function initCollectionsActions(): void
+ {
+ $actions = [];
+
+ if (! isset($this-... | feat(entries): implement new logic for initCollectionsActions | null | flextype/flextype | MIT License | PHP |
@@ -83,11 +83,11 @@ func newInitCommand() *cobra.Command {
return errors.Wrapf(err, "Error creating s3 bucket %s", bucket)
}
- logger.Infof("Creating tfDir %s for terraform remote state\n", tfDir)
- // errr := writeS3VarsFile(tfDir, bucket)
- // if errr != nil {
- // return errors.Wrap(err, "Error saving bucket name")
... | feat: try to add s3 bucket var | null | kubernetes-simulator/simulator | Apache License 2.0 | Go |
@@ -205,31 +205,31 @@ os.ui.help.Controls.FONT = {
*/
os.ui.help.Controls.FONT_CLASS = {
'HORIZONTAL': {
- 'font': 'fa fa-arrows-h',
+ 'font': 'fa fa-fw fa-arrows-h',
'class': 'control-drag'
},
'VERTICAL': {
- 'font': 'fa fa-arrows-v',
+ 'font': 'fa fa-fw fa-arrows-v',
'class': 'control-drag'
},
'ALL': {
- 'font': 'fa ... | feat(controls): made controls UI buttons more consistent | null | ngageoint/opensphere | Apache License 2.0 | JavaScript |
@@ -26,10 +26,10 @@ readonly GOMODCACHE="$(go env GOMODCACHE)"
readonly GO111MODULE="on"
readonly GOFLAGS="-mod=readonly"
readonly GOPATH="$(mktemp -d)"
-readonly REQUIRED_GO_VER="1.19"
+readonly MIN_REQUIRED_GO_VER="1.19"
-if [[ $(go version | grep ${REQUIRED_GO_VER} -c) -eq 0 ]]; then
- echo "Go v${REQUIRED_GO_VER} i... | feat: improve version guard logic | null | kubernetes-sigs/gateway-api | Apache License 2.0 | Shell |
package swarm
import (
+ "fmt"
+ "io/ioutil"
"strconv"
"strings"
"time"
@@ -37,11 +39,36 @@ func (h *HatcherySwarm) killAndRemove(dockerClient *dockerClient, ID string) err
log.Error("hatchery> swarm> killAndRemove> unable to get model from registering container %s", container.Name)
} else {
if err := hatchery.CheckWor... | feat(hatchery/swarm): get register error from docker | null | ovh/cds | BSD 3-Clause New or Revised License | Go |
@@ -25,46 +25,40 @@ emitter()->addListener('onEntriesFetchSingleHasResult', static function (): void
if (entries()->registry()->has('methods.fetch.result.macros.entries.fetch') &&
registry()->get('flextype.settings.entries.macros.entries.fetch.enabled') === true) {
- // Get
+ // Backup current entry data
$original = en... | feat(macros): simplify `entries` macros, improve logic | null | flextype/flextype | MIT License | PHP |
@@ -18,9 +18,19 @@ type ioLogger struct {
}
var (
+ noStdErrLogs bool
sub *Subscription
)
+// Disables Proto.Actor standard error logs if there is one
+// or more additional log subscribers registered
+func SetNoStdErrLogs() {
+
+ if len(es.subscriptions) >= 2 {
+ noStdErrLogs = true
+ }
+}
+
func init() {
l := &ioLogg... | feat: add exported function to disable proto.actor's standard error logs if additional subscribers are registered | null | asynkronit/protoactor-go | Apache License 2.0 | Go |
@@ -175,6 +175,16 @@ impl Request {
let rax: usize;
let rdx: usize;
+ if i64::from(self.num) == libc::SYS_clock_gettime {
+ let mut ret = libc::clock_gettime(usize::from(self.arg[0]) as _, self.arg[1].into());
+ if ret != 0 {
+ ret = *libc::__errno_location();
+ }
+ Reply {
+ ret: [ret.into(), 0.into()],
+ err: Default... | feat: use vDSO clock_gettime | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -113,6 +113,12 @@ function updateVitessExamples () {
rm -f $(find -E $ROOT/examples/compose/**/* -regex ".*.(go|yml).bak")
}
+# First argument is the Release Version the docker release script should be set to (for instance: v15.0.0)
+function updateDockerReleaseScript () {
+ sed -i.bak -E "s/vt_base_version=.*/vt_ba... | feat: add automation to change vitess version in the docker-release script | null | vitessio/vitess | Apache License 2.0 | Shell |
@@ -37,6 +37,7 @@ import net.minecraft.client.render.VertexFormat;
import net.minecraft.client.render.VertexFormats;
import net.minecraft.client.util.math.MatrixStack;
import net.minecraft.util.Identifier;
+import net.minecraft.util.math.MathHelper;
import net.minecraft.util.math.Vec3f;
import net.minecraft.world.World... | feat: smoothen space skybox rendering | null | mixinors/astromine | MIT License | Java |
@@ -34,9 +34,11 @@ use Utopia\Validator\Text;
// Add updated property to swoole table - Done
// Clean up deployments older than X seconds - Done
// Remove orphans on startup - done
+// Remove multiple request attempt to the runtime logic in executor - done
-// Remove attempts logic in executor
+// Shutdown callback isn... | feat: remove multiple request logic from executor | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
+/**
+ * Copyright 2020 @author tjgurwara99
+ * @file
+ *
+ * A basic implementation of Complex Number field as a class with operators overloaded to accommodate (mathematical) field operations.
+ */
+
+#include <iostream>
+#include <cmath>
+#include <stdexcept>
+
+/**
+ * Class Complex to represent complex numbers as a... | feat: Added a class implemetation of complex numbers along with implementation of all (most) binary operations involved with complex numbers | null | thealgorithms/c-plus-plus | MIT License | C++ |
@@ -77,8 +77,7 @@ $api_errors = [
'http_status_code' => 404,
'message' => 'Image not found',
],
-
- '0501' => [
+ '0500' => [
'http_status_code' => 400,
'message' => 'Wrong query params or not defined',
],
@@ -90,8 +89,7 @@ $api_errors = [
'http_status_code' => 404,
'message' => 'File not found',
],
-
- '0601' => [
+ '... | feat(rest-api): update rest api errors | null | flextype/flextype | MIT License | PHP |
@@ -58,9 +58,13 @@ public final class SpeechToTextWebSocketListener extends WebSocketListener {
private static final String ACOUSTIC_CUSTOMIZATION_ID = "acoustic_customization_id";
private static final String CUSTOMIZATION_WEIGHT = "customization_weight";
private static final String VERSION = "base_model_version";
-
pr... | feat(Speech to Text): Handle WebSocket overload with multiple threads | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -125,6 +125,10 @@ impl InputFormatTextBase for InputFormatTSV {
StageFileFormatType::Tsv
}
+ fn is_splittable() -> bool {
+ true
+ }
+
fn get_format_settings(settings: &Arc<Settings>) -> Result<FormatSettings> {
let timezone = get_time_zone(settings)?;
Ok(FormatSettings {
| feat(input_format): enable is_splittable form tsv | null | datafuselabs/databend | 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.