diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -15,7 +15,7 @@ class TiledComponent extends Component {
RenderableTiledMap tileMap;
/// {@macro _tiled_component}
- TiledComponent(this.tileMap);
+ TiledComponent(this.tileMap, {int? priority}) : super(priority: priority);
@override
void render(Canvas canvas) {
@@ -25,10 +25,12 @@ class TiledComponent extends Compon... | feat: Expose priority for TiledComponent | null | flame-engine/flame | MIT License | Dart |
@@ -282,6 +282,11 @@ fn run() -> Result<()> {
.map_or(Vec::new(), |e| e.collect());
let cancellation_flag = util::cancel_on_stdin();
+ if debug {
+ // For augmenting debug logging in external scanners
+ env::set_var("TREE_SITTER_DEBUG", "1");
+ }
+
let timeout = matches
.value_of("timeout")
.map_or(0, |t| u64::from_str... | feat(cli): Set TREE_SITTER_DEBUG env var on 'tree-sitter parse -d' | null | tree-sitter/tree-sitter | MIT License | Rust |
@@ -15,6 +15,7 @@ from ...connections.models.diddoc import (
PublicKeyType,
Service,
)
+from ...core.event_bus import EventBus, MockEventBus
from ...core.in_memory import InMemoryProfileManager
from ...core.profile import ProfileManager
from ...core.protocol_registry import ProtocolRegistry
@@ -34,6 +35,7 @@ from ...tr... | feat: added testing paths for events added in conductor | null | hyperledger/aries-cloudagent-python | Apache License 2.0 | Python |
@@ -187,7 +187,7 @@ def stock_hk_daily(symbol: str = "00981", adjust: str = "qfq") -> pd.DataFrame:
if __name__ == "__main__":
- stock_hk_daily_hfq_df = stock_hk_daily(symbol="00373", adjust="qfq")
+ stock_hk_daily_hfq_df = stock_hk_daily(symbol="00700", adjust="hfq")
print(stock_hk_daily_hfq_df)
stock_hk_daily_df = st... | feat(stock_em_zt_pool): add stock_em_zt_pool interface | null | jindaxiang/akshare | MIT License | Python |
use std::io::stdout;
use chrono::{Datelike, Utc};
-use crossterm::{
- execute,
- terminal::{size, SetSize},
-};
+use crossterm::{execute, terminal::SetSize};
use tari_app_utilities::consts;
/// returns the top or bottom box line of the specified length
@@ -108,13 +105,11 @@ fn multiline_find_display_length(lines: &str)... | feat(cli): resize terminal height | null | tari-project/tari | BSD 3-Clause New or Revised License | Rust |
use std::env;
use std::fs;
-use clap::{App, AppSettings, ArgMatches};
+use clap::{App, AppSettings, Arg, ArgMatches};
use console::style;
use failure::Error;
@@ -16,6 +16,11 @@ fn is_hidden() -> bool {
pub fn make_app<'a, 'b: 'a>(app: App<'a, 'b>) -> App<'a, 'b> {
app.about("Uninstall the sentry-cli executable.")
+ .ar... | feat: add skip confirmation arg to uninstall cmd | null | getsentry/sentry-cli | BSD 3-Clause New or Revised License | Rust |
@@ -41,6 +41,9 @@ class CollectNukeWrites(pyblish.api.InstancePlugin):
handle_end = instance.context.data["handleEnd"]
first_frame = int(nuke.root()["first_frame"].getValue())
last_frame = int(nuke.root()["last_frame"].getValue())
+ frame_length = int(
+ last_frame - first_frame + 1
+ )
if node["use_limit"].getValue():... | feat(nk): dealing with slate if `render` family in write collector | null | pypeclub/openpype | MIT License | Python |
@@ -166,6 +166,23 @@ namespace Files
Window.Current.Activate();
Window.Current.CoreWindow.Activated += CoreWindow_Activated;
}
+ else
+ {
+ if (rootFrame.Content == null)
+ {
+ // When the navigation stack isn't restored navigate to the first page,
+ // configuring the new page by passing required information as a navi... | feat: Prelaunch app content & properly redirect to pre-launched instance if available | null | files-community/files | MIT License | C# |
@@ -384,6 +384,11 @@ export class Controller<C extends IViewModel = IViewModel> implements IControlle
createObservers(this, definition, this.flags, instance);
(instance as Writable<C>).$controller = this;
+
+ if (this.hooks.hasCreated) {
+ if (this.debug) { this.logger!.trace(`invoking created() hook`); }
+ (this.viewM... | feat(runtime-html): invoke created() hook on custom attributes | null | aurelia/aurelia | MIT License | TypeScript |
@@ -103,3 +103,44 @@ export function parseCssNumeric(val: string, units?: string | string[]) {
value: number,
}
}
+
+export type SideOptions =
+ | number
+ | {
+ vertical?: number
+ horizontal?: number
+ left?: number
+ top?: number
+ right?: number
+ bottom?: number
+ }
+
+export function normalizeSides(box: SideOptio... | feat: normalize sides | null | antvis/x6 | MIT License | TypeScript |
@@ -235,6 +235,11 @@ namespace Bit.Client.Web.BlazorUI
/// </summary>
[Parameter] public EventCallback<MouseEventArgs> OnClick { get; set; }
+ /// <summary>
+ /// Specifies whether to remove any leading or trailing whitespace from the value.
+ /// </summary>
+ [Parameter] public bool Trim { get; set; }
+
public BitText... | feat(components): add trim parameter to the BitTextField component | null | bitfoundation/bitframework | MIT License | C# |
#include "Runtime.h"
#include "V8GlobalHelpers.h"
#include <cstdlib>
+#include <jni.h>
using namespace v8;
using namespace std;
@@ -142,6 +143,15 @@ bool JsArgConverter::ConvertArg(const Local<Value>& arg, int index) {
auto runtime = Runtime::GetRuntime(m_isolate);
auto objectManager = runtime->GetObjectManager();
+ JE... | feat: support passing typedArrays as nio buffers | null | nativescript/android-runtime | Apache License 2.0 | C++ |
@@ -35,12 +35,28 @@ frappe.views.KanbanView = class KanbanView extends frappe.views.ListView {
this.card_meta = this.get_card_meta();
this.page_length = 0;
- this.menu_items.push({
+ this.menu_items.push(
+ ...[
+ {
label: __("Save filters"),
action: () => {
this.save_kanban_board_filters();
},
+ },
+ {
+ label: __("De... | feat(minor): delete kanban board from kanban view | null | frappe/frappe | MIT License | JavaScript |
@@ -6,8 +6,13 @@ package pterm
var (
// Output completely disables output from pterm if set to false. Can be used in CLI application quiet mode.
Output = true
+
// PrintDebugMessages sets if messages printed by the DebugPrinter should be printed.
PrintDebugMessages = false
+
+ // RawOutput disables any styling and colo... | feat: add disable styling boolean option | null | pterm/pterm | MIT License | Go |
@@ -186,6 +186,15 @@ function exportInterfaces(obj) {
obj.getRuntimeInfo = function() {
return proc;
};
+ obj.getShadowRules = function() {
+ return config.shadowRules;
+ };
+ obj.setShadowRules = function(shadowRules) {
+ if (typeof shadowRules === 'string') {
+ config.shadowRules = shadowRules;
+ rulesUtil.parseRules... | feat: setShadowRules | null | avwo/whistle | MIT License | JavaScript |
@@ -36,7 +36,7 @@ impl TransformAggregator {
input_port: Arc<InputPort>,
output_port: Arc<OutputPort>,
transform_params: AggregatorTransformParams,
- _ctx: Arc<QueryContext>,
+ ctx: Arc<QueryContext>,
) -> Result<ProcessorPtr> {
let aggregator_params = transform_params.aggregator_params;
| feat(base): try fix build failure | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -12,7 +12,6 @@ declare(strict_types=1);
namespace Flextype;
use Flextype\Component\Arr\Arr;
-use Flextype\Component\Html\Html;
use Flextype\Component\Filesystem\Filesystem;
use Psr\Http\Message\ServerRequestInterface as Request;
use function count;
| feat(form-plugin): remove html namespace | null | flextype/flextype | MIT License | PHP |
@@ -108,6 +108,9 @@ export const talisman_upgrades = {
ODGERS_BRONZE_TOOTH: ["ODGERS_GOLD_TOOTH", "ODGERS_DIAMOND_TOOTH", "ODGERS_SILVER_TOOTH"],
ODGERS_GOLD_TOOTH: ["ODGERS_DIAMOND_TOOTH", "ODGERS_SILVER_TOOTH"],
ODGERS_DIAMOND_TOOTH: ["ODGERS_SILVER_TOOTH"],
+ BURNING_KUUDRA_CORE: ["FIERY_KUUDRA_CORE", "INFERNAL_KUUD... | feat: add upgrades to new talisman lines | null | skycryptwebsite/skycrypt | MIT License | JavaScript |
@@ -140,13 +140,17 @@ class Microsoft extends OAuth2
/**
* Check if the OAuth email is verified
*
+ * If present, the email is verified. This was verfied through a manual Microsoft sign up process
+ *
* @param $accessToken
*
* @return bool
*/
public function isEmailVerified(string $accessToken): bool
{
- return false;
... | feat: added check for Microsoft OAuth | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -54,12 +54,12 @@ namespace PeanutButter.Utils.Entity
private static void ThrowDefaultExceptionFor(Exception ex)
{
- throw new Exception("Some exception thrown during save: " + ex.Message);
+ throw new Exception("Some exception thrown during save: " + ex.Message, ex);
}
private static void ThrowUpdateMessageFor(DbUpd... | feat: SaveChangesWithErrorReporting: include the thrown exception as an inner exception | null | fluffynuts/peanutbutter | BSD 3-Clause New or Revised License | C# |
@@ -189,6 +189,12 @@ function getPathInfo(string $path): array
'Content-Type: application/xslt+xml',
];
break;
+ case 'yml':
+ case 'yaml':
+ $info['headers'] = [
+ 'Content-Type: application/yaml',
+ ];
+ break;
}
// forces the info according to the media main type
switch ($info['media_maintype']) {
| feat(server): YAML file support | null | cecilapp/cecil | MIT License | PHP |
import ActionMenu from '@pluralsight/ps-design-system-actionmenu/react'
+import Button from '@pluralsight/ps-design-system-button/react'
+import Icon from '@pluralsight/ps-design-system-icon/react'
import {
Chrome,
@@ -27,14 +29,106 @@ export default _ =>
</Code>
<Heading size="large">
- <h2>Nesting</h2>
+ <h2>Action m... | feat(actionmenu): site reference for rest of states | null | pluralsight/design-system | Apache License 2.0 | JavaScript |
@@ -12,13 +12,13 @@ namespace Flextype\Endpoints;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
-use function content;
+use function entries;
use function count;
class Entries extends Api
{
/**
- * Fetch content.
+ * Fetch entry.
*
* @param ServerRequestInterface $request PSR7 req... | feat(endpoints): fix Entries class | null | flextype/flextype | MIT License | PHP |
+use std::cmp::Ordering;
+
/// The minimum and maximum sequence numbers seen for a given sequencer.
///
-/// **IMPORTANT: These ranges include their start and their end (aka `[start, end]`)!**
+/// **IMPORTANT: These ranges include their start and their end (aka `[min, max]`)!**
#[derive(Debug, Copy, Clone, PartialEq, ... | feat: impl `PartialOrd` for `OptionalMinMaxSequence` | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -61,18 +61,34 @@ export class FilterCategories extends Feature {
applySearch = (text) => {
$('.tk-categories-filter-hidden').removeClass('tk-categories-filter-hidden');
+
if (!text) {
return;
}
+ if (/^underfunded$/.test(text)) {
+ $('.budget-table-container .is-sub-category').each((_, el) => {
+ let element = getEm... | feat(filter): Implement underfunded | null | toolkit-for-ynab/toolkit-for-ynab | MIT License | JavaScript |
@@ -41,9 +41,22 @@ public class CreateCredentialsOptions extends GenericModel {
String CLOUD_OBJECT_STORAGE = "cloud_object_storage";
}
+ /**
+ * The current status of this set of credentials. `connected` indicates that the credentials are available to use with
+ * the source configuration of a collection. `invalid` re... | feat(Discovery): Add status prop to CreateCredentialsOptions | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -5,5 +5,15 @@ export GXI_LOCALEDIR=$8
export GXI_APP_ID="com.github.Cogitri.gxi"
export GXI_VERSION=$9
+export GREEN='\033[0;32m'
+export NO_COLOR='\033[0m'
+
+echo "\tGXI Plugindir: ${GREEN}${GXI_PLUGIN_DIR}${NO_COLOR}
+\tGXI Localedir: ${GREEN}${GXI_LOCALEDIR}${NO_COLOR}
+\tGXI App-ID: ${GREEN}${GXI_APP_ID}${NO_CO... | feat(cargo): print variables during build | null | cogitri/tau | MIT License | Shell |
const defaults = {
name: 'PWA app',
themeColor: '#4DBA87', // The Vue color
- msTileColor: '#000000'
+ msTileColor: '#000000',
+ appleMobileWebAppCapable: "no",
+ appleMobileWebAppStatusBarStyle: "default",
}
module.exports = class HtmlPwaPlugin {
@@ -18,7 +20,7 @@ module.exports = class HtmlPwaPlugin {
})
compilation.... | feat(pwa): Make injected meta tags configurable and change defaults | null | vuejs/vue-cli | MIT License | JavaScript |
@@ -53,8 +53,7 @@ def install_local(
"""
pkg_path, pkg_dist_path = get_dist_path(uuid, tag)
- print(pkg_path)
- print(pkg_dist_path)
+
if pkg_dist_path.exists() and not force:
return
| feat: hubble streaming logging | null | jina-ai/jina | Apache License 2.0 | Python |
@@ -220,11 +220,24 @@ func (ex *resourceExporter) resourceCloneToKind(ctx context.Context, r ResourceT
switch {
case r.Kind.is(KindBucket):
- bkt, err := ex.bucketSVC.FindBucketByID(ctx, r.ID)
+ filter := influxdb.BucketFilter{}
+ if r.ID != influxdb.ID(0) {
+ filter.ID = &r.ID
+ }
+ if len(r.Name) > 0 {
+ filter.Name ... | feat: export buckets by name | null | influxdata/influxdb | MIT License | Go |
@@ -125,7 +125,7 @@ public:
CONCEALER_INIT_SUBSCRIPTION(PathWithLaneId, "/planning/scenario_planning/lane_driving/behavior_planning/path_with_lane_id"),
CONCEALER_INIT_SUBSCRIPTION(Trajectory, "/planning/scenario_planning/trajectory"),
CONCEALER_INIT_SUBSCRIPTION(TurnIndicatorsCommand, "/control/command/turn_indicators... | feat(api): change set/engage to external api | null | tier4/scenario_simulator_v2 | Apache License 2.0 | C++ |
@@ -15,9 +15,6 @@ const interopRequire = (obj) => {
// The App-Shell component will be pre-rendered to index.html.
// When user loaded entry javascript file, it will hydrate the App-Shell component.
module.exports = class PWAAppShellPlugin {
- constructor() {
- this.name = NAME;
- }
apply(compiler) {
let appConfig;
@@ ... | feat: remove this.name | null | raxjs/rax-app | MIT License | JavaScript |
@@ -237,7 +237,7 @@ class MediaFiles
$result = [];
- foreach (filesystem()->find()->files()->in(flextype('media')->folders()->meta()->getDirectoryMetaLocation($id)) as $file) {
+ foreach (filesystem()->find()->files()->depth(0)->in(flextype('media')->folders()->meta()->getDirectoryMetaLocation($id)) as $file) {
$basena... | feat(media): MediaFiles updates | null | flextype/flextype | MIT License | PHP |
@@ -181,24 +181,31 @@ impl<'a> Request<'a> {
}
}
- pub fn get<P: Into<Cow<'a, str>>>(path: P, has_body: bool) -> Self {
- Request::new(Method::Get, path, has_body)
+ pub fn builder<P: Into<Cow<'a, str>>>(method: Method, path: P) -> RequestBuilder<'a> {
+ RequestBuilder {
+ header: Request::new(method, path, false),
+ b... | feat(rust): add builders to ockam_api | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -7,7 +7,7 @@ use std::collections::BTreeSet;
use croaring::Bitmap;
-use delorean_arrow::{arrow, arrow::array::Array};
+use delorean_arrow::{arrow, arrow::array::Array, arrow::array::PrimitiveArrayOps};
/// The possible logical types that column values can have. All values in a
/// column have the same physical type.... | feat: add nullable int column | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
package io.clappr.player.plugin
import io.clappr.player.plugin.Control.MediaControl
+import io.clappr.player.plugin.Control.TimeIndicatorPlugin
object PluginConfig {
fun register() {
@@ -8,5 +9,6 @@ object PluginConfig {
Loader.registerPlugin(PosterPlugin::class)
Loader.registerPlugin(LoadingPlugin::class)
Loader.regis... | feat(time_indicator): register time indicator plugin | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -36,6 +36,9 @@ type StoriesCacheEntry = {
};
type CacheEntry = false | StoriesCacheEntry | DocsCacheEntry;
type SpecifierStoriesCache = Record<Path, CacheEntry>;
+interface DuplicateEntriesError extends Error {
+ entries: IndexEntry[];
+}
const makeAbsolute = (otherImport: Path, normalizedPath: Path, workingDir: Pat... | feat: core-server:: added .entries property to the StoryIndexGenerator>choseDuplicate method error thrown when duplicate stories are present | null | storybookjs/storybook | MIT License | TypeScript |
@@ -11,8 +11,6 @@ module Solargraph
class Formatting < Base
include Solargraph::Diagnostics::RubocopHelpers
- class BlankRubocopFormatter < ::RuboCop::Formatter::BaseFormatter; end
-
def process
file_uri = params['textDocument']['uri']
config = config_for(file_uri)
@@ -21,11 +19,13 @@ module Solargraph
options, paths =... | feat(formatter): log list of rubocop corrections at INFO level | null | castwide/solargraph | MIT License | Ruby |
@@ -59,18 +59,18 @@ export function mapEntry(func) {
}
// invoked as obj::forEachEntry(([key, value], i, allEntries) => {})
-export function forEachEntry(func) {
- if (this) Object.entries(this).forEach(func);
+export function forEachEntry(func, thisObj) {
+ if (this) Object.entries(this).forEach(func, thisObj);
}
// i... | feat: support `thisObj` in forEachXXX | null | violentmonkey/violentmonkey | MIT License | JavaScript |
@@ -147,7 +147,7 @@ func ProcessRequirementsConditions(reqs *Requirements, cvals Values) {
hasFalse = true
}
} else {
- //log.Printf("Warning: Condition path '%s' for chart %s returned non-bool value", c, r.Name)
+ log.Printf("Warning: Condition path '%s' for chart %s returned non-bool value", c, r.Name)
}
} else if _,... | feat(helm): re-enable log warnings for tags and conditions | null | helm/helm | Apache License 2.0 | Go |
@@ -205,22 +205,26 @@ func (t *Test) Run(executor TestExecutor) {
func (t *Test) consume(ctx context.Context, results flux.ResultIterator) error {
var output strings.Builder
+ foundTestError := false
for results.More() {
result := results.Next()
if result.Name() == errorYield {
+ lenBeforeError := output.Len()
err := r... | feat: Display yields in fluxtest | null | influxdata/flux | MIT License | Go |
* Author: Kraken Team.
*/
+import 'dart:convert';
import 'dart:io';
+import 'dart:typed_data';
+import 'package:flutter/foundation.dart';
import 'package:kraken/devtools.dart';
import 'package:kraken/foundation.dart';
@@ -24,6 +27,8 @@ class InspectNetworkModule extends UIInspectorModule implements HttpClientInterc
fin... | feat: impl read response data | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -64,6 +64,8 @@ type Engine struct {
defaultMetricLabels prometheus.Labels
+ writePointsValidationEnabled bool
+
// Tracks all goroutines started by the Engine.
wg sync.WaitGroup
@@ -156,6 +158,13 @@ func WithCompactionSemaphore(s influxdb.Semaphore) Option {
}
}
+// WithWritePointsValidationEnabled sets whether writ... | feat(storage): Add option to disable WritePoints() validation | null | influxdata/influxdb | MIT License | Go |
@@ -692,6 +692,9 @@ pub fn panic(message: &[u8]) -> ! {
}
/// Log the UTF-8 encodable message.
pub fn log(message: &[u8]) {
+ #[cfg(all(debug_assertions, not(target_arch = "wasm32")))]
+ println!("{}", String::from_utf8_lossy(message));
+
unsafe {
BLOCKCHAIN_INTERFACE.with(|b| {
b.borrow()
| feat: Print logs when in debug and not wasm32 architecture | null | near/near-sdk-rs | Apache License 2.0 | Rust |
@@ -19,6 +19,10 @@ export const Actions = styled('div')<StyledProps>`
@media (min-width: 600px) {
flex-direction: row;
+ & > * {
+ max-width: 50%
+ }
+
& > * + * {
margin: 0 0 0 1.6rem;
}
| feat(core): place maxwidth on buttons (single cta doesnt fill box) | null | medly/medly-components | MIT License | TypeScript |
@@ -5,7 +5,7 @@ import 'reflect-metadata'
export function getPropertiesMetadata(classType: AnyClass): Array<PropertyMetadata> {
const meta: ClassMetadata = Reflect.getMetadata('booster:typeinfo', classType)
if (!meta) {
- console.log(`Could not get proper metadata information of ${classType.name}`)
+ console.log(`Could... | feat: Return stuff from command handlers (42fba97) | null | boostercloud/booster | Apache License 2.0 | TypeScript |
@@ -4,6 +4,7 @@ use std::thread;
use std::time;
use crate::config::Config;
+use crate::vault::FilesystemVault;
use crate::worker::Worker;
use ockam_channel::*;
@@ -34,10 +35,10 @@ impl<'a> Node<'a> {
let router = Router::new(router_rx);
// create the vault
- // let vault = Arc::new(Mutex::new(
- // FilesystemVault::new... | feat(rust): use the filesystem vault | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -43,7 +43,7 @@ type CreateClusterGKEFlags struct {
MinNumOfNodes string `mapstructure:"min-num-nodes"`
MaxNumOfNodes string `mapstructure:"max-num-nodes"`
Network string
- ProjectId string `mapstructure:"project-id"`
+ ProjectID string `mapstructure:"project-id"`
SkipLogin bool `mapstructure:"skip-login"`
SubNetwork... | feat: enable SD monitoring by default when creating new clusters | null | jenkins-x/jx | Apache License 2.0 | Go |
@@ -132,6 +132,13 @@ class MainActivity : AppCompatActivity() {
}
private fun setFragment(fragment: Fragment, fragmentTag: String) {
+ title = when (fragmentTag) {
+ AnimeFragment.tag -> getString(R.string.main_nav_anime)
+ MangaFragment.tag -> getString(R.string.main_nav_manga)
+ SearchFragment.tag -> getString(R.stri... | feat(title): when navigating between fragments change the displayed title | null | chesire/nekome | Apache License 2.0 | Kotlin |
@@ -24,8 +24,8 @@ use ruma_client_api::{
keys::{self, claim_keys, get_keys, upload_keys},
media::{create_content, get_content, get_content_thumbnail, get_media_config},
membership::{
- forget_room, get_member_events, invite_user, join_room_by_id, join_room_by_id_or_alias,
- kick_user, leave_room, ban_user, unban_user,
... | feat: heroes, don't send notifications every time | null | timokoesters/conduit | Apache License 2.0 | Rust |
@@ -243,7 +243,7 @@ export class Toast implements ComponentInterface, OverlayInterface {
<div class="toast-button-inner">
{b.icon &&
<ion-icon
- name={b.icon}
+ icon={b.icon}
slot={b.text === undefined ? 'icon-only' : undefined}
class="toast-icon"
/>}
| feat(toast): optionally render ion-icon from asset path if provided | null | ionic-team/ionic-framework | MIT License | TypeScript |
@@ -17,7 +17,7 @@ class Bitbucket extends OAuth
/**
* @var array
*/
- protected $requiredScope = [];
+ protected $scope = [];
/**
* @return string
@@ -32,10 +32,6 @@ class Bitbucket extends OAuth
*/
public function getLoginURL(): string
{
- foreach ($this->requiredScope as $item) {
- $this->addScope($item);
- }
-
retur... | feat: renamed adapter variable to scope | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -464,8 +464,6 @@ if (! function_exists('upload')) {
* @param array $file Raw file data (multipart/form-data).
* @param string $folder The folder you're targetting.
*
- * @access public
- *
* @return UploadResultFile Result file.
*/
function upload(array $file, string $folder): UploadResultFile
@@ -515,3 +513,46 @@ i... | feat(helpers): add new helpers, `token`, `tokenHash`, `tokenHashValidate` | null | flextype/flextype | MIT License | PHP |
@@ -17,7 +17,7 @@ const UPDATE_RATE = 4 * 1000;
const imdbRegex = new RegExp(/imdb:\/\/(tt[0-9]+)/);
const tmdbRegex = new RegExp(/tmdb:\/\/([0-9]+)/);
-const tvdbRegex = new RegExp(/tvdb:\/\/([0-9]+)/);
+const tvdbRegex = new RegExp(/tvdb:\/\/([0-9]+)|hama:\/\/tvdb-([0-9]+)/);
const tmdbShowRegex = new RegExp(/themovi... | feat(plex-sync): add support for hama guid's | null | sct/overseerr | MIT License | TypeScript |
@@ -37,6 +37,124 @@ pub enum Column {
ByteArray(MetaData<Vec<u8>>, StringEncoding), // TODO - arbitrary bytes
}
+impl Column {
+ //
+ // Meta information about the column
+ //
+ pub fn num_rows(&self) -> usize {
+ todo!()
+ }
+
+ pub fn size(&self) -> u64 {
+ todo!()
+ }
+
+ pub fn column_min(&self) -> Value<'_> {
+ to... | feat: add column method stubs | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -38,16 +38,16 @@ if (! function_exists('collect_filter')) {
$direction = $collection->direction;
// Bind: set first result
- $bind_set_first_result = $filter['set_first_result'] ?? false;
+ $bind_set_first_result_value = $filter['set_first_result'] ?? 0;
// Bind: set max result
- $bind_set_max_result = $filter['limi... | feat(element-queries): updates for collect_filter | null | flextype/flextype | MIT License | PHP |
@@ -107,7 +107,14 @@ const ListItem = ({
</View>
</View>
{
- !hideChevron && !rightTitle && (
+ rightTitle && (rightTitle !== '') && (
+ <View style={[styles.rightTitleContainer, rightTitleContainerStyle]}>
+ <Text style={[styles.rightTitleStyle, rightTitleStyle]}>{rightTitle}</Text>
+ </View>
+ )
+ }
+ {
+ !hideChevro... | feat(ListItem): support both right title and chevron | null | react-native-elements/react-native-elements | MIT License | JavaScript |
-import type { Attribs, IShape } from "@thi.ng/geom-api";
import { withoutKeysObj } from "@thi.ng/associative/without-keys";
+import type { Attribs, IShape } from "@thi.ng/geom-api";
import { convertTree } from "@thi.ng/hiccup-svg/convert";
import { ff } from "@thi.ng/hiccup-svg/format";
import { svg } from "@thi.ng/hi... | feat(geom): add SVG default attribs & setter | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
@@ -41,6 +41,6 @@ test('test media.files field', function () {
$this->assertEquals(2, $media['collection_of_files']->count());
$this->assertEquals('foo', $media['macroable_folder']['id']);
- $this->assertEquals(4, $media['foo_folder']->count());
+ $this->assertEquals(6, $media['foo_folder']->count());
$this->assertEqua... | feat(tests): update tests for MediaField | null | flextype/flextype | MIT License | PHP |
@@ -376,7 +376,7 @@ const SummaryTable = ({ uploadSummary, onAction, retry, cancel, ...props }) => {
},
{
key: "object",
- name: <System.H5 color="textGrayDark">Objects</System.H5>,
+ name: <System.H5 color="textGrayDark">Object</System.H5>,
width: "30%",
contentstyle: { padding: "0px" },
},
@@ -388,7 +388,7 @@ const S... | feat(UploadSummary): make objects and sizes singular | null | filecoin-project/slate | MIT License | JavaScript |
-use std::io::ErrorKind;
+use std::{io::ErrorKind, marker::PhantomData};
use async_graphql::{futures_util::TryStreamExt, http::MultipartOptions, ParseRequestError};
use axum::{
extract::{BodyStream, FromRequest, RequestParts},
http,
http::Method,
+ response::IntoResponse,
BoxError,
};
use bytes::Bytes;
use tokio_util::... | feat: custom error type in axum request extractor | null | async-graphql/async-graphql | Apache License 2.0 | Rust |
+package geodata_test
+
+import (
+ "errors"
+ "io/fs"
+ "os"
+ "path/filepath"
+ "runtime"
+ "testing"
+
+ "github.com/v2fly/v2ray-core/v4/common"
+ "github.com/v2fly/v2ray-core/v4/common/platform/filesystem"
+ "github.com/v2fly/v2ray-core/v4/infra/conf/geodata"
+ _ "github.com/v2fly/v2ray-core/v4/infra/conf/geodata/m... | feat: add geodata loader benchmark | null | v2fly/v2ray-core | MIT License | Go |
@@ -584,6 +584,73 @@ class VerbosityTest extends BaseRollbarTest
);
}
+ /**
+ * Test verbosity of \Rollbar\Config::send due the
+ * custom `transmit` == false.
+ *
+ * @return void
+ */
+ public function testRollbarConfigSendTransmit()
+ {
+ $config = $this->verboseRollbarConfig(array( // config
+ "access_token" => $th... | feat(dev options): test for verbosity of `transmit` == false | null | rollbar/rollbar-php | MIT License | PHP |
@@ -58,31 +58,42 @@ public static function fromBaseResponse($response)
}
/**
- * Merge stdClass array and assoc array recursively.
- * @param array $arrayStdClass
- * @param array $arrayAssoc
- * @return array
+ * JSON decode assoc and keep the empty object.
+ * @param string $json
+ * @link https://github.com/laravel/... | feat(TestResponse): Change implementation | null | laravel/framework | MIT License | PHP |
@@ -37,43 +37,38 @@ use crate::{io, scriptengine, version};
static RE_VARIABLE: Lazy<Regex> = Lazy::new(|| Regex::new(r"\$\{.*}").unwrap());
-fn merge_env_depends_on(val: &EnvValue) -> Vec<String> {
- match val {
- EnvValue::Value(value) => {
+fn merge_env_depends_on_extract(val: &str) -> Vec<&str> {
let mut depends_on... | feat: clearer implementation of variable extraction | null | sagiegurari/cargo-make | Apache License 2.0 | Rust |
@@ -5,9 +5,9 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
-import java.util.Objects;
import java.util.Optional;
import java.util.stream.Collectors;
+import java.util.stream.Stream;
import com.codingame.gameengine.core.AbstractPlayer;
import com.codingame.gameengi... | feat(entities): switch commit API around | null | codingame/codingame-game-engine | MIT License | Java |
@@ -65,6 +65,8 @@ public abstract class AbstractJdbcRepositoryConfiguration implements Application
private static final String POSTGRESQL_DRIVER_TYPE = "postgresql";
private static final String SQLSERVER_DRIVER_TYPE = "sqlserver";
+ private static final String DEFAULT_SCHEMA = "public";
+
public static String escapeRes... | feat: add db schema to datasource | null | gravitee-io/gravitee-api-management | Apache License 2.0 | Java |
@@ -210,7 +210,10 @@ open class JicofoServices {
put("jigasi", xmppServices.jigasiStats)
put("threads", ManagementFactory.getThreadMXBean().threadCount)
put("jingle", AbstractOperationSetJingle.getStats())
- healthChecker?.let { put("slow_health_check", it.totalSlowHealthChecks) }
+ healthChecker?.let {
+ put("slow_hea... | feat: Add health status to stats | null | jitsi/jicofo | Apache License 2.0 | Kotlin |
@@ -46,10 +46,17 @@ func runCreateProject(cmd *cobra.Command, args []string) error {
visiblity = gitlab.PublicVisibility
}
+ defaultBranch, _ := cmd.Flags().GetString("defaultBranch")
+ tags, _ := cmd.Flags().GetStringArray("tag")
+ readme, _ := cmd.Flags().GetBool("readme")
+
opts := &gitlab.CreateProjectOptions{
Name... | feat: Add more attributes to project creations | null | profclems/glab | MIT License | Go |
@@ -164,7 +164,9 @@ mod raw {
pub(super) managed_file: u32,
/// Managed code line number. This is 0 if the record does not map to any managed code.
pub(super) managed_line: u32,
- pub(super) _unknown: u32,
+ /// Unknown field. Normally set to FFFFFFFF, but investigations suggest that if this record
+ /// is for an inli... | feat(usym): Add in some context on the last field in a record | null | getsentry/symbolic | MIT License | Rust |
@@ -99,16 +99,19 @@ impl AggregateFunction for AggregateApproxCountDistinctFunction {
return Ok(());
}
+ // This is a hot path, to_values will alloc more memory(Vec::with_capacity).
if let Some(bitmap) = bitmap {
- for (i, value) in column.to_values().iter().enumerate() {
+ for i in 0..column.len() {
+ let value = &col... | feat(performance): improve aggregate_approx_count_distinct memory alloc when accumulate | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -58,7 +58,7 @@ from dataclasses import dataclass, field
from ament_index_python.packages import get_package_share_directory
from launch_param_builder import ParameterBuilder, load_yaml, load_xacro
-
+from launch_param_builder.utils import ParameterBuilderFileNotFoundError
moveit_configs_utils_path = Path(get_package... | feat: adds compatibility to robot_description from topic instead of parameter | null | ros-planning/moveit2 | BSD 3-Clause New or Revised License | Python |
@@ -6,3 +6,7 @@ protocol LayersComposer {
func attach(containers: [Container])
func attach(corePlugins: [UICorePlugin])
}
+
+protocol Layer {
+ func attach(plugin: UIPlugin)
+}
| feat: creates Layer protocol | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
import {
- Component,
+ Directive,
ElementRef,
EventEmitter,
NgZone,
@@ -13,17 +13,17 @@ import { Platform, toBoolean } from '@angular-mdc/web/common';
import { getTransformPropertyName } from '@material/menu-surface/util';
import { Corner, strings } from '@material/menu-surface/constants';
-import { MDCMenuSurfaceFoun... | feat(menu-surface): Convert mdcMenuSurfaceAnchor to directive | null | trimox/angular-mdc-web | MIT License | TypeScript |
@@ -30,6 +30,7 @@ type CreateOpts struct {
Labels []string
Assignees []string
MileStone int
+ MilestoneFlag string
CreateSourceBranch bool
RemoveSourceBranch bool
@@ -168,6 +169,13 @@ func NewCmdCreate(f *cmdutils.Factory) *cobra.Command {
}
}
+ if opts.MilestoneFlag != "" {
+ opts.MileStone, err = cmdutils.ParseMilest... | feat(commands/mr/create): add support for --milestone <title> | null | profclems/glab | MIT License | Go |
+import { render, screen } from "@testing-library/react";
+import userEvent from "@testing-library/user-event";
+import { Empty } from "google-protobuf/google/protobuf/empty_pb";
+
+import { service } from "../../../service";
+import wrapper from "../../../test/hookWrapper";
+import { MockedService } from "../../../tes... | feat: change password page tests | null | couchers-org/couchers | MIT License | TypeScript |
+package com.linkedin.gms.servlet;
+
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+// Return a 200 for health checks
+public class HealthCheck extends HttpServlet {
+ @Override
+ protected void doGet(HttpServletRequest req, Http... | feat(healthcheck): Add Healthcheck servlet for GMS | null | linkedin/datahub | Apache License 2.0 | Java |
@@ -222,6 +222,7 @@ public class ReactNativeSupport {
looper = Reflect.on(queue).call(METHOD_GET_LOOPER).get();
}
} catch (ReflectException e) {
+ Log.e(LOG_TAG, "Could not find looper queue: " + queueName, e.getCause());
return null;
}
return looper;
| feat(ux): log reflection errors from looper introspection | null | wix/detox | MIT License | Java |
@@ -130,20 +130,26 @@ class CyclicScheduler(object):
Number of batches per epoch.
min_lr, max_lr : {float, list}, optional
Learning rate bounds.
+ min_momentum, max_momentum : float, optional
+ Momentum bounds.
epochs_per_cycle : int, optional
Number of epochs per cycle. Defaults to 20.
allow_backtrack : bool, optional... | feat: add support for momentum bounds in CyclicScheduler | null | pyannote/pyannote-audio | MIT License | Python |
//////////////////////////////////////////////////////////////////////////
#if defined(_MSC_VER) && !defined(__clang__)
#define ACL_COMPILER_MSVC
+
+ #if _MSC_VER < 1900
+ #warning This version of visual studio isn't officially supported
+ #elif _MSC_VER == 1900
+ #define ACL_COMPILER_MSVC_2015
+ #elif _MSC_VER < 1920
... | feat(core): add msvc version macros for readability | null | nfrechette/acl | MIT License | C |
@@ -6,14 +6,23 @@ const {read} = deployments;
const args = process.argv.slice(2);
(async () => {
+ // Only for minting tokens through deposit method on Mumbai or Matic network
if (network.name !== 'matic' && network.name !== 'mumbai') {
throw new Error('only for matic/mumbai');
}
+ /*
+ Four arguments are required by t... | feat: added comments and fixed linting | null | thesandboxgame/sandbox-smart-contracts | MIT License | TypeScript |
@@ -266,80 +266,105 @@ class SpeechSegmentGenerator(object):
class SpeechTurnSubSegmentGenerator(SpeechSegmentGenerator):
- """Generate batch of pure speech turn sub-segments with associated
- speaker labels
+ """Generates batches of speech turn fixed-duration sub-segments
+
+ Usage
+ -----
+ >>> generator = SpeechTurn... | feat: randomize sub-segments | null | pyannote/pyannote-audio | MIT License | Python |
@@ -1676,9 +1676,6 @@ func (self *SGuest) PerformDetachdisk(ctx context.Context, userCred mcclient.Tok
if !attached {
return nil, nil
}
- if disk.DiskType == api.DISK_TYPE_SYS {
- return nil, httperrors.NewUnsupportOperationError("Cannot detach sys disk")
- }
detachDiskStatus, err := self.GetDriver().GetDetachDiskStatu... | feat(region): support detach disk with disk_type 'sys' | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -27,6 +27,7 @@ import org.springframework.test.web.servlet.result.MockMvcResultHandlers
import org.springframework.test.web.servlet.result.MockMvcResultMatchers
import org.springframework.test.web.servlet.setup.MockMvcBuilders
import org.springframework.test.web.servlet.setup.StandaloneMockMvcBuilder
+import org.spr... | feat: add support for non-file parts in the multipart requests | null | pact-foundation/pact-jvm | Apache License 2.0 | Kotlin |
@@ -147,6 +147,8 @@ struct Options
bool profile_decompression;
bool exhaustive_compression;
+ bool use_matrix_error_metric;
+
bool is_bind_pose_relative;
bool is_bind_pose_additive0;
bool is_bind_pose_additive1;
@@ -176,6 +178,7 @@ struct Options
, regression_testing(false)
, profile_decompression(false)
, exhaustive_c... | feat: add a switch to test the matrix error metric | null | nfrechette/acl | MIT License | C++ |
+# Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and Contributors
+# License: MIT. See LICENSE
+
+import frappe
+from frappe.desk.reportview import export_query
+from frappe.tests.utils import FrappeTestCase
+
+
+class TestReportview(FrappeTestCase):
+ def test_csv(self):
+ from csv import QUOTE_ALL, QUOTE_MINIMAL,... | feat: add test for exporting reportview as CSV | null | frappe/frappe | MIT License | Python |
@@ -176,13 +176,15 @@ func (h *Handler) showTable(ctx *context.Context, prefix string, params paramete
var content template2.HTML
content, actionJs = allActionBtns.Content()
- actionBtns = html.Div(
+ actionBtns = html.Div(html.Div(
html.A(icon.Icon(icon.EllipsisV),
html.M{"color": "#676565"},
- html.M{"class": "dropdo... | feat(admin): improve info table style | null | goadmingroup/go-admin | Apache License 2.0 | Go |
@@ -450,8 +450,10 @@ class AbstractDatabaseBuilder {
const table = this.getRelationTableFromOneToMany(oneToManyRelationship)
+ if (!this.hasColumn(table, field)) {
this.buildColumn(table, field);
}
+ }
private getRelationTableFromOneToMany(oneToMany: OneToManyRelationship) {
const annotations: any = parseAnnotations('d... | feat: prevent duplicate columns | null | aerogear/graphback | Apache License 2.0 | TypeScript |
@@ -58,7 +58,9 @@ const Tab = ({
</button>
</div>
<div
+ {...(isOpen ? {'aria-expanded': true} : {'aria-hidden': true})}
className={contentClassName}
+ role="tab"
style={{maxHeight: `${containerHeight}`}}
>
<div className={CONTENT_CLASS}>{children}</div>
| feat(components/molecule/accordion): improve component a11y by adding aria attributes | null | sui-components/sui-components | MIT License | JavaScript |
@@ -89,12 +89,16 @@ Status DBMetaImpl::add_group(GroupSchema& group_info) {
}
group_info.files_cnt = 0;
group_info.id = -1;
- try {
+
+ auto commited = ConnectorPtr->transaction([&] () mutable {
auto id = ConnectorPtr->insert(group_info);
- std::cout << "id=" << id << std::endl;
group_info.id = id;
- } catch(std::syste... | feat(db): fix insert group bug | null | milvus-io/milvus | Apache License 2.0 | C++ |
@@ -80,10 +80,12 @@ class SegmentDriver(BaseCraftDriver):
no need to self-assign it in your segmenter
"""
- def __init__(self, first_chunk_id: int = 0, random_chunk_id: bool = True, *args, **kwargs):
+ def __init__(
+ self, first_chunk_id: int = 0, random_chunk_id: bool = True, save_raw_bytes: bool = False, *args, **kw... | feat(crafters): add an option to save raw_bytes | null | jina-ai/jina | Apache License 2.0 | Python |
import org.jxmpp.stringprep.*;
import java.beans.*;
+import java.lang.reflect.*;
import java.util.*;
import static org.jivesoftware.smack.packet.StanzaError.Condition.*;
@@ -1051,14 +1052,45 @@ private void leave(String reason, EntityBareJid alternateAddress)
// if we are already disconnected
// leave maybe called from... | feat: Adds an option to force xmpp room leave | null | jitsi/jitsi | Apache License 2.0 | Java |
@@ -14,10 +14,9 @@ import { css } from "@emotion/react";
import { DarkSymbol } from "~/common/logo";
import { Link } from "~/components/core/Link";
import { ButtonPrimary, ButtonTertiary } from "~/components/system/components/Buttons";
-import { Match, Switch } from "~/components/utility/Switch";
import { Show } from "... | feat(ApplicationHeadder): only render UserActions when the user is authenticated | null | filecoin-project/slate | MIT License | JavaScript |
-<?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;
-
- /**
... | feat(tokens): remove Token class | null | flextype/flextype | MIT License | PHP |
@@ -6,7 +6,7 @@ public struct Account: Codable, Hashable {
public let publicKey: PublicKey
public let secretKey: Data
- private init(phrase: [String], publicKey: PublicKey, secretKey: Data) {
+ public init(phrase: [String], publicKey: PublicKey, secretKey: Data) {
self.phrase = phrase
self.publicKey = publicKey
self.se... | feat(model): make init of account public | null | p2p-org/solana-swift | MIT License | Swift |
+#!/usr/bin/env python3
+
+import sys
+import yaml
+
+# Indent list with PyYAML
+# From https://web.archive.org/web/20170903201521/https://pyyaml.org/ticket/64#comment:5
+class MyDumper(yaml.Dumper):
+
+ def increase_indent(self, flow=False, indentless=False):
+ return super(MyDumper, self).increase_indent(flow, False)... | feat: convert network_interfaces to inventory 1.3 | null | bluebanquise/bluebanquise | MIT License | Python |
@@ -1445,7 +1445,10 @@ pub mod cli {
/// The path of the document file
pub file: String,
- /// The pointer of the document to show e.g. `variables`
+ /// A pointer to the part of the document to show e.g. `variables`, `format.name`
+ ///
+ /// Some, usually large, document properties are only shown when specified with ... | feat(CLI): Allow `documents show` to show `content` and `root` | null | stencila/stencila | Apache License 2.0 | Rust |
@@ -285,6 +285,12 @@ impl<T: Clone> UseState<T> {
RefMut::map(slot, |rc| Rc::get_mut(rc).expect("the hard count to be 0"))
}
+
+ /// Convert this handle to a tuple of the value and the handle itself.
+ #[must_use]
+ pub fn split(&self) -> (&T, &Self) {
+ (&self.current_val, self)
+ }
}
impl<T: 'static> Clone for UseSta... | feat: add split method to use_state | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -18,7 +18,6 @@ package immutest
import (
"context"
- "errors"
"fmt"
"strconv"
"strings"
@@ -71,11 +70,6 @@ func Init(cmd *cobra.Command, o *c.Options) {
c.QuitToStdErr(err)
}
defer cl.disconnect(cmd, nil)
- serverAddress := cl.immuClient.GetOptions().Address
- if serverAddress != "127.0.0.1" && serverAddress != "loc... | feat(cmd/immutest): allow immutest to run on remote server | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -49,12 +49,21 @@ public interface AuthorizationService {
default User checkPermission(User user, List<Permission> requiredPermissions) {
requiredPermissions.forEach(requiredPermission -> {
if (!user.hasPermission(requiredPermission)) {
- throw new ForbiddenException("Operation not permitted. '%s' permission is requi... | feat(authz): extract forbidden exception helper method | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.