diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -9,10 +9,16 @@ use core::mem::size_of; /// `get_attestation` syscall number used by the shim. /// -/// See <https://github.com/enarx/enarx-keepldr/issues/31> +/// See <https://github.com/enarx/enarx/issues/966> #[allow(dead_code)] pub const SYS_GETATT: i64 = 0xEA01; +/// `get_key` syscall number used by the shim. +/...
feat(sallyport): add `get_key` syscall number
null
enarx/enarx
Apache License 2.0
Rust
@@ -81,7 +81,10 @@ class _LoginState extends State<Login> { child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: <Widget>[ - Text('Single Sign-On'), + Text( + 'Single Sign-On', + style: TextStyle(fontSize: 17), + ), SizedBox(height: 10), TextField( decoration: InputDecoration( @@ -107,7 +110,10 @@ cla...
feat: increase font size for items in profile login
null
ucsd/campus-mobile
MIT License
Dart
warnings )] +use ockam_core::Result; use ockam_vault_core::{PublicKey, Secret}; use zeroize::Zeroize; /// A trait implemented by both Initiator and Responder peers. pub trait KeyExchanger { /// Run the current phase of the key exchange process. - fn process(&mut self, data: &[u8]) -> ockam_core::Result<Vec<u8>>; + fn p...
feat(rust): add finalize_box to key exchange. move new key exchanger types to associated types
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -7,13 +7,11 @@ import 'package:flutter/rendering.dart'; import 'package:kraken/dom.dart'; import 'package:kraken/rendering.dart'; import 'package:kraken/scheduler.dart'; -import 'package:flutter/gestures.dart'; mixin EventHandlerMixin on Node { num _touchStartTime = 0; num _touchEndTime = 0; - OffsetPair _initialPos...
feat: del _getGlobalDistance from event_handler
null
openkraken/kraken
Apache License 2.0
Dart
@@ -122,6 +122,10 @@ class Element extends Node return 0.0; } + bool get isValidSticky { + return style['position'] == 'sticky' && (style.contains('top') || style.contains('bottom')); + } + // Horizontal border dimension (left + right) double get cropBorderWidth => renderDecoratedBox.borderEdge.horizontal; // Vertical ...
feat: move isSticky to element getter
null
openkraken/kraken
Apache License 2.0
Dart
@@ -6,6 +6,9 @@ import ( "fmt" "time" + logger "github.com/go-eagle/eagle/pkg/log" + grpcZap "github.com/grpc-ecosystem/go-grpc-middleware/logging/zap" + grpcPrometheus "github.com/grpc-ecosystem/go-grpc-prometheus" "google.golang.org/grpc" "google.golang.org/grpc/balancer/roundrobin" @@ -78,6 +81,12 @@ func dial(ctx c...
feat: add log for grpc client
null
go-eagle/eagle
MIT License
Go
@@ -78,7 +78,19 @@ describe("JSONMultiContainer", function() { const batch = parser(podDefinition).reduce(function(batch, item) { return batch.add(item); }, new Batch()); - expect(batch.reduce(reducers, {})).toEqual(podDefinition); + const jsonFromBatch = batch.reduce(reducers, {}); + expect(jsonFromBatch).toEqual(podD...
feat(JSONMutliContainer-test): Test JSON -> Batch -> JSON -> Batch -> JSON
null
dcos/dcos-ui
Apache License 2.0
JavaScript
@@ -234,13 +234,16 @@ SELECT WHEN slo.[edition] = 'Hyperscale' then NULL ELSE CAST(DATABASEPROPERTYEX(DB_NAME(),'MaxSizeInBytes') as bigint)/(1024*1024) END AS [total_storage_mb] + ,(SELECT SUM(CAST(FILEPROPERTY(name, 'SpaceUsed') AS INT) / 128) FROM sys.database_files WHERE type_desc = 'ROWS') AS used_storage_mb ,CASE...
feat(inputs.sqlserver): add data and log used space metrics for Azure SQL DB
null
influxdata/telegraf
MIT License
Go
+package putils + +import ( + "fmt" + "io" + "net/http" + "os" + "path/filepath" + "strconv" + + "github.com/pterm/pterm" +) + +// progressbarWriter counts the number of bytes written to it and adds those to a progressbar. +type progressbarWriter struct { + Total uint64 + pb *pterm.ProgressbarPrinter +} + +func (wc *pr...
feat(putils): add `DownloadFileWithProgressbar`
null
pterm/pterm
MIT License
Go
@@ -84,16 +84,18 @@ def _fetch_access_token(logger): def _make_hub_table_with_local(images, local_images): info_table = [f'found {len(images)} matched hub images', - '{:<50s}{:<25s}{:<25s}{:<20s}{:<30s}'.format(colored('Name', attrs=_header_attrs), + '{:<50s}{:<25s}{:<30s}{:<25s}{:<30s}{:<50s}'.format(colored('Name', a...
feat(hub): expose jina version in hub list cli
null
jina-ai/jina
Apache License 2.0
Python
@@ -100,10 +100,10 @@ bool HTMLParser::parseHTML(const uint16_t *code, size_t codeLength) { std::string html = JSStringToStdString(sourceRef); int html_length = html.length(); - GumboOutput* output = gumbo_parse_with_options( + GumboOutput* htmlTree = gumbo_parse_with_options( &kGumboDefaultOptions, html.c_str(), html_...
feat: modify the name of htmlTree
null
openkraken/kraken
Apache License 2.0
C++
/** * Transform a variant object into a partial representation of the Segment product schema * @name getVariantTrackingData - * @param {Object} variant Project variant + * @param {Object} data Object containing data for tracking a variant + * @param {Object} data.variant Object of the selected variant + * @param {Objec...
feat: enhance returned data with variant option and media if available
null
reactioncommerce/example-storefront
Apache License 2.0
JavaScript
@@ -133,20 +133,19 @@ impl Chunk { /// Return Schema for the specified table / columns pub fn table_schema(&self, table_name: &str, selection: Selection<'_>) -> Result<Schema> { - let table = self - .tables - .iter() - .find(|t| t.has_table(table_name)) - .context(NamedTableNotFoundInChunk { - table_name, - chunk_id: s...
feat: add a way to retrieve storage path from parquet chunks
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -69,6 +69,7 @@ namespace PepperDash.Essentials.Devices.Common.Codec [JsonProperty("directoryResults")] public List<DirectoryItem> CurrentDirectoryResults { get; private set; } + [JsonProperty("contacts")] public List<DirectoryItem> Contacts { get @@ -77,6 +78,7 @@ namespace PepperDash.Essentials.Devices.Common.Codec...
feat(essentials): Adds JsonProperty attribute tags
null
pepperdash/essentials
MIT License
C#
import type { RouteLocationNormalized, RouteLocationNormalizedLoaded } from 'vue-router' // @ts-ignore import { useRuntimeConfig, addRouteMiddleware, callWithNuxt, navigateTo } from '#app' +import type { NuxtApp } from 'nuxt/app' import { withoutTrailingSlash, hasProtocol } from 'ufo' import { NavItem, ParsedContent } ...
feat(document-driven): introduce `start` and `finish` hooks
null
nuxt/content
MIT License
TypeScript
use anyhow::Context as _; use clap::Args; -use ockam::Context; +use rand::prelude::random; +use ockam::Context; use ockam_api::cloud::project::Project; use crate::node::util::{delete_embedded_node, start_embedded_node}; @@ -18,7 +19,7 @@ pub struct CreateCommand { pub space_name: String, /// Name of the project. - #[cl...
feat(rust): add default value for name in `project create` command
null
ockam-network/ockam
Apache License 2.0
Rust
package me.melijn.melijnbot.commands.developer +import me.melijn.melijnbot.database.message.ModularMessage +import me.melijn.melijnbot.enums.MessageType import me.melijn.melijnbot.internals.command.AbstractCommand import me.melijn.melijnbot.internals.command.CommandCategory import me.melijn.melijnbot.internals.command....
feat: migration script for messages and custom commands
null
toxicmushroom/melijn
MIT License
Kotlin
@@ -12,6 +12,9 @@ module.exports = async (ctx) => { }); const data = JSON.parse(response.data.match(/<script type="text\/javascript">window._sharedData = (.*);<\/script>/)[1]) || {}; + if (data.entry_data.ProfilePage[0].graphql.user.is_private) { + throw 'This Account is Private'; + } const list = data.entry_data.Profi...
feat: add instagram private account tip
null
diygod/rsshub
MIT License
JavaScript
* See the License for the specific language governing permissions and * limitations under the License. */ -package e2e +package route import ( "net/http" - "testing" + + "github.com/onsi/ginkgo" + "github.com/onsi/ginkgo/extensions/table" + + "github.com/apisix/manager-api/test/e2enew/base" ) -func TestRoute_With_Plugi...
feat: rewrite e2e test (route with plugins cors test) using ginkgo
null
apache/apisix-dashboard
Apache License 2.0
Go
-use std::collections::BTreeMap; +use std::collections::{BTreeMap, BTreeSet}; use std::convert::From; use std::iter; @@ -223,7 +223,8 @@ impl RLE { /// Materialises a vector of references to the decoded values in the /// provided row ids. /// - /// NULL values are represented by None + /// NULL values are represented b...
feat: add distinct_values
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -651,6 +651,12 @@ frappe.ui.form.Form = class FrappeForm { callback && callback(); me.script_manager.trigger("on_submit") .then(() => resolve(me)); + if (frappe.route_hooks.after_submit) { + let route_callback = frappe.route_hooks.after_submit; + delete frappe.route_hooks.after_submit; + + route_callback(me); + } } ...
feat: added after submit hooks
null
frappe/frappe
MIT License
JavaScript
@@ -12,11 +12,13 @@ public actor TaskQueue<Success> { public init() {} - public func sync(block: @Sendable @escaping () async throws -> Success) rethrows { - previousTask = Task { [previousTask] in + public func sync(block: @Sendable @escaping () async throws -> Success) async throws -> Success { + let currentTask = Ta...
feat: add support for returning a value to TaskQueue.sync
null
aws-amplify/amplify-ios
Apache License 2.0
Swift
@@ -23,6 +23,7 @@ _RESOURCES_WITH_LOCAL_PATHS = { "AWS::Serverless::Api": ["DefinitionUri"], "AWS::AppSync::GraphQLSchema": ["DefinitionS3Location"], "AWS::AppSync::Resolver": ["RequestMappingTemplateS3Location", "ResponseMappingTemplateS3Location"], + "AWS::AppSync::FunctionConfiguration": ["RequestMappingTemplateS3Lo...
feat(AppSync): Allow build to recognize AppSync resources for path replacement
null
aws/aws-sam-cli
Apache License 2.0
Python
@@ -174,11 +174,6 @@ class DefaultContext( } private fun resolveOpenApi(parseResult: SwaggerParseResult): ContentParseResult<SwaggerParseResult> { - val preResolveViolations = preResolveCheck(parseResult) - if (preResolveViolations.isNotEmpty()) { - return ParsedWithErrors(preResolveViolations) - } - try { ResolverFull...
feat(server): Drop unnecessary DefaultContext.preResolveCheck()
null
zalando/zally
MIT License
Kotlin
@@ -2,7 +2,7 @@ use crate::Context; use core::time::Duration; use futures::future::{AbortHandle, Abortable}; use ockam_core::compat::sync::Arc; -use ockam_core::{Address, AllowAll, DenyAll, Mailbox, Mailboxes, Message, Result}; +use ockam_core::{Address, DenyAll, Mailbox, Mailboxes, Message, Result}; /// Allow to send ...
feat(rust): restrict access control for `DelayedEvent`
null
ockam-network/ockam
Apache License 2.0
Rust
@@ -22,25 +22,18 @@ use function parsers; use function registry; // Shortcode: tr -// Usage: (tr:foo) +// Usage: (tr:foo values='foo=Foo' locale:'en_US') parsers()->shortcodes()->addHandler('tr', static function (ShortcodeInterface $s) { if (! registry()->get('flextype.settings.parsers.shortcodes.shortcodes.i18n.enable...
feat(shortcodes): update `tr` shortcode
null
flextype/flextype
MIT License
PHP
@@ -609,6 +609,18 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom if (a.PropertyName == "Enable") { MeetingIsLockedFeedback.FireUpdate(); + MeetingInfo = new MeetingInfo + ( + MeetingInfo.Id, + MeetingInfo.Name, + MeetingInfo.Host, + MeetingInfo.Password, + GetSharingStatus(), + MeetingInfo.IsHost...
feat(essentials): update when meeting lock changes and detect call status on sync
null
pepperdash/essentials
MIT License
C#
@@ -323,6 +323,7 @@ class AdminServer(BaseAdminServer): f"{UUIDFour.PATTERN}/default-mediator)", path, ) + or path.startswith("/mediation/default-mediator") ) # base wallet is not allowed to perform ssi related actions.
feat: allow querying default mediator from base wallet
null
hyperledger/aries-cloudagent-python
Apache License 2.0
Python
import java.util.*; import java.util.concurrent.*; +import java.util.concurrent.atomic.*; import java.util.stream.*; import static org.glassfish.jersey.internal.guava.Predicates.not; private final JvbDoctor jvbDoctor = new JvbDoctor(this); + /** + * The number of bridges which disconnected without going into graceful s...
feat: Add a stat for "lost bridges"
null
jitsi/jicofo
Apache License 2.0
Java
@@ -16,6 +16,7 @@ import com.google.gson.JsonObject; import com.ibm.watson.developer_cloud.http.RequestBuilder; import com.ibm.watson.developer_cloud.http.ServiceCall; import com.ibm.watson.developer_cloud.service.WatsonService; +import com.ibm.watson.developer_cloud.service.security.IamOptions; import com.ibm.watson.d...
feat(text-to-speech): Add manual tweaks
null
watson-developer-cloud/java-sdk
Apache License 2.0
Java
@@ -169,7 +169,7 @@ date_default_timezone_set($flextype['registry']->get('flextype.settings.timezone $shortcodes_extensions = $flextype['registry']->get('flextype.settings.shortcodes.extensions'); foreach ($shortcodes_extensions as $shortcodes_extension) { - $shortcodes_extension_file_path = ROOT_DIR . '/src/flextype/c...
feat(element-queries): infrastructure changes
null
flextype/flextype
MIT License
PHP
@@ -328,6 +328,16 @@ impl BitVec { *ptr.add(self.pos) = byte << (8 - offset); } + /// Concatenantes the contents of another BitVec to this one + pub fn concat(&mut self, other: &Self) { + if other.bit_offset == 0 { + self.push_bytes(unsafe { other.as_bytes_unchecked() }) + } else { + let bytes = unsafe { other.as_bytes...
feat: allow concatenating two bitvecs
null
lumen/lumen
Apache License 2.0
Rust
@@ -139,6 +139,9 @@ mod_info_gokz=( MOD "gokz" "GOKZ" "https://bitbucket.org/kztimerglobalteam/gokz/ mod_info_ttt=( MOD "ttt" "Trouble in Terrorist Town" "https://csgottt.com/downloads/ttt-latest-dev-${sourcemodversion}.zip" "ttt-latest.zip" "0" "LowercaseOff" "${systemdir}" "cfg;addons/sourcemod/configs;" "ENGINES" "C...
feat(mods): Added Dhooks, Movement API and Cleaner for GOKZ
null
gameservermanagers/linuxgsm
MIT License
Shell
@@ -2,20 +2,23 @@ import React from 'react' import { Typeahead } from 'react-bootstrap-typeahead' import 'react-bootstrap-typeahead/css/Typeahead.css' -type SelectOption = { label: string; value: any } +interface SelectOption<T> { + label: string + value: T +} -interface Props { +interface Props<T> { id: string - optio...
feat(select): select component use generics
null
hospitalrun/components
MIT License
TypeScript
@@ -151,6 +151,94 @@ func (r *ResolvedRemotes) BaseRepo(prompt bool) (Interface, error) { return selectedRepoInfo, err } +func (r *ResolvedRemotes) HeadRepo(prompt bool) (Interface, error) { + if r.baseOverride != nil { + return r.baseOverride, nil + } + + // if any of the remotes already has a resolution, respect that...
feat(internal/glrepo/resolver): add HeadRepo function
null
profclems/glab
MIT License
Go
import React, { useState, useEffect } from 'react' import { MessageDescriptor, useIntl } from 'react-intl' -import { Box, Input, Text } from '@island.is/island-ui/core' +import { Box, Input, Text, Tooltip } from '@island.is/island-ui/core' import { DateTime, FormContentContainer, @@ -117,7 +117,11 @@ const PoliceDemand...
feat(judicial-system): add tooltip to request to date field
null
island-is/island.is
MIT License
TypeScript
@@ -18,9 +18,6 @@ class V06 extends Filter { $parsedResponse = array(); switch($model) { - case Response::MODEL_PROJECT : - $parsedResponse = $this->parseProject($content); - break; case Response::MODEL_USER : $parsedResponse = $this->parseUser($content); @@ -30,6 +27,18 @@ class V06 extends Filter { $parsedResponse = ...
feat: parse membership
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
@@ -164,13 +164,17 @@ class Yahoo extends OAuth2 /** * Check if the OAuth email is verified * + * If present, the email is verified. This was verfied through a manual Yahoo sign up process + * * @param $accessToken * * @return bool */ public function isEmailVerified(string $accessToken): bool { - return false; + $email...
feat: update Yahoo OAuth provider
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
@@ -144,16 +144,6 @@ if (! function_exists('plugins')) { } } -if (! function_exists('router')) { - /** - * Get Flextype Router Service. - */ - function router() - { - return flextype()->container()->get('router'); - } -} - if (! function_exists('images')) { /** * Get Flextype Images Service.
feat(helpers): remove router service
null
flextype/flextype
MIT License
PHP
@@ -33,7 +33,9 @@ func KeyMiddleware(next http.Handler) http.Handler { // GetKeys retrieves sorted keys from the database func GetKeys(w http.ResponseWriter, r *http.Request) { if key := context.Get(r, "accessKey"); key != nil { - helpers.WriteJSON(w, http.StatusOK, key.(db.AccessKey)) + k := key.(db.AccessKey) + k.Sec...
feat(be): do not return private key in rest api
null
ansible-semaphore/semaphore
MIT License
Go
@@ -36,6 +36,7 @@ let extensionInitialUrl; let extensionId; let extensionHomeUrl; let extensionSettingsUrl; +let extensionAdvancedSettingsUrl; let walletAddress; let switchBackToCypressWindow; @@ -44,7 +45,12 @@ module.exports = { return extensionId; }, extensionUrls: () => { - return { extensionInitialUrl, extensionHo...
feat: use goToAdvancedSettings
null
synthetixio/synpress
MIT License
JavaScript
@@ -23,6 +23,7 @@ use core::convert::TryFrom; use core::ops::Range; use nbytes::bytes; use primordial::{Address, Register}; +use x86_64::PhysAddr; /// Address in the host virtual address space pub struct HostVirtAddr<U>(Address<u64, U>); @@ -69,6 +70,19 @@ where } } +impl<U> TryFrom<PhysAddr> for ShimPhysAddr<U> { + ty...
feat(shim-sev): add TryFrom<PhysAddr> for ShimPhysAddr<U>
null
enarx/enarx
Apache License 2.0
Rust
@@ -69,7 +69,7 @@ public class FreeFormPointSet extends PointSet implements Serializable { /** A detailed textual description of this FreeFormPointSet */ public String description; - public Map<String, int[]> properties = new HashMap<String, int[]>(); + public Map<String, double[]> properties = new HashMap<String, doub...
feat(points): use requested lat, lon, and id field names
null
conveyal/r5
MIT License
Java
@@ -4,6 +4,7 @@ import ( "fmt" "strings" + "github.com/MakeNowJust/heredoc" "github.com/profclems/glab/pkg/tableprinter" "github.com/profclems/glab/commands/cmdutils" @@ -20,6 +21,12 @@ func NewCmdSearch(f *cmdutils.Factory) *cobra.Command { Long: ``, Args: cobra.ExactArgs(0), Aliases: []string{"find", "lookup"}, + Exa...
feat(commands/project/search): add EXAMPLES
null
profclems/glab
MIT License
Go
@@ -80,6 +80,10 @@ def from_params(params: Dict, mode: str = 'infer', serialized: Any = None, **kwa model = build_model(config, serialized=serialized) _refs.clear() _refs.update(refs) + try: + _refs[config_params['id']] = model + except KeyError: + pass return model cls_name = config_params.pop('class_name', None)
feat: support naming of components inited from config path
null
deeppavlov/deeppavlov
Apache License 2.0
Python
@@ -6,6 +6,8 @@ import MoleculeCheckboxField from '@s-ui/react-molecule-checkbox-field' const baseClass = 'sui-OrganismNestedCheckboxes' +const checkItemIsChecked = ({checked}) => checked === true + const OrganismNestedCheckboxes = ({ id, checkedIcon: CheckedIcon, @@ -22,9 +24,9 @@ const OrganismNestedCheckboxes = ({ c...
feat(organism/nestedCheckboxes): refactoring to improve code
null
sui-components/sui-components
MIT License
JavaScript
+import { version } from '../package' // TODO: set this through ENV or something else const LOG_ENDPOINT = 'https://enix.one/gitako/log' @@ -29,6 +30,7 @@ function reportError(error) { `${LOG_ENDPOINT}?${encodeParams({ error: (error && error.message) || error, path: window.location.href, + version, })}` ) }
feat: submit version in analytics
null
enixcoda/gitako
MIT License
JavaScript
@@ -498,6 +498,11 @@ App::patch('/v1/teams/:teamId/memberships/:membershipId') /** @var Appwrite\Database\Database $projectDB */ /** @var Appwrite\Event\Event $audits */ + $team = $projectDB->getDocument($teamId); + if (empty($team->getId()) || Database::SYSTEM_COLLECTION_TEAMS != $team->getCollection()) { + throw new ...
feat: update membership roles
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
-import React from 'react' +import React, { useContext } from 'react' import { Link } from 'gatsby' import { Card, CardBody } from '~components/common/card' -import { Statistic } from '~components/common/statistic' +import { DefinitionPanelContext } from '~components/common/state/definitions-panel' +import { Statistic,...
feat(cards): add definitions for cume hospitalization
null
covid19tracking/website
Apache License 2.0
JavaScript
+<?php + +declare(strict_types=1); + +test('test encode() method', function () { + $this->assertEquals("title: Foo\ncontent: Bar\n", + flextype('yaml') + ->encode(['title' => 'Foo', + 'content' => 'Bar'])); +}); + +test('test decode() method', function () { + $this->assertEquals(['title' => 'Foo', + 'content' => 'Bar']...
feat(tests): add tests for Serializer Yaml encode() decode() getCacheID() methods
null
flextype/flextype
MIT License
PHP
@@ -164,8 +164,8 @@ class MediaFolders */ public function delete(string $id): bool { - return Filesystem::deleteDir($this->getDirLocation($id)) && - Filesystem::deleteDir(flextype('media_folders_meta')->getDirMetaLocation($id)); + return flextype('filesystem')->directory($this->getDirLocation($id))->delete() && + flext...
feat(media-folder): use Atomastic Filesystem for delete() method
null
flextype/flextype
MIT License
PHP
@@ -46,6 +46,29 @@ public class DatabendUnaryPrefixOperation extends NewUnaryPrefixOperatorNode<Dat protected DatabendConstant getExpectedValue(DatabendConstant expectedValue) { return null; // TODO } + }, + + UNARY_PLUS("+",DatabendDataType.INT) { + @Override + public DatabendDataType getExpressionType() { + return Da...
feat(databend): add int expression generator
null
sqlancer/sqlancer
MIT License
Java
@@ -104,7 +104,7 @@ func newListCmd(client helm.Interface, out io.Writer) *cobra.Command { f.BoolVarP(&list.sortDesc, "reverse", "r", false, "reverse the sort order") f.IntVarP(&list.limit, "max", "m", 256, "maximum number of releases to fetch") f.StringVarP(&list.offset, "offset", "o", "", "next release name in the li...
feat(helm): add -a flag to 'helm list'
null
helm/helm
Apache License 2.0
Go
@@ -455,14 +455,23 @@ class CSSSizing { bool isStretch = false; CSSStyleDeclaration style = current.style; CSSStyleDeclaration childStyle = child.style; - bool isFlex = style[DISPLAY].endsWith(FLEX); - bool isHorizontalDirection = !style.contains(FLEX_DIRECTION) || - style[FLEX_DIRECTION] == ROW || style[FLEX_DIRECTION...
feat: use CSSFlex.isHorizontalFlexDirection to judge flex direction
null
openkraken/kraken
Apache License 2.0
Dart
@@ -58,6 +58,10 @@ class V06 extends Filter { $parsedResponse = $this->parseContinentList($content); break; + case Response::MODEL_CURRENCY_LIST: + $parsedResponse = $this->parseCurrencyList($content); + break; + case Response::MODEL_ANY : $parsedResponse = $content; break; @@ -74,6 +78,12 @@ class V06 extends Filter {...
feat: parse currency list
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
@@ -660,6 +660,7 @@ public class UpdateClientAction implements Serializable { facesMessages.add(FacesMessage.SEVERITY_ERROR, "A sector identifier must be defined first."); } } catch (MalformedURLException e) { + facesMessages.add(FacesMessage.SEVERITY_ERROR, "The url is malformed."); } } @@ -674,6 +675,7 @@ public clas...
feat(oxtrust-server): enable support for deep link on client redirectUri
null
gluufederation/oxtrust
MIT License
Java
@@ -514,28 +514,56 @@ impl MainWin { core.borrow().set_language(&view_id, &lang); } - /// Display the FileChooserDialog for opening, send the result to the Xi core. + /// Display the FileChooserNative for opening, send the result to the Xi core. + /// Don't use FileChooserDialog here, it doesn't work for Flatpaks. /// ...
feat(main_win): use FileChooserNative instead of FileChooserDialog
null
cogitri/tau
MIT License
Rust
@@ -37,17 +37,16 @@ class Database implements AuditDriver public function prune(Auditable $model): bool { if (($threshold = $model->getAuditThreshold()) > 0) { - $total = $model->audits()->count(); - - $forRemoval = ($total - $threshold); - - if ($forRemoval > 0) { - $model->audits() - ->orderBy('created_at', 'asc') - ...
feat(Drivers): refactor the prune() method
null
owen-it/laravel-auditing
MIT License
PHP
@@ -30,6 +30,9 @@ void ErrorCodeToString(const char* prefix, int errorCode, char *errorStr) { case ERROR_OPERATION_ABORTED: _snprintf_s(errorStr, ERROR_STRING_SIZE, _TRUNCATE, "%s: Operation aborted", prefix); break; + case ERROR_INVALID_PARAMETER: + _snprintf_s(errorStr, ERROR_STRING_SIZE, _TRUNCATE, "%s: The paramete...
feat(windows): Add ERROR_INVALID_PARAMETER to supported bindings errors
null
serialport/node-serialport
MIT License
C++
@@ -73,6 +73,45 @@ public class ConfigHelper { } } + class TestCase { + private Map<Integer, String> title; + private String testIn; + private Boolean isTest; + private Boolean isValidator; + + public Map<Integer, String> getTitle() { + return title; + } + + public String getTestIn() { + return testIn; + } + + public B...
feat(sdk): add test case class in config helper
null
codingame/codingame-game-engine
MIT License
Java
@@ -6,7 +6,8 @@ export interface ButtonGroupProps extends IProps, HTMLDivProps { vertical?: boolean; } -export default (props: ButtonGroupProps = {}) => { +export default React.forwardRef<HTMLDivElement, ButtonGroupProps>( + (props, ref) => { const { prefixCls = 'w-btn-group', vertical = false, @@ -15,14 +16,15 @@ expo...
feat(ButtonGroup): Using ref forwarding
null
uiwjs/uiw
MIT License
TypeScript
@@ -18,8 +18,6 @@ type UserModel struct { Email string `gorm:"column:email" json:"email"` Avatar string `gorm:"column:avatar" json:"avatar"` Sex int `gorm:"column:sex" json:"sex"` - LastLoginIP string `gorm:"column:last_login_ip" json:"last_login_ip"` - LastLoginTime time.Time `gorm:"column:last_login_time" json:"last_...
feat: remove last login field
null
go-eagle/eagle
MIT License
Go
@@ -32,28 +32,37 @@ class TFModel(NNModel, metaclass=TfModelMeta): ' have sess attribute!'.format(self.__class__.__name__)) super().__init__(*args, **kwargs) - def load(self): + def load(self, exclude_scopes=['Optimizer']): """Load model parameters from self.load_path""" path = str(self.load_path.resolve()) # Check pre...
feat: exclude scopes from save/load. additional function to get
null
deeppavlov/deeppavlov
Apache License 2.0
Python
@@ -57,7 +57,7 @@ const Demo = () => { checked={showArrow} onChange={ev => setShowArrow(ev.target.checked)} /> - <label className="DemoPopover-label">Disable toggle</label> + <label className="DemoPopover-label">Disable native toggle </label> <input type="checkbox" checked={disableNativeToggle}
feat(atom/popover): change demo description
null
sui-components/sui-components
MIT License
JavaScript
import { Injectable } from '@angular/core'; -import * as faker from 'faker'; +import * as faker from 'faker/locale/en_US'; import { Image } from '../../interfaces/image'; @Injectable()
feat(design): implement the new ModelFactory in images factory
null
graycoreio/daffodil
MIT License
TypeScript
@@ -28,7 +28,6 @@ func NewInfluxCollector(procID platform.IDGenerator, build platform.BuildInfo) p "version": build.Version, "commit": build.Commit, "date": build.Date, - "goversion": runtime.Version(), "os": runtime.GOOS, "arch": runtime.GOARCH, "cpus": strconv.Itoa(runtime.NumCPU()),
feat(prometheus): remove go runtime metric
null
influxdata/influxdb
MIT License
Go
@@ -366,30 +366,35 @@ JSValueRef JSPerformance::summary(JSContextRef ctx, JSObjectRef function, JSObje } } - double widgetCreationCost = getMeasureTotalDuration(findAllMeasures(measures, PERF_WIDGET_CREATION_COST)); - auto controllerPropertiesInitCost = getMeasureTotalDuration(findAllMeasures(measures, PERF_CONTROLLER_...
feat: add avg time
null
openkraken/kraken
Apache License 2.0
C++
@@ -20,7 +20,7 @@ import ( "github.com/privacybydesign/gabi" "github.com/privacybydesign/gabi/big" "github.com/privacybydesign/gabi/revocation" - "github.com/privacybydesign/irmago" + irma "github.com/privacybydesign/irmago" "github.com/privacybydesign/irmago/internal/common" "github.com/privacybydesign/irmago/server" ...
feat: disallow sessions with AugmentReturnURL if disabled in server configuration
null
privacybydesign/irmago
Apache License 2.0
Go
@@ -42,6 +42,8 @@ var secretStoreTokens = []string{ "app-rules-engine", "app-http-export", "app-mqtt-export", + "app-external-mqtt-trigger", + "app-push-to-core", "app-rfid-llrp-inventory", "application-service", "device-camera", @@ -61,6 +63,8 @@ var secretStoreKnownSecrets = []string{ "redisdb[app-rules-engine]", "re...
feat(snap): add additional tokens for app-service-configurable profiles
null
edgexfoundry/edgex-go
Apache License 2.0
Go
@@ -12,7 +12,7 @@ const CartesianButtonLink = props => ( variant={['primary', 'secondary', 'inverted']} href="http://tds.telus.com" children="TELUS Design System" - fullWidth="false" + fullWidth={[false, true]} /> )
feat(e2e): adding true and false
null
telus/tds-core
MIT License
JavaScript
@@ -12,7 +12,7 @@ CUDA_LIB_DIR="/usr/local/cuda/lib64/" TensorRT_LIB_DIR="/opt/tensorrt/lib/" SDK_NAME="unknown" -x86_64_support_version="cu101 cu111 cu112 cpu cu111_cudnn821_tensorRT825" +x86_64_support_version="cu101 cu111 cu112 cpu cu111_cudnn821_tensorRT825 cu114" aarch64_support_version="cu102_JetsonNano cu111 cpu...
feat(mgb): add cu114 wheel
null
megengine/megengine
Apache License 2.0
Shell
@@ -314,6 +314,23 @@ module Discordrb @options = data['options'] end + # @param subcommand [String, nil] The subcommand to mention. + # @param subcommand_group [String, nil] The subcommand group to mention. + # @return [String] the layout to mention it in a message + def mention(subcommand_group: nil, subcommand: nil) ...
feat(ApplicationCommands): Add application command mentions
null
shardlab/discordrb
MIT License
Ruby
@@ -24,4 +24,13 @@ public class SoloGameManager<T extends AbstractPlayer> extends GameManager<T>{ return testCase; } + /** + * Get the player + * + * @return player + */ + public T getPlayer() { + return this.players.get(0); + } + }
feat(sdk): add player getter
null
codingame/codingame-game-engine
MIT License
Java
@@ -6,6 +6,7 @@ const LinuxWifiScanCapability = require("../common/linuxCapabilities/LinuxWifiSc const Logger = require("../../Logger"); const miioCapabilities = require("../common/miioCapabilities"); const MiioValetudoRobot = require("../MiioValetudoRobot"); +const ValetudoRobot = require("../../core/ValetudoRobot"); ...
feat(vendor.viomi): Fetch and display firmware version
null
hypfer/valetudo
Apache License 2.0
JavaScript
@@ -188,6 +188,8 @@ namespace acl } chunk_size += segment_data_size + sizeof(database_chunk_segment_header); + + ACL_ASSERT(chunk_size <= max_chunk_size, "Expected a valid chunk size, segment is larger than max chunk size?"); } if (chunk_size != 0) @@ -296,6 +298,8 @@ namespace acl chunk_size += segment_data_size + siz...
feat(compression): add a few sanity checks
null
nfrechette/acl
MIT License
C
@@ -42,7 +42,7 @@ public abstract class KryoNetworkSerializer { * This string should be changed to a new value each time the network storage format changes. * I considered using an ISO date string but that could get confusing when seen in filenames. */ - public static final String NETWORK_FORMAT_VERSION = "nv1"; + publ...
feat(transfers): set kryo NETWORK_FORMAT_VERSION to previous commit
null
conveyal/r5
MIT License
Java
@@ -26,6 +26,10 @@ func NewPlatformHandler(b *APIBackend) *PlatformHandler { h := NewAuthenticationHandler() h.Handler = NewAPIHandler(b) h.RegisterNoAuthRoute("GET", "/api/v2") + h.RegisterNoAuthRoute("POST", "/api/v2/signin") + h.RegisterNoAuthRoute("POST", "/api/v2/signout") + h.RegisterNoAuthRoute("POST", "/api/v2/...
feat(http): mark misc routes as no auth routes
null
influxdata/influxdb
MIT License
Go
@@ -57,9 +57,15 @@ function getEnvInfo(name: string) { } } - // check implementations const data = getMixedMeta(name) const result: EnvInfo = { impl: [], using: {}, deps: {} } + + // nested plugins + if (!data.root && data.id) { + result.invalid = true + } + + // check implementations for (const name of getKeywords('im...
feat(manager): enhance hints for workspace plugins
null
koishijs/koishi
MIT License
TypeScript
@@ -35,10 +35,7 @@ export default defineComponent({ block: Boolean, - color: { - type: String, - default: 'primary', - }, + color: String, disabled: Boolean, ...makeBorderProps(), ...makeRoundedProps(),
feat(VBtn): remove default color
null
vuetifyjs/vuetify
MIT License
TypeScript
@@ -44,6 +44,11 @@ class LDAPSettings(Document): frappe.throw(_("Ensure the user and group search paths are correct."), title=_("Misconfigured")) + if self.ldap_directory_server.lower() == 'custom': + if not self.ldap_group_member_attribute or not self.ldap_group_mappings_section: + frappe.throw(_("Custom LDAP Directoy...
feat(ldap): Validate additional required fields
null
frappe/frappe
MIT License
Python
@@ -15,13 +15,13 @@ private let CONSTANT_PRODUCT = "ConstantProduct" public extension OrcaSwap { struct Pool: Decodable, Equatable { - let account: String - let authority: String + public let account: String + public let authority: String let nonce: UInt64 - let poolTokenMint: String - var tokenAccountA: String - var t...
feat: reveal some properties
null
p2p-org/solana-swift
MIT License
Swift
@@ -332,12 +332,10 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options: player = ExoPlayerFactory.newSimpleInstance(rendererFactory, trackSelector) player?.playWhenReady = false - player?.repeatMode = options.options[ClapprOption.LOOP.value]?.let { loop -> - when (loop as? Boolean ?: false...
feat(video_loop): Refact the way we set the player repeat mode
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
@@ -239,10 +239,81 @@ class Element extends Node (renderElementBoundary.parentData as RenderLayoutParentData).position = currentPosition; } - // Remove stack node when change to non positioned. + // Move element according to position when it's already connected + if (isConnected) { if (currentPosition == CSSPositionTyp...
feat: add position update logic
null
openkraken/kraken
Apache License 2.0
Dart
@@ -17,8 +17,8 @@ declare(strict_types=1); namespace Flextype\Parsers\Shortcodes; use Thunder\Shortcode\Shortcode\ShortcodeInterface; -use ChrisKonnertz\StringCalc\StringCalc; use function registry; +use function expression; // Shortcode: calc // Usage: (calc:2+2) @@ -27,5 +27,5 @@ parsers()->shortcodes()->addHandler('...
feat(shortcodes): use new expression service for `calc` shortcode
null
flextype/flextype
MIT License
PHP
@@ -11,16 +11,25 @@ pub(crate) async fn perform( sleep_interval_minutes: u64, ) -> Result<()> { loop { - let flagged = catalog + let parquet_file_flagged = catalog .repositories() .await .parquet_files() .flag_for_delete_by_retention() .await - .context(FlaggingSnafu)?; - info!(flagged_count = %flagged.len(), "iox_cata...
feat: call soft delete partitions from garbage collector
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -1484,7 +1484,7 @@ func (l *leafNode) getTs(key []byte, offset uint64, desc bool, limit int) ([]uin tssOff := 0 if !desc { - initAt = hCount - uint64(tssLen) + initAt = hCount - offset - uint64(tssLen) } if initAt < uint64(len(leafValue.tss)) { @@ -1501,6 +1501,8 @@ func (l *leafNode) getTs(key []byte, offset uint64...
feat(embedded/tbtree): complete history implementation
null
codenotary/immudb
Apache License 2.0
Go
@@ -50,12 +50,15 @@ class Check: raise NoCommitsFoundError(f"No commit found with range: '{self.rev_range}'") pattern = self.cz.schema_pattern() + ill_formated_commits = [] for commit_msg in commit_msgs: if not Check.validate_commit_message(commit_msg, pattern): + ill_formated_commits.append(f"commit: {commit_msg}\n") ...
feat(cz_check): Update to show all ill-formatted commits
null
commitizen-tools/commitizen
MIT License
Python
@@ -32,7 +32,7 @@ from cassandra.cluster import ( ) from cassandra.policies import DCAwareRoundRobinPolicy, TokenAwarePolicy from cassandra.query import PreparedStatement -from pydantic import StrictInt, StrictStr +from pydantic import StrictFloat, StrictInt, StrictStr from pydantic.typing import Literal from feast imp...
feat: Add request_timeout setting for cassandra online store adapter
null
feast-dev/feast
Apache License 2.0
Python
+/** + * @file + * \brief A C++ program to check whether a number is armstrong number or not. + * + * \details + * Armstrong number or [Narcissistic number](https://en.wikipedia.org/wiki/Narcissistic_number) + * is a number that is the sum of its own digits raised to the power of the number of digits. + * @author iamna...
feat: create math/armstrong_number.cpp
null
thealgorithms/c-plus-plus
MIT License
C++
@@ -13,7 +13,8 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import org.gluu.oxauth.model.fido.u2f.exception.BadInputException; import org.jboss.resteasy.annotations.providers.jaxb.IgnoreMediaTypes; - +import com.fasterxml.jackson.annotation.JsonI...
feat: - support push token update on finish authentication
null
gluufederation/oxauth
MIT License
Java
@@ -226,9 +226,9 @@ def _generate_payload(author_icon, title, report): return payload -def _process_returns(returns): +def _process_state(returns): ''' - Process returns + Process the received output state :param returns A dictionary with the returns of the recipe :return A dictionary with Unchanges, Changed and Failed...
feat: Improve return processing
null
saltstack/salt
Apache License 2.0
Python
@@ -51,7 +51,6 @@ public final class OptLambda implements Optimization { } @Override - @SuppressWarnings("PMD.AvoidCatchingGenericException") public XML apply(final Path xml) throws OptimizationException { return this.delegate.apply(xml); }
feat(#1431): remove SuppressWarnings
null
cqfn/eo
MIT License
Java
@@ -166,6 +166,12 @@ func (p BoxPrinter) Sprintf(format string, a ...interface{}) string { return p.Sprint(Sprintf(format, a...)) } +// Sprintfln formats according to a format specifier and returns the resulting string. +// Spaces are always added between operands and a newline is appended. +func (p BoxPrinter) Sprintf...
feat(boxprinter): add `Sprintfln` and `Printfln` function
null
pterm/pterm
MIT License
Go
+#include <algorithm> +#include <cmath> +#include <iostream> +#include <vector> +typedef long long LL; + +using namespace std; + +int t; +LL g; + +LL solve() { + LL ans = 0; + double delta = sqrt(1 + 8 * g); + LL start = floor((1 - delta) / 2), end = ceil((1 + delta) / 2); + for (auto x = max(start, 1ll); x <= end; x++...
feat: kick-start 2021 round c: a, b
null
upupming/algorithm
MIT License
C++
@@ -101,7 +101,6 @@ class Entries { // If requested entry file founded then process it if ($_entry = $this->read($id)) { - // Create unique entry cache_id // Entry Cache ID = entry + entry file + entry file time stamp if ($timestamp = Filesystem::getTimestamp($_entry['file_path'])) {
feat(core): update Entries
null
flextype/flextype
MIT License
PHP
@@ -314,14 +314,14 @@ def vif_from_pearson_matrix(pearson_matrix, threshold=1e-8): N = pearson_matrix.shape[0] vif = [] LOGGER.info(f"local vif calc: calc matrix eigvals") - eig = sorted([abs(v) for v in np.linalg.eigvals(pearson_matrix)]) + eig = sorted([abs(v) for v in np.linalg.eigvalsh(pearson_matrix)]) num_drop = ...
feat: use faster eigval version
null
federatedai/fate
Apache License 2.0
Python
@@ -729,7 +729,19 @@ private BridgeState selectInitial(List<BridgeState> bridges, JitsiMeetConference conference, Participant participant) { - // TODO: take the region into account + // Prefer a bridge in the participant's region. + String participantRegion = participant.getChatMember().getRegion(); + if (participantRe...
feat: Tries to match the region during the initial bridge selection
null
jitsi/jicofo
Apache License 2.0
Java
@@ -4,32 +4,35 @@ import com.apollographql.apollo3.api.http.HttpRequest import com.apollographql.apollo3.api.http.HttpResponse import okio.Buffer -class LoggingInterceptor : HttpInterceptor { - override suspend fun intercept(request: HttpRequest, chain: HttpInterceptorChain): HttpResponse { - println("${request.method....
feat(network/http): hoist the logging functionality to clients
null
apollographql/apollo-android
MIT License
Kotlin
@@ -200,9 +200,9 @@ App::post('/v1/runtimes') ]); $vars = array_map(fn ($v) => strval($v), $vars); $orchestration - ->setCpus(App::getEnv('_APP_FUNCTIONS_CPUS', 1)) - ->setMemory(App::getEnv('_APP_FUNCTIONS_MEMORY', 256)) - ->setSwap(App::getEnv('_APP_FUNCTIONS_MEMORY_SWAP', 256)); + ->setCpus((int) App::getEnv('_APP_F...
feat: set default values for resources as int
null
appwrite/appwrite
BSD 3-Clause New or Revised License
PHP
@@ -3,17 +3,20 @@ package install import ( "github.com/wonderivan/logger" "golang.org/x/crypto/ssh" + "os" ) //CheckValid is func (s *SealosInstaller) CheckValid() { hosts := append(Masters, Nodes...) var session *ssh.Session + var errors []error for _, h := range hosts { session, err := Connect(User, Passwd, PrivateKe...
feat(v2.0.5): fix check error
null
fanux/sealos
Apache License 2.0
Go