diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -6,10 +6,8 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
echo "CREATE STAGE if not exists s2;" | $MYSQL_CLIENT_CONNECT
echo "list @s2" | $MYSQL_CLIENT_CONNECT
-## Debug
-ls -aril "${CURDIR}/00_0001_upload_to_stage.sh"
+curl -H "stage_name:s2" -F "upload=@${CURDIR}/00_0001_upload_to_stage.sh" -XPUT http://l... | feat(stage): fix load port | null | datafuselabs/databend | Apache License 2.0 | Shell |
@@ -438,7 +438,7 @@ Status DBImpl::BuildIndex(const std::string& table_id) {
while (has) {
ENGINE_LOG_DEBUG << "Non index files detected! Will build index " << times;
meta_ptr_->UpdateTableFilesToIndex(table_id);
- StartBuildIndexTask(true);
+ /* StartBuildIndexTask(true); */
std::this_thread::sleep_for(std::chrono::mi... | feat(db): disable call start build index task in build index | null | milvus-io/milvus | Apache License 2.0 | C++ |
@@ -449,14 +449,14 @@ def cache_html(func):
return cache_html_decorator
-def build_response(path, data, http_status_code, headers=None):
+def build_response(path, data, http_status_code, headers=None, preload_assets=True):
# build response
response = Response()
response.data = set_content_type(response, data, path)
res... | feat: option to not preload assets | null | frappe/frappe | MIT License | Python |
@@ -261,7 +261,9 @@ void Image2DPackedTensorFormatBase<PIXEL_SIZE>::assert_valid(
layout.shape[layout.ndim - 1]);
megdnn_assert(
layout.dtype.valid() && !layout.dtype.is_quantized_lowbit() &&
- layout.ndim > m_align_axis);
+ layout.ndim > m_align_axis,
+ "dtype=%s ndim=%zu align=%zu is_quantized_lowbit=%d", layout.dtyp... | feat(dnn/opencl): optimize heuristic rule | null | megengine/megengine | Apache License 2.0 | C++ |
@@ -420,6 +420,8 @@ type VeleroConfig struct {
ServiceAccount string `json:"serviceAccount,omitempty"`
// Schedule of backups
Schedule string `json:"schedule,omitempty"`
+ // TimeToLive period for backups to be retained
+ TimeToLive string `json:"ttl,omitempty"`
}
// AutoUpdateConfig contains auto update config
| feat: configurable velero backup time to live | null | jenkins-x/jx | Apache License 2.0 | Go |
@@ -680,7 +680,7 @@ export class $ElementAccessExpression implements I$Node {
// http://www.ecma-international.org/ecma-262/#sec-property-accessors-runtime-semantics-evaluation
public Evaluate(
ctx: ExecutionContext,
- ): $AnyNonEmpty | $Error {
+ ): $Reference | $Error {
const realm = ctx.Realm;
const intrinsics = rea... | feat(ast): implement RS:Evaluation for MemberAccessor | null | aurelia/aurelia | MIT License | TypeScript |
@@ -10,6 +10,7 @@ import (
"strings"
"github.com/errata-ai/vale/v2/internal/core"
+ "github.com/mholt/archiver"
cp "github.com/otiai10/copy"
)
@@ -66,7 +67,7 @@ func readPkg(pkg, path string, idx int) error {
if !found {
name := fileNameWithoutExt(pkg)
- if err = download(name, pkg, path, idx); err != nil {
+ if err = ... | feat: load local packages | null | errata-ai/vale | MIT License | Go |
@@ -15,7 +15,7 @@ import io.javaoperatorsdk.operator.sample.multiversioncrd.MultiVersionCRDTestCus
import io.javaoperatorsdk.operator.sample.multiversioncrd.MultiVersionCRDTestReconciler1;
import io.javaoperatorsdk.operator.sample.multiversioncrd.MultiVersionCRDTestReconciler2;
-import static org.assertj.core.api.Asser... | feat: multiversion crd integration test improvements | null | java-operator-sdk/java-operator-sdk | Apache License 2.0 | Java |
@@ -467,7 +467,7 @@ open class AVFoundationPlayback: Playback {
private func setAudioSessionCategory(to category: AVAudioSession.Category, with options: AVAudioSession.CategoryOptions = []) {
do {
- try AVAudioSession.sharedInstance().setCategory(category, mode: .default, options: options)
+ try AVAudioSession.sharedIn... | feat: set moviePlayback mode on audio session | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -293,6 +293,10 @@ impl DatabaseIndex {
Ok(view)
}
+
+ fn path(&self) -> &Path {
+ self.path.as_path()
+ }
}
impl Drop for DatabaseIndex {
@@ -409,6 +413,16 @@ impl Database {
Ok(index_guard.val().update_config(config)?)
}
+ pub fn path(&self) -> &Path {
+ self.path.as_path()
+ }
+
+ pub fn index_path(&self, index: &... | feat: Add accessor for database and index path | null | meilisearch/meilisearch | MIT License | Rust |
@@ -7,7 +7,6 @@ open class AVFoundationPlayback: Playback {
]
private var kvoBufferingContext = 0
- private var kvoExternalPlaybackActiveContext = 0
private var kvoPlayerRateContext = 0
private(set) var seekToTimeWhenReadyToPlay: TimeInterval?
@@ -269,14 +268,13 @@ open class AVFoundationPlayback: Playback {
player.obs... | feat: handle isExternalPlaybackActive changes with newer kvo syntax | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -746,7 +746,9 @@ class RenderFlowLayout extends RenderLayoutBox {
// Default to children's width
double constraintWidth = mainAxisExtent;
// Get max of element's width and children's width if element's width exists
- if (contentWidth != null) {
+ if (parent is RenderFlexLayout) {
+ constraintWidth = mainAxisExtent;
... | feat: flex item use children width instead of own width | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -12,6 +12,7 @@ import {resolveInitialValueForType} from '@sanity/initial-value-templates'
import {Box, Button, Flex, Hotkeys, Text, Tooltip, useElementRect, useToast} from '@sanity/ui'
import {CollapseIcon, ExpandIcon} from '@sanity/icons'
import styled, {css} from 'styled-components'
+import {useRovingFocus} from '... | feat(form-builder): add roving focus to PTE `Toolbar` | null | sanity-io/sanity | MIT License | TypeScript |
@@ -15,14 +15,19 @@ export default function useResizeObserver({ ref, callback, debounceTime = 200 })
const resizeObserver = new ResizeObserver(entries => {
const entry = entries[0];
- if (!(entry && entry.borderBoxSize && entry.borderBoxSize.length > 0)) {
- return () => {};
- }
-
- const borderBoxSize = entry.borderBo... | feat: support in ff and safari | null | mondaycom/monday-ui-react-core | MIT License | JavaScript |
@@ -25,6 +25,7 @@ import 'lang/ja.dart';
import 'lang/hi.dart';
import 'lang/ru.dart';
import 'lang/fr.dart';
+import 'lang/he.dart';
final localizations = <String, FirebaseUILocalizationLabels>{
'es': const EsLocalizations(),
@@ -48,4 +49,5 @@ final localizations = <String, FirebaseUILocalizationLabels>{
'hi': const H... | feat: Added Hebrew language to firebase_ui_localizations | null | firebaseextended/flutterfire | BSD 3-Clause New or Revised License | Dart |
@@ -63,7 +63,8 @@ const src = stream<string>();
src.transform(
map((src) => ({
src,
- parsed: timedResult(() => [...iterator(parse(CUSTOM_TAGS), src)])
+ // append exta newline to force last paragraph (see readme)
+ parsed: timedResult(() => [...iterator(parse(CUSTOM_TAGS), src + "\n")])
})),
map(app(src)),
updateDOM()... | feat(examples): update markdown ex (append newline), update readme | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
@@ -33,7 +33,6 @@ import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Collection;
import java.util.List;
-import java.util.Set;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.stream.Collectors;
import org.apache.maven.plugins.annotations.LifecyclePhase;
@@ -120,19 +119,24 @@ publ... | feat(#1347): use List of tasks instead of Set of tasks | null | cqfn/eo | MIT License | Java |
@@ -220,7 +220,7 @@ const ListItem = React.forwardRef(
if (file.response && typeof file.response === 'string') {
message = file.response;
} else {
- message = (file.error && file.error.statusText) || locale.uploadError;
+ message = file.error?.statusText || file.error?.message || locale.uploadError;
}
const iconAndPrev... | feat(upload): support Error obj (message) | null | ant-design/ant-design | MIT License | TypeScript |
#include <LCUI/font.h>
#include <LCUI/gui/metrics.h>
#include <LCUI/gui/widget.h>
+#include <LCUI/gui/css_parser.h>
#include <LCUI/gui/css_fontstyle.h>
#include <LCUI/gui/widget/textview.h>
@@ -79,6 +80,7 @@ typedef struct LCUI_TextViewRec_ {
} LCUI_TextViewRec, *LCUI_TextView;
static struct LCUI_TextViewModule {
+ int... | feat(textview): add word-break property support | null | lc-soft/lcui | MIT License | C |
@@ -13,6 +13,9 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
+import io.hawt.system.AuthHelpers;
+import io.hawt.system.AuthenticateResult;
+import io.hawt.system.Authenticator;
import org.slf4j.Logger;
import org.slf4j.LoggerFacto... | feat(hawtio-system): try to authenticate requests before redirecting to login | null | hawtio/hawtio | Apache License 2.0 | Java |
+<?php
+
+declare(strict_types=1);
+
+/**
+ * Flextype (http://flextype.org)
+ * Founded by Sergey Romanenko and maintained by Flextype Community.
+ */
+
+namespace Flextype;
+
+use Flextype\Component\Filesystem\Filesystem;
+use Flextype\Component\Arr\Arr;
+
+class Config
+{
+ /**
+ * Flextype Dependency Container
+ */... | feat(core): add Config API | null | flextype/flextype | MIT License | PHP |
@@ -161,7 +161,7 @@ const ContextList: VFC = () => {
isLoading={loading}
header={
<PageHeader
- title="Context fields"
+ title={`Context fields (${rows.length})`}
actions={
<>
<Search
| feat: add count to context field list | null | unleash/unleash | Apache License 2.0 | TypeScript |
@@ -46,9 +46,6 @@ pub enum Error {
#[error("kafka_partition_range_start must be <= kafka_partition_range_end")]
KafkaRange,
- #[error("sequencer record not found for partition {0}")]
- SequencerNotFound(KafkaPartition),
-
#[error("error initializing ingester: {0}")]
Ingester(#[from] ingester::handler::Error),
@@ -164,1... | feat: create new sequencers in ingester on demand | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
+const semverRegex = /((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)/gm;
+
+const globalOptions = [
+ {
+ name: ["-h", "--help"],
+ description: "Print this usage information.",
+ },
+];
+
+const completionSpec: Fig.Spec = {
+ name: "fvm",
+ descripti... | feat: add fvm completion spec | null | withfig/autocomplete | MIT License | TypeScript |
#include "acl/core/compiler_utils.h"
#include "acl/core/compressed_tracks.h"
#include "acl/core/error.h"
+#include "acl/core/floating_point_exceptions.h"
#include "acl/core/iallocator.h"
#include "acl/core/interpolation_utils.h"
#include "acl/core/track_traits.h"
@@ -67,6 +68,12 @@ namespace acl
// If a track type is s... | feat(decompression): handle floating point exception flags during track decompression | null | nfrechette/acl | MIT License | C |
@@ -24,7 +24,7 @@ use function str_replace;
/**
* Define the Flextype start time in current unix timestamp (microseconds).
*/
-define('START_TIME', microtime(true));
+define('FLEXTYPE_START_TIME', microtime(true));
/**
* Define the PATH to the root directory (without trailing slash).
| feat(core): rename constant START_TIME to FLEXTYPE_START_TIME | null | flextype/flextype | MIT License | PHP |
@@ -54,6 +54,10 @@ class V06 extends Filter {
$parsedResponse = $this->parsePhoneList($content);
break;
+ case Response::MODEL_CONTINENT_LIST:
+ $parsedResponse = $this->parseContinentList($content);
+ break;
+
case Response::MODEL_ANY :
$parsedResponse = $content;
break;
@@ -70,6 +74,17 @@ class V06 extends Filter {
}... | feat: parse continentlist | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -121,4 +121,11 @@ impl Database {
pub fn common_index(&self) -> Arc<CommonIndex> {
self.common.clone()
}
+
+ pub fn checkpoint_to<P>(&self, path: P) -> Result<(), Error>
+ where P: AsRef<Path>,
+ {
+ let checkpoint = rocksdb::checkpoint::Checkpoint::new(&self.inner)?;
+ Ok(checkpoint.create_checkpoint(path)?)
+ }
}
| feat: re-export rocksdb snapshot function | null | meilisearch/meilisearch | MIT License | Rust |
@@ -30,7 +30,7 @@ use azure::MicrosoftAzure;
use disk::File;
use gcp::GoogleCloudStorage;
use memory::InMemory;
-use path::ObjectStorePath;
+use path::{parsed::DirsAndFileName, ObjectStorePath};
use throttle::ThrottledStore;
use async_trait::async_trait;
@@ -120,6 +120,19 @@ impl ObjectStore {
pub fn new_microsoft_azur... | feat: add `ObjectStore.path_from_dirs_and_filename` | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -13,7 +13,7 @@ use base::scoped_map::ScopedMap;
use base::symbol::Symbol;
use base::types::{AliasData, ArcType, Type, TypeEnv};
-enum Found<'a> {
+pub enum Found<'a> {
Expr(&'a SpannedExpr<Symbol>),
Pattern(&'a SpannedPattern<Symbol>),
Ident(&'a SpannedExpr<Symbol>, &'a Symbol, &'a ArcType),
@@ -404,20 +404,82 @@ fn... | feat: Give more control over what data is returned for completions | null | gluon-lang/gluon | MIT License | Rust |
@@ -69,7 +69,9 @@ public class SimpleDimension implements Serializable
SCHEDULE_DATE( "scheduledDate", PERIOD ),
LAST_UPDATE_DATE( "lastUpdatedDate", PERIOD ),
EVENT_STATUS( "eventStatus", DATA_X ),
- PROGRAM_STATUS( "programStatus", DATA_X );
+ PROGRAM_STATUS( "programStatus", DATA_X ),
+ CREATED_BY( "createdBy", DATA... | feat: New simple dimensions in EventVisualization | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -114,7 +114,8 @@ open class Player: UIViewController, BaseObject {
Event.positionUpdate.rawValue, Event.willPlay.rawValue,
Event.willPause.rawValue, Event.willStop.rawValue,
Event.airPlayStatusUpdate.rawValue, Event.willSeek.rawValue,
- Event.seek.rawValue,Event.didSeek.rawValue])
+ Event.seek.rawValue,Event.didSeek... | feat: replicate media option selected events to player tvos | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -231,6 +231,7 @@ module.exports = class ftx extends Exchange {
// account
'account/leverage': 1,
// wallet
+ 'wallet/deposit_address/list': 1,
'wallet/withdrawals': 90,
'wallet/saved_addresses': 1,
// orders
| feat(ftx): add "Get deposit address list" API endpoint | null | ccxt/ccxt | MIT License | JavaScript |
@@ -1272,13 +1272,11 @@ func TestConfigureTeamMembers(t *testing.T) {
{
name: "fail when listing fails",
slug: "some-slug",
- ignoreInvitees: false,
err: true,
},
{
name: "fail when removal fails",
members: sets.NewString("fail"),
- ignoreInvitees: false,
err: true,
},
{
@@ -1286,7 +1284,6 @@ func TestConfigureTeamMemb... | feat(ignore_invitees): remove unnecessary initializer in unit tests | null | kubernetes/test-infra | Apache License 2.0 | Go |
@@ -404,10 +404,13 @@ bool GLRender::renderActually()
if (mClearScreenOn) {
glViewport(0, 0, mWindowWidth, mWindowHeight);
- /* {
- std::unique_lock<mutex> lock(mClearColorMutex);
- glClearColor(mClearColor[0], mClearColor[1], mClearColor[2], mClearColor[3]);
- }*/
+ unsigned int backgroundColor = mBackgroundColor;
+ f... | feat: set clear screen color | null | alibaba/cicadaplayer | MIT License | C++ |
@@ -245,8 +245,22 @@ public class OidcCallbackLogic extends DefaultCallbackLogic<Result, PlayWebConte
if (profile.containsAttribute(groupsClaimName)) {
try {
final List<CorpGroupSnapshot> groupSnapshots = new ArrayList<>();
- // We found some groups. Note that we assume it is an array of strings!
- final Collection<Str... | feat(oidc): Adding support for extracting single string groups claim | null | linkedin/datahub | Apache License 2.0 | Java |
@@ -9,6 +9,7 @@ import com.chesire.malime.core.api.AuthApi
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Job
import kotlinx.coroutines.launch
+import timber.log.Timber
import javax.inject.Inject
import kotlin.coroutines.CoroutineContext
@@ -36,7 +37,10 @@ class LoginViewModel @Inject constructor(
v... | feat: add logging to the error for login | null | chesire/nekome | Apache License 2.0 | Kotlin |
@@ -76,6 +76,7 @@ public final class ResourceDocument extends RevisionDocument {
public static final String CONTACT = "contact";
public static final String USAGE = "usage";
public static final String PURPOSE = "purpose";
+ public static final String BUNDLE_ID = "bundleId";
// specialized resource fields
public static f... | feat: add bundleId to ResourceDocument | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -85,7 +85,7 @@ public class Bundle extends Model implements Cloneable {
}
}
- /** Model for storing summany info in Mongo. Bundle contains one instance of FeedSummary per feed in the Bundle. */
+ /** Model for storing summary info in Mongo. Bundle contains one instance of FeedSummary per feed in the Bundle. */
publi... | feat(gtfs): include start/end dates in feed name | null | conveyal/r5 | MIT License | Java |
@@ -68,6 +68,11 @@ export default class LocalScheme {
// Ditch any leftover local tokens before attempting to log in
await this.$auth.reset()
+ // Make CSRF request if required
+ if (this.options.endpoints.csrf) {
+ await this.$auth.request(this.options.endpoints.csrf)
+ }
+
// Make login request
const { response, data... | feat(local): support csrf endpoint | null | nuxt-community/auth-module | MIT License | JavaScript |
@@ -227,7 +227,7 @@ public interface DeploymentConfiguration
*/
default boolean isBrotli() {
return getBooleanProperty(InitParameters.SERVLET_PARAMETER_BROTLI,
- false);
+ true);
}
default String getCompiledWebComponentsPath() {
| feat: Enable serving Brotli resources by default | null | vaadin/flow | Apache License 2.0 | Java |
@@ -131,13 +131,13 @@ func newRootCmd(actionConfig *action.Configuration, out io.Writer, args []string
if config, err := clientcmd.NewNonInteractiveDeferredLoadingClientConfig(
loadingRules,
&clientcmd.ConfigOverrides{}).RawConfig(); err == nil {
- ctxs := []string{}
- for name := range config.Contexts {
+ comps := []s... | feat(comp): Add descriptions for kube-context comp | null | helm/helm | Apache License 2.0 | Go |
@@ -271,7 +271,9 @@ class DefaultsTest extends BaseRollbarTest
$option == 'person_fn' ||
$option == 'scrub_whitelist' ||
$option == 'proxy' ||
- $option == 'include_raw_request_body') {
+ $option == 'include_raw_request_body' ||
+ $option == 'verbose_logger' ||
+ $option == 'output_logger') {
continue;
} elseif ($optio... | feat(dev options): don't test default values for internal loggers | null | rollbar/rollbar-php | MIT License | PHP |
+#include <stdio.h>
+#include <stdlib.h>
+
+#include <algorithm>
+// #include <gle/engine/cpplib/headers.hpp>
+#include <cmath>
+#include <string>
+#include <vector>
+
+typedef std::string string;
+
+template <typename T>
+inline double tg_jaccard_similarity(std::vector<T> A, std::vector<T> B) {
+ std::sort(std::begin(... | feat(similarity): add jaccard similarity algorithm | null | tigergraph/gsql-graph-algorithms | Apache License 2.0 | C++ |
@@ -249,7 +249,7 @@ use std::{
};
use iox_time::{Time, TimeProvider};
-use metric::U64Gauge;
+use metric::{U64Counter, U64Gauge};
use parking_lot::{Mutex, MutexGuard};
use super::{
@@ -460,6 +460,7 @@ where
last_used: AddressableHeap<K, S, Time>,
metric_count: U64Gauge,
metric_usage: U64Gauge,
+ metric_evicted: U64Coun... | feat: add LRU cache eviction counter | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -26,6 +26,8 @@ public partial class ResetPassword
[Inject] public ITodoTemplateAuthenticationService TodoTemplateAuthenticationService { get; set; } = default!;
+ [Inject] public TodoTemplateAuthenticationStateProvider TodoTemplateAuthenticationStateProvider { get; set; } = default!;
+
private async Task Submit()
{
... | feat(components): fix the reset password link redirection issue | null | bitfoundation/bitframework | MIT License | C# |
@@ -53,7 +53,6 @@ class DynamicMoleculeProgressSteps extends Component {
<button onClick={setStep} data-step="4">
Step4
</button>
-
<button onClick={setStep} data-step="5">
All Done
</button>
| feat(Root): fixed linter | null | sui-components/sui-components | MIT License | JavaScript |
-import { getFieldName, getSubscriptionName, GraphbackOperationType, ModelDefinition } from '@graphback/core';
+import { getFieldName, getSubscriptionName, GraphbackOperationType, ModelDefinition, RelationshipMetadata, getPrimaryKey } from '@graphback/core';
import { GraphbackCRUDService } from '../service/GraphbackCRU... | feat: one-to-many runtime resolver | null | aerogear/graphback | Apache License 2.0 | TypeScript |
@@ -206,7 +206,7 @@ export default _ => (
'function',
null,
null,
- 'triggered when a menu collapses'
+ 'triggered when a menu collapses; providing it renders an overlay that triggers this function on click'
]),
PropTypes.row([
'onChange',
| feat(site): expose fact of actionmenu overlay in props table | null | pluralsight/design-system | Apache License 2.0 | JavaScript |
@@ -7,8 +7,6 @@ declare(strict_types=1);
* Founded by Sergey Romanenko and maintained by Flextype Community.
*/
-use Flextype\Component\Arrays\Arrays;
-
if (flextype('registry')->get('flextype.settings.entries.fields.parsers.enabled')) {
flextype('emitter')->addListener('onEntryAfterInitialized', static function (): vo... | feat(fields): use Atomastic Arrays for ParsersField | null | flextype/flextype | MIT License | PHP |
@@ -140,16 +140,21 @@ stack: ${code.stack || 'No stack was provided'}`)
}
const foldersToWatch = (watchFolders || []).map((x) => path.join(rootPath, x))
- console.log({ foldersToWatch })
if (!noWatch && !process.env.CI) {
chokidar
- .watch([`${rootPath}/.tina/**/*.{ts,gql,graphql,js,tsx,jsx}`], {
+ .watch(
+ [
+ ...fol... | feat: added folders to watch to cli | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
@@ -683,7 +683,10 @@ private void initializeConnectAndLogin(SecurityAuthority authority,
JabberLoginStrategy loginStrategy = createLoginStrategy();
userCredentials = loginStrategy.prepareLogin(authority, reasonCode);
if(!loginStrategy.loginPreparationSuccessful())
+ {
+ logger.warn("Unsuccessful login, skipping.");
ret... | feat: Prints a warning on unsuccessful login | null | jitsi/jitsi | Apache License 2.0 | Java |
-import { User, Context } from 'koishi-core'
+import { User, Context, Query } from 'koishi-core'
import { Time, Random } from 'koishi-utils'
+import type { Dialogue } from 'koishi-plugin-teach'
import Profile from './profile'
import Rank from './rank'
@@ -151,16 +152,19 @@ namespace Affinity {
if (options.maxAffinity !... | feat(adventure): update to orm-favored teach hooks | null | koishijs/koishi | MIT License | TypeScript |
+frappe.listview_settings["Deleted Document"] = {
+ onload: function (doclist) {
+ const action = () => {
+ const selected_docs = doclist.get_checked_items();
+ if (selected_docs.length > 0) {
+ let docnames = selected_docs.map((doc) => {
+ return doc.name;
+ });
+ frappe.call({
+ method:
+ "frappe.core.doctype.deleted... | feat: Bulk Restore action under Deleted Document | null | frappe/frappe | MIT License | JavaScript |
@@ -26,6 +26,7 @@ typedef struct cloud_download_cfg {
buffer file_path;
boolean optional; /* if true, a download error is not fatal */
boolean done;
+ buffer auth_header;
closure_struct(cloud_download_done, complete);
} *cloud_download_cfg;
@@ -117,6 +118,7 @@ static int cloud_download_parse(tuple config, cloud_downloa... | feat(klib): cloud_init - simple authorization support | null | nanovms/nanos | Apache License 2.0 | C |
@@ -30,6 +30,10 @@ public class DialogNodeAction extends GenericModel {
String CLIENT = "client";
/** server. */
String SERVER = "server";
+ /** cloud_function. */
+ String CLOUD_FUNCTION = "cloud_function";
+ /** web_action. */
+ String WEB_ACTION = "web_action";
}
private String name;
| feat(Assistant v1): Add DialogNodeAction enums for cloud_function and web_action | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
-import 'dart:ui';
-
import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:openfoodfacts/model/Product.dart';
@@ -51,19 +49,9 @@ class SmoothProductImage extends StatelessWidget {
? null
: ClipRRect(
borderRadius: ROUNDED_BORDER_RADIUS,
- child: FittedBox(
- child: Container(
+ ... | feat: - removed the blur effect around the product photo | null | openfoodfacts/smooth-app | Apache License 2.0 | Dart |
@@ -425,6 +425,7 @@ App::delete('/v1/users/:userId/sessions/:sessionId')
}
}
+ // TODO : Response filter implementation
$response->noContent();
}, ['response', 'projectDB', 'events']);
@@ -465,6 +466,7 @@ App::delete('/v1/users/:userId/sessions')
->setParam('payload', $response->output($user, Response::MODEL_USER))
;
+... | feat: added todos for some /users endpoints | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
package org.burningokr.controller.structure;
import org.burningokr.annotation.RestApiController;
+import org.burningokr.dto.structure.DepartmentDto;
import org.burningokr.dto.structure.SubStructureDto;
import org.burningokr.mapper.interfaces.DataMapper;
import org.burningokr.mapper.structure.StructureMapperPicker;
impo... | feat(StructureController): Added put and delete mappings | null | burningokr/burningokr | Apache License 2.0 | Java |
@@ -24,7 +24,7 @@ pub struct Request {
referrer: Option<String>,
referrer_policy: Option<web_sys::ReferrerPolicy>,
timeout: Option<u32>,
- // controller: RequestController,
+ controller: RequestController,
}
impl Request {
@@ -151,6 +151,12 @@ impl Request {
self.integrity = Some(integrity);
self
}
+
+ /// Set request ... | feat(fetch): Add request timeout | null | seed-rs/seed | MIT License | Rust |
@@ -7,6 +7,10 @@ export function request (obj) {
return new Promise((resolve, reject) => {
let url = obj.url;
+ if (!url) {
+ reject(new Error('URL is missing'));
+ }
+
// server
const xhr = typeof XMLHttpRequest === 'undefined' ? xhrPolyfill : XMLHttpRequest;
/* eslint new-cap: "off" */
| feat(request): added throw error if url is missing | null | blockchain-certificates/cert-verifier-js | MIT License | JavaScript |
@@ -15,7 +15,7 @@ class NestedPathsMayBeRootPathsRuleTest {
val spec = """
openapi: 3.0.1
paths:
- "/countries/{country-id}/cities/{city-id}": {}
+ "/countries/{country-id}/populated/cities/{city-id}": {}
""".trimIndent()
val context = getOpenApiContextFromContent(spec)
@@ -24,7 +24,7 @@ class NestedPathsMayBeRootPaths... | feat(server): minor test imrovements | null | zalando/zally | MIT License | Kotlin |
@@ -17,6 +17,7 @@ use Slim\Handlers\Strategies\RequestResponse;
use Slim\Interfaces\CallableResolverInterface;
use Slim\Interfaces\InvocationStrategyInterface;
use Slim\Interfaces\RouteCollectorInterface;
+use Slim\Interfaces\RouteCollectorProxyInterface;
use Slim\Interfaces\RouteGroupInterface;
use Slim\Interfaces\Rou... | feat: Added ability to override RouteGroupInterface | null | slimphp/slim | MIT License | PHP |
@@ -12,12 +12,6 @@ export const LEDGER_BITCOIN_OPTIONS = [
]
export const LEDGER_OPTIONS = [
- {
- name: 'ETH',
- label: 'ETH',
- types: ['ethereum_ledger'],
- chain: 'ethereum'
- },
{
name: 'BTC',
label: 'BTC',
@@ -27,6 +21,12 @@ export const LEDGER_OPTIONS = [
],
chain: 'bitcoin'
},
+ {
+ name: 'ETH',
+ label: 'ETH',... | feat: set BTC as a default | null | liquality/wallet | MIT License | JavaScript |
<label for="school" class="bmd-label-floating">Group Site</label>
<input id="groupSite" type="text" name="gcode" class="form-control" id="school" autocomplete="off" />
</div>
- <div class="form-group" style="display:flex;align-items:flex-end">
+ {{-- <div class="form-group" style="display:flex;align-items:flex-end">
<l... | feat: group create avatar | null | zsgsdesign/noj | MIT License | PHP |
+<?php
+
+declare(strict_types=1);
+
+/**
+ * Flextype (https://flextype.org)
+ * Founded by Sergey Romanenko and maintained by Flextype Community.
+ */
+
+namespace Flextype\Tokens;
+
+use Atomastic\Macroable\Macroable;
+use Flextype\Entries;
+use Exception;
+
+class Tokens extends Entries
+{
+ use Macroable;
+
+ publ... | feat(tokens): add Tokens class | null | flextype/flextype | MIT License | PHP |
@@ -32,6 +32,8 @@ import torch.nn as nn
import torch.nn.functional as F
from itertools import chain
from .base import RepresentationLearning
+from .classification import Linear
+import warnings
class CenterDistanceModule(nn.Module):
@@ -132,7 +134,7 @@ class CenterLoss(RepresentationLearning):
"""
n_classes = len(self.... | feat: add support for center loss fine-tuning | null | pyannote/pyannote-audio | MIT License | Python |
@@ -202,7 +202,7 @@ namespace Objects.Converter.AutocadCivil
vertices.Add(polyline.GetPoint3dAt(i));
var _polyline = new Polyline(PointsToFlatArray(vertices), ModelUnits);
- _polyline.closed = vertices.First().Equals(vertices.Last()) ? true : false;// hatch boundary polylines are not closed, cannot rely on .Closed prop... | feat(acad): added attributes to block instances | null | specklesystems/speckle-sharp | Apache License 2.0 | C# |
@@ -208,15 +208,17 @@ if (! function_exists('redirect')) {
/**
* Redirect.
*
- * @param string $routeName Route name
- * @param array<string, string> $data Route placeholders
- * @param array<string, string> $queryParams Query parameters
+ * @param string $routeName Route name.
+ * @param array<string, string> $data Ro... | feat(helpers): add ability to set status code for redirect helper | null | flextype/flextype | MIT License | PHP |
-# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
+# Copyright (c) 2022, Frappe Technologies Pvt. Ltd. and Contributors
# License: MIT. See LICENSE
-import frappe
import datetime
+
+import frappe
from frappe import _
-from frappe.model import default_fields, table_fields
+from frappe.model import de... | feat(minor): Allow expressions in options for DocFields | null | frappe/frappe | MIT License | Python |
+package cmd
+
+import (
+ "context"
+ "io/ioutil"
+ "os"
+
+ _ "github.com/influxdata/flux/builtin"
+ "github.com/influxdata/flux/csv"
+ "github.com/influxdata/flux/lang"
+ "github.com/spf13/cobra"
+)
+
+// executeCmd represents the execute command
+var executeCmd = &cobra.Command{
+ Use: "execute",
+ Short: "Execute ... | feat(cmd): execute command | null | influxdata/flux | MIT License | Go |
@@ -38,10 +38,16 @@ func (gui *Gui) handleEditorKeypress(textArea *gocui.TextArea, key gocui.Key, ch
textArea.ToggleOverwrite()
case key == gocui.KeyCtrlU:
textArea.DeleteToStartOfLine()
+ case key == gocui.KeyCtrlK:
+ textArea.DeleteToEndOfLine()
case key == gocui.KeyCtrlA || key == gocui.KeyHome:
textArea.GoToStartOf... | feat: add support for emacs keybindings | null | jesseduffield/lazygit | MIT License | Go |
@@ -68,6 +68,19 @@ impl<T: ArtifactOutput> ProjectCompileOutput<T> {
.chain(compiled_artifacts.into_artifacts_with_files())
}
+ /// All artifacts together with their ID and the sources of the project.
+ pub fn into_artifacts_with_sources(self) -> (BTreeMap<ArtifactId, T::Artifact>, SourceFiles) {
+ let Self { cached_ar... | feat: ability to get artifacts + sources | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -69,6 +69,8 @@ type LaunchConfiguration struct {
InstanceMonitoring *bool
// InstanceType is the machine type to use
InstanceType *string
+ // RootVolumeDeleteOnTermination states if the root volume will be deleted after instance termination
+ RootVolumeDeleteOnTermination *bool
// If volume type is io1, then we nee... | feat(awstasks): Support EBS DeleteOnTermination | null | kubernetes/kops | Apache License 2.0 | Go |
@@ -89,7 +89,7 @@ const POS_PANDA_BANNER: &str = r#"
;s$$$$$$$$$$$$$$$ `888 `Y88. d8P' `Y8b d8P' `Y8 ;s$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$ 888 .d88'888 888Y88bo. $$$$$$$$$$$$$$$$$$
$$$$P""Y$$$Y""W$$$$$ 888ooo88P' 888 888 `"Y8888o. $$$$P""Y$$$Y""W$$$$$
- $$$$ p"$$$"q $$$$$ 888 888 888 `"Y88b $$$$ p"$$$"q $$$$$
+ $$$$ p"L... | feat: Update ASCII art | null | sigp/lighthouse | Apache License 2.0 | Rust |
@@ -679,7 +679,7 @@ public enum ConfigurationKey
/**
* API authentication feature. Enable or disable personal access tokens.
*/
- ENABLE_API_TOKEN_AUTHENTICATION( "enable.api_token.authentication", Constants.OFF, false ),
+ ENABLE_API_TOKEN_AUTHENTICATION( "enable.api_token.authentication", Constants.ON, false ),
/**
*... | feat: Set the PATs feature's default value to on | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -194,6 +194,7 @@ Rails.application.routes.draw do
resources :assessments do
post 'reorder', on: :member
post 'authenticate', on: :member
+ post 'remind', on: :member
resources :questions, only: [] do
post 'duplicate/:destination_assessment_id', on: :member, action: 'duplicate', as: :duplicate
| feat(assessment reminder): add route for assessment closing manual reminder feature | null | coursemology/coursemology2 | MIT License | Ruby |
@@ -1253,11 +1253,16 @@ impl Pact {
consumer: Consumer { name: s!("default_consumer") },
provider: Provider { name: s!("default_provider") },
interactions: Vec::new(),
- metadata: btreemap!{
+ metadata: Pact::default_metadata(),
+ specification_version: PactSpecification::V3
+ }
+ }
+
+ /// Returns the default metadata... | feat: make default metadata public so other language impl can access it | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -147,6 +147,10 @@ where
}
for (bucket, inner_table) in agg.hash_table.iter_tables_mut().enumerate() {
+ if inner_table.len() == 0 {
+ continue;
+ }
+
let iterator = inner_table.iter();
let (capacity, _) = iterator.size_hint();
@@ -262,6 +266,10 @@ where
fn convert_two_level_block(agg: &mut Self::TwoLevelAggregator) ... | feat(query): try fix test failure | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -28,16 +28,20 @@ impl From<Technology> for ObjectIdentifier {
}
#[derive(Copy, Clone, Debug)]
-pub struct Platform(Technology, usize);
+pub struct Platform {
+ technology: Technology,
+ report_size: usize,
+ key_size: usize,
+}
impl Platform {
#[cfg(not(all(target_os = "linux", target_arch = "x86_64")))]
- fn get_at... | feat(exec-wasmtime): add `Platform::get_key()` syscall | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -205,7 +205,7 @@ protected virtual void FixedUpdate()
{
HandleFalling();
// If Move In Place is currently engaged.
- if (active && !currentlyFalling)
+ if (MovementActivated() && !currentlyFalling)
{
// Initialize the list average.
float speed = Mathf.Clamp(((speedScale * 350) * (CalculateListAverage() / trackedObje... | feat(Locomotion): allow move in place to not require button press | null | extendrealityltd/vrtk | MIT License | C# |
@@ -24,9 +24,6 @@ pub const ENCLAVE_ADD_PAGES: Ioctl<WriteRead, &AddPages<'_>> = unsafe { SGX.writ
pub const ENCLAVE_INIT: Ioctl<Write, &Init<'_>> = unsafe { SGX.write(0x02) };
pub const ENCLAVE_SET_ATTRIBUTE: Ioctl<Write, &SetAttribute<'_>> = unsafe { SGX.write(0x03) };
-pub const PAGE_MODP: Ioctl<Write, &PageModPerms... | feat(sgx2): remove deprecated SGX2 types | null | enarx/enarx | Apache License 2.0 | Rust |
+<?php
+
+declare(strict_types=1);
+
+beforeEach(function() {
+ filesystem()->directory(PATH['project'] . '/entries')->create();
+});
+
+afterEach(function (): void {
+ filesystem()->directory(PATH['project'] . '/entries')->delete();
+});
+
+test('test raw shortcode', function () {
+ $this->assertTrue(flextype('entries... | feat(tests): add tests for Shortcode raw | null | flextype/flextype | MIT License | PHP |
export const gameEnv = {
globalGameVersion: 6.0,
- koreanGameVersion: 5.57,
+ koreanGameVersion: 5.58,
chineseGameVersion: 5.55
};
| feat(db): support for korean v5.58 update | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -235,10 +235,9 @@ abstract class SafeMojo extends AbstractMojo {
);
} catch (final TimeoutException ex) {
throw new MojoExecutionException(
- String.format(
- "Timeout [%d %s] for Mojo execution is reached ",
- this.timeout,
- TimeUnit.SECONDS
+ Logger.format(
+ "Timeout %[ms]s for Mojo execution is reached",
+ Time... | feat(#1423): use Logger.format | null | cqfn/eo | MIT License | Java |
@@ -39,6 +39,7 @@ class MoleculeField extends Component {
inline,
successText,
errorText,
+ onClickLabel,
children // eslint-disable-line react/prop-types
} = this.props
return (
@@ -47,6 +48,7 @@ class MoleculeField extends Component {
type={this.getTypeValidation('label')}
name={name}
text={label}
+ onClick={onClickL... | feat(molecule/field): add onClick label handler as prop | null | sui-components/sui-components | MIT License | JavaScript |
@@ -117,6 +117,17 @@ class Admin::PagesController < Admin::AdminController
def user_feed
# The template of this endpoint get the user_feed data calling
# to another endpoint in the front-end part
+
+ # Disabled public profile?
+ if !@viewed_user.nil? && current_user != @viewed_user
+ user = Carto::User.find_by(id: @vie... | feat: adding feature flag to disable public profile for a given user | null | cartodb/cartodb | BSD 3-Clause New or Revised License | Ruby |
@@ -136,3 +136,29 @@ test('test macro() entry', function () {
$this->assertEquals(1, flextype('entries')->fetchRecentPosts(1)->count());
$this->assertEquals(2, flextype('entries')->fetchRecentPosts(2)->count());
});
+
+test('test mixin() entry', function () {
+ flextype('entries')->create('foo', []);
+ flextype('entrie... | feat(tests): add tests for Entries API mixin() | null | flextype/flextype | MIT License | PHP |
@@ -2,12 +2,15 @@ import { useEffect, useState } from 'react'
import { usePlatform } from 'rt-platforms'
import { isMobileDevice } from 'apps/utils'
-export const usePWABannerPrompt = (): [BeforeInstallPromptEvent | null, () => Promise<void>] => {
+export const usePWABannerPrompt = (): [
+ BeforeInstallPromptEvent | nu... | feat(workspace): detect if on mobile | null | adaptiveconsulting/reactivetradercloud | Apache License 2.0 | TypeScript |
@@ -158,10 +158,19 @@ export class FargateService extends BaseService implements IFargateService {
*/
export enum FargatePlatformVersion {
/**
- * The latest, recommended platform version
+ * The latest, recommended platform version.
*/
LATEST = 'LATEST',
+ /**
+ * Version 1.4.0
+ *
+ * Supports EFS endpoints, CAP_SYS_... | feat(ecs): add Fargate 1.4.0 support | null | aws/aws-cdk | Apache License 2.0 | TypeScript |
@@ -35,7 +35,9 @@ function getSectionName(article) {
function getIsLiveBlog(articleFlags = []) {
if (articleFlags !== undefined) {
const articleLiveFlag = articleFlags.find(
- flag => flag.type === "LIVE" && Date.now() < new Date(flag.expiryTime)
+ flag =>
+ flag.type === "LIVE" &&
+ (Date.now() < new Date(flag.expiryT... | feat(TDP-758): updated validation of expiry time to include null for open ended validity | null | newsuk/times-components | BSD 3-Clause New or Revised License | JavaScript |
@@ -30,6 +30,7 @@ void run_matmul_mk_format(Handle* handle, param::MatrixMul::Format format,
auto extra_impl = [](const TensorNDArray& tensors, param::MatrixMul param,
Handle* handle, size_t pack_size) {
megdnn_assert((param.format == param::MatrixMul::Format::MK4 ||
+ param.format == param::MatrixMul::Format::MK4_DOT ... | feat(mgb/dnn): add matmul mk4 dot naive test | null | megengine/megengine | Apache License 2.0 | C++ |
@@ -145,6 +145,7 @@ class FunctionsV1 extends Worker
$event = $this->args['event'] ?? '';
$scheduleOriginal = $this->args['scheduleOriginal'] ?? '';
$eventData = (!empty($this->args['eventData'])) ? json_encode($this->args['eventData']) : '';
+ var_dump($eventData);
$data = $this->args['data'] ?? '';
$userId = $this->a... | feat: pass empty string instead of null in functions worker | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -10,7 +10,7 @@ declare(strict_types=1);
namespace Flextype\Console\Commands\Entries;
use Symfony\Component\Console\Command\Command;
-use Symfony\Component\Console\Input\InputOption;
+use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\O... | feat(console): use args for EntriesCopyCommand | null | flextype/flextype | MIT License | PHP |
*/
var Slick = {};
+/**
+ * @constructor
+ */
+Slick.EventData;
+
+Slick.EventData.prototype.stopPropagation = function() {};
+
+/**
+ * @returns {boolean}
+ */
+Slick.EventData.prototype.isPropagationStopped = function() {};
+
+Slick.EventData.prototype.stopImmediatePropagation = function() {};
+
+/**
+ * @return {boo... | feat(slickgrid): created new externs for header row in slickgrid | null | ngageoint/opensphere | Apache License 2.0 | JavaScript |
@@ -248,3 +248,93 @@ func TestFilterResources(t *testing.T) {
})
}
+
+func TestFormatSyncPolicy(t *testing.T) {
+
+ t.Run("Policy not defined", func(t *testing.T) {
+ app := v1alpha1.Application{}
+
+ policy := formatSyncPolicy(app)
+
+ if policy != "<none>" {
+ t.Fatalf("Incorrect policy \"%s\", should be <none>", pol... | feat: tests for build policy and conditions in app cmd | null | argoproj/argo-cd | Apache License 2.0 | Go |
# You can execute this file to create a new package for wallabag
# eg: `sh release.sh 2.3.3 /tmp wllbg-release prod`
-VERSION=$1
+VERSION=wallabag-$1
TMP_FOLDER=$2
RELEASE_FOLDER=$3
ENV=$4
@@ -13,8 +13,8 @@ git clone git@github.com:wallabag/wallabag.git "$TMP_FOLDER"/"$RELEASE_FOLDER"/"
cd "$TMP_FOLDER"/"$RELEASE_FOLDE... | feat: change the name of the static package's root directory | null | wallabag/wallabag | MIT License | Shell |
@@ -928,6 +928,14 @@ Config.prototype._fromPassed = function _fromPassed(external, internal, arbitrar
// if it's not in the defaults, it doesn't exist
if (!arbitrary && internal[key] === undefined) return
+ if (key === 'ignored_params') {
+ warnDeprecated(key, 'attributes.exclude')
+ }
+
+ if (key === 'capture_params')... | feat(config): log warning if config uses deprecated props | null | newrelic/node-newrelic | Apache License 2.0 | JavaScript |
@@ -116,6 +116,15 @@ export const targetGLSL = (opts?: Partial<GLSLOpts>) => {
const emit: Fn<Term<any>, string> = defTarget({
arg: (t) => $decl(t, true),
+ array_init: (t) =>
+ _opts.version >= GLSLVersion.GLES_300
+ ? `${t.type}(${$list(t.init)})`
+ : unsupported(
+ `array initializers not available in GLSL ${
+ _opt... | feat(shader-ast-glsl): add array init code gen | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
@@ -131,7 +131,8 @@ func generateConfig(p KubeAPIServerConfigParams, version semver.Version) *kcpv1.
}
args.Set("egress-selector-config-file", cpath(kasVolumeEgressSelectorConfig().Name, EgressSelectorConfigMapKey))
args.Set("enable-admission-plugins", admissionPlugins()...)
- if version.Minor == 11 {
+ if version.Mino... | feat(cpo): Disable PodSecurity for 4.10 | null | openshift/hypershift | Apache License 2.0 | Go |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.