diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
+<?php
+
+use Flextype\Component\Filesystem\Filesystem;
+
+beforeEach(function() {
+ filesystem()->directory(PATH['project'] . '/entries')->create();
+});
+
+afterEach(function (): void {
+ filesystem()->directory(PATH['project'] . '/entries')->delete();
+});
+
+test('test ModifiedAtField', function () {
+ flextype('en... | feat(tests): add tests for entry ModifiedAtField | null | flextype/flextype | MIT License | PHP |
@@ -231,7 +231,7 @@ func (c *command) setAllFlags(cmd *cobra.Command) {
cmd.Flags().String(optionNameP2PAddr, ":1634", "P2P listen address")
cmd.Flags().String(optionNameNATAddr, "", "NAT exposed address")
cmd.Flags().Bool(optionNameP2PWSEnable, false, "enable P2P WebSocket transport")
- cmd.Flags().StringSlice(optionN... | feat: default configs for mainnet | null | ethersphere/bee | BSD 3-Clause New or Revised License | Go |
@@ -48,7 +48,6 @@ class ChatRoomsFragment : Fragment(), ChatRoomsView {
private val handler = Handler()
private var listJob: Job? = null
- private var baseAdapter: ChatRoomsAdapter? = null
private var sectionedAdapter: SimpleSectionedRecyclerViewAdapter? = null
companion object {
@@ -249,7 +248,7 @@ class ChatRoomsFrag... | feat: Add string traslation for portuguese(pt-rBR) | null | rocketchat/rocket.chat.android | MIT License | Kotlin |
@@ -217,13 +217,6 @@ abstract class ScrollPosition extends ViewportOffset with ScrollMetrics {
assert(_pixels != null);
assert(SchedulerBinding.instance.schedulerPhase.index <= SchedulerPhase.transientCallbacks.index);
- // Handle the situation beyond the boundary and remove the effect
- if (newPixels >= maxScrollExten... | feat: add bounce effect | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -32,6 +32,9 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.TimeoutException;
+import java.util.jar.Attributes;
+import java.util.jar.JarFile;
+import java.util.jar.Manifest;
import com.vaadin.experimental.FeatureFlags;
import com.vaadin.flow.di.Lookup;
@@ -479,8 +48... | feat: Check license also for jars with cvdlName | null | vaadin/flow | Apache License 2.0 | Java |
@@ -593,6 +593,8 @@ class FunctionsCustomServerTest extends Scope
'async' => false,
]);
+ $this->assertEquals(201, $execution['headers']['status-code']);
+
$this->assertEquals('completed', $execution['body']['status']);
$this->assertStringContainsString($data['deploymentId'], $execution['body']['stdout']);
$this->asser... | feat: add status code assertion | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -114,8 +114,8 @@ export class Listr<Ctx = ListrContext, Renderer extends ListrRendererValue = Lis
// create a new context
this.ctx = {
- ...this.options?.ctx ?? {},
- ...context
+ ...context ?? ({} as Ctx),
+ ...this.options?.ctx ?? {}
}
// check if the items are enabled
| feat: ability to change the context type on subtasks | null | cenk1cenk2/listr2 | MIT License | TypeScript |
@@ -300,13 +300,16 @@ impl<P: Params> Window<P> {
/// Registers a menu event listener.
#[cfg(feature = "menu")]
#[cfg_attr(doc_cfg, doc(cfg(feature = "menu")))]
- pub fn on_menu_event<F: Fn(menu::MenuEvent<P::MenuId>) + Send + 'static>(&self, f: F) {
+ pub fn on_menu_event<F: Fn(menu::MenuEvent<P::MenuId>) + Send + 'st... | feat(core): return listener id on Window#on_menu_event | null | tauri-apps/tauri | Apache License 2.0 | Rust |
@@ -2,6 +2,7 @@ import datetime
import time
import sys
+from deeppavlov.core.common.errors import ConfigError
from deeppavlov.core.common.file import read_json
from deeppavlov.core.common.registry import REGISTRY
from deeppavlov.core.commands.infer import build_agent_from_config
@@ -93,10 +94,19 @@ def train_batches(co... | feat: use metric optimization method from config in the train script | null | deeppavlov/deeppavlov | Apache License 2.0 | Python |
@@ -16,16 +16,16 @@ import SiderContent from "./Sidebar"
import { Link } from "gatsby"
const useStyles = makeStyles((theme) => ({
drawer: {
- [theme.breakpoints.up("lg")]: {
width: drawerWidth,
flexShrink: 0,
},
+ hiddenDrawer: {
+ [theme.breakpoints.down("md")]: {
+ display: "none",
},
- appBar: {
- [theme.breakpoints... | feat: change drawer style | null | oi-wiki/gatsby-oi-wiki | Apache License 2.0 | JavaScript |
@@ -20,13 +20,17 @@ exports.copyStaticDirs = () => {
.filter(themeStaticPath => fs.existsSync(themeStaticPath))
// copy the files for each folder into the user's build
.map(folder =>
- fs.copySync(folder, nodePath.join(process.cwd(), `public`))
+ fs.copySync(folder, nodePath.join(process.cwd(), `public`), {
+ dereferen... | feat(gatsby): support symlinked directories | null | gatsbyjs/gatsby | MIT License | JavaScript |
@@ -195,6 +195,7 @@ public enum SettingKey
"keyDashboardContextMenuItemShowInterpretationsAndDetails", Boolean.TRUE, Boolean.class ),
DASHBOARD_CONTEXT_MENU_ITEM_VIEW_FULLSCREEN( "keyDashboardContextMenuItemViewFullscreen", Boolean.TRUE,
Boolean.class ),
+ DEFAULT_BASE_MAP( "keyDefaultBaseMap" ),
RULE_ENGINE_ASSIGN_OVE... | feat: Add new system variable for Maps | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -135,11 +135,10 @@ class Course::Assessment::Submission::SubmissionsController < \
# Download either all of or a subset of submissions for an assessment.
def download_all
authorize!(:manage, @assessment)
- if !@assessment.downloadable? || @assessment.submissions.confirmed.empty?
+ if not_downloadable
head :bad_reque... | feat(submissions csv download): update download_all in the controller to handle submission answers csv job download | null | coursemology/coursemology2 | MIT License | Ruby |
@@ -26,6 +26,11 @@ public struct FaceGender: Codable, Equatable {
*/
public var gender: String
+ /**
+ The word for "male" or "female" in the language defined by the **Accept-Language** request header.
+ */
+ public var genderLabel: String
+
/**
Confidence score in the range of 0 to 1. A higher score indicates greater ... | feat(VisualRecognitionV3): Add genderLabel property to FaceGender model | null | watson-developer-cloud/swift-sdk | Apache License 2.0 | Swift |
@@ -557,11 +557,11 @@ App::delete('/v1/projects/:projectId')
;
if (!$dbForConsole->deleteDocument('teams', $project->getAttribute('teamId', null))) {
- throw new Exception('Failed to remove project team from DB', 500, Exception::COLLECTION_DELETION_FAILED);
+ throw new Exception('Failed to remove project team from DB',... | feat: use general server errors in projects API | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
+import * as React from "react";
+import * as System from "~/components/system";
+
+import { ModalPortal } from "~/components/core/ModalPortal";
+import { css } from "@emotion/react";
+import { AnimatePresence, motion } from "framer-motion";
+import { useEscapeKey } from "~/common/hooks";
+
+/* ------------------------... | feat(Jumper): add primitives for the jumper component | null | filecoin-project/slate | MIT License | JavaScript |
@@ -49,13 +49,18 @@ frappe.ui.form.AssignTo = Class.extend({
});
},
- get_assignment_block(assignee_info) {
+ get_assignment_block(info) {
let remove_action = false;
- if (assignee_info.owner === frappe.session.user || this.frm.perm[0].write) {
+ if (info.owner === frappe.session.user || this.frm.perm[0].write) {
remov... | feat: add user image for assign to | null | frappe/frappe | MIT License | JavaScript |
@@ -16,7 +16,8 @@ mod syscall;
mod wasm;
use std::ffi::{OsStr, OsString};
-use std::io::{stderr, Write};
+use std::io;
+use std::io::{BufReader, Read, Write};
use std::path::PathBuf;
use std::process::{Command, Stdio};
use std::time;
@@ -55,6 +56,17 @@ pub fn assert_eq_slices(expected_output: &[u8], output: &[u8], what... | feat: print child stderr in tests | null | enarx/enarx | Apache License 2.0 | Rust |
+package sqlancer.databend.ast;
+
+import sqlancer.common.ast.BinaryOperatorNode;
+import sqlancer.common.ast.newast.NewBinaryOperatorNode;
+import sqlancer.common.ast.newast.Node;
+
+
+public class DatabendBinaryComparisonOperation extends NewBinaryOperatorNode<DatabendExpression> {
+
+ public DatabendBinaryComparison... | feat: implement the binary comparison operation | null | sqlancer/sqlancer | MIT License | Java |
@@ -19,7 +19,6 @@ class KrakenClickGestureRecognizer extends OneSequenceGestureRecognizer {
/// {@macro flutter.gestures.gestureRecognizer.kind}
KrakenClickGestureRecognizer({
this.deadline,
- GestureClickCallback onPointClick,
this.acceptSlopTolerance = kTouchSlop,
Object debugOwner,
PointerDeviceKind kind,
| feat: del GestureClickCallback from Constructor | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -204,6 +204,24 @@ func (c AttributeCon) CredentialTypes() []CredentialTypeIdentifier {
return result
}
+func (c AttributeCon) Validate() error {
+ // Unlike AttributeDisCon, we don't have to check here that the current instance is of length 0,
+ // as that is actually a valid conjunction: one that specifies that the... | feat: enforce correctness of conjunctions in session requests | null | privacybydesign/irmago | Apache License 2.0 | Go |
@@ -39,8 +39,11 @@ import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.plugins.annotations.Parameter;
import org.apache.maven.plugins.annotations.ResolutionScope;
+import org.cactoos.Scalar;
+import org.cactoos.experimental.Threads;
impor... | feat(#1564): use cactoos threads | null | cqfn/eo | MIT License | Java |
@@ -124,12 +124,14 @@ fn get_token(
) -> Box<dyn Future<Item = Arc<GcsToken>, Error = ObjectError>> {
if let Some(token) = GCS_TOKENS.lock().get(source_key) {
if token.expires_at >= Utc::now() {
+ metric!(counter("source.gcs.token.cached") += 1);
return Box::new(Ok(token.clone()).into_future());
}
}
let source_key = so... | feat(metric): Add metrics to track OAuth token usage | null | getsentry/symbolicator | MIT License | Rust |
@@ -6,8 +6,6 @@ use Appwrite\Messaging\Adapter\Realtime;
use Appwrite\Stats\Stats;
use Appwrite\Utopia\Response;
use Appwrite\Utopia\Response\Model\Execution;
-use Cron\CronExpression;
-use LanguageServerProtocol\Range;
use Swoole\ConnectionPool;
use Swoole\Coroutine as Co;
use Swoole\Http\Request as SwooleRequest;
@@ ... | feat: remove handle shutdown method | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -44,7 +44,11 @@ using namespace debug;
#include <sys/types.h>
#ifdef __ANDROID__
+#include <dlfcn.h>
#include <unwind.h>
+#include <iomanip>
+#include <iostream>
+#include <sstream>
#else
#ifndef WIN32
#include <execinfo.h>
@@ -84,7 +88,7 @@ static _Unwind_Reason_Code android_unwind_callback(
return _URC_NO_REASON;
... | feat(debug/android): opt android backtrace | null | megengine/megengine | Apache License 2.0 | C++ |
+import { DataProvider, Query } from '../data';
+import { Json, List, meta } from '../types';
+import { resolve } from '../utils';
+
+export class SqlServerProvider implements DataProvider {
+ execute = (q: Query): Promise<any> => resolve({q});
+
+ query = (q: Query): Promise<List<Json>> => this.execute(q).then(r => me... | feat(Added first-cut SqlServerProvider.ts): Added rough provider for SqlServer. Needs to be implemented still | null | thisisagile/easy | MIT License | TypeScript |
@@ -184,6 +184,7 @@ class GoalOrientedBot(Inferable, Trainable):
tr_data = data.batch_generator(1, 'train', shuffle=False)
eval_data = data.iter_all('valid')
+ # TODO: rewrite evaluate() so that it evaluates on batches
#eval_data = data.batch_generator(1, 'valid')
self.reset_metrics()
@@ -257,20 +258,29 @@ class GoalOr... | feat: fix infer | null | deeppavlov/deeppavlov | Apache License 2.0 | Python |
@@ -3,6 +3,7 @@ package me.melijn.melijnbot.commands.image
import me.melijn.melijnbot.internals.command.AbstractCommand
import me.melijn.melijnbot.internals.command.CommandCategory
import me.melijn.melijnbot.internals.command.ICommandContext
+import me.melijn.melijnbot.internals.command.RunCondition
import me.melijn.me... | feat: deffensive check for retrieveMemberByArgsNMessage | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -53,13 +53,22 @@ public class SyntheticWorkload implements IWorkload {
String[][] workloadValues = null;
if(!config.OPERATION_PROPORTION.split(":")[0].equals("0")) {
workloadValues = new String[config.SENSOR_NUMBER][config.WORKLOAD_BUFFER_SIZE];
+ StringBuilder builder = new StringBuilder();
+ for(int i = 0;i < conf... | feat(SyntheticWorkload): add text type data length control | null | thulab/iot-benchmark | Apache License 2.0 | Java |
@@ -16,6 +16,13 @@ namespace OwenIt\Auditing\Contracts;
interface Auditable
{
+ /**
+ * Auditable Model audits.
+ *
+ * @return \Illuminate\Database\Eloquent\Relations\MorphMany
+ */
+ public function audits();
+
/**
* Set the Audit event.
*
| feat(Auditable): add audits() to the contract | null | owen-it/laravel-auditing | MIT License | PHP |
package org.jitsi.impl.neomedia.rtp.sendsidebandwidthestimation;
import net.sf.fmj.media.rtp.*;
+import org.jitsi.service.configuration.*;
+import org.jitsi.service.libjitsi.*;
import org.jitsi.service.neomedia.*;
import org.jitsi.service.neomedia.rtp.*;
extends RTCPReportAdapter
implements BandwidthEstimator
{
+ /**
+... | feat(ssbwe): Exposes the START_BITRATE_BPS through a system property | null | jitsi/libjitsi | Apache License 2.0 | Java |
@@ -29,6 +29,7 @@ public class SourceStatus extends GenericModel {
* - `running` indicates that a crawl to fetch more documents is in progress.
* - `complete` indicates that the crawl has completed with no errors.
* - `queued` indicates that the crawl has been paused by the system and will automatically restart when po... | feat(Discovery): Add new constant and nextCrawl prop to SourceStatus | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -81,10 +81,14 @@ class Course::LessonPlan::Item < ApplicationRecord
# Can't eager-load if we have no idea who we are eager-loading for
return if course_user.nil? && course.nil?
- reference_timeline_id = course_user&.reference_timeline_id ||
- course_user&.course&.default_reference_timeline&.id ||
+ default_reference... | feat(lesson_plan_item): reference_time_for now reads custom timelines | null | coursemology/coursemology2 | MIT License | Ruby |
@@ -15,7 +15,6 @@ class URLParser {
URLParser(String url, { int? contextId }) {
String path = url;
- String originURL = url;
if(contextId != null) {
_contextId = contextId;
@@ -40,7 +39,7 @@ class URLParser {
}
if (urlClient != null) {
- path = urlClient.parser(url, originURL);
+ path = urlClient.parser(path, url);
}
}... | feat: modify origin url | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -5,7 +5,7 @@ use super::KeepPersonality;
use std::sync::{Arc, RwLock};
-use anyhow::{anyhow, Result};
+use anyhow::{bail, Result};
use kvm_ioctls::{VcpuExit, VcpuFd};
use mmarinus::{perms, Kind, Map};
use primordial::{Address, Register};
@@ -149,17 +149,16 @@ impl<P: KeepPersonality> super::super::Thread for Thread<... | feat(backend-kvm): be more verbose on KVM errors | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -52,6 +52,8 @@ Please give feedback on their respective umbrella issues!
- https://gatsby.dev/query-on-demand-feedback
- https://gatsby.dev/dev-ssr-feedback
`)
+
+ telemetry.trackFeatureIsUsed(`FastDev`)
}
if (
| feat(gatsby): track usage of GATSBY_EXPERIMENTAL_FAST_DEV | null | gatsbyjs/gatsby | MIT License | TypeScript |
@@ -569,6 +569,14 @@ const MAPPING_MANIFEST: ImplementedMappingsManifest = {
includeInSummary: true,
zeroBased: true,
},
+ {
+ id: 'label',
+ type: ConfigManifestEntryType.STRING,
+ name: 'Label',
+ optional: true,
+ includeInSummary: true,
+ hint: 'Identify the channel by label (does not set the label in Sisyfos)'
+ }... | feat: add sisyfos channel by label mapping | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -301,10 +301,9 @@ Rails.application.routes.draw do
end
scope module: :forum do
- resources :forums do
- resources :topics do
- resources :posts, only: [:create, :edit, :update, :destroy] do
- get 'reply', on: :member
+ resources :forums, except: [:new, :edit] do
+ resources :topics, except: [:new, :edit] do
+ resour... | feat(react forum port): rewrite routes for forum page | null | coursemology/coursemology2 | MIT License | Ruby |
@@ -324,6 +324,7 @@ const Detail = observer(() => {
});
onFieldReact('variableDefinitions.*.type', (field) => {
const value = (field as Field).value;
+ console.log(value, 'value');
const formatPath = FormPath.transform(
field.path,
/\d+/,
| feat(notice): debuge data type | null | jetlinks/jetlinks-ui-antd | MIT License | TypeScript |
@@ -56,12 +56,14 @@ open class AVFoundationPlayback: Playback {
open override var selectedSubtitle: MediaOption? {
get {
+ guard let subtitles = self.subtitles, subtitles.count > 0 else { return nil }
let option = getSelectedMediaOptionWithCharacteristic(AVMediaCharacteristic.legible.rawValue)
return MediaOptionFactory... | feat: trigger media selection options events for tvOS | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -141,9 +141,7 @@ export class CronWorkflowList extends BasePage<RouteComponentProps<any>, State>
className='row argo-table-list__row'
key={`${w.metadata.namespace}/${w.metadata.name}`}
to={uiUrl(`cron-workflows/${w.metadata.namespace}/${w.metadata.name}`)}>
- <div className='columns small-1'>
- <i className='fa fa-c... | feat(ui): Visualisation of the suspended CronWorkflows in the list. Fixes | null | argoproj/argo-workflows | Apache License 2.0 | TypeScript |
@@ -70,13 +70,16 @@ namespace acl
{
using namespace acl_impl;
- (void)settings; // todo?
(void)out_stats;
ErrorResult error_result = track_list.is_valid();
if (error_result.any())
return error_result;
+ error_result = settings.is_valid();
+ if (error_result.any())
+ return error_result;
+
// Disable floating point exce... | feat(compression): add settings validity check | null | nfrechette/acl | MIT License | C |
@@ -17,7 +17,7 @@ from ..core.tensor.utils import astensor1d
from ..tensor import Tensor
from .elemwise import floor
from .math import argsort
-from .tensor import broadcast_to, concat, expand_dims, reshape
+from .tensor import broadcast_to, concat, expand_dims, reshape, transpose
def cvt_color(inp: Tensor, mode: str =... | feat(functional): let interpolate support more modes | null | megengine/megengine | Apache License 2.0 | Python |
@@ -138,18 +138,14 @@ class MediaFolders
*/
public function copy(string $id, string $new_id): bool
{
- if (! Filesystem::has($this->getDirLocation($new_id)) && ! Filesystem::has(flextype('media_folders_meta')->getDirMetaLocation($new_id))) {
- Filesystem::copy(
- $this->getDirLocation($id),
- $this->getDirLocation($new... | feat(media-folder): use Atomastic Filesystem for copy() method | null | flextype/flextype | MIT License | PHP |
@@ -396,6 +396,7 @@ impl ExtraOutputValues {
/// Determines what to emit as additional file
#[derive(Debug, Copy, Clone, Eq, PartialEq, Default)]
pub struct ExtraOutputFiles {
+ pub abi: bool,
pub metadata: bool,
pub ir_optimized: bool,
pub ewasm: bool,
@@ -420,6 +421,7 @@ impl ExtraOutputFiles {
/// Returns an instanc... | feat: abi as an extra file | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -69,6 +69,8 @@ MAKE_EVENT_CODE(LPC_QUERY_CONFIGURATION_ALL, TASK_PRIORITY_HIGH)
MAKE_EVENT_CODE(LPC_MEM_RELEASE, TASK_PRIORITY_COMMON)
MAKE_EVENT_CODE(LPC_CREATE_CHILD, TASK_PRIORITY_COMMON)
MAKE_EVENT_CODE_RPC(RPC_QUERY_DISK_INFO, TASK_PRIORITY_COMMON)
+MAKE_EVENT_CODE_RPC(RPC_DETECT_HOTKEY, TASK_PRIORITY_COMMON)
+... | feat(hotkey): add replication.codes about hotkey detect | null | apache/incubator-pegasus | Apache License 2.0 | C |
+import { Trans } from "@lingui/macro";
import { Tooltip, Select, SelectOption } from "reactjs-components";
import PropTypes from "prop-types";
import React, { Component } from "react";
@@ -39,7 +40,7 @@ class MultiContainerVolumesFormSection extends Component {
<FieldLabel>
<FormGroupHeading>
<FormGroupHeadingContent ... | feat(MultiContainerVolumesFormSection): localize using Trans macro | null | dcos/dcos-ui | Apache License 2.0 | JavaScript |
+<?php
+
+declare(strict_types=1);
+
+namespace CodeIgniter\Shield\Language\en;
+
+return [
+ // Exceptions
+ 'unknownAuthenticator' => '{0} is not a valid authenticator.',
+ 'unknownUserProvider' => 'Unable to determine the User Provider to use.',
+ 'invalidUser' => 'Unable to locate the specified user.',
+ 'badAttemp... | feat: add Turkish lang file | null | codeigniter4/shield | MIT License | PHP |
#define USER_DEFINED_H
// user-defined functions
-namespace discord {
-namespace user_defined {
-namespace bulk_delete_messages {
-void run(struct discord_client *client, u64_snowflake_t channel_id, u64_snowflake_t author_id);
-}
-}
-}
+void
+discord_user_defined_bulk_delete_message(
+ struct discord_client *client,
+ ... | feat: rename a function | null | cee-studio/orca | MIT License | C |
@@ -7,7 +7,7 @@ class User::EmailsController < ApplicationController
def create
if @email.save
- render partial: 'email_list_data', locals: { email: @email }
+ render_emails
else
render json: { errors: @email.errors }, status: :bad_request
end
@@ -15,7 +15,7 @@ class User::EmailsController < ApplicationController
def d... | feat(emails_controller): create, destroy, set_primary respond all emails | null | coursemology/coursemology2 | MIT License | Ruby |
@@ -264,11 +264,12 @@ class Connection extends BaseConnection implements ConnectionInterface
*/
protected function _listTables(bool $prefixLimit = false): string
{
- $sql = 'SHOW TABLES FROM ' . $this->escapeIdentifiers($this->database);
+ $sql = 'SELECT "TABLE_NAME" FROM "USER_TABLES"';
if ($prefixLimit !== false && $... | feat: add get table list method | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -27,6 +27,8 @@ class LoadSequencesToTimelineAssetOrigin(api.Loader):
})
self.log.debug("_ context: `{}`".format(context))
+ self.log.debug("_ representation._id: `{}`".format(
+ context["representation"]["_id"]))
clip_loader = lib.ClipLoader(self, context, **data)
clip_loader.load()
| feat(nks): print repre _id | null | pypeclub/openpype | MIT License | Python |
@@ -438,6 +438,7 @@ void pixelBufferConvertor::UpdateColorInfo(const VideoColorInfo &info, CVPixelBu
if (value) {
CVBufferSetAttachment(pixelBuffer, kCVImageBufferColorPrimariesKey, value, kCVAttachmentMode_ShouldPropagate);
}
+ value = nullptr;
switch (info.color_trc) {
case AFCOL_TRC_BT709:
case AFCOL_TRC_SMPTE170M:
... | feat(pixelbufferconvertor): support hlg transfer characteristic | null | alibaba/cicadaplayer | MIT License | C++ |
@@ -187,12 +187,36 @@ class UsersController extends Controller
], 'yaml')
);
+ // Create default registry delivery token
+ $api_delivery_registry_token = bin2hex(random_bytes(16));
+ $api_delivery_registry_token_dir_path = PATH['tokens'] . '/delivery/registry/' . $api_delivery_registry_token;
+ $api_delivery_registry_t... | feat(admin-plugin): update installation process with new delivery registry token | null | flextype/flextype | MIT License | PHP |
@@ -151,7 +151,37 @@ impl Vault for OsxVault {
secret: &SecretKey,
attributes: SecretKeyAttributes,
) -> Result<SecretKeyContext, VaultFailError> {
- unimplemented!()
+ let mut swkey_insert = |buffer: &[u8]| -> Result<SecretKeyContext, VaultFailError> {
+ let mut r = rand::rngs::OsRng {};
+ let id = r.gen::<usize>();
+... | feat(rust): implement os x secret_import | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -12,17 +12,45 @@ import (
"github.com/spf13/cobra"
)
-var createCmd = &cobra.Command{
+var repo, branch, machine string
+
+type machineType string
+
+const (
+ basicMachine machineType = "basic"
+ standardMachine machineType = "standard"
+ premiumMachine machineType = "premium"
+ ExtremeMachine machineType = "extrem... | feat: introduce repo, branch and machine flags for ghcs create | null | cli/cli | MIT License | Go |
// Final Form exports
-export { FORM_ERROR, FormApi, MutableState, AnyObject, FieldValidator, SubmissionErrors } from 'final-form'
+export { FORM_ERROR, FormApi, MutableState, AnyObject, FieldValidator, SubmissionErrors, Config, setIn } from 'final-form'
export { useForm, useField, useFormState, FormSpy, Form as FinalF... | feat: add final-form exports | null | toptal/picasso | MIT License | TypeScript |
@@ -9,8 +9,10 @@ import android.content.res.AssetManager;
import androidx.annotation.Nullable;
import com.getcapacitor.util.JSONUtils;
import java.io.IOException;
+import java.util.Arrays;
import java.util.HashMap;
import java.util.Iterator;
+import java.util.List;
import java.util.Locale;
import java.util.Map;
import ... | feat(android): don't allow server.androidScheme to be set to schemes handled by WebView | null | ionic-team/capacitor | MIT License | Java |
@@ -1481,7 +1481,7 @@ class BaseQuerySet:
code = Code(code, scope=scope)
db = queryset._document._get_db()
- return db.eval(code, *fields)
+ return db.command("eval", code, args=fields).get("retval")
def where(self, where_clause):
"""Filter ``QuerySet`` results with a ``$where`` clause (a Javascript
| feat: handle eval removal | null | mongoengine/mongoengine | MIT License | Python |
@@ -523,7 +523,7 @@ public class PDFGenerator {
private String getDisplayValueFromOptions(FormLayoutElement element) {
String value = FormUtils.getFormDataByKey(element.getDataModelBindings().get("simpleBinding"), formData);
List<String> splitFormData;
- if (element.getType().equalsIgnoreCase("Checkboxes")) {
+ if (ele... | feat: support multiple select in pdf | null | altinn/altinn-studio | BSD 3-Clause New or Revised License | Java |
@@ -3,7 +3,7 @@ open class Player: BaseObject {
@objc open var playbackEventsToListen: [String] = []
fileprivate var playbackEventsListenIds: [String] = []
@objc fileprivate(set) open var core: Core?
- private var plugins: [Plugin.Type] = []
+ private static var plugins: [Plugin.Type] = []
@objc open var activeContaine... | feat: made plugins variable and register method static in the Player class | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -20,13 +20,13 @@ export default {
height: '16px',
width: '16px',
borderRadius: '2px',
- border: `2px solid ${core.colors.gray02}`,
- background: core.colors.gray05,
+ border: `2px solid ${core.colorsTextIcon.lowOnDark}`,
+ background: core.colorsBackgroundDark[1],
color: core.colors.white
},
[`.psds-checkbox__square... | feat(checkbox): use 2020 colors | null | pluralsight/design-system | Apache License 2.0 | JavaScript |
@@ -81,6 +81,7 @@ class SeekbarView: UIView {
position = 0
}
scrubberPosition.constant = position
+ progressBarWidthConstraint?.constant = position + scrubber.frame.width / 2
}
}
@@ -92,6 +93,7 @@ class SeekbarView: UIView {
position = seekBarContainerView.frame.width - scrubber.frame.width
}
scrubberPosition.constant ... | feat: adjusting progress bar width | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -39,11 +39,21 @@ def load_experiment_results(output_dir, experiment_name):
output_data: dict
dictionary such that
- output_data[agent_name]['stats'] = fitted AgentStats
- output_data[agent_name]['dataframes'] = dict of pandas data frames from the last run of the experiment
- output_data[agent_name]['data_dir'] = dir... | feat(experiment): structuring load_experiment_results output | null | rlberry-py/rlberry | MIT License | Python |
@@ -7,8 +7,6 @@ import Media from "react-media";
import { AlertStore, DecodeLocationSearch } from "Stores/AlertStore";
import { Settings } from "Stores/Settings";
import { SilenceFormStore } from "Stores/SilenceFormStore";
-import { Fetcher } from "Components/Fetcher";
-import { FaviconBadge } from "Components/FaviconB... | feat(ui): lazy load more modules | null | prymitive/karma | Apache License 2.0 | TypeScript |
@@ -17,12 +17,13 @@ class LayersCompositor: LayersComposer {
private weak var rootView: UIView?
- private var layers: [Layer] = [
- BackgroundLayer(),
- ]
+ private let backgroundLayer = BackgroundLayer()
init(rootView: UIView) {
self.rootView = rootView
+
+ rootView.addSubview(backgroundLayer)
+ rootView.sendSubviewTo... | feat: adds BackgroundLayer at the bottom of rootView | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -1859,6 +1859,7 @@ const (
ErrCodeStageTopicContainsNotAllowedWordsForPublicStages = 20031
ErrCodeGuildPremiumSubscriptionLevelTooLow = 20035
+ ErrCodeMaximumGuildsReached = 30001
ErrCodeMaximumPinsReached = 30003
ErrCodeMaximumNumberOfRecipientsReached = 30004
ErrCodeMaximumGuildRolesReached = 30005
| feat(structs): added ErrCodeMaximumGuildsReached back | null | bwmarrin/discordgo | BSD 3-Clause New or Revised License | Go |
@@ -166,6 +166,14 @@ public String getOwner()
return owner;
}
+ /**
+ * @return the {@link MediaType} of this {@link MediaStreamTrackDesc}.
+ */
+ public MediaType getMediaType()
+ {
+ return getMediaStreamTrackReceiver().getStream().getMediaType();
+ }
+
/**
* Gets the stats for this {@link MediaStreamTrackDesc} insta... | feat: Adds MediaStreamTrackDesc#getMediaType() | null | jitsi/libjitsi | Apache License 2.0 | Java |
@@ -13,11 +13,11 @@ use Psr\Http\Message\ResponseInterface as Response;
use Psr\Http\Message\ServerRequestInterface as Request;
/**
- * Validate access token
+ * Validate delivery token
*/
-function validate_access_token($request, $flextype) : bool
+function validate_delivery_token($request, $flextype) : bool
{
- retur... | feat(core): add delivery_token instead of access_token for read-only api | null | flextype/flextype | MIT License | PHP |
@@ -10,6 +10,13 @@ const pickFirst = (...args) => {
}
}
+// Converts a kebab-case or camelCase string to PascaleCase
+const unKebabRE = /-(\w)/g
+const pascalCase = str => {
+ str = str.replace(unKebabRE, (_, c) => (c ? c.toUpperCase() : ''))
+ return str.charAt(0).toUpperCase() + str.slice(1)
+}
+
// --- Constants ---... | feat(nuxt): handle edge cases where component, directive and plugin names are passed as `camelCase` or `kebab-case` | null | bootstrap-vue/bootstrap-vue | MIT License | JavaScript |
// Requirements
//------------------------------------------------------------------------------
-var assert = require("power-assert"),
- chalk = require("chalk"),
- proxyquire = require("proxyquire"),
- sinon = require("sinon");
+var assert = require("power-assert");
+var chalk = require("chalk");
+var proxyquire = re... | feat(stylish): add help to use fixer | null | textlint/textlint | MIT License | JavaScript |
@@ -118,17 +118,6 @@ flextype('session')->setOptions(flextype('registry')->get('flextype.settings.ses
*/
flextype('session')->start();
-/**
- * Include API ENDPOINTS
- */
-include_once ROOT_DIR . '/src/flextype/Endpoints/Utils/errors.php';
-include_once ROOT_DIR . '/src/flextype/Endpoints/Utils/access.php';
-include_on... | feat(core): Rest API endpoints should includes after plugins initialisation | null | flextype/flextype | MIT License | PHP |
<i class="MDI trophy-variant"></i>
<p>Contest</p>
</function-block>
- <function-block>
+ <function-block onclick="$('#inviteModal').modal({backdrop:'static'});">
<i class="MDI account-plus"></i>
<p>Invite</p>
</function-block>
</div>
</div>
+<div id="inviteModal" class="modal fade" tabindex="-1" role="dialog">
+ <div c... | feat: group member invite | null | zsgsdesign/noj | MIT License | PHP |
@@ -156,7 +156,7 @@ func NewVNICDev(host *SHost, mac, driver string, bridge string, vlanId int32, ke
log.Errorf("fail to find dvportgroup by name %s: %s", bridge, err)
}
}
- if inet == nil {
+ if inet == nil || reflect.ValueOf(inet).IsNil() {
inet, err = host.FindNetworkByVlanID(vlanId)
if err != nil {
log.Errorf("fail... | feat(esxi): correctly judge whether inet is nil | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -262,9 +262,11 @@ function resolveWebsocket(socket, wss) {
var opts = {
rejectUnauthorized: config.rejectUnauthorized,
socket: proxySocket,
- servername: options.hostname,
ciphers: ciphers
};
+ if (!socket.disable.servername) {
+ opts.servername = options.hostname;
+ }
util.setClientCert(opts, clientKey, clientCert,... | feat: disable://servername | null | avwo/whistle | MIT License | JavaScript |
@@ -75,6 +75,10 @@ export default function createSpark(accessToken) {
h3: []
}
},
+ // Added to help load blocking during decryption
+ encryption: {
+ kmsInitialTimeout: 10000
+ },
storage: {
unboundedAdapter: new LocalForageStoreAdapter(`ciscospark-widgets`)
}
| feat(react-redux-spark): Add longer KMS timeout | null | webex/react-widgets | MIT License | JavaScript |
@@ -546,9 +546,11 @@ async fn do_list_files_from_dir(
}
match de.mode() {
ObjectMode::FILE => {
- // todo, support in opendal#list
let filename = path.to_string();
- let length = get_file_length(operator.clone(), path).await?;
+ let length = match de.content_length() {
+ Some(len) => len,
+ None => get_file_length(oper... | feat(hive): try to use the file size returned by list() | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -380,7 +380,7 @@ def _literal(t, op):
value = op.value
if dtype.is_interval():
- return sa.text(f"INTERVAL '{value} {dtype.resolution}'")
+ return sa.literal_column(f"INTERVAL '{value} {dtype.resolution}'")
elif dtype.is_set():
return list(map(sa.literal, value))
# geo spatial data type
| feat(postgres): fix interval literal | null | ibis-project/ibis | Apache License 2.0 | Python |
@@ -104,6 +104,17 @@ type applicationCommandFunctions struct {
ctx context.Context
}
+func (c *applicationCommandFunctions) applicationID() Snowflake {
+ appID := c.appID
+ if appID.IsZero() {
+ c.client.mu.Lock()
+ appID = c.client.applicationID
+ c.client.mu.Unlock()
+ }
+
+ return appID
+}
+
func applicationCommandF... | feat: automatically use application id from ready in application commands endpoints | null | andersfylling/disgord | BSD 3-Clause New or Revised License | Go |
@@ -1021,6 +1021,37 @@ class OrdinaryKrige(object):
dist = dist.loc[dist <= sqradius]
return dist
+ def _remove_neg_factors(self, df):
+ """
+ private function to remove negative kriging factors and
+ renormalize remaining positive factors following the
+ method of Deutsch (1996):
+ https://doi.org/10.1016/0098-3004(96... | feat(_remove_neg_factors): in geostats.py. Following Deutsch 1996: remove negative factors and renormalize the remaining factors to unity | null | pypest/pyemu | BSD 3-Clause New or Revised License | Python |
@@ -169,7 +169,7 @@ int update_advertising() {
struct bt_conn *conn;
enum advertising_type desired_adv = ZMK_ADV_NONE;
- if (active_profile_is_open() || !zmk_ble_active_profile_is_connected()) {
+ if (active_profile_is_open()) {
desired_adv = ZMK_ADV_CONN;
} else if (!zmk_ble_active_profile_is_connected()) {
desired_ad... | feat(endpoints): remove redundant connection check | null | zmkfirmware/zmk | MIT License | C |
@@ -148,7 +148,11 @@ final Dart_RegisterReloadApp _registerReloadApp =
nativeDynamicLibrary.lookup<NativeFunction<Native_RegisterReloadApp>>('registerReloadApp').asFunction();
void _reloadApp() {
+ try {
reloadApp();
+ } catch(err, stack) {
+ print('$err\n$stack');
+ }
}
void registerReloadApp() {
| feat: add try for reload app | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -32,14 +32,6 @@ export const DatePicker: React.FC<Props> & WithStyle = React.memo(
() => (value instanceof Date ? value : typeof value === 'string' ? parseToDate(value, displayFormat) : null),
[value, displayFormat]
);
- const convertDate = (d: string) => {
- const [year, month, day] = d.split('-');
- return month +... | feat: adding fixes for existing issues, and addressing pr comments | null | medly/medly-components | MIT License | TypeScript |
@@ -31,8 +31,14 @@ install_goss() {
readonly -f install_goss
wait_for_cloud_init() {
- while ! grep -q "finish: modules-final: SUCCESS: running modules for final" /var/log/cloud-init.log; do
+ while :; do
+ if grep -q "finish: modules-final: SUCCESS: running modules for final" /var/log/cloud-init.log; then
echo "Waitin... | feat: Catch failed cloud-init run before goss | null | kubernetes-simulator/simulator | Apache License 2.0 | Shell |
@@ -480,6 +480,13 @@ public final class SnomedRefSetMemberIndexEntry extends SnomedDocument {
return query.build();
}
+ public static Expression owlExpressionWithDestinationId() {
+ final ExpressionBuilder query = com.b2international.index.query.Expressions.builder();
+ query.should(nestedMatch("classAxiomRelationships... | feat(snomed): Add query expression for filtering OWL relationships.. | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -60,7 +60,8 @@ public class SoloGameRunner extends GameRunner {
if (testCaseFile != null && testCaseFile.isFile()) {
setTestCaseInput(getLinesFromTestCaseFile(testCaseFile));
} else {
- throw new RuntimeException("Given test case is not a file.");
+ throw new RuntimeException("Given test case is not a file" +
+ (tes... | feat: add path to exception in case of test case file wasn't found | null | codingame/codingame-game-engine | MIT License | Java |
@@ -85,6 +85,9 @@ KF_PIPELINES_ENDPOINT_ENV = 'KF_PIPELINES_ENDPOINT'
KF_PIPELINES_UI_ENDPOINT_ENV = 'KF_PIPELINES_UI_ENDPOINT'
KF_PIPELINES_DEFAULT_EXPERIMENT_NAME = 'KF_PIPELINES_DEFAULT_EXPERIMENT_NAME'
KF_PIPELINES_OVERRIDE_EXPERIMENT_NAME = 'KF_PIPELINES_OVERRIDE_EXPERIMENT_NAME'
+KF_PIPELINES_IAP_OAUTH2_CLIENT_ID... | feat(sdk): Introduce new environment variables for kfp oauth2 clients | null | kubeflow/pipelines | Apache License 2.0 | Python |
@@ -186,7 +186,7 @@ class CommandClient(private val commandList: Set<AbstractCommand>, private val c
)
)
return
- } else if (fromGuild && isPremiumGuild(daoManager, guildId)) {
+ } else if (fromGuild) {
// Search for scripts
val scripts = daoManager.scriptWrapper.getScripts(guildId)
for (script in scripts) {
@@ -378,8 ... | feat: scripts arent locked to premium | null | toxicmushroom/melijn | MIT License | Kotlin |
* limitations under the License.
*****************************************************************************/
+#ifndef __TCASE_ERHEREUM__
+#define __TCASE_ERHEREUM__
+
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
@@ -26,3 +29,11 @@ extern char g_ethereum_private_key_buf[1024];
extern BoatKeypairPriKeyC... | feat: Add test functions declaration in header file | null | aitos-io/boat-x-framework | Apache License 2.0 | C |
@@ -102,7 +102,14 @@ export class RunJobExecutionDetails extends React.Component<
<div className="col-md-12">
<h5 style={{ marginBottom: 0, paddingBottom: '5px' }}>Property File</h5>
<dl>
- {Object.keys(context.propertyFileContents).map(key => (
+ {Object.keys(context.propertyFileContents)
+ .sort((a: string, b: string... | feat(titus): Reordering properties file contents based on length | null | spinnaker/deck | Apache License 2.0 | TypeScript |
@@ -48,11 +48,12 @@ public class LevelOfTrafficStressLabeler {
String ltsTagValue = way.getTag("lts");
if (ltsTagValue != null) {
try {
- int lts = Integer.parseInt(ltsTagValue);
+ // Some input Shapefiles have LTS as a floating point number.
+ double lts = Double.parseDouble(ltsTagValue);
if (lts < 1 || lts > 4) {
LOG... | feat: tolerate floating point LTS tags | null | conveyal/r5 | MIT License | Java |
@@ -305,16 +305,20 @@ class LonaServer:
if response_dict['http_redirect']:
return HTTPFound(response_dict['http_redirect'])
+ default_headers = {
+ 'Cache-Control': 'no-cache, no-store, must-revalidate',
+ }
+
+ headers = response_dict['headers'] or default_headers
+
response = Response(
status=response_dict['status'],... | feat(views): make response headers fully configurable on non-interactive views | null | lona-web-org/lona | MIT License | Python |
@@ -215,6 +215,9 @@ func handleUpdateMessage(updateMessageChan chan *update.Info) {
}
func loadGlobalFlags(ctx *config.RunContext, cmd *cobra.Command) error {
+ if ctx.IsCIRun() {
+ ctx.Config.NoColor = true
+ }
if cmd.Flags().Changed("no-color") {
ctx.Config.NoColor, _ = cmd.Flags().GetBool("no-color")
}
| feat: Enable -no-color option by default for CI | null | infracost/infracost | Apache License 2.0 | Go |
@@ -9,25 +9,11 @@ declare(strict_types=1);
namespace Flextype\Foundation;
-use Exception;
use DI\Bridge\Slim\Bridge;
use DI\Container;
-use Slim\App;
-use Slim\Middleware\ContentLengthMiddleware;
-use Slim\Middleware\OutputBufferingMiddleware;
-use Slim\Middleware\RoutingMiddleware;
-use Slim\Psr7\Factory\StreamFactory... | feat(flextype): new Flextype core | null | flextype/flextype | MIT License | PHP |
@@ -63,7 +63,7 @@ if (! function_exists('collectionWithRange')) {
*
* @return Collection
*/
- function collectionWithRange($low, $high, int $step = 1): Arrays
+ function collectionWithRange($low, $high, int $step = 1): Collection
{
return Collection::createWithRange($low, $high, $step);
}
| feat(helpers): fix `collectionWithRange` | null | flextype/flextype | MIT License | PHP |
@@ -318,7 +318,7 @@ cws_custom_new(struct websockets *ws, const char ws_protocols[])
static bool _ws_close(struct websockets *ws)
{
static const char reason[] = "Client initializes close";
- static const enum cws_close_reason code = CWS_CLOSE_REASON_NORMAL;
+ static const enum cws_close_reason code = CWS_CLOSE_REASON_N... | feat: shutdown WebSockets with CWS_CLOSE_REASON_NO_REASON, so that we may resume afterwards | null | cee-studio/orca | MIT License | C |
@@ -49,6 +49,8 @@ namespace Blazorise.Components
//If input field is empty, clear current SelectedValue.
if ( string.IsNullOrEmpty( text ) )
await Clear();
+
+ await SearchChanged.InvokeAsync( CurrentSearch );
}
protected async Task HandleTextKeyDown( KeyboardEventArgs e )
@@ -83,7 +85,7 @@ namespace Blazorise.Componen... | feat: SearchChanged event on Autocomplete | null | stsrki/blazorise | MIT License | C# |
@@ -17,12 +17,10 @@ export default {
props: {
anchor: {
type: String,
- default: 'bottom left',
validator: positionValidator
},
self: {
type: String,
- default: 'top left',
validator: positionValidator
},
fit: Boolean,
@@ -49,10 +47,10 @@ export default {
},
computed: {
anchorOrigin () {
- return parsePosition(this.anc... | feat(QPopover): RTL support | null | quasarframework/quasar | MIT License | JavaScript |
@@ -118,10 +118,32 @@ class VendorPublishCommand extends SymfonyCommand
if (! file_exists(dirname($destination))) {
mkdir(dirname($destination), 0755, true);
}
- copy($source, $destination);
+ is_dir($source) ? $this->copyDirectory($source, $destination) : copy($source, $destination);
$this->output->writeln(sprintf('<f... | feat: the publish option of ConfigProvider allows publish directory | null | hyperf/hyperf | MIT License | PHP |
@@ -308,12 +308,18 @@ $.fn.grid = function (msgBus) {
}
function generatePctWidth(rules) {
+ var maxWidhtPct = 100
+ var viewportWidth = viewport.offsetWidth
+ if (totalWidth * 2 < viewportWidth) {
+ // Single column which is not supposed to be very wide
+ maxWidhtPct = 50
+ }
for (var i = 0; i < colMax.length; i++) {
... | feat(console): render single narrow column output at the grid center | null | questdb/questdb | Apache License 2.0 | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.