diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
use std::fmt;
use std::marker::PhantomData;
-use common_datavalues::arrays::DFUInt32Array;
use common_datavalues::chrono::DateTime;
use common_datavalues::chrono::Datelike;
use common_datavalues::chrono::TimeZone;
@@ -77,12 +76,12 @@ where T: NumberResultFunction + Clone + Sync + Send + 'static
fn eval(&self, columns: ... | feat: using DataColumn::Constant replace array | null | datafuselabs/databend | Apache License 2.0 | Rust |
+#include <cmath>
+#include <iostream>
+#include <stdexcept>
+
+// will find the greatest common denominator of two ints integers
+// Euclidean algorithm can be found here
+// https://en.wikipedia.org/wiki/Euclidean_algorithm
+int gcd(int num1, int num2) {
+ if (num1 <= 0 | num2 <= 0) {
+ throw std::domain_error("Eucli... | feat: add euclidean algorithm implementation of gcd | null | thealgorithms/c-plus-plus | MIT License | C++ |
@@ -356,8 +356,10 @@ open class MediaControl(core: Core, pluginName: String = name) : UICorePlugin(co
}
override fun show() {
+ if(visibility != Visibility.VISIBLE) {
show(defaultShowTimeout)
}
+ }
class MediaControlGestureDetector : GestureDetector.OnGestureListener {
override fun onDown(e: MotionEvent?) = true
| feat: block show when view is already visible | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
import React from 'react';
-import { checkPropTypes, oneOf } from 'prop-types';
+import { checkPropTypes, oneOf, string } from 'prop-types';
import styled, { css } from 'styled-components';
import { margins, widths, heights } from '@gympass/yoga-system';
@@ -52,8 +52,8 @@ const StyledSkeleton = styled.div`
`}
`;
-funct... | feat(skeleton): add testId | null | gympass/yoga | MIT License | JavaScript |
@@ -15,12 +15,24 @@ var _ chronograf.SourcesStore = &SourcesStore{}
// SourcesBucket is the bolt bucket used to store source information
var SourcesBucket = []byte("Sources")
+var defaultSource = &chronograf.Source{
+ ID: 0,
+ Name: "autogen",
+ Type: "influx",
+ URL: "http://localhost:9999",
+ Default: true,
+}
+
// S... | feat(chronograf/bolt): add default source | null | influxdata/influxdb | MIT License | Go |
import {getNamedAccounts, ethers, network, deployments} from 'hardhat';
+import {BigNumber} from '@ethersproject/bignumber';
import fs from 'fs-extra';
import 'dotenv/config';
@@ -79,7 +80,7 @@ const args = process.argv.slice(2);
}
// Method to mint sand tokens on new contract
- const mintBatch = async (batch: string[]... | feat: using BigNumber for token values | null | thesandboxgame/sandbox-smart-contracts | MIT License | TypeScript |
@@ -404,54 +404,25 @@ void ClientFrontEnd::handle_status( ClientConfig& config
, const Request& req, Response& res, stringstream& ss
, CacheClient* cache_client)
{
- res.set(http::field::content_type, "text/html");
-
- auto target = req.target();
-
- ss << "<!DOCTYPE html>\n"
- "<html>\n"
- " <head>\n"
- " <style>\n"
-... | feat(client/frontend/handle_status): Remove all html, content type application/json | null | equalitie/ouinet | MIT License | C++ |
@@ -1013,7 +1013,8 @@ class BuildWorkfile(WorkfileSettings):
def process(self,
regex_filter=None,
version=None,
- representations=["exr", "dpx", "lutJson", "mov", "preview"]):
+ representations=["exr", "dpx", "lutJson", "mov",
+ "preview", "png"]):
"""
A short description.
| feat(nuke): added support for `png` | null | pypeclub/openpype | MIT License | Python |
@@ -55,7 +55,7 @@ public void SetRenderProfile(ID id)
newProfile = RenderProfileManifest.i.halloweenProfile;
break;
case ID.XMAS:
- newProfile = RenderProfileManifest.i.defaultProfile;
+ newProfile = RenderProfileManifest.i.halloweenProfile;
break;
}
| feat: xmas render style is now in night mode | null | decentraland/explorer | Apache License 2.0 | C# |
@@ -498,7 +498,21 @@ SQL;
*/
protected function _enableForeignKeyChecks()
{
- return 'SET FOREIGN_KEY_CHECKS=1';
+ return <<<SQL
+BEGIN
+ FOR c IN
+ (SELECT c.owner, c.table_name, c.constraint_name
+ FROM user_constraints c, user_tables t
+ WHERE c.table_name = t.table_name
+ AND c.status = 'DISABLED'
+ AND c.constrain... | feat: add enable foreign key method | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -327,8 +327,8 @@ module RailsBestPractices
# analyze source codes.
def analyze_source_codes
- @bar = ProgressBar.create(title: 'Source Code', total: parse_files.size * 3) if display_bar?
- %w[lexical prepare review].each { |process| send(:process, process) }
+ @bar = ProgressBar.create(title: 'Source Code', total: p... | feat(analyzer.rb): upgrading version reverted | null | flyerhzm/rails_best_practices | MIT License | Ruby |
@@ -24,7 +24,7 @@ open class AVFoundationPlayback: Playback {
private var isStopped = false
private var timeObserver: Any?
private var asset: AVURLAsset?
- private var backgroundSessionBackup: AVAudioSession.Category?
+ private var audioSessionCategoryBackup: AVAudioSession.Category?
private var canTriggerWillPause = t... | feat: set audio session category on player init | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -17,7 +17,9 @@ import (
"time"
"github.com/google/go-cmp/cmp"
+ "github.com/influxdata/influxdb"
"github.com/influxdata/influxdb/models"
+ "github.com/influxdata/influxdb/tsdb"
)
var (
@@ -2805,23 +2807,43 @@ func TestParseMeasurement(t *testing.T) {
input string
exp string
}{
- {input: "m,\x00=value", exp: "value"}... | feat: Amend tests to use real org+bucket prefixes, including escaped | null | influxdata/influxdb | MIT License | Go |
@@ -65,7 +65,7 @@ void noncont_tensor_copy(
}
DeviceTensorND tmp;
tmp.copy_from(src);
- dest.copy_from_fixlayout(tmp);
+ dest.copy_from_fixlayout(tmp).sync();
}
//! implement non-contiguous h2d copy
| feat(opencl/svm): add opencl svm more test | null | megengine/megengine | Apache License 2.0 | C++ |
@@ -2,6 +2,7 @@ package simulator
import (
"fmt"
+ "strings"
"github.com/kubernetes-simulator/simulator/pkg/childminder"
"github.com/kubernetes-simulator/simulator/pkg/util"
@@ -120,14 +121,16 @@ func (s *Simulator) Create() error {
}
s.Logger.Info("Running terraform plan")
- _, err = s.Terraform("plan")
+ out, err := ... | feat: isInfraUp | null | kubernetes-simulator/simulator | Apache License 2.0 | Go |
@@ -215,6 +215,9 @@ func (c *applicationUsecaseImpl) GetApplicationStatus(ctx context.Context, appmo
}
return nil, err
}
+ if !app.DeletionTimestamp.IsZero() {
+ app.Status.Phase = "deleting"
+ }
return &app.Status, nil
}
| feat: add deleting phase for apiserver application status model | null | oam-dev/kubevela | Apache License 2.0 | Go |
@@ -51,12 +51,26 @@ void log_on_application_command_delete(
log_info("Application Command %s deleted", cmd->name);
}
-void log_on_interaction_create(
+void on_interaction_create(
struct discord *client,
const struct discord_user *bot,
const struct discord_interaction *interaction)
{
log_info("Interaction %"PRIu64" rece... | feat(bot-slash-commands): send interaction response | null | cee-studio/orca | MIT License | C |
@@ -41,3 +41,12 @@ test('test fetchCollection() method', function () {
$this->assertTrue(count(flextype('media_files')->fetchCollection('/')) == 2);
$this->assertEquals('Foo', flextype('media_files')->fetchCollection('/')['foo.txt']['title']);
});
+
+test('test move() method', function () {
+ flextype('filesystem')->fi... | feat(tests): add tests for MediaFiles move() method | null | flextype/flextype | MIT License | PHP |
@@ -85,9 +85,9 @@ class SiteController extends Controller
$path = 'themes/' . $this->registry->get('settings.theme') . '/' . (empty($this->entry['template']) ? 'templates/default' : 'templates/' . $this->entry['template']) . '.html';
if ($is_entry_not_found) {
- return $this->view->render($response->withStatus(404), $p... | feat(admin-plugin): add ability to get query inside twig templates | null | flextype/flextype | MIT License | PHP |
@@ -23,18 +23,28 @@ export function handleConversationActivityEvent(event, eventNames, currentUserId
const isSelf = activity.actor.id === currentUserId;
// Ignore activity from other conversations
if (activity.target && activity.target.id === space.id) {
- if (activity.object.objectType === 'activity' && isSelf && acti... | feat(widget-message): add more detailed activity verb processing | null | webex/react-widgets | MIT License | JavaScript |
@@ -36,6 +36,11 @@ async function main(){
type: "HOST",
message: "<span class=\"stat-name\">Last online: </span><span class=\"stat-value\">January 1st, 1970</span>"
},
+ Cookie_Wookie_7: {
+ position: 6,
+ type: "CONTRIBUTOR",
+ message: "Nate: CSS Wizard"
+ },
};
async function updateTopProfiles(){
| feat: :sparkles: add Nate as a contributer | null | skycryptwebsite/skycrypt | MIT License | JavaScript |
@@ -46,49 +46,38 @@ namespace details
return true;
}
- template <typename Arg>
- inline bool extract_impl(size_t todo, int & index, bool & r, char **& p, Arg & arg)
+ template <typename ARG>
+ inline int parse_one(bool & flag, char **& p, char ** end, ARG & arg)
{
- if (!r || index >= todo)
+ if (flag && (flag = p < en... | feat: rewrite parse() | null | sogou/workflow | Apache License 2.0 | C |
import sys, os, io, subprocess
import argparse
-import logging
+import logging, traceback
-logging.basicConfig(format = '%(message)s', level = logging.DEBUG)
+# custom color logging
+
+
+colored = lambda s, attrs = [] : ''.join([{
+ 'lightgray' : '\033[37m',
+ 'darkgray' : '\033[90m',
+ 'gray' : '\033[2m',
+ 'blue' : '... | feat(install): improve logging (colors) | null | redpwn/rctf | BSD 3-Clause New or Revised License | Python |
@@ -14,6 +14,10 @@ var drain = require('../util/drain');
var parseUrl = require('../util/parse-url');
var hparser = require('hparser');
+var sessionStorage = new LRU({
+ maxAge: 1000 * 60 * 12,
+ max: 1600
+});
var createServer = http.createServer;
var httpRequest = http.request;
var formatHeaders = hparser.formatHeade... | feat: add req.sessionStorage | null | avwo/whistle | MIT License | JavaScript |
import initStoryshots from '@storybook/addon-storyshots'
+jest.mock('react-dom', () => {
+ return {
+ render: () => null,
+ unmountComponentAtNode: () => null,
+ findDOMNode: () => {
+ return {}
+ }
+ }
+})
+
initStoryshots()
| feat(starrating): Silenced errors from jest | null | pluralsight/design-system | Apache License 2.0 | JavaScript |
#include <json-actor.h>
+#define TEXT1 "{\"a\": 12, \"ab\": 481}"
+
char *get_json_text(char filename[]);
json_item_t *callback_test(json_item_t *item);
@@ -42,9 +44,12 @@ int main(int argc, char *argv[])
char *json_text = get_json_text(argv[1]);
json_item_t *root = json_parse(json_text, strlen(json_text));
-
struct si... | feat: add json_get_child() test | null | cee-studio/orca | MIT License | C |
@@ -7,7 +7,6 @@ import struct
import time
from datetime import date
from datetime import datetime
-from datetime import timedelta
from pathlib import Path
from typing import Callable
from typing import Literal
@@ -58,8 +57,10 @@ from app.objects.player import PresenceFilter
from app.packets import BanchoPacketReader
fr... | feat: refactor client version validation upon login | null | osuakatsuki/bancho.py | MIT License | Python |
@@ -21,7 +21,8 @@ class Google extends OAuth2
*/
protected $scopes = [
'https://www.googleapis.com/auth/userinfo.email',
- 'https://www.googleapis.com/auth/userinfo.profile'
+ 'https://www.googleapis.com/auth/userinfo.profile',
+ 'openid'
];
/**
@@ -60,7 +61,7 @@ class Google extends OAuth2
{
$accessToken = $this->requ... | feat: updated google oAuth token urls | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -206,9 +206,16 @@ impl WindowFuncCompact {
let window_col = Series::concat(&window_col_per_tuple).unwrap();
+ // Drop the aggregate states
+ {
+ for state in segment_tree_state.view() {
+ unsafe { function.drop_state(*state) }
+ }
+ }
+
block.add_column(
window_col,
- self.window_func.to_data_field(&self.input_schem... | feat(query): add destory state for window func | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -116,18 +116,20 @@ static const u8_t zmk_hid_report_desc[] = {
/* LOGICAL_MINIMUM (0) */
HID_GI_LOGICAL_MIN(1),
0x00,
- /* LOGICAL_MAXIMUM (1) */
- HID_GI_LOGICAL_MAX(1),
+ /* LOGICAL_MAXIMUM (0xFFFF) */
+ HID_GI_LOGICAL_MAX(2),
+ 0xFF,
0xFF,
HID_LI_USAGE_MIN(1),
0x00,
- /* USAGE_MAXIMUM (Keyboard Application) */
- ... | feat(hid): Enhance consumer report to support higher codes | null | zmkfirmware/zmk | MIT License | C |
@@ -2,17 +2,24 @@ package controllers
import (
"net/http"
+ "regexp"
"time"
"github.com/gin-gonic/gin"
"github.com/globalsign/mgo/bson"
+ "github.com/nbutton23/zxcvbn-go"
"golang.org/x/crypto/bcrypt"
+ "fmt"
"github.com/textileio/textile-go/central/auth"
"github.com/textileio/textile-go/central/dao"
"github.com/textile... | feat(central): validate/check user username, email, phone, password | null | textileio/go-textile | MIT License | Go |
@@ -1003,6 +1003,14 @@ export const getItems = async (
const talismans = [];
const talisman_ids = [];
+ const talisman_rarities = {
+ common: 0,
+ uncommon: 0,
+ rare: 0,
+ epic: 0,
+ legendary: 0,
+ mythic: 0,
+ }
// Modify talismans on armor and add
for (const talisman of armor.filter((a) => a.categories.includes("ac... | feat: store talisman rarities from accessory bag | null | skycryptwebsite/skycrypt | MIT License | JavaScript |
@@ -290,6 +290,17 @@ namespace acl
deallocate_type_array(m_allocator, is_leaf_bitset, bone_bitset_desc.get_size());
}
+ RigidSkeleton(RigidSkeleton&& other)
+ : m_allocator(other.m_allocator)
+ , m_bones(other.m_bones)
+ , m_leaf_bone_chains(other.m_leaf_bone_chains)
+ , m_num_bones(other.m_num_bones)
+ , m_num_leaf_bo... | feat: add move semantic support to RigidSkeleton | null | nfrechette/acl | MIT License | C |
@@ -74,6 +74,11 @@ func NewCmdBoot(commonOpts *opts.CommonOptions) *cobra.Command {
func (o *BootOptions) Run() error {
info := util.ColorInfo
+ err := o.verifyClusterConnection()
+ if err != nil {
+ return err
+ }
+
projectConfig, pipelineFile, err := config.LoadProjectConfig(o.Dir)
if err != nil {
return err
@@ -241,... | feat: Verify boot cluster connection | null | jenkins-x/jx | Apache License 2.0 | Go |
@@ -445,6 +445,8 @@ type CreateProjectOptions struct {
PrintingMergeRequestLinkEnabled *bool `url:"printing_merge_request_link_enabled,omitempty" json:"printing_merge_request_link_enabled,omitempty"`
CIConfigPath *string `url:"ci_config_path,omitempty" json:"ci_config_path,omitempty"`
ApprovalsBeforeMerge *int `url:"ap... | feat(projects): Add mirror values to CreateProjectOptions | null | xanzy/go-gitlab | Apache License 2.0 | Go |
@@ -38,8 +38,8 @@ func init() {
},
}
- list := &cobra.Command{
- Use: "list",
+ get := &cobra.Command{
+ Use: "get",
Args: cobra.MinimumNArgs(0),
Run: func(cmd *cobra.Command, args []string) {
dns := getPlatform(cmd).GetDNSClient()
@@ -65,6 +65,6 @@ func init() {
}
},
}
- DNS.AddCommand(append, update, delete, list)
- ... | feat: rename dns list to get | null | flanksource/karina | Apache License 2.0 | Go |
@@ -74,6 +74,7 @@ public enum SettingKey
FLAG( "keyFlag", "dhis2", String.class ),
FLAG_IMAGE( "keyFlagImage" ),
START_MODULE( "startModule", "dhis-web-dashboard", String.class ),
+ START_MODULE_ENABLE_LIGHT_WEIGHT( "startModuleEnableLightweight", Boolean.FALSE, Boolean.class ),
FACTOR_OF_DEVIATION( "factorDeviation", ... | feat: New system key 'startModuleEnableLightweight' | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -36,8 +36,10 @@ type KeyReader struct {
type KeyReaderSpec struct {
SeekKey []byte
+ EndKey []byte
Prefix []byte
InclusiveSeek bool
+ InclusiveEnd bool
DescOrder bool
}
@@ -79,8 +81,10 @@ func (s *Snapshot) NewKeyReader(spec *KeyReaderSpec) (*KeyReader, error) {
r, err := s.snap.NewReader(&tbtree.ReaderSpec{
SeekKey... | feat(embedded/store): leverage endKey from tbtree key reader | null | codenotary/immudb | Apache License 2.0 | Go |
*/
private final static Logger logger = Logger.getLogger(BridgeSelector.class);
+ /**
+ * The name of the property which controls the
+ * {@link BridgeSelectionStrategy} to be used by this
+ * {@link BridgeSelector}.
+ */
+ public static final String BRIDGE_SELECTION_STRATEGY_PNAME
+ = "org.jitsi.jicofo.BridgeSelector.... | feat: Makes the BridgeSelectionStrategy configurable | null | jitsi/jicofo | Apache License 2.0 | Java |
@@ -96,6 +96,9 @@ public class ExpandValueSetRequest {
private final Uri forceSystemVersion;
+ // FHIR API Extension to allow cursor pased paging instead of offset+count
+ private final String after;
+
ExpandValueSetRequest(
Uri url,
ValueSet valueSet,
@@ -117,7 +120,8 @@ public class ExpandValueSetRequest {
Uri exclud... | feat(fhir): support after cursor based paging in ExpandValueSetRequest | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -429,6 +429,21 @@ where
.map(|tkey| tkey.revision_counter)
.expect("catalog should have at least an empty transaction")
}
+
+ /// Object store used by this catalog.
+ pub fn object_store(&self) -> Arc<ObjectStore> {
+ Arc::clone(&self.object_store)
+ }
+
+ /// Server ID used by this catalog.
+ pub fn server_id(&self... | feat: add a way to get OS, server ID and DB name from catalog | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -47,6 +47,11 @@ class SmoothProductCardNotFound extends StatelessWidget {
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.bodyText2,
),
+ Text(
+ '(${appLocalizations.barcode_barcode(barcode)})',
+ textAlign: TextAlign.center,
+ style: Theme.of(context).textTheme.bodyText2,
+ ),
Padding(
padding: con... | feat: card new with barcode | null | openfoodfacts/smooth-app | Apache License 2.0 | Dart |
@@ -52,7 +52,7 @@ final class DcsWithRuntime implements Dependencies {
/**
* Runtime dependency source.
*/
- private final Unchecked<Dependency> source;
+ private final Unchecked<Dependency> supplied;
/**
* Constructor.
@@ -67,18 +67,18 @@ final class DcsWithRuntime implements Dependencies {
* The main constructor.
*
*... | feat(#1386): source -> supplied | null | cqfn/eo | MIT License | Java |
package org.acme.rest.json.codec;
-import com.mongodb.MongoClient;
+import com.mongodb.MongoClientSettings;
import org.acme.rest.json.Fruit;
import org.bson.*;
import org.bson.codecs.Codec;
@@ -15,7 +15,7 @@ public class FruitCodec implements CollectibleCodec<Fruit> {
private final Codec<Document> documentCodec;
public... | feat: update codec implementation | null | quarkusio/quarkus-quickstarts | Apache License 2.0 | Java |
@@ -54,26 +54,61 @@ function minCost (maxTime: number, edges: number[][], passingFees: number[]): nu
}
}
+ class AdjList {
+ head: number[]
+ ver: number[]
+ edge: number[]
+ next: number[]
+ tot: number
+ /**
+ * @description Initialize an adjacency list
+ * @param n Number of vertices
+ * @param m Number of edges
+ *... | feat: Adjacency List | null | upupming/algorithm | MIT License | TypeScript |
@@ -315,8 +315,15 @@ func (w *wdaClient) doAction(action MobileAction) error {
return w.Driver.Tap(location[0], location[1])
}
// click on xpath
- if _, ok := action.Params.(string); ok {
- return errActionNotImplemented
+ if xpath, ok := action.Params.(string); ok {
+ selector := gwda.BySelector{
+ XPath: xpath,
+ }
+... | feat: click on xpath | null | httprunner/httprunner | Apache License 2.0 | Go |
@@ -275,6 +275,9 @@ public final class OptimizeMojo extends SafeMojo {
* @throws FileNotFoundException If fails
* @throws IllegalArgumentException If error is detected within XMIR and
* fail on error is enabled.
+ * @todo #1431:90min move that method implementation to a separate class under
+ * {@link org.eolang.maven.... | feat(#1431): add todo puzzle for optimize function in OptimizeMojo | null | cqfn/eo | MIT License | Java |
@@ -213,6 +213,10 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options:
lastDrvAvailableCheck = null
exoplayerIsDvrInUse = null
+ needSetupMediaOptions = true
+ mediaOptionList.clear()
+ selectedMediaOptionList.clear()
+
removeListeners()
player?.release()
| feat(media_options): clean media options on Exoplayer release | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
package io.clappr.player.components
-/**
- * Created by fernando on 5/15/17.
- */
-class MediaOption {
+data class MediaOption(val name: String, val type: MediaOptionType, val raw: Any?, val info: Map<String, Any>?)
+
+enum class MediaOptionType {
+ SUBTITLE,
+ AUDIO
}
\ No newline at end of file
| feat(media_option): update mediaoption class | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -30,6 +30,9 @@ class OptQLAgent(IncrementalAgent):
bonus_type : {"simplified_bernstein"}
Type of exploration bonus. Currently, only "simplified_bernstein"
is implemented.
+ add_bonus_after_update : bool, default: False
+ If True, add bonus to the Q function after performing the update,
+ instead of adding it to the ... | feat(agents): optql, more options | null | rlberry-py/rlberry | MIT License | Python |
@@ -259,18 +259,18 @@ impl<
self.status = ExecutorStatus::Active;
}
- pub fn bond_more<T: Config>(&mut self, who: T::AccountId, more: Balance) -> DispatchResult
+ pub fn bond_more<T: Config>(&mut self, who: T::AccountId, amount: Balance) -> DispatchResult
where
BalanceOf<T>: From<Balance>,
{
- T::Currency::reserve(&who... | feat: unbonding | null | t3rn/t3rn | Apache License 2.0 | Rust |
@@ -41,10 +41,23 @@ public class UpdateCredentialsOptions extends GenericModel {
String CLOUD_OBJECT_STORAGE = "cloud_object_storage";
}
+ /**
+ * The current status of this set of credentials. `connected` indicates that the credentials are available to use with
+ * the source configuration of a collection. `invalid` r... | feat(Discovery): Add status prop to UpdateCredentialsOptions | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
import { IAgent } from 'daf-core'
import { Request, Response, NextFunction, Router, json } from 'express'
-import { supportedMethods } from 'daf-rest'
+import { supportedMethods, IAgentRESTMethod } from 'daf-rest'
import Debug from 'debug'
interface RequestWithAgent extends Request {
@@ -10,6 +10,7 @@ interface Request... | feat: Daf-express overrides | null | uport-project/veramo | Apache License 2.0 | TypeScript |
@@ -22,6 +22,7 @@ class NGTIndexer(NumpyIndexer):
def __init__(self, state: str ='index',index_path: str = '/tmp/jina/index', metric: str = 'L2', *args, **kwargs):
"""
Initialize an NGT Indexer
+
:param state: If indexing is already done , no need to index again.
Set "index" to index again (If new data has been added)
... | feat(indexer): fix get_query_handler | null | jina-ai/jina | Apache License 2.0 | Python |
var listenerCount = require('../util/patch').listenerCount;
var path = require('path');
var net = require('net');
+var fs = require('fs');
var express = require('express');
var LRU = require('lru-cache');
var iconv = require('iconv-lite');
@@ -68,6 +69,7 @@ var CLOSED = typeof Symbol === 'undefined' ? '$colsed_' + Date... | feat: add process.handleUncaughtErrorMessage | null | avwo/whistle | MIT License | JavaScript |
@@ -16,4 +16,14 @@ abstract class UIPlugin (component: BaseObject, private val uiObject: UIObject =
open fun render() {
uiObject.render()
}
+
+ open fun show() {
+ visibility = Visibility.VISIBLE
+ view?.visibility = View.VISIBLE
+ }
+
+ open fun hide() {
+ visibility = Visibility.HIDDEN
+ view?.visibility = View.GONE
... | feat(uiplugin): add show/hide methods | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
+import json
+import threading
+import time
+from collections import OrderedDict
+from typing import Callable, Dict, List, Optional
+
+from web3 import Web3
+
+from brownie.network.middlewares import BrownieMiddlewareABC
+
+
+class RequestCachingMiddleware(BrownieMiddlewareABC):
+
+ """
+ Web3 middleware for request ca... | feat: cashing middleware, initial implementation | null | eth-brownie/brownie | MIT License | Python |
@@ -22,6 +22,8 @@ class TestDB(unittest.TestCase):
self.assertNotEqual(frappe.db.get_value("User", {"name": ["!=", "Guest"]}), "Guest")
self.assertEqual(frappe.db.get_value("User", {"name": ["<", "Adn"]}), "Administrator")
self.assertEqual(frappe.db.get_value("User", {"name": ["<=", "Administrator"]}), "Administrator")... | feat: Added tests for get_value with sql functions | null | frappe/frappe | MIT License | Python |
@@ -189,10 +189,16 @@ abstract class Playback(var source: String, var mimeType: String? = null, option
options.remove(ClapprOption.START_AT.value)
})
}
+ else {
+ if(mediaType == MediaType.LIVE)
+ playFromLiveEdge()
+ }
if (!play()) {
once(Event.READY.value, Callback.wrap { play() })
}
return this
}
+
+ open fun playFr... | feat(dvr_exoplayer): play from live edge whe video is live | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -9,27 +9,28 @@ const MoleculeInputTagsWithClearUI = withClearUI(MoleculeInputTags)
const MoleculeAutosuggestFieldMultiSelection = ({
autoClose,
- id,
- refMoleculeAutosuggest,
- tags,
- value,
- onToggle,
- iconCloseTag,
- isOpen,
+ autoComplete = 'nope',
+ children,
+ disabled = false,
iconClear,
+ iconCloseTag = <... | feat(molecule/autosuggest): add prop size to pass it to MoleculeDropdownList component | null | sui-components/sui-components | MIT License | JavaScript |
@@ -8,10 +8,12 @@ import com.facebook.react.bridge.ReactMethod
import com.facebook.react.bridge.ReadableMap
import com.facebook.react.bridge.WritableMap
import com.facebook.react.bridge.WritableNativeMap
+import com.facebook.react.modules.core.DeviceEventManagerModule.RCTDeviceEventEmitter
-class BugsnagReactNative(rea... | feat: forward message event to react bridge | null | bugsnag/bugsnag-js | MIT License | Kotlin |
@@ -30,6 +30,7 @@ import io.questdb.log.Log;
import io.questdb.log.LogFactory;
import io.questdb.mp.WorkerPool;
import io.questdb.std.CharSequenceObjHashMap;
+import io.questdb.std.Chars;
import io.questdb.std.Misc;
import io.questdb.std.Os;
import sun.misc.Signal;
@@ -80,8 +81,24 @@ public class ServerMain {
propertie... | feat: main method will create database directory if it does not exist | null | questdb/questdb | Apache License 2.0 | Java |
@@ -82,6 +82,20 @@ func NewCmdUpdate(f *cmdutils.Factory) *cobra.Command {
actions = append(actions, "made confidential")
l.Confidential = gitlab.Bool(true)
}
+ if ok := cmd.Flags().Changed("milestone"); ok {
+ if m, _ := cmd.Flags().GetString("milestone"); m != "" || m == "0" {
+ mID, err := cmdutils.ParseMilestone(ap... | feat(commands/issue/update): add --milestone flag to assign milestones | null | profclems/glab | MIT License | Go |
@@ -88,6 +88,28 @@ import {
</ct-inline-editor>
</div>
+ <!--Wrapper Author-->
+ <div class="col-lg-4 col-sm-6 app-info-meta-item">
+ <div class="text-title">Wrapper Author:</div>
+ <ct-inline-editor [value]="model.customProps['sbg:wrapperAuthor']"
+ [disabled]="readonly"
+ type="text"
+ (saveData)="model.customProps['... | feat(editor-common): added wrapper author and wrapper license to additional info (app info) | null | rabix/composer | Apache License 2.0 | TypeScript |
package com.chesire.malime.repo
import androidx.lifecycle.LiveData
+import com.chesire.malime.core.Resource
+import com.chesire.malime.core.api.LibraryApi
import com.chesire.malime.core.flags.SeriesType
import com.chesire.malime.core.models.SeriesModel
import com.chesire.malime.db.SeriesDao
+import timber.log.Timber
im... | feat: add methods to get latest anime and manga to repo | null | chesire/nekome | Apache License 2.0 | Kotlin |
@@ -126,14 +126,15 @@ public void logDebug(String message)
if (logger.isDebugEnabled())
{
logger.debug("Debug output from the JAIN-SIP stack: " + message);
+ }
if (!isRegisterOnTLSCloseEnabled())
{
return;
}
- if (message.indexOf("Closing TLS socket") != -1
- || message.indexOf("Socket output is already shutdown") != -... | feat: Fixes examine sip stack messages | null | jitsi/jitsi | Apache License 2.0 | Java |
@@ -27,6 +27,7 @@ import com.b2international.commons.collections.Collections3;
import com.b2international.index.Analyzers;
import com.b2international.index.Doc;
import com.b2international.index.Normalizers;
+import com.b2international.index.Script;
import com.b2international.index.mapping.Field;
import com.b2internatio... | feat: implement sort script by resource type | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -14,6 +14,13 @@ const definitions: OverrideBundleDefinition = {
types: {
Address: 'MultiAddress',
LookupSource: 'MultiAddress',
+ AccountInfo: 'AccountInfoWithDualRefCount',
+ AccountInfoWithDualRefCount: {
+ nonce: 'Index',
+ consumers: 'RefCount',
+ providers: 'RefCount',
+ data: 'AccountData'
+ },
Campaign: {
id:... | feat(zero): update spec | null | polkadot-js/apps | Apache License 2.0 | TypeScript |
@@ -21,14 +21,14 @@ module.exports = class Service {
this.commands = {}
this.pkg = this.resolvePkg(pkg)
+ // load base .env
+ this.loadEnv()
+
const userOptions = this.loadProjectOptions(projectOptions)
this.projectOptions = Object.assign(defaults(), userOptions)
debug('vue:project-config')(this.projectOptions)
- // lo... | feat: add ability to use environment variables in vue.config.js | null | vuejs/vue-cli | MIT License | JavaScript |
import javax.ws.rs.Path;
import javax.ws.rs.Priorities;
import javax.ws.rs.core.Context;
+import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
@Context
private Registry registry = null;
- private static final class MethodDescr... | feat: implements a json representation for the NotFoundExceptionMapper | null | quarkusio/quarkus | Apache License 2.0 | Java |
@@ -31,8 +31,9 @@ type ThreadInfo struct {
Id string `json:"id"`
Name string `json:"name"`
Head *repo.Block `json:"head,omitempty"`
- BlockCount int `json:"block_count"`
- FileCount int `json:"file_count"`
+ PeerCount int `json:"peer_cnt"`
+ BlockCount int `json:"block_cnt"`
+ FileCount int `json:"file_cnt"`
}
// Threa... | feat(cmd-api): add peer count to thread info | null | textileio/go-textile | MIT License | Go |
@@ -422,6 +422,18 @@ pub enum BlockData {
Unsigned { ts: Vec<i64>, values: Vec<u64> },
}
+impl BlockData {
+ pub fn is_empty(&self) -> bool {
+ match &self {
+ BlockData::Float { ts, values: _ } => ts.is_empty(),
+ BlockData::Integer { ts, values: _ } => ts.is_empty(),
+ BlockData::Bool { ts, values: _ } => ts.is_empty... | feat: implement mapping between blocks and table | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
-use std::net::{SocketAddr, ToSocketAddrs, UdpSocket};
+use std::{
+ net::{SocketAddr, ToSocketAddrs, UdpSocket},
+ str::FromStr,
+};
use async_trait::async_trait;
-use observability_deps::tracing::{error, info};
+use observability_deps::tracing::*;
use trace::span::Span;
use crate::export::AsyncExport;
@@ -12,6 +15,49... | feat: support static tracing tags | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -10,6 +10,7 @@ import { NotificationCenter, Notification, NoticeLevel } from './notifications'
import * as FontAwesomeIcon from '@fortawesome/react-fontawesome'
import { faChevronLeft } from '@fortawesome/fontawesome-free-solid'
import { sofieWarningIcon as warningIcon } from './warningIcon'
+import { ContextMenuTri... | feat: dismiss all notifcations | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
+/**
+ * @file Word Break
+ *
+ * @details
+ * Given a valid sentence without any spaces between the words and
+ * a dictionary of valid English words, find all possible ways to
+ * break the sentence in individual dictionary words.
+ *
+ * @author [Anushka Verma](https://github.com/verma-anushka)
+ */
+
+#include <bit... | feat: add word break solution (backtracking) | null | thealgorithms/c-plus-plus | MIT License | C++ |
import React, { FC } from 'react'
import { Box } from '../Box/Box'
-import { Typography } from '../Typography/Typography'
+import { Button } from '../Button/Button'
+import { Link } from '../Link/Link'
+import { Text } from '../Text/Text'
import * as styles from './ProfileCard.treat'
/**
@@ -23,6 +25,17 @@ export inter... | feat(island-ui): Add properties to Profile Card and change card border | null | island-is/island.is | MIT License | TypeScript |
@@ -203,7 +203,11 @@ public class EgressCostTable implements Serializable {
// TODO only report progress on slow operations (building new tables), not copying existing ones?
// Precomputing which stops should be rebuilt would allow for nicer progress reporting.
- progressListener.beginTask("Building egress impedance ta... | feat(EgressCostTable): distinguish scenario vs. baseline in progress reporting | null | conveyal/r5 | MIT License | Java |
+from typing import Callable, Dict, List, Optional
+
+from web3 import Web3
+from web3.exceptions import ExtraDataLengthError
+from web3.middleware import geth_poa_middleware
+
+from brownie.network.middlewares import BrownieMiddlewareABC
+
+
+class GethPOAMiddleware(BrownieMiddlewareABC):
+ @classmethod
+ def get_laye... | feat: geth poa middleware, brownie style | null | eth-brownie/brownie | MIT License | Python |
@@ -8,12 +8,20 @@ pub enum RankingOrdering {
Dsc
}
+#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
+pub struct AccessToken {
+ pub token: String,
+ pub secret_key: String,
+}
+
+
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct Config {
pub stop_words: Option<HashSet<String>>,
p... | feat: Add access key on config | null | meilisearch/meilisearch | MIT License | Rust |
@@ -214,6 +214,7 @@ SET @SqlStatement = '
SELECT
''sqlserver_server_properties'' AS [measurement]
,REPLACE(@@SERVERNAME,''\'','':'') AS [sql_instance]
+ ,@@SERVICENAME AS [service_name]
,si.[cpu_count]
,(SELECT [total_physical_memory_kb] FROM sys.[dm_os_sys_memory]) AS [server_memory]
,(SELECT [available_physical_memor... | feat(inputs.sqlserver): add and SERVERPROPERTY(''IsClustered'') in measurement sqlserver_server_properties | null | influxdata/telegraf | MIT License | Go |
@@ -1494,7 +1494,7 @@ class Flow(PostMixin, HealthCheckMixin, JAMLCompatible, ExitStack, metaclass=Flo
progress = Progress(
SpinnerColumn(),
- TextColumn('Waiting [b]{task.fields[pending_str]}[/]', justify='right'),
+ TextColumn('Waiting [b]{task.fields[pending_str]}[/]...', justify='right'),
BarColumn(),
MofNCompleteC... | feat: improve ui after flow success | null | jina-ai/jina | Apache License 2.0 | Python |
@@ -26,6 +26,7 @@ import com.b2international.commons.exceptions.ForbiddenException;
import com.b2international.snowowl.core.ServiceProvider;
import com.b2international.snowowl.core.identity.Permission;
import com.b2international.snowowl.core.identity.User;
+import com.google.common.collect.ImmutableSet;
/**
* A simple ... | feat(core): Add delegate factory method that grants access to a resource | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -27,8 +27,10 @@ import org.jitsi.meet.test.web.*;
import org.testng.*;
import org.testng.annotations.*;
+import java.io.*;
import java.net.*;
import java.text.*;
+import java.util.logging.*;
import static org.jitsi.meet.test.util.TestUtils.*;
import static org.testng.Assert.*;
@@ -39,6 +41,9 @@ import static org.tes... | feat: Retrieves the log file for the dial-in rest api call | null | jitsi/jitsi-meet-torture | Apache License 2.0 | Java |
@@ -23,4 +23,13 @@ defmodule Moon.RenderHelpers do
Phoenix.LiveView.Helpers.component(&module.render/1, use_props)
end
+
+ def render_live_component(module, custom_props) do
+ default_props = Moon.RenderHelpers.get_default_props(module)
+ use_props = Map.merge(default_props, custom_props)
+
+ assigns = Map.merge(use_pr... | feat: added render helper functions | null | coingaming/moon | MIT License | Elixir |
@@ -544,6 +544,9 @@ fn_deps_build_redhat(){
# Eco
elif [ "${shortname}" == "eco" ]; then
array_deps_required+=( mono-complete )
+ # Unturned
+ elif [ "${shortname}" == "unt" ]; then
+ array_deps_required+=( mono-complete )
fi
fn_deps_email
fn_check_loop
| feat(untserver): add mono dependency for Unturned | null | gameservermanagers/linuxgsm | MIT License | Shell |
@@ -193,6 +193,11 @@ class Field implements Renderable
*/
protected $display = true;
+ /**
+ * @var array
+ */
+ protected $labelClass = [];
+
/**
* Field constructor.
*
@@ -736,13 +741,13 @@ class Field implements Renderable
{
if ($this->horizontal) {
return [
- 'label' => "col-sm-{$this->width['label']}",
+ 'label' =... | feat(form field): add option set label class | null | z-song/laravel-admin | MIT License | PHP |
@@ -1839,6 +1839,9 @@ JitsiConference.prototype._onIceConnectionFailed = function(session) {
// We do nothing for the JVB connection, because it's up to the Jicofo to
// eventually come up with the new offer (at least for the time being).
if (session.isP2P) {
+ if (this.p2pJingleSession && this.p2pJingleSession.isIniti... | feat(p2p): log analytics event | null | jitsi/lib-jitsi-meet | Apache License 2.0 | JavaScript |
@@ -252,10 +252,10 @@ class XCat
public function initQQWry()
{
echo("downloading....");
- $copywrite = file_get_contents("https://github.com/esdeathlove/qqwry-download/raw/master/copywrite.rar");
+ $copywrite = file_get_contents("https://qqwry.speedtests.ml/copywrite.rar");
$newmd5 = md5($copywrite);
file_put_contents(... | feat: use new qqwry mirror(daily update) | null | chensee/ss-panel-v3-mod_uim-alipay-wxpay | MIT License | PHP |
@@ -95,6 +95,10 @@ declare type Tags = {
[key: string]: Version;
}
+declare type Headers = {
+ [key: string]: string;
+}
+
declare type Package = {
_id?: string;
name: string;
@@ -116,10 +120,14 @@ declare interface ILocalStorage {
}
declare type UpLinkConf = {
- storage?: string;
- cache?: boolean;
url: string;
ca?: s... | feat: add config file types | null | verdaccio/monorepo | MIT License | JavaScript |
@@ -17,7 +17,6 @@ $app->group('/' . $admin_route, function () use ($app) : void {
$app->get('', 'DashboardController:index')->setName('admin.dashboard.index');
// UsersController
- $app->get('/profile', 'UsersController:profile')->setName('admin.users.profile');
$app->post('/logout', 'UsersController:logoutProcess')->s... | feat(admin-plugin): remove profile route | null | flextype/flextype | MIT License | PHP |
@@ -480,7 +480,7 @@ class Entries
$data['published_by'] = (Session::exists('uuid') ? Session::get('uuid') : '');
$data['created_by'] = (Session::exists('uuid') ? Session::get('uuid') : '');
- if (isset($data['routable']) && is_array($data['routable'])) {
+ if (isset($data['routable']) && is_bool($data['routable'])) {
$... | feat(core): set routable true on entries creation | null | flextype/flextype | MIT License | PHP |
@@ -31,6 +31,7 @@ class EvalCommand : AbstractCommand("command.eval") {
import me.melijn.melijnbot.internals.utils.message.sendRsp
import me.melijn.melijnbot.internals.*
import me.melijn.melijnbot.MelijnBot
+ import net.dv8tion.jda.api.entities.*
import java.awt.image.BufferedImage
import kotlinx.coroutines.Deferred
im... | feat(Eval): import useful jda entities | null | toxicmushroom/melijn | MIT License | Kotlin |
+#include <stdio.h>
+#include <stdlib.h>
+
+#include <algorithm>
+// #include <gle/engine/cpplib/headers.hpp>
+#include <cmath>
+#include <string>
+#include <vector>
+
+typedef std::string string;
+
+template <typename T>
+inline double tg_cosine_similarity(std::vector<T> A, std::vector<T> B) {
+ int n = A.size();
+ do... | feat(similarity): add cosine similarity algorithm | null | tigergraph/gsql-graph-algorithms | Apache License 2.0 | C++ |
+/*
+ Copyright 2020-2021 Lowdefy, Inc
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in wri... | feat(actions-core): Added Reset action test | null | lowdefy/lowdefy | Apache License 2.0 | JavaScript |
@@ -173,7 +173,7 @@ class Connection extends BaseConnection implements ConnectionInterface
*/
protected function _close()
{
- $this->connID->close();
+ oci_close($this->connID);
}
//--------------------------------------------------------------------
| feat: add close method | null | codeigniter4/codeigniter4 | MIT License | PHP |
+const paramPairToUrlParam = params => key => `&${key}=${encodeURI(params[key])}`
+
+export const paramsToQueryString = params =>
+ Object.keys(params)
+ .map(paramPairToUrlParam(params))
+ .reduce((acc, cur) => acc.concat(cur), '')
+ .slice(1)
| feat(form/pta): ie11 compatible query string build function | null | sui-components/sui-components | MIT License | JavaScript |
@@ -34,7 +34,11 @@ public final class MultiplayerGameManager<T extends AbstractMultiplayerPlayer> e
seed = ThreadLocalRandom.current().nextLong();
gameParameters.setProperty("seed", String.valueOf(seed));
} else {
+ try {
seed = Long.parseLong(gameParameters.getProperty("seed"));
+ } catch (NumberFormatException e) {
+... | feat(sdk): add try on seed parse | null | codingame/codingame-game-engine | MIT License | Java |
@@ -171,6 +171,7 @@ class TestTable:
def test_false_delete_table(self, client):
table_name = 'fake_table_name'
+ with pytest.raises(NotConnectError):
res = client.delete_table(table_name)
LOGGER.info(res)
assert res == Status.CONNECT_FAILED
@@ -205,6 +206,7 @@ class TestVector:
'table_name': fake.table_name(),
'records... | feat(tests): update tests to newest api | null | milvus-io/pymilvus | Apache License 2.0 | Python |
@@ -22,7 +22,7 @@ class Template extends View
*/
public static function fromFile(string $path): self
{
- if (\is_readable($path)) {
+ if (!\is_readable($path)) {
throw new Exception("$path view template is not readable.");
}
| feat(template): fix incorrect if condition | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -154,6 +154,14 @@ where
.to_string();
args.push(path.clone());
let _ = build_journal.insert(path);
+ let beam_path = self
+ .out
+ .join("ebin")
+ .join(module)
+ .with_extension("beam")
+ .to_string_lossy()
+ .to_string();
+ let _ = build_journal.insert(beam_path);
}
let status = self
.io
| feat: add beam file to list of builds journal | null | gleam-lang/gleam | Apache License 2.0 | Rust |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.