diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -253,11 +253,14 @@ pub struct ServerMetrics {
/// This metric tracks all requests to the Server
pub http_requests: metrics::RedMetric,
- /// The number of LP points written
+ /// The number of LP points ingested
pub ingest_points_total: metrics::Counter,
- /// The number of bytes written
+ /// The number of LP bytes... | feat: Add ingest_entries_bytes_total counter | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -45,7 +45,8 @@ const AtomButton = forwardRef((props, ref) => {
type,
shape,
isFitted,
- selected
+ selected,
+ value
} = getPropsWithDefaultValues(typeConversion(props))
const classNames = cx(
@@ -80,6 +81,7 @@ const AtomButton = forwardRef((props, ref) => {
title={title}
disabled={disabled || isLoading}
forwardingR... | feat(components/atom/button): button can get a value | null | sui-components/sui-components | MIT License | JavaScript |
import { pxToRem } from './utils/px-to-rem';
+/**
+ * Space
+ *
+ * The following units can be applied to margin or padding properties, vertically or horizontally.
+ * @see https://theguardian.design/2a1e5182b/p/449bd5-space
+ *
+ * Space scale
+ * 1 -> 4px
+ * 2 -> 8px
+ * 3 -> 12px
+ * 4 -> 16px
+ * 5 -> 20px
+ * 6 -... | feat: improve documentation for the source space scale mappings | null | guardian/source | Apache License 2.0 | TypeScript |
@@ -82,19 +82,20 @@ func (c *command) initStartCmd() (err error) {
beeASCII := `
Welcome to the Swarm.... Bzzz Bzzzz Bzzzz
- \ /
- \ o ^ o /
- \ ( ) /
- ____________(%%%%%%%)____________
- ( / / )%%%%%%%( \ \ )
- (___/___/__/ \__\___\___)
- ( / /(%%%%%%%)\ \ )
- (__/___/ (%%%%%%%) \___\__)
- /( )\
- / (%%%%%) \
- (%%%)... | feat: new ascii bee and flower | null | ethersphere/bee | BSD 3-Clause New or Revised License | Go |
@@ -11,7 +11,7 @@ from io import TextIOWrapper, BytesIO
import astor
from stencila.schema.types import Parameter, CodeChunk, Article, Entity, CodeExpression, ConstantSchema, EnumSchema, \
BooleanSchema, NumberSchema, IntegerSchema, StringSchema, ArraySchema, TupleSchema, ImageObject, Datatable, \
- DatatableColumn
+ Da... | feat: Extracting features from CodeChunks | null | stencila/stencila | Apache License 2.0 | Python |
@@ -36,6 +36,7 @@ export default class SwaggerUI extends React.Component {
filter: ["boolean", "string"].includes(typeof this.props.filter) ? this.props.filter : false,
persistAuthorization: this.props.persistAuthorization,
withCredentials: this.props.withCredentials,
+ oauth2RedirectUrl: this.props.oauth2RedirectUrl
}... | feat(swagger-ui-react): Add oauth2RedirectUrl prop | null | swagger-api/swagger-ui | Apache License 2.0 | JavaScript |
@@ -4,8 +4,9 @@ module.exports = {
transformIgnorePatterns: [
"node_modules/(?!@ngrx|(?!deck.gl)|ng-dynamic)"
],
- collectCoverageFrom: ['src/**/*.{ts,tsx}', '!src/types.ts'],
- coverageReporters: ['json'],
+ // collectCoverage: true,
+ // collectCoverageFrom: ['src/**/*.{ts,tsx}', '!src/types.ts'],
+ // coverageReport... | feat(test): jest config coverage settings | null | dbeaver/cloudbeaver | Apache License 2.0 | JavaScript |
@@ -68,7 +68,7 @@ declare global {
type __VLS_MapPropsTypeBase<T> = { [K in keyof T]: __VLS_ExtractComponentProps<T[K]> };
type __VLS_MapPropsType<T> = { [K in keyof T]: T[K] extends (arg: infer _1) => infer _2
? T[K] : T[K] extends (arg: infer A, ...rest: infer _3) => infer R
- ? (props: A) => R : (props: __VLS_Extrac... | feat: support props type override | null | johnsoncodehk/volar | MIT License | TypeScript |
@@ -91,6 +91,7 @@ const ParentalLeaveTemplate: ApplicationTemplate<
},
],
write: 'all',
+ delete: true,
},
],
},
@@ -131,6 +132,7 @@ const ParentalLeaveTemplate: ApplicationTemplate<
},
],
write: 'all',
+ delete: true,
},
],
},
| feat(parental-leave): added application delete button | null | island-is/island.is | MIT License | TypeScript |
@@ -31,6 +31,13 @@ namespace Kooboo.Sites.Scripting.Global.SMS
return new Tencent(this.Context);
}
}
-
+ [Description("Send SMS using ChinaMobile")]
+ public ChinaMobile ChinaMobile
+ {
+ get
+ {
+ return new ChinaMobile(this.Context);
+ }
+ }
}
}
| feat: add ChinaMobile to k.sms | null | kooboo/kooboo | MIT License | C# |
@@ -51,6 +51,10 @@ struct GraphDumpConfig {
//! tensor value without layout; useful for compression or encryption
TensorValueDumper tensor_value_dumper;
+ //! a list of output nodes and names. one output node may have multiple
+ //! names. this list record the mapping between output node and it's name
+ std::vector<std... | feat(megbrain): add alias name to model serialization | null | megengine/megengine | Apache License 2.0 | C |
@@ -68,11 +68,15 @@ class PasswordField(forms.CharField):
render_value=render_value,
attrs={"placeholder": kwargs.get("label")},
)
+ autocomplete = kwargs.pop("autocomplete", None)
+ if autocomplete is not None:
+ kwargs["widget"].attrs["autocomplete"] = autocomplete
super(PasswordField, self).__init__(*args, **kwargs)... | feat(account/forms): Add autocomplete attribute | null | pennersr/django-allauth | MIT License | Python |
@@ -1012,7 +1012,8 @@ void greedy_load_balancer::balance_cluster()
return;
}
- // TBD(zlw): copy primary
+ cluster_replica_balance(
+ t_global_view, cluster_balance_type::COPY_SECONDARY, *t_migration_result);
}
bool greedy_load_balancer::cluster_replica_balance(const meta_view *global_view,
| feat: add copy secondary for cluster balance | null | apache/incubator-pegasus | Apache License 2.0 | C++ |
@@ -417,6 +417,15 @@ func (s *ImmuServer) ByIndexSV(ctx context.Context, index *schema.Index) (*schem
return sitem, nil
}
+func (s *ImmuServer) BySafeIndex(ctx context.Context, sio *schema.SafeIndexOptions) (*schema.SafeItem, error) {
+ s.Logger.Debugf("get by safeIndex %d ", sio.Index)
+ item, err := s.Store.BySafeInd... | feat(pkg/server): add byRawSafeIndex server | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -258,7 +258,7 @@ return [
],
Exception::STORAGE_INVALID_FILE_SIZE => [
'name' => Exception::STORAGE_INVALID_FILE_SIZE,
- 'description' => 'The file size is either not valid or exceeds the maximum allowed size.',
+ 'description' => 'The file size is either not valid or exceeds the maximum allowed size. Please check t... | feat: update descriptions of storage errors | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
-import React from 'react';
+import React, { useState, useEffect, useRef } from 'react';
import PropTypes from 'prop-types';
import { useFieldApi } from '@data-driven-forms/react-form-renderer';
@@ -9,19 +9,79 @@ import prepareProps from '../common/prepare-props';
const TimePicker = (props) => {
const { input, meta, tw... | feat(carbon): add AM/PM, timezones into carbon timepicker | null | data-driven-forms/react-forms | Apache License 2.0 | JavaScript |
@@ -280,12 +280,53 @@ class RenderStyle
return maxConstraintWidth;
}
- double get logicalWidth {
- return getLogicalContentWidth() ?? 0;
+ // Max constraints width calculated from renderStyle tree.
+ double get maxConstraintsWidth {
+ return getMaxConstraintWidth();
}
- double get logicalHeight {
- return getLogicalCon... | feat: add box model size getter in renderStyle | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -115,6 +115,11 @@ public final class XeListener implements ProgramListener, Iterable<Directive> {
this.dirs
.attr("ms", (System.nanoTime() - this.start) / (1000L * 1000L))
.up();
+ dirs.xpath("/program/errors")
+ .push()
+ .add("error")
+ .attr("line", "10")
+ .attr("severity", "warning");
}
@Override
| feat(#1493): add dummy error | null | cqfn/eo | MIT License | Java |
@@ -55,6 +55,10 @@ class SecureHeaders
*/
private function removeUnwantedHeaders()
{
+ if (headers_sent()) {
+ return;
+ }
+
foreach ($this->unwantedHeaderList as $header) {
header_remove($header);
}
| feat: Check if headers weren't sent already | null | bagisto/bagisto | MIT License | PHP |
@@ -22,6 +22,7 @@ import operator
import typing
import daiquiri
+from ddtrace import tracer
import voluptuous
import yaml
@@ -411,6 +412,7 @@ class YAMLInvalid(voluptuous.Invalid): # type: ignore[misc]
return []
+@tracer.wrap("yaml.load")
def YAML(v: bytes) -> typing.Any:
try:
return yaml.safe_load(v)
| feat(datadog): add tracer for YAML safe_load | null | mergifyio/mergify-engine | Apache License 2.0 | Python |
@@ -263,16 +263,17 @@ class Entries
// Run event: onEntryCreate
flextype('emitter')->emit('onEntryCreate');
+ // Create entry directory first if it is not exists
$entry_dir = $this->getDirectoryLocation($this->storage['create']['id']);
-
- if (! flextype('filesystem')->directory($entry_dir)->exists()) {
- if (flextype(... | feat(entries): improve create() method | null | flextype/flextype | MIT License | PHP |
+<?php
+
+use PHPUnit\Framework\TestCase;
+use Illuminate\Container\Container;
+use Illuminate\Contracts\Config\Repository;
+use Illuminate\Contracts\Debug\ExceptionHandler;
+
+class ClientRepositoryTest extends TestCase
+{
+ public function setUp()
+ {
+ $passwordClient = new \Laravel\Passport\Client([
+ 'id' => 1,
+ ... | feat: tests for ClientRepository::handlesGrant() | null | laravel/passport | MIT License | PHP |
@@ -140,12 +140,16 @@ export class ListOpportunityDatasets extends PureComponent {
}
}
-const Status = (status: UploadStatus & {clear: (id: string) => void}) =>
+const Status = (status: UploadStatus & {clear: () => void}) =>
<div className={`alert alert-${statusToStyle(status.status)}`}>
{isErrorOrDone(status.status) &... | feat(reload): Add reload link when an upload is complete | null | conveyal/analysis-ui | MIT License | JavaScript |
@@ -100,7 +100,7 @@ func ListWorkflowRuns(ctx context.Context, project, workflow, tenant string, que
}
func filterWorkflowRuns(wfrs []v1alpha1.WorkflowRun, filter string) ([]v1alpha1.WorkflowRun, error) {
- results := []v1alpha1.WorkflowRun{}
+ var results []v1alpha1.WorkflowRun
// Support multiple filters rules, separ... | feat: filter workflowrun by trigger | null | caicloud/cyclone | Apache License 2.0 | Go |
@@ -439,12 +439,12 @@ abstract public class GameManager<T extends AbstractPlayer> {
}
/**
- * Set the timeout delay for every players. This value can be updated during a game and will be used by execute(). Default is 50ms.
+ * Set the timeout delay for every player. This value can be updated during a game and will be u... | feat(sdk): add a method to edit the timeout of the first turn of a game | null | codingame/codingame-game-engine | MIT License | Java |
+#include <bits/stdc++.h>
+using namespace std;
+
+class Solution {
+ public:
+ int countBalls(int lowLimit, int highLimit) {
+ map<int, int> mp;
+ for (int i = lowLimit; i <= highLimit; i++) {
+ int sum = 0, x = i;
+ while (x) {
+ sum += x % 10;
+ x /= 10;
+ }
+ mp[sum]++;
+ }
+ int ans = 0;
+ for (auto p : mp) {
+ an... | feat: leetcode week 226 | null | upupming/algorithm | MIT License | C++ |
+import { Graph } from '@antv/g6';
import type { TooltipProps } from './index';
+function getTooltipPlacement(graph: Graph, x: number, y: number): TooltipProps['placement'] {
+ const canvas = graph.get('canvas')
+ const width = canvas.get('width');
+ const height = canvas.get('height');
+
+ const pointerTop = y <= heig... | feat: positioning tooltip | null | antvis/graphin | MIT License | TypeScript |
@@ -14,16 +14,19 @@ GEOMETRY = make_sqlalchemy_type("GEOMETRY")
POINT = make_sqlalchemy_type("POINT")
LINESTRING = make_sqlalchemy_type("LINESTRING")
POLYGON = make_sqlalchemy_type("POLYGON")
+DECIMAL128 = make_sqlalchemy_type("DECIMAL128")
register_custom_type(GEOMETRY)
register_custom_type(POINT)
register_custom_type... | feat(ingest): mysql - add decimal128 custom type | null | linkedin/datahub | Apache License 2.0 | Python |
@@ -134,12 +134,20 @@ class WordPress extends OAuth2
/**
* Check if the OAuth email is verified
*
+ * @link https://developer.wordpress.com/docs/api/1.1/get/me/
+ *
* @param $accessToken
*
* @return bool
*/
public function isEmailVerified(string $accessToken): bool
{
+ $user = $this->getUser($accessToken);
+
+ if (isse... | feat: update Wordpress OAuth provider | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -431,7 +431,7 @@ setup_binary() {
setup_selinux() {
policy_hint="please install:
yum install -y container-selinux selinux-policy-base
- rpm -i https://rpm.rancher.io/k3s-selinux-0.1.1-rc1.el7.noarch.rpm
+ yum install -y https://rpm.rancher.io/k3s-selinux-0.1.1-rc1.el7.noarch.rpm
"
policy_error=fatal
if [ "$INSTALL_K... | feat(install): replace rpm by yum for setup_selinux | null | k3s-io/k3s | Apache License 2.0 | Shell |
@@ -18,19 +18,11 @@ class CardsService {
_isLoading = true;
String cardListEndpoint =
- 'https://api-qa.ucsd.edu:8243/defaultcards/v2.0.0/defaultcards';
-
- if (ucsdAffiliation == null) {
- cardListEndpoint = "https://mobile.ucsd.edu/replatform/v1/qa/cards/visitor_cards-v3.json";
- } else if (ucsdAffiliation == "U") {
... | feat: add in new default-cards endpoint | null | ucsd/campus-mobile | MIT License | Dart |
/*
- * Copyright 2019-2021 B2i Healthcare Pte Ltd, http://b2i.sg
+ * Copyright 2019-2022 B2i Healthcare Pte Ltd, http://b2i.sg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*/
package com.b2international.snowowl.core.client;
-impor... | feat(core): Initialize Netty client channel in TransportClient | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -36,7 +36,6 @@ impl Saadc {
.burst()
.enabled()
});
- saadc.ch[0].pselp.write(|w| w.pselp().analog_input0());
saadc.ch[0].pseln.write(|w| w.pseln().nc());
// Calibrate
@@ -52,7 +51,20 @@ where
PIN: Channel<Saadc, ID = u8>,
{
type Error = ();
- fn read(&mut self, _pin: &mut PIN) -> nb::Result<u16, Self::Error> {
+ fn... | feat: ADC working for all analog inputs | null | nrf-rs/nrf-hal | Apache License 2.0 | Rust |
@@ -11,7 +11,7 @@ class ViewController: UIViewController {
super.viewDidLoad()
let options = [
- kSourceUrl: "https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_ts/master.m3u8",
+ kSourceUrl: "https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_fmp4/maste... | feat: change the example tvos streaming to have subtitles | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
-from cx_const import DefaultActionsMapping, Light
-from cx_core import LightController
+from cx_const import DefaultActionsMapping, Light, MediaPlayer
+from cx_core import LightController, MediaPlayerController
from cx_core.integration import EventData
@@ -25,6 +25,24 @@ class TerncySD01LightController(LightController... | feat(device): add media player controller for TerncySD01 | null | xaviml/controllerx | MIT License | Python |
@@ -49,12 +49,10 @@ impl SecretVault for SoftwareVault {
let mut rng = thread_rng(); // FIXME
let key = match attributes.stype() {
SecretType::Curve25519 => {
- // FIXME
- let mut bytes = [0u8; 32];
+ let mut bytes = vec![0u8; 32];
rng.fill_bytes(&mut bytes);
- let sk = x25519_dalek::StaticSecret::from(bytes);
- Secret... | feat(rust): remove clamping from curve25519 key generation | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -2,6 +2,7 @@ import gql from 'graphql-tag';
import { orderShipmentItemFragment } from './order-shipment-item';
import { orderAddressFragment } from './order-address';
+import { orderPaymentFragment } from './order-payment';
export const orderInvoiceFragment = gql`
fragment orderInvoice on GraycoreOrderInvoice {
@@ -... | feat(order): add order payment to invoice fragment | null | graycoreio/daffodil | MIT License | TypeScript |
@@ -89,6 +89,20 @@ class Forms
$form .= $this->_csrfHiddenField();
$form .= $this->_actionHiddenField();
+ // Extends fieldsets
+ if (isset($fieldset['extends'])) {
+ if (is_array($fieldset['extends'])) {
+ foreach ($fieldset['extends'] as $extends) {
+ $extends_fieldset_content = Filesystem::read($this->flextype->fiel... | feat(core): add ability to extends fieldsets | null | flextype/flextype | MIT License | PHP |
@@ -196,18 +196,13 @@ open class MediaControl: UICorePlugin, UIGestureRecognizerDelegate {
view.backgroundColor = UIColor.clapprBlack60Color()
loadPlugins()
+ loadDefaultPlugins()
renderPlugins()
showIfAlwaysVisible()
self.bindFrameToSuperviewBounds()
}
- private func loadDefaultPlugins() {
- defaultPlugins.forEach { p... | feat: prevent duplicate plugins | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
-const { TextDiff } = require('../../validators/text-diff');
-
const APIARY_STATUS_CODE_TYPE = 'text/vnd.apiary.status-code';
/**
@@ -8,25 +6,24 @@ const APIARY_STATUS_CODE_TYPE = 'text/vnd.apiary.status-code';
* @param {number} expected
*/
function validateStatusCode(real, expected) {
- const validator = new TextDiff(... | feat: uses plain strings comparison for statusCode validation | null | apiaryio/gavel.js | MIT License | JavaScript |
@@ -172,8 +172,9 @@ function do_build() {
echo "org whl name: ${org_whl_name}"
echo "comapt whl name: ${compat_whl_name}"
cp ${BUILD_DIR}/staging/dist/Meg*.whl ${MACOS_WHL_HOME}/${compat_whl_name}
- cd ${SRC_DIR}
+
+ cd ${SRC_DIR}
echo ""
echo "###########################################################################... | feat(lite): add macos lite whl scripts, enable megenginelite | null | megengine/megengine | Apache License 2.0 | Shell |
@@ -24,10 +24,7 @@ export default {
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
- bottom: BaseTheme.spacing[8],
- left: 0,
- right: 0,
- position: 'absolute'
+ bottom: BaseTheme.spacing[8]
},
/**
@@ -79,7 +76,7 @@ export default {
flexShrink: 1,
paddingHorizontal: 2,
justifyContent: 'center',
- marg... | feat(conference/native): adjusted carmode ui | null | jitsi/jitsi-meet | Apache License 2.0 | JavaScript |
@@ -4,7 +4,7 @@ from ast import literal_eval
from functools import cached_property
import sys
from types import BuiltinFunctionType
-from typing import Any, Callable, Iterable
+from typing import Any, Callable
import frappe
from frappe import _
@@ -481,10 +481,30 @@ class Engine:
fields = [field for field in updated_fi... | feat: Added support for fieldnames from child tables | null | frappe/frappe | MIT License | Python |
@@ -70,3 +70,9 @@ test('test has() method', function () {
$this->assertTrue(flextype('media_files')->has('foo.txt'));
$this->assertFalse(flextype('media_files')->has('bar.txt'));
});
+
+test('test getFileLocation() method', function () {
+ flextype('filesystem')->file(PATH['project'] . '/uploads/foo.txt')->put('foo');
... | feat(tests): add tests for MediaFiles getFileLocation() method | null | flextype/flextype | MIT License | PHP |
@@ -30,6 +30,16 @@ process_args () {
elif [ -n "$percentage_threshold" ]; then
post_condition="{\"percentage_threshold\": $percentage_threshold}"
echo "Warning: percentage_threshold is deprecated and will be removed in v0.9.0, please use post_condition='{\"percentage_threshold\": \"0\"}'"
+ # Default to using update me... | feat(ci): make update the default when posting to GitHub | null | infracost/infracost | Apache License 2.0 | Shell |
use crate::CryptoHash;
use borsh::{BorshDeserialize, BorshSerialize};
-use std::convert::{TryFrom, TryInto};
+use serde::{de, Deserialize};
+use std::str::FromStr;
+use std::{borrow::Cow, convert::TryFrom};
#[derive(
Debug, Copy, Clone, PartialEq, PartialOrd, Ord, Eq, BorshDeserialize, BorshSerialize, Default,
@@ -20,1... | feat: implement FromStr for Base58CryptoHash and cleanup | null | near/near-sdk-rs | Apache License 2.0 | Rust |
@@ -118,7 +118,7 @@ open class Player: UIViewController, BaseObject {
Event.didSeek.rawValue,
Event.subtitleSelected.rawValue, Event.audioSelected.rawValue,
Event.didFindSubtitle.rawValue, Event.didFindAudio.rawValue,
- Event.didSelectSubtitle.rawValue, Event.didSelectAudio.rawValue
+ Event.didSelectSubtitle.rawValue, ... | feat: adjust tvos after change event enum | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -274,6 +274,7 @@ static const SupportedDevice supportedDevices[] = {
{ VENDOR_HANGZHOU_IMAGIC, "1117-S", energyMiMacPrefix }, // iris motion sensor v3
{ VENDOR_JENNIC, "113D", jennicMacPrefix }, // iHorn (Huawei) temperature and humidity sensor
{ VENDOR_SERCOMM, "SZ-ESW01", emberMacPrefix }, // Sercomm / Telstra sma... | feat: adds support for Tuya gas sensor | null | dresden-elektronik/deconz-rest-plugin | BSD 3-Clause New or Revised License | C++ |
@@ -250,6 +250,17 @@ impl<S> PreservedCatalog<S>
where
S: CatalogState,
{
+ /// Checks if a preserved catalog exists.
+ pub async fn exists(
+ object_store: &ObjectStore,
+ server_id: ServerId,
+ db_name: &str,
+ ) -> Result<bool> {
+ Ok(!list_transaction_files(object_store, server_id, db_name)
+ .await?
+ .is_empty())... | feat: add `PreservedCatalog.exists` | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -2,15 +2,19 @@ import { Tab, Tabs } from "@material-ui/core";
import { makeStyles } from "@material-ui/core/styles";
import React from "react";
-const useStyles = makeStyles({ root: {} });
+const useStyles = makeStyles((theme) => ({
+ tabRoot: {
+ minWidth: theme.spacing(25),
+ },
+}));
-export interface TabBarProps... | feat: tweak TabBar to accept React components in label prop | null | couchers-org/couchers | MIT License | TypeScript |
@@ -104,6 +104,19 @@ open class CAPWebView: UIView {
open func loadInitialContext(_ userContentController: WKUserContentController) {
CAPLog.print("in loadInitialContext base")
}
+
+ public func setServerBasePath(path: String) {
+ let url = URL(fileURLWithPath: path, isDirectory: true)
+ guard FileManager.default.fileE... | feat(ios): Add `setServerBasePath(path:)` to CAPWebView | null | ionic-team/capacitor | MIT License | Swift |
@@ -37,15 +37,7 @@ func registerRouter(app *fiber.App) {
Max: config.Config.Server.Ratelimits.Requests,
}))
- app.Use(cors.New(cors.Config{
- Next: nil,
- AllowOrigins: "*",
- AllowMethods: "GET,POST,HEAD,PUT,DELETE,PATCH",
- AllowHeaders: "",
- AllowCredentials: false,
- ExposeHeaders: "",
- MaxAge: 0,
- }))
+ app.Use... | feat(internal/app/router.go): use default configuration for cors middleware | null | orca-group/spirit | Apache License 2.0 | Go |
@@ -71,7 +71,7 @@ export function renderGraphiQL(data: GraphiQLData): string {
<script src="//cdn.jsdelivr.net/graphiql/${GRAPHIQL_VERSION}/graphiql.min.js"></script>
${usingSubscriptions ?
'<script src="//unpkg.com/subscriptions-transport-ws@0.5.4/browser/client.js"></script>' +
- '<script src="//unpkg.com/graphiql-su... | feat(subscriptions): updated fetcher version | null | apollographql/apollo-server | MIT License | TypeScript |
@@ -121,7 +121,8 @@ class CollectNukeWrites(pyblish.api.InstancePlugin):
"outputType": output_type,
"colorspace": node["colorspace"].value(),
"deadlineChunkSize": deadlineChunkSize,
- "deadlinePriority": deadlinePriority
+ "deadlinePriority": deadlinePriority,
+ "subsetGroup": "render"
})
self.log.debug("instance.data:... | feat(nuke): adding grouping subset to write instances | null | pypeclub/openpype | MIT License | Python |
@@ -543,6 +543,7 @@ pub enum Language {
ObjCpp = 6,
Rust = 7,
Swift = 8,
+ CSharp = 9,
}
impl Language {
@@ -569,6 +570,7 @@ impl Language {
6 => Self::ObjCpp,
7 => Self::Rust,
8 => Self::Swift,
+ 9 => Self::CSharp,
_ => Self::Unknown,
}
}
@@ -601,6 +603,7 @@ impl Language {
Language::ObjCpp => "objcpp",
Language::Rust... | feat(usym): Add C# to the list of languages that can be found in debugging info | null | getsentry/symbolic | MIT License | Rust |
@@ -115,6 +115,11 @@ impl DesktopContext {
let _ = self.proxy.send_event(SetDecorations(decoration));
}
+ /// set window zoom level
+ pub fn set_zoom_level(&self, scale_factor: f64) {
+ let _ = self.proxy.send_event(SetZoomLevel(scale_factor));
+ }
+
/// opens DevTool window
pub fn devtool(&self) {
let _ = self.proxy.s... | feat: use_window add `set_zoom_level` | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -159,7 +159,6 @@ func printAppStatus(_ context.Context, c client.Client, ioStreams cmdutil.IOStre
if err := printWorkflowStatus(c, ioStreams, appName, namespace); err != nil {
return err
}
- cmd.Printf("Services:\n\n")
return loopCheckStatus(c, ioStreams, appName, namespace)
}
@@ -240,6 +239,9 @@ func loopCheckStatu... | feat: omit service output if there's nothing | null | oam-dev/kubevela | Apache License 2.0 | Go |
@@ -156,10 +156,12 @@ public class TravelTimeComputer {
nonTransitTravelTimesToDestinations = new int[accessModeLinkedDestinations.size()];
Arrays.fill(nonTransitTravelTimesToDestinations, FastRaptorWorker.UNREACHED);
} else if (accessMode == StreetMode.WALK) {
- // Special handling for walk search, find distance in se... | feat(access): Limit access time for walking | null | conveyal/r5 | MIT License | Java |
@@ -26,7 +26,7 @@ import type { ConnectionTransport } from '../transport';
import type { BrowserOptions, PlaywrightOptions } from '../browser';
import type * as types from '../types';
import { rewriteErrorMessage } from '../../utils/stackTrace';
-import { wrapInASCIIBox } from '../../utils';
+import { getAsBooleanFromE... | feat(firefox): process.env.PLAYWRIGHT_DISABLE_FIREFOX_CROSS_PROCESS | null | microsoft/playwright | Apache License 2.0 | TypeScript |
@@ -485,6 +485,7 @@ public class PatchAnalyzer {
if(delete) pa.cleanup();
} catch (Exception e) {
PatchAnalyzer.log.error(e.getMessage());
+ System.exit(127);
}
}
}
@@ -492,6 +493,7 @@ public class PatchAnalyzer {
PatchAnalyzer.log.error(pe.getMessage());
HelpFormatter formatter = new HelpFormatter();
formatter.printHe... | feat(patch-analyzer): add exit code when failing | null | eclipse/steady | Apache License 2.0 | Java |
@@ -17,8 +17,21 @@ func (c *Client) processUpdates(updates tg.UpdatesClass) error {
switch u := updates.(type) {
case *tg.Updates:
return c.updateHandler(c.ctx, u)
+ case *tg.UpdateShort:
+ // TODO(ernado): separate handler
+ return c.updateHandler(c.ctx, &tg.Updates{
+ Date: u.Date,
+ Updates: []tg.UpdateClass{
+ u.Up... | feat(telegram): basic handle for UpdateShort | null | gotd/td | MIT License | Go |
@@ -391,10 +391,8 @@ class Entries
*/
public function update(string $id, array $data) : bool
{
- $entry_file = $this->_file_location($id);
-
- if (Filesystem::has($entry_file)) {
- return Filesystem::write($entry_file, JsonParser::encode($data));
+ if ($_entry = $this->read($id)) {
+ return Filesystem::write($_entry['f... | feat(core): update Entries methods | null | flextype/flextype | MIT License | PHP |
@@ -124,5 +124,5 @@ def news_cctv(date: str = "20130308") -> pd.DataFrame:
if __name__ == "__main__":
- news_cctv_df = news_cctv(date="20150208")
+ news_cctv_df = news_cctv(date="20211115")
print(news_cctv_df)
| feat(online_value_artist): add online_value_artist interface | null | jindaxiang/akshare | MIT License | Python |
@@ -2,7 +2,7 @@ import Foundation
open class Container: UIBaseObject {
internal(set) open var plugins: [UIContainerPlugin] = []
- internal(set) open var options: Options
+ open var options: Options
fileprivate var loader: Loader
| feat: expose container options | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -11,12 +11,25 @@ export interface UseDateFormatOptions {
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).
*/
locales?: Intl.LocalesArgument
+
+ /**
+ * A custom function to re-modify the way to display meridiem
+ *
+ */
+ customMeridiem?: (hours: number... | feat(useDateFormat): support meridiem format | null | vueuse/vueuse | MIT License | TypeScript |
@@ -877,7 +877,7 @@ export class Updates {
public on<T>(events: 'vote' | 'pull_vote', handler: Middleware<VoteContext & T>): this;
public on<T>(events: 'group_update' | 'group_update_photo' | 'group_update_officers' | 'group_update_settings', handler: Middleware<GroupUpdateContext & T>): this;
public on<T>(events: 'typ... | feat(typings): Specifying possible types | null | negezor/vk-io | MIT License | TypeScript |
@@ -50,23 +50,39 @@ export class DtFormattedValue {
return this._formattedData;
}
+ /** Formatted display unit composed by unit and rate unit */
+ get formattedDisplayUnit(): string {
+ const {
+ displayUnit,
+ displayWhiteSpace,
+ displayRateUnit,
+ } = this._formattedData;
+
+ if (displayUnit !== undefined && display... | feat(formatters): Exposed formatted display unit in DtFormattedValue | null | dynatrace-oss/barista | Apache License 2.0 | TypeScript |
@@ -815,8 +815,8 @@ pub(crate) async fn make_user_admin(
PduBuilder {
event_type: EventType::RoomMessage,
content: to_raw_value(&RoomMessageEventContent::text_html(
- "## Thank you for trying out Conduit!\n\nConduit is currently in Beta. This means you can join and participate in most Matrix rooms, but not all features... | feat: add the actual server name to the welcome message | null | timokoesters/conduit | Apache License 2.0 | Rust |
@@ -149,7 +149,9 @@ open class Core: UIObject, UIGestureRecognizerDelegate {
}
private func renderContainer(_ container: Container) {
+ #if os(tvOS)
view.addSubviewMatchingConstraints(container.view)
+ #endif
container.render()
}
| feat: only add container's view to core on tvOS | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -312,9 +312,12 @@ class TransactionReceipt:
---------
increment : float, optional
Multiplier applied to the gas price of this transaction in order
- to determine the new gas price
+ to determine the new gas price. For EIP1559 transactions the multiplier
+ is applied to the max_fee, the priority_fee is incremented by... | feat: replace eip1559 transactions | null | eth-brownie/brownie | MIT License | Python |
@@ -98,6 +98,31 @@ public class SnomedEclEvaluationRequestPropertyFilterTest extends BaseSnomedEclE
assertEquals(expected, actual);
}
+ @Test
+ public void termDisjunction() throws Exception {
+ indexRevision(MAIN, SnomedDescriptionIndexEntry.builder()
+ .id(generateDescriptionId())
+ .active(true)
+ .moduleId(Concepts... | feat(datastore.tests): Add test case for term disjunction | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
+/* eslint-env mocha */
+
+import expect from 'expect';
+import sinon from 'sinon';
+
+import jsHelper from 'algoliasearch-helper';
+const SearchResults = jsHelper.SearchResults;
+
+import connectNumericSelector from '../connectNumericSelector.js';
+
+const fakeClient = {addAlgoliaAgent: () => {}};
+
+describe('connect... | feat(connector): test connectNumericSelector | null | algolia/instantsearch.js | MIT License | JavaScript |
@@ -519,7 +519,7 @@ export async function saveSnapshot(page: Page, options: SaveSnapshotOptions = {}
if (saveScreenshot) {
const screenshotName = `${key}.jpg`;
- const screenshotBuffer = await page.screenshot({ fullPage: true, quality: screenshotQuality, type: 'jpeg' });
+ const screenshotBuffer = await page.screenshot... | feat(playwright): disable animations when taking screenshots | null | apify/apify-js | Apache License 2.0 | TypeScript |
@@ -29,13 +29,24 @@ class Loader(extraPlugins: List<KClass<out Plugin>> = emptyList(), extraPlayback
val pluginName = (pluginClass.companionObjectInstance as? NamedType)?.name
pluginName?.let {
if (pluginName.isNotEmpty()) {
- registeredPlugins.put(pluginName, pluginClass)
+ registeredPlugins[pluginName] = pluginClass
... | feat(loader): create unregister plugins method in Loader | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -43,6 +43,7 @@ class GetMaterialApp extends StatelessWidget {
this.showSemanticsDebugger = false,
this.debugShowCheckedModeBanner = true,
this.shortcuts,
+ this.scrollBehavior,
this.customTransition,
this.translationsKeys,
this.translations,
@@ -101,6 +102,7 @@ class GetMaterialApp extends StatelessWidget {
final bo... | feat: Ability to Add Scroll Behaviour | null | jonataslaw/getx | MIT License | Dart |
@@ -11,7 +11,7 @@ namespace Flextype;
use Glowy\Macroable\Macroable;
use Composer\Semver\Semver;
-use Flextype\Component\I18n\I18n;
+use Flextype\I18n;
use RuntimeException;
use function array_diff_key;
| feat(core): add i18n support into the core - upd for Plugins | null | flextype/flextype | MIT License | PHP |
@@ -131,6 +131,7 @@ export default function (props) {
if (hasLink.value === true) {
Object.assign(acc, linkProps.value)
+ acc.role = 'link'
}
else {
acc.role = props.type === 'a' ? 'link' : 'button'
| feat(QBtn): improve accesibility in regards to "role" | null | quasarframework/quasar | MIT License | JavaScript |
@@ -365,7 +365,7 @@ func (conf *ConfigType) Scan() {
}
conf.TmpPath = path.Clean(conf.TmpPath)
- fmt.Print(" > Web root URL (optional, example http://localhost:8010/): ")
+ fmt.Print(" > Web root URL (optional, see https://github.com/ansible-semaphore/semaphore/wiki/Web-root-URL): ")
ScanErrorChecker(fmt.Scanln(&conf.W... | feat(be): add Web root URL option description | null | ansible-semaphore/semaphore | MIT License | Go |
@@ -425,6 +425,9 @@ class E1744MediaPlayerController(MediaPlayerController):
class E1766LightController(LightController):
+ def get_z2m_actions_mapping(self) -> TypeActionsMapping:
+ return {"open": Light.ON, "close": Light.OFF}
+
def get_deconz_actions_mapping(self) -> TypeActionsMapping:
return {
1002: Light.ON,
@@ -... | feat(device): add Z2M support for E1766 IKEA controller | null | xaviml/controllerx | MIT License | Python |
@@ -9,6 +9,7 @@ const BASE_CLASS = 'sui-MoleculeCheckboxField'
const MoleculeCheckboxField = ({
id,
label,
+ nodeLabel,
successText,
errorText,
alertText,
@@ -23,6 +24,7 @@ const MoleculeCheckboxField = ({
<MoleculeField
name={id}
label={label}
+ nodeLabel={nodeLabel}
successText={successText}
errorText={errorText}
ale... | feat(molecule/checkboxField): add new prop nodeLabel | null | sui-components/sui-components | MIT License | JavaScript |
/*********************
* INCLUDES
*********************/
+#if defined(__clang__)
+ #pragma clang diagnostic ignored "-Wunknown-warning-option"
+ #pragma clang diagnostic ignored "-Wreserved-identifier"
+ #pragma clang diagnostic ignored "-Wincompatible-pointer-types-discards-qualifiers"
+ #pragma clang diagnostic ignor... | feat(gpu): Update gpu arm 2d | null | lvgl/lvgl | MIT License | C |
@@ -214,6 +214,12 @@ class KrakenViewController {
var node = _elementManager.getEventTargetByTargetId<EventTarget>(eventTargetId);
if (node is Element) {
+ if (!node.isRendererAttached) {
+ String msg = 'toImage: the element is not attached to document tree.';
+ completer.completeError(Exception(msg));
+ return complet... | feat: check renderAttached when toBlob | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -58,7 +58,7 @@ const Example = ({ app, draft, tutorial = false, xray = false }) => {
}
// Returns a FreeSewing draft based on code in children
-const buildExample = (children, settings = { margin: 10 }, tutorial = false) => {
+const buildExample = (children, settings = { margin: 10 }, tutorial = false, paperless = f... | feat(shared): Support paperless in Example | null | freesewing/freesewing | MIT License | JavaScript |
@@ -294,7 +294,7 @@ App::post('/v1/teams/:teamId/memberships')
}
$memberships = $projectDB->getCollection([
- 'limit' => 50,
+ 'limit' => 2000,
'offset' => 0,
'filters' => [
'$collection='.Database::SYSTEM_COLLECTION_MEMBERSHIPS,
| feat: increase memberships fetched to 2000 | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -16,7 +16,7 @@ export function fsm<T extends FSMState, A, B>(states: FSMStateMap<T, A, B>, init
rfn[0],
(acc) => rfn[1](acc),
(acc, x) => {
- // console.log(state.state, x, state);
+ // console.log(x, State[state.state], state);
const res = states[<any>state.state](state, x);
if (res) {
acc = r(acc, res);
@@ -40,12 ... | feat(sax): emit child elements with `end` results, support comments | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
@@ -51,8 +51,7 @@ void HTMLParser::traverseHTML(GumboNode * node, ElementInstance* element) {
arrStyles.push_back(strStyles.substr(prev_pos, pos-prev_pos));
JSStringRef propertyName = JSStringCreateWithUTF8CString("style");
- JSValueRef exc = nullptr; // exception
- JSValueRef styleRef = JSObjectGetProperty(m_context->... | feat: analyze html logic before | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -88,6 +88,16 @@ void on_message_delete_bulk(
discord_create_message(client, channel_id, ¶ms, NULL);
}
+enum discord_event_handling_mode
+on_any_event(
+ struct discord *client,
+ struct discord_user *bot,
+ struct sized_buffer *event_data,
+ enum discord_gateway_events event)
+{
+ return DISCORD_EVENT_CHILD_THRE... | feat(bot-echo): make it pop threads to test race-condition | null | cee-studio/orca | MIT License | C |
@@ -7,8 +7,7 @@ import me.melijn.melijnbot.commands.image.GifSequenceWriter
import me.melijn.melijnbot.commands.image.UserImageException
import me.melijn.melijnbot.internals.command.ICommandContext
import me.melijn.melijnbot.internals.utils.ParsedImageByteArray
-import me.melijn.melijnbot.internals.utils.message.sendFi... | feat: progress bars for image effects | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -32,6 +32,7 @@ int main() {
stack = new int[stack_size];
int ch, x;
do {
+ std::cout << "\n0. Exit";
std::cout << "\n1. Push";
std::cout << "\n2. Pop";
std::cout << "\n3. Print";
| feat: Add exit option | null | thealgorithms/c-plus-plus | MIT License | C++ |
@@ -112,6 +112,19 @@ public class RDBMEntityGroupStore implements IEntityGroupStore, IGroupConstants
+ GROUP_NAME_COLUMN
+ " = ?";
+ private static final String SEARCH_ENTITIES_FOR_GROUP =
+ "SELECT "
+ + MEMBER_MEMBER_KEY_COLUMN
+ + " FROM "
+ + MEMBER_TABLE
+ + " WHERE "
+ + MEMBER_GROUP_ID_COLUMN
+ + "=? AND "
+ + M... | feat(uPortal-groups): Use prepared statement for entities for groups query | null | uportal-project/uportal | Apache License 2.0 | Java |
+@extends('layouts.app')
+
+@section('template')
+<style>
+ group-card {
+ display: block;
+ /* box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 30px; */
+ border-radius: 4px;
+ transition: .2s ease-out .0s;
+ color: #7a8e97;
+ background: #fff;
+ /* padding: 1rem; */
+ position: relative;
+ border: 1px solid rgba(0, 0, 0, 0.15)... | feat: init group setting | null | zsgsdesign/noj | MIT License | PHP |
@@ -191,6 +191,11 @@ impl Room {
self.inner.read().unwrap().canonical_alias().map(ToOwned::to_owned)
}
+ /// Get the canonical alias of this room.
+ pub fn alt_aliases(&self) -> Vec<OwnedRoomAliasId> {
+ self.inner.read().unwrap().alt_aliases().to_owned()
+ }
+
/// Get the `m.room.create` content of this room.
///
/// ... | feat(base): Add method to get Room alt aliases | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -12,6 +12,7 @@ use Swoole\Timer;
use Utopia\App;
use Utopia\CLI\Console;
use Utopia\Logger\Log;
+use Utopia\Logger\Logger;
use Utopia\Orchestration\Adapter\DockerCLI;
use Utopia\Orchestration\Orchestration;
use Utopia\Storage\Device\Local;
@@ -39,9 +40,8 @@ use Utopia\Validator\Text;
// Fix error handling - done
// ... | feat: enable logging | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -22,8 +22,15 @@ import com.sun.security.auth.callback.TextCallbackHandler;
import com.xiaomi.infra.pegasus.operator.negotiation_operator;
import com.xiaomi.infra.pegasus.rpc.async.ReplicaSession;
import java.util.HashMap;
+import java.util.Iterator;
import java.util.Map;
+import java.util.Set;
+import java.util.conc... | feat(security): refresh tgt in background | null | apache/incubator-pegasus | Apache License 2.0 | Java |
@@ -16,7 +16,7 @@ from org.gluu.oxauth.service.common import UserService
from org.gluu.oxauth.util import ServerUtil
from org.gluu.service.cdi.util import CdiUtil
from org.gluu.util import StringHelper
-
+from java.util import Arrays
from java.util.concurrent.locks import ReentrantLock
import java
@@ -77,6 +77,8 @@ cla... | feat: touch ID as a fido device | null | gluufederation/community-edition-setup | MIT License | Python |
@@ -60,10 +60,10 @@ class AuditableTest extends AuditingTestCase
}
/**
- * @group Auditable::getAuditableEvents
+ * @group Auditable::getAuditEvents
* @test
*/
- public function itReturnsTheDefaultAuditableEvents()
+ public function itReturnsTheDefaultAuditEvents()
{
$model = new Article();
@@ -73,15 +73,13 @@ class Au... | feat(Auditable): add missing getAuditEvents() method config test | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -473,6 +473,9 @@ class RenderFlexLayout extends RenderBox
// Loop element tree to find nearest parent width
// @TODO Support detecting node width in more complicated scene such as flex layout
double _getParentsWidth() {
+ if (constraints.maxWidth != double.infinity) {
+ return constraints.maxWidth;
+ }
var parentWid... | feat: flexbox get constraints as width when not infinity | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -17,4 +17,8 @@ public class MetadataForwarder implements ServerInterceptor {
public static ClientInterceptor clientInterceptor() {
return MetadataUtils.newAttachHeadersInterceptor(METADATA_INFO.get());
}
+
+ public static Metadata getMetadata() {
+ return METADATA_INFO.get();
+ }
}
| feat: Provide method to get metadata | null | vertaai/modeldb | Apache License 2.0 | Java |
@@ -2,6 +2,7 @@ package upgrade
import (
"errors"
+ "os"
"regexp"
"sync"
@@ -33,12 +34,14 @@ func eraseVersionPrefix(version string) (string, error) {
// PrintUpgradeMessage prints an upgrade message if there is a new version available
func PrintUpgradeMessage() {
+ if os.Getenv("DEVSPACE_SKIP_VERSION_CHECK") != "true"... | feat: add DEVSPACE_SKIP_VERSION_CHECK | null | loft-sh/devspace | Apache License 2.0 | Go |
@@ -19,14 +19,13 @@ use common_datavalues::DataSchemaRef;
use common_exception::ErrorCode;
use common_exception::Result;
use common_exception::ToErrorCode;
-use common_io::consts::*;
-use common_io::prelude::FormatSettings;
use common_meta_types::FileFormatOptions;
use common_meta_types::StageFileCompression;
use commo... | feat(format): better checking of format options | 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.