diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -370,10 +370,32 @@ public class ConfigHelper {
String title = config.getProperty("title");
String minPlayers = config.getProperty("min_players");
String maxPlayers = config.getProperty("max_players");
+ String criteria = config.getProperty("criteria");
+ String criteriaEn = config.getProperty("criteria_en");
+ Strin... | feat(sdk): retrieve new config.ini properties | null | codingame/codingame-game-engine | MIT License | Java |
@@ -86,10 +86,16 @@ pub async fn command(url: String, config: Config) -> Result<()> {
Command::WaitServerInitialized(command) => {
let end = Instant::now() + Duration::from_secs(command.timeout);
loop {
- if client.get_server_status().await?.initialized {
+ let status = client.get_server_status().await?;
+ if status.in... | feat: check for server errors in CLI | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
-import { Entity, Column, PrimaryColumn, BaseEntity, OneToMany, ManyToMany } from 'typeorm'
+import {
+ Entity,
+ Column,
+ PrimaryColumn,
+ BaseEntity,
+ OneToMany,
+ CreateDateColumn,
+ UpdateDateColumn,
+} from 'typeorm'
import { Key } from './key'
import { Message } from './message'
import { Presentation } from './... | feat: Identity saveDate updateDate | null | uport-project/veramo | Apache License 2.0 | TypeScript |
@@ -2,6 +2,7 @@ using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
+using Remora.Discord.API;
using Remora.Discord.API.Abstractions.Gateway.Events;
using Remora.Discord.Commands.Services;
using Remora.Discord.Gateway.Responders;
@@ -10,7 +... | feat: register slash commands globally | null | vtpdevelopment/silk | Apache License 2.0 | C# |
@@ -18,6 +18,7 @@ import "yunion.io/x/onecloud/pkg/mcclient/modulebase"
var (
BillAnalysises modulebase.ResourceManager
+ BillsUpgradeAnalysises modulebase.ResourceManager
)
func init() {
@@ -25,5 +26,10 @@ func init() {
[]string{"stat_date", "stat_value", "res_name", "res_type", "project_name", "res_fee"},
[]string{},... | feat(climc): register billsanalysis climc | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -32,12 +32,10 @@ class Course::Assessment::Question::ForumPostResponsesController < Course::Asses
def destroy
if @forum_post_response_question.destroy
- redirect_to course_assessment_path(current_course, @assessment),
- success: t('.success')
+ head :ok
else
error = @forum_post_response_question.errors.full_messages... | feat(forum_post_response): destroy responds to json | null | coursemology/coursemology2 | MIT License | Ruby |
@@ -138,6 +138,30 @@ class MediaFolders
return false;
}
+ /**
+ * Copy folder
+ *
+ * @param string $id Unique identifier of the folder.
+ * @param string $new_id New Unique identifier of the folder.
+ *
+ * @return bool True on success, false on failure.
+ *
+ * @access public
+ */
+ public function copy(string $id, s... | feat(media): add copy() method for folders | null | flextype/flextype | MIT License | PHP |
import { GluegunToolbox } from "gluegun";
const defaultConfig = {
- shopwareEndpoint: "https://shopware6-demo.vuestorefront.io",
- shopwareAccessToken: "SWSCVJJET0RQAXFNBMTDZTV1OQ",
+ shopwareEndpoint: "https://pwa-demo-api.shopware.com",
+ shopwareAccessToken: "SWSC40-LJTNO6COUEN7CJMXKLA",
};
// add your CLI-specific ... | feat(cli): canary instance update | null | vuestorefront/shopware-pwa | MIT License | TypeScript |
/*
- * Copyright 2011-2020 B2i Healthcare Pte Ltd, http://b2i.sg
+ * Copyright 2011-2022 B2i Healthcare Pte Ltd, http://b2i.sg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -61,6 +61,7 @@ class MembersExpander {
addActiveFilter(... | feat(api): support filtering of members during expand via refsetId.. | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -205,9 +205,9 @@ Status DBMetaImpl::files_to_merge(const std::string& group_id,
&GroupFileSchema::file_id,
&GroupFileSchema::file_type,
&GroupFileSchema::rows,
- &GroupFileSchema::date));
- /* where(is_equal(&GroupFileSchema::file_type, GroupFileSchema::RAW) && */
- /* is_equal(&GroupFileSchema::group_id, group_id))... | feat(db): add where condition in files_to_merege | null | milvus-io/milvus | Apache License 2.0 | C++ |
@@ -87,6 +87,7 @@ export default function createTestUser(options = {}) {
const idbrokerUrl = options.idbrokerUrl || process.env.IDBROKER_BASE_URL;
const orgId = options.orgId || process.env.WHISTLER_TEST_ORG_ID;
const whistlerServiceUrl = options.whistlerServiceUrl || process.env.WHISTLER_API_SERVICE_URL;
+ const {rese... | feat(test-user): add reservation group for whistler | null | webex/webex-js-sdk | MIT License | JavaScript |
@@ -420,33 +420,68 @@ const StateRaceSocialCard = renderedComponent(
</>
),
)}
+ <SocialCardFootnotes state={state} stateName={stateName} />
+ </div>
+
+ <img src={Logo} alt="" className={socialCardStyle.ctpLogo} />
+ <img src={CarLogo} alt="" className={socialCardStyle.carLogo} />
+ </div>
+ )
+ },
+)
+
+const SocialC... | feat: add SocialCardFootnotes component, handle WY and UT special cases | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -8,6 +8,10 @@ import {
const logger = require('jitsi-meet-logger').getLogger(__filename);
+const ALWAYS_ON_TOP_FILENAMES = [
+ 'css/alwaysontop.css', 'libs/alwaysontop.bundle.min.js'
+];
+
/**
* Maps the names of the commands expected by the API with the name of the
* commands expected by jitsi-meet
@@ -207,6 +211,9... | feat(external_api): Return external resources for the always on top | null | jitsi/jitsi-meet | Apache License 2.0 | JavaScript |
@@ -67,14 +67,9 @@ class Result extends BaseResult implements ResultInterface
*/
public function getFieldNames(): array
{
- $fieldNames = [];
- $this->resultID->field_seek(0);
- while ($field = $this->resultID->fetch_field())
- {
- $fieldNames[] = $field->name;
- }
-
- return $fieldNames;
+ return array_map(function ($... | feat: add get fieldNames method | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -8,6 +8,7 @@ import (
"strings"
"github.com/profclems/glab/internal/glrepo"
+ "github.com/profclems/glab/internal/utils"
"github.com/profclems/glab/pkg/api"
"github.com/xanzy/go-gitlab"
@@ -174,6 +175,47 @@ func LabelsPrompt(response *[]string, apiClient *gitlab.Client, repoRemote *glre
return nil
}
+func Milestones... | feat(commands/cmdutils): helper function to interactively attach a milestone | null | profclems/glab | MIT License | Go |
@@ -41,21 +41,70 @@ defmodule Ockam.Identity.TrustPolicy do
@doc """
Check contact identity using known identities storage via `Ockam.Identity.TrustPolicy.KnownIdentities` module
+ If the contact is not present in known identities - refuse
+ If the contact with the same ID exists in known identities - check the idenity... | feat(elixir): add known_identity trust policy to only trust known identities | null | ockam-network/ockam | Apache License 2.0 | Elixir |
@@ -103,8 +103,9 @@ const SafeTable = () => {
.map((owner) => [owner.value, USERS.get(owner.value)])
.sort()
.map(([address, name], i) => (
+ <>
<ExternalLink
- href={`${explorers?.[0]?.url}/address/${props.value?.value}`}
+ href={`${explorers?.[0]?.url}/address/${address}`}
key={i}
className={classNames(
!USERS.has(ad... | feat(dao): owners link to explorer | null | sushiswap/sushiswap | MIT License | TypeScript |
+package main
+
+var vowels = map[byte]struct{}{
+ 'a': {},
+ 'e': {},
+ 'i': {},
+ 'o': {},
+ 'u': {},
+ 'A': {},
+ 'E': {},
+ 'I': {},
+ 'O': {},
+ 'U': {},
+}
+var tmp byte
+
+func reverseVowels(origin string) string {
+ s := []byte(origin)
+ head, tail := 0, len(s)-1
+
+ for head < tail {
+ if _, ok := vowels[s[hea... | feat: leetcode 345 | null | asdf2014/algorithm | Apache License 2.0 | Go |
// Copyright 2020-2021 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0
-use futures::{channel::mpsc, future::join, FutureExt, StreamExt};
+//! Simple example where Alice sends a Ping to Bob and Bob responds with a Pong.
+
+use futures::{channel::mpsc, future::join, StreamExt};
#[cfg(not(feature = "tcp-transport"))... | feat(p2p): refactor interface_test to ping-pong example | null | iotaledger/stronghold.rs | Apache License 2.0 | Rust |
@@ -211,7 +211,6 @@ private struct SliderPreivew: View {
var body: some View {
HStack(spacing: previewSpacing) {
- Spacer()
ForEach(previewsIndices, id: \.self) { index in
let (url, modifier) =
PreviewResolver.getPreviewConfigs(
@@ -245,7 +244,6 @@ private struct SliderPreivew: View {
opacity(index: index)
)
}
- Spacer... | feat: optimize for iPad | null | ehpanda-team/ehpanda | MIT License | Swift |
@@ -121,6 +121,22 @@ export function createMenu(ctx: MenuContext): void {
extname: 'json'
});
+ dialog.showMessageBox(
+ {
+ type: 'info',
+ message:
+ 'Before you can open an exported Sketch-File:\n\n(1) Download & Install "Almost Sketch Plugin"\n\n(2) Open Sketch, run "Plugins > From Almost Sketch to Sketch" and sele... | feat(export-sketch): add opening instructions | null | meetalva/alva | MIT License | TypeScript |
@@ -596,29 +596,42 @@ export function exportSimulation(result: UserResult) {
// Down sample trajectory to once a day.
// TODO: Make the down sampling interval a parameter
- const header = keys(result.mean[0].current)
- const tsvHeader: string[] = header.map((x) => (x == 'critical' ? 'ICU' : x))
-
- const headerCumulati... | feat: tsv export now exports error bars | null | neherlab/covid19_scenarios | MIT License | TypeScript |
-import nuke
-
import pyblish.api
-class CollectWriteLegacy(pyblish.api.ContextPlugin):
+class CollectWriteLegacy(pyblish.api.InstancePlugin):
"""Collect legacy write nodes."""
- order = pyblish.api.CollectorOrder
- label = "Collect Write Legacy"
+ order = pyblish.api.CollectorOrder + 0.0101
+ label = "Collect Write no... | feat(nuke): upgrading collect legacy write to see new version of write | null | pypeclub/openpype | MIT License | Python |
+/**
+ * \file imperative/python/src/transformation.h
+ * MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
+ *
+ * Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distribu... | feat(imperative/python): add transformation manager | null | megengine/megengine | Apache License 2.0 | C |
@@ -256,7 +256,7 @@ open class MediaControl(core: Core, pluginName: String = name) :
}
}
- private fun showDefaultMediaControlPanels() {
+ protected fun showDefaultMediaControlPanels() {
controlsPanel.visibility = View.VISIBLE
foregroundControlsPanel.visibility = View.VISIBLE
}
@@ -330,7 +330,7 @@ open class MediaContr... | feat(media_control): make show modal and media control methods protected | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -164,6 +164,9 @@ class _EventItem:
def __eq__(self, other: object) -> bool:
if len(self._ordered) == 1:
+ if isinstance(other, (tuple, list, ReturnValue)):
+ # sequences compare directly against the event values
+ return self._ordered[0].values() == other
return other == self._ordered[0]
return other == self._ordere... | feat: allow comparing events to sequences | null | eth-brownie/brownie | MIT License | Python |
@@ -15,6 +15,14 @@ class CollapsibleBasic extends Component {
this.props.handleClick(isCollapsed)
}
+ componentWillReceiveProps (nextProps) {
+ this.setState({isCollapsed: nextProps.collapsed})
+ }
+
+ shouldComponentUpdate (nextProps, nextState) {
+ return this.state.isCollapsed !== nextState.isCollapsed
+ }
+
render ... | feat(collapsible/basic): update this component to use in accordion collapsible component | null | sui-components/sui-components | MIT License | JavaScript |
@@ -49,22 +49,28 @@ public class InternalServerError extends Component
public int setErrorParameter(BeforeEnterEvent event,
ErrorParameter<Exception> parameter) {
String exceptionText;
- if (parameter.hasCustomMessage()) {
+ String errorTextStem = "There was an exception while trying to navigate to '%s'";
+ String root... | feat: Make it easier to see the relevant part of InternalServerError | null | vaadin/flow | Apache License 2.0 | Java |
@@ -75,10 +75,15 @@ class SpeechTurnGenerator(object):
def initialize(self, protocol, subset='train'):
self.data_ = {}
+ databases = set()
# loop once on all files
for current_file in getattr(protocol, subset)():
+ # keep track of database
+ database = current_file['database']
+ databases.add(database)
+
# get annotati... | feat: add "y_database" entry to SpeechTurnGenerator batches | null | pyannote/pyannote-audio | MIT License | Python |
@@ -164,7 +164,12 @@ class AppListFragment : BaseListControllerFragment<FragmentAppListBinding>(R.lay
val filter = allDatabaseItems.filter {
it.label.contains(newText, ignoreCase = true) ||
it.packageName.contains(newText, ignoreCase = true)
+ }.toMutableList()
+
+ if (HarmonyOsUtil.isHarmonyOs() && newText.contains("H... | feat: Type "Harmony" to filter haps | null | libchecker/libchecker | Apache License 2.0 | Kotlin |
@@ -9,9 +9,6 @@ this_commit=$(echo $BUILDKITE_COMMIT | tr -d '"')
tags=$(curl https://api.github.com/repos/uber-web/baseui/git/refs/tags?access_token=${GITHUB_AUTH_TOKEN})
latest_tagged_commit=$(echo $tags | jq '.[length - 1].object.sha' | tr -d '"')
-echo this commit: $this_commit
-echo latest tagged commit: $latest_t... | feat(docs-site): adds an alias mapping to commit hash | null | uber/baseweb | MIT License | Shell |
@@ -90,6 +90,11 @@ public final class VersionCreateRequest implements Request<RepositoryContext, Bo
public Boolean execute(RepositoryContext context) {
final String user = context.service(User.class).getUsername();
+ if (!resource.isHead()) {
+ throw new BadRequestException("Version '%s' cannot be created on unassigned... | feat: throw bad request when trying to create a version on branch.. | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -18,13 +18,11 @@ enum _DragState {
}
abstract class GestureDeleage {
- @override
+
void overflowByUpdate(DragUpdateDetails details);
- @override
void overflowByStart(DragStartDetails details);
- @override
void overflowByEnd(DragEndDetails details);
}
| feat: del override | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -201,7 +201,23 @@ func (m *manager) DeployAll(options DeployOptions) ([]types.Dependency, error) {
}
dependencies, err := m.handleDependencies(options.Dependencies, false, options.UpdateDependencies, false, options.Verbose, "Deploy", func(dependency *Dependency, log log.Logger) error {
- return dependency.Deploy(opt... | feat: add dependency before, after name hooks | null | loft-sh/devspace | Apache License 2.0 | Go |
@@ -25,7 +25,11 @@ echo "local_agent_svid=${local_agent_svid}"
echo "SPIFFE_SERVER_SOCKET=${SPIFFE_SERVER_SOCKET}"
echo "SPIFFE_EDGEX_SVID_BASE=${SPIFFE_EDGEX_SVID_BASE}"
-# will replace security-test-client with all core-services later
-for service in security-spiffe-token-provider security-test-client; do
+# add pre-... | feat(security): update the pre-authorized service list for spire server config | null | edgexfoundry/edgex-go | Apache License 2.0 | Shell |
+var values = require('../../../../lib/rules/util').values;
+
+module.exports = function (req, res) {
+ var files = values.getUploadFiles();
+ var name = req.query.name;
+ res.json({
+ ec: 0,
+ em: 'success',
+ length: files.length,
+ files: name && files.indexOf(name) === -1 ? undefined : files
+ });
+};
| feat: check filename | null | avwo/whistle | MIT License | JavaScript |
@@ -321,7 +321,7 @@ open class MediaControl(core: Core, pluginName: String = name) :
core.trigger(InternalEvent.DID_OPEN_MODAL_PANEL.value, bundle)
}
- private fun closeModal() {
+ open fun closeModal() {
if (modalPanelIsOpen()) {
showDefaultMediaControlPanels()
animateFadeOut(modalPanel) { hideModalPanel() }
| feat(media_control): open closeModal method | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-const { NeuralNetwork } = require('@nlpjs/neural');
+let NeuralNetwork;
+try {
+ // eslint-disable-next-line
+ NeuralNetwork = require('@nlpjs/neural-worker').NeuralNetwork;
+} catch (err) {
+ // eslint-disable-next-line
+ NeuralNetwork = require('@n... | feat: nlu-neural try to import neural-worker | null | axa-group/nlp.js | MIT License | JavaScript |
@@ -138,8 +138,7 @@ doc_events = {
],
"on_trash": [
"frappe.desk.notifications.clear_doctype_notifications",
- "frappe.workflow.doctype.workflow_action.workflow_action.process_workflow_actions",
- "frappe.cache_manager.build_table_count_cache"
+ "frappe.workflow.doctype.workflow_action.workflow_action.process_workflow_... | feat: don't rebuild cache on delete | null | frappe/frappe | MIT License | Python |
@@ -32,6 +32,7 @@ import (
var (
_ SingleColumn = (*ReverseBits)(nil)
_ Reversible = (*ReverseBits)(nil)
+ _ Hashing = (*ReverseBits)(nil)
)
// ReverseBits defines vindex that reverses the bits of a number.
@@ -67,27 +68,27 @@ func (vind *ReverseBits) NeedsVCursor() bool {
// Map returns the corresponding KeyspaceId va... | feat: reverse_bits vindex implemented hashing interface | null | vitessio/vitess | Apache License 2.0 | Go |
@@ -11,6 +11,7 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;
+import java.util.TreeMap;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
@@ -312,6 +313,9 @@ public class ConfigHelper {
c.getWelcomeLanguageMap().putIfAbsent(Constants.LANGUAGE_ID_FRE... | feat(sdk-config): sort leagues alphabetically | null | codingame/codingame-game-engine | MIT License | Java |
@@ -4,10 +4,7 @@ import com.jagrosh.jagtag.Environment
import com.jagrosh.jagtag.Method
import com.jagrosh.jagtag.ParseException
import me.melijn.melijnbot.Container
-import me.melijn.melijnbot.internals.utils.asEpochMillisToDateTime
-import me.melijn.melijnbot.internals.utils.getUserByArgsN
-import me.melijn.melijnbot... | feat: set user avatar in the url fields of an embed | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -30,6 +30,7 @@ type BaseProvider struct {
Watch bool `description:"Watch provider"`
Filename string `description:"Override default configuration template. For advanced users :)"`
Constraints types.Constraints `description:"Filter services by constraint, matching with Traefik tags."`
+ Trace bool `description:"Displa... | feat: Add Trace in Base Provider | null | traefik/traefik | MIT License | Go |
@@ -241,7 +241,7 @@ impl Vault for DefaultVault {
let sk = Scalar::from_bytes(*a).unwrap();
let pk_t = ProjectivePoint::from(o_p_t.unwrap());
let secret = &pk_t * &sk;
- let result = secret.to_affine().unwrap().to_uncompressed_pubkey();
+ let result = secret.to_affine().unwrap().to_compressed_pubkey();
Ok(result.as_ref... | feat(rust): bring ecdh into compliance with spec | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -22,6 +22,7 @@ import (
"io/ioutil"
"net/http"
"net/url"
+ "os"
"strconv"
"strings"
"time"
@@ -38,6 +39,7 @@ import (
"github.com/goharbor/harbor/src/lib"
"github.com/goharbor/harbor/src/lib/config"
"github.com/goharbor/harbor/src/lib/errors"
+ "github.com/goharbor/harbor/src/lib/log"
"github.com/goharbor/harbor/src... | feat: support customize registry http client timeout | null | goharbor/harbor | Apache License 2.0 | Go |
@@ -38,7 +38,6 @@ import (
var args struct {
prefix string
permissionsBoundary string
- policyPath string
}
var Cmd = &cobra.Command{
@@ -74,14 +73,6 @@ func init() {
"The ARN of the policy that is used to set the permissions boundary for the operator roles.",
)
- flags.StringVar(
- &args.policyPath,
- "policy-path",
-... | feat: unify operator role and policy with path from account roles | null | openshift/rosa | Apache License 2.0 | Go |
@@ -59,7 +59,8 @@ public enum DhisApiVersion
V37( 37 ),
V38( 38 ),
V39( 39 ),
- DEFAULT( V38.getVersion() );
+ V40( 40 ),
+ DEFAULT( V40.getVersion() );
final int version;
| feat: Adds API version 40 and sets as default | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -17,7 +17,7 @@ export const useRoleResourceValues = (options) => {
{ ...options, manual: true },
);
useEffect(() => {
- if (record.usingConfig === 'strategy') {
+ if (!record.exists) {
options.onSuccess({
data: {},
});
@@ -26,6 +26,6 @@ export const useRoleResourceValues = (options) => {
if (visible) {
result.run();... | feat: refresh when role resource record exists | null | nocobase/nocobase | Apache License 2.0 | TypeScript |
@@ -38,6 +38,7 @@ use ockam_node::Context;
/// tcp.listen("127.0.0.1:9000").await?; // Listen on port 9000
/// # Ok(()) }
/// ```
+#[derive(Clone)]
pub struct TcpTransport {
router_handle: TcpRouterHandle,
}
| feat(rust): derive clone for tcp_transport | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -65,6 +65,7 @@ class Renderer {
private static final int MIN_PLAYERS = 1;
private static final int MAX_PLAYERS = 8;
private static final Pattern HTML_IMG_MARKER = Pattern.compile("<\\s*img [^\\>]*src\\s*=\\s*([\"\\'])(?<source>.*?)\\1");
+ private static final Pattern GEN_STATEMENT_MARKER = Pattern.compile("statemen... | feat(sdk-config): perform splitted statement generation when exporting | null | codingame/codingame-game-engine | MIT License | Java |
@@ -79,11 +79,9 @@ export default class Git {
SFPLogger.log(`Copying the repository to ${locationOfCopiedDirectory.name}`, LoggerLevel.INFO, logger);
let repoDir = locationOfCopiedDirectory.name;
-
// Copy source directory to temp dir
fs.copySync(process.cwd(), repoDir);
-
//Initiate git on new repo on using the abstra... | feat(git): add support for force checkout | null | accenture/sfpowerscripts | MIT License | TypeScript |
@@ -120,9 +120,6 @@ func (r *Reconciler) GetTrivy(ctx context.Context, harbor *goharborv1alpha2.Harb
redis := harbor.Spec.RedisConnection(harbormetav1.TrivyRedis)
githubTokenRef := harbor.Spec.Trivy.GithubTokenRef
- if githubTokenRef == "" {
- githubTokenRef = r.NormalizeName(ctx, harbor.GetName(), controllers.Trivy.St... | feat(trivy): make github token optional | null | goharbor/harbor-operator | Apache License 2.0 | Go |
@@ -118,6 +118,26 @@ impl Database {
Ok(index)
}
+ pub fn delete_index(&self, name: &str) -> Result<(), Error> {
+ let mut cache = self.cache.write().unwrap();
+
+ self.inner.drop_cf(name)?;
+ let _ = self.inner.drop_cf(&format!("{}-synonyms", name));
+ let _ = self.inner.drop_cf(&format!("{}-words", name));
+ let _ = ... | feat: delete an index and all it's associated data | null | meilisearch/meilisearch | MIT License | Rust |
@@ -8,9 +8,15 @@ beforeEach(function() {
});
afterEach(function (): void {
+ filesystem()->directory(PATH['project'] . '/uploads/.meta')->delete();
filesystem()->directory(PATH['project'] . '/uploads')->delete();
});
test('test create() method', function () {
$this->assertTrue(flextype('media_folders')->create('foo'));... | feat(tests): add tests for MediaFolders move() method | null | flextype/flextype | MIT License | PHP |
@@ -79,9 +79,20 @@ async def extensions_install(
installed_extensions: List[
"InstallableExtension"
] = await get_installed_extensions()
+ installed_extensions_ids = [e.id for e in installed_extensions]
+
extension_list: List[
InstallableExtension
- ] = await InstallableExtension.get_installable_extensions(installed_ex... | feat: fetch the installed release | null | lnbits/lnbits | MIT License | Python |
@@ -12,4 +12,13 @@ func TestExtendScalarType(t *testing.T) {
extend scalar Coordinates @deprecated(reason: "some reason")
`)
})
+ t.Run("extend scalar type by multiple directives", func(t *testing.T) {
+ run(extendScalarTypeDefinition, testDefinition, `
+ scalar Coordinates
+ extend scalar Coordinates @deprecated(reaso... | feat: improve scalar type extending tests | null | jensneuse/graphql-go-tools | MIT License | Go |
@@ -18,6 +18,32 @@ use Utopia\Database\Database;
use Utopia\Database\Document;
use Utopia\Database\Validator\Authorization;
+$parseLabel = function (string $label, array $responsePayload, array $requestParams, Document $user) {
+ preg_match_all('/{(.*?)}/', $label, $matches);
+ foreach ($matches[1] ?? [] as $pos => $ma... | feat: linter fix | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -8,19 +8,11 @@ const remark2rehype = require('remark-rehype')
const minifyWhiteSpace = require('rehype-minify-whitespace')
const sortValues = require('rehype-sort-attribute-values')
const sortAttrs = require('rehype-sort-attributes')
+const raw = require('rehype-raw')
const handlers = require('./handlers')
class Mar... | feat(lib): handle md custom html | null | nuxt/content | MIT License | JavaScript |
@@ -150,7 +150,7 @@ impl Column {
match &self {
Self::String(_, data) => match dst {
EncodedValues::U32(dst) => EncodedValues::U32(data.encoded_values(row_ids, dst)),
- _ => unimplemented!("column type does not support encoding"),
+ _ => unimplemented!("column type does not support requested encoding"),
},
Self::Intege... | feat: add support for all encoded values | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -20,9 +20,8 @@ use generated_types::{
MeasurementFieldsResponse, MeasurementNamesRequest, MeasurementTagKeysRequest,
MeasurementTagValuesRequest, OffsetsResponse, Predicate, ReadFilterRequest, ReadGroupRequest,
ReadResponse, ReadSeriesCardinalityRequest, ReadWindowAggregateRequest, StringValuesResponse,
- TagKeyMeta... | feat: add support for tag values grouped by measurement and tag key | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -88,6 +88,7 @@ trait Audit
'audit_ip_address' => $this->ip_address,
'audit_user_agent' => $this->user_agent,
'audit_created_at' => $this->serializeDate($this->created_at),
+ 'audit_updated_at' => $this->serializeDate($this->updated_at),
'user_id' => $this->user_id,
];
| feat(Audits): added updated_at to the data resolver | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -30,39 +30,27 @@ export class RegionDiscovery {
public async detectRegion(): Promise<string | null> {
// Detect region from the process environment variable
let autodetectedRegionName = process.env[RegionDiscovery.REGION_ENV_NAME];
- // eslint-disable-next-line no-console
- console.log(`Auto detected region name fro... | feat: clear logging statements in region discovery | null | azuread/microsoft-authentication-library-for-js | MIT License | TypeScript |
@@ -6,7 +6,7 @@ const supportedWpPluginVersions = {
reason: null,
},
WPGatsby: {
- version: `>=0.9.0 <2.0.0`,
+ version: `>=0.9.0 <3.0.0`,
reason: null,
},
}
| feat(gatsby-source-wordpress): Update supported-remote-plugin-versions.ts | null | gatsbyjs/gatsby | MIT License | TypeScript |
@@ -558,7 +558,7 @@ public void RpcTeleport(Vector3 destination)
// otherwise it would interpolate to a (far away) new position.
// => manually calling Teleport is the only 100% reliable solution.
[ClientRpc]
- public void RpcTeleportAndRotate(Vector3 destination, Quaternion rotation)
+ public void RpcTeleport(Vector3 ... | feat: NT uses Cmd/Rpc overloads | null | vis2k/mirror | MIT License | C# |
@@ -47,10 +47,19 @@ func TestPopulateDetails(t *testing.T) {
t.Fatal(err)
}
+ env, err := store.CreateEnvironment(db.Environment{
+ ProjectID: proj.ID,
+ JSON: `{"author": "Denis", "comment": "Hello, World!"}`,
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+
tpl, err := store.CreateTemplate(db.Template{
ProjectID: proj.ID,... | feat(be): merge task environment with template environment | null | ansible-semaphore/semaphore | MIT License | Go |
-class OverlayPlugin: UICorePlugin {
+public class OverlayPlugin: UICorePlugin {
open class override var name: String {
return "OverlayPlugin"
}
@@ -7,5 +7,5 @@ class OverlayPlugin: UICorePlugin {
return false
}
- override func bindEvents() { }
+ override public func bindEvents() { }
}
| feat: makes OverlayPlugin public so we can subclass it outside the clappr scope | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -16,7 +16,8 @@ function bootDB {
db=$1
if [[ "${db}" = "postgresql" ]]; then
- launchDB="(/docker-entrypoint.sh postgres -c 'max_connections=250' &> /var/log/postgres-boot.log) &"
+ bootLogLocation="/var/log/postgres-boot.log"
+ launchDB="(/docker-entrypoint.sh postgres -c 'max_connections=250' &> ${bootLogLocation}... | feat: for unit tests, add time out to waiting for DB to start | null | cloudfoundry/uaa | Apache License 2.0 | Shell |
@@ -3,6 +3,7 @@ open class Player: BaseObject {
@objc open var playbackEventsToListen: [String] = []
fileprivate var playbackEventsListenIds: [String] = []
@objc fileprivate(set) open var core: Core?
+ private var plugins: [Plugin.Type] = []
@objc open var activeContainer: Container? {
return core?.activeContainer
@@ -... | feat: added a method to the Player that allows the adition of plugins | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
#include "google/cloud/spanner/update_instance_request_builder.h"
#include "google/cloud/internal/getenv.h"
#include "google/cloud/internal/random.h"
+#include <chrono>
#include <sstream>
#include <tuple>
#include <utility>
@@ -874,6 +875,28 @@ void ReadOnlyTransaction(google::cloud::spanner::Client client) {
}
//! [EN... | feat: added spanner_read_stale_data sample (googleapis/google-cloud-cpp-spanner#1031) | null | googleapis/google-cloud-cpp | Apache License 2.0 | C++ |
@@ -52,7 +52,7 @@ func TestExtensions(t *testing.T) {
}{
{
name: `$$test1`,
- rj: "{\"sql\": \"SELECT echo(count) as e, countPlusOne(count) as p FROM ext where count > 49\",\"actions\": [{\"file\": {\"path\":\"" + CACHE_FILE + "\"}}]}",
+ rj: "{\"sql\": \"SELECT count(echo(count)) as c, echo(count) as e, countPlusOne(c... | feat(plugin): update extension test for embeded functions | null | emqx/kuiper | Apache License 2.0 | Go |
@@ -51,7 +51,7 @@ class Utils extends Endpoints
$tokenData = tokens()->fetch($data['token']);
// Verify access token
- if (password_verify($tokenData['hashed_access_token'], $data['access_token'])) {
+ if (! password_verify($data['access_token'], $tokenData['hashed_access_token'])) {
return $this->getApiResponse($respo... | feat(endpoints): verify access token for Utils endpoints | null | flextype/flextype | MIT License | PHP |
@@ -1368,6 +1368,49 @@ class OverloadedMethod:
fn = self._get_fn_from_args(args)
return fn.encode_input(*args)
+ def decode_input(self, hexstr: str) -> List:
+ """
+ Decode input call data for this method.
+
+ Arguments
+ ---------
+ hexstr : str
+ Hexstring of input call data
+
+ Returns
+ -------
+ Decoded values
+ "... | feat: `decode_input` and `decode_output` for overloaded methods | null | eth-brownie/brownie | MIT License | Python |
-import { TaskActions, TaskEvent, TaskState } from "./task.types";
-import { HANDLE_NEW_TASK_EVENT, initialTaskState } from "./task.constants";
-import { Processes } from "../global/global.types";
-import { formatSeconds } from "../../helpers";
-
-export default function taskReduxer(
- state = initialTaskState,
- actio... | feat: ImmerJS tasks | null | jina-ai/dashboard | Apache License 2.0 | TypeScript |
@@ -304,7 +304,7 @@ func (v *VoiceConnection) open() (err error) {
// Connect to VoiceConnection Websocket
vg := "wss://" + strings.TrimSuffix(v.endpoint, ":80")
v.log(LogInformational, "connecting to voice endpoint %s", vg)
- v.wsConn, _, err = websocket.DefaultDialer.Dial(vg, nil)
+ v.wsConn, _, err = v.session.Diale... | feat(voice): use Dialer for connections | null | bwmarrin/discordgo | BSD 3-Clause New or Revised License | Go |
@@ -68,13 +68,20 @@ class Web3(_Web3):
)
try:
- if not self.isConnected():
- return
+ if self.isConnected():
+ self.reset_middlewares()
except Exception:
# checking an invalid connection sometimes raises on windows systems
- return
+ pass
+
+ def reset_middlewares(self) -> None:
+ """
+ Uninstall and reinject all custo... | feat: `reset_middlewares` | null | eth-brownie/brownie | MIT License | Python |
+use std::mem::size_of;
+
use arrow::{self, array::Array};
use super::encoding::{scalar::Fixed, scalar::FixedNull};
@@ -10,7 +12,7 @@ pub enum FloatEncoding {
}
impl FloatEncoding {
- /// The total size in bytes of the store columnar data.
+ /// The total size in bytes of to store columnar data in memory.
pub fn size(&... | feat: implement raw column size on float columns | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -40,6 +40,9 @@ class SiteController extends Controller
// Get uri
$uri = $args['uri'];
+ // Is JSON Format
+ $is_json = ($query['format'] && $query['format'] == 'json') ? true : false;
+
// If uri is empty then it is main page else use entry uri
if ($uri === '/') {
$entry_uri = $this->registry->get('settings.entries... | feat(site-plugin): add ability to return entries in JSON Format | null | flextype/flextype | MIT License | PHP |
@@ -41,6 +41,8 @@ public class WorkspaceSystemSettingsDisambiguation extends GenericModel {
private Boolean randomize;
@SerializedName("max_suggestions")
private Long maxSuggestions;
+ @SerializedName("suggestion_text_policy")
+ private String suggestionTextPolicy;
/**
* Builder.
@@ -52,6 +54,7 @@ public class Workspac... | feat(Assistant v1): Add suggestionTextPolicy prop to WorkspaceSystemSettingsDisambiguation | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -74,6 +74,12 @@ void validate_accuracy(iallocator& allocator, const track_array_qvvf& raw_tracks
debug_track_writer track_writer(allocator, track_type8::qvvf, num_bones);
+ {
+ // Try to decompress something at 0.0, if we have no tracks or samples, it should be handled
+ context.seek(0.0F, sample_rounding_policy::ne... | feat(tools): test decompression even if we have no tracks | null | nfrechette/acl | MIT License | C++ |
@@ -3,7 +3,7 @@ import Foundation
open class MediaControl: UICorePlugin, UIGestureRecognizerDelegate {
public var gesture: UITapGestureRecognizer?
- var container: MediaControlView = .fromNib()
+ var mediaControlView: MediaControlView = .fromNib()
var options: Options? {
return core?.options
@@ -199,8 +199,8 @@ open cl... | feat: Rename container to mediaControlView | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
<title>Laravel</title>
<!-- Fonts -->
- <link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="stylesheet" type="text/css">
+ <link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="stylesheet">
<!-- Styles -->
<style>
| feat: Remove unnecessary link type | null | kefu-chat/src | MIT License | PHP |
@@ -86,8 +86,10 @@ func (base *BaseTable) GetDetail() *types.InfoPanel {
}
func (base *BaseTable) GetDetailFromInfo() *types.InfoPanel {
- copy(base.Detail.FieldList, base.Info.FieldList)
- return base.GetDetail()
+ detail := base.GetDetail()
+ detail.FieldList = make(types.FieldList, len(base.Info.FieldList))
+ copy(d... | feat(admin): Add GetDetailFromInfo API of table | null | goadmingroup/go-admin | Apache License 2.0 | Go |
+/*
+ * Copyright 2018 IBM Corp. All Rights Reserved.
+ *
+ * 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://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applica... | feat(Discovery): Add RetrievalDetails model | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -275,6 +275,27 @@ pub fn builtins() -> Builtins<'static> {
"splitRegexp" => Node::Builtin("forall [] (r: regexp, v: string, i: int) -> [string]"),
"getString" => Node::Builtin("forall [] (r: regexp) -> string"),
}),
+ "runtime" => Node::Package(maplit::hashmap! {
+ "version" => Node::Builtin("forall [] () -> string"... | feat(libflux): add type declarations for builtins | null | influxdata/flux | MIT License | Rust |
+from .base import BaseAuth
+from ..exceptions import (AuthException, AuthTokenError)
+import hmac
+from base64 import b64encode, b64decode
+from hashlib import sha256
+import urllib
+from ..utils import parse_qs
+import time
+
+
+class DiscourseAuth(BaseAuth):
+ name = 'discourse'
+ EXTRA_DATA = [
+ 'username',
+ 'nam... | feat(DiscourseAuth): add Discourse backend auth | null | python-social-auth/social-core | BSD 3-Clause New or Revised License | Python |
@@ -2,6 +2,7 @@ use clap::Args;
use minicbor::Decoder;
use ockam_identity::credential::Credential;
use rand::prelude::random;
+use tokio::io::AsyncBufReadExt;
use anyhow::{anyhow, Context as _};
use std::{
@@ -58,6 +59,10 @@ pub struct CreateCommand {
#[arg(display_order = 900, long, short)]
pub foreground: bool,
+ ///... | feat(rust): add function to check stdin for eof | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -701,7 +701,7 @@ impl CommandHandler {
"Age",
"Role",
"User Agent",
- "Chain Height",
+ "Info",
]);
for conn in conns {
let peer = peer_manager
@@ -709,14 +709,10 @@ impl CommandHandler {
.await
.expect("Unexpected peer database error or peer not found");
- let chain_height = if let Some(metadata) = peer
+ let chain... | feat: add substream count to list-connections | null | tari-project/tari | BSD 3-Clause New or Revised License | Rust |
@@ -25,6 +25,7 @@ import (
"yunion.io/x/pkg/errors"
"yunion.io/x/sqlchemy"
+ "yunion.io/x/onecloud/pkg/ansibleserver/options"
"yunion.io/x/onecloud/pkg/apis"
api "yunion.io/x/onecloud/pkg/apis/ansible"
"yunion.io/x/onecloud/pkg/cloudcommon/db"
@@ -193,6 +194,10 @@ func (apb *SAnsiblePlaybook) runPlaybook(ctx context.Co... | feat(ansibleserver): respect keepTmpdir when running ansibleplaybook v1 | null | yunionio/yunioncloud | Apache License 2.0 | Go |
import { Button, Drawer, Dropdown, Menu, message } from 'antd';
-import { createSchemaField } from '@formily/react';
+import { createSchemaField, observer } from '@formily/react';
import MetadataModel from '../model';
import type { Field, IFieldState } from '@formily/core';
import { createForm } from '@formily/core';
@... | feat(metadata): metadata getUnits | null | jetlinks/jetlinks-ui-antd | MIT License | TypeScript |
@@ -41,12 +41,18 @@ class V06 extends Filter {
case Response::MODEL_TOKEN:
$parsedResponse = $this->parseToken($content);
break;
+
+ case Response::MODEL_LOCALE:
+ $parsedResponse = $this->parseLocale($content);
+ break;
+
+
case Response::MODEL_ANY :
$parsedResponse = $content;
break;
default:
- throw new Exception('R... | feat: parse locale | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
+const categoryKeysMapping = {
+ group: ["name", "gid"],
+ host: ["name", "ip_address"],
+ mount: ["name"],
+ protocol: ["name", "number"],
+ rpc: ["name", "number"],
+ service: ["name", "port"],
+ user: ["name", "uid"],
+};
+const categories = Array.from(Object.keys(categoryKeysMapping));
+
+interface PostProcessQuery... | feat: dscacheutil spec | null | withfig/autocomplete | MIT License | TypeScript |
@@ -20,7 +20,7 @@ const cachedPath = (size: number) =>
const simpleDiff = <T>(
state: ArrayDiff<T>,
src: ArrayLike<T>,
- key: keyof ArrayDiff<T>,
+ key: "adds" | "dels",
logDir: number,
mode: DiffMode
) => {
@@ -81,7 +81,7 @@ export const diffArray = <T>(
}
const reverse = a.length >= b.length;
- let _a, _b, na, nb;
+ ... | feat(diff): enable TS strict compiler flags (refactor) | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
@@ -131,7 +131,7 @@ export class MateriasPopupComponent implements OnInit {
});
menuRow = acc[acc.length - 1];
}
- menuRow.materias.push(materia.itemId);
+ menuRow.materias.unshift(materia.itemId);
return acc;
}, []);
}
| feat(gearset): changed materia order in materia popup | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -20,6 +20,7 @@ class BaseTransformerEncoder(BaseEncoder):
pooling_strategy: str = 'mean',
max_length: int = 64,
model_path: str = 'transformer',
+ truncation_strategy: str = 'longest_first',
*args, **kwargs):
"""
@@ -31,6 +32,8 @@ class BaseTransformerEncoder(BaseEncoder):
:param max_length: the max length to trunca... | feat(encoder): transformers truncation strategy | null | jina-ai/jina | Apache License 2.0 | Python |
@@ -33,6 +33,8 @@ trait CanOpenModal
protected string | Closure | null $modalWidth = null;
+ protected bool | Closure | null $isModalHidden = false;
+
public function centerModal(bool | Closure | null $condition = true): static
{
$this->isModalCentered = $condition;
@@ -117,6 +119,13 @@ trait CanOpenModal
return $this;... | feat: Add conditional to trigger modal visibility on actions | null | laravel-filament/filament | MIT License | PHP |
@@ -238,6 +238,27 @@ pub struct Config {
)]
pub persist_partition_cold_threshold_seconds: u64,
+ /// The memory budget assigned to this compactor.
+ ///
+ /// For each partition candidate, we will estimate the memory needed to compact each
+ /// file and only add more files if their needed estimated memory is below thi... | feat: Increase default all-in-one compactor memory to 300MB and expose it as a setting | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
namespace App\Ship\Parents\Policies;
use Apiato\Core\Abstracts\Policies\Policy as AbstractPolicy;
+use App\Ship\Parents\Models\UserModel;
abstract class Policy extends AbstractPolicy
{
+ /**
+ * Perform pre-authorization checks.
+ *
+ * @param UserModel $user
+ * @param string $ability
+ * @return bool|null
+ */
+ publ... | feat: let admin access all routes through policy | null | apiato/apiato | MIT License | PHP |
@@ -146,6 +146,11 @@ def get_safe_globals():
set_value = frappe.db.set_value,
get_single_value = frappe.db.get_single_value,
get_default = frappe.db.get_default,
+ count = frappe.db.count,
+ min = frappe.db.min,
+ max = frappe.db.max,
+ avg = frappe.db.avg,
+ sum = frappe.db.sum,
escape = frappe.db.escape,
sql = read_s... | feat: added aggregation in safe_exec | null | frappe/frappe | MIT License | Python |
@@ -83,9 +83,13 @@ class MainActivity : BaseActivity(), IListContainer {
handleIntentFromShortcuts(intent)
}
+ override fun onStart() {
+ super.onStart()
+ registerPackageBroadcast()
+ }
+
override fun onResume() {
super.onResume()
- registerPackageBroadcast()
if (GlobalValues.shouldRequestChange.value == true) {
appVi... | feat: Register package receivers in onStart() and onStop() lifecycle | null | libchecker/libchecker | Apache License 2.0 | Kotlin |
@@ -753,7 +753,7 @@ describe('kernel exec - numeric instructions', () => {
// NaN results cannot be checked with assert.equal
if (isNaN(res)) {
- assert.equal(isNaN(res), true);
+ assert.isTrue(isNaN(res));
} else {
assert.equal(res, op.resEqual);
}
| feat: use assert isTrue | null | xtuc/webassemblyjs | MIT License | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.