diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -26,6 +26,7 @@ import (
var (
_ SingleColumn = (*UnicodeLooseMD5)(nil)
+ _ Hashing = (*UnicodeLooseMD5)(nil)
)
// UnicodeLooseMD5 is a vindex that normalizes and hashes unicode strings
@@ -64,13 +65,13 @@ func (vind *UnicodeLooseMD5) NeedsVCursor() bool {
// Verify returns true if ids maps to ksids.
func (vind *Unic... | feat: unicodeloosemd5 vindex implemented hashing interface | null | vitessio/vitess | Apache License 2.0 | Go |
@@ -47,13 +47,49 @@ def get_range(metric='euclidean'):
}.get(metric, None)
+def _pdist_func_1D(X, func):
+ """Helper function for pdist"""
+
+ X = X.squeeze()
+ n_items, = X.shape
+
+ distances = []
+
+ for i in range(n_items - 1):
+ distance = func(X[i], X[i+1:])
+ distances.append(distance)
+
+ return np.hstack(dista... | feat: add (fast) equal/minimum/maximum/average metrics to pdist | null | pyannote/pyannote-audio | MIT License | Python |
@@ -14,11 +14,11 @@ namespace Applications\Controller;
use Applications\Entity\Contact;
use Applications\Entity\Hydrator\ApiApplicationHydrator;
-use Laminas\Json\Json;
-use Laminas\Mvc\Controller\AbstractActionController;
-use Laminas\View\Model\JsonModel;
use Applications\Repository\Application as ApplicationsReposit... | feat(Applications): api/apply: add progress tracking url to json result | null | cross-solution/yawik | MIT License | PHP |
@@ -342,11 +342,11 @@ describe('Liquality wallet SWIPE feature', async () => {
// Check source name
await page.waitForSelector('#bestQuote_provider', { visible: true })
expect(await page.$eval('#bestQuote_provider', (el) => el.textContent),
- 'BTC->ETH swap, Thorchain source should be chosen!').equals('Thorchain')
+ 'B... | feat: Added array added here | null | liquality/wallet | MIT License | JavaScript |
@@ -96,6 +96,12 @@ class GameServers
'Sophia',
'Zurvan',
+ // Dynamis, 6.28, NA DC
+ 'Halicarnassus',
+ 'Maduin',
+ 'Marilith',
+ 'Seraph',
+
// Chinese servers
'HongYuHai',
'ShenYiZhiDi',
| feat: add new Dynamis servers to the flat servers list | null | xivapi/xivapi.com | MIT License | PHP |
@@ -11,7 +11,7 @@ use core::fmt::Debug;
use core::marker::PhantomData;
use futures::channel::mpsc::{channel, Receiver, Sender};
use futures::sink::SinkExt;
-use libipld::cid::Cid;
+use libipld::cid::{self, Cid};
use libp2p::core::PeerId;
pub mod fs;
@@ -98,6 +98,40 @@ pub enum RepoEvent {
UnprovideBlock(Cid),
}
+trait ... | feat: store always cidv1 | null | rs-ipfs/rust-ipfs | Apache License 2.0 | Rust |
@@ -114,7 +114,7 @@ class EntriesController extends Controller
'entries' => [
'link' => $this->router->pathFor('admin.entries.index'),
'title' => __('admin_entries'),
- 'attributes' => ['class' => 'btn active']
+ active => true
]
],
'buttons' => [
| feat(admin-plugin): update EntriesController nav | null | flextype/flextype | MIT License | PHP |
* Sets the canvas size to given `width` & `height` (given as CSS pixels,
* applied as device pixels) and adjusts canvas' `style` to compensate for HDPI
* devices. Note: For 2D canvases, this will automatically clear any prior
- * canvas content. Returns the window's devicePixelRatio (or 1, if not
- * available).
+ * ca... | feat(adapt-api): add optional DPR arg | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
+//! This example shows to wrap a webcomponent / custom element with a component.
+//!
+//! Oftentimes, a third party library will provide a webcomponent that you want
+//! to use in your application. This example shows how to create that custom element
+//! directly with the raw_element method on NodeFactory.
+
+use d... | feat: custom element example | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -2,7 +2,7 @@ import os
import pytest
from jina.docker.hubio import HubIO
-from jina.main.parser import set_hub_build_parser, set_hub_pushpull_parser
+from jina.main.parser import set_hub_build_parser, set_hub_pushpull_parser, set_hub_new_parser
cur_dir = os.path.dirname(os.path.abspath(__file__))
@@ -34,3 +34,7 @@ d... | feat: add unit test for hub new | null | jina-ai/jina | Apache License 2.0 | Python |
@@ -27,7 +27,8 @@ enum HttpCacheMode {
}
class HttpCacheController {
- static HttpCacheMode mode = HttpCacheMode.DEFAULT;
+ // Disable HTTP Cache for Windows and Linux
+ static HttpCacheMode mode = Platform.isLinux && Platform.isWindows ? HttpCacheMode.NO_CACHE : HttpCacheMode.DEFAULT;
static final Map<String, HttpCach... | feat: disable http cache for windows and linux | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -26,7 +26,7 @@ export const processAssets = (src: string, dest: string): Promise<any> => {
return new Promise((resolve, reject) => {
debug(`processAssets ${src} to ${dest}`);
- vfs.src(`${src}/**/*.ts`)
+ vfs.src([`${src}/**/*.ts`, '!node_modules/**/*'])
.pipe(inlineNg2Template({
base: `${src}`,
useRelativePaths: tr... | feat: exclude node_modules from being copied to working dir | null | ng-packagr/ng-packagr | MIT License | TypeScript |
@@ -19,6 +19,7 @@ use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Config;
use OwenIt\Auditing\Contracts\IpAddressResolver;
+use OwenIt\Auditing\Contracts\AuditRedactor;
use OwenIt\Auditing\Contracts\UrlResolver;
use OwenIt\Auditing\Contracts\UserAgentReso... | feat(Auditable): implement Audit redact logic | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -7,6 +7,7 @@ import 'package:provider/provider.dart';
import 'package:smooth_app/cards/product_cards/smooth_product_card_found.dart';
import 'package:smooth_app/data_models/product_list_supplier.dart';
import 'package:smooth_app/data_models/product_query_model.dart';
+import 'package:smooth_app/generic_lib/animation... | feat: Added Button for scroll to top | null | openfoodfacts/smooth-app | Apache License 2.0 | Dart |
@@ -141,12 +141,20 @@ class Okta extends OAuth2
/**
* Check if the OAuth email is verified
*
+ * @link https://developer.okta.com/docs/reference/api/oidc/#userinfo
+ *
* @param $accessToken
*
* @return bool
*/
public function isEmailVerified(string $accessToken): bool
{
+ $user = $this->getUser($accessToken);
+
+ if (i... | feat: added check for Okta OAuth | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -42,6 +42,7 @@ use once_cell::sync::Lazy;
use std::sync::Mutex;
#[cfg(any(test, feature = "tests"))]
+#[allow(unused)]
static LOCK: Lazy<Mutex<()>> = Lazy::new(|| Mutex::new(()));
#[cfg(all(feature = "svm", feature = "async"))]
| feat(solc): revamped remapping auto detect | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -108,7 +108,7 @@ class GsClone(WindowCommand, GitCommand):
return ""
def on_enter_directory(self, path):
- self.suggested_git_root = path
+ self.suggested_git_root = os.path.expanduser(path) # handle ~/%HOME%
if self.suggested_git_root and os.path.exists(os.path.join(self.suggested_git_root, ".git")):
sublime.ok_can... | feat: expand home dir when cloning a project | null | timbrel/gitsavvy | MIT License | Python |
@@ -26,6 +26,10 @@ class V06 extends Filter {
$parsedResponse = $this->parseUser($content);
break;
+ case Response::MODEL_USER_LIST:
+ $parsedResponse = $this->parseUserList($content);
+ break;
+
case Response::MODEL_SESSION :
$parsedResponse = $this->parseSession($content);
break;
@@ -189,6 +193,16 @@ class V06 extend... | feat: parse users list | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -12,7 +12,7 @@ class BlockchainClientTests: XCTestCase {
override func setUp() async throws {
accountStorage = InMemoryAccountStorage()
let account = try await Account(
- phrase: "promote ignore inmate coast excess candy vanish erosion palm oxygen build powder"
+ phrase: "miracle pizza supply useful steak border sam... | feat: change test account | null | p2p-org/solana-swift | MIT License | Swift |
@@ -2616,10 +2616,21 @@ const completionSpec: Fig.Spec = {
name: "[=< width >[,< name-width >[,< count >]]]",
},
},
+ {
+ name: "--",
+ description: "Separates paths from options for disambiguation purposes",
+ args: {
+ isVariadic: true,
+ optionsCanBreakVariadicArg: false,
+ template: "filepaths",
+ name: "[< path >.... | feat: improve git diff | null | withfig/autocomplete | MIT License | TypeScript |
@@ -5,11 +5,41 @@ import 'dart:ui';
void main() {
runApp(MaterialApp(
- debugShowCheckedModeBanner: false,
- home: Kraken(
+ title: 'Kraken App Demo',
+ home: FirstRoute(),
+ ));
+}
+
+class FirstRoute extends StatelessWidget {
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ appBar: AppBar(
+ ti... | feat: make kraken app_launcher to multiple navigation demo | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -38,8 +38,7 @@ import (
var args struct {
prefix string
permissionsBoundary string
- rolePath string
- policyPath string
+ path string
version string
channelGroup string
}
@@ -75,20 +74,12 @@ func init() {
)
flags.StringVar(
- &args.rolePath,
- "role-path",
+ &args.path,
+ "path",
"",
- "The arn path for the account... | feat: unify acc roles its policies paths | null | openshift/rosa | Apache License 2.0 | Go |
@@ -41,7 +41,6 @@ const CollapsePanelContent: FC<{
if (visible) {
const inner = innerRef.current
if (!inner) return
- console.log('inner.offsetHeight', inner.offsetHeight)
api.start({
height: inner.offsetHeight,
})
| feat: add dynamic content demo for Collapse | null | ant-design/ant-design-mobile | MIT License | TypeScript |
@@ -636,7 +636,6 @@ mod tests {
services: vec![String::arbitrary(g).into(), String::arbitrary(g).into()],
users: vec![String::arbitrary(g).into(), String::arbitrary(g).into()],
enforce_credentials: None,
- identity_name: None,
})
}
}
| feat(rust): trimming of previously deleted `identity_name` field from `createproject` tests | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -199,15 +199,7 @@ func ResizeDiskFs(diskPath string, sizeMb int) error {
if label == "msdos" && end >= 4294967296 {
end = 4294967295
}
- cmds = []string{"parted", "-a", "none", "-s", diskPath, "--",
- "unit", "s", "rm", part[0], "mkpart", part[5]}
- if len(part[6]) > 0 {
- cmds = append(cmds, part[6])
- }
- cmds = a... | feat(region): use resizepart directly | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -21,6 +21,10 @@ public class BaseConfigurationService extends AbstractConfigurationService {
super(version, cloner, mapper);
}
+ public BaseConfigurationService(Version version, Cloner cloner) {
+ super(version, cloner);
+ }
+
public BaseConfigurationService() {
this(Utils.loadFromProperties());
}
| feat: use fabric8 client json mapper by default | null | java-operator-sdk/java-operator-sdk | Apache License 2.0 | Java |
@@ -178,7 +178,12 @@ suspend fun retrieveUserByArgsN(context: ICommandContext, index: Int): User? {
context.message.mentionedUsers.firstOrNull { it.id == id }
?: context.shardManager.retrieveUserById(id).awaitOrNull()
}
- else -> context.guildN?.retrieveMembersByPrefix(arg, 1)?.awaitOrNull()?.firstOrNull()?.user
+ else... | feat: improve name matching | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -20,24 +20,27 @@ open class PosterPlugin: UIContainerPlugin {
super.init(context: context)
translatesAutoresizingMaskIntoConstraints = false
poster.contentMode = .scaleAspectFit
- bindDidChangePlayback()
+ bindContainerEvents()
}
open override func render() {
- guard let urlString = container?.options[kPosterUrl] as... | feat(posterplugin): update poster on requestPosterUpdate event | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -139,7 +139,9 @@ internal fun findFilesWithDependencyNotations(fromDir: File): List<File> {
require(fromDir.isDirectory) { "Expected a directory, got ${fromDir.absolutePath}" }
val expectedNames = listOf("build", "build.gradle", "deps", "dependencies", "libs", "libraries", "versions")
val expectedExtensions = listOf... | feat(migrate): don't migrate build files inside resources or build folder | null | jmfayard/refreshversions | MIT License | Kotlin |
@@ -54,7 +54,8 @@ describe("<Contribution />", () => {
it("should render preselected convention", () => {
mockPreselectedConvention = {
title: "preselected convention",
- num: "idcc-preselected"
+ num: "idcc-preselected",
+ id: 123
};
const answers = {
generic: { markdown: "hello **generic**" },
@@ -74,7 +75,8 @@ descr... | feat(contributions): link to legifrance and rm button | null | socialgouv/code-du-travail-numerique | Apache License 2.0 | JavaScript |
@@ -33,6 +33,16 @@ var (
"Number of total dashboards on the server",
nil, nil)
+ scrapersDesc = prometheus.NewDesc(
+ "influxdb_scrapers_total",
+ "Number of total scrapers on the server",
+ nil, nil)
+
+ telegrafsDesc = prometheus.NewDesc(
+ "influxdb_telegrafs_total",
+ "Number of total telegraf configurations on the... | feat(bolt): add scraper and telegraf metric counters | null | influxdata/influxdb | MIT License | Go |
@@ -34,6 +34,7 @@ import { matchAll } from "./utils";
import VariablesStructure from "./VariablesStructure";
export { defaultOptions } from "./options";
+export * from './types';
export { PurgeCSS };
const asyncFs = {
| feat: export all types | null | fullhuman/purgecss | MIT License | TypeScript |
@@ -274,7 +274,7 @@ func (wfc *WorkflowController) podLabeler(stopCh <-chan struct{}) {
case pod := <-wfc.completedPods:
parts := strings.Split(pod, "/")
if len(parts) != 2 {
- log.Warnf("Unexpected item on completed pod channel: %s", pod)
+ log.WithFields(log.Fields{"pod": pod}).Warn("Unexpected item on completed pod ... | feat(controller): controller logs to be structured | null | argoproj/argo-workflows | Apache License 2.0 | Go |
@@ -255,6 +255,7 @@ public final class SnomedConceptConverter extends BaseRevisionResourceConverter<
.filterByActive(expandOptions.get("active", Boolean.class))
.filterByType(expandOptions.get("typeId", String.class))
.filterByConcepts(conceptIds)
+ .setFields(expandOptions.containsKey("field") ? expandOptions.getList(... | feat(api): support field selection in SNOMED CT Concept expansions | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -167,6 +167,7 @@ export const OrganizationFooter: React.FC<FooterProps> = ({
switch (organization.slug) {
case 'syslumenn':
+ case 'district-commissioner':
return (
<SyslumennFooter
title={organization.title}
@@ -175,6 +176,7 @@ export const OrganizationFooter: React.FC<FooterProps> = ({
/>
)
case 'sjukratryggingar'... | feat(web): Organization page english footers | null | island-is/island.is | MIT License | TypeScript |
@@ -556,6 +556,7 @@ def get_entity(
endpoint = endpoint + "?aspects=List(" + ",".join(aspect) + ")"
response = session.get(gms_host + endpoint)
+ response.raise_for_status()
return response.json()
| feat(cli): raise error if get entity api fails | null | linkedin/datahub | Apache License 2.0 | Python |
@@ -496,7 +496,8 @@ App::patch('/v1/account/phone')
$response->dynamic($user, Response::MODEL_USER);
});
-App::post('/v1/account/sessions')
+App::post('/v1/account/sessions/email')
+ ->alias('/v1/account/sessions/')
->desc('Create Email Session')
->groups(['api', 'account', 'auth'])
->label('event', 'users.[userId].ses... | feat: update email session endpoint | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -136,6 +136,11 @@ mod node {
"/v0/{project_id}/addons/influxdb_token_lease_manager"
))
.body(req_body);
+
+ let inner = self.get().read().await;
+ let ident = inner.identity()?.async_try_clone().await?;
+ drop(inner);
+
self.request_controller(
ctx,
label,
@@ -143,7 +148,7 @@ mod node {
cloud_route,
API_SERVICE,
req... | feat(rust): fixed `identity_name` missing from latest rebase | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -105,7 +105,7 @@ public enum ConfigurationKey
/**
* JDBC driver class.
*/
- CONNECTION_DRIVER_CLASS( "connection.driver_class", "", false ),
+ CONNECTION_DRIVER_CLASS( "connection.driver_class", "org.postgresql.Driver", false ),
/**
* Database connection URL.
| feat: provide default for DN driver class configuration | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
-use std::sync::mpsc;
+use std::sync::mpsc::{self, Receiver, Sender};
use std::thread;
-use crate::config::{Config, Input};
+use crate::config::Config;
use crate::node::Node;
use ockam_common::commands::ockam_commands::*;
@@ -14,31 +14,75 @@ pub fn run(config: Config) {
let node_config = config.clone();
let (node, rout... | feat(rust): extract initiator functionality into stdin worker | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -94,12 +94,12 @@ class Forms
if (is_array($fieldset['extends'])) {
foreach ($fieldset['extends'] as $extends) {
$extends_fieldset_content = Filesystem::read($this->flextype->fieldsets->getFileLocation($extends));
- $fieldset = array_replace_recursive($fieldset, $this->flextype->parser->decode($extends_fieldset_conte... | feat(core): add ability to extends fieldsets | null | flextype/flextype | MIT License | PHP |
@@ -5,6 +5,14 @@ class DoubleTapAnimation {
private var fowardLabel = UILabel()
private var core: Core?
+ private var left1 = UIImageView(image: UIImage.fromName("play", for: PlayButton.self))
+ private var left2 = UIImageView(image: UIImage.fromName("play", for: PlayButton.self))
+ private var left3 = UIImageView(imag... | feat: adding foward and back icon animation | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -13,6 +13,10 @@ WindowInstance::WindowInstance(JSWindow *window)
: EventTargetInstance(window, WINDOW_TARGET_ID), nativeWindow(new NativeWindow(nativeEventTarget)) {
location_ = new JSLocation(context);
+ // window.self should be window.
+ std::string self = "self";
+ setProperty(self, this->object, nullptr);
+
getD... | feat: window.self should be window | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -79,6 +79,14 @@ export class CDNTokenListResolutionStrategy {
};
}
+export class SolanaTokenListResolutionStrategy {
+ repositories = ['https://token-list.solana.com/solana.tokenlist.json'];
+
+ resolve = () => {
+ return queryJsonFiles(this.repositories);
+ };
+}
+
const queryJsonFiles = async (files: string[]) => ... | feat: add Solana strategy | null | solana-labs/token-list | Apache License 2.0 | TypeScript |
@@ -321,11 +321,16 @@ suspend fun getImageUrlFromArgsNMessage(
return Pair(true, "https://cdn.discordapp.com/emojis/$emoteId.$emoteType?v=1")
}
else -> {
+ val user = retrieveUserByArgsN(context, index)
+ if (user != null) {
+ return Pair(true, user.effectiveAvatarUrl)
+ } else {
val msg = "The text you provided `${Mar... | feat: allow for user mention input for gris and ris | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -20,13 +20,57 @@ HTMLParser::HTMLParser(std::unique_ptr<JSContext> &context, const JSExceptionHan
}
+void HTMLParser::splitStyle(std::string style) {
+
+}
+
void HTMLParser::traverseHTML(GumboNode * node, ElementInstance* element) {
const GumboVector* children = &node->v.element.children;
for (int i = 0; i < childre... | feat: support style | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -2,11 +2,12 @@ import React, { useState } from 'react'
import { FormattedMessage } from 'react-intl'
import PatternOptions from './PatternOptions'
import { withBreasts, withoutBreasts } from '@freesewing/models'
+import neckstimate from '@freesewing/utils/neckstimate'
-const SampleConfigurator = props => {
+const Sa... | feat(components): Added antwomen test to SampleConfigurator | null | freesewing/freesewing | MIT License | JavaScript |
@@ -9,7 +9,9 @@ use data_types::{
};
use internal_types::schema::Schema;
use observability_deps::tracing::info;
-use persistence_windows::persistence_windows::PersistenceWindows;
+use persistence_windows::{
+ checkpoint::PartitionCheckpoint, persistence_windows::PersistenceWindows,
+};
use snafu::Snafu;
use std::{
coll... | feat: allow to construct partition checkpoint from partition | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
+<?php
+
+use Flextype\Component\Filesystem\Filesystem;
+
+beforeEach(function() {
+ filesystem()->directory(PATH['project'] . '/entries')->create();
+});
+
+afterEach(function (): void {
+ filesystem()->directory(PATH['project'] . '/entries')->delete();
+});
+
+test('test VisibilityField', function () {
+ flextype('en... | feat(tests): add tests for entry VisivilityField | null | flextype/flextype | MIT License | PHP |
+package sqlancer.databend.ast;
+
+import sqlancer.common.ast.BinaryOperatorNode;
+import sqlancer.common.ast.newast.NewUnaryPrefixOperatorNode;
+import sqlancer.common.ast.newast.Node;
+import sqlancer.databend.DatabendSchema.DatabendDataType;
+
+
+public class DatabendUnaryPrefixOperation extends NewUnaryPrefixOperat... | feat: implement the unary prefix operation | null | sqlancer/sqlancer | MIT License | Java |
+<?php
+
+declare(strict_types=1);
+
+/**
+ * This file is part of CodeIgniter 4 framework.
+ *
+ * (c) CodeIgniter Foundation <admin@codeigniter.com>
+ *
+ * For the full copyright and license information, please view
+ * the LICENSE file that was distributed with this source code.
+ */
+
+namespace Tests\Language;
+
... | feat: add Turkish lang file and test class | null | codeigniter4/shield | MIT License | PHP |
@@ -196,28 +196,28 @@ func (a *Agent) initPlugins() error {
err := processor.Init()
if err != nil {
return fmt.Errorf("could not initialize processor %s: %v",
- processor.Config.Name, err)
+ processor.LogName(), err)
}
}
for _, aggregator := range a.Config.Aggregators {
err := aggregator.Init()
if err != nil {
return f... | feat: Improve error logging on plugin initialization | null | influxdata/telegraf | MIT License | Go |
@@ -25,10 +25,22 @@ class NotifierTest extends BaseRollbarTest
$this->assertEquals($version2, $notifier->setVersion($version2)->getVersion());
}
- public function testEncode()
+ public function testDefaultNotifierIsRepresentableAsJson()
{
- $notifier = Notifier::defaultNotifier();
- $encoded = json_encode($notifier->se... | feat: remove hard-code version in test | null | rollbar/rollbar-php | MIT License | PHP |
@@ -11,12 +11,26 @@ go mod vendor && go mod tidy
cd "$APPDIR/cmd/cheat"
go clean && go generate
-# compile AMD64 for Linux, OSX, and Windows
+# amd64/darwin
env GOOS=darwin GOARCH=amd64 go build -mod vendor -o \
"$APPDIR/dist/cheat-darwin-amd64" "$APPDIR/cmd/cheat"
+# amd64/linux
env GOOS=linux GOARCH=amd64 go build -m... | feat: ARM support | null | cheat/cheat | MIT License | Shell |
pkg=packages/ast
-node $pkg/scripts/generateTypeDefinitions.js | npx prettier > $pkg/src/types/nodes.js
-node $pkg/scripts/generateNodeUtils.js | npx prettier > $pkg/src/nodes.js
+node $pkg/scripts/generateTypeDefinitions.js | npx prettier --parser flow > $pkg/src/types/nodes.js
+node $pkg/scripts/generateNodeUtils.js ... | feat: try with flow parser | null | xtuc/webassemblyjs | MIT License | Shell |
@@ -16,6 +16,7 @@ const IS_FIREFOX = !global.chrome.app;
const IS_TOP = window.top === window;
const menus = {};
let isPopupShown;
+let pendingSetPopup;
// Make sure to call obj::method() in code that may run after INJECT_CONTENT userscripts
const { split } = String.prototype;
@@ -73,14 +74,14 @@ bridge.addHandlers({
c... | feat: avoid flicker when renaming GM menu items | null | violentmonkey/violentmonkey | MIT License | JavaScript |
@@ -5,6 +5,7 @@ namespace Filament\Tables\Filters;
use Filament\Forms\Components\Select;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Database\Eloquent\Builder;
+use Illuminate\Support\Str;
class SelectFilter extends Filter
{
@@ -28,9 +29,16 @@ class SelectFilter extends Filter
return $query;
}
- $query->... | feat: Add whereRelation to filter by related columns | null | laravel-filament/filament | MIT License | PHP |
+using System;
+using System.ComponentModel;
+using System.Drawing;
+using System.Linq;
+using System.Threading.Tasks;
+using Humanizer;
+using Humanizer.Localisation;
+using Recognizers.Text.DateTime.Wrapper;
+using Recognizers.Text.DateTime.Wrapper.Models.BclDateTime;
+using Remora.Commands.Attributes;
+using Remora.... | feat: slash command reminders | null | vtpdevelopment/silk | Apache License 2.0 | C# |
@@ -20,10 +20,6 @@ HTMLParser::HTMLParser(std::unique_ptr<JSContext> &context, const JSExceptionHan
}
-void HTMLParser::splitStyle(std::string style) {
-
-}
-
void HTMLParser::traverseHTML(GumboNode * node, ElementInstance* element) {
const GumboVector* children = &node->v.element.children;
for (int i = 0; i < children... | feat: suport style | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -377,14 +377,6 @@ fn trace_tablerow_tag(
)
}
-fn position_in_row(index: usize, columns_per_row: Option<usize>) -> usize {
- if let Some(columns_per_row) = columns_per_row {
- index % columns_per_row
- } else {
- index
- }
-}
-
impl Renderable for TableRow {
fn render_to(&self, writer: &mut Write, context: &mut Conte... | feat(tablerow): add tablerow object for its tag | null | cobalt-org/liquid-rust | MIT License | Rust |
@@ -6,12 +6,14 @@ import {
} from './createInteraction'
import { CreatedPaletteTheme, createPalette, PaletteProperty } from './createPalette'
import { CreatedSizeTheme, createSize, SizeProperty } from './createSize'
+import { CreatedFontTheme, createFont, FontProperty } from './createFont'
interface ThemeProperty {
pal... | feat: add font themes | null | kufu/smarthr-ui | MIT License | TypeScript |
@@ -53,7 +53,6 @@ class Builder {
}
/**
- * Function to initialise the typeMapping array with the base cases of the recursion
* If the map already contains the type, end the recursion and return.
* Iterate through all the rules in the response model. Each rule is of the form
* [
@@ -72,7 +71,7 @@ class Builder {
* ]
* ... | feat: formatted doc blocks | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -156,6 +156,38 @@ export const $html = (el: HTMLElement, body: MaybeDeref<string>) => {
el.innerHTML = deref(body);
};
+/**
+ * Takes an object of attributes and applies them to given DOM element.
+ *
+ * @remarks
+ * The following rules & transformations are applied (in the stated
+ * order):
+ *
+ * - {@link @thi.... | feat(hdom2020): update $attribs(), add docstrings | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
@@ -712,7 +712,7 @@ function mergeObjectOptions(to: any, from: any) {
return res
}
-function loadEnv(mode: string, root: string): Record<string, string> {
+export function loadEnv(mode: string, root: string, prefix = 'VITE_'): Record<string, string> {
if (mode === 'local') {
throw new Error(
`"local" cannot be used as ... | feat: expose `loadEnv` in public api | null | vitejs/vite | MIT License | TypeScript |
@@ -231,6 +231,7 @@ impl InfluxRpcPlanner {
where
D: QueryDatabase + 'static,
{
+ let _ctx = self.ctx.child_ctx("table_names planning");
debug!(?rpc_predicate, "planning table_names");
// Special case predicates that span the entire valid timestamp range
| feat: trace table_names | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
import { autorun, configure } from "mobx";
import AuthStore from "./AuthStore";
+import CartStore from "./CartStore";
import RoutingStore from "./RoutingStore";
import UIStore from "./UIStore";
configure({ enforceActions: true });
const authStore = new AuthStore("meteorToken");
+const cartStore = new CartStore();
const... | feat: add CartStore to root MobX stores | null | reactioncommerce/example-storefront | Apache License 2.0 | JavaScript |
@@ -3,8 +3,13 @@ use crate::types::{Address, Bloom, Bytes, Transaction, TxHash, H256, U256, U64};
use chrono::{DateTime, TimeZone, Utc};
#[cfg(not(feature = "celo"))]
use core::cmp::Ordering;
-use serde::{ser::SerializeStruct, Deserialize, Deserializer, Serialize, Serializer};
-use std::str::FromStr;
+
+use serde::{
+ ... | feat: add eip-1898 deserialize for BlockId | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -53,8 +53,8 @@ frappe.ui.Notifications = class Notifications {
this.categories = [
{ label: __("Notifications"), id: "notifications", view: NotificationsView },
- { label: __("Today's Events"), id: "todays_events", view: NotificationsView },
- { label: __("Open Documents"), id: "open_documents", view: NotificationsV... | feat: added base notification view and events view | null | frappe/frappe | MIT License | JavaScript |
+package authorizer
+
+import (
+ "context"
+
+ "github.com/influxdata/influxdb"
+)
+
+var _ influxdb.DashboardService = (*DashboardService)(nil)
+
+// DashboardService wraps a influxdb.DashboardService and authorizes actions
+// against it appropriately.
+type DashboardService struct {
+ s influxdb.DashboardService
+}... | feat(authorizer): add authorized dashboard service | null | influxdata/influxdb | MIT License | Go |
@@ -70,10 +70,8 @@ func (client *client) LogMultipleTimeout(imageSelector []string, interrupt chan
// Loop over pods and open logs connection
for idx, pod := range pods {
- Outer:
- for _, container := range pod.Spec.Containers {
- for _, imageName := range imageSelector {
- if compareImageNames(imageName, container.Im... | feat: print logs of all matched containers in pod | null | loft-sh/devspace | Apache License 2.0 | Go |
@@ -51,8 +51,8 @@ after(() => app.stop())
describe('Runtime', () => {
describe('Command Prefix', () => {
it('single prefix', async () => {
- app.options.prefix = '!'
- app.prepare()
+ // also support functions
+ app.options.prefix = () => '!'
await session1.shouldReply('cmd2', 'cmd2:123')
await session4.shouldNotReply(... | feat(core): support functional appOptions.prefix | null | koishijs/koishi | MIT License | TypeScript |
@@ -71,6 +71,10 @@ public class FeatureFlags implements Serializable {
public static final Feature NEW_LICENSE_CHECKER = new Feature(
"New license checker", "newLicenseChecker",
"https://github.com/vaadin/platform/issues/2938", false, null);
+ public static final Feature COLLABORATION_ENGINE_BACKEND = new Feature(
+ "C... | feat: add flag for CE backend support | null | vaadin/flow | Apache License 2.0 | Java |
@@ -30,7 +30,7 @@ try:
except ImportError:
'Assuming that requirements are not yet installed'
-__version__ = '0.1.0'
+__version__ = '0.1.1'
__author__ = 'Neural Networks and Deep Learning lab, MIPT'
__description__ = 'An open source library for building end-to-end dialog systems and training chatbots.'
__keywords__ = [... | feat: update version to 0.1.1 | null | deeppavlov/deeppavlov | Apache License 2.0 | Python |
+FILENAME=$1
+
+HEAD=$(head -n 1 ${FILENAME})
+TAIL=$(tail -n 1 ${FILENAME})
+
+START1=$(gdate -d @$(echo ${HEAD} | jq ._t/1000))
+END1=$(gdate -d @$(echo ${TAIL} | jq ._t/1000))
+
+HEAD_OID=$(echo ${HEAD} | jq ._id["$oid"])
+START2=$(node -e "console.log(new Date(parseInt(${HEAD_OID}.slice(0,8), 16)*1000));")
+
+TAIL_... | feat: add script to print dates of playlog files | null | openwhyd/openwhyd | MIT License | Shell |
@@ -81,7 +81,7 @@ app()->patch('/api/v0/entries', [Entries::class, 'update'])->setName('entries.up
* Returns:
* Entry object with the entry that was just moved.
*/
-app()->put('/api/v0/entries', [Entries::class, 'move']);
+app()->put('/api/v0/entries', [Entries::class, 'move'])->setName('entries.move');
/**
* Copy entr... | feat(endpoints): add missed route name for entires move endpoint | null | flextype/flextype | MIT License | PHP |
@@ -16,14 +16,13 @@ public class LayerComposer {
backgroundLayer.attach(to: rootView, at: 0)
playbackLayer.attach(to: rootView, at: 1)
- containerLayer.attach(to: rootView, at: 2)
- mediaControlLayer.attach(to: rootView, at: 3)
- coreLayer.attach(to: rootView, at: 4)
- overlayLayer.attach(to: rootView, at: 5)
+ mediaCo... | feat: add Container to PlaybackLayer | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -746,5 +746,15 @@ namespace Objects.Converter.Revit
public Polycurve trims;
public List<int> orientation;
}
+
+ private DB.DirectShape BrepToDirectShape(Brep brep, DB.BuiltInCategory cat = BuiltInCategory.OST_GenericModel)
+ {
+ var solid = BrepToNative(brep);
+ if (solid == null) return null;
+ var revitDs = DB.Dir... | feat(objects/brep): Added brep to ds conversion method | null | specklesystems/speckle-sharp | Apache License 2.0 | C# |
@@ -19,6 +19,8 @@ test('types directive', function () {
entries()->create('type-array', ['foo' => '@type:array 1,2,3,4,5']);
entries()->create('type-array-2', ['foo' => '@type:array [1,2,3,4,5]']);
entries()->create('type-array-3', ['foo' => '@type:array {"foo": "Foo"}']);
+ entries()->create('type-array-4', ['foo' => ... | feat(tests): update tests for types | null | flextype/flextype | MIT License | PHP |
@@ -321,7 +321,10 @@ pub(crate) fn parse_create_secure_channel_listener_response(resp: &[u8]) -> Resu
pub(crate) const OCKAM_CONTROLLER_ADDR: &str = "OCKAM_CONTROLLER_ADDR";
#[derive(Clone, Debug, Args)]
-pub struct CloudOpts;
+pub struct CloudOpts {
+ #[arg(long = "identity", value_name = "IDENTITY")]
+ identity: Opti... | feat(rust): add `identity` arg to `cloudopts` in `ockam_command` | null | ockam-network/ockam | Apache License 2.0 | Rust |
/*
- * Copyright 2018 B2i Healthcare Pte Ltd, http://b2i.sg
+ * Copyright 2018-2022 B2i Healthcare Pte Ltd, http://b2i.sg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*/
package com.b2international.snowowl.fhir.core.model.codesyst... | feat(fhir.core): Add generic "constraint" filter (evaluated the same.. | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -75,7 +75,7 @@ class ApiController extends Controller
'api_tokens_add' => [
'link' => $this->router->pathFor('admin.api_tokens.add') . '?api=' . $api,
'title' => __('admin_create_new_' . $api . '_token'),
- 'attributes' => ['class' => 'float-right btn'],
+ 'attributes' => ['class' => 'btn'],
],
],
]
| feat(admin-plugin): Migrate to Tailwind CSS | null | flextype/flextype | MIT License | PHP |
@@ -63,6 +63,10 @@ test('test fetchSingle() method', function () {
flextype('entries')->create('zed', ['title' => 'Zed']);
$fetch = flextype('entries')->fetchSingle('zed');
$this->assertEquals('Zed', $fetch['title']);
+
+ // 4
+ flextype('entries')->setStorage('fetch_single.id', 'wrong-entry');
+ $this->assertEquals([]... | feat(tests): improve tests for Entries | null | flextype/flextype | MIT License | PHP |
@@ -96,10 +96,12 @@ pub fn init_global_tracing(
let mut jaeger_layer = None;
let fuse_jaeger_env = env::var("DATABEND_JAEGER").unwrap_or_else(|_| "".to_string());
if !fuse_jaeger_env.is_empty() {
+ let jaeger_agent_endpoint = env::var("DATABEND_JAEGER_AGENT_ENDPOINT").unwrap_or_else(|_| "127.0.0.1:6831".to_string());
g... | feat: support to configure jaeger agent endpoint for databend-query | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -30,12 +30,12 @@ public final class MetricKey {
// unrolled polynomial hashcode which avoids allocating varargs
// the constants are 31^5, 31^4, 31^3, 31^2, 31^1, 31^0
this.hash =
- 923521 * this.resource.hashCode()
- + 29791 * this.service.hashCode()
- + 961 * this.operationName.hashCode()
- + 31 * this.type.hashCo... | feat(metrics): Improve hash computation readability | null | datadog/dd-trace-java | Apache License 2.0 | Java |
@@ -6,6 +6,7 @@ defmodule RealtimeWeb.RealtimeChannel do
require Logger
+ alias DBConnection.Backoff
alias Extensions.Postgres
alias RealtimeWeb.{ChannelsAuthorization, Endpoint, Presence}
@@ -80,12 +81,18 @@ defmodule RealtimeWeb.RealtimeChannel do
end
Logger.debug("Postgres config is #{inspect(postgres_config, pretty... | feat: add rand backoff to channel postgres subscribe | null | supabase/realtime | Apache License 2.0 | Elixir |
@@ -18,6 +18,7 @@ package com.netflix.spinnaker.echo.pipelinetriggers.orca;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.netflix.spinnaker.echo.model.Pipeline;
+import com.netflix.spinnaker.echo.model.Trigger;
import com.netflix.spinnaker.kork.common.Header;
import java.util.Collection;
impo... | feat(triggers): add trigger as part of orca service pipeline response | null | spinnaker/echo | Apache License 2.0 | Java |
@@ -11,6 +11,7 @@ export interface CheckboxToggleProps extends BaseProps {
onFocus?: (event: FocusEvent<HTMLElement>) => void;
onBlur?: (event: FocusEvent<HTMLElement>) => void;
id?: string;
+ labelAlignment?: 'left' | 'right';
}
declare const CheckboxToggle: ComponentType<CheckboxToggleProps>;
| feat: add ts interface to CheckboxToggle | null | nexxtway/react-rainbow | MIT License | TypeScript |
@@ -211,10 +211,6 @@ func New(
return nil, err
}
- if len(client.UnenrolledSchemeManagers()) > 1 {
- return nil, errors.New("Too many keyshare servers")
- }
-
client.lookup = map[string]*credLookup{}
for _, attrlistlist := range client.attributes {
for i, attrlist := range attrlistlist {
| feat: remove constraint to only allow one keyshare server scheme | null | privacybydesign/irmago | Apache License 2.0 | Go |
@@ -1046,6 +1046,10 @@ static void handleKeydown(SDL_Keycode keycode, bool down, bool* state)
#if defined(__TIC_ANDROID__)
if(keycode == SDLK_AC_BACK)
state[tic_key_escape] = down;
+#elif defined(__TIC_MACOSX__)
+ // SDLK_KP_ENTER is the equivalent of fn+enter on a Macbook keyboard
+ if(keycode == SDLK_KP_ENTER)
+ stat... | feat: support fn+enter alias for insert on mac keyboards | null | nesbox/tic-80 | MIT License | C |
@@ -86,7 +86,6 @@ class ClickGestureRecognizer extends OneSequenceGestureRecognizer {
} else {
if (event is PointerUpEvent) {
if (onClick != null)
- onClick(Event(EVENT_CLICK, EventInit(bubbles: true, cancelable: true)));
_reset();
} else if (event is PointerCancelEvent) {
_reset();
@@ -98,6 +97,18 @@ class ClickGestur... | feat: modify click gesture new Event | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -71,4 +71,9 @@ extension UIView {
let nib = UINib(nibName: String(describing: T.self), bundle: Bundle(for: T.self))
return (nib.instantiate(withOwner: nil, options: nil).last as? T)!
}
+
+ func addRoundedBorder(with radius: CGFloat) {
+ layer.cornerRadius = radius
+ clipsToBounds = true
+ }
}
| feat: adding uiview extension to add rounded border | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -516,12 +516,13 @@ run_file_on_host() {
(
touch "${TMP_DIR}/perturb-script-file-${HOST}.log"
get_file_to_run "${FILE}" >> "${TMP_DIR}/perturb-script-file-${HOST}.log"
- exec 19>>"${TMP_DIR}/perturb-script-file-${HOST}.log"
- BASH_XTRACEFD=19
+ exec {FD}>>"${TMP_DIR}/perturb-script-file-${HOST}.log"
+ BASH_XTRACEFD=$... | feat(perturb): use bash named file descriptors | null | kubernetes-simulator/simulator | Apache License 2.0 | Shell |
@@ -65,11 +65,12 @@ func (c *Core) ValidatePin(secrets UserSecrets, pin string) (string, error) {
// Generate jwt token
id := s.id()
+ t := time.Now()
token := jwt.NewWithClaims(jwt.SigningMethodRS256, jwt.MapClaims{
"iss": c.jwtIssuer,
"sub": "auth_tok",
- "iat": time.Now().Unix(),
- "exp": time.Now().Add(time.Duratio... | feat: don't call time.Now() twice in succession in generating keyshare authentication JWT | null | privacybydesign/irmago | Apache License 2.0 | Go |
@@ -278,12 +278,11 @@ cws_custom_new(struct websockets *ws, const char ws_protocols[])
cws_cbs.data = ws;
CURL *new_ehandle = cws_new(ws->base_url, ws_protocols, &cws_cbs);
- ASSERT_S(NULL != new_ehandle, "Out of memory");
CURLcode ecode;
//enable follow redirections
ecode = curl_easy_setopt(new_ehandle, CURLOPT_FOLLOW... | feat: show CURLMcode | null | cee-studio/orca | MIT License | C |
@@ -87,7 +87,7 @@ public final class FakeMaven {
* Set default the params for all mojos.
*
* @return The same maven instance.
- * @todo 1479:90min The method withDefaults() has to be called right in the exec() method.
+ * @todo #1479:90min The method withDefaults() has to be called right in the exec() method.
* We shou... | feat(#1479): fix puzzle description | null | cqfn/eo | MIT License | Java |
@@ -14,12 +14,55 @@ bl_info = {
'url': 'https://your_url_here', # Replace this
}
+# glTF extensions are named following a convention with known prefixes.
+# See: https://github.com/KhronosGroup/glTF/tree/master/extensions#about-gltf-extensions
+# also: https://github.com/KhronosGroup/glTF/blob/master/extensions/Prefixe... | feat: add import panel | null | khronosgroup/gltf-blender-io | Apache License 2.0 | Python |
@@ -464,10 +464,10 @@ suspend fun getEmoteByArgsN(context: ICommandContext, index: Int, sameGuildAsCon
emotes = context.guildN?.getEmotesByName(arg, true)
if (emotes != null && emotes.isNotEmpty() && emote == null) emote = emotes[0]
- emotes = context.shardManager.getEmotesByName(arg, false)
+ emotes = context.guildN?.... | feat: dont lets users search up emotes from other guilds without an id or being in the server and using the emote mention | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -78,7 +78,7 @@ open class Player: BaseObject {
Event.didStop.rawValue, Event.bufferUpdate.rawValue,
Event.positionUpdate.rawValue, Event.willPlay.rawValue,
Event.willPause.rawValue, Event.willStop.rawValue,
- Event.airPlayStatusUpdate.rawValue])
+ Event.airPlayStatusUpdate.rawValue, Event.seek.rawValue])
let loader ... | feat(player): add seek to eventsToListen | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -437,20 +437,6 @@ if (in_array(registry()->get('flextype.settings.timezone'), DateTimeZone::listId
// Init Plugins
plugins()->init();
-$foo = parsers()->shortcodes();
-$bar = parsers()->shortcodes();
-
-if ($foo instanceof $bar) {
- echo 'yes';
-} else {
- echo 'no';
-}
-
-dump(serializers()->foo()->decode('1'));
-d... | feat(serializers): clean bootstrap file | null | flextype/flextype | MIT License | PHP |
@@ -9,9 +9,8 @@ import 'dart:ui';
import 'package:meta/meta.dart';
import 'package:kraken/rendering.dart';
-class RenderViewportBox extends RenderProxyBox with
- RenderObjectWithControllerMixin,
- RenderOverflowMixin {
+class RenderViewportBox extends RenderProxyBox
+ with RenderObjectWithControllerMixin {
RenderViewpo... | feat: del RenderOverflowMixin | null | openkraken/kraken | Apache License 2.0 | Dart |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.