diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -49,6 +49,27 @@ public class GopayPaymentPresenter extends BasePaymentPresenter<GoPayPaymentView
});
}
+ private void startGoPayQrisPayment(String snapToken) {
+ getMidtransSDK().paymentUsingGoPayQris(snapToken, new TransactionCallback() {
+ @Override
+ public void onSuccess(TransactionResponse response) {
+ transac... | feat: create a new method startGoPayQrisPayment in GopayPaymentPresenter | null | veritrans/veritrans-android | MIT License | Java |
import { extend } from './utils'
import UIObject from './ui_object'
+import PlayerError from '../components/error'
/**
* An abstraction to represent a generic playback, it's like an interface to be implemented by subclasses.
@@ -86,6 +87,30 @@ export default class Playback extends UIObject {
*/
stop() {}
+ /**
+ * crea... | feat(playback): add method to create error with default playback data | null | clappr/clappr-core | BSD 3-Clause New or Revised License | JavaScript |
@@ -16,3 +16,19 @@ export const compare = (a: any, b: any): number => {
}
return a < b ? -1 : a > b ? 1 : 0;
};
+
+/**
+ * Numeric comparator (ascending order)
+ *
+ * @param a
+ * @param b
+ */
+export const compareNumAsc = (a: number, b: number) => a - b;
+
+/**
+ * Numeric comparator (descending order)
+ *
+ * @para... | feat(compare): add compareNumAsc/Desc numeric comparators | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
@@ -78,13 +78,15 @@ class TripletLoss(object):
Set `parallel` to 0 to not use background generators.
optimizer : {'sgd', 'rmsprop', 'adam'}
Defaults to 'rmsprop'.
+ learning_rate : float, optional
+ Defaults to 1e-2.
"""
def __init__(self, duration=3.2,
metric='cosine', margin=0.2, clamp='positive',
sampling='all', per... | feat: add "learning_rate" parameter | null | pyannote/pyannote-audio | MIT License | Python |
@@ -93,10 +93,6 @@ func (c *RestController) transformFunc(w http.ResponseWriter, req *http.Request)
}
func (c *RestController) callbackFunc(w http.ResponseWriter, req *http.Request) {
- if c.checkServiceLocked(w, req, container.DeviceServiceFrom(c.dic.Get).AdminState) {
- return
- }
-
defer req.Body.Close()
dec := json... | feat: remove AdminState check for callback api route | null | edgexfoundry/device-sdk-go | Apache License 2.0 | Go |
@@ -538,6 +538,7 @@ type MergeEvent struct {
} `json:"object_attributes"`
Repository *Repository `json:"repository"`
Assignee MergeAssignee `json:"assignee"`
+ Assignees []*MergeAssignee `json:"assignees"`
Labels []Label `json:"labels"`
Changes struct {
Assignees struct {
| feat(event_webhook_types): support `assignees` field | null | xanzy/go-gitlab | Apache License 2.0 | Go |
@@ -4,13 +4,15 @@ import (
"bytes"
"encoding/json"
"fmt"
- "github.com/jenkins-x/jx/pkg/cloud/gke"
"io/ioutil"
"net/http"
+ "os"
"regexp"
"strings"
"time"
+ "github.com/jenkins-x/jx/pkg/cloud/gke"
+
"github.com/cenkalti/backoff"
"github.com/jenkins-x/jx/pkg/log"
"github.com/pkg/errors"
@@ -39,6 +41,7 @@ func SetHTTPCli... | feat: passing user email temporarily on the subdomain call | null | jenkins-x/jx | Apache License 2.0 | Go |
@@ -28,6 +28,7 @@ import com.ibm.watson.developer_cloud.language_translator.v2.model.TranslationMo
import com.ibm.watson.developer_cloud.language_translator.v2.model.TranslationModels;
import com.ibm.watson.developer_cloud.language_translator.v2.model.TranslationResult;
import com.ibm.watson.developer_cloud.service.Wat... | feat(language-translator): Add manual tweaks | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -120,7 +120,7 @@ if (! function_exists('redirect')) {
function redirect(string $routeName, array $data = [], array $queryParams = []): Response
{
$response = new Response();
- $response->withHeader('Location', urlFor($routeName, $data, $queryParams));
+ $response = $response->withHeader('Location', urlFor($routeName... | feat(helpers): update `redirect` urls helpers | null | flextype/flextype | MIT License | PHP |
@@ -82,9 +82,9 @@ class WebpackAppPlusPlugin {
done('Build complete. FILES:' + JSON.stringify(changedFiles))
}
} else {
- if (!stats.hasErrors()) {
+ // if (!stats.hasErrors()) {
!process.env.UNI_AUTOMATOR_WS_ENDPOINT && done('Build complete. Watching for changes...')
- };
+ // };
}
isFirst = false
} else {
| feat(app): revert | null | dcloudio/uni-app | Apache License 2.0 | JavaScript |
@@ -5,6 +5,7 @@ goog.require('ol.ViewHint');
goog.require('ol.control.MousePosition');
goog.require('ol.coordinate');
goog.require('os.bearing');
+goog.require('os.config.DisplaySettings');
goog.require('os.config.Settings');
goog.require('os.geo');
goog.require('os.ui.location');
@@ -133,12 +134,10 @@ os.ol.control.Mo... | feat(elevation): only show mouse cursor elevation if terrain enabled | null | ngageoint/opensphere | Apache License 2.0 | JavaScript |
@@ -66,6 +66,7 @@ type args struct {
Command *string
PrintTransient *bool
Plain *bool
+ CachePath *bool
}
func main() {
@@ -170,6 +171,10 @@ func main() {
"plain",
false,
"Print a plain prompt without ANSI"),
+ CachePath: flag.Bool(
+ "cache-path",
+ false,
+ "Print the location of the cache"),
}
flag.Parse()
if *args.... | feat(cli): print cache path | null | jandedobbeleer/oh-my-posh | MIT License | Go |
@@ -659,6 +659,18 @@ impl Row {
})
}
+ /// Will copy value at index `index` if it was not taken by `Row::take` earlier,
+ /// then will convert it to `T`. Returns `None` if the value was taken taken by
+ /// `Row::take` or was not able to be converted to `T`.
+ pub fn get_opt<T, I>(&mut self, index: I) -> Option<T>
+ w... | feat: add get_opt and take_opt to row | null | blackbeam/rust-mysql-simple | Apache License 2.0 | Rust |
@@ -423,7 +423,7 @@ App::post('/v1/execution')
$errNo = -1;
$executorResponse = '';
- $timeout = $timeout ?? (int) App::getEnv('_APP_FUNCTIONS_TIMEOUT', 900);
+ $timeout ??= (int) App::getEnv('_APP_FUNCTIONS_TIMEOUT', 900);
$ch = \curl_init();
$body = \json_encode([
| feat: use shorter syntax | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -38,6 +38,7 @@ use thiserror::Error;
use tokio::{
fs::File,
io::{AsyncSeekExt, AsyncWriteExt},
+ sync::Semaphore,
};
/// Errors returned during a Parquet "put" operation, covering [`RecordBatch`]
@@ -97,8 +98,28 @@ pub enum ReadError {
/// [`ObjectStore`]: object_store::ObjectStore
#[derive(Debug, Clone)]
pub struct... | feat: limit tmp parquet file count and size | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
#include "modules/pulseaudio.hpp"
+
#include "adapters/pulseaudio.hpp"
#include "drawtypes/label.hpp"
#include "drawtypes/progressbar.hpp"
#include "drawtypes/ramp.hpp"
-#include "utils/math.hpp"
-
#include "modules/meta/base.inl"
-
#include "settings.hpp"
+#include "utils/math.hpp"
POLYBAR_NS
namespace modules {
templ... | feat(pulse): Add click-(middle|right) keys | null | polybar/polybar | MIT License | C++ |
@@ -18,7 +18,9 @@ package com.b2international.snowowl.core.identity;
import static com.google.common.base.Preconditions.checkArgument;
import java.io.Serializable;
+import java.util.Collections;
import java.util.List;
+import java.util.Map;
import java.util.Objects;
import com.b2international.commons.collections.Collec... | feat(authz): support authorization context on User objects | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -254,7 +254,7 @@ class Entries
*
* @access public
*/
- public function create(string $id, array $data): bool
+ public function create(string $id, array $data = []): bool
{
// Store data
$this->storage['create']['id'] = $id;
| feat(entries): add ability to create entry with empty data array | null | flextype/flextype | MIT License | PHP |
@@ -42,6 +42,7 @@ const MoleculeAvatar = forwardRef(
fallbackIcon,
style,
isLoading,
+ imageProps = {},
children: childrenProp,
...others
},
@@ -65,7 +66,12 @@ const MoleculeAvatar = forwardRef(
return (
<>
{src ? (
- <AtomImage src={src} alt={name} errorIcon={fallback} />
+ <AtomImage
+ src={src}
+ alt={name}
+ errorI... | feat(components/molecule/avatar): add imageProps to pass directly to AtomImage | null | sui-components/sui-components | MIT License | JavaScript |
-var _ = require('lodash');
+const _ = require('lodash');
+const logger = require('pelias-logger').get('api');
+const Debug = require('../helper/debug');
+const debugLog = new Debug('middleware:trimByGranularity');
// This middleware component trims the results array by granularity when
// FallbackQuery was used. Fallb... | feat(trimByGranularity): refactor code to add logging and debug output, modify loop to break after first match | null | pelias/api | MIT License | JavaScript |
@@ -170,6 +170,7 @@ public class ObjectDiffer {
depth += 1; // Depth could be read from breadcrumb length
breadcrumbs.push(classToCompare);
if (depth > MAX_RECURSION_DEPTH) {
+ difference("Max recursion depth exceeded."); // Print comparison stack to allow debugging
throw new RuntimeException("Max recursion depth excee... | feat(ObjectDiffer): detailed stack when max recursion depth exceeded | null | conveyal/r5 | MIT License | Java |
@@ -4,6 +4,7 @@ import {isSanityDocument, SchemaType} from '@sanity/types'
import {Card, Text} from '@sanity/ui'
import schema from 'part:@sanity/base/schema'
import {SanityDefaultPreview} from 'part:@sanity/base/preview'
+import styled from 'styled-components'
import {getIconWithFallback} from '../../utils/getIconWith... | feat(desk-tool): update `PaneItem` so that `TextWithTone` inherits correct color | null | sanity-io/sanity | MIT License | TypeScript |
@@ -59,6 +59,9 @@ pub struct CompactorHandlerImpl {
/// Runner to check for compaction work and kick it off
runner_handle: SharedJoinHandle,
+
+ /// Executor, required for clean shutdown.
+ exec: Arc<Executor>,
}
impl CompactorHandlerImpl {
@@ -76,7 +79,7 @@ impl CompactorHandlerImpl {
sequencers,
catalog,
store,
- exe... | feat: ensure clean compactor executor shutdown | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -13,6 +13,7 @@ import com.chesire.lifecyklelog.LogLifecykle
import com.chesire.malime.R
import com.chesire.malime.core.flags.AsyncState
import com.chesire.malime.flow.ViewModelFactory
+import com.chesire.malime.flow.series.list.SheetController
import com.google.android.material.snackbar.Snackbar
import dagger.androi... | feat: close the bottom sheet after delete | null | chesire/nekome | Apache License 2.0 | Kotlin |
@@ -238,13 +238,20 @@ export default class RefreshScheme extends LocalScheme {
async mounted () {
if (this.options.tokenRequired) {
const token = this.$auth.syncToken(this.name)
+ const refreshToken = this._syncRefreshToken()
this._setToken(token)
- this._syncRefreshToken()
- this._syncRefreshTokenExpiration()
+
+ if (... | feat(refresh scheme): add property autoLogout to logout on mount if token has expired | null | nuxt-community/auth-module | MIT License | JavaScript |
@@ -417,7 +417,8 @@ class KafkaSource(StatefulIngestionSourceBase):
configs: Dict[
ConfigResource, concurrent.futures.Future
] = self.admin_client.describe_configs(
- resources=[ConfigResource(ResourceType.TOPIC, t) for t in topics]
+ resources=[ConfigResource(ResourceType.TOPIC, t) for t in topics],
+ request_timeout=... | feat(ingest): pass timeout config in kafka admin client api calls | null | linkedin/datahub | Apache License 2.0 | Python |
@@ -407,6 +407,7 @@ extension SolanaAPIClient {
private func get<Entity: Decodable>(method: String, params: [Encodable]) async throws -> Entity {
let req = RequestEncoder.RequestType(method: method, params: params)
+ try Task.checkCancellation()
let response: AnyResponse<Entity> = try await request(with: req)
guard let... | feat: add check cancellation | null | p2p-org/solana-swift | MIT License | Swift |
@@ -217,6 +217,8 @@ def activation_factory(activation_type):
return F.relu
elif activation_type == "TANH":
return torch.tanh
+ elif activation_type == "ELU":
+ return nn.ELU()
else:
raise ValueError("Unknown activation_type: {}".format(activation_type))
| feat(activations functions): add ELU | null | rlberry-py/rlberry | MIT License | Python |
@@ -212,9 +212,8 @@ final class DcsDepgraph implements Dependencies {
} catch (final IOException | IllegalStateException ex) {
throw new IllegalStateException(
String.format(
- "Exception happens during reading the dependencies from json file %s. %s",
- this.file,
- "Probably file is absent or you have a wrong json for... | feat(#934): don't wrap exception description | null | cqfn/eo | MIT License | Java |
@@ -45,6 +45,7 @@ public class UserOperationLogEntryDto {
protected String orgValue;
protected String newValue;
protected Date removalTime;
+ protected String rootProcessInstanceId;
public static UserOperationLogEntryDto map(UserOperationLogEntry entry) {
UserOperationLogEntryDto dto = new UserOperationLogEntryDto();
@... | feat(rest): expose root process instance id for user operation log | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -9,7 +9,19 @@ import * as path from "path";
export class AndroidToolsInfo implements NativeScriptDoctor.IAndroidToolsInfo {
private static ANDROID_TARGET_PREFIX = "android";
- private static SUPPORTED_TARGETS = ["android-17", "android-18", "android-19", "android-21", "android-22", "android-23", "android-24", "androi... | feat: allow using android-28 SDK for building apps: | null | nativescript/nativescript-cli | Apache License 2.0 | TypeScript |
@@ -16,6 +16,12 @@ export default function HTML(props) {
/>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="docsearch:version" content={version} />
+ <meta name="twitter:card" content="summary" />
+ <meta name="twitter:site" content="@OasisEngine" />
+ <meta property... | feat: add open graph protol tag | null | oasis-engine/oasis-engine.github.io | MIT License | JavaScript |
*/
package com.b2international.snowowl.internal.eventbus.netty;
+import static com.google.common.collect.Maps.newHashMap;
+
import java.io.IOException;
+import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -76,10 +79,29 @@ public class EventBusNettyHandler extends SimpleChannelInboundHandle... | feat(eventbus): Add channel ID to messages received over a channel | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -13,6 +13,8 @@ class BelongsToSelect extends Select
{
protected string | Closure | null $displayColumnName = null;
+ protected ?Closure $getOptionLabelFromRecordUsing = null;
+
protected bool | Closure $isPreloaded = false;
protected string | Closure | null $relationship = null;
@@ -63,12 +65,16 @@ class BelongsToSe... | feat: Allow customisation for BelongsToSelect option labels | null | laravel-filament/filament | MIT License | PHP |
@@ -2,6 +2,7 @@ package install
import (
"fmt"
+ "reflect"
log "github.com/sirupsen/logrus"
corev1 "k8s.io/api/core/v1"
@@ -170,9 +171,27 @@ func (i *StrategyDeploymentInstaller) checkForOwnedDeployments(owner metav1.Obje
if err != nil {
return false, fmt.Errorf("query for existing deployments failed: %s", err)
}
+ // ... | feat(install/deployment): check deployments installed by name/spec | null | operator-framework/operator-lifecycle-manager | Apache License 2.0 | Go |
@@ -27,7 +27,7 @@ use object_store::{
};
use observability_deps::tracing::warn;
use snafu::{ensure, ResultExt, Snafu};
-use std::{collections::BTreeMap, io, sync::Arc};
+use std::{collections::BTreeMap, fmt, io, str::FromStr, sync::Arc};
use tokio::sync::mpsc::channel;
use tokio_stream::wrappers::ReceiverStream;
@@ -66... | feat: Introduce a public GenerationId wrapper type | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -51,6 +51,16 @@ parsers()->shortcodes()->addHandler('getAbsoluteUrl', static function () {
return getAbsoluteUrl();
});
+// Shortcode: getProjectUrl
+// Usage: (getProjectUrl)
+parsers()->shortcodes()->addHandler('getProjectUrl', static function () {
+ if (! registry()->get('flextype.settings.parsers.shortcodes.shor... | feat(shortcodes): add `getProjectUrl` shortcode | null | flextype/flextype | MIT License | PHP |
@@ -10,5 +10,9 @@ enum class ClapprOption(val value: String) {
/**
* Media start position
*/
- START_AT("startAt")
+ START_AT("startAt"),
+ /**
+ * Poster URL
+ */
+ POSTER("poster")
}
\ No newline at end of file
| feat(poster): add player option to set a poster url | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
package org.burningokr.service.okrUnit.departmentservices;
-import java.util.Collection;
-import java.util.UUID;
import org.burningokr.model.activity.Action;
import org.burningokr.model.configuration.Configuration;
import org.burningokr.model.configuration.ConfigurationName;
-import org.burningokr.model.okr.TaskBoard;
... | feat(task board): create a task board for new okr departments | null | burningokr/burningokr | Apache License 2.0 | Java |
@@ -81,7 +81,7 @@ func EnsureDirectoryExists(path string) error {
return os.MkdirAll(path, 0700)
}
if !info.IsDir() {
- return errors.New("path exists but is not a directory")
+ return errors.Errorf("path %s exists but is not a directory", path)
}
return nil
}
| feat: in error message of directory helper, include the directory | null | privacybydesign/irmago | Apache License 2.0 | Go |
@@ -10,6 +10,7 @@ import android.view.View
import com.google.android.exoplayer2.*
import com.google.android.exoplayer2.C.*
import com.google.android.exoplayer2.DefaultLoadControl.DEFAULT_MIN_BUFFER_MS
+import com.google.android.exoplayer2.DefaultRenderersFactory.*
import com.google.android.exoplayer2.Player.*
import co... | feat: replace deprecated api call to DefaultRenderersFactory constructor | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -42,6 +42,8 @@ public class CreateCollectionOptions extends GenericModel {
String KO = "ko";
/** pt. */
String PT = "pt";
+ /** nl. */
+ String NL = "nl";
}
private String environmentId;
| feat(Discovery): Add NL language constant to CreateCollectionOptions | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
import AVFoundation
-open class AVFoundationPlayback: Playback {
+open class AVFoundationPlayback: Playback, AVPlayerItemInfoDelegate {
open class override var name: String { "AVPlayback" }
private static let mimeTypes = [
@@ -19,6 +19,8 @@ open class AVFoundationPlayback: Playback {
}
}
}
+
+ var itemInfo: AVPlayerIte... | feat: use AVPlayerItemInfo inside AVFoundationPlayback | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -4,9 +4,13 @@ import App from "./components/App";
import "./css/styles.scss";
-type Props = {};
+type Props = {
+ width?: number;
+ height?: number;
+};
const Excalidraw = (props: Props) => {
+ const { width, height } = props;
useEffect(() => {
const handleTouchMove = (event: TouchEvent) => {
// @ts-ignore
@@ -23,6 ... | feat(excalidraw_wrapper): add width,height props | null | excalidraw/excalidraw-embed | MIT License | TypeScript |
@@ -452,10 +452,7 @@ bool SCCDAGAttrs::checkIfReducible (SCC *scc, LoopInfoSummary &LIS) {
auto &sccInfo = this->getSCCAttrs(scc);
/*
- * Requirement: Data flow: no data dependent SCCs,
- * no memory dependencies, single data backedge
- * Requirement: Control flow is intra-iteration,
- * flow (conditions) determined ex... | feat: sccdag attrs: allow subloop reducible cycles in reducible SCC | null | arcana-lab/noelle | MIT License | C++ |
@@ -90,7 +90,7 @@ impl FromStr for Network {
"localnet" => Ok(LocalNet),
"igor" => Ok(Igor),
"dibbler" => Ok(Dibbler),
- "esmeralda" => Ok(Esmeralda),
+ "esmeralda" | "esme" => Ok(Esmeralda),
invalid => Err(ConfigurationError::new(
"network",
Some(value.to_string()),
@@ -164,24 +164,16 @@ mod test {
#[test]
fn network_... | feat: accept 'esme' as network name on cli | null | tari-project/tari | BSD 3-Clause New or Revised License | Rust |
@@ -11,6 +11,7 @@ namespace Flextype;
use Twig_Extension;
use Twig_SimpleFunction;
+use Twig_SimpleFilter;
class JsonTwigExtension extends Twig_Extension
{
@@ -40,6 +41,19 @@ class JsonTwigExtension extends Twig_Extension
];
}
+ /**
+ * Returns a list of filters to add to the existing list.
+ *
+ * @return array
+ */
+... | feat(core): add json_encode and json_decode twig filter | null | flextype/flextype | MIT License | PHP |
@@ -50,7 +50,7 @@ use near_vm_logic::mocks::mock_external::Receipt;
/// VMConfig::default(),
/// RuntimeFeesConfig::default(),
/// HashMap::default(),
-/// Vec::default()
+/// Vec::default(),
/// );
/// # }
/// ```
@@ -67,7 +67,7 @@ use near_vm_logic::mocks::mock_external::Receipt;
/// [`HashMap`]: std::collections::Ha... | feat: allow trailing comma on testing_env usage | null | near/near-sdk-rs | Apache License 2.0 | Rust |
@@ -19,6 +19,9 @@ export const NATIONAL_REGISTRY_CHILDREN = gql`
parent2
nameParent2
fate
+ religion
+ homeAddress
+ nationality
}
}
`
| feat(service-portal): Update children info | null | island-is/island.is | MIT License | TypeScript |
@@ -2,6 +2,7 @@ import 'package:auto_size_text/auto_size_text.dart';
import 'package:barcode_widget/barcode_widget.dart';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
+import 'package:flutter_svg/flutter_svg.dart';
import 'package:openfoodfacts/openfoodfacts.dart... | feat: - added icons for ingredients and nutrition in edit product page | null | openfoodfacts/smooth-app | Apache License 2.0 | Dart |
@@ -3,6 +3,7 @@ import React, { useEffect, useState } from 'react';
import moment from 'moment';
import { Tag } from 'antd';
import Icon from '@/components/icons';
+import get from 'lodash/get';
const InterfaceTypes = new Map<string, any>();
@@ -111,6 +112,18 @@ export function DataSourceField(props: any) {
)
}
+export... | feat: add relation field component for table and detail | null | nocobase/nocobase | Apache License 2.0 | TypeScript |
package me.melijn.melijnbot.commands.utility
+import com.sksamuel.scrimage.color.RGBColor
import me.melijn.melijnbot.internals.command.AbstractCommand
import me.melijn.melijnbot.internals.command.CommandCategory
import me.melijn.melijnbot.internals.command.ICommandContext
@@ -34,15 +35,26 @@ class ColorCommand : Abstra... | feat: more color transformations | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -77,7 +77,7 @@ import { convertToBoolProperty } from '../helpers';
<li (click)="$event.preventDefault(); selectTab(tab)"
[routerLink]="tab.route"
routerLinkActive="active"
- [routerLinkActiveOptions]="{ exact: true }"
+ [routerLinkActiveOptions]="activeLinkOptions"
[class.responsive]="tab.responsive"
tabindex="0"
cl... | feat(route-tabset): configurable routerLinkActiveOptions | null | akveo/nebular | MIT License | TypeScript |
@@ -41,6 +41,7 @@ import com.intellij.openapi.projectRoots.Sdk;
import com.intellij.openapi.ui.MessageDialogBuilder;
import com.intellij.openapi.ui.Messages;
import com.intellij.openapi.util.Ref;
+import com.intellij.openapi.util.registry.Registry;
import com.intellij.util.ModalityUiUtil;
import java.io.File;
import ja... | feat: add flag for disable modify android sdk path in local.properties | null | jetbrains/android | Apache License 2.0 | Java |
@@ -92,7 +92,6 @@ mixin RenderBoxContainerDefaultsMixin<ChildType extends RenderBox,
bool defaultHitTestChildren(BoxHitTestResult result, {Offset? position}) {
// The x, y parameters have the top left of the node's box as the origin.
- if (this is RenderLayoutBox) {
// The z-index needs to be sorted, and higher-level n... | feat: delete original logic | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -43,6 +43,10 @@ CombineDatetime = ImportMapper(
}
)
+DateFormat = ImportMapper({
+ db_type_is.MARIADB: CustomFunction("DATE_FORMAT", ["date", "format"]),
+ db_type_is.POSTGRES: ToChar,
+})
class Cast_(Function):
def __init__(self, value, as_type, alias=None):
| feat(minor): Add DateFormat function util for qb | null | frappe/frappe | MIT License | Python |
package org.cloudfoundry.credhub.config;
+import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
import org.flywaydb.core.Flyway;
import org.flywaydb.core.api.FlywayException;
import org.jetbrains.annotations.NotNull;
@@ -10,19 +12,47 @@ import org.springframework.context.annotation.Config... | feat: add logging | null | cloudfoundry-incubator/credhub | Apache License 2.0 | Java |
@@ -213,7 +213,7 @@ func (i *RecipeInstaller) install(ctx context.Context) error {
i.status.RecipesSelected(filteredRecipes)
dependencies := resolveDependencies(filteredRecipes, recipesForPlatform)
- recipesToInstall := append(dependencies, filteredRecipes...)
+ recipesToInstall := addIfMissing(filteredRecipes, depende... | feat(install): ensure dependency dont add dup | null | newrelic/newrelic-cli | Apache License 2.0 | Go |
@@ -94,7 +94,12 @@ namespace Cicada {
std::unique_lock<std::mutex> uMutex(mMutex);
auto item = mResolve.find(host);
if (item != mResolve.end()) {
+
+ if(ip.empty()) {
+ (*item).second.clear();
+ } else {
(*item).second.erase(ip);
+ }
if ((*item).second.empty()) {
mResolve.erase(item);
| feat: clear all ips under the host when remove ip is empty | null | alibaba/cicadaplayer | MIT License | C++ |
@@ -113,6 +113,7 @@ def drive(cfg, model_path=None, use_joystick=False, model_type=None, camera_type
from donkeycar.parts.dgym import DonkeyGymEnv
inputs = []
+ outputs = []
threaded = True
if cfg.DONKEY_GYM:
from donkeycar.parts.dgym import DonkeyGymEnv
@@ -120,6 +121,7 @@ def drive(cfg, model_path=None, use_joystick=... | feat: PR2 with CI issue cleared for position, gyro, accel, vel of simulator car in tub files | null | autorope/donkeycar | MIT License | Python |
@@ -884,14 +884,28 @@ class PanoramaConnector(BaseConnector):
action_result = self.add_action_result(ActionResult(dict(param)))
+ status = self._get_panorama_version(action_result)
+ if phantom.is_fail(status):
+ error_msg = PAN_ERR_MSG.format("blocking url", action_result.get_message())
+ return action_result.set_stat... | feat: UnblockUrl should support version 9 and above | null | phantomcyber/phantom-apps | Apache License 2.0 | Python |
@@ -24,7 +24,6 @@ open class AVFoundationPlayback: Playback {
private var isStopped = false
private var timeObserver: Any?
private var asset: AVURLAsset?
- private var audioSessionCategoryBackup: AVAudioSession.Category?
private var canTriggerWillPause = true
private(set) var loopObserver: NSKeyValueObservation?
privat... | feat: remove unecessary audio session backup | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
use std::sync::Arc;
+use common_base::base::tokio::sync::Semaphore;
+use common_base::base::Runtime;
use common_datablocks::DataBlock;
use common_datavalues::prelude::*;
+use common_exception::ErrorCode;
use common_exception::Result;
+use common_fuse_meta::meta::Location;
+use common_fuse_meta::meta::SegmentInfo;
use c... | feat: make get segments parallel for get blocks | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -3,7 +3,6 @@ using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Reflection;
-using System.Runtime.CompilerServices;
using System.Xml.Linq;
// ReSharper disable MemberCanBePrivate.Global
| feat: improve error reporting from matchers which throw exceptions | null | fluffynuts/peanutbutter | BSD 3-Clause New or Revised License | C# |
@@ -4,6 +4,8 @@ import matplotlib.pyplot as plt
import pandas as pd
import seaborn as sns
import rlberry.seeding as seeding
+from itertools import cycle
+
logger = logging.getLogger(__name__)
@@ -104,6 +106,10 @@ def plot_episode_rewards(agent_stats,
if plot_regret and max_value is None:
raise ValueError("max_value mus... | feat(stats): plots now loop through line styles | null | rlberry-py/rlberry | MIT License | Python |
@@ -41,7 +41,7 @@ class FrontmatterParser
public static function encode($input) : string
{
- if ($input['content']) {
+ if (isset($input['content'])) {
$content = $input['content'];
Arr::delete($input, 'content');
$matter = YamlParser::encode($input);
| feat(core): update FrontmatterParser encode method | null | flextype/flextype | MIT License | PHP |
+<?php
+
+declare(strict_types=1);
+
+use Flextype\Foundation\Flextype;
+use Atomastic\Strings\Strings;
+
+beforeEach(function() {
+ filesystem()->directory(PATH['project'] . '/entries')->create();
+});
+
+afterEach(function (): void {
+ filesystem()->directory(PATH['project'] . '/entries')->delete();
+});
+
+test('tes... | feat(tests): add tests for Flextype | null | flextype/flextype | MIT License | PHP |
@@ -7,48 +7,94 @@ use std::path::PathBuf;
#[wiggle::async_trait]
pub trait WasiDir: Send + Sync {
fn as_any(&self) -> &dyn Any;
+
async fn open_file(
&self,
- symlink_follow: bool,
- path: &str,
- oflags: OFlags,
- read: bool,
- write: bool,
- fdflags: FdFlags,
- ) -> Result<Box<dyn WasiFile>, Error>;
- async fn open_d... | feat: provide default methods for WasiDir | null | bytecodealliance/wasmtime | Apache License 2.0 | Rust |
import pyblish.api
import nuke
+
+@pyblish.api.log
class CollectBackdrops(pyblish.api.InstancePlugin):
- """Collect Backdrop instance from rendered frames
+ """Collect Backdrop node instance and its content
"""
- order = pyblish.api.CollectorOrder + 0.3
+ order = pyblish.api.CollectorOrder + 0.22
label = "Collect Backd... | feat(nuke): adding label to collect backdrop | null | pypeclub/openpype | MIT License | Python |
@@ -14,4 +14,8 @@ test('[entries-fetch] shortcode', function () {
$this->assertTrue(entries()->create('foo', ['title' => 'Foo']));
$this->assertEquals('Foo', parsers()->shortcodes()->parse('[entries-fetch id="foo" field="title"]'));
$this->assertEquals('Bar', parsers()->shortcodes()->parse('[entries-fetch id="foo" fiel... | feat(tests): update tests [entries] shortcode | null | flextype/flextype | MIT License | PHP |
@@ -164,14 +164,15 @@ namespace acl
// will be used instead of the track index. This allows custom reordering for things
// like LOD sorting or skeleton remapping. A value of 'k_invalid_track_index' will strip the track
// from the compressed data stream. Output indices must be unique and contiguous.
- uint32_t output_... | feat(compression): add default values | null | nfrechette/acl | MIT License | C |
@@ -45,41 +45,53 @@ class ShortTermStandardization(object):
super(ShortTermStandardization, self).__init__()
self.duration = duration
- def __call__(self, features):
+ def __call__(self, features, sliding_window=None):
"""Apply short-term standardization
Parameters
----------
- features : SlidingWindowFeature
+ feature... | feat: add support for ndarray in ShortTermStandardization | null | pyannote/pyannote-audio | MIT License | Python |
@@ -84,7 +84,7 @@ public class TrustRelationshipInventoryAction implements Serializable {
public String search() {
try {
if (searchPattern == null || searchPattern.isEmpty()) {
- this.trustedSpList = trustService.getAllSAMLTrustRelationships(100);
+ this.trustedSpList = trustService.getAllTrustRelationships();
} else {... | feat(oxtrust): display more than 100+ records | null | gluufederation/oxtrust | MIT License | Java |
@@ -38,12 +38,9 @@ run(client *client, u64_snowflake_t channel_id, u64_snowflake_t author_id)
ja_u64 **list = NULL;
int count = 0;
for (int i = 0; messages[i]; i++) {
- if (messages[i]->author->id == author_id) {
+ if (messages[i]->author->id == author_id)
count ++;
}
- else
- messages[i]->id = 0;
- }
list = (NTL_T(ja_... | feat: delete one or more messages of an author | null | cee-studio/orca | MIT License | C++ |
@@ -13,7 +13,8 @@ use log::*;
const CONTENT_TYPE_HEADER: &str = "Content-Type";
-fn process_array(array: &[Value], matching_rules: &mut Category, generators: &mut Generators, path: &str, type_matcher: bool) -> Value {
+/// Process an array with embedded matching rules and generators
+pub fn process_array(array: &[Value... | feat: make body processing functions public so other language impl can use them | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -106,6 +106,7 @@ final class ParseMojoTest {
@Test
void testCrashOnInvalidSyntax(@TempDir final Path temp) {
+ MatcherAssert.assertThat(
Assertions.assertThrows(
IllegalStateException.class,
() -> new FakeMaven(temp)
@@ -113,31 +114,8 @@ final class ParseMojoTest {
.withEoForeign()
.withDefaults()
.execute(ParseMojo... | feat(#1479): remove redundant test | null | cqfn/eo | MIT License | Java |
@@ -58,6 +58,14 @@ public class LobbyTest
{
ensureTwoParticipants();
+ enableLobby();
+ }
+
+ /**
+ * This requires at least two participants in the room.
+ */
+ private void enableLobby()
+ {
WebParticipant participant1 = getParticipant1();
// we set the name so we can check it on the notifications
@@ -385,4 +393,27 @... | feat: Adds one more lobby test case | null | jitsi/jitsi-meet-torture | Apache License 2.0 | Java |
@@ -22,7 +22,8 @@ export const propDefs = {
const getClassName = props =>
classNames({
[props.css['ps-icon']]: true,
- [props.css['ps-icon--' + props.size]]: props.size
+ [props.css['ps-icon--' + props.size]]: props.size,
+ [props.className]: props.className
})
const Icon = props =>
| feat(icon): allow overriding className | null | pluralsight/design-system | Apache License 2.0 | JavaScript |
@@ -104,7 +104,7 @@ const StyledExpandedRowContent = styled.div`
const TableCard = ({
id,
title,
- content: { columns, showHeader, expandedRows, sort },
+ content: { columns = [], showHeader, expandedRows, sort },
size,
onCardAction,
values: data,
@@ -295,10 +295,14 @@ const TableCard = ({
},
filters: [],
table: {
+ ..... | feat(tablecard): support editable state with no columns or values | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | JavaScript |
@@ -187,6 +187,81 @@ impl RLE {
dst
}
+ // The set of row ids for each distinct value in the column.
+ pub fn group_row_ids(&self) -> &BTreeMap<u32, Bitmap> {
+ &self.index_row_ids
+ }
+
+ //
+ //
+ // ---- Methods for getting materialised values.
+ //
+ //
+
+ pub fn dictionary(&self) -> &[Option<String>] {
+ &self.in... | feat: add support materialising values | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -2,12 +2,14 @@ package usermanagement
import (
"context"
+ "errors"
"log"
"os"
"strings"
"time"
self_deployer "github.com/litmuschaos/litmus/litmus-portal/backend/graphql-server/pkg/self-deployer"
+ "go.mongodb.org/mongo-driver/mongo"
"github.com/google/uuid"
"github.com/litmuschaos/litmus/litmus-portal/backend/grap... | feat(litmus-portal): fixing bug in user creation | null | litmuschaos/litmus | Apache License 2.0 | Go |
package main
import (
- "errors"
+ "bufio"
+ "bytes"
"fmt"
"io/ioutil"
"log"
@@ -138,17 +139,34 @@ func (env *environment) getPlatform() string {
}
func (env *environment) runCommand(command string, args ...string) (string, error) {
- out, err := exec.Command(command, args...).Output()
-
- var exerr *exec.ExitError
- i... | feat: faster command time | null | jandedobbeleer/oh-my-posh | MIT License | Go |
@@ -72,7 +72,11 @@ class TicketsFragment : Fragment() {
})
ticketsViewModel.progressTickets.observe(this, Observer {
- it?.let { Utils.showProgressBar(rootView.progressBarTicket, it) }
+ it?.let {
+ Utils.showProgressBar(rootView.progressBarTicket, it)
+ rootView.ticketTableHeader.visibility = if (it) View.GONE else Vi... | feat: dont show ticket header and register while loading | null | fossasia/open-event-attendee-android | Apache License 2.0 | Kotlin |
/* Keyboard Left Shift */
#define LEFT_SHIFT (HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_LEFTSHIFT))
+#define LSHIFT (LEFT_SHIFT)
#define LSHFT (LEFT_SHIFT)
#define LSFT (LEFT_SHIFT) // WARNING: DEPRECATED (DO NOT USE)
/* Keyboard Right Shift */
#define RIGHT_SHIFT (HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_... | feat(keys): Add LSHIFT and RSHIFT aliases | null | zmkfirmware/zmk | MIT License | C |
@@ -53,6 +53,10 @@ func (p HeaderPrinter) WithFullWidth(b ...bool) *HeaderPrinter {
// Sprint formats using the default formats for its operands and returns the resulting string.
// Spaces are added between operands when neither is a string.
func (p HeaderPrinter) Sprint(a ...interface{}) string {
+ if RawOutput {
+ re... | feat(headerprinter): add raw output mode | null | pterm/pterm | MIT License | Go |
@@ -10,6 +10,7 @@ use object_store::{
path::{parsed::DirsAndFileName, Path},
ObjectStore, ObjectStoreApi,
};
+use observability_deps::tracing::error;
use parquet::file::metadata::ParquetMetaData;
use snafu::{ResultExt, Snafu};
use uuid::Uuid;
@@ -77,19 +78,33 @@ pub type Result<T, E = Error> = std::result::Result<T, E>... | feat: add a flag to ignore metadata errors during catalog rebuild | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
+package com.codingame.gameengine.core;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Scanner;
+
+import com.google.inject.Singleton;
+
+@Singleton
+public class SoloGameManager<T extends AbstractPlayer> extends GameManager<T>{
+
+ private List<String> testCase = new ArrayList<>();
+
+ @Overr... | feat(sdk): create SoloGameManager | null | codingame/codingame-game-engine | MIT License | Java |
@@ -215,7 +215,7 @@ pub fn impl_procedure_step(item_impl: ItemImpl) -> proc_macro2::TokenStream {
fn generate_fn_body(segment: &PathSegment, has_input: bool, returns_data: bool) -> proc_macro2::TokenStream {
let gen_input = if has_input {
quote! {
- let input_data = self.input_info();
+ let input_data = <Self as InputI... | feat(procs): use fully qualified syntax in macro | null | iotaledger/stronghold.rs | Apache License 2.0 | Rust |
@@ -96,9 +96,9 @@ class MediaFolders
*/
public function create(string $id): bool
{
- if (! flextype('filesystem')->directory($this->getDirLocation($id))->exists() &&
+ if (! flextype('filesystem')->directory($this->getDirectoryLocation($id))->exists() &&
! flextype('filesystem')->directory(flextype('media_folders_meta'... | feat(media-folder): rename getDirLocation() method to getDirectoryLocation() method | null | flextype/flextype | MIT License | PHP |
@@ -129,3 +129,30 @@ open class Playback: UIBaseObject, Plugin {
Logger.logDebug("destroyed", scope: "Playback")
}
}
+
+// MARK: - DVR
+extension Playback {
+ @objc var minDvrSize: Double {
+ return 0
+ }
+
+ @objc open var usingDVR: Bool {
+ return false
+ }
+
+ @objc open var seekableTimeRanges: [NSValue] {
+ return ... | feat: add dvr properties on tvos playback | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -21,7 +21,18 @@ public class TokensListParser {
public func parse(network: String) async throws -> Set<Token> {
guard let url = tokenListURL else { throw TokensListParserError.invalidTokenlistURL }
let urlRequest = URLRequest(url: url)
+
+ // check for cancellation
+ try Task.checkCancellation()
+
+ // get data
let ... | feat: TokensListParser | null | p2p-org/solana-swift | MIT License | Swift |
@@ -57,6 +57,13 @@ class SelfRoleCommand : AbstractCommand("command.selfrole") {
val group = getSelfRoleGroupByArgNMessage(context, 0) ?: return
val channel = getTextChannelByArgsNMessage(context, 1) ?: return
val messageId = getLongFromArgNMessage(context, 2) ?: return
+
+
+ val selfRoles = context.daoManager.selfRole... | feat: support for ranges with selfroles | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -727,26 +727,26 @@ public class DefaultTrackedEntityInstanceService
}
}
- if ( params.hasProgram() )
+ if ( params.hasTrackedEntityType() )
{
- maxTeiLimit = params.getProgram().getMaxTeiCountToReturn();
+ maxTeiLimit = params.getTrackedEntityType().getMaxTeiCountToReturn();
- if ( !params.hasTrackedEntityInstances(... | feat: Programs maxTeiCount has priority over TEs | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -36,6 +36,11 @@ class KrakenRenderConstrainedBox extends RenderConstrainedBox {
return false;
}
+// @override
+// bool hitTestSelf(Offset position) {
+// return size.contains(position);
+// }
+
@override
bool hitTestChildren(BoxHitTestResult result, { Offset position }) {
return child?.hitTest(result, position: posi... | feat: del hittestself | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -8,6 +8,37 @@ import pkg from '../../../package.json'
import usePrevious from '../../hooks/use-previous'
import styles from './styles.module.css'
+const CODESANDBOX_CSS_FILE = `
+html,
+body {
+ background: var(--psColorsBackgroundDark2);
+}
+`
+const CODESANDBOX_INDEX_FILE = `
+import "@pluralsight/ps-design-system... | feat(docs): supply deps to new codesandboxes | null | pluralsight/design-system | Apache License 2.0 | TypeScript |
@@ -250,7 +250,7 @@ func getDefaultBoltDbOptions(readOnly bool) *bolt.Options {
return &bolt.Options{
Timeout: time.Second,
ReadOnly: readOnly,
- FreelistType: bolt.FreelistMapType,
+ FreelistType: bolt.FreelistArrayType,
NoFreelistSync: true,
}
}
@@ -586,6 +586,17 @@ func (q *DelayQueue) ReopenWithEmpty() error {
retu... | feat: preload freelist to optimize the boltdb open | null | youzan/nsq | MIT License | Go |
@@ -68,7 +68,13 @@ function hubSpotPlugin(pluginConfig = {}) {
}
/* send hubspot identify call */
const properties = formatTraits(traits, userId, defaultFormatter)
+ // Identify will send with next event or page view.
_hsq.push(['identify', properties])
+ // Fire without a hard reload or SPA routing
+ if (config.flushO... | feat: add flushOnIdentify to immediately identify in hubspot | null | davidwells/analytics | MIT License | JavaScript |
+<?php
+
+declare(strict_types=1);
+
+beforeEach(function() {
+ filesystem()->directory(PATH['project'] . '/uploads')->create();
+ filesystem()->directory(PATH['project'] . '/uploads/.meta')->create();
+});
+
+afterEach(function (): void {
+ filesystem()->directory(PATH['project'] . '/uploads/.meta')->delete();
+ files... | feat(tests): add tests for MediaFoldersMeta getDirectoryMetaLocation() method | null | flextype/flextype | MIT License | PHP |
@@ -7,18 +7,22 @@ import com.github.mixinors.astromine.common.screen.handler.body.BodySelectorScre
import com.github.mixinors.astromine.registry.client.AMRenderLayers;
import com.github.mixinors.astromine.registry.common.AMRegistries;
import com.google.common.collect.ImmutableList;
+import com.mojang.blaze3d.systems.Re... | feat: orbit lines | null | mixinors/astromine | MIT License | Java |
@@ -32,7 +32,7 @@ extension SolanaSDK {
public init(endpoint: String) {
var request = URLRequest(url: URL(string: endpoint)!)
request.timeoutInterval = 5
- socket = WebSocket(request: request)
+ socket = WebSocket(request: request, engine: NativeEngine())
defer {socket.delegate = self}
}
| feat(websocket): fix error | null | p2p-org/solana-swift | MIT License | Swift |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.