diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -171,7 +171,7 @@ func adminStateCallback(
return
}
- req, err := createCallbackRequest(service)
+ req, err := createCallbackRequest(http.MethodPut, service)
if err != nil {
lc.Error(fmt.Sprintf("fail to create callback request for %s", service.Name))
}
@@ -190,12 +190,12 @@ func adminStateCallback(
resp.Close = true... | feat(metadata): Add httpMethod argument to the createCallbackRequest function signature | null | edgexfoundry/edgex-go | Apache License 2.0 | Go |
@@ -260,6 +260,8 @@ fn new_gcs(config: &ObjectStoreConfig) -> Result<Arc<DynObjectStore>, ParseError
use object_store::gcp::GoogleCloudStorageBuilder;
use object_store::limit::LimitStore;
+ info!(bucket=?config.bucket, object_store_type="GCS", "Object Store");
+
let mut builder = GoogleCloudStorageBuilder::new();
if le... | feat: Log object store configuration on startup | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -125,7 +125,6 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options:
open fun getSubtitleStyle() = CaptionStyleCompat(Color.WHITE, Color.TRANSPARENT, Color.TRANSPARENT, CaptionStyleCompat.EDGE_TYPE_NONE, Color.WHITE, null)
-
override fun destroy() {
release()
super.destroy()
@@ -159,11 +1... | feat(configure_selector): add listener configuration methods | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -33,6 +33,7 @@ class Course::Discussion::PostsController < Course::ComponentController
# and send notification
if @post.published? && @post.codaveri_feedback && @post.creator_id == 0
@post.update(creator_id: current_user.id)
+ update_topic_pending_status
send_created_notification(@post)
end
format.json { render @pos... | feat(codaveri post): mark codaveri topic is not pending after finalising | null | coursemology/coursemology2 | MIT License | Ruby |
@@ -116,4 +116,25 @@ class PreparedQuery extends BasePreparedQuery implements PreparedQueryInterface
}
//--------------------------------------------------------------------
+
+ /**
+ * Replaces the ? placeholders with :1, :2, etc parameters for use
+ * within the prepared query.
+ *
+ * @param string $sql
+ *
+ * @ret... | feat: add parameterize method | null | codeigniter4/codeigniter4 | MIT License | PHP |
package org.activiti.spring.boot.tasks;
+import static org.assertj.core.api.Assertions.assertThat;
+
import org.activiti.api.runtime.shared.query.Page;
import org.activiti.api.runtime.shared.query.Pageable;
import org.activiti.api.task.model.Task;
@@ -15,9 +17,6 @@ import org.springframework.beans.factory.annotation.Au... | feat: a test added for assign method | null | activiti/activiti | Apache License 2.0 | Java |
@@ -162,30 +162,23 @@ func (n *KongController) onUpdateInMemoryMode(state *file.Content) error {
// Kong errors out if `null`s are present in `config` of plugins
cleanUpNullsInPluginConfigs(state)
- jsonConfig, err := json.Marshal(state)
+ config, err := json.Marshal(state)
if err != nil {
return errors.Wrap(err,
"mars... | feat: send configuration to /config as a json body | null | kong/kubernetes-ingress-controller | Apache License 2.0 | Go |
@@ -30,6 +30,7 @@ type RestartCmd struct {
Pod string
Pick bool
LabelSelector string
+ Name string
log log.Logger
}
@@ -63,6 +64,7 @@ devspace restart -n my-namespace
restartCmd.Flags().StringVarP(&cmd.Container, "container", "c", "", "Container name within pod to restart")
restartCmd.Flags().StringVar(&cmd.Pod, "pod",... | feat: new --name flag for devspace restart | null | loft-sh/devspace | Apache License 2.0 | Go |
@@ -16,7 +16,7 @@ limitations under the License.
*/
import { Form, FormOptions, Field } from '@tinacms/core'
-import { useLocalForm, useCMS, useWatchFormValues } from 'react-tinacms'
+import { useCMS, useWatchFormValues, usePlugins, useForm } from 'react-tinacms'
import { useMemo, useCallback, useState, useEffect } fro... | feat: useJsonForm only creates forms | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
@@ -123,7 +123,7 @@ class ConfigTest extends BaseRollbarTest
'environment' => $this->env
));
$this->assertEquals(Config::VERBOSE_NONE, $config->verbose());
- $this->assertInstanceOf('\Psr\Log\NullLogger', $config->verboseLogger());
+ $this->assertInstanceOf('\Rollbar\VerboseLogger', $config->verboseLogger());
$config->... | feat(dev options): fix default verbose_logger test | null | rollbar/rollbar-php | MIT License | PHP |
@@ -98,6 +98,7 @@ func CreateMySQLDBSession(kubectlConfig kubernetes.Interface, namespace string,
Password: string(passwordByte),
Host: cfg.GetHostname(),
Database: cfg.Database,
+ Options: cfg.Options,
})
if err != nil {
return nil, "", err
| feat: add mysql options | null | argoproj/argo-workflows | Apache License 2.0 | Go |
@@ -1026,6 +1026,7 @@ class TextFormControlElement extends Element implements TextInputClient, TickerP
String inputType = '';
InputEvent inputEvent = InputEvent(inputData, inputType: inputType);
dispatchEvent(inputEvent);
+ hasDirtyValue = true;
}
}
| feat: mark dirty value after user change text | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -93,7 +93,7 @@ func DefaultStoreOptions() *store.Options {
WithIndexOptions(indexOptions).
WithMaxLinearProofLen(0).
WithMaxConcurrency(10).
- WithMaxValueLen(1 << 20)
+ WithMaxValueLen(32 << 20)
}
// WithDir sets dir
| feat: increase default store max value length to 32MB | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -710,6 +710,8 @@ func (c *Conn) QueryFunc(ctx context.Context, sql string, args []interface{}, sc
// explicit transaction control statements are executed. The returned BatchResults must be closed before the connection
// is used again.
func (c *Conn) SendBatch(ctx context.Context, b *Batch) BatchResults {
+ startTim... | feat: add batch logging | null | jackc/pgx | MIT License | Go |
@@ -186,9 +186,12 @@ class RenderLayoutBox extends RenderBoxModel
// No need to override [all] and [addAll] method cause they invoke [insert] method eventually.
@override
void insert(RenderBox child, {RenderBox? after}) {
- super.insert(child, after: after);
+ // No need to paint RenderPositionHolder for positioned ele... | feat: no need to paint renderPositionHolder | null | openkraken/kraken | Apache License 2.0 | Dart |
import {useId} from '@reach/auto-id'
import {ValidationList} from '@sanity/base/components'
import {ErrorOutlineIcon} from '@sanity/icons'
+import {
+ isValidationInfoMarker,
+ isValidationWarningMarker,
+ isValidationErrorMarker,
+} from '@sanity/types'
import {Button, Menu, MenuButton} from '@sanity/ui'
import React,... | feat(desk-tool): check if info validation markers exists in `ValidationMenu` | null | sanity-io/sanity | MIT License | TypeScript |
@@ -3,6 +3,7 @@ package presentation
import (
"github.com/jesseduffield/generics/slices"
"github.com/jesseduffield/lazygit/pkg/commands/models"
+ "github.com/jesseduffield/lazygit/pkg/gui/presentation/icons"
"github.com/jesseduffield/lazygit/pkg/theme"
)
@@ -19,5 +20,11 @@ func getStashEntryDisplayStrings(s *models.Sta... | feat: add stash icon | null | jesseduffield/lazygit | MIT License | Go |
using System.Collections;
using System.Collections.Generic;
using Microsoft.Extensions.DependencyInjection;
+using Microsoft.Extensions.DependencyInjection.Extensions;
namespace Paramore.Brighter.Extensions.DependencyInjection
{
@@ -13,7 +14,7 @@ public class ServiceCollectionMessageMapperRegistry: IEnumerable<KeyValue... | feat(DI): Use services.Try... as recommend for libraries | null | brightercommand/brighter | MIT License | C# |
@@ -14,12 +14,14 @@ import {
createDialogCancelError,
createDialogCloseError,
} from './dialog-utilities.js';
+import { IComposer, ICompositionContext } from '../composer.js';
+import { IEventTarget, INode } from '../../dom.js';
import type {
IDialogCancelableOperationResult,
IDialogCloseResult,
} from './dialog-interf... | feat(dialog): rearrange timing in dialog controller, adjust based objects | null | aurelia/aurelia | MIT License | TypeScript |
@@ -84,7 +84,7 @@ function normalize(str) {
if(!_.isString(str)){ return str; }
return str
- .normalize('NFC')
+ .normalize('NFKC')
.replace(CONTROL_CODES, '')
.replace(ALTERNATE_SPACES, ' ')
.replace(MISC_UNSUPPORTED_SYMBOLS, '')
| feat(unicode): switch to NFKC normalization | null | pelias/api | MIT License | JavaScript |
@@ -31,10 +31,10 @@ import java.util.concurrent.ConcurrentHashMap;
/**
* A package object, coming from {@link Phi}.
*
+ * @since 0.22
* @todo #1717:30min Reuse {@link JavaPath} in {@link PhPackage} and remove code duplication.
* The duplicate code is in the method "attr()", in variable "target". That issue would be bet... | feat(#1717): fix qulice suggestion | null | cqfn/eo | MIT License | Java |
@@ -465,11 +465,16 @@ export class Authority {
globalUrl.validateAsUri();
// Include the query string portion of the url
- return UrlString.constructAuthorityUriFromObject({
+ const url = UrlString.constructAuthorityUriFromObject({
...globalUrl.getUrlComponents(),
HostNameAndPort: `${region}.login.microsoft.com`,
Query... | feat: add msi query parameters to the token endpoint | null | azuread/microsoft-authentication-library-for-js | MIT License | TypeScript |
import domain from '../../../../../src/domain';
describe('domain i18n getSupportedLanguages use case test suite', () => {
- const assertionSupportedLanguages = ['en-US', 'es-ES', 'mt'];
+ const assertionSupportedLanguages = ['en-US', 'es-ES', 'mt', 'it-IT'];
it('should return an array of supported languages', () => {
c... | feat(I18n): add italian translations | null | blockchain-certificates/cert-verifier-js | MIT License | JavaScript |
@@ -184,8 +184,8 @@ def _session_tests(
session: nox.sessions.Session, post_install: Callable = None
) -> None:
# check for presence of tests
- test_list = glob.glob("*_test.py") + glob.glob("test_*.py")
- test_list.extend(glob.glob("tests"))
+ test_list = glob.glob("**/*_test.py", recursive=True) + glob.glob("**/test_... | feat: Tests in subdericteries get properly detected | null | googlecloudplatform/python-docs-samples | Apache License 2.0 | Python |
@@ -474,7 +474,7 @@ class Entries
}
// Determine if collection exists
- if (! $this->has($this->registry()->get('methods.fetch.params.id'))) {
+ if (! $this->has($this->registry()->get('methods.fetch.params.id')) && $this->registry()->get('methods.fetch.params.id') != '') {
// Run event
emitter()->emit('onEntriesFetchC... | feat(entries): restore ability to fetch entries from root | null | flextype/flextype | MIT License | PHP |
@@ -46,6 +46,11 @@ class CircleComponent extends ShapeComponent {
return min(size.x, size.y) / 2;
}
+ /// Set the radius of the circle (and therefore the [size]).
+ set radius(double value) {
+ size.setValues(value * 2, value * 2);
+ }
+
// Used to not create new Vector2 objects every time radius is called.
final Vecto... | feat: Add setter for CircleComponent.radius | null | flame-engine/flame | MIT License | Dart |
@@ -72,7 +72,12 @@ class SubmissionQueue(Document):
try:
getattr(to_be_queued_doc, _action)()
- add_data_to_monitor(doctype=to_be_queued_doc.doctype, action=_action)
+ add_data_to_monitor(
+ doctype=to_be_queued_doc.doctype,
+ action=_action,
+ execution_time=cint(time_diff_in_seconds(now(), self.created_at)),
+ enqueu... | feat: Adding more data to monitor | null | frappe/frappe | MIT License | Python |
+import { string } from 'prop-types';
import React from 'react';
import styled, { css } from 'styled-components';
@@ -31,8 +32,8 @@ const LineWrapper = styled.div`
/** Stepper is responsible for the logic that drives a stepped workflow, it
provides a wizard-like workflow by dividing content into logical steps. */
-cons... | feat(stepper): add testId | null | gympass/yoga | MIT License | JavaScript |
import {CloseIcon, MenuIcon, SearchIcon} from '@sanity/icons'
-import {Box, Button, Card, Flex, Layer, Text, useGlobalKeyDown, useMediaIndex} from '@sanity/ui'
+import {
+ Box,
+ Button,
+ Card,
+ Flex,
+ Layer,
+ Text,
+ Tooltip,
+ useGlobalKeyDown,
+ useMediaIndex,
+} from '@sanity/ui'
import React, {
createElement,
... | feat(studio): close NavDrawer when changing workspace, add tooltip to WorkspaceMenuButton | null | sanity-io/sanity | MIT License | TypeScript |
@@ -148,6 +148,24 @@ impl<I: KeyExchanger, R: KeyExchanger, E: NewKeyExchanger<I, R>> ChannelManager<
match self.channels.get_mut(&address) {
Some(channel) => {
match m.message_type {
+ MessageType::KeyAgreementM2 => {
+ let ka_m2 = channel.agreement.process(&m.message_body)?;
+ let m2 = Message {
+ onward_route: m.ret... | feat(rust): handle xx key agreement message 2 | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -96,6 +96,12 @@ namespace acl
//////////////////////////////////////////////////////////////////////////
struct BitSetIndexRef
{
+ BitSetIndexRef()
+ : desc()
+ , offset(0)
+ , mask(0)
+ {}
+
BitSetIndexRef(BitSetDescription desc_, uint32_t bit_index)
: desc(desc_)
, offset(bit_index / 32)
| feat(core): add default constructor for BitSetIndexRef | null | nfrechette/acl | MIT License | C |
@@ -72,17 +72,19 @@ function getProviderThemeProps(theme: ThemeVariants, customBreakpoints?: string[
export interface ThemeProviderProps {
customBreakpoints?: string[];
theme?: ThemeVariants;
+ disableAnimations?: boolean;
}
const ThemeProvider: React.FunctionComponent<ThemeProviderProps> = ({
customBreakpoints,
theme ... | feat(theme): add prop to manually disable animations | null | twilio-labs/paste | MIT License | TypeScript |
@@ -4,7 +4,7 @@ import { BaseProps } from '../types';
export interface ChipProps extends BaseProps {
label?: ReactNode;
title?: string;
- variant?: 'base' | 'neutral' | 'outline-brand' | 'brand';
+ variant?: 'base' | 'neutral' | 'outline-brand' | 'brand' | 'success' | 'warning' | 'error';
onDelete?: (event: MouseEvent<... | feat: add ts variant interface to chip component | null | nexxtway/react-rainbow | MIT License | TypeScript |
@@ -49,4 +49,8 @@ public enum Event: String, CaseIterable {
case willExitFullscreen
case didExitFullscreen
case didUpdateDuration
+ case willShowModal
+ case didShowModal
+ case willHideModal
+ case didHideModal
}
| feat: create modal events | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -131,19 +131,31 @@ where
let now = self.time_provider.now();
self.evict_expired(now);
- if let Some(ttl) = self
- .ttl_provider
- .expires_in(&k, &v)
- .and_then(|d| now.checked_add(d))
- {
- self.expiration.insert(k.clone(), (), ttl);
- } else {
+ let should_store = if let Some(ttl) = self.ttl_provider.expires_in(&... | feat: do not attempt to store entries that will immediately expire | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -56,6 +56,7 @@ export class GridService {
};
}
+ /** Get data item by it's row index number */
getDataItemByRowNumber(rowNumber: number) {
if (!this._grid || typeof this._grid.getDataItem !== 'function') {
throw new Error('We could not find SlickGrid Grid object');
@@ -126,11 +127,47 @@ export class GridService {
}
... | feat(service): add commonly functions to get item data | null | ghiscoding/angular-slickgrid | MIT License | TypeScript |
@@ -265,7 +265,10 @@ Uploading...
}).start()
fs.mkdirSync(join('tmp'))
copySync('dist', join('tmp', 'dist'))
- await zip('tmp', join(BOTONIC_BUNDLE_FILE))
+ const zipRes = await zip('tmp', join(BOTONIC_BUNDLE_FILE))
+ if (zipRes instanceof Error) {
+ throw Error
+ }
const zip_stats = fs.statSync(BOTONIC_BUNDLE_FILE)
sp... | feat(cli): detect when zipping of bundle fails | null | hubtype/botonic | MIT License | TypeScript |
@@ -114,3 +114,115 @@ impl_from_row_for_tuple!(
(7) -> T8;
(8) -> T9;
);
+
+impl_from_row_for_tuple!(
+ (0) -> T1;
+ (1) -> T2;
+ (2) -> T3;
+ (3) -> T4;
+ (4) -> T5;
+ (5) -> T6;
+ (6) -> T7;
+ (7) -> T8;
+ (8) -> T9;
+ (9) -> T10;
+);
+
+impl_from_row_for_tuple!(
+ (0) -> T1;
+ (1) -> T2;
+ (2) -> T3;
+ (3) -> T4;
+ ... | feat: implement FromRow for tuples up to 16 | null | launchbadge/sqlx | Apache License 2.0 | Rust |
@@ -3,7 +3,15 @@ angular
.run(/* @ngTranslationsInject:json ./translations */)
.run(
/* @ngInject */
- ($q, $rootScope, $translate, coreConfig, SidebarMenu, User) => {
+ (
+ $q,
+ $rootScope,
+ $translate,
+ coreConfig,
+ SidebarMenu,
+ User,
+ coreURLBuilder,
+ ) => {
function buildMyAccountMenu() {
SidebarMenu.addMen... | feat(sidebar-menu): change URL back to home | null | ovh/manager | BSD 3-Clause New or Revised License | JavaScript |
@@ -202,8 +202,7 @@ class SentinelUserRepository implements UserRepository
if ($request->get('search') !== null) {
$term = $request->get('search');
- $roles->where('first_name', 'LIKE', "%{$term}%")
- ->orWhere('last_name', 'LIKE', "%{$term}%")
+ $roles->whereRaw('CONCAT(first_name, " ", last_name) LIKE ? ', "%{$term}%... | feat: add fullname search using whereRaw and CONCAT | null | asgardcms/platform | MIT License | PHP |
@@ -16,8 +16,8 @@ use datafusion::{
scalar::ScalarValue,
};
use futures::{Stream, StreamExt};
-use tokio::sync::mpsc::Receiver;
-use tokio_stream::wrappers::ReceiverStream;
+use tokio::sync::mpsc::{Receiver, UnboundedReceiver};
+use tokio_stream::wrappers::{ReceiverStream, UnboundedReceiverStream};
/// Traits to help c... | feat: unbounded channel support for AdaptorStream | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -302,18 +302,21 @@ async fn execute_state_change<S: ProviderStateExecutor>(
})
}
-/// Main implementation for verifying an interaction
+/// Main implementation for verifying an interaction. Will return a tuple containing the
+/// result of the verification and any output collected
async fn verify_interaction<'a, F: ... | feat: deal with verification output from plugins | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -46,7 +46,7 @@ public boolean trigger(CodeGenContext context) throws CodeGenException {
// compile the imports first
for (String imprt : options.imports) {
- Path importPath = Paths.get(input.toAbsolutePath().toString(), imprt).toAbsolutePath();
+ Path importPath = Paths.get(input.toAbsolutePath().toString(), imprt.... | feat: trim the import path to allow multiline property | null | quarkusio/quarkus | Apache License 2.0 | Java |
@@ -24,10 +24,15 @@ public class GmsClientFactory {
*/
private static final String GMS_HOST_ENV_VAR = "DATAHUB_GMS_HOST";
private static final String GMS_PORT_ENV_VAR = "DATAHUB_GMS_PORT";
+ private static final String GMS_USE_SSL_ENV_VAR = "DATAHUB_GMS_USE_SSL";
+ private static final String GMS_SSL_PROTOCOL_VAR = "DA... | feat(react): enable the react frontend to use SSL when talking with GMS | null | linkedin/datahub | Apache License 2.0 | Java |
@@ -89,6 +89,12 @@ test('get cache ID for entry with cache enabled true', function () {
expect(strlen(entries()->getCacheID('foo')))->toEqual(32);
});
+test('get cache ID for entry with cache enabled true and with salt', function () {
+ registry()->set('flextype.settings.cache.enabled', true);
+ expect(entries()->creat... | feat(tests): update tests for entires | null | flextype/flextype | MIT License | PHP |
@@ -60,7 +60,10 @@ public class FeatureFlags implements Serializable {
"Map component (Pro)", "mapComponent",
"https://github.com/vaadin/platform/issues/2611", true,
"com.vaadin.flow.component.map.Map");
-
+ public static final Feature SPREADSHEET_COMPONENT = new Feature(
+ "Spreadsheet component (Pro)", "spreadsheetCo... | feat: add experimental flag for the spreadsheet component | null | vaadin/flow | Apache License 2.0 | Java |
+<?php
+
+declare(strict_types=1);
+
+beforeEach(function() {
+ filesystem()->directory(PATH['project'] . '/uploads')->create();
+ filesystem()->directory(PATH['project'] . '/uploads/.meta')->create();
+});
+
+afterEach(function (): void {
+ filesystem()->directory(PATH['project'] . '/uploads')->delete();
+});
+
+test(... | feat(tests): add tests for MediaFolders create() method | null | flextype/flextype | MIT License | PHP |
@@ -495,7 +495,7 @@ impl PipelineBuilder {
))
})?;
- if join.join_type == JoinType::Mark {
+ if join.join_type == JoinType::Mark && !join.subquery_as_build_side {
self.main_pipeline.resize(1)?;
self.main_pipeline.add_transform(|input, output| {
TransformMarkJoin::try_create(
| feat(query): impl algo for subquery_as_build_side | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -12,16 +12,28 @@ const definitions: OverrideBundleDefinition = {
// on all versions
minmax: [0, undefined],
types: {
- Address: 'AccountId',
- LookupSource: 'AccountId',
+ Address: 'MultiAddress',
+ LookupSource: 'MultiAddress',
Campaign: {
id: 'Hash',
- manager: 'AccountId',
+ owner: 'AccountId',
+ admin: 'AccountI... | feat(zero.io): update name, types, colour | null | polkadot-js/apps | Apache License 2.0 | TypeScript |
@@ -14,7 +14,7 @@ use function filesystem;
/**
* Validate access token
*/
-function validate_access_token(string $token): bool
+function validateAccessToken(string $token): bool
{
return filesystem()->file(PATH['project'] . '/tokens/access/' . $token . '/token.yaml')->exists();
}
| feat(endpoints): rename method `validate_access_token` to `validateAccess_Token` | null | flextype/flextype | MIT License | PHP |
import * as axios from 'axios'
+export interface RunMigrationConfig {
+ filePath: string
+ accessToken?: string
+ spaceId?: string
+ environmentId?: string
+ proxy?: string
+ rawProxy?: boolean
+}
+
+export function runMigration (config: RunMigrationConfig): Promise<any>
+
export interface Movement {
toTheTop(): void
t... | feat: export runMigration function and options in typings | null | contentful/contentful-migration | MIT License | TypeScript |
@@ -32,6 +32,12 @@ public class VersionRestSearch extends ObjectRestSearch {
@Parameter(description = "The types of resources to get the versions for")
private List<String> resourceType;
+ @Parameter(description = "Greater than equal to filter for the created at field")
+ private Long createdAtFrom;
+
+ @Parameter(desc... | feat: add createdAtFrom and createdAtTo fields to VersionRestSearch | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -238,8 +238,8 @@ open class AVFoundationPlayback: Playback {
let time = CMTimeMakeWithSeconds(timeInterval, Int32(NSEC_PER_SEC))
player?.currentItem?.seek(to: time)
- trigger(.positionUpdate, userInfo: ["position": CMTimeGetSeconds(time)])
trigger(.seek)
+ trigger(.positionUpdate, userInfo: ["position": CMTimeGetSec... | feat(avplayback): change seek trigger order | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -15,6 +15,7 @@ public let kMinDvrSize = "minDvrSize"
public let kMediaControl = "mediaControl"
public let kMediaControlAlwaysVisible = "mediaControlAlwaysVisible"
public let kChromeless = "chromeless"
+public let kDisableExternalPlayback = "disableExternalPlayback"
// List of MediaControl Elements
public let kMediaC... | feat: create kDisableExternalPlayback option | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -174,8 +174,6 @@ function bindMeetingEvents(meeting) {
// Join the meeting and add media
function joinMeeting(meeting) {
- console.log('joinMeeting', meeting);
-
return meeting.join().then(() => {
return meeting.getSupportedDevices({sendAudio: true, sendVideo: true})
.then(({sendAudio, sendVideo}) => {
| feat(samples): add enumaratedevices on page load | null | webex/webex-js-sdk | MIT License | JavaScript |
@@ -94,6 +94,13 @@ trait HasState
return $this;
}
+ public function formatStateUsing(?Closure $callback): static
+ {
+ $this->afterStateHydrated(fn ($component) => $component->state($component->evaluate($callback)));
+
+ return $this;
+ }
+
public function getStateToDehydrate(): array
{
if ($callback = $this->dehydrate... | feat: formatStateUsing alias for form fields | null | laravel-filament/filament | MIT License | PHP |
@@ -175,18 +175,7 @@ defmodule Extensions.PostgresCdcRls.Subscriptions do
with [col, rest] <- String.split(filter, "=", parts: 2),
[filter_type, value] when filter_type in @filter_types <-
String.split(rest, ".", parts: 2),
- {:ok, formatted_value} <-
- (case filter_type do
- "in" ->
- if String.at(value, 0) == "(" and... | feat: use regex for 'in' filter parentheses value | null | supabase/realtime | Apache License 2.0 | Elixir |
@@ -65,7 +65,7 @@ App::post('/v1/storage/buckets')
->param('enabled', true, new Boolean(true), 'Is bucket enabled?', true)
->param('maximumFileSize', (int) App::getEnv('_APP_STORAGE_LIMIT', 0), new Range(1, (int) App::getEnv('_APP_STORAGE_LIMIT', 0)), 'Maximum file size allowed in bytes. Maximum allowed value is ' . St... | feat: use constants in switch case | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -95,7 +95,22 @@ impl AtomRoot {
}
}
- pub fn read<V>(&self, _f: impl Readable<V>) -> &V {
- todo!()
+ pub fn read<V: 'static>(&self, f: impl Readable<V>) -> Rc<V> {
+ let mut atoms = self.atoms.borrow_mut();
+
+ // initialize the value if it's not already initialized
+ if let Some(slot) = atoms.get_mut(&f.unique_id(... | feat: read works on fermi root | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
#include <stdlib.h>
#endif
+//////////////////////////////////////////////////////////////////////////
+// Macro to identify GCC
+//////////////////////////////////////////////////////////////////////////
+#if defined(__GNUG__) && !defined(__clang__)
+ #define ACL_COMPILER_GCC
+#endif
+
+///////////////////////////////... | feat(core): add new ACL_COMPILER_* macros | null | nfrechette/acl | MIT License | C |
@@ -49,7 +49,7 @@ class PDFPasswordForm extends Component {
</Text>
<TextInput
label={this.props.translate('common.password')}
- autoCompleteType="password"
+ autoCompleteType="off"
textContentType="password"
onChangeText={password => this.setState({password})}
returnKeyType="done"
@@ -66,7 +66,6 @@ class PDFPasswordFo... | feat: pdf password form - disabled autocomplete on password field and removed focused property from confirm button | null | expensify/expensify.cash | MIT License | JavaScript |
@@ -88,9 +88,15 @@ impl XEddsaSigner for XSecretKey {
impl XEddsaVerifier for XPublicKey {
fn verify(&self, msg: &[u8], sig: &[u8; 64]) -> bool {
let pt = MontgomeryPoint(self.to_bytes());
- let pk = EPublicKey::from_bytes(&pt.to_edwards(0).unwrap().compress().to_bytes()).unwrap();
+
+ if let Some(edwards) = pt.to_edwa... | feat(rust): remove unwrap | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -90,7 +90,7 @@ export const npmSearchGenerator: Fig.Generator = {
};
const workspaceGenerator: Fig.Generator = {
- script: "cat package.json",
+ script: "cat $(npm prefix)/package.json",
postProcess: function (out: string) {
const suggestions = [];
@@ -122,9 +122,7 @@ export const dependenciesGenerator: Fig.Generato... | feat: add `bun` | null | withfig/autocomplete | MIT License | TypeScript |
@@ -49,7 +49,7 @@ export const Article = ({ CAPIArticle, NAV, format }: Props) => {
animation: ${keyframes`
0% { opacity: 0; }
100% { opacity: 1; }
- `} 2s ease-out;
+ `} 1s ease-out;
}
.reveal-slowly {
animation: ${keyframes`
| feat: Speed up animation for content at the bottom of the article | null | guardian/dotcom-rendering | Apache License 2.0 | TypeScript |
+package sqlancer.databend.ast;
+
+import sqlancer.Randomly;
+import sqlancer.common.ast.BinaryOperatorNode;
+import sqlancer.common.ast.newast.NewBinaryOperatorNode;
+import sqlancer.common.ast.newast.Node;
+
+public class DatabendLikeOperation extends NewBinaryOperatorNode<DatabendExpression> {
+
+ public DatabendLik... | feat: implement the like operation | null | sqlancer/sqlancer | MIT License | Java |
@@ -21,10 +21,10 @@ declare -r STATIC_DIR="$ROOT_DIR/static"
# Download the SHA256 checksum attached to the release. To verify the integrity
# of the download, this checksum will be used to check the download tar file
# containing the built UI assets.
-curl -Ls https://github.com/influxdata/ui/releases/download/OSS-Mas... | feat: unpin ui to point at latest | null | influxdata/influxdb | MIT License | Shell |
@@ -32,6 +32,9 @@ public protocol AnyStore: class {
@discardableResult
func dispatch<T: SideEffect>(_ dispatchable: T) -> Promise<T.ReturnValue>
+ @discardableResult
+ func dispatch(_ dispatchable: Dispatchable) -> Promise<Any>
+
/**
Adds a listener to the store. A listener is basically a closure that is invoked
every ... | feat: add non generic dispatch to anystore | null | bendingspoons/katana-swift | MIT License | Swift |
@@ -445,9 +445,21 @@ def extract_sql_from_archive(sql_file_path):
else:
decompressed_file_name = sql_file_path
+ # convert archive sql to latest compatible
+ convert_archive_content(decompressed_file_name)
+
return decompressed_file_name
+def convert_archive_content(sql_file_path):
+ if frappe.conf.db_type == "mariadb"... | feat: Handle site restores to MariaDB 10.6 | null | frappe/frappe | MIT License | Python |
@@ -198,6 +198,15 @@ class DhtNode {
Signal<void()>& cancel_signal
);
+ // http://bittorrent.org/beps/bep_0005.html#get-peers
+ boost::optional<BencodedMap> query_get_peers(
+ NodeID infohash,
+ Contact node,
+ std::vector<NodeContact>& closer_nodes,
+ asio::yield_context yield,
+ Signal<void()>& cancel_signal
+ );
+
b... | feat(bittorrent/dht): `public` `get_peers` | null | equalitie/ouinet | MIT License | C |
@@ -263,7 +263,7 @@ class Plugins
{
foreach ($plugins as $plugin_name => $plugin_data) {
if (isset($plugin_data['manifest']['dependencies']['flextype']) &&
- Comparator::equalTo($plugin_data['manifest']['dependencies']['flextype'], '0.9.7')) {
+ Comparator::equalTo($plugin_data['manifest']['dependencies']['flextype'], ... | feat(core): update Comparator for flextype version validation | null | flextype/flextype | MIT License | PHP |
@@ -85,7 +85,7 @@ class Console(code.InteractiveConsole):
# replaced with `prompt_toolkit.input.defaults.create_pipe_input`
prompt_input = None
- def __init__(self, project=None, extra_locals=None):
+ def __init__(self, project=None, extra_locals=None, exit_on_continue=False):
"""
Launch the Brownie console.
@@ -95,6 +... | feat: allow exitting console via `continue` | null | eth-brownie/brownie | MIT License | Python |
@@ -347,8 +347,12 @@ int main(int argc, const char** argv)
}
else { cerr << "Unknown command" << endl; }
}
+ });
+ boost::asio::signal_set signals(ios, SIGINT);
+ signals.async_wait([&](const boost::system::error_code& error , int signal_number) {
dht.reset();
+ ios.stop();
});
ios.run();
| feat(test/test-dht): SIGINT handler | null | equalitie/ouinet | MIT License | C++ |
@@ -56,6 +56,20 @@ const metadata = {
type: Boolean,
},
+ /**
+ * Used to define the role of the list item.
+ *
+ * @private
+ * @type {String}
+ * @defaultvalue "option"
+ * @since 1.0.0-rc.9
+ *
+ */
+ role: {
+ type: String,
+ defaultValue: "option",
+ },
+
_mode: {
type: ListMode,
defaultValue: ListMode.None,
@@ -2... | feat(ui5-li, ui5-li-tree, ui5-li-custom, ui5-upload-collection-item): implement role property | null | sap/ui5-webcomponents | Apache License 2.0 | JavaScript |
@@ -74,6 +74,7 @@ class DataHubRestEmitter:
extra_headers: Optional[Dict[str, str]] = None,
ca_certificate_path: Optional[str] = None,
server_telemetry_id: Optional[str] = None,
+ disable_ssl_verification: bool = False,
):
self._gms_server = gms_server
self._token = token
@@ -97,6 +98,9 @@ class DataHubRestEmitter:
if ... | feat(ingest): rest_emitter - Adding option to rest emitter to disable ssl verification | null | linkedin/datahub | Apache License 2.0 | Python |
@@ -23,6 +23,8 @@ public class SidePanel extends Component {
static final String MENU_ITEMS_SELECTOR = ".tc-side-panel-list-item span";
+ static final String MENU_ITEM_ACTIVE_SELECTOR = ".tc-side-panel-list-item.active span";
+
/**
* SidePanel constructor
*
@@ -50,4 +52,14 @@ public class SidePanel extends Component {
... | feat(e2e): add new method to get active menu item | null | talend/ui | Apache License 2.0 | Java |
@@ -8,6 +8,13 @@ import (
// SendMessage sends message to peer.
func (c *Client) SendMessage(ctx context.Context, req *tg.MessagesSendMessageRequest) error {
+ if req.RandomID == 0 {
+ id, err := c.RandInt64()
+ if err != nil {
+ return err
+ }
+ req.RandomID = id
+ }
updates, err := c.tg.MessagesSendMessage(ctx, req)
... | feat(telegram): set RandomID if blank | null | gotd/td | MIT License | Go |
@@ -17,6 +17,15 @@ import (
"golang.org/x/net/publicsuffix"
)
+func getAlternateHostname(hostname string) string {
+
+ if strings.Split(hostname, ".")[0] == "www" {
+ return strings.Replace(hostname, "www.", "", 1)
+ } else {
+ return "www." + hostname
+ }
+}
+
func newCertificatesCommand(client *client.Client) *Comman... | feat: remind to add alternate certificate | null | superfly/flyctl | Apache License 2.0 | Go |
@@ -7,14 +7,11 @@ import org.junit.Before;
import org.junit.Test;
import java.time.LocalDateTime;
-import java.util.Date;
import java.util.UUID;
-import static org.junit.Assert.*;
-
public class NoteAbstractMapperTest {
- private class NoteMapper extends NoteAbstractMapper{}
+ private static class NoteMapper extends No... | feat(notes): finished tests for NoteAbstractMapper | null | burningokr/burningokr | Apache License 2.0 | Java |
use crate::ExternalLocalInfo;
use ockam_core::access_control::AccessControl;
-use ockam_core::{allow, RelayMessage, Result};
+use ockam_core::{allow, deny, RelayMessage, Result, LOCAL};
use ockam_core::{
async_trait,
compat::{boxed::Box, vec::Vec},
@@ -22,11 +22,11 @@ impl AccessControl for LocalOriginOnly {
/// Allows... | feat(rust): improve transport access controls | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -25,8 +25,11 @@ int main(int /*argc*/, const char ** /*argv*/)
}
}
test->release();
- printf("SSE2NEONTest Complete: Passed %d tests : Failed %d : Ignored %d\n",
- passCount, failedCount, ignoreCount);
+ printf(
+ "SSE2NEONTest Complete: Passed %d tests : Failed %d : Ignored %d. "
+ "Coverage rate: %.2f%%\n",
+ pass... | feat: Report the coverage of implemented intrinsics | null | dltcollab/sse2neon | MIT License | C++ |
@@ -43,8 +43,9 @@ const TagContainer = props => {
textDecoration: 'none',
border: 'none',
overflow: 'hidden',
- transition: `background-color ${core.motion
- .speedXFast} linear, color ${core.motion.speedXFast} linear`,
+ transition: `background-color ${core.motion.speedXFast} linear, color ${
+ core.motion.speedXFast
... | feat(tag): change children propType to node | null | pluralsight/design-system | Apache License 2.0 | JavaScript |
+package org.burningokr.applicationlisteners;
+
+import lombok.RequiredArgsConstructor;
+import org.burningokr.repositories.ExtendedRepository;
+import org.springframework.scheduling.annotation.Scheduled;
+import org.springframework.stereotype.Component;
+import org.springframework.web.context.WebApplicationContext;
+
... | feat(DemoWebsiteDatabaseDeleter): Added Cronjob to delete the database | null | burningokr/burningokr | Apache License 2.0 | Java |
@@ -85,7 +85,7 @@ namespace Elastic.Apm.Helpers
return DefaultAsyncMethodName;
if (declaredType.GetInterfaces().All(i => i != typeof(IAsyncStateMachine)))
- return inputMethod.Name;
+ return DefaultAsyncMethodName;
var generatedType = inputMethod.DeclaringType;
var originalType = generatedType?.DeclaringType;
@@ -96,9 ... | feat: more checks | null | elastic/apm-agent-dotnet | Apache License 2.0 | C# |
@@ -121,7 +121,8 @@ class Result extends BaseResult implements ResultInterface
*/
public function dataSeek(int $n = 0)
{
- return $this->resultID->data_seek($n);
+ // We can't support data seek by oci
+ return false;
}
//--------------------------------------------------------------------
| feat: add data Seek method | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -33,11 +33,11 @@ func NewStatManager(opType string, ctx api.StreamContext) (*StatManager, error)
var prefix string
switch opType {
case "source":
- prefix = "kuiper_source_"
+ prefix = "source_"
case "op":
- prefix = "kuiper_op_"
+ prefix = "op_"
case "sink":
- prefix = "kuiper_sink_"
+ prefix = "sink_"
default:
ret... | feat(metrics): remove kuiper prefix for all metrics | null | emqx/kuiper | Apache License 2.0 | Go |
@@ -147,6 +147,7 @@ export default function EffectCube({ swiper, extendParams, on }) {
swiper.isHorizontal() ? 0 : wrapperRotate
}deg) rotateY(${swiper.isHorizontal() ? -wrapperRotate : 0}deg)`,
);
+ $wrapperEl[0].style.setProperty('--swiper-cube-translate-z', `${zFactor}px`);
};
const setTransition = (duration) => {
c... | feat(cube-effect): set `--swiper-cube-translate-z` CSS property on swiper-wrapper | null | nolimits4web/swiper | MIT License | JavaScript |
@@ -144,6 +144,12 @@ struct discord_voice { /* VOICE CONNECTION STRUCTURE */
char *base_url;
+ // obtained after on_ready_cb()
+ int ssrc; // secret
+ // obtained after succesful rtp_ip_discovery()
+ char ip[64]; // client external IP
+ short port; // client external port
+
struct { /* VOICE IDENTIFY STRUCTURE */
char ... | feat: add identification fields unique to the discord_voice UDP connection | null | cee-studio/orca | MIT License | C |
use super::{Completed, Connected, Loader};
-use anyhow::Result;
+use anyhow::{bail, Context, Result};
+use wasmtime::Trap;
impl Loader<Connected> {
- pub fn next(mut self) -> Result<Loader<Completed>> {
- let func = self.0.linker.get_default(&mut self.0.wstore, "")?;
+ pub fn next(self) -> Result<Loader<Completed>> {
+... | feat: treat 0 exit code as success | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -309,6 +309,10 @@ class FlattenLayer extends CompressLayer {
}
: null,
)
+ // collapse all nodes on clearing search key
+ if (!searchParams) {
+ this.expandedNodes.clear()
+ }
}
}
| feat: collapse all nodes on clear search key | null | enixcoda/gitako | MIT License | TypeScript |
@@ -179,8 +179,7 @@ open class Player(private val base: BaseObject = BaseObject()) : Fragment(), Eve
core?.let {
it.options = options
} ?: createCore(options)
-
- core?.load()
+ load()
}
private fun createCore(options: Options){
@@ -212,6 +211,10 @@ open class Player(private val base: BaseObject = BaseObject()) : Fragm... | feat(player_load): New load function without parameters | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -21,20 +21,24 @@ use Thunder\Shortcode\Shortcode\ShortcodeInterface;
use function parsers;
use function registry;
-// Shortcode: [registry]
+// Shortcode: registry
+// Usage: (registry get:flextype.manifest.version)
parsers()->shortcodes()->addHandler('registry', static function (ShortcodeInterface $s) {
if (! regis... | feat(shortcodes): add ability to parse nested shortcodes for `registry` shortcode | null | flextype/flextype | MIT License | PHP |
@@ -13,5 +13,6 @@ namespace Blazorise.Charts
Doughnut,
PolarArea,
Radar,
+ HorizontalBar,
}
}
| feat: new HorizontalBarChart | null | stsrki/blazorise | MIT License | C# |
@@ -741,9 +741,9 @@ class EntriesController extends Controller
// Merge current entry fieldset with global fildset
if (isset($entry['entry_fieldset'])) {
- $form = $this->forms->render(array_replace_recursive($fieldsets, $entry['entry_fieldset']), $entry, $request);
+ $form = $this->FormController->render(array_replace... | feat(admin-plugin): use new Form plugin for Entries forms | null | flextype/flextype | MIT License | PHP |
@@ -27,6 +27,7 @@ namespace modules {
throw module_error("Initial hook out of bounds (defined: " + to_string(m_hooks.size()) + ")");
}
+ // clang-format off
m_actions.emplace(make_pair<mousebtn, string>(mousebtn::LEFT, m_conf.get(name(), "click-left", ""s)));
m_actions.emplace(make_pair<mousebtn, string>(mousebtn::MIDD... | feat(ipc): Add pid token | null | polybar/polybar | MIT License | C++ |
+/******************************************************************************
+ * Copyright (C) 2018-2021 aitos.io
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://ww... | feat: Added ML302 boatlog | null | aitos-io/boat-x-framework | Apache License 2.0 | C |
@@ -1518,7 +1518,7 @@ class DataFrame(object):
@docsubst
@stat_1d
- def median_approx(self, expression, percentage=50., binby=[], limits=None, shape=default_shape, percentile_shape=256, percentile_limits="minmax", selection=False, delay=False):
+ def median_approx(self, expression, percentage=50., binby=[], limits=None... | feat(core): Add progress bar to percentile_approx and median_approx | null | vaexio/vaex | MIT License | Python |
@@ -1001,9 +1001,6 @@ class Element extends Node
}
void _styleDisplayChangedListener(String property, String original, String present) {
- // Display change may case width/height doesn't works at all.
- _styleSizeChangedListener(property, original, present);
-
renderBoxModel.renderStyle.updateDisplay(present, this);
}
| feat: support vmin and vmax | null | openkraken/kraken | Apache License 2.0 | Dart |
set -euo pipefail
REGISTRY="index.alauda.cn/alaudak8s"
+NAMESPACE="kube-system" # The ns to deploy kube-ovn
POD_CIDR="10.16.0.0/16" # Do NOT overlap with NODE/SVC/JOIN CIDR
SVC_CIDR="10.96.0.0/12" # Do NOT overlap with NODE/POD/JOIN CIDR
JOIN_CIDR="100.64.0.0/16" # Do NOT overlap with NODE/POD/SVC CIDR
LABEL="node-role... | feat: expose iface in install.sh | null | kubeovn/kube-ovn | Apache License 2.0 | Shell |
@@ -282,7 +282,11 @@ impl TryFrom<&Config> for ObjectStore {
.context(CreatingDatabaseDirectory { path: db_dir })?;
Ok(Self::new_file(object_store::disk::File::new(&db_dir)))
}
- None => InvalidFileObjectStoreConfiguration.fail(),
+ None => MissingObjectStoreConfig {
+ object_store: ObjStoreOpt::File,
+ missing: "data-... | feat: Unify File object store config with the others, add tests | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -13,26 +13,38 @@ use Psr\Http\Message\ResponseInterface as Response;
use Psr\Http\Message\ServerRequestInterface as Request;
/**
- * Validate auth token
+ * Validate access token
*/
-function validate_auth_token($request, $flextype) : bool
+function validate_access_token($request, $flextype) : bool
{
- return isset(... | feat(core): add Fetch entry(entries) endpoint: /api/entries | null | flextype/flextype | MIT License | PHP |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.