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
+
+declare(strict_types = 1);
+namespace Rebing\GraphQL\Tests\Unit\Config;
+
+use Rebing\GraphQL\GraphQLController;
+use Rebing\GraphQL\Tests\Support\Objects\ExamplesQuery;
+use Rebing\GraphQL\Tests\Support\Objects\ExampleType;
+use Rebing\GraphQL\Tests\TestCase;
+
+class ControllersFormatTest extends TestCase
+... | feat(ControllersFormat): add tests for `array` format in `controller` config | null | rebing/graphql-laravel | MIT License | PHP |
@@ -584,11 +584,11 @@ public class Grid extends PointSet {
for (Iterator<String> it = numericColumns.iterator(); it.hasNext();) {
String field = it.next();
String value = reader.get(field);
- if (value == null || "".equals(value)) continue; // allow missing data
+ if (value == null || "".equals(value)) continue; // all... | feat(grid): allow CSVs with no numeric attributes | null | conveyal/r5 | MIT License | Java |
CUSTOM_OBJECTS = {}
-
def register_custom_object(key, value):
CUSTOM_OBJECTS[key] = value
+
+import keras.models
+def load_model(weights_h5, compile=False):
+ model = keras.models.load_model(weights_h5,
+ custom_objects=CUSTOM_OBJECTS, compile=compile)
+ return model
| feat: add load_model keras_utils function | null | pyannote/pyannote-audio | MIT License | Python |
package org.fossasia.openevent.app.common.utils.core;
import java.util.ArrayList;
+import java.util.Collections;
import java.util.Currency;
import java.util.List;
import java.util.Locale;
@@ -59,6 +60,15 @@ public final class CurrencyUtils {
@SuppressWarnings({ "PMD.AvoidCatchingGenericException", "PMD.EmptyCatchBlock"... | feat: Sort Currency list on priority basis | null | fossasia/open-event-organizer-android | Apache License 2.0 | Java |
//! Exported verifier functions
+
use std::env;
use std::str;
-use std::str::{FromStr};
+use std::str::FromStr;
use std::sync::Arc;
+
use clap::{AppSettings, ArgMatches, ErrorKind};
use log::{debug, LevelFilter};
use simplelog::{Config, TerminalMode, TermLogger};
@@ -13,7 +15,6 @@ use pact_models::PactSpecification;
us... | feat(ffi verifier): revert unwanted changes | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -117,7 +117,10 @@ def _load_project_compiler_config(project_path: Optional[Path]) -> Dict:
def _load_project_dependencies(project_path: Path) -> Dict:
compiler_data = _load_config(project_path.joinpath("brownie-config"))
- return compiler_data.get("dependencies", [])
+ dependencies = compiler_data.get("dependencies"... | feat: handle dependencies given as a string | null | eth-brownie/brownie | MIT License | Python |
@@ -40,11 +40,6 @@ import org.apache.maven.plugin.AbstractMojo;
*/
public final class FakeMaven {
- /**
- * Default eo program id.
- */
- private static final String PROGRAM_ID = "foo.x.main";
-
/**
* Default eo-foreign.csv file format.
*/
@@ -98,19 +93,6 @@ public final class FakeMaven {
);
}
- /**
- * Adds eo program... | feat(#1417): remove PROGRAM_ID static constant | null | cqfn/eo | MIT License | Java |
@@ -260,6 +260,21 @@ func (tx *OngoingTx) Get(key []byte, filters ...FilterFn) (ValueRef, error) {
return tx.snap.Get(key, filters...)
}
+func (tx *OngoingTx) NewKeyReader(spec *KeyReaderSpec) (*KeyReader, error) {
+ tx.rwmutex.RLock()
+ defer tx.rwmutex.RUnlock()
+
+ if tx.closed {
+ return nil, ErrAlreadyClosed
+ }
+... | feat(embedded/store): keyReader in tx scope | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -190,3 +190,52 @@ export interface FieldItem {
}
export function createClient(params: CreateClientParams): ContentfulClientApi;
+
+/**
+ * Types of fields found in an Entry
+ */
+export namespace EntryFields {
+ export type Symbol = string;
+ export type Text = string;
+ export type Integer = number;
+ export type N... | feat(index.d.ts): add EntryField types | null | contentful/contentful.js | MIT License | TypeScript |
@@ -512,6 +512,29 @@ def console(context):
IPython.embed(display_banner="", header="", colors="neutral")
+@click.command('convert-database')
+@pass_context
+def convert_database(context):
+ "convert row_formats to DNAMIC from older formats -- innodb mariadb v10.6.3"
+ site = get_site(context)
+ frappe.init(site=site)
+... | feat: Add util to convert compressed tables to DYNAMIC | null | frappe/frappe | MIT License | Python |
@@ -25,4 +25,8 @@ public class LayerComposer {
func attachPlayback(_ view: UIView) {
playbackLayer.attachPlayback(view)
}
+
+ func attachUICorePlugin(_ plugin: UICorePlugin) {
+ coreLayer.attachPlugin(plugin)
+ }
}
| feat: introduce attachUICorePlugin on LayerComposer | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -35,7 +35,7 @@ const ChartLegend = ({
{legendNames[category]}
</button>
))}
- {selectedItem && (
+ {selectedItem ? (
<button
onClick={() => setSelectedItem(null)}
type="button"
@@ -43,6 +43,10 @@ const ChartLegend = ({
>
Reset highlight
</button>
+ ) : (
+ // this is a placeholder for the reset button so that the pa... | feat(chart-legend): add reset button placeholder | null | covid19tracking/website | Apache License 2.0 | JavaScript |
+# oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.
+# Copyright (c) 2016, Gluu
+#
+# Author: Christian Eland
+#
+
+from org.gluu.service.cdi.util import CdiUtil
+from org.gluu.oxauth.security import Identity
+from org.gluu.model.custom.script.type.auth import Pers... | feat(new_acr_link): generate url with new acr_values | null | gluufederation/oxauth | MIT License | Python |
@@ -2,6 +2,8 @@ public typealias SharedData = [String: Any]
open class Core: UIObject, UIGestureRecognizerDelegate {
+ private var layersCompositor: LayersCompositor?
+
@objc public let environment = Environment()
@objc open var sharedData = SharedData()
@@ -101,12 +103,8 @@ open class Core: UIObject, UIGestureRecogniz... | feat: creates LayoutCompositor at Core attach method | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -26,6 +26,11 @@ namespace server {
class internal_collector_base;
+struct detect_hotkey_result
+{
+ int coarse_bucket_index = -1;
+};
+
// hotkey_collector is responsible to find the hot keys after the partition
// was detected to be hot. The two types of hotkey, READ & WRITE, are detected
// separately.
@@ -82,25 +... | feat(hotkey): capture data part2 - declare coarse collector | null | apache/incubator-pegasus | Apache License 2.0 | C |
@@ -67,6 +67,9 @@ public static function mergeAssociateArrayRecursive(array $arrayStdClass, array
{
$merged = $arrayStdClass;
+ // If arrayAssoc key has in $arrayStdClass and value is not empty, replace here.
+ // This converts stdClass to accos array and leaves the empty stdClass
+
foreach ($arrayAssoc as $k => $v) {
... | feat: Added inline document | null | laravel/framework | MIT License | PHP |
+<?php
+
+declare(strict_types=1);
+
+/**
+ * Flextype (https://flextype.org)
+ * Founded by Sergey Romanenko and maintained by Flextype Community.
+ */
+
+namespace Flextype\Endpoints;
+
+use Psr\Http\Message\ResponseInterface;
+
+class Endpoints
+{
+ private array $statusCodeMessages = [
+ '400' => [
+ 'title' => 'Ba... | feat(endpoints): add basic Endpoints class | null | flextype/flextype | MIT License | PHP |
@@ -47,6 +47,7 @@ impl<T: Config> Pallet<T> {
BorrowRate::<T>::insert(asset_id, borrow_rate);
SupplyRate::<T>::insert(asset_id, supply_rate);
ExchangeRate::<T>::insert(asset_id, exchange_rate);
+ Self::on_exchange_rate_change(&Self::lend_token_id(asset_id)?);
Self::deposit_event(Event::<T>::InterestAccrued {
underlying... | feat(loans): update capacity model on exchange rate updates | null | interlay/interbtc | Apache License 2.0 | Rust |
@@ -364,6 +364,17 @@ impl<Artifacts: ArtifactOutput> Project<Artifacts> {
self.ignored_error_codes.clone(),
))
}
+
+ /// Removes the project's artifacts and cache file
+ pub fn cleanup(&self) -> Result<()> {
+ if self.paths.cache.exists() {
+ std::fs::remove_dir_all(&self.paths.cache)?;
+ }
+ if self.paths.artifacts.ex... | feat(solc): add clean up function | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -3,17 +3,21 @@ package jadx.gui.ui.treenodes;
import java.io.File;
import java.io.IOException;
import java.util.Comparator;
+import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
+import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;
import javax.swing.Icon;
import java... | feat(gui): add native libs info to summary | null | skylot/jadx | Apache License 2.0 | Java |
@@ -108,7 +108,7 @@ func (s *SealosInstaller) JoinNodes() {
_ = SSHConfig.CmdAsync(node, ipvsCmd) // create ipvs rules before we join node
cmd := s.Command(Version, JoinNode)
//create lvscare static pod
- yaml := ipvs.LvsStaticPodYaml(VIP, s.Masters, "")
+ yaml := ipvs.LvsStaticPodYaml(VIP, MasterIPs, "")
_ = SSHConfig... | feat(develop): fix join error | null | fanux/sealos | Apache License 2.0 | Go |
import org.jivesoftware.smack.sasl.javax.*;
import org.jivesoftware.smack.tcp.*;
import org.jivesoftware.smackx.caps.*;
+import org.jivesoftware.smackx.disco.*;
import org.json.simple.*;
import org.jxmpp.jid.*;
import org.jxmpp.jid.impl.*;
@@ -162,6 +163,14 @@ public XmppProtocolProvider(AccountID accountID)
new Operat... | feat: advertise support for session restart | null | jitsi/jicofo | Apache License 2.0 | Java |
@@ -806,7 +806,9 @@ export class Beam extends Element {
drawStems() {
this.notes.forEach(note => {
if (note.getStem()) {
+ this.context.openGroup('stem', note.getAttribute('id') + '-stem');
note.getStem().setContext(this.context).draw();
+ this.context.closeGroup();
}
}, this);
}
@@ -844,18 +846,16 @@ export class Beam... | feat(SVG): create SVG group with class for beamed note stems, put beam SVG into <g> node | null | opensheetmusicdisplay/opensheetmusicdisplay | BSD 3-Clause New or Revised License | JavaScript |
@@ -20,7 +20,12 @@ import android.net.Uri;
import io.branch.indexing.BranchUniversalObject;
import io.branch.referral.Branch;
import io.branch.referral.BranchError;
+import io.branch.referral.BranchViewHandler;
import io.branch.referral.SharingHelper;
+import io.branch.referral.util.CommerceEvent;
+import io.branch.ref... | feat: added commerce events to android | null | branchmetrics/cordova-ionic-phonegap-branch-deep-linking-attribution | MIT License | Java |
@@ -30,6 +30,8 @@ class ElecMeter(Hashable, Electric):
store : nilmtk.DataStore
+ cache : nilmtk.TmpDataStore
+
key : string
key into nilmtk.DataStore to access data.
@@ -51,6 +53,7 @@ class ElecMeter(Hashable, Electric):
self.metadata = {} if metadata is None else metadata
assert isinstance(self.metadata, dict)
self.s... | feat: ElecMeter now uses a TmpDataStore as cache to keep the statistics results in a separate file | null | nilmtk/nilmtk | Apache License 2.0 | Python |
+package com.ibm.watson.developer_cloud.http;
+
+import java.net.Proxy;
+
+/**
+ * Options class for configuring the HTTP client.
+ */
+public class HttpConfigOptions {
+ private boolean disableSslVerification;
+ private Proxy proxy;
+
+ boolean shouldDisableSslVerification() {
+ return this.disableSslVerification;
+ }... | feat(core): Add model for specifying client config options | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -165,7 +165,7 @@ function podlove_setup_default_media()
$feed->slug = 'mp3';
$feed->enable = 1;
$feed->discoverable = 1;
- $feed->limit_items = Model\Feed::ITEMS_WP_LIMIT;
+ $feed->limit_items = Model\Feed::ITEMS_GLOBAL_LIMIT;
$feed->embed_content_encoded = 1;
$feed->save();
}
| feat: default feed uses global feed item limit | null | podlove/podlove-publisher | MIT License | PHP |
@@ -33,12 +33,16 @@ open class FullscreenButton(core: Core) : ButtonPlugin(core) {
}
open fun bindCoreEvents() {
- listenTo(core, InternalEvent.DID_CHANGE_ACTIVE_PLAYBACK.value, Callback.wrap { _ ->
+ val bindEventsCallback = Callback.wrap {
bindPlaybackEvents()
updateState()
- })
- listenTo(core, InternalEvent.DID_ENT... | feat(fullscreen_btn_listeners): Added listener to DID_CHANGE_ACTIVE_CONTAINER | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -13,6 +13,10 @@ type TextPrinter interface {
// Sprintf formats according to a format specifier and returns the resulting string.
Sprintf(format string, a ...interface{}) string
+ // Sprintfln formats according to a format specifier and returns the resulting string.
+ // Spaces are always added between operands and ... | feat(printer-interface): add `Sprintfln` and `Printfln` to the interface | null | pterm/pterm | MIT License | Go |
@@ -422,6 +422,11 @@ func (options *ImportOptions) Run() error {
}
options.GetReporter().PushedGitRepository(options.RepoURL)
}
+
+ err = options.AddBotAsCollaborator()
+ if err != nil {
+ return err
+ }
}
if options.DryRun {
@@ -707,34 +712,32 @@ func (options *ImportOptions) CreateNewRemoteRepository() error {
repoUR... | feat: add bot as repo collaborator during import | null | jenkins-x/jx | Apache License 2.0 | Go |
@@ -98,7 +98,6 @@ Starts your project in development mode:
Open terminal instead of logs:
- Use "devspace dev -t" for opening a terminal
-- Use "devspace dev -i" for opening a terminal and overriding container entrypoint with sleep command
#######################################################`,
RunE: func(cobraCmd *c... | feat: print logs as well as sync on --print-sync | null | loft-sh/devspace | Apache License 2.0 | Go |
@@ -205,6 +205,12 @@ impl ClientBuilder {
.remove(&Api::GetInfo)
.unwrap_or_else(|| Duration::from_millis(2000)),
);
+ api_timeout.insert(
+ Api::GetPeers,
+ self.api_timeout
+ .remove(&Api::GetPeers)
+ .unwrap_or_else(|| Duration::from_millis(2000)),
+ );
api_timeout.insert(
Api::GetHealth,
self.api_timeout
| feat: default timeout for get_peers is 2s | null | iotaledger/iota.rs | Apache License 2.0 | Rust |
@@ -36,6 +36,8 @@ class GlobalVarsTwigExtension extends Twig_Extension implements Twig_Extension_G
return [
'PATH_SITE' => PATH['site'],
'PATH_PLUGINS' => PATH['plugins'],
+ 'PATH_ACCOUNTS' => PATH['accounts'],
+ 'PATH_TOKENS' => PATH['tokens'],
'PATH_THEMES' => PATH['themes'],
'PATH_ENTRIES' => PATH['entries'],
'PATH_... | feat(core): add new Global Vars PATH_ACCOUNTS and PATH_TOKENS for Twig Templates | null | flextype/flextype | MIT License | PHP |
@@ -24,6 +24,8 @@ use crate::pipelines::processors::sources::sync_source::SyncSource;
use crate::pipelines::processors::sources::SyncSourcer;
use crate::sessions::QueryContext;
+
+#[allow(dead_code)]
pub struct SyncReceiverSource {
receiver: Receiver<Result<DataBlock>>,
}
| feat(query): deprecate clickhouse's tcp protocol support | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -150,13 +150,26 @@ class Result extends BaseResult implements ResultInterface
*
* @return object|boolean|Entity
*/
- protected function fetchObject(string $className = 'stdClass')
+ protected function fetchObject(string $className = \stdClass::class)
{
- if (is_subclass_of($className, Entity::class))
+ $row = oci_fe... | feat: add fetchObject method | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -2,6 +2,13 @@ package org.burningokr.mapper.okr;
import org.burningokr.dto.okr.NoteDto;
import org.burningokr.model.okr.Note;
+import org.junit.Assert;
+import org.junit.Before;
+import org.junit.Test;
+
+import java.time.LocalDateTime;
+import java.util.Date;
+import java.util.UUID;
import static org.junit.Assert.*... | feat(notes): added tests | null | burningokr/burningokr | Apache License 2.0 | Java |
@@ -221,10 +221,33 @@ typedef __m128i GI_INT64_t;
return NAME(a b, 0); \
}
#if !defined(__SSE3__)
-GI_FORCEINLINE __m128i _sse2_mm_alignr_epi8(__m128i b, __m128i a, int imm8) {
- int imm2 = sizeof(__m128i) - imm8;
- return _mm_or_si128(_mm_srli_si128(a, imm8), _mm_slli_si128(b, imm2));
-}
+#ifdef __cplusplus
+#define _... | feat(gi/x86): fix _mm_slli_si128 build at clang | null | megengine/megengine | Apache License 2.0 | C |
@@ -23,153 +23,178 @@ import (
"go.uber.org/goleak"
)
-func TestString(t *testing.T) {
+func TestAtol(t *testing.T) {
+ type want struct {
+ want Level
+ }
type test struct {
name string
- level Level
- want string
- }
-
- tests := []test{
- {
- name: "returns DEBUG",
- level: DEBUG,
- want: "DEBUG",
- },
-
- {
- name:... | feat: level pacakge test | null | vdaas/vald | Apache License 2.0 | Go |
@@ -53,6 +53,8 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options:
factory = { source, mimeType, options -> ExoPlayerPlayback(source, mimeType, options) })
}
+ private var isVideoCompleted = false
+
private val ONE_SECOND_IN_MILLIS: Int = 1000
private val DEFAULT_MIN_DVR_SIZE = 60
private... | feat(exoplayer): dont seek when video is complete | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -64,7 +64,22 @@ export class TimelineGrid extends React.Component<ITimelineGridProps> {
this.ctx.font = (10 * this.pixelRatio).toString() + 'px Ethica, Arial, sans-serif'
this.ctx.fillStyle = 'rgb(0,0,0)'
- let step = 30 * this.props.timeScale * this.pixelRatio
+ let secondsStep = 5 * 60
+ if ((this.props.timeScale ... | feat: introduce proper grids for various scaling sizes | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -134,6 +134,21 @@ func (manager *SNetworkManager) AllowCreateItem(ctx context.Context, userCred mc
return db.IsAdminAllowCreate(userCred, manager)
}
+func (self *SNetwork) getMtu() int {
+ baseMtu := options.Options.DefaultMtu
+
+ wire := self.GetWire()
+ if wire != nil {
+ baseMtu = wire.Mtu
+ if IsOneCloudVpcResou... | feat(region): networks: add getMtu method | null | yunionio/yunioncloud | Apache License 2.0 | Go |
-import dedent from 'dedent-js';
-import path from 'path';
-import { Command } from 'denali-cli';
-import AddonBlueprint from '../blueprints/addon';
-
-export default class AddonCommand extends Command {
-
- static commandName = 'addon';
- static description = 'Create a new denali addon';
- static longDescription = ded... | feat(commands): remove addon command (just run the blueprint) | null | denali-js/core | Apache License 2.0 | TypeScript |
@@ -2,11 +2,14 @@ package com.chesire.malime.injection.modules
import com.chesire.malime.core.api.AuthApi
import com.chesire.malime.core.api.LibraryApi
+import com.chesire.malime.core.api.UserApi
import com.chesire.malime.kitsu.api.auth.KitsuAuth
import com.chesire.malime.kitsu.api.library.KitsuLibrary
+import com.ches... | feat: bind the userapi | null | chesire/nekome | Apache License 2.0 | Kotlin |
@@ -5,6 +5,8 @@ import (
"errors"
"fmt"
"io"
+ "runtime/debug"
+ "strings"
"go.uber.org/zap"
"golang.org/x/sync/errgroup"
@@ -78,6 +80,25 @@ func (c *Client) onMessage(b *bin.Buffer) error {
return c.handleUpdates(b)
}
+// getVersion optimistically gets current client version.
+//
+// Does not handle replace directives... | feat(telegram): print module version in logs | null | gotd/td | MIT License | Go |
@@ -291,13 +291,13 @@ return [
/** Collections */
Exception::COLLECTION_NOT_FOUND => [
'name' => Exception::COLLECTION_NOT_FOUND,
- 'description' => 'The requested collection could not be found.',
+ 'description' => 'Collection with the requested ID could not be found.',
'code' => 404,
],
Exception::COLLECTION_ALREADY_... | feat: update descriptions of database errors | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -15,14 +15,12 @@ from ....indy.holder import IndyHolder
from ....indy.models.xform import indy_proof_req_preview2indy_requested_creds
from ....messaging.decorators.attach_decorator import AttachDecorator
from ....messaging.responder import BaseResponder
-from ....multitenant.base import BaseMultitenantManager
from .... | feat: out of band manager use route manager | null | hyperledger/aries-cloudagent-python | Apache License 2.0 | Python |
@@ -103,7 +103,7 @@ protected string GetCustomScriptHtml(HttpRequest request)
}
var uriString = System.Net.WebUtility.HtmlEncode(TransformToExternalPath(CustomJavaScriptPath, request));
- return $"<script src=\"{uriString}\"></script>";
+ return $"<script type=\"module\" src=\"{uriString}\"></script>";
}
/// <summary>G... | feat: support modules for CustomJavaScriptPath | null | ricosuter/nswag | MIT License | C# |
@@ -178,7 +178,7 @@ const ArticleDetail = () => {
}
useEffect(() => {
- if (shouldShowWall && window.location.hash && article) {
+ if (window.location.hash && article) {
jump('#comments', { offset: -10 })
}
}, [mediaHash])
@@ -323,6 +323,15 @@ const ArticleDetail = () => {
{translate && titleTranslation ? titleTranslat... | feat(wall): always show comment area; change the timing of login wall; | null | thematters/matters-web | Apache License 2.0 | TypeScript |
package pterm
import (
+ "encoding/csv"
"strings"
"github.com/pterm/pterm/internal"
@@ -62,6 +63,15 @@ func (t Table) WithData(data [][]string) *Table {
return &t
}
+// WithCSV return a new Table with specified Data extracted from CSV.
+func (t Table) WithCSV(reader *csv.Reader) *Table {
+ if records, err := reader.Rea... | feat: add csv table support | null | pterm/pterm | MIT License | Go |
@@ -10,20 +10,39 @@ use crate::UseFutureDep;
/// will be allowed to continue
///
/// - dependencies: a tuple of references to values that are PartialEq + Clone
-pub fn use_effect<'a, T: 'static, F: Future<Output = T> + 'static, D: UseFutureDep>(
- cx: &'a ScopeState,
- dependencies: D,
- future: impl FnOnce(D::Out) -> ... | feat: useeffect | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -76,7 +76,15 @@ const auditedCerts = {
],
portuguese: [
'responsive-web-design',
- 'javascript-algorithms-and-data-structures'
+ 'javascript-algorithms-and-data-structures',
+ 'front-end-development-libraries',
+ 'data-visualization',
+ 'back-end-development-and-apis',
+ 'quality-assurance',
+ 'scientific-computing-... | feat: enable translated certs | null | freecodecamp/freecodecamp | BSD 3-Clause New or Revised License | JavaScript |
@@ -13,6 +13,10 @@ from .models import SalesOrder, SalesOrderLineItem
from .models import SalesOrderAllocation
+class PurchaseOrderLineItemInlineAdmin(admin.StackedInline):
+ model = PurchaseOrderLineItem
+
+
class PurchaseOrderAdmin(ImportExportModelAdmin):
list_display = (
@@ -29,6 +33,10 @@ class PurchaseOrderAdmin(... | feat(admin): Show the line items on the PO on the Admin Site | null | inventree/inventree | MIT License | Python |
@@ -374,7 +374,6 @@ typedef void (*FuncPtr)(void *);
LCUI_END_HEADER
#include <LCUI/util.h>
-#include <LCUI/worker.h>
#include <LCUI/main.h>
#endif /* LCUI_H */
| feat(mainloop): set mainloop to processing only one task per frame | null | lc-soft/lcui | MIT License | C |
@@ -2,7 +2,7 @@ open class Player: BaseObject {
@objc open var playbackEventsToListen: [String] = []
private var playbackEventsListenIds: [String] = []
- @objc private(set) open var core: Core?
+ @objc private(set) var core: Core?
static var hasAlreadyRegisteredPlugins = false
static var hasAlreadyRegisteredPlaybacks =... | feat: change core visibility and adjust the player creating needed vars | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -2,6 +2,7 @@ import styles from './waves.module.css'
import cv from 'css-var'
import waveSvg from './assets/wave.svg'
import waveShadowedSvg from './assets/wave-shadowed.svg'
+import codeTheme from 'react-syntax-highlighter/dist/esm/styles/hljs/vs2015'
export const waves = ({
backgroundImage,
@@ -34,6 +35,7 @@ expor... | feat: use vs2015 code theme in waves | null | saasify-sh/saasify | MIT License | JavaScript |
@@ -502,13 +502,14 @@ class TartifletteVisitor(Visitor):
return
self._reset_error_path_and_continue_child()
- self._internal_ctx.move_out()
try:
self._events[self.OUT][element.libgraphql_type](
element, *args, **kwargs
)
except KeyError:
pass
+ finally:
+ self._internal_ctx.move_out()
def update(self, event, element: _... | feat(visitor): move out node after processing node type out function | null | tartiflette/tartiflette | MIT License | Python |
@@ -229,10 +229,14 @@ namespace acl
inline void ACL_SIMD_CALL vector_unaligned_write(Vector4_32Arg0 input, float* output)
{
+#if defined(ACL_SSE2_INTRINSICS)
+ _mm_storeu_ps(output, input);
+#else
output[0] = vector_get_x(input);
output[1] = vector_get_y(input);
output[2] = vector_get_z(input);
output[3] = vector_get_w... | feat(vector4): optimize unaligned write for SSE2 | null | nfrechette/acl | MIT License | C |
@@ -36,7 +36,6 @@ class WebViewContainer extends StatefulWidget {
class _CardContainerState extends State<WebViewContainer> {
WebViewController _webViewController;
double _contentHeight = cardContentMinHeight;
- String webCardUrl;
bool active;
Function hide;
@@ -45,7 +44,6 @@ class _CardContainerState extends State<Web... | feat: removed refreshTokenChannel due to bugginess | null | ucsd/campus-mobile | MIT License | Dart |
@@ -152,7 +152,7 @@ class Forms
break;
// Media select field
case 'media_select':
- $form_element = Form::select($form_element_name, $this->getMediaList($request->getQueryParams()['id'], false), $form_value, $property['attributes']);
+ $form_element = $this->mediaSelectField($form_element_name, $this->getMediaList($req... | feat(core): add mediaSelectField - Forms | null | flextype/flextype | MIT License | PHP |
@@ -242,19 +242,9 @@ def _generic(name: str,
elif kind == 'pipeline':
- params_yml, = pretrained_subdir.glob('*/*/params.yml')
-
- config_yml = params_yml.parents[2] / 'config.yml'
- with open(config_yml, 'r') as fp:
- config = yaml.load(fp, Loader=yaml.SafeLoader)
-
- from pyannote.core.utils.helper import get_class_b... | feat: add new "pyannote.audio.pipeline.utils.load_pretrained_pipeline" | null | pyannote/pyannote-audio | MIT License | Python |
@@ -100,7 +100,10 @@ export default function createHttpMiddleware({
let abortController: any
if (timeout || getAbortController || _abortController)
// eslint-disable-next-line
- abortController = (getAbortController ? getAbortController(): null) || _abortController || new AbortController()
+ abortController =
+ (getAbo... | feat(http-middleware): add retries when JSON parse fails | null | commercetools/nodejs | MIT License | JavaScript |
@@ -136,9 +136,9 @@ impl<'a> GraphiQLSource<'a> {
React.createElement(GraphiQL, {
fetcher: GraphiQL.createFetcher({
url: %GRAPHIQL_URL%,
+ fetch: customFetch,
subscriptionUrl: %GRAPHIQL_SUBSCRIPTION_URL%,
headers: %GRAPHIQL_HEADERS%,
- fetch: customFetch,
}),
defaultEditorToolsVisibility: true,
}),
@@ -210,10 +210,15 @... | feat: added credentials option | null | async-graphql/async-graphql | Apache License 2.0 | Rust |
@@ -23,11 +23,11 @@ final class Flextype
public const VERSION = '0.9.16';
/**
- * The Flextype Application instances.
+ * The Flextype instance.
*
* @var array
*/
- private static array $instances = [];
+ private static ?Flextype $instance = null;
/**
* The Flextype Application.
@@ -94,18 +94,19 @@ final class Flextype... | feat(flextype): simplefy Flextype core singleton class | null | flextype/flextype | MIT License | PHP |
+use codec::Encode;
use sp_std::{vec, vec::*};
+use t3rn_types::Bytes;
pub type StrLike = Vec<u8>;
@@ -53,6 +55,17 @@ pub fn trim_whitespace(input_string: StrLike) -> StrLike {
result
}
+pub fn match_side_effect(kind: &StrLike) -> Result<Bytes, &'static str> {
+ match &kind[..] {
+ b"Transfer" => Ok(b"tran".encode()),
... | feat: match side effect to encoded action | null | t3rn/t3rn | Apache License 2.0 | Rust |
@@ -412,7 +412,6 @@ abstract class Element extends Node
Style pStyle = Style({
'width': renderMargin.size.width.toString() + 'px',
'height': renderMargin.size.height.toString() + 'px',
- 'backgroundColor': '#fff',
});
stickyPlaceholder = initRenderConstrainedBox(stickyPlaceholder, pStyle);
stickyPlaceholder = initRende... | feat: remove placeholder background | null | openkraken/kraken | Apache License 2.0 | Dart |
use crate::{
column,
- row_group::{self, ColumnName, Predicate, RowGroup},
+ row_group::{self, ColumnName, Literal, Predicate, RowGroup},
schema::{AggregateType, ColumnType, LogicalDataType, ResultSchema},
value::{OwnedValue, Scalar, Value},
};
use arrow::record_batch::RecordBatch;
use data_types::{chunk_metadata::Chun... | feat: add ability validate predicate compatible with schema | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -251,7 +251,7 @@ class="w-full relative">
</div>
<div class="w-full rounded-t-md p-2.5 border border-secondary-200 bg-white transform transition-all
- relative sm:rounded-lg sm:shadow-md sm:w-48"
+ relative sm:rounded-lg sm:shadow-md sm:w-48 dark:bg-secondary-800 dark:border-secondary-600"
x-show="showPicker"
tabind... | feat: add time picker dark mode | null | wireui/wireui | MIT License | PHP |
@@ -1354,21 +1354,21 @@ void dht::DhtNode::bootstrap(asio::yield_context yield)
asio::ip::udp::endpoint my_endpoint;
asio::ip::udp::endpoint bootstrap_ep;
- // Ad-hoc circular iteration over @bootstraps@
- std::array<std::string,3> bootstraps {"router.bittorrent.com", "router.utorrent.com", "router.transmissionbt.com"}... | feat(bittorrent/dht): Try all bs nodes, sleep, try again | null | equalitie/ouinet | MIT License | C++ |
import json
from hashlib import sha1
+from pathlib import Path
+from hypothesis.reporting import reporter as hy_reporter
from py.path import local
+import brownie
from brownie._config import CONFIG
from brownie.project.scripts import _get_ast_hash
from brownie.test import _apply_given_wrapper, coverage, output
@@ -69,6... | feat: code highlighting and formatting to hypothesis output | null | eth-brownie/brownie | MIT License | Python |
//! Ring buffer of queries that have been run with some brief information
-use std::{collections::VecDeque, sync::Arc};
+use std::{
+ collections::VecDeque,
+ sync::{atomic, Arc},
+ time::Duration,
+};
use parking_lot::Mutex;
use time::{Time, TimeProvider};
@@ -16,6 +20,10 @@ pub struct QueryLogEntry {
/// Time at whic... | feat: add support for setting complete time | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
#![deny(rust_2018_idioms)]
+use http::header::CONTENT_ENCODING;
use tracing::{debug, error, info};
use delorean::storage::write_buffer_database::{Error as DatabaseError, WriteBufferDatabases};
use delorean_line_parser::parse_lines;
-use bytes::BytesMut;
+use bytes::{Bytes, BytesMut};
use futures::{self, StreamExt};
use... | feat: support gzip content-encoding for api/v2/write endpoing | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -109,6 +109,7 @@ export default Vue.extend({
this.$refs.blurTarget !== void 0 && this.$refs.blurTarget.focus()
this.isActive === false && this.stepper.goTo(this.step.name)
},
+
keyup (e) {
if (e.keyCode === 13 && this.isActive === false) {
this.stepper.goTo(this.step.name)
@@ -150,16 +151,23 @@ export default Vue.ex... | feat(QStepper): further tweak to StepHeader | null | quasarframework/quasar | MIT License | JavaScript |
package com.codingame.gameengine.runner;
-import java.io.BufferedReader;
import java.io.File;
-import java.io.FileReader;
import java.io.IOException;
+import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
+import org.apache.commons.io.FileUtils;
+
+import... | feat(sdk): solo game runner processes json files | null | codingame/codingame-game-engine | MIT License | Java |
@@ -11,6 +11,14 @@ use Appwrite\Utopia\Response\Model;
use GraphQL\Error\ClientAware;
use GraphQL\Error\DebugFlag;
use GraphQL\Language\Parser;
+use GraphQL\Language\AST\BooleanValueNode;
+use GraphQL\Language\AST\FloatValueNode;
+use GraphQL\Language\AST\IntValueNode;
+use GraphQL\Language\AST\ListValueNode;
+use Grap... | feat: added support for JSON types | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -156,7 +156,7 @@ on_dispatch(websockets::dati *ws)
if (STREQ("READY", ws->payload.event_name))
{
ws->status = CONNECTED;
- ws->reconnect_attempts = 0;
+ ws->reconnect_attempts = 0; // resets
D_PUTS("Succesfully started a Discord session!");
json_scanf(ws->payload.event_data, sizeof(ws->payload.event_data),
@@ -173,8... | feat: add on_invalid_session d field check for indication on resumable or fresh connections | null | cee-studio/orca | MIT License | C++ |
@@ -46,6 +46,10 @@ class Plus extends \Podlove\Modules\Base
public static function base_url()
{
- return apply_filters('podlove_plus_base_url', 'http://localhost:4000');
+ if (defined('PODLOVE_PLUS_BASE_URL')) {
+ return PODLOVE_PLUS_BASE_URL;
+ } else {
+ return apply_filters('podlove_plus_base_url', 'https://plus.pod... | feat(plus): allow overriding of base URL with constant | null | podlove/podlove-publisher | MIT License | PHP |
import View from './components/View'
+import ScrollView from './components/ScrollView'
import Swiper from './components/Swiper'
import Icon from './components/Icon'
import Text from './components/Text'
@@ -15,6 +16,7 @@ import Image from './components/Image'
export {
View,
+ ScrollView,
Swiper,
Icon,
Text,
| feat(tcr): add component ScrollView | null | nervjs/taro | MIT License | JavaScript |
@@ -28,6 +28,10 @@ const useStyles = makeStyles((theme: Theme) => ({
paper: {
padding: 20,
borderRadius: 10,
+ cursor: "pointer",
+ '&:hover': {
+ backgroundColor: "#35393C",
+ },
},
barBackground: {
background: theme.palette.primary.dark,
@@ -102,7 +106,8 @@ const PlayerCard: React.FC<{ playerData: PlayerData }> = ({ ... | feat(menu): made entire player card clickable | null | tabarra/txadmin | MIT License | TypeScript |
@@ -6,10 +6,7 @@ import net.dv8tion.jda.api.entities.Guild
import net.dv8tion.jda.api.entities.Member
import net.dv8tion.jda.api.entities.MessageChannel
import net.dv8tion.jda.api.entities.User
-import java.util.concurrent.ExecutorService
-import java.util.concurrent.Executors
-import java.util.concurrent.ScheduledExec... | feat: switch to taskmanager | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -14,7 +14,7 @@ WEB_UI_DIR=${SCRIPT_DIR}/web-ui
GITHUB_INTEGRATION_DIR=${SCRIPT_DIR}/github_integration
# Build server
-cd ${SERVER_DIR} && ./gradlew build
+cd ${SERVER_DIR} && ./gradlew build -x test
# Build web ui
cd ${WEB_UI_DIR} && yarn && yarn build
@@ -22,7 +22,7 @@ cd ${WEB_UI_DIR} && yarn && yarn build
if [[ ... | feat: build-and-run.sh skips tests when building the server | null | zalando/zally | MIT License | Shell |
@@ -116,6 +116,10 @@ class Workspace:
self.onboarding = {
'label': _(self.onboarding_doc.title),
'subtitle': _(self.onboarding_doc.subtitle),
+ 'success': _(self.onboarding_doc.success_message),
+ 'docs_url': self.onboarding_doc.documentation_url,
+ 'user_can_dismiss': self.onboarding_doc.user_can_dismiss,
+ 'user_can_... | feat: send onboarding config from desktop | null | frappe/frappe | MIT License | Python |
@@ -13,6 +13,7 @@ use ioxd_ingester::create_ingester_server_type;
use object_store::DynObjectStore;
use object_store_metrics::ObjectStoreMetrics;
use observability_deps::tracing::*;
+use panic_logging::make_panics_fatal;
use std::sync::Arc;
use thiserror::Error;
@@ -94,6 +95,9 @@ pub async fn command(config: Config) ->... | feat(ingester): fatal panics | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -40,15 +40,7 @@ mod main_index;
mod synonyms_index;
mod words_index;
-#[derive(Deserialize)]
-enum UpdateOwned {
- DocumentsAddition(Vec<rmpv::Value>),
- DocumentsDeletion(Vec<DocumentId>),
- SynonymsAddition(BTreeMap<String, Vec<String>>),
- SynonymsDeletion(BTreeMap<String, Option<Vec<String>>>),
-}
-
-#[derive(Se... | feat: Unify the Update and UpdateOwned types | null | meilisearch/meilisearch | MIT License | Rust |
@@ -178,6 +178,7 @@ class LonaServer:
def set_worker_pool(self, worker_pool):
self._worker_pool = worker_pool
+ # properties ##############################################################
@property
def loop(self):
return self._loop
@@ -186,6 +187,15 @@ class LonaServer:
def worker_pool(self):
return self._worker_pool
+... | feat(server): add property to get and set template dirs | null | lona-web-org/lona | MIT License | Python |
@@ -9,7 +9,9 @@ const CONFIG = {
*/
module.exports = {
defaultValue: true,
- validation: 'boolean',
+ validation: (val) => {
+ return typeof val === 'boolean' || typeof val === 'object';
+ },
configWebpack: (config, value, context) => {
const { command } = context;
@@ -18,6 +20,11 @@ module.exports = {
config.node
.set... | feat: support config by object | null | raxjs/rax-app | MIT License | JavaScript |
@@ -98,7 +98,7 @@ class Driver implements ExtendedCacheItemPoolInterface, AggregatablePoolInterfac
* Force write
*/
try {
- return $this->writefile($file_path, "<?php\n" . "return " . var_export($data, true) . ";\n", $this->getConfig()->isSecureFileManipulation());
+ return $this->writefile($file_path, serializers()->p... | feat(cache): use built-in serializer for phparrays instead of vardumper | null | flextype/flextype | MIT License | PHP |
@@ -24,5 +24,9 @@ extension SolanaSDK {
public var total: UInt64 {
transaction + accountBalances
}
+
+ public static var zero: Self {
+ .init(transaction: 0, accountBalances: 0)
+ }
}
}
| feat: convenient method zero | null | p2p-org/solana-swift | MIT License | Swift |
@@ -552,7 +552,7 @@ class TestInstagramOEmbed(TestCase):
request = urlopen.call_args[0][0]
self.assertEqual(
request.get_full_url(),
- "https://graph.facebook.com/v9.0/instagram_oembed?url=https%3A%2F%2Finstagr.am%2Fp%2FCHeRxmnDSYe%2F&format=json"
+ "https://graph.facebook.com/v11.0/instagram_oembed?url=https%3A%2F%2Fi... | feat: update facebook & instagram oembed test cases | null | wagtail/wagtail | BSD 3-Clause New or Revised License | Python |
@@ -7,7 +7,7 @@ import {useWorkspace} from '../../workspace'
import {useRovingFocus} from '../../../components/rovingFocus'
import {Tool} from '../../../config'
import {ToolMenu as DefaultToolMenu} from './tools/ToolMenu'
-import {WorkspaceMenu} from './workspace'
+import {WorkspaceMenuButton} from './workspace'
const ... | feat(studio): add `WorkspaceMenuButton` in `NavDrawer` | null | sanity-io/sanity | MIT License | TypeScript |
@@ -36,7 +36,6 @@ use crate::pipelines::processors::transforms::group_by::PolymorphicKeysHelper;
use crate::pipelines::processors::transforms::TransformMarkJoin;
use crate::pipelines::processors::AggregatorParams;
use crate::pipelines::processors::AggregatorTransformParams;
-use crate::pipelines::processors::MarkJoinCo... | feat(query): fix convert grouping processor hang | null | datafuselabs/databend | Apache License 2.0 | Rust |
mod exchange;
+use core::marker::PhantomData;
use core::time::Duration;
use minicbor::bytes::ByteSlice;
use minicbor::{Decode, Encode};
@@ -21,6 +22,14 @@ use crate::TypeTag;
pub const MAX_CREDENTIAL_VALIDITY: Duration = Duration::from_secs(6 * 3600);
+/// Type to represent data of verified credentials.
+#[derive(Debug... | feat(rust): track verification status in types | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -78,6 +78,8 @@ typedef void DetachRenderer();
typedef void BeforeRendererAttach();
/// Do the clean work after the renderer has attached.
typedef void AfterRendererAttach();
+/// Return the targetId of current element.
+typedef int GetTargetId();
/// Delegate methods passed to renderBoxModel for actions involved wit... | feat: add getTargetId in elementDelegate | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -46,8 +46,8 @@ fn build_node(expr: &Expr) -> Result<RPCNode> {
match expr {
Expr::Cast { expr, data_type } => match data_type {
sqlparser::ast::DataType::Custom(ident) => {
- if !ident.0.is_empty() {
if let Some(Ident { value, .. }) = ident.0.get(0) {
+ // See https://docs.influxdata.com/influxdb/v1.8/query_language... | feat: add support for ::field and ::tag | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -203,20 +203,16 @@ open class AVFoundationPlayback: Playback {
open override func play() {
guard canPlay else { return }
-
- if player == nil {
- setupPlayer()
- }
-
+ setupPlayerIfNeeded()
trigger(.willPlay)
player?.play()
+ updateInitialStateIfNeeded()
+ }
- if let currentItem = player?.currentItem {
- if !current... | feat: resolve play complexity | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -62,4 +62,44 @@ class AuditingTest extends AuditingTestCase
$this->assertSame(1, User::query()->count());
$this->assertSame(1, Audit::query()->count());
}
+
+ /**
+ * @test
+ */
+ public function itWillNotAuditTheRetrievingEvent()
+ {
+ $this->app['config']->set('audit.console', true);
+
+ factory(User::class)->crea... | feat(Auditing): add tests for the retrieved event | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -346,7 +346,7 @@ trait Auditable
*/
protected function getEventHandlerMethod(string $event): string
{
- return 'audit'.Str::studly($event).'Attributes';
+ return sprintf('audit%sAttributes', Str::studly($event));
}
/**
| feat(Auditable): use sprintf() | null | owen-it/laravel-auditing | MIT License | PHP |
*/
export const whenIdle = (callback: () => void) => {
if ('requestIdleCallback' in window) {
- window.requestIdleCallback(callback);
+ window.requestIdleCallback(callback, { timeout: 500 });
} else {
setTimeout(callback, 300);
}
| feat: Added 500ms timeout for requestIdleCallback to ensure it runs | null | guardian/dotcom-rendering | Apache License 2.0 | TypeScript |
@@ -6,10 +6,15 @@ from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
from frappe.utils import cint
+from frappe.model.naming import append_number_if_name_exists
class NumberCard(Document):
- pass
+ def autoname(self):
+ if not self.name:
+ self.name = self.label
+ if frappe... | feat: autoname based on label | null | frappe/frappe | MIT License | Python |
@@ -98,7 +98,7 @@ pub enum ParseError {
#[diagnostic(
code(nu::parser::module_not_found),
url(docsrs),
- help("module files need to be available before your script is run")
+ help("module files and their paths must be available before your script is run as parsing occurs before anything is evaluated")
)]
ModuleNotFound... | feat(errors): more explicit module_or_overlay_not_found_error help message | null | nushell/nushell | MIT License | Rust |
@@ -35,6 +35,10 @@ public final class RequestHeaders {
return headers.get(name);
}
+ public String header(String name, String defaultValue) {
+ return headers.getOrDefault(name, defaultValue);
+ }
+
public Map<String, String> headers() {
return headers;
}
| feat(core): Allow specifying default value in RequestHeaders | 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.