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,6 +11,7 @@ pub use http::request::Parts;
use http::version::Version;
use http::{self, Extensions, Uri};
pub use hyper::Body as ReqBody;
+use mime;
use multimap::MultiMap;
use once_cell::sync::OnceCell;
use serde::de::Deserialize;
@@ -386,6 +387,16 @@ impl Request {
.and_then(|v| v.parse().ok())
}
+ /// Get conte... | feat: add has_mime in request | null | salvo-rs/salvo | Apache License 2.0 | Rust |
@@ -33,7 +33,7 @@ def parse_argv():
actions.add_argument('-convert', help='Input/Output directory to convert')
target = parser.add_argument_group(title='Target')
- target.add_argument('-compiler', choices=['vs2015', 'vs2017', 'vs2019', 'vs2019-clang', 'android', 'clang4', 'clang5', 'clang6', 'clang7', 'clang8', 'clang9... | feat(tools): add support for vs2022 and vs2022-clang | null | nfrechette/acl | MIT License | Python |
@@ -460,6 +460,15 @@ def run_tests(context, app=None, module=None, doctype=None, test=(),
tests = test
site = get_site(context)
+
+ allow_tests = frappe.get_conf(site).allow_tests
+
+ if not (allow_tests or os.environ.get('CI')):
+ click.secho('Testing is disabled for the site!', bold=True)
+ click.secho('You can enabl... | feat: Disable testing for all sites by default | null | frappe/frappe | MIT License | Python |
@@ -47,7 +47,7 @@ pub fn development_config(inclusion_check: bool) -> Result<ChainSpec, String> {
Ok(ChainSpec::from_genesis(
// Name
- "Development",
+ "PolkaBTC",
// ID
"dev",
ChainType::Development,
| feat: Update chain name | null | interlay/interbtc | Apache License 2.0 | Rust |
@@ -46,6 +46,9 @@ class V06 extends Filter {
$parsedResponse = $this->parseLocale($content);
break;
+ case Response::MODEL_COUNTRY_LIST:
+ $parsedResponse = $this->parseCountryList($content);
+ break;
case Response::MODEL_ANY :
$parsedResponse = $content;
@@ -63,6 +66,17 @@ class V06 extends Filter {
}
+ private functi... | feat: parse country list | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
+package errors
+
+import "fmt"
+
+// MultipleExistingCRDOwnersError is an error that denotes multiple owners of a CRD exist
+// simultaneously in the same namespace
+type MultipleExistingCRDOwnersError struct {
+ CSVNames []string
+ CRDName string
+ Namespace string
+}
+
+func (m MultipleExistingCRDOwnersError) Error(... | feat(controllers): add custom error type for multiple existing CRD | null | operator-framework/operator-lifecycle-manager | Apache License 2.0 | Go |
@@ -111,12 +111,13 @@ const StyledElementChild = styled.div`
const StyledIcon = styled(Icon)`
position: absolute;
left: ${getSpace(Size.XS)}px;
- fill: ${colors.grey36.toString()};
+ fill: ${colors.grey70.toString()};
width: 12px;
height: 12px;
transition: transform 0.2s;
${(props: StyledIconProps) => (props.open ? 'tr... | feat(lsg): invert icon color when element item is active | null | meetalva/alva | MIT License | TypeScript |
@@ -1102,7 +1102,9 @@ module.exports = function(options, callback) {
case PLUGIN_HOOKS.TUNNEL:
if (tunnelServer) {
initConnectReq(req, socket);
+ req.sendEstablished(function() {
tunnelServer.emit('connect', req, socket, head);
+ });
}
break;
case PLUGIN_HOOKS.TUNNEL_REQ_READ:
| feat: auto sendEstablished | null | avwo/whistle | MIT License | JavaScript |
@@ -28,6 +28,8 @@ frappe.ui.Dialog = class Dialog extends frappe.ui.FieldGroup {
this.get_close_btn().hide();
}
+ if (!this.size) this.set_modal_size();
+
this.wrapper = this.$wrapper.find(".modal-dialog").get(0);
if (this.size == "small") $(this.wrapper).addClass("modal-sm");
else if (this.size == "large") $(this.wrap... | feat: change quick entry dialog size based on column breaks | null | frappe/frappe | MIT License | JavaScript |
@@ -505,6 +505,11 @@ return [
'description' => 'Invalid redirect URL for OAuth failure.',
'code' => 400,
],
+ Exception::PROJECT_RESERVED_PROJECT => [
+ 'name' => Exception::PROJECT_RESERVED_PROJECT,
+ 'description' => 'The project ID is reserved. Please choose another project ID.',
+ 'code' => 400,
+ ],
Exception::PRO... | feat: address issues on projects.php | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -53,8 +53,8 @@ export const App = (): JSX.Element => {
maxBounds: bounds,
crs: L.CRS.Simple,
preferCanvas: true,
- zoomDelta: 0.3,
- zoomSnap: 0.3,
+ zoomDelta: 0.1,
+ zoomSnap: 0.1,
doubleClickZoom: false,
zoomControl: false,
attributionControl: false,
| feat: Set zoomSnap to 0.1 | null | sprout2000/leafview | MIT License | TypeScript |
@@ -37,6 +37,9 @@ class TfModelMeta(type, Trainable, Inferable):
return obj
+class SimpleTFModel(metaclass=TfModelMeta):
+ pass
+
class TFModel(metaclass=TfModelMeta):
_saver = tf.train.Saver
| feat: Simple TensorFlow model (with meta graph initialization) added | null | deeppavlov/deeppavlov | Apache License 2.0 | Python |
@@ -387,7 +387,7 @@ public class EsDocumentSearcher implements Searcher {
codec.close();
return obj.toArray();
} catch (IllegalArgumentException e) {
- throw new BadRequestException(e.getMessage(), e.getCause());
+ throw new BadRequestException("Invalid 'searchAfter' parameter value '%s'", searchAfterToken);
}
} catch ... | feat: change error message's text | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -70,7 +70,7 @@ export class DataTrap<O extends {}> {
export const userTrap = new DataTrap<User>()
export const groupTrap = new DataTrap<Group>()
-interface AccessOptions<T> {
+export interface AccessOptions<T> {
readable?: T[]
writable?: T[]
}
@@ -83,7 +83,7 @@ interface TrappedArgv<O> extends ParsedArgv<never, neve... | feat(eval-addons): merge addon fields | null | koishijs/koishi | MIT License | TypeScript |
@@ -178,12 +178,15 @@ open class Player(private val base: BaseObject = BaseObject()) : Fragment(), Eve
open fun configure(options: Options) {
core?.let {
it.options = options
- }.run {
- core = Core(loader, options)
- }
+ } ?: createCore(options)
+
core?.load()
}
+ private fun createCore(options: Options){
+ core = Cor... | feat(player_load): change configure Player | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -6,8 +6,27 @@ module.exports = TraceAttributes
* @class
* @private
*/
-function TraceAttributes() {
+function TraceAttributes(opts) {
+ opts = opts || {}
+ this.limit = opts.limit || Infinity
this.attributes = {}
+ this.count = 0
+}
+
+TraceAttributes.prototype.checkLimits = function checkLimits(key) {
+ // if key e... | feat(attributes): add checkLimits method to TraceAttributes | null | newrelic/node-newrelic | Apache License 2.0 | JavaScript |
class="cursor-pointer overflow-hidden !text-transparent !dark:text-transparent"
x-ref="input"
x-on:click="toggle"
- x-on:focus="toggle"
+ x-on:focus="open"
x-on:keydown.enter.stop.prevent="toggle"
x-on:keydown.space.stop.prevent="toggle"
x-on:keydown.arrow-down.prevent="$event.shiftKey || getNextFocusable().focus()"
| feat: toggle select options on focus | null | wireui/wireui | MIT License | PHP |
@@ -12,7 +12,13 @@ module Course::LessonPlan::PersonalizationConcern
# allows students to slow down their learning more effectively.
# - We don't shift closing dates forward when the item has already opened for the student. This is to
# prevent students from being shocked that their deadlines have shifted forward sudde... | feat: add computation for a specific lesson plan item | null | coursemology/coursemology2 | MIT License | Ruby |
using Malimbe.XmlDocumentationAttribute;
using Zinnia.Action;
using Zinnia.Extension;
+ using Zinnia.Data.Type;
using Zinnia.Data.Attribute;
using Zinnia.Tracking.Velocity;
using VRTK.Prefabs.Interactions.Interactables;
@@ -23,9 +24,7 @@ public class InteractorFacade : MonoBehaviour
/// Defines the event with the <see ... | feat(Interactions): digest Interactor grab from SurfaceData | null | extendrealityltd/vrtk | MIT License | C# |
package eu.cloudnetservice.cloudnet.node.setup;
import com.google.common.collect.ImmutableSet;
+import eu.cloudnetservice.cloudnet.common.io.FileUtils;
+import eu.cloudnetservice.cloudnet.driver.module.DefaultModuleProvider;
import eu.cloudnetservice.cloudnet.driver.network.HostAndPort;
import eu.cloudnetservice.cloudn... | feat(node): add possibility to select modules to install during the setup | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -160,7 +160,7 @@ func (s *Server) sendDeleteEmails(session *session) error {
return s.conf.SendEmail(
s.conf.deleteAccountTemplates,
s.conf.DeleteAccountFiles,
- map[string]string{"Username": user.Username},
+ map[string]string{"Username": user.Username, "Delay": strconv.Itoa(s.conf.DeleteDelay)},
emails,
user.langu... | feat: add removal delay variable to myirma user/email deletion emails | null | privacybydesign/irmago | Apache License 2.0 | Go |
@@ -45,7 +45,7 @@ export default class Linkify extends Component<Props> {
return (
<ReactLinkify
componentDecorator = { this._componentDecorator }>
- <Text>
+ <Text selectable = { true }>
{ this.props.children }
</Text>
</ReactLinkify>
| feat: make mobile chat messages selectable | null | jitsi/jitsi-meet | Apache License 2.0 | JavaScript |
@@ -75,7 +75,7 @@ class PhpCode
$msg .= ': ' . $lastError['message'];
}
- throw new RuntimeException($msg, 0, $error);
+ throw new RuntimeException($msg, 0);
}
return $return;
| feat(serializers): update decode for PhpCode serializer | null | flextype/flextype | MIT License | PHP |
@@ -89,16 +89,22 @@ impl FileStorage {
serde_json::to_vec(&v).map_err(|_| VaultError::StorageError.into())
}
+ fn get_temp_path(path: &Path) -> PathBuf {
+ let tmp_ext = match path.extension() {
+ None => ".tmp".to_string(),
+ Some(e) => format!("{}.tmp", e.to_str().unwrap()),
+ };
+
+ path.with_extension(tmp_ext)
+ }
... | feat(rust): improve ux for `FileStorage` | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -42,7 +42,7 @@ use crate::sql::plans::Plan;
use crate::storages::stage::StageTable;
const MAX_QUERY_COPIED_FILES_NUM: usize = 50;
-
+const TABLE_COPIED_FILE_KEY_EXPIRE_AT: Option<u64> = Some(7);
pub struct CopyInterpreterV2 {
ctx: Arc<QueryContext>,
plan: CopyPlanV2,
@@ -87,7 +87,7 @@ impl CopyInterpreterV2 {
let re... | feat: add table copied file key expire time | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -32,14 +32,50 @@ pub trait NewKeyExchanger<E: KeyExchanger = Self, F: KeyExchanger = Self> {
/// A Completed Key Exchange elements
#[derive(Debug, Zeroize)]
pub struct CompletedKeyExchange {
+ h: [u8; 32],
+ encrypt_key: Secret,
+ decrypt_key: Secret,
+ local_static_secret: Secret,
+ remote_static_public_key: Public... | feat(rust): make fields private for completed_key_exchange struct | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -41,7 +41,7 @@ class IconAdminTwigExtension extends Twig_Extension
$icon_name = str_replace("fa-", "", $icon_parts[1]);
- $icon = Filesystem::read(PATH['plugins'] . '/admin/assets/icons/' . $icon_category . '/' . $icon_name . '.svg');
+ $icon = Filesystem::read(PATH['plugins'] . '/admin/assets/dist/fontawesome/svgs/... | feat(admin-plugin): fix path for fontawesome icons | null | flextype/flextype | MIT License | PHP |
@@ -33,9 +33,9 @@ parsers()->shortcodes()->addHandler('tr', static function (ShortcodeInterface $s
if ($s->getBbCode() != null) {
// Get vars
- foreach($s->getParameters() as $key => $value) {
+ $value = $s->getBbCode();
+
$vars = $value !== null ? strings($value)->contains($varsDelimeter) ? explode($varsDelimeter, $va... | feat(shortcodes): upd logic for `tr` shortcode | null | flextype/flextype | MIT License | PHP |
+/* eslint-disable no-useless-escape */
+
const article = require("../component/article");
const runClient = require("../lib/run-client");
@@ -18,9 +20,23 @@ if (window.nuk && window.nuk.ssr && window.nuk.article) {
} = window.nuk.article;
const { getCookieValue } = window.nuk;
+ const enableNewskit = decodeURIComponen... | feat: client side newskit feature flag | null | newsuk/times-components | BSD 3-Clause New or Revised License | JavaScript |
@@ -32,7 +32,9 @@ open class Container: UIObject {
}
private var boundsObservation: NSKeyValueObservation?
-
+ #if os(iOS)
+ private var previousDeviceOrientation: UIDeviceOrientation = UIDevice.current.orientation
+ #endif
public init(options: Options = [:]) {
Logger.logDebug("loading with \(options)", scope: "\(type(... | feat: preventing event trigger when orientation didn't change | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -52,14 +52,7 @@ class Utils extends BaseUtils
*
* @var string
*/
- protected $listDatabases = 'SHOW DATABASES';
-
- /**
- * OPTIMIZE TABLE statement
- *
- * @var string
- */
- protected $optimizeTable = 'OPTIMIZE TABLE %s';
+ protected $listDatabases = 'SELECT TABLESPACE_NAME FROM USER_TABLESPACES';
//--------------... | feat: define property | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -46,12 +46,12 @@ App::init(function ($utopia, $request, $response, $console, $project, $dbForCons
$requestFormat = $request->getHeader('x-appwrite-response-format', App::getEnv('_APP_SYSTEM_RESPONSE_FORMAT', ''));
if ($requestFormat) {
switch($requestFormat) {
- case version_compare ($requestFormat , '0.13.0', '<') ... | feat: update order of request filters | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -4,16 +4,16 @@ use data_types::{
data::ReplicatedWrite,
database_rules::{WalBufferRollover, WriterId},
};
+use object_store::path::ObjectStorePath;
use std::{collections::BTreeMap, convert::TryFrom, mem, sync::Arc};
use chrono::{DateTime, Utc};
use snafu::Snafu;
use tokio::sync::Mutex;
-
use tracing::warn;
-#[derive... | feat: add function to get segment object store location | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -229,9 +229,14 @@ fn find_dependency_tables<'r>(
})
}
-fn set_version(dep_item: &mut toml_edit::Item, name: &str, version: &str) -> bool {
+fn set_version(dep_item: &mut toml_edit::Item, name: &str, mut version: &str) -> bool {
if let Some(table_like) = dep_item.as_table_like_mut() {
if let Some(version_value) = tab... | feat(cargo): Preserve dependent version format | null | crate-ci/cargo-release | Apache License 2.0 | Rust |
@@ -34,10 +34,11 @@ import org.hisp.dhis.common.CodeGenerator;
import org.hisp.dhis.common.IdentifiableObject;
import org.hisp.dhis.common.IdentifiableObjectManager;
import org.hisp.dhis.document.Document;
+import org.hisp.dhis.eventchart.EventChart;
+import org.hisp.dhis.eventreport.EventReport;
import org.hisp.dhis.r... | feat: support external access voter for eventReports, eventCharts | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -73,7 +73,7 @@ func run(cmd *cobra.Command, args []string) {
return
}
for _, s := range res {
- to := path.Join(targetDir, strings.ToLower(s.Service)+".go")
+ to := path.Join(targetDir, strings.ToLower(s.Service)+"_grpc.go")
if _, err := os.Stat(to); !os.IsNotExist(err) {
fmt.Fprintf(os.Stderr, "%s already exists: %... | feat: add _grpc suffix for pb service | null | go-eagle/eagle | MIT License | Go |
package lcm
import (
- goharborv1alpha2 "github.com/goharbor/harbor-operator/apis/goharbor.io/v1alpha2"
+ "github.com/goharbor/harbor-operator/apis/goharbor.io/v1alpha2"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
-// This package container interface of harbor cluster service lifecycle m... | feat(harborcluster): update HarborCluster api | null | goharbor/harbor-operator | Apache License 2.0 | Go |
import UIKit
-class DoubleTapPlugin: UICorePlugin {
+public class DoubleTapPlugin: UICorePlugin {
override open var pluginName: String {
return String(describing: DoubleTapPlugin.self)
@@ -21,23 +21,47 @@ class DoubleTapPlugin: UICorePlugin {
required init(context: UIObject) {
super.init(context: context)
animatonHandl... | feat: listening to modal events to enable or disable touch | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -611,6 +611,21 @@ where
this_key.and_then(|k| self.map.get(&k).map(|v| (k, v)))
}
+
+ fn nth(&mut self, n: usize) -> Option<Self::Item> {
+ for _ in 0..n {
+ // Skip over elements not iterated over to get to `nth`. This avoids loading values
+ // from storage.
+ self.progress_key();
+ }
+
+ let next = self.key.as_re... | feat: Implement nth for TreeMap iterator | null | near/near-sdk-rs | Apache License 2.0 | Rust |
*/
import { env } from '@poppinss/env'
+import { Hash } from '@poppinss/hash'
+import { Logger } from '@poppinss/logger'
import { Config } from '@poppinss/config'
+import { Emitter } from '@poppinss/events'
import { Request } from '@poppinss/request'
+import { requireAll } from '@poppinss/utils'
import { IocContract } ... | feat: extend request and router on boot | null | adonisjs/core | MIT License | TypeScript |
+package appcache
+
+import (
+ "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions"
+
+ "github.com/coreos-inc/alm/apis/opver/v1alpha1"
+)
+
+// AppCache
+// - Map name to AppTypeOperatorVersion
+// - Map CRD name to CRD definition
+// - Map CRD name to AppTypeOperatorVersion that manages it
+
+type AppCache interf... | feat(appcache): add interface for app catalog cache | null | operator-framework/operator-lifecycle-manager | Apache License 2.0 | Go |
@@ -17,6 +17,7 @@ limitations under the License.
*/
import { Plugin } from '@tinacms/core'
+import React from 'react'
export interface ScreenPlugin extends Plugin {
__type: 'screen'
@@ -24,3 +25,26 @@ export interface ScreenPlugin extends Plugin {
Icon: any
layout: 'fullscreen' | 'popup'
}
+
+export interface ScreenOpt... | feat: createScreen helps with making plugins | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
@@ -146,6 +146,10 @@ open class Player: UIViewController, BaseObject {
play()
}
+ open func configure(options: Options) {
+ core?.options = options
+ }
+
open func play() {
core?.activePlayback?.play()
}
| feat: add configure to Player tvOS | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -459,6 +459,14 @@ else if ("videostreams".equals(stat.getName()))
bridgeState.setVideoStreamCount(videoStreamCount);
}
}
+ else if ("relay_id".equals(stat.getName()))
+ {
+ Object relayId = stat.getValue();
+ if (relayId != null)
+ {
+ bridgeState.setRelayId(relayId.toString());
+ }
+ }
}
}
| feat: Reads the relay ID advertised by bridges | null | jitsi/jicofo | Apache License 2.0 | Java |
@@ -140,5 +140,16 @@ func (s *SourceProxyQueryService) influxQuery(ctx context.Context, w io.Writer,
if err := platformhttp.CheckError(resp); err != nil {
return 0, err
}
- return io.Copy(w, resp.Body)
+
+ res := &influxql.Response{}
+ if err := json.NewDecoder(resp.Body).Decode(res); err != nil {
+ return 0, err
+ }
+... | feat(http/influxdb): add csv dialect support to json response | null | influxdata/influxdb | MIT License | Go |
@@ -123,6 +123,74 @@ class Builder extends BaseBuilder
//--------------------------------------------------------------------
+ /**
+ * Replace statement
+ *
+ * Generates a platform-specific replace string from the supplied data
+ *
+ * @param string $table The table name
+ * @param array $keys The insert keys
+ * @pa... | feat: add replace command | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -14,6 +14,7 @@ extern "C" {
* @{ */
typedef uint64_t u64_unix_ms_t; ///< unix time in ms
typedef uint64_t u64_snowflake_t; ///< snowflake datatype
+typedef char json_char_t; ///< raw json string
/** @} OrcaTypes */
/** @defgroup OrcaCodes
| feat(types): add json_char_t | null | cee-studio/orca | MIT License | C |
@@ -62,13 +62,13 @@ parser.add_argument(
required=True,
default=argparse.SUPPRESS)
parser.add_argument(
- '--display_name', dest='display_name', type=str, default=None)
+ '--display_name', nargs='?', dest='display_name', type=str, default=None)
parser.add_argument(
'--pipeline_job_id', dest='pipeline_job_id', type=str,... | feat(components): Add nargs to allow for empty string input by component | null | kubeflow/pipelines | Apache License 2.0 | Python |
@@ -4,12 +4,15 @@ import (
"bitbucket.org/mathildetech/kube-ovn/pkg/util"
"encoding/json"
"fmt"
+ "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/labels"
"k8s.io/apimachinery/pkg/types"
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
"k8s.io/client-go/tools/cache"
"k8s.io/klog"
+ "... | feat: support statefulset static ip | null | kubeovn/kube-ovn | Apache License 2.0 | Go |
@@ -53,16 +53,6 @@ class PersonalDataDeletionRequest(Document):
field_value = anonymize_value_map.get(field_details.fieldtype, str(field)) if not field_details.unique else self.name
anonymize_fields += ', `{0}`= \'{1}\''.format(field, field_value)
- if (meta.get_field(ref_doc['match_field']) or {}).get('fieldtype') == ... | feat: regex matching for various acceptable email format | null | frappe/frappe | MIT License | Python |
@@ -14,7 +14,7 @@ import {useEvent} from './utils/useEvent';
function getArgsWithCustomFloatingHeight(
args: MiddlewareArguments,
- prop: 'offsetHeight' | 'scrollHeight'
+ height: number
) {
return {
...args,
@@ -22,7 +22,7 @@ function getArgsWithCustomFloatingHeight(
...args.rects,
floating: {
...args.rects.floating,
... | feat(inner): allow custom `scrollRef` | null | popperjs/popper-core | MIT License | TypeScript |
@@ -616,14 +616,6 @@ func (r *caseRunner) runStepRequest(step *TStep) (stepResult *stepData, err erro
}
sessionData := newSessionData()
- // deal with setup hooks
- for _, setupHook := range step.SetupHooks {
- _, err = r.parser.parseData(setupHook, step.Variables)
- if err != nil {
- return stepResult, errors.Wrap(err... | feat: add hrp_step_name, hrp_step_request, hrp_step_response to hooks variables | null | httprunner/httprunner | Apache License 2.0 | Go |
@@ -91,7 +91,24 @@ public class ClassGen {
Collections.sort(sortImports);
for (String imp : sortImports) {
- clsCode.startLine("import ").add(imp).add(';');
+ ClassInfo importClassInfo = ClassInfo.fromName(cls.dex().root(), imp);
+ ClassNode classNode = cls.dex().resolveClass(importClassInfo);
+ // Clickable element se... | feat: make the import class name clickable | null | skylot/jadx | Apache License 2.0 | Java |
@@ -56,7 +56,7 @@ $app->get('/api/entries', function (Request $request, Response $response) use ($
$entries_token_file_path = PATH['project'] . '/tokens/entries/' . $token . '/token.yaml';
// Set entries token file
- if ($entries_token_file_data = $flextype['serializer']->decode(Filesystem::read($entries_token_file_pat... | feat(rest-api): fix entries rest api | null | flextype/flextype | MIT License | PHP |
export POSH_THEME=::CONFIG::
+TIMER_START="/tmp/${USER}.start.$$"
+
+PS0='$(::OMP:: --millis > $TIMER_START)'
+
function _update_ps1() {
- PS1="$(::OMP:: --config $POSH_THEME --error $?)"
+ omp_elapsed=-1
+ if [[ -f $TIMER_START ]]; then
+ omp_now=$(::OMP:: --millis)
+ omp_start_time=$(cat "$TIMER_START")
+ omp_elapsed... | feat(bash): execution time | null | jandedobbeleer/oh-my-posh | MIT License | Shell |
+import 'package:flutter/material.dart';
+import 'package:flutter_test/flutter_test.dart';
+import 'package:get/get.dart';
+
+import 'util/wrapper.dart';
+
+void main() {
+ testWidgets("Get.to smoke test", (tester) async {
+ await tester.pumpWidget(
+ Wrapper(child: Container()),
+ );
+
+ Get.to(SecondScreen());
+
+ aw... | feat: add test for get_main | null | jonataslaw/getx | MIT License | Dart |
@@ -296,7 +296,7 @@ class PackageDetailTab extends mixin(StoreMixin) {
getPackageVersionsDropdown() {
const cosmosPackage = CosmosPackagesStore.getPackageDetails();
const cosmosPackageVersions = CosmosPackagesStore.getPackageVersions();
- const selectedVersion = cosmosPackage.getCurrentVersion();
+ const selectedVersio... | feat(CosmosPackagesStores): improvements to package detail version | null | dcos/dcos-ui | Apache License 2.0 | JavaScript |
@@ -45,6 +45,7 @@ import org.activiti.cloud.api.process.model.impl.events.CloudBPMNActivityStarted
import org.activiti.cloud.api.process.model.impl.events.CloudProcessCancelledEventImpl;
import org.activiti.cloud.api.process.model.impl.events.CloudProcessCompletedEventImpl;
import org.activiti.cloud.api.process.model.i... | feat: test added to check CloudProcessUpdatedEvent | null | activiti/activiti-cloud | Apache License 2.0 | Java |
@@ -22,6 +22,7 @@ var path = require('path');
var querystring = require('querystring');
var request = require('request');
var url = require('url');
+var base64 = require('urlsafe-base64');
var app = express();
@@ -140,7 +141,12 @@ glob.sync(fixturePattern).forEach(function(fixturePath) {
return;
}
- console.info('Excha... | feat(@ciscospark/test-helper-server): use state to prevent code exchange | null | webex/webex-js-sdk | MIT License | JavaScript |
@@ -23,3 +23,4 @@ export 'package:at_commons/at_commons.dart';
export 'package:at_client/src/listener/sync_progress_listener.dart';
@experimental
export 'package:at_client/src/telemetry/at_client_telemetry.dart';
+export 'package:at_client/src/client/request_options.dart';
\ No newline at end of file
| feat: add request options to exports | null | atsign-foundation/at_client_sdk | BSD 3-Clause New or Revised License | Dart |
@@ -47,12 +47,6 @@ const labelLogic = ({
const rowClassName = classNames({
[`ant-form-item`]: true,
[`ant-form-item-with-help`]: false,
- // Status
- [`ant-form-item-has-feedback`]: validation.status && properties.hasFeedback !== false,
- [`ant-form-item-has-success`]: validation.status === 'success',
- [`ant-form-item... | feat(blocks-antd): Replace ant feedback classes | null | lowdefy/lowdefy | Apache License 2.0 | JavaScript |
@@ -17,11 +17,19 @@ import org.fossasia.openevent.app.data.AndroidUtilModel;
import org.fossasia.openevent.app.data.network.api.RetrofitLoginModel;
import org.fossasia.openevent.app.ui.presenter.LoginActivityPresenter;
+import butterknife.BindView;
+import butterknife.ButterKnife;
+
public class LoginActivity extends A... | feat: Add butterknife to remaining activity | null | fossasia/open-event-organizer-android | Apache License 2.0 | Java |
@@ -45,11 +45,6 @@ public final class FakeMaven {
*/
private static final String PROGRAM_ID = "foo.x.main";
- /**
- * Default eo program path.
- */
- private static final String PROGRAM_PATH = "foo/x/main.eo";
-
/**
* Default eo-foreign.csv file format.
*/
@@ -94,12 +89,24 @@ public final class FakeMaven {
/**
* Adds e... | feat(#1417): overload withProgram method | null | cqfn/eo | MIT License | Java |
@@ -735,9 +735,9 @@ SQL;
*/
protected function _transBegin(): bool
{
- $this->connID->autocommit(false);
+ $this->commitMode = OCI_NO_AUTO_COMMIT;
- return $this->connID->begin_transaction();
+ return true;
}
// --------------------------------------------------------------------
| feat: add transaction start method | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -94,7 +94,31 @@ func (pl ProofList) VerifyProofs(configuration *Configuration, context *big.Int,
}
}
- return gabi.ProofList(pl).Verify(publickeys, context, nonce, isSig, keyshareServers), nil
+ if !gabi.ProofList(pl).Verify(publickeys, context, nonce, isSig, keyshareServers) {
+ return false, nil
+ }
+
+ // Verify ... | feat: verification functions now check that singleton credentials occur at most once | null | privacybydesign/irmago | Apache License 2.0 | Go |
@@ -165,7 +165,12 @@ class ImgElement extends Element {
@override
void setProperty(String key, dynamic value) {
super.setProperty(key, value);
+ if (key == 'src' ||
+ key == '.style.width' ||
+ key == '.style.height'
+ ) {
removeImgBox();
addImgBox();
}
}
+}
| feat: rerender image when src/width/height changes | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -308,11 +308,13 @@ class AtClientImpl implements AtClient {
{String? regex,
String? sharedBy,
String? sharedWith,
+ bool showHiddenKeys = false,
bool isDedicated = false}) async {
var getKeysResult = await getKeys(
regex: regex,
sharedBy: sharedBy,
sharedWith: sharedWith,
+ showHiddenKeys: showHiddenKeys,
isDedicate... | feat: Add showHiddenKeys parameter to getAtKeys so it can pass through to getKeys | null | atsign-foundation/at_client_sdk | BSD 3-Clause New or Revised License | Dart |
@@ -114,6 +114,20 @@ impl ClientBuilder {
self
}
+ /// Set up the store configuration for a sled store.
+ ///
+ /// This is a shorthand for
+ /// <code>.[store_config](Self::store_config)([matrix_sdk_sled]::[make_store_config](matrix_sdk_sled::make_store_config)(path, passphrase)?)</code>.
+ #[cfg(feature = "sled")]
+ ... | feat(sdk): Add ClientBuilder::sled_store | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -288,11 +288,13 @@ open class AVFoundationPlayback: Playback, AVPlayerItemInfoDelegate {
selectDefaultSubtitleIfNeeded()
}
- private func updateAssetIfNeeded(_ player: AVPlayer) {
+ private func updateAssetIfNeeded(_ item: AVPlayerItem?) {
if self.asset == nil,
- let url: URL = (player.currentItem?.asset as? AVURLAs... | feat: Add create item info when asset is nil | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -12,6 +12,7 @@ from frappe.modules import scrub
from frappe.www.printview import get_visible_columns
import frappe.exceptions
import frappe.integrations.utils
+from frappe.frappeclient import FrappeClient
class ServerScriptNotEnabled(frappe.PermissionError):
pass
@@ -104,8 +105,10 @@ def get_safe_globals():
make_pos... | feat: Add log_error and FrappeClient to restricted python | null | frappe/frappe | MIT License | Python |
@@ -9,6 +9,7 @@ module.exports = function () {
// tag name contains capital letters
test: /[A-Z]/,
ali: convertTagName,
+ tt: convertTagName,
swan: convertTagName
}
}
| feat: add tt template convert | null | didi/mpx | Apache License 2.0 | JavaScript |
+import { Trans } from "@lingui/macro";
import PropTypes from "prop-types";
import React from "react";
@@ -43,7 +44,7 @@ class TaskRegionDSLSection extends React.Component {
onChange={onChange}
parts={EXPRESSION_PARTS}
>
- <label>Regions</label>
+ <Trans render="label">Regions</Trans>
<div className="row">
<div classNa... | feat(TaskRegionDSLSection): localize using Trans macro | null | dcos/dcos-ui | Apache License 2.0 | JavaScript |
@@ -29,4 +29,16 @@ class AuditableModelStub extends Model implements AuditableContract
{
$this->auditDriver = $driver;
}
+
+ /**
+ * Set the value of the Audit threshold.
+ *
+ * @param int $threshold
+ *
+ * @return void
+ */
+ public function setAuditThreshold($threshold)
+ {
+ $this->auditThreshold = $threshold;
+ }... | feat(AuditableModelStub): implement setAuditThreshold() method | null | owen-it/laravel-auditing | MIT License | PHP |
* Author: Kraken Team.
*/
import 'package:meta/meta.dart';
+import 'package:flutter/rendering.dart';
import 'package:kraken/element.dart';
+import 'package:kraken/rendering.dart';
+import 'package:kraken/style.dart';
const String DATA = 'data';
const String COMMENT = 'Comment';
@@ -21,13 +24,33 @@ class Comment extends... | feat: add textNode update mechanism | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -80,11 +80,6 @@ public final class XeListener implements ProgramListener, Iterable<Directive> {
*/
private final RedundantParentheses check;
- /**
- * Found error directives.
- */
- private final Directives errors;
-
/**
* Ctor.
* @param name Tha name of it
@@ -93,7 +88,6 @@ public final class XeListener implements ... | feat(#1493): simplify error directives | null | cqfn/eo | MIT License | Java |
@@ -3,20 +3,22 @@ package de.fayard.refreshVersions
import de.fayard.refreshVersions.core.ModuleId
import de.fayard.refreshVersions.core.addMissingEntriesInVersionsProperties
import de.fayard.refreshVersions.core.extensions.gradle.getVersionsCatalog
+import de.fayard.refreshVersions.core.internal.VersionCatalogs
import... | feat(migrate): option --toml use libraries from libs.versions.toml first | null | jmfayard/refreshversions | MIT License | Kotlin |
@@ -80,6 +80,7 @@ from docopt import docopt
import pyannote.core
import pyannote.database
from pyannote.database import get_database
+from pyannote.database import SpeakerDiarizationProtocol
from pyannote.database.util import FileFinder
from pyannote.database.util import get_unique_identifier
@@ -93,17 +94,14 @@ def ex... | feat: add support for speaker spotting protocols | null | pyannote/pyannote-audio | MIT License | Python |
@@ -49,14 +49,17 @@ typedef uint8_t lv_res_t;
#if defined(__cplusplus) || __STDC_VERSION__ >= 199901L
// If c99 or newer, use the definition of uintptr_t directly from <stdint.h>
typedef uintptr_t lv_uintptr_t;
+typedef intptr_t lv_intptr_t;
#else
// Otherwise, use the arch size determination
#ifdef LV_ARCH_64
typedef ... | feat(types): add lv_intptr_t | null | lvgl/lvgl | MIT License | C |
#include <dsn/dist/fmt_logging.h>
#include <dsn/service_api_cpp.h>
+#include <dsn/utility/flags.h>
#include "meta_data.h"
namespace dsn {
namespace replication {
+// There is an option `max_replicas_in_group` which restricts the max replica count of the whole
+// cluster. It's a cluster-level option. However, now that ... | feat(update_replication_factor#7): replace cluster-level max_replicas_in_group with max_replica_count of each replica | null | apache/incubator-pegasus | Apache License 2.0 | C++ |
@@ -13,8 +13,10 @@ type BoxPrinter struct {
Title string
TopLeft bool
TopRight bool
+ TopCenter bool
BottomLeft bool
BottomRight bool
+ BottomCenter bool
TextStyle *Style
VerticalString string
BoxStyle *Style
@@ -57,38 +59,70 @@ func (p BoxPrinter) WithTitleTopLeft(b ...bool) *BoxPrinter {
b2 := internal.WithBoolean(b)... | feat(boxprinter): add title center position to `BoxPrinter` | null | pterm/pterm | MIT License | Go |
@@ -120,7 +120,7 @@ open class Playback: UIObject, NamedType {
// MARK: - DVR
extension Playback {
- @objc var minDvrSize: Double {
+ @objc open var minDvrSize: Double {
return 0
}
| feat: Change minDvrSize visibility to open | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -241,6 +241,7 @@ def delete(
search_query=query,
force=force,
include_removed=include_removed,
+ aspect_name=aspect_name,
only_soft_deleted=only_soft_deleted,
)
@@ -272,6 +273,7 @@ def delete_with_filters(
soft: bool,
force: bool,
include_removed: bool,
+ aspect_name: Optional[str] = None,
search_query: str = "*",
e... | feat(ingest): allow for deleting aspects in cli with -p tag | null | linkedin/datahub | Apache License 2.0 | Python |
@@ -270,8 +270,12 @@ public class IoTDB implements IDatabase {
builder.append(") values(");
builder.append(timestamp);
for (String value : values) {
+ if (config.DATA_TYPE.equals("TEXT")) {
+ builder.append(",").append("'").append(value).append("'");
+ } else {
builder.append(",").append(value);
}
+ }
builder.append(")... | feat(IoTDB): add TEXT type data insertion | null | thulab/iot-benchmark | Apache License 2.0 | Java |
@@ -17,6 +17,13 @@ class Tokens extends Entries
{
use Macroable;
+ /**
+ * Generate unique Token ID.
+ *
+ * @return string Token ID.
+ *
+ * @access public
+ */
public function generateID(): string
{
return bin2hex(random_bytes(16));
| feat(tokens): update `generateID` method | null | flextype/flextype | MIT License | PHP |
@@ -33,6 +33,7 @@ type CreateOpts struct {
IsConfidential bool
IsInteractive bool
OpenInWeb bool
+ Yes bool
IO *utils.IOStreams
BaseRepo func() (glrepo.Interface, error)
@@ -102,6 +103,7 @@ func NewCmdCreate(f *cmdutils.Factory) *cobra.Command {
issueCreateCmd.Flags().IntVarP(&opts.LinkedMR, "linked-mr", "", 0, "The II... | feat(commands/issue/create): add --yes|-y flag to skip confirmation | null | profclems/glab | MIT License | Go |
@@ -456,6 +456,7 @@ function fillAPI (apiType) {
const
name = path.basename(file),
filePath = path.join(dest, name)
+ let hasError = false
const api = orderAPI(parseAPI(file, apiType), apiType)
@@ -479,7 +480,7 @@ function fillAPI (apiType) {
if (!(api.slots || {})[slotName] && !(api.scopedSlots || {})[slotName]) {
log... | feat(api): find as many api errors as possible before exiting build | null | quasarframework/quasar | MIT License | JavaScript |
@@ -59,7 +59,10 @@ const LINTERS = [ {
}
}
}
- if (result.status) process.exit(result.status)
+ if (result.status) {
+ if (opts.fix) spawnAndCheckExitCode('python', ['script/run-clang-format.py', ...filenames])
+ process.exit(result.status)
+ }
}
}, {
key: 'python',
| feat: use run-clang-format in cc --fix mode | null | electron/electron | MIT License | JavaScript |
use cfg_if::cfg_if;
+use minicbor::{Decode, Encode};
use serde::{Deserialize, Serialize};
use zeroize::Zeroize;
@@ -82,11 +83,15 @@ impl AsRef<[u8]> for SecretKey {
}
/// A public key.
-#[derive(Serialize, Deserialize, Clone, Debug, Zeroize)]
+#[derive(Encode, Decode, Serialize, Deserialize, Clone, Debug, Zeroize)]
#[z... | feat(rust): partially add cbor support to `ockam_core/vault` | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -13,6 +13,7 @@ Watcher::Watcher()
"org.kde.StatusNotifierWatcher", flags,
&Watcher::busAcquired, nullptr, nullptr, this, nullptr);
watcher_ = sn_watcher_skeleton_new();
+ sn_watcher_set_protocol_version(watcher_, 1);
}
Watcher::~Watcher()
| feat(sni): set protocol version | null | alexays/waybar | MIT License | C++ |
@@ -45,6 +45,18 @@ function getSurveyId() {
return match && match[1];
}
+/**
+ * Get the achievement id from URL.
+ *
+ * return {number}
+ */
+function getAchievementId() {
+ const match = window.location.pathname.match(
+ /^\/courses\/\d+\/achievements\/(\d+)/,
+ );
+ return match && match[1];
+}
+
/**
* Get the asse... | feat(url helpers): add achievement url helper | null | coursemology/coursemology2 | MIT License | JavaScript |
import net.sf.fmj.media.rtp.*;
import org.jitsi.impl.neomedia.*;
import org.jitsi.impl.neomedia.rtp.*;
+import org.jitsi.impl.neomedia.rtp.translator.*;
import org.jitsi.impl.neomedia.transform.*;
import org.jitsi.service.neomedia.*;
+import org.jitsi.service.neomedia.event.*;
import org.jitsi.service.neomedia.rtp.*;
i... | feat: Terminate PLIs and FIRs | null | jitsi/libjitsi | Apache License 2.0 | Java |
@@ -553,6 +553,8 @@ sh_c() {
sudo_sh_c() {
if [ "$(id -u)" = 0 ]; then
sh_c "$@"
+ elif command_exists doas; then
+ sh_c "doas $*"
elif command_exists sudo; then
sh_c "sudo $*"
elif command_exists su; then
@@ -561,7 +563,7 @@ sudo_sh_c() {
echoh
echoerr "This script needs to run the following command as root."
echoerr ... | feat: add doas support | null | cdr/code-server | MIT License | Shell |
@@ -590,12 +590,12 @@ $http->on('start', function ($http) {
try {
$orchestration = $orchestrationPool->get();
Console::info('Warming up ' . $runtime['name'] . ' ' . $runtime['version'] . ' environment...');
- // $response = $orchestration->pull($runtime['image']);
- // if ($response) {
- // Console::success("Successful... | feat: uncomment warmup | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -103,7 +103,7 @@ public final class ParseMojo extends SafeMojo {
final List<Supplier<Integer>> tasks = this.scopedTojos()
.select(row -> row.exists(AssembleMojo.ATTR_EO))
.stream()
- .filter(this::hasNotAlreadyParsed)
+ .filter(this::isNotParsed)
.map(this::task)
.collect(Collectors.toList());
Logger.info(
@@ -159,7... | feat(#1564): hasNotAlreadyParsed -> isNotParsed | null | cqfn/eo | MIT License | Java |
@@ -25,6 +25,123 @@ const AESM_REQUEST_TIMEOUT: u32 = 1_000_000;
const SGX_KEY_ID_SIZE: u32 = 256;
const SGX_REPORT_SIZE: usize = 432;
+#[repr(u32)]
+#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+pub enum AesmError {
+ UnexpectedError,
+ NoDeviceError,
+ ParameterError,
+ EpidblobError,
+ EpidRevokedError,
+ GetL... | feat(sgx): get a more verbose error from aesmd | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -52,6 +52,10 @@ module.exports = templateParams => {
width: 100vw;
}
+ .loading-screen--hidden {
+ display: none;
+ }
+
.loading-screen>*+* {
margin: 24px 0 0;
}
@@ -93,6 +97,13 @@ module.exports = templateParams => {
<script>
(function () {
+ setTimeout(function() {
+ var loadingScreen = document.querySelector('.lo... | feat: delay showing the loading screen | null | commercetools/merchant-center-application-kit | MIT License | JavaScript |
@@ -14,7 +14,6 @@ use super::{Package, Workload};
use anyhow::{bail, Context};
use enarx_config::{Config, File};
-use once_cell::sync::Lazy;
use wasi_common::file::FileCaps;
use wasi_common::WasiFile;
use wasmtime::{AsContextMut, Engine, Linker, Module, Store, Trap, Val};
@@ -22,17 +21,6 @@ use wasmtime_wasi::stdio::{s... | feat(wasmtime): use the whole 2GB memory space | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -109,7 +109,6 @@ final class ChRemote implements CommitHash {
* @throws IOException if fails
*/
private static Text load() throws IOException {
- final InputStream ins = new URL(ChRemote.HOME).openStream();
- return new TextOf(new InputOf(ins));
+ return new TextOf(new InputOf(new URL(ChRemote.HOME).openStream()));
... | feat(#1382): inline InputStream | null | cqfn/eo | MIT License | Java |
@@ -43,6 +43,59 @@ fn test_user_stage_gcs_latest() -> anyhow::Result<()> {
Ok(())
}
+#[test]
+fn test_user_stage_s3_v11() -> anyhow::Result<()> {
+ // Encoded data of version 11 of user_stage_s3:
+ // It is generated with common::test_pb_from_to.
+ let user_stage_s3_v11 = vec![
+ 10, 24, 115, 51, 58, 47, 47, 109, 121, ... | feat(query): add v11 tests | null | datafuselabs/databend | Apache License 2.0 | Rust |
import React from 'react';
import styled from 'styled-components';
-import { node } from 'prop-types';
+import { node, string } from 'prop-types';
import Dialog from '../../Dialog';
-const StyledBottomSheet = styled(Dialog)`
+const StyledBottomSheet = styled(Dialog).attrs(({ testId }) => ({
+ 'data-testid': testId,
+})... | feat(bottomsheet): add testId | null | gympass/yoga | MIT License | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.