diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
part of firebase_core_web;
/// The currently supported Firebase JS SDK version.
-const String supportedFirebaseJsSdkVersion = '9.9.0';
+const String supportedFirebaseJsSdkVersion = '9.11.0';
| feat: Firebase JS web SDK version: `9.11.0` | null | firebaseextended/flutterfire | BSD 3-Clause New or Revised License | Dart |
@@ -7,6 +7,7 @@ import io.clappr.player.base.InternalEvent
import io.clappr.player.plugin.Loader
import io.clappr.player.base.Options
import io.clappr.player.base.UIObject
+import io.clappr.player.log.Logger
import io.clappr.player.plugin.Plugin
import io.clappr.player.plugin.core.UICorePlugin
@@ -94,7 +95,8 @@ class C... | feat(handle_broken_plugin): handle core plugin error when render or destroyed | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -35,7 +35,8 @@ class ChunkCraftDriver(BaseExecutableDriver):
c.blob.CopyFrom(array2blob(v))
elif k == 'chunk_id':
self.logger.warning(f'you are assigning a chunk_id in in {self.exec.__class__}, '
- f'is it intentional? chunk_id will be override by {self.__class__} anyway')
+ f'is it intentional? chunk_id will be ove... | feat(crafter): fix the line width | null | jina-ai/jina | Apache License 2.0 | Python |
@@ -276,6 +276,12 @@ func main() {
}
})
+ // insert shared organization to DB if not exists
+ sharedOrg := auth.Organization{Name: viper.GetString(config.SpotguideSharedLibraryGitHubOrganization)}
+ if err := db.Where(sharedOrg).FirstOrCreate(&sharedOrg).Error; err != nil {
+ log.Errorf("failed to create shared organiz... | feat: insert shared organization to DB on start if not exists | null | banzaicloud/pipeline | Apache License 2.0 | Go |
@@ -109,6 +109,14 @@ type MsgReq struct {
Content *MsgContent `json:"content,omitempty"`
}
+type BatchMsgReq struct {
+ DepartMentIds []string `json:"department_ids"`
+ OpenIds []string `json:"open_ids"`
+ UserIds []string `json:"user_ids"`
+ MsgType string `json:"msg_type,omitempty"`
+ Content *MsgContent `json:"conte... | feat: Add BatchSendMessage for feishu SDK | null | yunionio/yunioncloud | Apache License 2.0 | Go |
use std::sync::Arc;
-use iox_catalog::mem::MemCatalog;
+use iox_catalog::{mem::MemCatalog, interface::KafkaPartition};
/// The [`IngesterServer`] manages the lifecycle and contains all state for
/// an `ingester` server instance.
#[derive(Debug)]
-struct IngesterServer<'a> {
+pub struct IngesterServer<'a> {
pub kafka_t... | feat: initialize ingester data | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -752,6 +752,9 @@ class S3Source(Source):
table_dict[table_data.table_path].timestamp
< table_data.timestamp
):
+ table_dict[
+ table_data.table_path
+ ].full_path = table_data.full_path
table_dict[
table_data.table_path
].timestamp = table_data.timestamp
| feat(ingest/s3): use latest file to infer schema metadata | null | linkedin/datahub | Apache License 2.0 | Python |
@@ -39,7 +39,7 @@ else
exit 1
fi
-EXPECTED_BENCHWIZARD_VERSION="0.4.3"
+EXPECTED_BENCHWIZARD_VERSION="0.5.0"
echo -n "benchwizard >= $EXPECTED_BENCHWIZARD_VERSION ..... "
@@ -81,4 +81,17 @@ echo
# Run the check
# shellcheck disable=SC2086
-$PYTHON -m bench_wizard benchmark -pc $*
+$PYTHON -m bench_wizard pc -p xyk -p e... | feat: add db benchmark to check perf script | null | galacticcouncil/hydradx-node | Apache License 2.0 | Shell |
@@ -149,4 +149,41 @@ class HTTPTest extends Scope
unlink(realpath(__DIR__ . '/../../resources/open-api3.json'));
}
+
+ public function testResponseHeader() {
+
+ /**
+ * Test without header
+ */
+ $response = $this->client->call(Client::METHOD_GET, '/locale/continents', array_merge([
+ 'content-type' => 'application/js... | feat: added e2e test for response filters | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
+package frontend
+
+import (
+ "math/big"
+
+ "github.com/consensys/gnark-crypto/ecc"
+ "github.com/consensys/gnark/backend"
+ "github.com/consensys/gnark/internal/backend/compiled"
+)
+
+// plonkConstraintSystem represents a plonk like system of constraints.
+//
+// All the APIs to define a circuit (see Circuit.Defin... | feat: started the addition of plonk secific cs | null | consensys/gnark | Apache License 2.0 | Go |
@@ -79,3 +79,10 @@ test('test getFileLocation entry', function () {
$this->assertStringContainsString('/foo/entry.md',
flextype('entries')->getFileLocation('foo'));
});
+
+test('test getDirectoryLocation entry', function () {
+ flextype('entries')->create('foo', []);
+
+ $this->assertStringContainsString('/foo',
+ flex... | feat(core): add test for getDirectoryLocation() entry | null | flextype/flextype | MIT License | PHP |
@@ -116,6 +116,8 @@ def _get_stack_template():
SamCliSourceBucket:
Type: AWS::S3::Bucket
Properties:
+ VersioningConfiguration:
+ Status: Enabled
Tags:
- Key: ManagedStackSource
Value: AwsSamCli
| feat: s3 bucket versioning - managed stack | null | aws/aws-sam-cli | Apache License 2.0 | Python |
@@ -39,6 +39,7 @@ if "$INPUT_KEEP_RESULT";
git config --global user.email "admin@danubetech.com"
git config --global user.name "Get driver status workflow"
git add .
+ git checkout driver-status-reports
# Pass driver_status_report to next step in github action
echo "driver_status_report=$(git diff --name-only --staged)... | feat: switch to driver-status-reports before commit | null | decentralized-identity/universal-resolver | Apache License 2.0 | Shell |
@@ -90,6 +90,8 @@ class Trainer:
_model_pt = model_pt
optimizer_pt = model_pt.with_suffix('.optimizer.pt')
+
+
model_state = torch.load(
_model_pt, map_location=lambda storage, loc: storage)
self.model_.load_state_dict(model_state)
@@ -216,6 +218,10 @@ class Trainer:
def epoch(self):
return self.epoch_
+ @property
+ de... | feat: add Trainer.batches_per_epoch property | null | pyannote/pyannote-audio | MIT License | Python |
@@ -110,7 +110,7 @@ tasks {
patchPluginXml {
version.set(properties("pluginVersion"))
sinceBuild.set(properties("pluginSinceBuild"))
- untilBuild.set(properties("pluginUntilBuild"))
+ untilBuild.set("")
// Extract the <!-- Plugin description --> section from README.md and provide for the plugin's manifest
pluginDescrip... | feat: set untilBuild = "" for remove it | null | jetbrains/idea-gitignore | Apache License 2.0 | Kotlin |
@@ -6,6 +6,7 @@ namespace Sylius\Bundle\AdminBundle\Command;
use Doctrine\ORM\EntityManagerInterface;
use Sylius\Component\Core\Model\AdminUser;
+use Sylius\Component\Resource\Repository\RepositoryInterface;
use Sylius\Component\User\Repository\UserRepositoryInterface;
use Symfony\Component\Console\Attribute\AsCommand;... | feat: add choices for locale code and enabled user | null | sylius/sylius | MIT License | PHP |
@@ -59,6 +59,10 @@ export const parseNumber = (_value, precision) => {
* @return {Boolean} boolean indicating wether the address is a valid on-chain address.
*/
export const isOnchain = (input, chain = 'bitcoin', network = 'mainnet') => {
+ if (typeof input !== 'string') {
+ return false
+ }
+
if (chain !== 'bitcoin') ... | feat(crypto): add utility methods for lnd data | null | ln-zap/zap-desktop | MIT License | JavaScript |
@@ -33,35 +33,35 @@ function create_datahub_usage_event_datastream() {
POLICY_RESPONSE_CODE=$(curl -o /dev/null -s -w "%{http_code}" --header "$ELASTICSEARCH_AUTH_HEADER" "$ELASTICSEARCH_PROTOCOL://$ELASTICSEARCH_HOST:$ELASTICSEARCH_PORT/_ilm/policy/${PREFIX}datahub_usage_event_policy")
echo -e "Policy GET response cod... | feat(elastic-setup): add better error handling | null | linkedin/datahub | Apache License 2.0 | Shell |
@@ -126,7 +126,7 @@ impl<'a> Request<'a> {
Request {
#[cfg(feature = "tag")]
tag: TypeTag,
- id: Id(rand::random()),
+ id: Id::fresh(),
method: Some(method),
path: path.into(),
has_body,
@@ -186,7 +186,7 @@ impl Response {
Response {
#[cfg(feature = "tag")]
tag: TypeTag,
- id: Id(rand::random()),
+ id: Id::fresh(),
re,... | feat(rust): extend `Request` and `Response` encode api | null | ockam-network/ockam | Apache License 2.0 | Rust |
import { mount } from 'enzyme'
import { degreesToRadians } from '@nivo/core'
+import { DatumWithArcAndColor } from '@nivo/arcs'
// @ts-ignore
import { RadialBar, RadialBarSvgProps, ComputedBar, RadialBarTooltipProps } from '../src'
@@ -215,6 +216,47 @@ describe('style', () => {
})
})
+describe('tracks', () => {
+ it('s... | feat(radial-bar): add unit tests for tracks | null | plouc/nivo | MIT License | TypeScript |
@@ -220,7 +220,9 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options:
private val isRepeatModeEnabled
get() = player?.let {
- it.repeatMode == Player.REPEAT_MODE_ONE && options.options.containsKey(ClapprOption.LOOP.value)
+ it.repeatMode == Player.REPEAT_MODE_ONE &&
+ options.options.conta... | feat(video_loop_event): trigger DID_LOOP event only for VOD | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -38,7 +38,7 @@ for i in 100 101 102; do
done
# set one of the replicas to primary
-vtctldclient InitShardPrimary --force commerce/0 zone1-100
+vtctldclient PlannedReparentShard commerce/0 --new-primary zone1-100
# create the schema
vtctlclient ApplySchema -sql-file create_commerce_schema.sql commerce
| feat: use PlannedReparentShard for initialization in the local example | null | vitessio/vitess | Apache License 2.0 | Shell |
@@ -21,6 +21,7 @@ import (
"yunion.io/x/jsonutils"
"yunion.io/x/pkg/prettytable"
+ "yunion.io/x/pkg/util/sets"
"yunion.io/x/onecloud/pkg/mcclient/modulebase"
)
@@ -125,14 +126,54 @@ func printJSONObject(dict *jsonutils.JSONDict, cb PrintJSONObjectFunc) {
}
func PrintJSONObject(obj jsonutils.JSONObject) {
+ switch jObj ... | feat(climc): print json object support array | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -344,6 +344,9 @@ def _train_batches(model: NNModel, iterator: DataLearningIterator, train_config:
'metrics': prettify_metrics(metrics),
'time_spent': str(datetime.timedelta(seconds=round(time.time() - start_time + 0.5)))
}
+ if losses:
+ report['loss'] = sum(losses)/len(losses)
+ losses = []
if train_config['tensorb... | feat: add loss to epochs reports | null | deeppavlov/deeppavlov | Apache License 2.0 | Python |
package cmd
import (
- "errors"
"fmt"
"gopkg.in/yaml.v2"
"kool-dev/kool/cmd/compose"
@@ -24,9 +23,6 @@ type KoolPreset struct {
promptSelect shell.PromptSelect
}
-// ErrPresetFilesAlreadyExists error for existing presets files
-var ErrPresetFilesAlreadyExists = errors.New("some preset files already exist")
-
func init(... | feat(preset): removed unused existing files error | null | kool-dev/kool | MIT License | Go |
+import { closestPointSegment, closestT } from "@thi.ng/geom-closest-point";
import { fit01 } from "@thi.ng/math";
import {
dist,
@@ -11,7 +12,6 @@ import {
Vec,
VecPair
} from "@thi.ng/vectors";
-import { closestPointSegment, closestT } from "@thi.ng/geom-closest-point";
export class Sampler {
points: ReadonlyVec[];
@... | feat(geom-resample): enable TS strict compiler flags (refactor) | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
@@ -219,9 +219,11 @@ post_to_azure_devops () {
GITHUB_SHA=$SYSTEM_PULLREQUEST_SOURCECOMMITID
post_to_github
elif [ "$BUILD_REPOSITORY_PROVIDER" = "TfsGit" ]; then
+ # See https://docs.microsoft.com/en-us/javascript/api/azure-devops-extension-api/commentthreadstatus
+ azure_devops_comment_status=${azure_devops_comment_s... | feat(ci): enable Azure DevOps users to customize comment status | null | infracost/infracost | Apache License 2.0 | Shell |
@@ -20,7 +20,8 @@ use Symfony\Component\Console\Command\Command;
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 Therm... | feat(console): improve `entries:move` logic | null | flextype/flextype | MIT License | PHP |
@@ -1287,6 +1287,9 @@ void LCUI_PrintStyleSheet(LCUI_StyleSheet ss)
case LCUI_STYPE_STRING:
LOG("%s", s->val_string);
break;
+ case LCUI_STYPE_WSTRING:
+ LOG("%S", s->val_wstring);
+ break;
case LCUI_STYPE_SCALE:
LOG("%g%%", s->val_scale * 100);
break;
| feat(css): add support for printing the wstring type | null | lc-soft/lcui | MIT License | C |
@@ -894,8 +894,6 @@ namespace ctranslate2 {
if (options.prefix_bias_beta > 0 && options.return_alternatives)
throw std::invalid_argument("Biased decoding is not compatible with the return_alternatives "
"mode");
- if (options.prefix_bias_beta > 0 && options.beam_size == 1)
- throw std::invalid_argument("Biased decoding... | feat: support bias decoding for beam_size 1 | null | opennmt/ctranslate2 | MIT License | C++ |
@@ -127,7 +127,6 @@ struct StressCmd {
void parse_args( const vector<string>& args
, vector<asio::ip::address>* ifaddrs
- , optional<PutCmd>* put_cmd
, optional<StressCmd>* stress_cmd)
{
if (args.size() == 2 && args[1] == "-h") {
@@ -157,17 +156,6 @@ void parse_args( const vector<string>& args
}
}
- if (args[2] == "put... | feat(test/test-dht): Cli-fy `put` | null | equalitie/ouinet | MIT License | C++ |
@@ -92,20 +92,22 @@ class QuestionView(View):
super().__init__()
self.current_question: CurrentQuestion
self.users_picked = {}
- self.buttons = [QuestionButton(label, self.users_picked, self) for label in ("A", "B", "C", "D")]
- for button in self.buttons:
- self.add_item(button)
self.active_question = False
def create... | feat: allow a dynamic number of questions, not just being 4 answers | null | python-discord/sir-lancebot | MIT License | Python |
use std::sync::Arc;
-use common_arrow::arrow::array::PrimitiveArray;
-use common_arrow::arrow::array::Utf8Array;
-use common_arrow::arrow::types::NativeType;
use common_datablocks::DataBlock;
use common_datavalues::ColumnRef;
+use common_datavalues::ConstColumn;
use common_datavalues::DataField;
use common_datavalues::... | feat(hive): use const column to represent hive partition data | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -132,6 +132,7 @@ impl Event {
}).collect()));
event.user.insert("username".into(), get_user_name().unwrap_or("unknown".into()));
+ event.user.insert("ip_address".into(), String::from("{{auto}}"));
let mut device = HashMap::new();
if let Some(hostname) = get_hostname() {
| feat(send): Use automatic IP addresses | null | getsentry/sentry-cli | BSD 3-Clause New or Revised License | Rust |
/* eslint-disable jsx-a11y/mouse-events-have-key-events */
import React, { useState, useRef } from 'react';
import styled, { withTheme } from 'styled-components';
-import { number, func, shape, bool } from 'prop-types';
+import { number, func, shape, bool, string } from 'prop-types';
import { StarFilled } from '@gympas... | feat(rating): add testId | null | gympass/yoga | MIT License | JavaScript |
@@ -120,7 +120,6 @@ var args struct {
// Operator IAM Roles
operatorIAMRoles []string
operatorRolesPrefix string
- operatorRolePath string
operatorRolesPermissionsBoundary string
// Proxy
@@ -232,13 +231,6 @@ func init() {
"Prefix to use for all IAM roles used by the operators needed in the OpenShift installer. "+
"Lea... | feat: remove operator role path in create cluster in favor of master role path | null | openshift/rosa | Apache License 2.0 | Go |
+# module instead"
+)]
+
//! High-level interface for `web_sys` HTTP requests.
use std::future::Future;
| feat(fetch): Deprecate old fetch service | null | seed-rs/seed | MIT License | Rust |
@@ -126,3 +126,9 @@ export class ErrorEvent extends Event {
}
}
}
+
+export class CustomEvent extends Event {
+ constructor(type: string) {
+ super(type);
+ }
+}
\ No newline at end of file
| feat: CustomEvent | null | openkraken/kraken | Apache License 2.0 | TypeScript |
@@ -29,7 +29,7 @@ export class MainWindow {
webPreferences: {
nodeIntegration: true,
contextIsolation: false,
- backgroundThrottling: false,
+ backgroundThrottling: false
}
};
Object.assign(opts, this.store.get('win:bounds', {}));
@@ -47,6 +47,7 @@ export class MainWindow {
this.win.loadURL(`file://${Constants.BASE_APP... | feat(desktop): app now remembers zoom factor on close | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -220,13 +220,16 @@ const OPERATORS: Record<OperatorType, OperatorMap> = {
* @param operators Map of the operators
*/
export function useOperators(type: OperatorType, operators: OperatorMap): void {
- for (const [name, func] of Object.entries(operators)) {
+ for (const [name, fn] of Object.entries(operators)) {
asser... | feat: Improve validation for `useOperator` | null | kofrasa/mingo | MIT License | TypeScript |
@@ -10,20 +10,6 @@ pub mod pt {
/// load the executable. The executable must be loaded at the start of the
/// region and must (obviously) fit in the region.
pub const EXEC: u32 = PT_LOOS + 0x3400000;
-
- /// KVM Program Headers Types
- pub mod kvm {
- use super::PT_LOOS;
-
- /// The sallyport program header type
- pub... | feat: use programm header flags instead of types | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -24,6 +24,7 @@ import (
"yunion.io/x/jsonutils"
"yunion.io/x/log"
"yunion.io/x/pkg/errors"
+ "yunion.io/x/pkg/util/regutils"
api "yunion.io/x/onecloud/pkg/apis/compute"
"yunion.io/x/onecloud/pkg/cloudprovider"
@@ -59,6 +60,9 @@ func (self *SESXiProviderFactory) ValidateCreateCloudaccountData(ctx context.Con
if len(i... | feat(region): check whether the esxi host is ip or domain name | null | yunionio/yunioncloud | Apache License 2.0 | Go |
-import { Timestamp } from "google-protobuf/google/protobuf/timestamp_pb";
import { ListEventsReq } from "proto/communities_pb";
-import {
- CreateEventReq,
- OfflineEventInformation,
- OnlineEventInformation,
-} from "proto/events_pb";
import client from "service/client";
-interface EventInput {
- content: string;
- t... | feat: remove unused helper in events | null | couchers-org/couchers | MIT License | TypeScript |
@@ -620,6 +620,7 @@ class GoogleCloudStorageInterface(object):
except google.cloud.exceptions.NotFound:
pass
+ @retry
def list_files(self, prefix, flat=False):
"""
List the files in the layer with the given prefix.
@@ -771,10 +772,19 @@ class S3Interface(object):
layer_path = self.get_path_to_file("")
path = os.path.jo... | feat: retry for Storage.list_files | null | seung-lab/cloud-volume | BSD 3-Clause New or Revised License | Python |
+
+
+export const getCurlForUpload = (bucketName: string,
+ file: string,
+ storeFullPath: string,
+ authToken: string,
+ headers: Map<string, string> = new Map()) => {
+
+ let headerStr = Array.from(headers)
+ .reduce((prev, current) => prev + ` -H ${current[0]}:${current[1]}`, '');
+
+ return `curl -v ${headerStr} --... | feat(server): add file upload utils | null | machinelabs/machinelabs | MIT License | TypeScript |
@@ -304,7 +304,10 @@ impl Highlighter for EditorHelper {
fn highlight<'l>(&self, line: &'l str, _: usize) -> Cow<'l, str> {
let mut out_line = String::from(line);
- for item in deno_ast::lex(line, deno_ast::MediaType::TypeScript) {
+ let mut lexed_items = deno_ast::lex(line, deno_ast::MediaType::TypeScript)
+ .into_ite... | feat(repl): add color to functions for syntax highlighting | null | denoland/deno | MIT License | Rust |
@@ -147,6 +147,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
break;
case 'kotlin':
$config = new Kotlin();
+ $warning = $warning."\n\n > This is the Kotlin SDK for integrating with Appwrite from your Kotlin server-side code. If you're looking for the Android SDK you should check [... | feat: added kotlin readme warning | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -129,6 +129,15 @@ pub fn print_launch_resume(opt: &Opt, data: &Data) {
}
);
+ eprintln!(
+ "Amplitude Analytics:\t{:?}",
+ if !opt.no_analytics {
+ "Enabled"
+ } else {
+ "Disabled"
+ }
+ );
+
eprintln!();
if data.api_keys.master.is_some() {
| feat(analytics): log if analytics are enabled | null | meilisearch/meilisearch | MIT License | Rust |
@@ -16,6 +16,7 @@ data class Settings(
val exceptionChannel: Long,
val jikan: Jikan,
val melijnCDN: MelijnCDN,
+ val imghoard: Imghoard,
val spotify: Spotify,
val lavalink: Lavalink,
val tokens: Tokens,
@@ -74,4 +75,8 @@ data class Settings(
data class MelijnCDN(
var token: String
)
+
+ data class Imghoard(
+ var token... | feat: add imghoard to settings for future token use | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -311,6 +311,29 @@ class ObserverInterceptorTests: QuickSpec {
expect(store.state.user.users.count).toEventually(equal(1))
}
}
+
+ // MARK: - Deallocation
+ describe("When deallocated") {
+ it("unregisters all the observers") {
+ let testNotification = Notification.Name("Test_Notification")
+ let notificationCenter =... | feat: added test for deallocation | null | bendingspoons/katana-swift | MIT License | Swift |
@@ -31,6 +31,7 @@ jfieldID gj_playerconfig_ClearFrameWhenStop = nullptr;
jfieldID gj_playerconfig_EnableTunnelRender = nullptr;
jfieldID gj_playerconfig_UserAgent = nullptr;
jfieldID gj_playerconfig_NetworkRetryCount = nullptr;
+jfieldID gj_playerconfig_LiveStartIndex = nullptr;
void JavaPlayerConfig::init(JNIEnv *env)... | feat(mediaplayer): add liveStartIndex config | null | alibaba/cicadaplayer | MIT License | C++ |
@@ -44,6 +44,7 @@ pub fn expr_to_rpc_node(expr: Expr) -> Result<RPCNode> {
// Builds an RPCNode given the value Expr and the converted children
fn build_node(expr: &Expr) -> Result<RPCNode> {
match expr {
+ Expr::Nested(expr) => make_node(RPCType::ParenExpression, vec![build_node(expr)?], None),
Expr::Cast { expr, data... | feat: add support for precedence | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -24,7 +24,10 @@ class AutoResetWrapper(Wrapper):
def step(self, action):
observation, reward, done, info = self.env.step(action)
self.current_step += 1
- if self.current_step == self.horizon: # At H, always return to the initial state.
+ # At H, always return to the initial state.
+ # Also, set done to True.
+ if se... | feat(wrappers): AutoResetWrapper now sets done=True after reset | null | rlberry-py/rlberry | MIT License | Python |
@@ -271,46 +271,38 @@ class Forge extends \CodeIgniter\Database\Forge
//--------------------------------------------------------------------
/**
- * Process indexes
+ * Process foreign keys
+ *
+ * @param string $table Table name
*
- * @param string $table (ignored)
* @return string
*/
- protected function _processInde... | feat: add forgen key method | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -174,6 +174,8 @@ func (s gatekeeper) getClients(ctx context.Context) (*servertypes.Clients, *type
}
return clients, claims, nil
} else {
+ // important! write an audit entry (i.e. log entry) so we know which user performed an operation
+ log.WithFields(log.Fields{"subject": claims.Subject}).Info("using the default s... | feat(server): Write an audit log entry for SSO users | null | argoproj/argo-workflows | Apache License 2.0 | Go |
@@ -45,6 +45,13 @@ export class RelationshipMetadataBuilder {
}
}
+ /**
+ * Get all relationships
+ */
+ public getRelationships() {
+ return this.relationships;
+ }
+
/**
* Get all relationships where the model is the parent.
* @param modelName
| feat: expose method to retrieve all relationships | null | aerogear/graphback | Apache License 2.0 | TypeScript |
@@ -494,6 +494,11 @@ func (rs *RevocationStorage) updateAccumulatorTimes(types []CredentialTypeIdenti
if err = tx.Save(r); err != nil {
return err
}
+
+ s := rs.getSettings(r.CredType)
+ s.updated = time.Now()
+ // POST record to listeners, if any, asynchroniously
+ go rs.client.PostUpdate(r.CredType, s.PostURLs, &revo... | feat: revocation server also sends updated accumulators | null | privacybydesign/irmago | Apache License 2.0 | Go |
@@ -10,6 +10,7 @@ import Events from './events';
import FullScreen from './fullscreen';
import User from './user';
import Subtitle from './subtitle';
+import Subtitles from './subtitles';
import Bar from './bar';
import Timer from './timer';
import Bezel from './bezel';
@@ -60,6 +61,41 @@ class DPlayer {
this.container... | feat(sub): init subtitles options | null | diygod/dplayer | MIT License | JavaScript |
@@ -163,19 +163,21 @@ open class Core: UIObject, UIGestureRecognizerDelegate {
#if os(iOS)
private func renderCorePlugins() {
- plugins.filter { plugin in
- switch plugin {
- case let (mediaControl as MediaControl):
- layerComposer.attachMediaControl(mediaControl.view)
- render(mediaControl)
- return false
- case is Ov... | feat: change order to attach media control layer | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -939,7 +939,11 @@ def get_installed_apps(sort=False, frappe_last=False):
connect()
if not local.all_apps:
- local.all_apps = get_all_apps(True)
+ local.all_apps = cache().get_value('all_apps', get_all_apps)
+
+ #cache bench apps
+ if not cache().get_value('all_apps'):
+ cache().set_value('all_apps', local.all_apps)
... | feat: cache bench apps | null | frappe/frappe | MIT License | Python |
@@ -50,27 +50,23 @@ defmodule MoonWeb.Pages.Components.PasswordInputPage do
<TopToDown>
<Heading size={56} class="mb-4">Password Input</Heading>
- <div>
- The input component is used when you need to let users enter the text of some kind, such as their name or phone number etc.
- </div>
-
<ExampleAndCode id="example_1"... | feat: improved password input | null | coingaming/moon | MIT License | Elixir |
@@ -198,20 +198,26 @@ App::post('/v1/runtimes')
->setMemory(App::getEnv('_APP_FUNCTIONS_MEMORY', 256))
->setSwap(App::getEnv('_APP_FUNCTIONS_MEMORY_SWAP', 256));
+ $entrypoint = empty($commands) ? [] : [
+ 'tail',
+ '-f',
+ '/dev/null'
+ ];
$containerId = $orchestration->run(
image: $baseImage,
name: $runtimeId,
hostna... | feat: fix runtime bugs | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -5,12 +5,10 @@ namespace App\Controller;
use App\Service\Content\LodestoneCharacter;
use App\Service\LodestoneQueue\CharacterConverter;
use Lodestone\Api;
-use Lodestone\Exceptions\LodestoneNotFoundException;
use Lodestone\Exceptions\LodestonePrivateException;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractCo... | feat(character): new character content entry: MIMO (Minions and Mounts) | null | xivapi/xivapi.com | MIT License | PHP |
@@ -846,6 +846,31 @@ static void draw_main(lv_event_t * e)
draw_ctx->clip_area = clip_area_ori;
}
+static void overwrite_anim_property(lv_anim_t * dest, const lv_anim_t * src, lv_label_long_mode_t mode)
+{
+ switch(mode) {
+ case LV_LABEL_LONG_SCROLL:
+ /** If the dest animation is already running, overwrite is not all... | feat(lv_label): override animation properties when scrolling | null | lvgl/lvgl | MIT License | C |
@@ -37,6 +37,8 @@ public partial class BitFileUpload : IAsyncDisposable
private DotNetObjectReference<BitFileUpload>? dotnetObjectReference;
private ElementReference inputFileElement;
private IJSObjectReference? dropZoneInstance;
+ private long internalChunkSize = MIN_CHUNK_SIZE;
+ private long? chunkSize;
[Inject] pub... | feat(components): correct implementation of the ChunkSize parameter in the BitFileUpload component | null | bitfoundation/bitframework | MIT License | C# |
-open class SpinnerPlugin: UIContainerPlugin {
+open class SpinnerPlugin: OverlayPlugin {
fileprivate var spinningWheel: UIActivityIndicatorView!
@@ -18,36 +18,15 @@ open class SpinnerPlugin: UIContainerPlugin {
view.accessibilityIdentifier = "SpinnerPlugin"
}
- override open func bindEvents() {
- bindPlaybackEvents()
... | feat: convert SpinnerPlugin to OverlayPlugin | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -765,15 +765,18 @@ class LogoutView(TemplateResponseMixin, View):
if app_settings.LOGOUT_ON_GET:
return self.post(*args, **kwargs)
if not self.request.user.is_authenticated:
- return redirect(self.get_redirect_url())
+ response = redirect(self.get_redirect_url())
+ return _ajax_response(self.request, response)
ctx =... | feat: add ajax functionality to logout | null | pennersr/django-allauth | MIT License | Python |
@@ -3,10 +3,12 @@ package org.kestra.runner.kafka.services;
import io.micrometer.core.instrument.binder.kafka.KafkaStreamsMetrics;
import lombok.extern.slf4j.Slf4j;
import org.apache.kafka.clients.CommonClientConfigs;
+import org.apache.kafka.common.TopicPartition;
import org.apache.kafka.streams.KafkaStreams;
import o... | feat(kafka-runner): add a logger for state store restore | null | kestra-io/kestra | Apache License 2.0 | Java |
@@ -181,7 +181,11 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options:
field = value
+ try{
bitrateHistory.addBitrate(field)
+ } catch (e: BitrateHistory.BitrateLog.WrongTimeIntervalException) {
+ Logger.error(name, e.message ?: "Can not add bitrate on history")
+ }
if(oldValue != field) {... | feat(exoplayer): add try cach for WrongTimeIntervalException | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -70,8 +70,8 @@ process.UNI_STAT_CONFIG = {
let usingComponentsAbsent = false
if (!platformOptions.hasOwnProperty('usingComponents')) {
usingComponentsAbsent = true
- platformOptions.usingComponents = true
}
+platformOptions.usingComponents = true
// }
if (process.env.UNI_PLATFORM === 'h5') {
| feat(cli): usingComponents = true | null | dcloudio/uni-app | Apache License 2.0 | JavaScript |
+import { SessionProvider } from 'next-auth/react'
+import React, { ReactElement } from 'react'
+
+export const SessionProviderWrapper = ({
+ children
+}: {
+ children: ReactElement
+}) => (
+ <SessionProvider
+ session={{
+ expires: '123'
+ }}
+ >
+ {children}
+ </SessionProvider>
+)
| feat(helpers): create SessionProviderWrapper | null | garagescript/c0d3-app | MIT License | TypeScript |
@@ -174,7 +174,7 @@ async function updMakeSwap(
describe('End-to-end Router test', async function () {
let env: TestEnvironment
let chainId: ChainId
- let intermidiateResult: [BigNumber | undefined, number]
+ let intermidiateResult: [BigNumber | undefined, number] = [undefined, 1]
before(async () => {
env = await getTe... | feat: RP test update | null | sushiswap/sushiswap | MIT License | TypeScript |
@@ -14,9 +14,11 @@ const CoverBasic = (props) => {
<div className={(props.gradient ? 'sui-CoverBasic-gradient' : '')}>
<img className='sui-CoverBasic-image' src={props.src} />
</div>
+ {buttons.length > 0 &&
<div className='sui-CoverBasic-buttonList'>
{buttons}
</div>
+ }
</div>
)
}
| feat(cover/basic): use conditional rendering for buttonList | null | sui-components/sui-components | MIT License | JavaScript |
@@ -17,21 +17,30 @@ const (
V1x15x2
V1x15x3
V1x15x4
+ V1x15x5
+ V1x15x6
+ V1x15x7
+ V1x15x8
+ V1x15x9
V1x16x0
V1x16x1
V1x16x2
V1x16x3
V1x16x4
+ V1x16x5
+ V1x16x6
V1x17x0
V1x17x1
V1x17x2
+ V1x18x0
)
var kubernetesVersions = []string{
"unknown",
- "v1.15.0", "v1.15.1", "v1.15.2", "v1.15.3", "v1.15.4",
- "v1.16.0", "v1.16... | feat: add recent kubernetes versions | null | caos/orbos | Apache License 2.0 | Go |
+import 'package:flutter/material.dart';
+import 'package:flutter_test/flutter_test.dart';
+import 'package:get/get.dart';
+
+import 'util/wrapper.dart';
+
+void main() {
+ testWidgets("Get.defaultDialog smoke test", (tester) async {
+ await tester.pumpWidget(
+ Wrapper(child: Container()),
+ );
+
+ Get.defaultDialog(
... | feat: add test for dialog | null | jonataslaw/getx | MIT License | Dart |
@@ -13,6 +13,7 @@ import {
FaStackOverflow,
FaTelegram,
FaTwitter,
+ FaXing,
FaYoutube,
} from 'react-icons/fa';
@@ -29,6 +30,7 @@ const profileIconMap: Record<string, JSX.Element> = {
gitlab: <FaGitlab />,
telegram: <FaTelegram />,
skype: <FaSkype />,
+ xing: <FaXing />,
youtube: <FaYoutube />,
};
| feat(profile): add XING profile icon | null | amruthpillai/reactive-resume | MIT License | TypeScript |
@@ -958,8 +958,10 @@ class Database:
return defaults.get(frappe.scrub(key))
- def begin(self):
- self.sql("START TRANSACTION")
+ def begin(self, *, read_only=False):
+ read_only = read_only or frappe.flags.read_only
+ mode = "READ ONLY" if read_only else ""
+ self.sql(f"START TRANSACTION {mode}")
def commit(self):
"""C... | feat: db.begin(read_only=True) | null | frappe/frappe | MIT License | Python |
+/*
+In recreational number theory, a narcissistic number is also known
+as a pluperfect digital invariant (PPDI), an Armstrong number or a
+plus perfect number is a number that is the sum of its digits
+each raised to the power of the number of digits.
+*/
+
+#include <bits/stdc++.h>
+using namespace std;
+
+// Functi... | feat: Add Armstrong Number | null | smv1999/competitiveprogrammingquestionbank | MIT License | C++ |
import { BrowserModule } from '@angular/platform-browser';
+import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
+
import { NgModule } from '@angular/core';
import { HttpClientModule } from '@angular/common/http';
@@ -29,6 +31,8 @@ import { getDriverVariant } from './helper/driver-variant';
]... | feat(foundation-demo): adding animation module | null | graycoreio/daffodil | MIT License | TypeScript |
@@ -197,6 +197,14 @@ open class Player: UIViewController {
return baseObject.on(event.rawValue, callback: callback)
}
+ open func trigger(_ eventName: String) {
+ baseObject.trigger(eventName)
+ }
+
+ open func trigger(_ eventName: String, userInfo: EventUserInfo) {
+ baseObject.trigger(eventName, userInfo: userInfo)
+... | feat: exposing trigger methods on Player | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -8,16 +8,13 @@ import 'package:kraken/foundation.dart';
class UriParser {
String _url = '';
- int? _contextId;
+ int _contextId;
- UriParser(int contextId) {
- _contextId = contextId;
- }
+ UriParser(contextId) : _contextId = contextId;
Uri parse(Uri uri) {
String path = uri.toString();
- if(_contextId != null) {
Kr... | feat: content id is required | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -134,7 +134,7 @@ struct discord_voice {
char digest[CEE_SHA1_STR_LEN];
char unique_key[128];
int audio_udp_pid;
- time_t start_time;
+ uintmax_t start_time;
} udp_service;
struct discord_voice_cbs *p_voice_cbs;
| feat: use uintmax_t to use portable format string | null | cee-studio/orca | MIT License | C |
@@ -22,13 +22,22 @@ public partial class ConfigCommands
[Description("Adjust the configured mute role, or setup native mutes (powered by Discord's Timeout feature).")]
public async Task<IResult> MuteAsync
(
- [Description("The role to mute users with.")] IRole? mute,
- [Option("native")] [Description("Whether to use th... | feat: Role is now optional | null | vtpdevelopment/silk | Apache License 2.0 | C# |
@@ -276,13 +276,11 @@ func (s *SpotguideManager) scrapeSpotguides(org *auth.Organization, githubClient
readme, err := downloadGithubFile(githubClient, owner, name, ReadmePath, tag)
if err != nil {
log.Warnf("failed to scrape the readme of '%s/%s' at version '%s': %s", owner, name, tag, err)
- continue
}
icon, err := do... | feat: make spotguide readme and icon optional | null | banzaicloud/pipeline | Apache License 2.0 | Go |
@@ -16,6 +16,7 @@ pub struct InstancedModel<M: Material> {
aabb: AxisAlignedBoundingBox,
transformation: Mat4,
instances: Vec<ModelInstance>,
+ shown_instances: usize,
texture_transform: Mat3,
/// The material applied to the instanced model
pub material: M,
@@ -56,6 +57,7 @@ impl<M: Material> InstancedModel<M> {
aabb_l... | feat: Added show_instances to hide and show instances quickly without updating buffers | null | asny/three-d | MIT License | Rust |
@@ -35,7 +35,7 @@ full_requires = [
extras_require = {
'full': full_requires,
'test': tests_require,
- 'deploy': ['sphinx', 'sphinx_rtd_theme'],
+ 'deploy': ['sphinx', 'sphinx_rtd_theme', 'mock'],
'opengl_rendering': ['PyOpenGL', 'PyOpenGL_accelerate'],
'torch_agents': ['torch>=1.6.0'],
'hyperparam_optimization': ['opt... | feat(docs): forgot to commit the change in setup.py | null | rlberry-py/rlberry | MIT License | Python |
@@ -126,7 +126,14 @@ class CommandClient(private val commandList: Set<AbstractCommand>, private val c
// CC Finder
findCustomCommands(ccsWithPrefix, commandParts, true, spaceMap, ccsWithPrefixMatches)
- var command = commandMap[commandParts[1].toLowerCase()]
+ // If the command is disabled we will act like it doesn't e... | feat: ignore disabled commands when getting them from the command list so aliases of existing commands can take over | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -27,7 +27,7 @@ const colors = {
class logger {
constructor(title) {
this.title;
- process.stdout.write(`${colors.Bright}${title} - ${colors.FgCyan}webpack-cli ${colors.Reset}`);
+ process.stdout.write(`${colors.Bright}${title} - ${colors.FgCyan}webpack-cli ${colors.Reset}\n`);
return;
}
| feat(log): add newline for title | null | webpack/webpack-cli | MIT License | JavaScript |
@@ -150,6 +150,15 @@ public class TdStack
new NameValuePairArgs { Name = "ApplicationInsights__InstrumentationKey", Value = appInsights.InstrumentationKey },
new NameValuePairArgs { Name = "APPINSIGHTS_INSTRUMENTATIONKEY", Value = appInsights.InstrumentationKey },
new NameValuePairArgs { Name = "ASPNETCORE_ENVIRONMENT"... | feat(template): improve app insights and app service integration | null | bitfoundation/bitframework | MIT License | C# |
@@ -49,8 +49,8 @@ impl<'a> Header<'a> {
}
/// Create `Authorization: Bearer xxx` header.
- pub fn bearer(token: &str) -> Header<'a> {
- Self::custom("Authorization", format!("Bearer {}", token))
+ pub fn bearer(token: impl Into<Cow<'a, str>>) -> Header<'a> {
+ Self::custom("Authorization", format!("Bearer {}", token.in... | feat(fetch): Change `bearer` type to `Into<Cow>` | null | seed-rs/seed | MIT License | Rust |
@@ -60,5 +60,18 @@ pub fn register(registry: &mut FunctionRegistry) {
Ok(())
},
);
+ registry.register_with_writer_1_arg::<StringType, NumberType<u64>, _, _>(
+ "char_length",
+ FunctionProperty::default(),
+ |_| None,
+ |val, writer| {
+ let char_length = match std::str::from_utf8(val) {
+ Ok(s) => s.chars().count() a... | feat(function): migrate char_length functions to new expression framework | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -18,7 +18,7 @@ class WebsocketConnector {
private schedulePing () {
setTimeout(() => {
this.send('ping')
- }, 1000 * 30)
+ }, 1000 * 10)
}
public connect(
port: string | number // TODO: return Promise so we can wait for it
@@ -49,6 +49,12 @@ class WebsocketConnector {
}
this.socket.onclose = (reason) => {
console.lo... | feat(overmind-devtools): show error when disconnected and then restart | null | cerebral/overmind | MIT License | TypeScript |
@@ -151,8 +151,8 @@ class Api
$response->getBody()->write(serializers()->json()->encode($body));
}
- $response->withStatus($status);
- $response->withHeader('Content-Type', 'application/json;charset=' . registry()->get('flextype.settings.charset'));
+ $response = $response->withStatus($status);
+ $response = $response-... | feat(endpoints): fix api response headers and status codes | null | flextype/flextype | MIT License | PHP |
@@ -9,25 +9,44 @@ class ModeSelector extends Component {
location: PropTypes.object,
label: PropTypes.string,
setLocation: PropTypes.func,
+ showLabel: PropTypes.boolean,
type: PropTypes.string // replace with locationType?
}
+
_onChange = (evt) => {
console.log(evt.target.value)
this.props.setMode(evt.target.value)
}
... | feat(form): Enhancements to ModeSelector for TriMet mobile UI | null | opentripplanner/otp-react-redux | MIT License | JavaScript |
@@ -35,16 +35,6 @@ export class DaffCustomerMagentoDriverModule {
provide: DaffCustomerAddressDriver,
useExisting: DaffCustomerMagentoAddressService,
},
- {
- provide: DAFF_MAGENTO_CACHEABLE_OPERATIONS,
- useValue: MAGENTO_GET_CUSTOMER_QUERY_NAME,
- multi: true,
- },
- {
- provide: DAFF_MAGENTO_CACHEABLE_OPERATIONS,
- ... | feat(customer): send magento queries as POST | null | graycoreio/daffodil | MIT License | TypeScript |
@@ -75,7 +75,7 @@ def loader_shift(node, frame, relative=True):
class LoadSequence(api.Loader):
"""Load image sequence into Nuke"""
- families = ["write", "source"]
+ families = ["write", "source", "plates"]
representations = ["exr", "dpx"]
label = "Load sequence"
| feat(nuke): adding `plates` family | null | pypeclub/openpype | MIT License | Python |
* The interval/period in milliseconds at which {@link #run} is to be
* invoked.
*/
- private final long _period;
+ private long _period;
/**
* Initializes a new {@code PeriodicRunnable} instance which is to have
@@ -89,6 +89,16 @@ public final long getPeriod()
return _period;
}
+ /**
+ * Sets the period in milliseconds... | feat: Allows to set the period of a periodic runnable | null | jitsi/libjitsi | Apache License 2.0 | Java |
@@ -471,7 +471,8 @@ class KrakenVerticalDragGestureRecognizer extends KrakenDragGestureRecognizer {
@override
bool _acceptDragGesture(PointerEvent event) {
- return isAcceptedDrag(_globalDistanceMoved < 0 ? AxisDirection.up : AxisDirection.down);
+ AxisDirection direction = _globalDistanceMoved < 0 ? AxisDirection.up :... | feat: modify direction | null | openkraken/kraken | Apache License 2.0 | Dart |
+import {Component} from 'react'
import {connect} from 'zefir/utils'
-const Modal = ({
+class Modal extends Component {
+ componentWillMount (props) {
+ window.addEventListener('keydown', this.props.handleEscKey)
+ }
+
+ componentWillUnmount (props) {
+ window.removeEventListener('keydown', this.props.handleEscKey)
+ }... | feat: handle modal esc key | null | syncano/website | MIT License | JavaScript |
@@ -485,8 +485,8 @@ namespace acl
// Assumes the 'vector_data' is padded in order to load up to 16 bytes from it
inline Vector4_32 ACL_SIMD_CALL unpack_vector3_s48_unsafe(const uint8_t* vector_data)
{
- Vector4_32 unsigned_value = unpack_vector3_u48_unsafe(vector_data);
- return vector_sub(vector_mul(unsigned_value, 2.... | feat(vector4): fix asserts and use FMA where possible | null | nfrechette/acl | MIT License | C |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.