diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -29,6 +29,7 @@ import (
)
func (c *ImmuClient) Connect() (err error) {
+ start := time.Now()
if c.isConnected() {
return ErrAlreadyConnected
}
@@ -38,10 +39,12 @@ func (c *ImmuClient) Connect() (err error) {
if err := c.waitForHealthCheck(); err != nil {
return err
}
+ c.Logger.Debugf("connected %v in %s", c.Options... | feat: client-side performance logs | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -22,6 +22,8 @@ export class ShuttleKeyboardController extends ControllerAbstract {
private _lastSpeed = 0
private _currentPosition = 0
+ private _lastTick: number | undefined
+
constructor (view: PrompterViewInner) {
super(view)
@@ -140,10 +142,17 @@ export class ShuttleKeyboardController extends ControllerAbstract ... | feat(prompter): use frame time feedback to modify scroll amount | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -382,7 +382,7 @@ def parse_args() -> argparse.Namespace:
parser = argparse.ArgumentParser("bump_aea_version")
parser.add_argument(
- "--new-version", type=str, required=True, help="The new AEA version."
+ "--new-version", type=str, required=False, help="The new AEA version."
)
parser.add_argument(
"-p",
@@ -392,11 +... | feat: update bump_aea_version script | null | fetchai/agents-aea | Apache License 2.0 | Python |
set -e
+# clear screen
+printf "\033c"
+
# define functions
@@ -24,6 +27,17 @@ info() {
}
+printf "\033[1;36m....########......######.....########....########...
+....##.....##....##....##.......##.......##.........
+....##.....##....##.............##.......##.........
+....########.....##.............##.......######..... | feat(cli): add banner and clear screen on install | null | redpwn/rctf | BSD 3-Clause New or Revised License | Shell |
@@ -34,6 +34,8 @@ std::string DebugString(google::protobuf::Message const& m,
p.SetUseShortRepeatedPrimitives(options.use_short_repeated_primitives());
p.SetTruncateStringFieldLongerThan(
options.truncate_string_field_longer_than());
+ p.SetPrintMessageFieldsInIndexOrder(true);
+ p.SetExpandAny(true);
p.PrintToString(m... | feat(common): make the RPC log even more readable | null | googleapis/google-cloud-cpp | Apache License 2.0 | C++ |
@@ -26,11 +26,13 @@ base_release_branch=$(echo "$1" | grep -E 'release-[0-9]*.0$')
if [ "$base_release_branch" != "" ]; then
major_release=$(echo "$base_release_branch" | sed 's/release-*//' | sed 's/\.0//')
target_major_release=$((major_release-1))
- target_release=$(git show-ref --tags | grep -E 'refs/tags/v[0-9]*.[0... | feat: add v to tags | null | vitessio/vitess | Apache License 2.0 | Shell |
@@ -7,6 +7,7 @@ import (
"github.com/gin-gonic/gin/render"
"github.com/textileio/textile-go/crypto"
"net/http"
+ "strings"
)
// StartGateway starts the gateway
@@ -152,12 +153,36 @@ func profileHandler(c *gin.Context) {
fallback, _ := c.GetQuery("fallback")
if fallback == "true" {
location = fmt.Sprintf("https://avatar... | feat(profiles): set cache control on avatars | null | textileio/go-textile | MIT License | Go |
+import logging
+import itertools
+from overrides import overrides
+from pathlib import Path
+
+from deeppavlov.common.registry import register_model
+from deeppavlov.common import paths
+from deeppavlov.data.dataset_reader import DatasetReader
+
+logger = logging.getLogger(__name__)
+
+
+@register_model('dstc2')
+clas... | feat: add dstc2 reader | null | deeppavlov/deeppavlov | Apache License 2.0 | Python |
@@ -3,7 +3,8 @@ import {Button, Card, Code, ErrorBoundary, Heading, Stack, useToast} from '@sani
import {SchemaError} from '../config'
import {isRecord} from '../util'
import {globalScope} from '../util/globalScope'
-import {SchemaErrorsScreen} from './screens'
+import {CorsOriginError} from '../datastores'
+import {Co... | feat(studio): add `CorsOriginErrorScreen` to `StudioErrorBoundary` | null | sanity-io/sanity | MIT License | TypeScript |
@@ -51,7 +51,8 @@ class LeaderBoardCommand : AbstractCommand("command.leaderboard") {
} else null
- if (pos != null && pos.second < 1 + (10 * page)) {
+ val last = pos?.second == -1L
+ if (pos != null && pos.second < 1 + (10 * page) && !last) {
tableBuilder.addRow(
Cell("${pos.second}."),
Cell(bigNumberFormatter.valueT... | feat: always show on leaderboard fixes | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -22,8 +22,7 @@ use fsio::path::as_path::AsPath;
use fsio::path::from_path::FromPath;
use indexmap::IndexMap;
use once_cell::sync::Lazy;
-use petgraph::algo::{kosaraju_scc, toposort, Cycle};
-use petgraph::graph::NodeIndex;
+use petgraph::algo::{kosaraju_scc, toposort};
use petgraph::visit::IntoNodeReferences;
use pe... | feat: propagate errors | null | sagiegurari/cargo-make | Apache License 2.0 | Rust |
#include <assert.h>
#include "discord.h"
+#include "discord-internal.h"
void on_ready(struct discord *client, const struct discord_user *me) {
fprintf(stderr, "\n\nSuccesfully connected to Discord as %s#%s!\n\n",
me->username, me->discriminator);
}
+void on_reconnect(
+ struct discord *client,
+ const struct discord_us... | feat: test-discord-ws.c can be used to test reconnects | null | cee-studio/orca | MIT License | C |
@@ -145,20 +145,20 @@ BugsnagBreadcrumbs *breadcrumbs;
/**
* Retrieves the endpoint used to notify Bugsnag of errors
*
- * NOTE: it is strongly recommended that you set this value via setEndpointsForNotify:sessions: instead.
+ * NOTE: If you want to set this value, you should do so via setEndpointsForNotify:sessions: i... | feat: make notifyURL and sessionURL readonly | null | bugsnag/bugsnag-cocoa | MIT License | C |
@@ -4,4 +4,8 @@ __description__ = "One-stop solution for HTTP(S) testing."
__all__ = ["__version__", "__description__"]
import sentry_sdk
+
sentry_sdk.init("https://cc6dd86fbe9f4e7fbd95248cfcff114d@sentry.io/1862849")
+
+with sentry_sdk.configure_scope() as scope:
+ scope.set_tag("version", __version__)
| feat: add version tag for sentry | null | httprunner/httprunner | Apache License 2.0 | Python |
@@ -132,6 +132,8 @@ public class GalacticraftClient implements ClientModInitializer {
BlockRenderLayerMap.INSTANCE.putBlock(GalacticraftBlock.UNLIT_WALL_TORCH, RenderLayer.getCutout());
BlockRenderLayerMap.INSTANCE.putBlock(GalacticraftBlock.GLOWSTONE_LANTERN, RenderLayer.getCutout());
BlockRenderLayerMap.INSTANCE.putB... | feat: cave veins render correctly now | null | stellarhorizons/galacticraft-rewoven | MIT License | Java |
@@ -4,7 +4,7 @@ use hex_literal::hex;
use interbtc_rpc::jsonrpc_core::serde_json::{map::Map, Value};
use primitives::{
AccountId, Balance, BlockNumber, CurrencyId, CurrencyId::Token, Signature, TokenSymbol, VaultCurrencyPair, DOT,
- KINT, KSM,
+ KINT, KSM, INTR
};
use sc_chain_spec::{ChainSpecExtension, ChainSpecGroup}... | feat: add endowed accounts to chain spec | null | interlay/interbtc | Apache License 2.0 | Rust |
@@ -172,6 +172,16 @@ uint8_t lv_timer_get_idle(void);
*/
lv_timer_t * lv_timer_get_next(lv_timer_t * timer);
+/**
+ * Get the user_data passed when the timer was created
+ * @param timer pointer to the lv_timer
+ * @return pointer to the user_data
+ */
+static inline void * lv_timer_get_user_data(lv_timer_t * timer)
+{... | feat(timer): add `lv_timer_get_user_data` | null | lvgl/lvgl | MIT License | C |
@@ -111,7 +111,7 @@ export const WithInfoMessage = () => {
<div>
<HotspotTooltipTab
infoMessage={text(
- 'inforMessage',
+ 'infoMessage',
`Select an existing hotspot on the image to edit it or insert one
by selecting an option from the toolbar.`
)}
| feat(hotspottooltiptab): spellingfix to story | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | JavaScript |
@@ -5,6 +5,9 @@ import java.util.Set;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
import io.fabric8.kubernetes.api.model.HasMetadata;
import io.fabric8.kubernetes.client.Config;
import io.fabric8.kubernetes.client.Custo... | feat: add default stop handler | null | java-operator-sdk/java-operator-sdk | Apache License 2.0 | Java |
@@ -46,6 +46,7 @@ func main() {
if cfgfile, err = cmd.Flags().GetString("cfgfile"); err != nil {
return err
}
+ pidpath := viper.GetString("pidpath")
mtls := viper.GetBool("mtls")
certificate := viper.GetString("certificate")
pkey := viper.GetString("pkey")
@@ -58,6 +59,7 @@ func main() {
WithAddress(address).
WithDbNa... | feat(cmd/immud): Add pid file parameter | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -69,19 +69,19 @@ class Themes
// Go through the themes list...
foreach ($themes_list as $theme) {
- // Set site theme directory
- $site_theme_settings_dir = PATH['config']['site'] . '/themes/' . $theme['dirname'];
+ // Set custom theme directory
+ $custom_theme_settings_dir = PATH['config']['site'] . '/themes/' . $t... | feat(core): remove complex logic for themes initialization process | null | flextype/flextype | MIT License | PHP |
@@ -18,13 +18,15 @@ declare -r SCRIPT_DIR=$(cd $(dirname ${0}) >/dev/null 2>&1 && pwd)
declare -r ROOT_DIR=$(dirname ${SCRIPT_DIR})
declare -r STATIC_DIR="$ROOT_DIR/static"
+UI_RELEASE="OSS-2022-09-16"
+
# Download the SHA256 checksum attached to the release. To verify the integrity
# of the download, this checksum wil... | feat: bump to latest UI | null | influxdata/influxdb | MIT License | Shell |
@@ -1298,6 +1298,14 @@ impl TryFrom<String> for Provider<HttpProvider> {
}
}
+impl<'a> TryFrom<&'a String> for Provider<HttpProvider> {
+ type Error = ParseError;
+
+ fn try_from(src: &'a String) -> Result<Self, Self::Error> {
+ Provider::try_from(src.as_str())
+ }
+}
+
/// A middleware supporting development-specific ... | feat: add TryFrom String reference for http provider | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -71,6 +71,11 @@ from ..services import (
from ..tasks import api_invoice_listeners
+@core_app.get("/api/v1/health", status_code=HTTPStatus.OK)
+async def health():
+ return
+
+
@core_app.get("/api/v1/wallet")
async def api_wallet(wallet: WalletTypeInfo = Depends(get_key_type)):
if wallet.wallet_type == 0:
| feat: api health check endpoint | null | lnbits/lnbits | MIT License | Python |
@@ -6,7 +6,8 @@ import logging
LOG = logging.getLogger(__name__)
GCP_IAM_ROLE_SECRETS = "roles/secretmanager.secretAccessor"
-GCP_IAM_ROLES = [GCP_IAM_ROLE_SECRETS]
+GCP_IAM_ROLE_DATASTORE = "roles/datastore.user"
+GCP_IAM_ROLES = [GCP_IAM_ROLE_SECRETS, GCP_IAM_ROLE_DATASTORE]
def create_iam_resources(env: GcpEnvironme... | feat: Added support for GCP Datastore IAM roles | null | foremast/foremast | Apache License 2.0 | Python |
@@ -35,6 +35,8 @@ import ReactiveList from './components/result/ReactiveList';
import ResultCard from './components/result/ResultCard';
import ResultList from './components/result/ResultList';
+import { SearchPreferencesContext } from './utils';
+
export {
// basic
ReactiveBase,
@@ -71,4 +73,5 @@ export {
ReactiveList,... | feat(web): export SearchPreferencesContext | null | appbaseio/reactivesearch | Apache License 2.0 | JavaScript |
@@ -9,9 +9,9 @@ import Foundation
import TweetNacl
extension SolanaSDK {
- struct AssociatedTokenProgram {
+ public struct AssociatedTokenProgram {
// MARK: - Interface
- static func createAssociatedTokenAccountInstruction(
+ public static func createAssociatedTokenAccountInstruction(
associatedProgramId: PublicKey = .... | feat: public AssociatedTokenProgram | null | p2p-org/solana-swift | MIT License | Swift |
@@ -18,6 +18,7 @@ const ownPropTypes = {
};
const injectedPropTypes = {
+ activityTypes: PropTypes.array.isRequired,
conversation: PropTypes.object.isRequired,
fileShares: PropTypes.array.isRequired
};
@@ -37,6 +38,7 @@ class FilesWidget extends Component {
return (
<div className={classNames('ciscospark-widget-files',... | feat(widget-files): add support for menu toggle | null | webex/react-widgets | MIT License | JavaScript |
@@ -346,6 +346,7 @@ export function createMenu(ctx: MenuContext): void {
enabled:
typeof ctx.patternLibrary !== 'undefined' &&
ctx.patternLibrary.getState() === Types.PatternLibraryState.Connected,
+ accelerator: 'CmdOrCtrl+U',
click: () => ctx.store.updatePatternLibrary()
}
]
| feat: add hotkey for library update | null | meetalva/alva | MIT License | TypeScript |
@@ -64,6 +64,11 @@ impl OpRegistry {
pub fn get(&self, op_id: OpId) -> Option<Rc<OpDispatcher>> {
self.dispatchers.get(op_id as usize).map(Rc::clone)
}
+
+ pub fn unregister_op(&mut self, name: &str) {
+ let id = self.name_to_id.remove(name).unwrap();
+ drop(self.dispatchers.remove(id as usize));
+ }
}
#[test]
@@ -101,... | feat(core): add unregister op | null | denoland/deno | MIT License | Rust |
@@ -15,7 +15,7 @@ function getIconType(node) {
}
export default function Node({ node, depth, expanded, focused, toggleExpand }) {
- const { name, url, type } = node
+ const { name, url, type, path } = node
const item = (
<p
className={cx('node-item', { expanded })}
@@ -27,7 +27,7 @@ export default function Node({ node,... | feat(FileExplorer): show item path when pointer hovers | null | enixcoda/gitako | MIT License | JavaScript |
@@ -30,6 +30,7 @@ func Initialize(c context.Context, DBFunc func() *gorp.DbMap, instance string) {
nbWorkflowRuns := prometheus.NewCounter(prometheus.CounterOpts{Name: "nb_workflow_runs", Help: "metrics nb_workflow_runs", ConstLabels: labels})
nbWorkflowNodeRuns := prometheus.NewCounter(prometheus.CounterOpts{Name: "nb... | feat(api): metrics jobs, refresh each 9s | null | ovh/cds | BSD 3-Clause New or Revised License | Go |
@@ -39,6 +39,11 @@ module.exports = function(environment) {
// ENV.APP.LOG_TRANSITIONS = true;
// ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
// ENV.APP.LOG_VIEW_LOOKUPS = true;
+ ENV['ember-a11y-testing'] = {
+ componentOptions: {
+ turnAuditOff: true,
+ }
+ };
}
if (environment === 'test') {
| feat(config/environment): Disable accessibility audit in during development | null | rust-lang/crates.io | Apache License 2.0 | JavaScript |
+import { performance } from 'perf_hooks'
+import * as effector from 'effector'
+import w from 'wonka'
+import { cellx } from 'cellx/dist/cellx.umd.js'
+import { Action, Atom, createStore } from '../build'
+
+// const cellx = require('cellx')
+
+const w_combine = <A, B>(
+ sourceA: w.Source<A>,
+ sourceB: w.Source<B>,
... | feat(core): add bench | null | artalar/reatom | MIT License | TypeScript |
+import React from 'react'
+import { shallow } from 'enzyme'
+import bootstrapContainer from 'react-bootstrap/Container'
+import bootstrapRow from 'react-bootstrap/Row'
+import bootstrapColumn from 'react-bootstrap/Col'
+import { Container, Row, Column } from '../src'
+
+describe('Container', () => {
+ it('renders itse... | feat(layout): add tests for components | null | hospitalrun/components | MIT License | TypeScript |
@@ -1799,7 +1799,7 @@ $collections = [
'filters' => [],
],
[
- '$id' => 'tag',
+ '$id' => 'deployment',
'type' => Database::VAR_STRING,
'format' => '',
'size' => Database::LENGTH_KEY,
@@ -1898,10 +1898,10 @@ $collections = [
],
],
- 'tags' => [
+ 'deployments' => [
'$collection' => Database::METADATA,
- '$id' => 'tags'... | feat: rename tags to deployments in collections.php | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -176,6 +176,8 @@ func main() {
if err = migration.Migrate(database); err != nil {
log.Fatalf("failed to migrate the database, error: %v", err)
}
+
+ log.Info("The database has been migrated successfully")
}
ctx = orm.Clone(ctx)
| feat: log completion message when database migrated | null | goharbor/harbor | Apache License 2.0 | Go |
@@ -163,6 +163,71 @@ pub mod array {
}
}
+mod int {
+ use super::*;
+ use crate::types::VmInt;
+
+ pub(crate) fn rem(dividend: VmInt, divisor: VmInt) -> RuntimeResult<VmInt, String> {
+ if divisor != 0 {
+ RuntimeResult::Return(dividend % divisor)
+ } else {
+ RuntimeResult::Panic(
+ format!("attempted to calculate rem... | feat(std): add modulo functions to int and float | null | gluon-lang/gluon | MIT License | Rust |
@@ -2193,6 +2193,75 @@ where
}
}
+#[derive(Copy, Clone)]
+pub struct Recognize<F, P>(P, PhantomData<fn() -> F>);
+
+impl<P, F> Parser for Recognize<F, P>
+where
+ P: Parser,
+ F: FromIterator<<P::Input as StreamOnce>::Item>,
+{
+ type Input = P::Input;
+ type Output = F;
+
+ #[inline]
+ fn parse_lazy(&mut self, mut inp... | feat: Add the recognize parser | null | marwes/combine | MIT License | Rust |
)]
use dotenv::dotenv;
+use once_cell::sync::Lazy;
use structopt::StructOpt;
use tokio::runtime::Runtime;
@@ -37,9 +38,18 @@ enum ReturnCode {
Failure = 1,
}
+static VERSION_STRING: Lazy<String> = Lazy::new(|| {
+ format!(
+ "{}, revision {}",
+ option_env!("CARGO_PKG_VERSION").unwrap_or("UNKNOWN"),
+ option_env!("GIT_... | feat: add GIT hash to `--version` | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -48,12 +48,18 @@ pub(crate) async fn get_client(options: &ClientOptions) -> Arc<RwLock<Client>> {
.collect::<Vec<String>>()[..],
)
.await
+ // safe to unwrap since we're sure we have valid URLs
.unwrap();
if let Some(network) = options.network() {
client_builder = client_builder.with_network(network);
}
+ if let Som... | feat(client): add single node to ClientOptions | null | iotaledger/wallet.rs | Apache License 2.0 | Rust |
@@ -99,7 +99,7 @@ class Collections
*
* @access public
*/
- public function find(array $array)
+ public function find($array)
{
// Save error_reporting state and turn it off
// because PHP Doctrine Collections don't works with collections
@@ -111,8 +111,11 @@ class Collections
$oldErrorReporting = error_reporting();
er... | feat(element-queries): Collections class commit | null | flextype/flextype | MIT License | PHP |
@@ -8,6 +8,7 @@ use crate::hostcall::HOST_CALL_ALLOC;
use crate::hostmap::HOSTMAP;
use crate::paging::SHIM_PAGETABLE;
use crate::payload::NEXT_MMAP_RWLOCK;
+use crate::snp::{pvalidate, PvalidateSize};
use crate::spin::RwLocked;
use core::alloc::{GlobalAlloc, Layout};
use core::cmp::{max, min};
@@ -246,6 +247,19 @@ impl... | feat(shim-sev): pvalidate newly ballooned memory | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -47,6 +47,12 @@ pub mod note {
/// The minimum sallyport semver requires
pub const REQUIRES: u32 = 0;
+ /// The sallyport block size of the shim (u64)
+ pub const BLOCK_SIZE: u32 = 0x73677820;
+
+ /// The number of sallyport blocks of the shim (u64)
+ pub const NUM_BLOCKS: u32 = 0x73677821;
+
/// SGX ELF Notes
pub m... | feat: add elf notes with block info | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -121,6 +121,28 @@ pub fn register_route(
// Create user
db.users.create(&user_id, &password)?;
+ // Initial data
+ db.account_data.update(
+ None,
+ &user_id,
+ EventType::PushRules,
+ &ruma::events::push_rules::PushRulesEvent {
+ content: ruma::events::push_rules::PushRulesEventContent {
+ global: crate::push_rules... | feat: handle inhibit_login in /register | null | timokoesters/conduit | Apache License 2.0 | Rust |
@@ -239,6 +239,13 @@ impl MySQLFederated {
("(?i)^(/\\* ApplicationName=(.*)SHOW VARIABLES(.*))", None),
// pt-toolkit
("(?i)^(/\\*!40101 SET(.*) \\*/)$", None),
+ // mysqldump 5.7.16
+ ("(?i)^(/\\*!40100 SET(.*) \\*/)$", None),
+ ("(?i)^(/\\*!40103 SET(.*) \\*/)$", None),
+ ("(?i)^(/\\*!40111 SET(.*) \\*/)$", None),
+... | feat(query): fed mysqldump 5.7.16 /*!code query | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -26,9 +26,9 @@ use function app;
* endpoint: GET /api/v0/registry
*
* Query:
- * key - [REQUIRED] - Unique identifier of the registry item key.
+ * id - [REQUIRED] - Unique identifier of the registry item.
* token - [REQUIRED] - Valid public token.
- * default - [OPTIONAL] - Default value for registry item key.
+ * ... | feat(routes): update route for registry | null | flextype/flextype | MIT License | PHP |
@@ -130,6 +130,9 @@ export class Store {
}
public openStyleguide(styleguidePath: string): void {
+ // TODO: Replace workaround by proper dirty-check handling
+ this.save();
+
MobX.transaction(() => {
if (!PathUtils.isAbsolute(styleguidePath)) {
// Currently, store is two levels below alva, so go two up
@@ -167,6 +170,9... | feat(store): auto-saving page when switching to another page or styleguide | null | meetalva/alva | MIT License | TypeScript |
+use dioxus::prelude::*;
+
+fn main() {
+ dioxus::desktop::launch(app);
+}
+
+fn app(cx: Scope) -> Element {
+ let disabled = use_state(&cx, || false);
+
+ cx.render(rsx! {
+ div {
+ button {
+ onclick: move |_| disabled.set(!disabled.get()),
+ "click to " [if *disabled {"enable"} else {"disable"} ] " the lower button"... | feat: add disabled example | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -25,6 +25,7 @@ struct {
struct task_s *tsk_search;
struct reddit_search_params params;
char *srs; // subreddits
+ char before[16];
} R;
struct { /* DISCORD UTILS */
struct discord *client;
@@ -39,34 +40,74 @@ void on_search(
const struct discord_user *bot,
const struct discord_message *msg)
{
- char *subreddits = NU... | feat: bot-reddit-search accepts query strings for a better control of search results (currently supports: srs, before, after) | null | cee-studio/orca | MIT License | C |
@@ -276,7 +276,7 @@ public class RunContext {
clone.put("taskrun", this.variables(taskRun));
this.variables = ImmutableMap.copyOf(clone);
- this.storageExecutionPrefix = URI.create(this.storageInterface.executionPrefix(taskRun));
+ this.storageExecutionPrefix = URI.create("/" + this.storageInterface.executionPrefix(tas... | feat(core): fix PurgeExecution prefix path | null | kestra-io/kestra | Apache License 2.0 | Java |
@@ -100,7 +100,15 @@ class Trainer:
optimizer_pt = model_pt.with_suffix(".optimizer.pt")
model_state = torch.load(_model_pt, map_location=lambda storage, loc: storage)
- self.model_.load_state_dict(model_state)
+ missing_keys, unexpected_keys = self.model_.load_state_dict(
+ model_state, strict=False
+ )
+ if missing_k... | feat: add support for partial checkpoint loading | null | pyannote/pyannote-audio | MIT License | Python |
@@ -19,7 +19,7 @@ class List extends Component {
style={{ width: '100%' }}
data={this.props.data || []}
keyExtractor={item => item._id}
- renderItem={({ item }) => this.props.onData(item)}
+ renderItem={({ item, index }) => this.props.onData(item, index)}
onEndReachedThreshold={0.5}
onEndReached={this.props.onEndReache... | feat(native): Pass up index prop to onData in ReactiveList | null | appbaseio/reactivesearch | Apache License 2.0 | JavaScript |
+from pathlib import Path
+import sys
+
+from PyQt5 import QtGui
+from PyQt5 import QtWidgets
+from PyQt5 import QtWebEngineWidgets
+from PyQt5 import QtCore
+
+from application import views
+
+
+PARENT = Path(__file__).parent
+TITLE = "Topics Explorer :: DARIAH-DE"
+ICON = str(Path(PARENT, "static", "img", "logos", "f... | feat: add pyqt stuff | null | dariah-de/topicsexplorer | Apache License 2.0 | Python |
import {assert} from '@ciscospark/test-helper-chai';
+import {skipInNode} from '@ciscospark/test-helper-mocha';
import {ReportGenerator} from '@ciscospark/internal-plugin-ediscovery';
+
import activities from './activities';
describe('report-generator', () => {
@@ -7,17 +9,40 @@ describe('report-generator', () => {
let... | feat(ediscovery): tidying and adding tests | null | webex/webex-js-sdk | MIT License | JavaScript |
@@ -19,6 +19,7 @@ package com.baidu.openrasp.tool;
import com.baidu.openrasp.HookHandler;
import com.baidu.openrasp.config.Config;
import com.baidu.openrasp.tool.model.NicModel;
+import com.baidu.openrasp.NativePatches;
import org.apache.commons.io.IOUtils;
import java.io.InputStream;
@@ -51,6 +52,15 @@ public class OS... | feat(java): use native getNetworkInterface method if java versoin is 1.6 | null | baidu/openrasp | Apache License 2.0 | Java |
@@ -37,6 +37,7 @@ from . import TASK_REPRESENTATION_LEARNING
from .sincnet import SincNet
+
class RNN(nn.Module):
"""Recurrent layers
@@ -114,49 +115,80 @@ class RNN(nn.Module):
self.pool = pool
- def forward(self, features):
+ def forward(self, features, return_intermediate=False):
"""Apply recurrent layer (and option... | feat: add "return_intermediate" option to PyanNet architecture | null | pyannote/pyannote-audio | MIT License | Python |
@@ -186,7 +186,7 @@ function setup_deps {
# (see <https://stackoverflow.com/a/43574427>).
local java_add_modules=' --add-modules java.se.ee'
if [ $DEBIAN == true ] ; then
- if [ $(dpkg-query -W default-jre | cut -f2 | sed -En 's/^[0-9]+:1\.([0-9]+).*/\1/p') -ge 9 \
+ if [ $(java -version 2>&1 | awk -F[\"\.] -v OFS=. 'N... | feat(scripts/build-android): Query java and not dpkg for version | null | equalitie/ouinet | MIT License | Shell |
@@ -126,8 +126,10 @@ class AfterLoadingPageState extends State<AfterLoadingPage>
duration: const Duration(milliseconds: 250),
curve: Curves.easeInOut,
);
- var controller = PrimaryScrollController.of(context);
- controller?.jumpTo(0);
+ final scrollController = PrimaryScrollController.of(context);
+ scrollController?.a... | feat: use animateTo method | null | project-violet/violet | Apache License 2.0 | Dart |
@@ -4,7 +4,7 @@ const date = require('@/utils/date');
module.exports = async (ctx) => {
const uid = ctx.params.uid;
- const displayVideo = ctx.params.displayVideo || '0';
+ const displayVideo = ctx.params.displayVideo || '1';
const containerResponse = await got({
method: 'get',
| feat: set default weibo displayVideo to 1 | null | diygod/rsshub | MIT License | JavaScript |
@@ -22,8 +22,12 @@ func (gui *Gui) handleEditorKeypress(textArea *gocui.TextArea, key gocui.Key, ch
textArea.MoveCursorDown()
case key == gocui.KeyArrowUp:
textArea.MoveCursorUp()
+ case key == gocui.KeyArrowLeft && (mod&gocui.ModAlt) != 0:
+ textArea.MoveLeftWord()
case key == gocui.KeyArrowLeft || key == gocui.KeyCtr... | feat(editors.go): move by words | null | jesseduffield/lazygit | MIT License | Go |
@@ -10,6 +10,16 @@ protocol Layer {
}
class BackgroundLayer: UIView, Layer {
+
+ override init(frame: CGRect) {
+ super.init(frame: frame)
+ backgroundColor = UIColor.black
+ }
+
+ required init?(coder: NSCoder) {
+ fatalError("init(coder:) has not been implemented")
+ }
+
func attach(plugin: UIPlugin) {}
}
@@ -17,11 +... | feat: defines BackgroundLayer bounds | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -7,7 +7,6 @@ pub(crate) use listener::*;
mod messages;
pub(crate) use messages::*;
mod trust_policy;
-use ockam_node::WorkerBuilder;
pub use trust_policy::*;
pub mod access_control;
mod local_info;
@@ -17,9 +16,7 @@ use crate::authenticated_storage::AuthenticatedStorage;
use crate::{Identity, IdentityVault};
use cor... | feat(rust): further restrict access control for identity secure channel listener | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -96,8 +96,10 @@ class MediaFolders
*/
public function create(string $id): bool
{
- if (! Filesystem::has($this->getDirLocation($id)) && ! Filesystem::has(flextype('media_folders_meta')->getDirMetaLocation($id))) {
- return Filesystem::createDir($this->getDirLocation($id)) && Filesystem::createDir(flextype('media_fol... | feat(media-folder): use Atomastic Filesystem for create() method | null | flextype/flextype | MIT License | PHP |
@@ -29,7 +29,7 @@ abstract class KrakenBundle {
KrakenBundle(this.url);
// Unique resource locator.
- final Uri url;
+ final String url;
// JS Content
late String content;
// JS line offset, default to 0.
@@ -44,17 +44,14 @@ abstract class KrakenBundle {
static Future<KrakenBundle> getBundle(String path, { String? cont... | feat: script support relative path | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -778,6 +778,63 @@ TEST_F(ClientIntegrationTest, ExecuteBatchDmlFailure) {
ASSERT_EQ(batch_result->stats[1].row_count, 1);
}
+TEST_F(ClientIntegrationTest, AnalyzeSql) {
+ auto txn = MakeReadOnlyTransaction();
+ auto sql = SqlStatement(
+ "SELECT * FROM Singers "
+ "WHERE FirstName = 'Foo1' OR FirstName = 'Foo3'");
+... | feat: add integration tests for profiling APIs (googleapis/google-cloud-cpp-spanner#1127) | null | googleapis/google-cloud-cpp | Apache License 2.0 | C++ |
+<?php
+
+declare(strict_types=1);
+
+/**
+ * Flextype (http://flextype.org)
+ * Founded by Sergey Romanenko and maintained by Flextype Community.
+ */
+
+namespace Flextype;
+
+class Model
+{
+ /**
+ * Flextype Dependency Container
+ */
+ protected $container;
+
+ /**
+ * __construct
+ */
+ public function __construct... | feat(core): add base Model | null | flextype/flextype | MIT License | PHP |
@@ -26,29 +26,36 @@ open class PlayButton(core: Core) : ButtonPlugin(core) {
override val resourceLayout: Int
get() = R.layout.button_plugin
+ internal val playbackListenerIds = mutableListOf<String>()
+
init {
- bindEventListeners()
+ bindCoreEvents()
}
- open fun bindEventListeners() {
- stopListening()
- bindCoreEve... | feat(play_btn_listeners): stop listening for playback events when plugin is destroyed | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -426,6 +426,11 @@ function patchiOSFrameworkPList(frameworkPath) {
task(`build-ios-kraken-lib`, (done) => {
const buildType = (buildMode == 'Release' || buildMode === 'RelWithDebInfo') ? 'RelWithDebInfo' : 'Debug';
+ let externCmakeArgs = [];
+
+ if (process.env.ENABLE_ASAN === 'true') {
+ externCmakeArgs.push('-DEN... | feat: enable asan mode for ios and android build | null | openkraken/kraken | Apache License 2.0 | JavaScript |
@@ -4,7 +4,6 @@ import copy
import pype.api
import pyblish
-from pypeapp import config
class ExtractBurnin(pype.api.Extractor):
@@ -30,6 +29,8 @@ class ExtractBurnin(pype.api.Extractor):
'version', instance.context.data.get('version'))
frame_start = int(instance.data.get("frameStart") or 0)
frame_end = int(instance.dat... | feat(global): adding no handles to extract burnin | null | pypeclub/openpype | MIT License | Python |
@@ -987,6 +987,12 @@ func RunCreateCluster(f *util.Factory, out io.Writer, c *CreateClusterOptions) e
cluster.Spec.MasterPublicName = c.MasterPublicName
}
+ // Default to kubelet auth being turned off
+ if cluster.Spec.Kubelet == nil {
+ cluster.Spec.Kubelet = &api.KubeletConfigSpec{}
+ }
+ cluster.Spec.Kubelet.Anonymo... | feat(cmd/kops/create_cluster): default to kubelet anonymousAuth true | null | kubernetes/kops | Apache License 2.0 | Go |
@@ -60,9 +60,8 @@ pub struct FinalAggregator<
state: Method::State,
params: Arc<AggregatorParams>,
- // Row based temp places, size eq to agg function size
// used for deserialization only, so we can reuse it during the loop
- temp_places: Vec<StateAddr>,
+ temp_place: StateAddr,
}
impl<const HAS_AGG: bool, Method: Has... | feat(query): fix empty aggrs | null | datafuselabs/databend | Apache License 2.0 | Rust |
import {
- HeatMapDatum,
ResponsiveHeatMap,
ResponsiveHeatMapCanvas,
} from '@nivo/heatmap'
-import { generateCountriesData } from '@nivo/generators'
+import { generateXYSeries } from '@nivo/generators'
import { useChart } from '../hooks'
-const keys = [
- 'hot dogs',
- 'burgers',
- 'sandwich',
- 'kebab',
- 'fries',
- ... | feat(heatmap): update codesandbox example to reflect API changes | null | plouc/nivo | MIT License | TypeScript |
@@ -178,6 +178,7 @@ public static VRTK_SDKManager instance
/// The loaded SDK Setup. <see langword="null"/> if no setup is currently loaded.
/// </summary>
public VRTK_SDKSetup loadedSetup { get; private set; }
+ private static HashSet<VRTK_SDKInfo> _previouslyUsedSetupInfos = new HashSet<VRTK_SDKInfo>();
/// <summary>... | feat(SDKManager): load the previously used SDK Setup | null | extendrealityltd/vrtk | MIT License | C# |
@@ -265,6 +265,16 @@ if (! function_exists('filter')) {
}
}
+if (! function_exists('images')) {
+ /**
+ * Get Flextype Images Service.
+ */
+ function images()
+ {
+ return flextype()->container()->get('images');
+ }
+}
+
if (! function_exists('image')) {
/**
* Create a new image instance.
| feat(helpers): add new helper `images` | null | flextype/flextype | MIT License | PHP |
@@ -127,6 +127,7 @@ public class VersionRestService extends AbstractRestService {
.setDescription(input.getDescription())
.setEffectiveTime(input.getEffectiveTime())
.setForce(input.isForce())
+ .setCommitComment(input.getCommitComment())
.buildAsync()
.runAsJobWithRestart(ResourceRequests.versionJobKey(input.getResour... | feat(VersionRestService): set commit comment on version creation | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -323,9 +323,10 @@ def main():
application.purity = purity
application.diarization = diarization
- application.validate(protocol_name, subset=subset,
- start=start, end=end, every=every,
- in_order=in_order)
+ task = f'purity={100*purity:.0f}%'
+ application.validate(
+ protocol_name, subset=subset, task=task,
+ star... | feat: add purity suffix to validation directory | null | pyannote/pyannote-audio | MIT License | Python |
@@ -95,32 +95,12 @@ class PreparedQuery extends BasePreparedQuery implements PreparedQueryInterface
throw new \BadMethodCallException('You must call prepare before trying to execute a prepared statement.');
}
- // First off -bind the parameters
- $bindTypes = '';
-
- // Determine the type string
- foreach ($data as $it... | feat: add bind process | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -174,7 +174,6 @@ export function createTestUser(options = {}) {
throw new Error('options.conversationServiceUrl or process.env.WEBEX_TEST_USERS_CONVERSATION_SERVICE_URL must be defined');
}
-
const body = {
authCodeOnly: options.authCodeOnly,
clientId,
@@ -191,8 +190,8 @@ export function createTestUser(options = {})... | feat(test-users): extend default password | null | webex/webex-js-sdk | MIT License | JavaScript |
@@ -2,8 +2,13 @@ use serde::{
de::{Error, Unexpected},
Deserialize, Deserializer, Serialize, Serializer,
};
+use thiserror::Error;
-use std::fmt::{Display, Formatter, LowerHex, Result as FmtResult};
+use std::{
+ clone::Clone,
+ fmt::{Debug, Display, Formatter, LowerHex, Result as FmtResult},
+ str::FromStr,
+};
/// Wr... | feat(ethers-core/Bytes): impl FromStr | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -9,6 +9,7 @@ import graphql.schema.DataFetcher;
import graphql.schema.DataFetchingEnvironment;
import java.util.ArrayList;
import java.util.List;
+import java.util.Map;
import java.util.Optional;
import org.joda.time.DateTime;
@@ -78,16 +79,31 @@ public final class GetHighlightsResolver implements DataFetcher<List<H... | feat(analytics): add more analytics for entities | null | linkedin/datahub | Apache License 2.0 | Java |
@@ -77,7 +77,11 @@ export type RefreshingViewProperties =
| TableView
| GaugeView
-export type ViewProperties = RefreshingViewProperties | MarkdownView | EmptyView
+export type ViewProperties =
+ | RefreshingViewProperties
+ | MarkdownView
+ | LogViewerView
+ | EmptyView
export interface EmptyView {
type: ViewShape.Emp... | feat(dashboard/views): Add log viewer view type | null | influxdata/influxdb | MIT License | TypeScript |
@@ -24,6 +24,7 @@ import java.net.InetAddress;
import java.security.Permission;
import java.util.Map;
import java.util.Set;
+import java.util.concurrent.CopyOnWriteArraySet;
import org.slf4j.Logger;
@@ -126,6 +127,17 @@ public class HugeSecurityManager extends SecurityManager {
ImmutableSet.of("newSecurityException")
)... | feat: add ingore security check api | null | hugegraph/hugegraph | Apache License 2.0 | Java |
@@ -599,10 +599,10 @@ class Entries
$entryFile = $this->getFileLocation($id);
if (filesystem()->file($entryFile)->exists()) {
- return strings('entry' . $entryFile . (filesystem()->file($entryFile)->lastModified() ?: ''))->hash()->toString();
+ return strings($this->options['directory'] . $entryFile . (filesystem()->fi... | feat(entries): use options directory for `getCacheID` method | null | flextype/flextype | MIT License | PHP |
-package sd
-
-import (
- "fmt"
- "net/http"
-
- "github.com/gin-gonic/gin"
- "github.com/shirou/gopsutil/cpu"
- "github.com/shirou/gopsutil/disk"
- "github.com/shirou/gopsutil/load"
- "github.com/shirou/gopsutil/mem"
-)
-
-const (
- B = 1
- KB = 1024 * B
- MB = 1024 * KB
- GB = 1024 * MB
-)
-
-// @Summary Shows OK as ... | feat: move api sd/check | null | go-eagle/eagle | MIT License | Go |
@@ -147,18 +147,18 @@ return [
'model' => Response::MODEL_ANY,
'note' => 'version >= 0.7',
],
- 'functions.tags.create' => [
- 'description' => 'This event triggers when a function tag is created.',
+ 'functions.deployments.create' => [
+ 'description' => 'This event triggers when a function delpoyment is created.',
'm... | feat: rename tags to deployments in events.php | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -194,6 +194,110 @@ export default (part) => {
)
if (paperless) {
+ // Clean up paperless dimensions
+ macro('rmad')
+ delete paths.hint
+
+ // Shared
+ macro('hd', {
+ from: points.floorIn,
+ to: points.grainlineBottom,
+ y: points.floorIn.y - 15
+ })
+ macro('hd', {
+ from: points.grainlineBottom,
+ to: points.floo... | feat(charlie): Paperless for back part | null | freesewing/freesewing | MIT License | JavaScript |
@@ -68,36 +68,56 @@ class Themes
// Go through the themes list...
foreach ($themes_list as $theme) {
+
+ // Set site theme directory
+ $site_theme_settings_dir = PATH['config']['site'] . '/themes/' . $theme['dirname'];
+
+ // Set default theme settings and manifest files
$default_theme_settings_file = PATH['themes'] . ... | feat(core): add ability to override themes default manifest and settings | null | flextype/flextype | MIT License | PHP |
@@ -112,6 +112,13 @@ impl Time {
self.0.to_rfc3339()
}
+ /// Parses data from RFC 3339 format.
+ pub fn from_rfc3339(s: &str) -> Result<Self, Box<dyn std::error::Error + Send + Sync>> {
+ Ok(Self(DateTime::<Utc>::from(
+ DateTime::parse_from_rfc3339(s).map_err(Box::new)?,
+ )))
+ }
+
/// Returns the number of non-leap-... | feat: add `Time::from_rfc3339` | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -202,7 +202,32 @@ func createRun(opts *CreateOpts) error {
}
}
}
- if len(opts.Labels) == 0 || opts.MileStone == 0 {
+ } else if opts.Title == "" {
+ return fmt.Errorf("title can't be blank")
+ }
+
+ var action cmdutils.Action
+
+ // submit without prompting for non interactive mode
+ if !opts.IsInteractive || opts.... | feat(commands/issue/create): implement 'Add metadata' prompt | null | profclems/glab | MIT License | Go |
@@ -63,6 +63,7 @@ import com.intellij.openapi.roots.ModuleSourceOrderEntry
import com.intellij.openapi.roots.OrderRootType
import com.intellij.openapi.roots.libraries.LibraryTablesRegistrar
import com.intellij.openapi.startup.StartupActivity
+import com.intellij.openapi.util.registry.Registry
import com.intellij.openap... | feat: disable AndroidGradleProjectStartupActivity for GradleCommandLineProjectConfigurator | null | jetbrains/android | Apache License 2.0 | Kotlin |
@@ -119,7 +119,15 @@ export default (Component) => (
>
{(mutationFunction) => (
<Query query={query} variables={variables}>
- {({ data: cartData }) => (
+ {({ data: cartData }) => {
+ const { anonymousCartByCartId, accountCartByAccountId } = cartData || {
+ anonymousCartByCartId: null,
+ accountCartByAccountId: null
+ ... | feat: get the cart object out of query data | null | reactioncommerce/example-storefront | Apache License 2.0 | JavaScript |
@@ -232,6 +232,12 @@ var FreeResources []string = []string{
"aws_sqs_queue_policy",
"aws_volume_attachment",
+ // AWS RAM
+ "aws_ram_principal_association",
+ "aws_ram_resource_association",
+ "aws_ram_resource_share",
+ "aws_ram_resource_share_accepter",
+
// AWS S3
"aws_s3_access_point",
"aws_s3_account_public_access... | feat(aws): add AWS RAM resources | null | infracost/infracost | Apache License 2.0 | Go |
@@ -10,10 +10,10 @@ use Auth\OAuth;
class Stackoverflow extends OAuth
{
- // /**
- // * @var string
- // */
- // protected $version = 'v4';
+ /**
+ * @var string
+ */
+ protected $version = 'v2.2';
/**
* @var array
*/
@@ -35,7 +35,7 @@ class Stackoverflow extends OAuth
return 'https://stackoverflow.com/oauth?'.
'client... | feat: added scope | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -83,6 +83,16 @@ impl Core {
state.xi_peer.send_json(&cmd);
}
+ pub fn send_result(&self, id: u64, result: &Value) {
+ let state = self.state.lock().unwrap();
+ let cmd = json!({
+ "id": id,
+ "result": result,
+ });
+ debug!("CORE <-- result: {}", cmd);
+ state.xi_peer.send_json(&cmd);
+ }
+
/// Calls the callback w... | feat(rpc): support sending results to xi | null | cogitri/tau | MIT License | Rust |
package org.fossasia.openevent.general.settings
-import androidx.appcompat.app.AlertDialog
import android.content.ActivityNotFoundException
import android.content.Intent
import android.net.Uri
@@ -8,7 +7,9 @@ import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import android.view.MenuI... | feat: Add log out dialog in settings fragment | null | fossasia/open-event-attendee-android | Apache License 2.0 | Kotlin |
@@ -52,6 +52,11 @@ public class ShapefileReader {
features = source.getFeatures(filter);
crs = features.getSchema().getCoordinateReferenceSystem();
+
+ if (crs == null) {
+ throw new IllegalArgumentException("Unrecognized shapefile projection");
+ }
+
transform = CRS.findMathTransform(crs, DefaultGeographicCRS.WGS84, t... | feat(shapefile-upload): check projection | null | conveyal/r5 | MIT License | Java |
@@ -45,6 +45,7 @@ function getTaskHealthFromMarathon(task) {
function mergeHealth(task) {
let health = TaskHealthStates.UNKNOWN;
+
let taskHealth = getTaskHealthFromMesos(task);
if (taskHealth === null) {
@@ -58,6 +59,14 @@ function mergeHealth(task) {
health = TaskHealthStates.UNHEALTHY;
}
+ if (
+ health === TaskHeal... | feat(Tasks): interpret SDK task as healthy unless health check says otherwise | null | dcos/dcos-ui | Apache License 2.0 | JavaScript |
@@ -11,13 +11,15 @@ import { ChangeLog } from '../../shared/model/ui/change-log';
export class VersionFormComponent {
versionChanges: ChangeLog[] = [
{
- version: '1.3.4',
+ version: '1.3.4 (03.08.2021)',
changes: [
- 'Topic-Draft Creation: Initiator is now prefilled with the logged in User on creation.'
+ 'Topic-Draft... | feat(objective-comments): added new version | null | burningokr/burningokr | Apache License 2.0 | TypeScript |
+from collections import OrderedDict
+from typing import Optional
+
+from brownie.utils import color
+
+
+def build_tree(
+ tree_dict: OrderedDict, empty_lines: int = 1, _indent_data: Optional[list] = None
+) -> str:
+ result = f"{color('dark white')}"
+ if _indent_data is None:
+ _indent_data = []
+
+ for i, key in en... | feat: build_tree | null | eth-brownie/brownie | MIT License | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.