diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -11,8 +11,6 @@ const BUTTON_TYPE = 'secondary'
const BASE_CLASS = `sui-MoleculeDataCounter`
const CLASS_INPUT_CONTAINER = `${BASE_CLASS}-container`
-const isCharDigit = char => /[0-9]/.test(char)
-
const MoleculeDataCounter = ({
id,
label,
@@ -67,28 +65,19 @@ const MoleculeDataCounter = ({
}
}
- const removeDigit = ... | feat(molecule/dataCounter): improved code & experience over PR feedback | null | sui-components/sui-components | MIT License | JavaScript |
@@ -44,7 +44,7 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options:
private val ONE_SECOND_IN_MILLIS: Int = 1000
private val DEFAULT_MIN_DVR_SIZE = 60
- private val MIN_TIME_TO_CONSIDER_IN_DVR_USE_IN_SECONDS = DefaultLoadControl.DEFAULT_BUFFER_FOR_PLAYBACK_MS / ONE_SECOND_IN_MILLIS
+ priva... | feat(dvr_onpause): increase MIN_TIME_TO_CONSIDER_IN_DVR_USE_IN_SECONDS to 5 | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -9,16 +9,17 @@ import SwiftUI
import SwiftyBeaver
// MARK: UINavigationController
-// Enables fullscreen swipe back gesture
extension UINavigationController: UIGestureRecognizerDelegate {
+ // Enables the swipe-back gesture in fullscreen
override open func viewDidLoad() {
super.viewDidLoad()
interactivePopGestureRec... | feat: Give the swipe-back gesture a higher priority | null | ehpanda-team/ehpanda | MIT License | Swift |
@@ -313,11 +313,29 @@ func (ex *resourceExporter) resourceCloneToKind(ctx context.Context, r ResourceT
r.Kind.is(KindNotificationEndpointHTTP),
r.Kind.is(KindNotificationEndpointPagerDuty),
r.Kind.is(KindNotificationEndpointSlack):
- e, err := ex.endpointSVC.FindNotificationEndpointByID(ctx, r.ID)
+ var (
+ hasID bool
... | feat: export notification endpoints by name | null | influxdata/influxdb | MIT License | Go |
@@ -212,6 +212,8 @@ public partial class BitBreadcrumbDemo
</div>";
private readonly string example1CSharpCode = @"
+public string OnClickValue { get; set; } = string.Empty;
+
private List<BitBreadcrumbItem> GetBreadcrumbItems()
{
return new List<BitBreadcrumbItem>()
| feat(components): add missing definition in all C# code samples in the BitBreadcrumb component | null | bitfoundation/bitframework | MIT License | C# |
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading;
+using System.Threading.Tasks;
+using Remora.Discord.API.Abstractions.Gateway.Events;
+using Remora.Discord.API.Abstractions.Objects;
+using Remora.Discord.Caching;
+using Remora.Discord.Caching.Services;
+using Remora.Discord.Gateway.Respo... | feat: Cache members in redis | null | vtpdevelopment/silk | Apache License 2.0 | C# |
@@ -177,6 +177,11 @@ def get_data():
"name": "Auto Email Report",
"description": _("Setup Reports to be emailed at regular intervals"),
},
+ {
+ "type": "doctype",
+ "name": "Newsletter",
+ "description": _("Create and manage newsletter")
+ }
]
},
{
| feat: Newsletter link in email section | null | frappe/frappe | MIT License | Python |
using System;
using System.Collections.Generic;
-using System.ComponentModel;
using System.IO;
using System.Threading;
using Avalonia.Input;
using Avalonia.Input.Raw;
-using Avalonia.Threading;
using static Avalonia.LinuxFramebuffer.Input.LibInput.LibInputNativeUnsafeMethods;
namespace Avalonia.LinuxFramebuffer.Input.L... | feat(X11): NullInputBackend | null | avaloniaui/avalonia | MIT License | C# |
@@ -82,28 +82,22 @@ discord_embed_set_footer(
return;
}
- if (embed->footer) {
+ if (embed->footer)
discord_embed_footer_cleanup(embed->footer);
- free(embed->footer);
- }
-
- struct discord_embed_footer *new_footer = malloc(sizeof *new_footer);
- discord_embed_footer_init(new_footer);
+ else
+ embed->footer = malloc(s... | feat(discord-misc): update discord utility functions to not attempt freeing existing fields, and reuse them instead | null | cee-studio/orca | MIT License | C |
@@ -12,6 +12,7 @@ export const SingleSwitchTypeRender = forwardRef(
isFocus,
isToggle,
label,
+ labelLeft,
labelOptionalText,
labelRight,
name,
@@ -27,6 +28,8 @@ export const SingleSwitchTypeRender = forwardRef(
ref
) => {
const isActive = value !== undefined ? value : isToggle
+ const leftLabel = label || labelLeft
+ ... | feat(components/atom/switch): Improve label render rules | null | sui-components/sui-components | MIT License | JavaScript |
@@ -48,10 +48,10 @@ module.exports = async (ctx) => {
const fwdFromNameObject = item.find('.tgme_widget_message_forwarded_from_name');
if (fwdFromNameObject.length) {
if (fwdFromNameObject.attr('href') !== undefined) {
- return `Forwarded From <b><a href="${fwdFromNameObject.attr('href')}">
- ${fwdFromNameObject.text()... | feat: telegram channel reply metatext | null | diygod/rsshub | MIT License | JavaScript |
@@ -71,7 +71,11 @@ export default async function fetch (
storePath: options.storePath,
metaCache: options.metaCache,
})
+ // keep the shrinkwrap resolution when possible
+ // to keep the original shasum
+ if (pkgId !== resolveResult.id || !resolution) {
resolution = resolveResult.resolution
+ }
pkgId = resolveResult.id... | feat(shrinkwrap): try to keep shasum specified in shrinkwrap.yaml | null | pnpm/pnpm | MIT License | TypeScript |
@@ -91,6 +91,10 @@ namespace Uno.Themes.Samples
root.RequestedTheme = ElementTheme.Light;
break;
}
+
+ // Close navigation view when changing the theme
+ // to allow the user to see the difference between the themes.
+ NavigationViewControl.IsPaneOpen = false;
}
}
| feat: Close navigation view on theme changed | null | unoplatform/uno.themes | Apache License 2.0 | C# |
@@ -33,6 +33,35 @@ pub struct RLE {
}
impl RLE {
+ /// Initialises an RLE encoding with a set of column values, ensuring that
+ /// the rows in the column can be inserted in any order and the correct
+ /// ordinal relationship will exist between the encoded values.
+ pub fn with_dictionary(dictionary: BTreeSet<Option<S... | feat: initialise RLE with dictionary | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -16,6 +16,7 @@ func nameFor(ctx *context.Context, target buildtarget.Target, name string) (stri
}
data := struct {
Os, Arch, Arm, Version, Tag, Binary, ProjectName string
+ Env map[string]string
}{
Os: replace(ctx.Config.Archive.Replacements, target.OS),
Arch: replace(ctx.Config.Archive.Replacements, target.Arch),
@... | feat: support env vars for name_template | null | goreleaser/goreleaser | MIT License | Go |
@@ -96,7 +96,11 @@ fn introduction_builder(ast_func: &ast::Fn) -> String {
fn examples_builder(ast_func: &ast::Fn, ctx: &AssistContext) -> Option<Vec<String>> {
let (no_panic_ex, panic_ex) = if is_in_trait_def(ast_func, ctx) {
let message = "// Example template not implemented for trait functions";
- (Some(vec![message... | feat: trait fn: add panicking example only if default panicks | null | rust-lang/rust-analyzer | Apache License 2.0 | Rust |
package dev.galacticraft.mod.mixin.client;
+import dev.galacticraft.api.universe.celestialbody.CelestialBody;
import dev.galacticraft.mod.accessor.LivingEntityAccessor;
import dev.galacticraft.mod.content.entity.RocketEntity;
import net.minecraft.client.model.HumanoidModel;
import net.minecraft.client.model.geom.ModelP... | feat: implement moon walk animation | null | stellarhorizons/galacticraft-rewoven | MIT License | Java |
@@ -510,6 +510,7 @@ func (s *Service) Status(ctx context.Context) *sdk.MonitoringStatus {
if errQ != nil {
log.Error(ctx, "Status> Unable to retrieve queue len: %v", errQ)
}
+
if size >= 100 {
status = sdk.MonitoringStatusAlert
} else if size >= 10 {
@@ -519,6 +520,7 @@ func (s *Service) Status(ctx context.Context) *sd... | feat(hooks): remove todo status | null | ovh/cds | BSD 3-Clause New or Revised License | Go |
@@ -20,7 +20,7 @@ class EntriesHasCommand extends Command
protected function configure(): void
{
$this->setName('entries:has');
- $this->setDescription('Check whether entry exists..');
+ $this->setDescription('Check whether entry exists.');
$this->addOption('id', null, InputOption::VALUE_REQUIRED, 'Unique identifier of... | feat(console): update EntriesHasCommand | null | flextype/flextype | MIT License | PHP |
@@ -17,7 +17,7 @@ use function password_verify;
use function registry;
use function tokens;
-class Utils extends Endpoints
+class Utils extends Api
{
/**
* Clear cache
@@ -29,43 +29,17 @@ class Utils extends Endpoints
*/
public function clearCache(ServerRequestInterface $request, ResponseInterface $response): ResponseI... | feat(endpoints): update Utils endpoints logic | null | flextype/flextype | MIT License | PHP |
@@ -208,7 +208,10 @@ open class MediaControl: UICorePlugin, UIGestureRecognizerDelegate {
self.gesture = gesture
view.isHidden = true
- view.backgroundColor = UIColor.clapprBlack60Color()
+ view.backgroundColor = UIColor.clear
+ if let constrastView = mediaControlView.contrastView {
+ constrastView.backgroundColor = UI... | feat: Move MediaControl background to ContrastView | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -13,6 +13,7 @@ import live.hms.android100ms.ui.meeting.chat.ChatMessage
import live.hms.android100ms.util.*
import live.hms.video.*
import live.hms.video.error.HMSException
+import live.hms.video.events.HMSAnalyticsEventLevel
import live.hms.video.payload.HMSPayloadData
import live.hms.video.payload.HMSPublishStream... | feat: set analytics-events log level to info | null | 100mslive/100ms-android | MIT License | Kotlin |
+function shortestPalindrome (s: string): string {
+ const n = s.length
+ const a = ['!', '#']
+ for (const ch of s) {
+ a.push(ch)
+ a.push('#')
+ }
+ a.push('@')
+ const t = a.join('')
+ const m = 2 * n + 1
+ let [rt, mid, maxLen] = [0, 0, 0]
+ const p: number[] = []
+ for (let i = 1; i <= m; i++) {
+ p[i] = i < rt ?... | feat: 214. Shortest Palindrome, Manacher | null | upupming/algorithm | MIT License | TypeScript |
@@ -14,7 +14,7 @@ class ImgElement extends Element {
RenderDecoratedBox imageBox;
RenderConstrainedBox imageConstrainedBox;
ImageStream imageStream;
- ImageStreamListener imageListener;
+ List<ImageStreamListener> imageListeners;
ImgElement(int nodeId, Map<String, dynamic> props, List<String> events)
: super(
@@ -44,8 ... | feat: add onload event for img | null | openkraken/kraken | Apache License 2.0 | Dart |
import org.jitsi.jicofo.util.*;
import org.json.simple.*;
+import java.lang.management.*;
import javax.inject.*;
import javax.ws.rs.*;
import javax.ws.rs.core.*;
@@ -49,6 +50,9 @@ public String getStats()
stats.putAll(focusManagerProvider.get().getStats());
stats.putAll(jibriStatsProvider.get().getStats());
+ stats.put... | feat(Statistics): add 'threads' stat | null | jitsi/jicofo | Apache License 2.0 | Java |
@@ -50,6 +50,10 @@ type (
}
)
+var (
+ ErrMissingPrivateKey = fmt.Errorf("issuer private key not found: %w", os.ErrNotExist)
+)
+
func NewPrivateKeyRingFolder(path string, conf *Configuration) (*PrivateKeyRingFolder, error) {
files, err := ioutil.ReadDir(path)
if err != nil {
@@ -106,7 +110,7 @@ func (p *PrivateKeyRing... | feat: return clearer error in case of missing issuer private keys | null | privacybydesign/irmago | Apache License 2.0 | Go |
+/******************************************************************************
+ * 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: Add ML302 API v2 boatplatform.c | null | aitos-io/boat-x-framework | Apache License 2.0 | C |
@@ -178,15 +178,7 @@ public abstract class ExtendedBlockEntity extends BlockEntity implements Tickabl
@Override
public NbtCompound toInitialChunkDataNbt() {
- var nbt = createNbt();
-
- if (skipInventory) {
- nbt.remove("ItemStorage");
- } else {
- skipInventory = true;
- }
-
- return nbt;
+ return createNbt();
}
@Null... | feat: fix thing; break thinger | null | mixinors/astromine | MIT License | Java |
@@ -215,7 +215,7 @@ public class SnomedConceptSearchRequest extends SnomedComponentSearchRequest<Sno
queryBuilder.filter(SnomedConceptDocument.Expressions.semanticTags(getCollection(OptionKey.SEMANTIC_TAG, String.class)));
}
- if (containsKey(OptionKey.TERM)) {
+ if (containsKey(OptionKey.TERM) || containsKey(OptionKey... | feat(snomed): apply description knn filter properly.. | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -8,6 +8,8 @@ import (
"testing"
"time"
+ "github.com/profclems/glab/pkg/prompt"
+
"github.com/profclems/glab/internal/git"
"github.com/profclems/glab/internal/glrepo"
@@ -97,6 +99,15 @@ hosts:
}
func TestMrCmd(t *testing.T) {
+ ask, teardown := prompt.InitAskStubber()
+ defer teardown()
+
+ ask.Stub([]*prompt.Questi... | feat(cmd/issue/create): add submit options | null | profclems/glab | MIT License | Go |
@@ -156,6 +156,12 @@ frappe.views.TreeView = Class.extend({
});
cur_tree = this.tree;
+ this.post_render();
+ },
+
+ post_render: function() {
+ var me = this;
+ me.opts.post_render && me.opts.post_render(me);
},
select_node: function(node) {
| feat: post_render function added to be triggered after treeview is successfully built | null | frappe/frappe | MIT License | JavaScript |
@@ -26,6 +26,7 @@ class TrelloProvider(OAuthProvider):
app = self.get_app(request)
data['type'] = 'web_server'
data['name'] = app.name
+ data['scope'] = self.get_scope(request)
# define here for how long it will be, this can be configured on the
# social app
data['expiration'] = 'never'
| feat(TrelloProvider): Use 'scope' in TrelloProvider auth params. Allows overriding from django settings | null | pennersr/django-allauth | MIT License | Python |
@@ -75,6 +75,16 @@ pub fn check_message_origin<T: Message>(
Ok(res)
}
+// TODO: rename
+pub fn get_secure_channel_participant_id<T: Message>(msg: &Routed<T>) -> Result<ProfileIdentifier> {
+ let local_msg = msg.local_message();
+ let local_info = LocalInfo::decode(local_msg.local_info())?;
+
+ let res = local_info.thei... | feat(rust): add get_secure_channel_participant_id function | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -5,7 +5,10 @@ import PropTypes from 'prop-types'
import Avatar from '@pluralsight/ps-design-system-avatar/react'
import Icon from '@pluralsight/ps-design-system-icon/react'
import { useTheme } from '@pluralsight/ps-design-system-theme/react'
-import { elementOfType } from '@pluralsight/ps-design-system-prop-types'
+... | feat(note): limit actions to maximum of 2 | null | pluralsight/design-system | Apache License 2.0 | JavaScript |
import Button from '@pluralsight/ps-design-system-button/react'
import core from '@pluralsight/ps-design-system-core'
+import Text from '@pluralsight/ps-design-system-text/react'
import Theme from '@pluralsight/ps-design-system-theme/react'
import {
@@ -106,6 +107,20 @@ export default withServerProps(_ => (
and "dark" ... | feat(site): link to themeable components | null | pluralsight/design-system | Apache License 2.0 | JavaScript |
@@ -32,6 +32,7 @@ import org.cactoos.io.InputOf;
import org.cactoos.io.ResourceOf;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
+import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;
@@ -42,18 +43,23 @@ import org.junit.jupiter.api.io.Temp... | feat(#1174): add test for PullMojo and offlineHash | null | cqfn/eo | MIT License | Java |
+import { Trans } from "@lingui/macro";
import PropTypes from "prop-types";
import React from "react";
@@ -94,7 +95,9 @@ class FuzzyTextDSLSection extends React.Component {
parts={EXPRESSION_PARTS}
>
<FormGroup>
- <FieldLabel>Has the words</FieldLabel>
+ <FieldLabel>
+ <Trans render="span">Has the words</Trans>
+ </Fie... | feat(FuzzyTextDSLSection): localize using Trans macro | null | dcos/dcos-ui | Apache License 2.0 | JavaScript |
namespace Tests\E2E\Services\Storage;
+use Tests\E2E\Client;
use Tests\E2E\Scopes\Scope;
-use Tests\E2E\Scopes\ProjectConsole;
-use Tests\E2E\Scopes\SideClient;
+use Tests\E2E\Scopes\ProjectCustom;
+use Tests\E2E\Scopes\SideConsole;
class StorageConsoleClientTest extends Scope
{
+ use SideConsole;
use StorageBase;
- us... | feat(tests): added tests for storage usage | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
+package com.chesire.malime.flow.series.list
+
+import androidx.recyclerview.widget.DiffUtil
+import com.chesire.malime.core.models.SeriesModel
+
+/**
+ * Provides a [DiffUtil.ItemCallback] class for use with the [SeriesModel].
+ */
+class SeriesModelDiffCallback : DiffUtil.ItemCallback<SeriesModel>() {
+ override fun ... | feat: add the diffcallback class for seriesmodel | null | chesire/nekome | Apache License 2.0 | Kotlin |
+var Q = require('q');
var util = require('./util');
+var pkg = require('../package.json');
var isRunning = util.isRunning;
var showUsage = util.showUsage;
+var readConfig = util.readConfig;
+var readConfigList = util.readConfigList;
var error = util.error;
var info = util.info;
function showAll() {
- var tips = [];
+ ... | feat: add cli w2 status [--all] | null | avwo/whistle | MIT License | JavaScript |
@@ -90,13 +90,21 @@ const RecipesList = ({ setRecipe }) => {
value: `emotion.mdx`,
},
{
- label: `MDX Pages`,
+ label: `Add support for MDX Pages`,
value: `mdx-pages.mdx`,
},
+ {
+ label: `Add support for MDX Pages with images`,
+ value: `mdx-images.mdx`,
+ },
{
label: `Add Styled Components`,
value: `styled-components... | feat(gatsby-recipes): add two new recipes to menu | null | gatsbyjs/gatsby | MIT License | JavaScript |
@@ -189,7 +189,7 @@ final class ResolveMojoTest {
.with("skipZeroVersions", true)
.with("discoverSelf", false)
.with("ignoreVersionConflicts", true)
- .with("plugin", new DcsFile.Dummy())
+ .with("dependencies", new DcsFile.Dummy())
.execute();
MatcherAssert.assertThat(
true,
| feat(#934): fix failed test | null | cqfn/eo | MIT License | Java |
+<?php
+
+declare(strict_types=1);
+
+test('onlyFromCollection macros', function () {
+ expect(collection(['blog' => ['post-1' => 'Post 1', 'post-2' => 'Post 2']])->onlyFromCollection(['post-2'])->toArray())->toBe(['blog' => ['post-2' => 'Post 2']]);
+});
+
+test('exceptFromCollection macros', function () {
+ expect(co... | feat(tests): add tests for collection macros | null | flextype/flextype | MIT License | PHP |
@@ -10,7 +10,6 @@ import com.google.inject.Singleton;
public class SoloGameManager<T extends AbstractSoloPlayer> extends GameManager<T>{
private List<String> testCase = new ArrayList<>();
- private boolean win;
@Override
protected void readGameProperties(InputCommand iCmd, Scanner s) {
@@ -36,12 +35,12 @@ public class ... | feat(sdk): sets win/lose scores to solo game manager | null | codingame/codingame-game-engine | MIT License | Java |
@@ -15,7 +15,7 @@ afterEach(function (): void {
});
test('test getVersion() method', function () {
- $this->assertTrue(!Strings::create(flextype()->getVersion())->isEmpty());
+ $this->assertTrue(!Strings::create(Flextype::getInstance()->getVersion())->isEmpty());
});
test('test getInstance() method', function () {
| feat(tests): update tests for Flextype | null | flextype/flextype | MIT License | PHP |
@@ -94,7 +94,7 @@ final class Shortcodes
/**
* Init Shortcodes
*
- * @param array $shortcodes Shortcoes to init.
+ * @param array $shortcodes Shortcodes to init.
*
* @return void
*/
| feat(shortcodes): typo fix | null | flextype/flextype | MIT License | PHP |
@@ -2,6 +2,7 @@ import {useState, useRef} from 'react'
import {
H1,
H2,
+ H3,
Button,
Paragraph,
Article,
@@ -111,35 +112,59 @@ const TypesArticle = () => (
This package gives 3 different <Code>type</Code> values provided under the{' '}
<Code>atomSwitchTypes</Code> exported variable.
</Paragraph>
- <Grid cols={4}>
+ <G... | feat(components/atom/switch/demo): Add switch single type demo section | null | sui-components/sui-components | MIT License | JavaScript |
# limitations under the License.
"""Google Cloud Pipeline Experimental Components."""
-from .tensorflow_probability.anomaly_detection import tfp_anomaly_detection
from .custom_job.custom_job import run_as_vertex_ai_custom_job
+from kfp.components import load_component_from_file
+from .tensorflow_probability.anomaly_det... | feat(components/google-cloud): Add methods for creating forecasting preprocessing and validation components | null | kubeflow/pipelines | Apache License 2.0 | Python |
@@ -151,18 +151,18 @@ export default {
? extend({
color: this.color,
label: this.$q.i18n.label.ok,
- waitForRipple: true
+ noRipple: true
}, this.ok)
- : { color: this.color, flat: true, label: this.okLabel, waitForRipple: true }
+ : { color: this.color, flat: true, label: this.okLabel, noRipple: true }
},
cancelProps ... | feat(QDialog): Disable ripple & wait-for-ripple for Buttons (unnecessary) | null | quasarframework/quasar | MIT License | JavaScript |
@@ -183,6 +183,16 @@ public class JitsiMeetUrl
}
}
+ /**
+ * Clones this instance.
+ *
+ * @return a filed-to-field copy of this instance.
+ */
+ public JitsiMeetUrl copy()
+ {
+ return (JitsiMeetUrl) this.clone();
+ }
+
/**
* A {@link URL} constructed from the result of {@link #toString()}
*
| feat(JitsiMeetUrl): add 'copy' method | null | jitsi/jitsi-meet-torture | Apache License 2.0 | Java |
@@ -20,9 +20,11 @@ import com.ibm.watson.developer_cloud.service.model.GenericModel;
public class Attribute extends GenericModel {
/**
- * The type of attribute. Possible values are `Currency`, `DateTime`, `Location`, `Organization`, and `Person`.
+ * The type of attribute.
*/
public interface Type {
+ /** Address. */
... | feat(Compare and Comply): Add ADDRESS enum to Attribute model | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -9,6 +9,7 @@ import {
sortBy,
sumBy,
sum,
+ minBy,
} from "../../clientUtils/Util"
import { action, computed, observable } from "mobx"
import { observer } from "mobx-react"
@@ -50,6 +51,7 @@ import { ColorSchemeName } from "../color/ColorConstants"
import { color } from "d3-color"
import { SelectionArray } from "../... | feat(Marimekko): set of countries to label is stable over time | null | owid/owid-grapher | MIT License | TypeScript |
@@ -21,8 +21,8 @@ func NewCmdUnsubscribe(f *cmdutils.Factory) *cobra.Command {
$ glab mr unsubscribe 123
$ glab mr unsub 123
$ glab mr unsubscribe branch
+ $ glab mr unsubscribe 123 branch # unsubscribe from multiple MRs
`),
- Args: cobra.MaximumNArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
var err er... | feat(commands/mr/unsubscribe): allow unsubbing from multiple MRs | null | profclems/glab | MIT License | Go |
@@ -41,7 +41,7 @@ func NewController(wfClientset wfclientset.Interface, wfInformer cache.SharedInd
controller := &Controller{
wfclientset: wfClientset,
wfInformer: wfInformer,
- workqueue: workqueue.NewDelayingQueue(),
+ workqueue: workqueue.NewNamedRateLimitingQueue(workqueue.DefaultControllerRateLimiter(), "workflow_... | feat(controller): Add Prometheus metric: `workflow_ttl_queue` | null | argoproj/argo-workflows | Apache License 2.0 | Go |
@@ -202,7 +202,7 @@ open class Store<S: State, D: SideEffectDependencyContainer>: PartialStore<S> {
private var sideEffectContext: SideEffectContext<S, D>!
/// The queue used to handle the `StateUpdater` items
- lazy fileprivate var stateUpdaterQueue: DispatchQueue = {
+ fileprivate var stateUpdaterQueue: DispatchQueue... | feat: add release references | null | bendingspoons/katana-swift | MIT License | Swift |
@@ -35,12 +35,6 @@ type HarborClusterSpec struct {
// Storage configuration for in-cluster storage service
// +optional
InClusterStorage *Storage `json:"inClusterStorage,omitempty"`
-
- // harbor version to be deployed, this version determines the image tags of harbor service components
- // +kubebuilder:validation:Req... | feat(harborcluster): remove version | null | goharbor/harbor-operator | Apache License 2.0 | Go |
+import json
+import threading
+from decimal import Decimal
+from brownie import accounts, history, ERC20CRV, VestingEscrow
+
+from . import deployment_config as config
+
+TOTAL_AMOUNT = 151515151515151515151515151
+VESTING_PERIOD = 86400 * 365
+
+# burn addresses / known scammers
+BLACKLIST = [
+ "0x000000000000000000... | feat: lp vesting script | null | curvefi/curve-dao-contracts | MIT License | Python |
+defmodule Moon.Autolayouts.CenterOfScreen do
+ @moduledoc false
+
+ use Moon.StatelessComponent
+
+ slot default
+ prop class, :string
+
+ def render(assigns) do
+ ~F"""
+ <div class={"grid grid-cols-1 place-content-center min-h-full min-h-[100vh]", @class}>
+ <#slot />
+ </div>
+ """
+ end
+end
| feat: added center of screen | null | coingaming/moon | MIT License | Elixir |
@@ -82,5 +82,11 @@ int waybar::Client::main(int /*argc*/, char* /*argv*/[])
{
bindInterfaces();
gtk_main.run();
+ bars.clear();
+ zxdg_output_manager_v1_destroy(xdg_output_manager);
+ zwlr_layer_shell_v1_destroy(layer_shell);
+ wl_registry_destroy(registry);
+ wl_seat_destroy(seat);
+ wl_display_disconnect(wl_display);... | feat(bar): clean exit | null | alexays/waybar | MIT License | C++ |
@@ -67,7 +67,10 @@ fi
for service in $SERVICES ; do
- IMAGE=${REGISTRY}/${PROJECT}/vulnerability-assessment-tool-${service}:${VULAS_RELEASE}
- docker tag vulnerability-assessment-tool-"${service}":"${VULAS_RELEASE}" "$IMAGE"
- docker push "${IMAGE}"
+ IMAGE=${REGISTRY}/${PROJECT}/vulnerability-assessment-tool-${service... | feat(docker): add latest tag to docker images | null | eclipse/steady | Apache License 2.0 | Shell |
@@ -159,11 +159,7 @@ class _ContractBase:
offset = slice(*build_json["offset"])
used_offsets[build_json["source"]].append(tuple(build_json["offset"]))
source = self._slice_source(build_json["source"], offset)
- if "sourcePath" in build_json:
- part_name = Path(build_json["sourcePath"]).parts[-1]
- else:
- part_name = f... | feat: various improvements | null | eth-brownie/brownie | MIT License | Python |
@@ -38,18 +38,18 @@ class OsuApi(val httpClient: HttpClient, private val apiKey: String) {
}
// limit - amount of results (range between 1 and 100 - defaults to 10).
- suspend fun getUserTopPlays(name: String): List<OsuScoreResult>? {
+ suspend fun getUserTopPlays(name: String): List<OsuRankedScoreResult>? {
val result... | feat: OsuCommand.kt top and recent and improvements to user | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -8,6 +8,7 @@ import { promisify } from 'util'
import { ExternalMessageQueueObj } from '../../../lib/collections/ExternalMessageQueue'
interface Message {
+ _id: string
exchangeTopic: string
routingKey: string
message: string
@@ -184,12 +185,13 @@ class ChannelManager extends Manager<AMQP.ConfirmChannel> {
}
}
- send... | feat(rabbitmq): message id | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -128,15 +128,11 @@ void Heuristics::adjustParallelizationPartitionForDSWP (SCCDAGPartition &partiti
* Estimate the current latency for traversing once the pipeline created by the current partition of the SCCDAG.
*/
uint64_t totalCost = 0;
- uint64_t maxAllowedCost = 0;
std::unordered_map<int, uint64_t> subsetIDToCos... | feat: heuristic: reintroduce cost analysis in partition heuristic | null | arcana-lab/noelle | MIT License | C++ |
@@ -4,9 +4,10 @@ import android.support.annotation.Keep
import android.view.LayoutInflater
import android.widget.ImageButton
import io.clappr.player.components.Core
+import io.clappr.player.plugin.Control.MediaControl
@Keep
-abstract class ButtonPlugin(core: Core) : MediaControlPlugin(core) {
+abstract class ButtonPlug... | feat(button_plugin): make ButtonPlugin extend MediaControl Plugin | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -152,11 +152,15 @@ impl TimelineItem {
})
}
- pub fn as_virtual(self: Arc<Self>) -> Option<Arc<VirtualTimelineItem>> {
- use matrix_sdk::room::timeline::TimelineItem as Item;
- unwrap_or_clone_arc_into_variant!(self, .0, Item::Virtual(vt) => {
- Arc::new(VirtualTimelineItem(vt))
- })
+ pub fn as_virtual(self: Arc<Se... | feat(bindings): Add virtual timeline items to matrix-sdk-ffi | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -62,21 +62,25 @@ class PluginsController extends Controller
public function pluginStatusProcess(Request $request, Response $response) : Response
{
// Get data from the request
- $data = $request->getParsedBody();
+ $post_data = $request->getParsedBody();
- $site_plugin_settings_dir = PATH['config']['site'] . '/plugi... | feat(admin-plugin): try to fix plugins set state issue | null | flextype/flextype | MIT License | PHP |
@@ -95,7 +95,7 @@ public abstract class AbstractRegistry implements Registry {
private URL registryUrl;
// Local disk cache file
private File file;
- private boolean localCacheEnabled;
+ private final boolean localCacheEnabled;
protected RegistryManager registryManager;
protected ApplicationModel applicationModel;
| feat: add final modifier | null | apache/dubbo | Apache License 2.0 | Java |
@@ -70,7 +70,9 @@ public sealed class RoleMenuCommand : CommandGroup
(
[Description("The channel the role menu will be created in.\n" +
"This channel must be a text channel, and must allow sending messages.")]
+ [RequireBotDiscordPermissions(DiscordPermission.SendMessages)]
IChannel channel,
+
[Description("The roles t... | feat: use condition for permisison check | null | vtpdevelopment/silk | Apache License 2.0 | C# |
namespace OwenIt\Auditing;
+use DateTimeInterface;
+use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\MorphTo;
use Illuminate\Support\Facades\Config;
@@ -117,6 +119,35 @@ trait Audit
return $this->data;
}
+ /**
+ * Get the formatted ... | feat(Audit): handle DateTime values properly | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -11,7 +11,7 @@ public struct BinaryReader {
}
extension BinaryReader {
- mutating func read(count: UInt32) throws -> [UInt8] {
+ mutating public func read(count: UInt32) throws -> [UInt8] {
let newPosition = cursor + Int(count)
guard bytes.count >= newPosition else {
throw SolanaError.couldNotRetrieveAccountInfo
| feat: change read function to public | null | p2p-org/solana-swift | MIT License | Swift |
@@ -39,9 +39,9 @@ const (
// Predefined values for hyper-parameter Type.
const (
Basic string = "basic" // Basic KNN
- Centered string = "Centered" // KNN with centered ratings
- ZScore string = "ZScore" // KNN with standardized ratings
- Baseline string = "Baseline" // KNN with baseline ratings
+ Centered string = "ce... | feat: use lowercase | null | gorse-io/gorse | Apache License 2.0 | Go |
*/
package com.ibm.watson.developer_cloud.visual_recognition.v3.model;
+import com.ibm.watson.developer_cloud.service.model.GenericModel;
+import com.ibm.watson.developer_cloud.util.Validator;
+
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
@@ -19,9 +22,6 @@ import java.io.I... | feat(visual-recognition): Add backwards-compatibility with parameters in ClassifyOptions | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -21,6 +21,7 @@ export { default as ru } from './ru'
export { default as sl } from './sl'
export { default as srCyrl } from './sr-Cyrl'
export { default as th } from './th'
+export { default as tr } from './tr'
export { default as uk } from './uk'
export { default as zhHans } from './zh-Hans'
export { default as zhHa... | feat: add turkish locale | null | vuetifyjs/vuetify | MIT License | TypeScript |
@@ -44,3 +44,12 @@ test('test fetch single entry', function () {
$fetch = flextype('entries')->fetch('zed');
$this->assertEquals('Zed', $fetch['title']);
});
+
+test('test fetch collection entry', function () {
+ // 1
+ flextype('entries')->create('foo', []);
+ flextype('entries')->create('foo/bar', []);
+ flextype('en... | feat(core): add test for Entries fetchCollection() method | null | flextype/flextype | MIT License | PHP |
@@ -75,11 +75,12 @@ func runFluxTests(setup TestSetupFunc, flags TestFlags) error {
}
// Test wraps the functionality of a single testcase statement,
-// to handle its execution and its pass/fail state.
+// to handle its execution and its skip/pass/fail state.
type Test struct {
name string
ast *ast.Package
err error
+... | feat(test): report skipped tests | null | influxdata/flux | MIT License | Go |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <inttypes.h> /* PRIu64 */
#include <assert.h>
#include "discord.h"
#include "cee-utils.h"
+
char JSON_STRING[] = \
"[\n"
" {\n"
@@ -214,6 +216,39 @@ void on_dynamic_init(
discord_component_list_free(components);
}
+void on_interaction_create(
+ struct... | feat(bot-components): demonstrate how to respond to a button interaction | null | cee-studio/orca | MIT License | C |
import { css } from '@emotion/react';
import { ArticleDesign, ArticleDisplay, ArticlePillar } from '@guardian/libs';
+import type { Breakpoint } from '@guardian/source-foundations';
import {
brandBackground,
brandBorder,
brandLine,
+ from,
neutral,
} from '@guardian/source-foundations';
import { StraightLines } from '@... | feat: Include the `AdSlot` alongside `MostViewedFooter` on fronts | null | guardian/dotcom-rendering | Apache License 2.0 | TypeScript |
@@ -4,7 +4,8 @@ export enum ProviderFailure {
NotFound = 'NOT_FOUND',
Unknown = 'UNKNOWN',
InvalidResponse = 'INVALID_RESPONSE',
- NotImplemented = 'NOT_IMPLEMENTED'
+ NotImplemented = 'NOT_IMPLEMENTED',
+ Unhealthy = 'UNHEALTHY'
}
const formatMessage = (reason: string, detail?: string) => reason + (detail ? ` (${detai... | feat(core): add ProviderFailure.Unhealthy | null | input-output-hk/cardano-js-sdk | Apache License 2.0 | TypeScript |
@@ -24,13 +24,7 @@ pub(crate) fn get_config(params: &str) -> Result<String, String> {
let params: GetConfigParams = match serde_json::from_str(params) {
Ok(params) => params,
Err(serde_err) => {
- // TODO: this should be a panic imho
- return Err(json!({
- "error": {
- "message": serde_err.to_string(),
- }
- })
- .to_s... | feat(prisma-fmt): throw panic on args deserialization | null | prisma/prisma-engines | Apache License 2.0 | Rust |
@@ -152,11 +152,11 @@ class Forms
break;
// Media select field
case 'media_select':
- //$form_element = Form::select($form_element_name, $this->getMediaList($request->getQueryParams()['id'], false), $form_value, $property['attributes']);
+ $form_element = Form::select($form_element_name, $this->getMediaList($request->g... | feat(core): update Forms methods | null | flextype/flextype | MIT License | PHP |
@@ -27,9 +27,9 @@ pub enum TableCompression {
}
impl Default for TableCompression {
- // Default is LZ4.
+ // Default is zstd.
fn default() -> Self {
- TableCompression::LZ4
+ TableCompression::Zstd
}
}
@@ -39,11 +39,11 @@ impl TryFrom<&str> for TableCompression {
fn try_from(value: &str) -> Result<Self, Self::Error> {... | feat(compression): change the table default compression from lz4 to zstd | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -19,22 +19,35 @@ function getRoutifyContext() {
return getContext('routify') || rootContext
}
-export const components = {
+export const nodes = {
subscribe(run) {
- const components = []
+ const nodes = []
return derived(routes, routes => {
routes.forEach(route => {
const layouts = route.layouts
.map(layout => layo... | feat: added $nodes with find(name|path) support | null | roxiness/routify | MIT License | JavaScript |
use std::{
collections::BTreeMap,
+ convert::TryFrom,
sync::{
atomic::{AtomicU64, Ordering},
Arc, Mutex,
@@ -12,7 +13,7 @@ use std::{
use async_trait::async_trait;
use data_types::{data::ReplicatedWrite, database_rules::DatabaseRules};
use mutable_buffer::MutableBufferDb;
-use query::{Database, PartitionChunk};
+use qu... | feat: add support for query pred -> read buffer pred | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -14,6 +14,7 @@ type GaugeVec interface {
// Inc increments the Gauge by 1. Use Add to increment it by arbitrary
// values.
Inc(labels ...string)
+ Dec(labels ...string)
// Add adds the given value to the Gauge. (The value can be negative,
// resulting in a decrease of the Gauge.)
Add(v float64, labels ...string)
@@ ... | feat: add curReqCount | null | go-eagle/eagle | MIT License | Go |
+package io.clappr.player.base
+
+import org.junit.Test
+import org.junit.runner.RunWith
+import org.robolectric.RobolectricTestRunner
+import kotlin.test.assertEquals
+
+@RunWith(RobolectricTestRunner::class)
+class EventTest {
+
+ @Test
+ fun shouldHaveUniqueValue() {
+ Event.values().forEach {
+ assertEquals(1, Even... | feat(rename_events): Test added | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -196,6 +196,13 @@ export class ProxyConfiguration {
this.log = defaultLog.child({ prefix: 'ProxyConfiguration' });
this.config = config;
this.isManInTheMiddle = false;
+
+ if (proxyUrls && proxyUrls.some((url) => url.includes('apify.com'))) {
+ this.log.warning(
+ 'Some Apify proxy features may work incorrectly. Ple... | feat: warn if apify proxy is used in proxyUrls | null | apify/apify-js | Apache License 2.0 | JavaScript |
@@ -18,6 +18,7 @@ class Course::Assessment < ApplicationRecord
before_validation :assign_folder_attributes
after_commit :grade_with_new_test_cases, on: :update
before_save :save_tab
+ before_save :update_personal_times, if: -> { (end_at_changed? || start_at_changed?) && !new_record? }
enum randomization: { prepared: 0 ... | feat: trigger recomputation if assessment timings have changed | null | coursemology/coursemology2 | MIT License | Ruby |
@@ -19,13 +19,20 @@ if (registry()->get('flextype.settings.entries.fields.parsers.enabled')) {
if (entries()->registry()->get('fetch.data.parsers') != null) {
foreach (entries()->registry()->get('fetch.data.parsers') as $parserName => $parserData) {
- if (in_array($parserName, ['shortcodes'])) {
+ if (in_array($parserN... | feat(parsers): update parser field for entries | null | flextype/flextype | MIT License | PHP |
@@ -3,8 +3,6 @@ public enum Event: String {
case positionUpdate
case ready
case stalled
- case willUpdateAudioSource
- case willUpdateSubtitleSource
case audioSourceAvailable
case subtitleAvailable
case disableMediaControl
| feat: remove not used events | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -2,6 +2,7 @@ package org.burningokr.mapper.okr;
import static org.junit.Assert.*;
import static org.mockito.ArgumentMatchers.any;
+import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import java.time.LocalDate;
@@ -176,6 +177,20 @@ public class OkrTopicDraftMapperTest {
assertEquals(exp... | feat(okr-topic-draft): added tests for mapper in backend | null | burningokr/burningokr | Apache License 2.0 | Java |
@@ -64,7 +64,7 @@ class ServiceConnectionEndpointList extends React.Component {
getProtocolValue(portDefinition) {
let protocol = portDefinition.protocol || "";
- if (protocol instanceof Array) {
+ if (Array.isArray(protocol)) {
protocol = protocol.join(", ");
}
protocol = protocol.replace(/,\s*/g, ", ");
| feat(ServiceEndpointsTab): change array identifier | null | dcos/dcos-ui | Apache License 2.0 | JavaScript |
@@ -655,6 +655,19 @@ public void clearJvmOptions(CommandSource source, @Argument("name") Collection<S
}
}
+ @CommandMethod("tasks task <name> clear processParameter")
+ public void clearProcessParameter(CommandSource source, @Argument("name") Collection<ServiceTask> serviceTasks) {
+ for (ServiceTask serviceTask : serv... | feat(node): Add a command to clear the process parameters of a task | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -380,6 +380,19 @@ class Contract(_DeployedContractBase):
_DeployedContractBase.__init__(self, address, owner, None)
_add_contract(self)
+ @classmethod
+ def from_abi(
+ cls, name: str, address: str, abi: Dict, owner: Optional[AccountsType] = None
+ ) -> "Contract":
+ address = _resolve_address(address)
+ build = {"a... | feat: Contract.from_abi classmethod | null | eth-brownie/brownie | MIT License | Python |
@@ -25,16 +25,8 @@ impl TcpManager {
let stream = TcpStream::connect(address);
match stream {
Ok(stream) => {
-<<<<<<< HEAD
-<<<<<<< HEAD
- stream.set_nonblocking(true);
- stream.set_nodelay(true);
-=======
stream.set_nonblocking(true).unwrap();
stream.set_nodelay(true).unwrap();
->>>>>>> fix(rust): add patch to tcp to... | feat(rust): substitued nat-ed address in tcp return route | null | ockam-network/ockam | Apache License 2.0 | Rust |
-use std::sync::Arc;
+use std::{sync::Arc, time::Duration};
use arrow_flight::flight_service_server::{FlightService, FlightServiceServer};
+use backoff::BackoffConfig;
use generated_types::influxdata::iox::{
catalog::v1::catalog_service_server::{CatalogService, CatalogServiceServer},
ingester::v1::write_service_server:... | feat(ingester2): initialise an ingester2 instance | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -235,6 +235,10 @@ open class AVFoundationPlayback: Playback {
let item: AVPlayerItem = AVPlayerItem(asset: asset)
player = AVPlayer(playerItem: item)
player?.allowsExternalPlayback = true
+
+ selectDefaultAudioIfNeeded()
+ selectDefaultSubtitleIfNeeded()
+
playerLayer = AVPlayerLayer(player: player)
layer.addSublaye... | feat: setting mediaOptions on player's setup | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -6,7 +6,7 @@ import sys
def get_platform_compilers():
if platform.system() == 'Windows':
- return [ 'vs2015', 'vs2017', 'vs2019' ]
+ return [ 'vs2015', 'vs2017', 'vs2019', 'vs2019-clang' ]
elif platform.system() == 'Linux':
compilers = []
if shutil.which('g++-5'):
@@ -92,6 +92,12 @@ if __name__ == "__main__":
cmd_ar... | feat(tools): add support for vs2019-clang and android | null | nfrechette/acl | MIT License | Python |
@@ -8,14 +8,18 @@ import {
Simulator,
TaskFlow,
} from "generated/graphql";
-import {ListGroup, ListGroupItem} from "reactstrap";
+import {ListGroup, ListGroupItem, Input} from "reactstrap";
+import useLocalStorage from "helpers/hooks/useLocalStorage";
type CategorizedTaskFlows = {
[category: string]: Pick<TaskFlow, "i... | feat(Task Flows): Adds ability to hide and show completed task flows on the core. Closes | null | thorium-sim/thorium | Apache License 2.0 | TypeScript |
@@ -126,30 +126,36 @@ const getRecentSpaces = createSelector(
);
-const getRecentSpacesWithAvatarUrl = createSelector(
- [getRecentSpaces, getAvatars],
- (recentSpaces, avatars) => {
+const getRecentSpacesWithDetail = createSelector(
+ [getRecentSpaces, getAvatars, getCalls],
+ (recentSpaces, avatars, calls) => {
const... | feat(widget-recents): add associated call to space | null | webex/react-widgets | MIT License | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.