code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/app/components/Blockchain/Transaction.jsx b/app/components/Blockchain/Transaction.jsx @@ -49,15 +49,15 @@ class OpType extends React.Component {
<tr>
<td>
<span className={labelClass}>
- {trxTypes[ops[this.props.type]]}
- {this.props.txIndex > 0 ? (
+ {this.props.txIndex >= 0 ? (
<span>
- <Translate conten... | 14 |
diff --git a/Contributors.md b/Contributors.md - [@borason](https://github.com/borason)
- [@Mirhatyasar](https://github.com/Mirhatyasar)
- [@erics0n](https://github.com/erics0n)
-
- [khasanovsm](https://github.com/khasanovsm)
- [@nataschaluna](https://github.com/nataschaluna)
\ No newline at end of file
| 1 |
diff --git a/packages/gatsby/src/bootstrap/load-plugins/load.js b/packages/gatsby/src/bootstrap/load-plugins/load.js @@ -77,7 +77,9 @@ function resolvePlugin(pluginName) {
version: packageJSON.version,
}
} catch (err) {
- throw new Error(`Unable to find plugin "${pluginName}"`)
+ throw new Error(
+ `Unable to find plug... | 7 |
diff --git a/src/core/operations/Magic.mjs b/src/core/operations/Magic.mjs @@ -23,7 +23,7 @@ class Magic extends Operation {
this.name = "Magic";
this.flowControl = true;
this.module = "Default";
- this.description = "The Magic operation attempts to detect various properties of the input data and suggests which operati... | 0 |
diff --git a/cypress/integration/rendering/gitGraph.spec.js b/cypress/integration/rendering/gitGraph.spec.js import { imgSnapshotTest } from '../../helpers/util.js';
describe('Git Graph diagram', () => {
- it('1: should render a simple gitgraph with commit on master branch', () => {
+ it('1: should render a simple gitg... | 14 |
diff --git a/src/plots/polar/legacy/area_attributes.js b/src/plots/polar/legacy/area_attributes.js var scatterAttrs = require('../../../traces/scatter/attributes');
var scatterMarkerAttrs = scatterAttrs.marker;
+var extendFlat = require('../../../lib/extend').extendFlat;
+
+var deprecationWarning = 'Area traces are dep... | 0 |
diff --git a/src/converter/r2t/ImportEntities.js b/src/converter/r2t/ImportEntities.js @@ -73,13 +73,15 @@ export default class ImportEntities {
// TODO: import other metadata, such as publication history, authors,
// affiliations etc.
- entityDb.create({
+ let articleNode = {
id: 'main-article',
type: 'journal-article... | 7 |
diff --git a/packages/app/src/components/Navbar/GrowiContextualSubNavigation.tsx b/packages/app/src/components/Navbar/GrowiContextualSubNavigation.tsx @@ -41,6 +41,7 @@ import { SubNavButtonsProps } from './SubNavButtons';
import AuthorInfoStyles from './AuthorInfo.module.scss';
import PageEditorModeManagerStyles from ... | 7 |
diff --git a/lib/xlsx/xform/style/styles-xform.js b/lib/xlsx/xform/style/styles-xform.js @@ -82,6 +82,8 @@ class StylesXform extends BaseXform {
// add default fills
this._addFill({type: 'pattern', pattern: 'none'});
this._addFill({type: 'pattern', pattern: 'gray125'});
+
+ this.weakMap = new Map()
}
render(xmlStream, ... | 7 |
diff --git a/docs/index.html b/docs/index.html ---
layout: "default"
-title: "siimple"
+title: "Documentation"
subtitle: "A minimal and Open Source CSS framework for building flat and clean web applications and sites!"
---
<link rel="stylesheet" href="/assets/css/icons.css">
-<title>Documentation for version {{ site.ve... | 1 |
diff --git a/apps/bthrm/boot.js b/apps/bthrm/boot.js Bangle.isHRMOn = function() {
var settings = require('Storage').readJSON("bthrm.json", true) || {};
- print(settings);
if (settings.enabled && !settings.replace){
return origIsHRMOn();
} else if (settings.enabled && settings.replace){
if (settings.enabled || !isOn){
... | 5 |
diff --git a/protocols/market/contracts/Market.sol b/protocols/market/contracts/Market.sol @@ -113,7 +113,15 @@ contract Market is Ownable {
return false;
}
- removeIntent(_user);
+ // Link its neighbors together.
+ link(intentsLinkedList[_user][PREV], intentsLinkedList[_user][NEXT]);
+
+ // Delete user from the list.
... | 2 |
diff --git a/src/kit/model/addModelObserver.js b/src/kit/model/addModelObserver.js export default function addModelObserver (model, fn, comp, options) {
// NodeModels and alike
if (model._node) {
+ // NOTE: here we exploit internal knowledge about node types and only register
+ // for updates that are relevant on this ... | 7 |
diff --git a/assets/js/googlesitekit/datastore/user/user-input-settings.js b/assets/js/googlesitekit/datastore/user/user-input-settings.js @@ -203,7 +203,7 @@ export const baseControls = {
registry.select( CORE_USER ).getUserInputSettings() || {};
settings[ settingID ] = {
- ...( ( settings || {} )[ settingID ] || {} )... | 7 |
diff --git a/util.js b/util.js @@ -50,7 +50,7 @@ var reboxValue = exports.reboxValue = function (value, isPrivate) {
for (var key in value) {
if (key == 'content')
o[key] = value.cyphertext || value.content
- else if (key != 'cyphertext' && key != 'private')
+ else if (key != 'cyphertext' && key != 'private' && key != ... | 8 |
diff --git a/_data/conferences.yml b/_data/conferences.yml year: 2023
id: cvpr23
link: http://cvpr2023.thecvf.com/
- deadline: '2022-11-22 23:59:59'
+ deadline: '2022-11-11 23:59:59'
timezone: America/Los_Angeles
place: Vancouver, Canada
date: June 17-23, 2023
| 3 |
diff --git a/server/preprocessing/other-scripts/test/base-test.R b/server/preprocessing/other-scripts/test/base-test.R @@ -5,10 +5,9 @@ library(rstudioapi)
options(warn=1)
wd <- dirname(rstudioapi::getActiveDocumentContext()$path)
-Sys.unsetenv("HEADSTART_LOGFILE")
setwd(wd) #Don't forget to set your working directory
... | 13 |
diff --git a/src/mixins/helpers.js b/src/mixins/helpers.js @@ -4,7 +4,7 @@ import React from 'react';
import ReactDOM from 'react-dom';
import {getTrackCSS, getTrackLeft, getTrackAnimateCSS} from './trackHelper';
import assign from 'object-assign';
-import { getOnDemandLazySlides, elementInViewport } from '../utils/inn... | 2 |
diff --git a/Gruntfile.js b/Gruntfile.js @@ -7,7 +7,7 @@ var lockedDependencies = require('./lib/build/tasks/locked-dependencies.js');
var webpackTask = null;
var EDITOR_ASSETS_VERSION = require('./config/editor_assets_version.json').version;
-var REQUIRED_NODE_VERSIONS = ['10.x'];
+var REQUIRED_NODE_VERSIONS = ['10.x'... | 11 |
diff --git a/kamu/common_settings.py b/kamu/common_settings.py @@ -88,6 +88,7 @@ REST_FRAMEWORK = {
'PAGE_SIZE': 10
}
+if os.environ.get("DISABLE_SAML2") == None:
SAML2_AUTH = {
'DEFAULT_NEXT_URL': '/',
'NEW_USER_PROFILE': {
@@ -103,5 +104,4 @@ SAML2_AUTH = {
'last_name': 'lastName',
}
}
-
SAML2_AUTH['METADATA_AUTO_CON... | 0 |
diff --git a/src/bundler/fs.imba b/src/bundler/fs.imba @@ -491,9 +491,10 @@ export default class FileSystem < Component
def prescan items = null
return #files if #files
#files = items or crawl!
+
for item in #files
let li = item.lastIndexOf('.')
- let ext = item.slice(li) or '.*'
+ let ext = li == -1 ? '.*' : item.slic... | 1 |
diff --git a/packages/imba/src/compiler/nodes.imba1 b/packages/imba/src/compiler/nodes.imba1 @@ -3805,6 +3805,9 @@ export class TagDeclaration < ClassDeclaration
# else
# if !option(:extension) and (!name.isClass)
# js += "; globalThis.{M name.toTscName, name} = {className};"
+
+ if STACK.tsc and option(:global) and na... | 7 |
diff --git a/README.md b/README.md <a href="https://npmjs.org/package/deck.gl">
<img src="https://img.shields.io/npm/dm/deck.gl.svg?style=flat-square" alt="downloads" />
</a>
- <a href="http://starveller.sigsev.io/uber/deck.gl">
- <img src="http://starveller.sigsev.io/api/repos/uber/deck.gl/badge" alt="stars" />
- </a>... | 0 |
diff --git a/common/templates/context.go b/common/templates/context.go @@ -283,13 +283,7 @@ func (c *Context) Execute(source string) (string, error) {
return c.executeParsed()
}
-func (c *Context) executeParsed() (r string, err error) {
- defer func() {
- if r := recover(); r != nil {
- err = errors.New("paniced!")
- }... | 13 |
diff --git a/test/internal/http/http-driver.test.js b/test/internal/http/http-driver.test.js import neo4j from '../../../src/v1';
import sharedNeo4j from '../../internal/shared-neo4j';
import testUtils from '.././test-utils';
-import {ServerVersion, VERSION_3_1_0} from '../../../src/v1/internal/server-version';
+import... | 8 |
diff --git a/Gruntfile.js b/Gruntfile.js @@ -30,7 +30,7 @@ module.exports = function (grunt) {
grunt.registerTask("test",
"A task which runs all the tests in test/tests.",
- ["exec:generateConfig", "exec:tests"]);
+ ["exec:generateNodeIndex", "exec:generateConfig", "exec:tests"]);
grunt.registerTask("docs",
"Compiles d... | 0 |
diff --git a/server/util/wordembeddings.py b/server/util/wordembeddings.py import requests
+import json
from server import config
@@ -25,7 +26,11 @@ def topic_similar_words(topics_id, snapshots_id, words):
def _query_for_json(endpoint, data):
response = requests.post("{}{}".format(config.get('WORD_EMBEDDINGS_SERVER_URL... | 9 |
diff --git a/.eslintrc.json b/.eslintrc.json // stylistic conventions
"brace-style": ["error", "1tbs"],
+ "space-before-blocks": ["error", "always"],
"block-spacing": "error",
"array-bracket-spacing": "error",
"comma-spacing": "error",
| 0 |
diff --git a/README.md b/README.md @@ -139,7 +139,13 @@ yarn test:e2e:live-serve
Then run the actual tests:
```bash
-yarn test:e2e
+yarn test:e2e:run
+```
+
+Or run only some tests by providing a filter:
+
+```bash
+yarn test:e2e:run --filter send.spec.js
```
Finally stop the testnet when you are done:
| 3 |
diff --git a/package.json b/package.json "compile": "lerna run compile",
"hint": "yarn solhint \"./contracts/**/*.sol\"",
"lint": "yarn eslint \"./**/test/**/*.js\" \"./packages/**/*.js\"",
- "ganache": "ganache-cli -d -p 8545 --gasLimit 0xfffffffffff --time '2017-05-10T00:00:00+00:00'",
+ "ganache": "ganache-cli -p 85... | 2 |
diff --git a/src/anim/skeleton.js b/src/anim/skeleton.js @@ -114,7 +114,12 @@ Object.assign(pc, function () {
// Determine the interpolated keyframe for this animated node
interpKey = this._interpolatedKeyDict[nodeName];
-
+ if (interpKey === undefined) {
+ // #ifdef DEBUG
+ console.warn('Unknown skeleton node name: ' ... | 9 |
diff --git a/module/damage/damagechat.js b/module/damage/damagechat.js @@ -20,7 +20,7 @@ export default class DamageChat {
setup() {
Hooks.on('renderChatMessage', async (app, html, msg) => {
- let isDamageChatMessage = !!html.find('.damage-chat-message')
+ let isDamageChatMessage = !!html.find('.damage-chat-message').l... | 1 |
diff --git a/lib/assets/javascripts/dashboard/organization.js b/lib/assets/javascripts/dashboard/organization.js @@ -124,16 +124,6 @@ $(function () {
});
});
- // Color picker
- // if (this.$('.js-colorPicker').length > 0) {
- // new ColorPickerView({
- // el: this.$('.js-colorPicker'),
- // color: this.$('.js-colorPic... | 2 |
diff --git a/index.html b/index.html <kan-game>
<div class="kan-game-warpper">
<div id="webview-wrapper" style="height: 480px">
- <webview src="about:blank" ondrop="event.preventDefault();" plugins preload="./assets/js/webview-preload.js"></webview>
+ <webview src="about:blank" ondrop="event.preventDefault();" plugins ... | 11 |
diff --git a/src/registry/routes/helpers/get-component-fallback.ts b/src/registry/routes/helpers/get-component-fallback.ts @@ -4,6 +4,7 @@ import request from 'minimal-request';
import url from 'url';
import { Component, Config } from '../../../types';
import * as urlBuilder from '../../domain/url-builder';
+import { G... | 7 |
diff --git a/angular/projects/spark-angular/src/lib/components/sprk-toggle/sprk-toggle.component.ts b/angular/projects/spark-angular/src/lib/components/sprk-toggle/sprk-toggle.component.ts @@ -8,14 +8,18 @@ import { toggleAnimations } from './sprk-toggle-animations';
class="sprk-u-Overflow--hidden {{ additionalClasses ... | 3 |
diff --git a/next.config.js b/next.config.js @@ -3,6 +3,9 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
})
module.exports = withBundleAnalyzer({
+ images: {
+ domains: ['static.data.gouv.fr']
+ },
webpack(config, {webpack}) {
config.plugins.push(
new webpack.ContextReplacementPlugin(/moment[/\\]local... | 0 |
diff --git a/src/ServerlessOffline.js b/src/ServerlessOffline.js @@ -58,6 +58,9 @@ export default class ServerlessOffline {
// Entry point for the plugin (sls offline) when running 'sls offline start'
async start() {
+ // Avoid racing conditions with other plugins at start
+ await new Promise(resolve => setTimeout(reso... | 0 |
diff --git a/src/libs/OptionsListUtils.js b/src/libs/OptionsListUtils.js @@ -125,15 +125,11 @@ Onyx.connect({
* @returns {Boolean}
*/
function isSearchStringMatch(searchValue, searchText) {
- const matchRegexes = [
- new RegExp(`^${Str.escapeForRegExp(searchValue)}$`, 'i'),
- new RegExp(`^${Str.escapeForRegExp(searchVa... | 7 |
diff --git a/accessibility-checker-engine/src/v2/checker/accessibility/util/legacy.ts b/accessibility-checker-engine/src/v2/checker/accessibility/util/legacy.ts @@ -2642,15 +2642,7 @@ export class RPTUtil {
if (RPTUtil.containsPresentationalChildrenOnly(walkNode as HTMLElement)) return true;
//aria-own case: if the ele... | 3 |
diff --git a/developers/src/i18n/en/index.js b/developers/src/i18n/en/index.js @@ -568,10 +568,10 @@ export default {
session_ed25519_btn: 'Ed25519 session',
session_question: 'Do you want to reset session?',
qrcode_title: 'Code URL',
- qrcode_content: 'Display or rotate code url for this app.',
- qrcode_btn1: 'Show co... | 7 |
diff --git a/src/components/Form.js b/src/components/Form.js @@ -14,7 +14,7 @@ const propTypes = {
formID: PropTypes.string.isRequired,
/** Text to be displayed in the submit button */
- buttonText: PropTypes.string.isRequired,
+ submitButtonText: PropTypes.string.isRequired,
/** Callback validate the form */
validate:... | 10 |
diff --git a/js/kiri-slice.js b/js/kiri-slice.js @@ -895,24 +895,24 @@ var gs_kiri_slice = exports;
PRO.doSupport = function(minOffset, maxBridge, expand, minArea, pillarSize, offset, gap) {
var min = minArea || 0.1,
size = (pillarSize || 2),
+ slice = this,
mergeDist = size * 3, // pillar merge dist
- top = this,
- to... | 10 |
diff --git a/streamingpro-mlsql/src/main/java/streaming/rest/RestUtils.scala b/streamingpro-mlsql/src/main/java/streaming/rest/RestUtils.scala @@ -17,6 +17,11 @@ object RestUtils {
.map{ case (name, value) => new BasicNameValuePair(name, value) }.toSeq
Request.Post(urlString)
+ // Socket timeout is in milliseconds, def... | 12 |
diff --git a/src/utils/twoFactor.js b/src/utils/twoFactor.js @@ -63,12 +63,14 @@ export class TwoFactor extends Account2FA {
async deployMultisig() {
const contractBytes = new Uint8Array(await (await fetch('/multisig.wasm')).arrayBuffer());
await super.deployMultisig(contractBytes);
+ this.has2fa = true
}
async disable... | 12 |
diff --git a/src/components/formik-forms/formik-select.jsx b/src/components/formik-forms/formik-select.jsx @@ -5,7 +5,7 @@ import {Field} from 'formik';
const ValidationMessage = require('../forms/validation-message.jsx');
-require('../forms/input.scss');
+require('../forms/select.scss');
require('../forms/row.scss');
... | 4 |
diff --git a/src/web/stylesheets/layout/_io.css b/src/web/stylesheets/layout/_io.css -moz-padding-start: 1px; /* Fixes bug in Firefox */
}
-#input-tabs ul {
+#input-tabs ul,
+#output-tabs ul {
list-style: none;
background-color: var(--title-background-colour);
padding: 0;
height: var(--tab-height);
}
-#input-tabs ul li... | 0 |
diff --git a/src/components/modebar/modebar.js b/src/components/modebar/modebar.js @@ -4,7 +4,6 @@ var d3 = require('@plotly/d3');
var isNumeric = require('fast-isnumeric');
var Lib = require('../../lib');
-var Color = require('../color');
var Icons = require('../../fonts/ploticon');
var version = require('../../versio... | 13 |
diff --git a/react-ui/functions/Reducer.js b/react-ui/functions/Reducer.js import { ActionTypes } from "../constants/ActionTypes.js";
-import { initialize, sendNft, destroyNft, copyAddress, copyPrivateKey, setUsername, setAvatar, setHomespace, setLoadoutState, getInventoryForSelf, uploadFile, setFtu, requestTokenByEmai... | 2 |
diff --git a/Dockerfile b/Dockerfile @@ -15,13 +15,13 @@ RUN zypper -n install --no-recommends --replacefiles \
zypper -n clean --all
# Add our user
-RUN useradd -m frontend
+RUN useradd -m hackweek
# Configure our user
-RUN usermod -u $CONTAINER_USERID frontend
+RUN usermod -u $CONTAINER_USERID hackweek
# Setup sudo
-... | 10 |
diff --git a/token-metadata/0xac4D22e40bf0B8eF4750a99ED4E935B99A42685E/metadata.json b/token-metadata/0xac4D22e40bf0B8eF4750a99ED4E935B99A42685E/metadata.json "symbol": "AER",
"address": "0xac4D22e40bf0B8eF4750a99ED4E935B99A42685E",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/js/webcomponents/bisweb_filetreepipeline.js b/js/webcomponents/bisweb_filetreepipeline.js @@ -624,7 +624,7 @@ class FileTreePipeline extends HTMLElement {
let offset = parsedData['offset'];
let promiseArray = [], tsvData = {};
for (let runName of Object.keys(orderedRuns)) {
- let tsvFile = "onset\tduration... | 1 |
diff --git a/mobile/components/ThreadComposer/index.js b/mobile/components/ThreadComposer/index.js // @flow
import React, { Fragment } from 'react';
-import { TextInput, Button, Picker } from 'react-native';
+import { TextInput, Button } from 'react-native';
import Wrapper from './components/Wrapper';
+import Select fr... | 4 |
diff --git a/src/util/processor.js b/src/util/processor.js @@ -162,6 +162,9 @@ async function getFeed (data, log) {
}
async function connectToDatabase (config) {
+ if (!config.database.uri.startsWith('mongo')) {
+ return
+ }
const connection = await connectDb(config.database.uri, config.database.connection)
await initi... | 8 |
diff --git a/civictechprojects/static/css/partials/_ModalPosition.scss b/civictechprojects/static/css/partials/_ModalPosition.scss -//helps position all react-bootstrap modals
+//delete this when we upgrade to react-bootstrap >=1.0.0
.modal-dialog {
- top: 22%;
+ .modal.fade & {
+ transform: translate(0, 0);
}
-
-.wide... | 14 |
diff --git a/userscript.user.js b/userscript.user.js @@ -48184,7 +48184,7 @@ var $$IMU_EXPORT$$;
function update_mouseover_trigger_delay() {
delay = settings.mouseover_trigger_delay;
- if (delay <= 0 || isNaN(delay))
+ if (delay < 0 || isNaN(delay))
delay = false;
if (typeof delay === "number" && delay >= 10)
delay = 1... | 11 |
diff --git a/docs/layout/assets/css/style.css b/docs/layout/assets/css/style.css @@ -514,14 +514,16 @@ section {
.link-icon {
position: absolute;
left: -20px;
- top: 0px;
+ top: 10px;
height: 18px;
width: 18px;
background: url('../images/anchor.svg');
background-repeat: no-repeat;
- transition: all 300ms;
+ transition:... | 1 |
diff --git a/config/webpack.config_uglify.js b/config/webpack.config_uglify.js ENDLICENSE */
const webpack = require('webpack'); //to access built-in plugins
-const ugl = require('uglifyjs-webpack-plugin');
const base=require('./webpack.config.js');
+/* Remove this for now as it does not work
base.mode='production';
ba... | 2 |
diff --git a/packages/app/src/server/routes/page.js b/packages/app/src/server/routes/page.js @@ -354,9 +354,16 @@ module.exports = function(crowi, app) {
next();
}
+ // empty page
if (page.isEmpty) {
- req.pagePath = page.path;
- return next();
+ // redirect to page (path) url
+ const url = new URL('https://dummy.origi... | 9 |
diff --git a/src/block_manager/view/BlocksView.js b/src/block_manager/view/BlocksView.js @@ -86,7 +86,7 @@ function(Backbone, BlockView) {
this.em.runDefault();
this.em.get('Canvas').getBody().style.cursor = '';
document.body.style.cursor = '';
- if(model && model.get('activeOnRender')){
+ if(model && model.get && mode... | 1 |
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -82,7 +82,7 @@ npm test
To run a particular test subset e.g. just the unit tests:
```
-npm run-script unit
+npm run unit
```
See the implementation of the `test` script in `package.json` for more options.
@@ -95,7 +95,7 @@ Our goal with the changelog is to document all ... | 14 |
diff --git a/articles/universal-login/index.md b/articles/universal-login/index.md @@ -42,14 +42,13 @@ The settings available here are:
* Primary Color
* Background Color
-These settings, once changed, will take effect on your login page if you have not enabled customization of the login page code, or if you have enabl... | 3 |
diff --git a/src/components/initDirectMessageWrapper/index.js b/src/components/initDirectMessageWrapper/index.js @@ -6,7 +6,6 @@ import { withRouter, type History } from 'react-router-dom';
import { withCurrentUser } from 'src/components/withCurrentUser';
import type { GetUserType } from 'shared/graphql/queries/user/ge... | 4 |
diff --git a/token-metadata/0x4D953cf077c0C95Ba090226E59A18FcF97db44EC/metadata.json b/token-metadata/0x4D953cf077c0C95Ba090226E59A18FcF97db44EC/metadata.json "symbol": "MINI",
"address": "0x4D953cf077c0C95Ba090226E59A18FcF97db44EC",
"decimals": 19,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/engine/modules/entities/src/main/java/com/codingame/gameengine/module/entities/Text.java b/engine/modules/entities/src/main/java/com/codingame/gameengine/module/entities/Text.java @@ -105,7 +105,7 @@ public class Text extends TextBasedEntity<Text> {
}
/**
- * Returs the thickness of the stroke of this <cod... | 1 |
diff --git a/lib/assets/core/test/spec/cartodb3/data/analyses.spec.js b/lib/assets/core/test/spec/cartodb3/data/analyses.spec.js @@ -313,7 +313,7 @@ describe('cartodb3/data/analyses', function () {
var dataObservatoryAnalyses = [
'data-observatory-measure'
];
- checkIfxxxTest(dataObservatoryAnalyses, 'observatory');
+ ... | 1 |
diff --git a/README.md b/README.md ERP beyond your fridge
## Give it a try
-Public demo of the latest version → [https://demo.grocy.info](https://demo.grocy.info)
+Public demo of the latest stable version → [https://demo.grocy.info](https://demo.grocy.info)
+Public demo of the latest pre-release version (curr... | 0 |
diff --git a/src/components/Button.js b/src/components/Button.js @@ -48,6 +48,10 @@ const propTypes = {
/** Call the onPress function when Enter key is pressed */
pressOnEnter: PropTypes.bool,
+ /** The priority to assign the enter key event listener. 0 is the highest priority. */
+ enterKeyEventListenerPriority: PropT... | 11 |
diff --git a/src/string.js b/src/string.js @@ -13,23 +13,8 @@ export const concatStrings = _.flow(
)
export const trimStrings = map(when(_.isString, _.trim))
-export let autoLabel = (string = '') => {
- // Prevent Acronyms from being lower cased
- let acronymRegex = new RegExp('([A-Z])([A-Z])($|.)', 'g')
- while (strin... | 14 |
diff --git a/server/views/topics/topic.py b/server/views/topics/topic.py @@ -220,7 +220,6 @@ def topic_update(topics_id):
# start it ether as a new version, or start regenerating the existig version
if ('snapshotId' in request.form) and len(request.form['snapshotId']) > 0:
# add the subtopics to the current version (do... | 11 |
diff --git a/src/PanelTraits/Search.php b/src/PanelTraits/Search.php @@ -35,14 +35,23 @@ trait Search
*/
public function applySearchLogicForColumn($query, $column, $searchTerm)
{
+ $columnType = $column['type'];
+
// if there's a particular search logic defined, apply that one
if (isset($column['searchLogic'])) {
$sear... | 11 |
diff --git a/index.d.ts b/index.d.ts @@ -659,14 +659,14 @@ declare module 'mongoose' {
* Behaves like `remove()`, but deletes all documents that match `conditions`
* regardless of the `single` option.
*/
- deleteMany(filter?: any, options?: QueryOptions, callback?: (err: CallbackError) => void): Query<any, T>;
+ delete... | 7 |
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee @@ -189,7 +189,7 @@ onFocus = forTrusted (event) ->
# We install these listeners directly (that is, we don't use installListener) because we still need to receive
# events when Vimium is not enabled.
window.addEventListener "fo... | 1 |
diff --git a/_config.yml b/_config.yml @@ -116,45 +116,53 @@ defaults:
values:
layout: entry
permalink: /library/projects/:title
+ collection: project
-
scope:
type: startups
values:
layout: entry
permalink: /library/startups/:title
+ collection: startup
-
scope:
type: labs
values:
layout: entry
permalink: /library/lab... | 0 |
diff --git a/src/components/views/TacticalMap/preview.js b/src/components/views/TacticalMap/preview.js import React, { Component } from "react";
-import { findDOMNode } from "react-dom";
import { Asset } from "../../../helpers/assets";
import * as THREE from "three";
import Selection from "./select";
| 2 |
diff --git a/token-metadata/0x85eBa557C06c348395fD49e35d860F58a4F7c95a/metadata.json b/token-metadata/0x85eBa557C06c348395fD49e35d860F58a4F7c95a/metadata.json "symbol": "H3X",
"address": "0x85eBa557C06c348395fD49e35d860F58a4F7c95a",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/token-metadata/0x998FFE1E43fAcffb941dc337dD0468d52bA5b48A/metadata.json b/token-metadata/0x998FFE1E43fAcffb941dc337dD0468d52bA5b48A/metadata.json "symbol": "IDRT",
"address": "0x998FFE1E43fAcffb941dc337dD0468d52bA5b48A",
"decimals": 2,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/unlock-app/package.json b/unlock-app/package.json "build": "npm run build-paywall && next build src",
"build-paywall": "NODE_ENV=production rollup -c rollup.paywall.config.js -o ./src/static/paywall.min.js",
"deploy": "next export src",
- "start": "next start src",
+ "start": "NODE_ENV=production node src/... | 4 |
diff --git a/spec/lib/api_calls_spec.rb b/spec/lib/api_calls_spec.rb @@ -101,11 +101,13 @@ describe CartoDB::Stats::APICalls do
scores[stat_date] = score
end
+ Delorean.time_travel_to today
calls = @api_calls.get_api_calls_from_redis_source(@username, @type, @options)
+ Delorean.back_to_the_present
calls.count.should =... | 1 |
diff --git a/test/jasmine/tests/box_test.js b/test/jasmine/tests/box_test.js @@ -463,4 +463,36 @@ describe('Test box restyle:', function() {
.catch(failTest)
.then(done);
});
+
+ it('should be able to change axis range when the number of distinct positions changes', function(done) {
+ function _assert(msg, xrng, yrng) ... | 0 |
diff --git a/userscript.user.js b/userscript.user.js @@ -95442,6 +95442,11 @@ var $$IMU_EXPORT$$;
};
var is_media_type_supported = function(media_info, processing) {
+ if (!media_info) {
+ console_error("is_media_type_supported called without media_info");
+ return true;
+ }
+
if (media_info.type !== "image" && media_i... | 5 |
diff --git a/userscript.user.js b/userscript.user.js @@ -15050,6 +15050,15 @@ var $$IMU_EXPORT$$;
// http://streetstylestore.com/img/p/7/4/7/7/3/74773-home_default.jpg
// http://streetstylestore.com/img/p/7/4/7/7/3/74773.jpg
domain_nowww === "streetstylestore.com" ||
+ // http://asog-labs.com/img/p/4/7/47-thickbox_defa... | 7 |
diff --git a/generators/server/templates/src/main/java/package/service/mapper/UserMapper.java.ejs b/generators/server/templates/src/main/java/package/service/mapper/UserMapper.java.ejs @@ -147,7 +147,7 @@ public class UserMapper {
return null;
}
- Set<<%= asDto('User') %>> userSet = new HashSet<<%= asDto('User') %>>();... | 14 |
diff --git a/src/schemaloader.js b/src/schemaloader.js @@ -90,7 +90,7 @@ export const SchemaLoader = Class.extend({
self.refs[url] = 'loading'
waiting++
- var fetchUrl = this._isLocalUrl(fileBase, url) ? fileBase + url : url
+ var fetchUrl = self._isLocalUrl(fileBase, url) ? fileBase + url : url
// eslint-disable-next-... | 4 |
diff --git a/src/plots/cartesian/layout_attributes.js b/src/plots/cartesian/layout_attributes.js @@ -18,6 +18,8 @@ var FORMAT_LINK = require('../../constants/docs').FORMAT_LINK;
var DATE_FORMAT_LINK = require('../../constants/docs').DATE_FORMAT_LINK;
var ONEDAY = require('../../constants/numerical').ONEDAY;
var constan... | 3 |
diff --git a/public/javascripts/SVValidate/src/label/LabelDescriptionBox.js b/public/javascripts/SVValidate/src/label/LabelDescriptionBox.js @@ -76,7 +76,7 @@ function LabelDescriptionBox () {
if (!severity && !temporary && (!description || description.trim().length == 0) &&
(!tags || tags.length == 0)) {
- let htmlStr... | 1 |
diff --git a/src/mode/cam/ops.js b/src/mode/cam/ops.js let flatLevels = depthData.map(level => {
return POLY.flatten(level.clone(true), [], true).filter(p => !(p.depth = 0));
}).filter(l => l.length > 0);
+ if (flatLevels.length && flatLevels[0].length) {
// start with the smallest polygon on the top
printPoint = flatL... | 9 |
diff --git a/website/core/Footer.js b/website/core/Footer.js @@ -24,106 +24,6 @@ class Footer extends React.Component {
render() {
return (
<footer className="nav-footer" id="footer">
- <section className="sitemap">
- <a href={this.props.config.baseUrl} className="nav-home">
- {this.props.config.footerIcon && (
- <img
... | 2 |
diff --git a/token-metadata/0xe0b9BcD54bF8A730EA5d3f1fFCe0885E911a502c/metadata.json b/token-metadata/0xe0b9BcD54bF8A730EA5d3f1fFCe0885E911a502c/metadata.json "symbol": "ZUM",
"address": "0xe0b9BcD54bF8A730EA5d3f1fFCe0885E911a502c",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/src/styles/components/Input.scss b/src/styles/components/Input.scss @@ -38,6 +38,7 @@ $seed-input-namespace: "c-Input";
color: currentColor;
display: block;
position: relative;
+ top: -1px; // to normalize and center the <input>
height: 100%;
width: 100%;
z-index: 1;
@@ -108,6 +109,7 @@ $seed-input-namespa... | 7 |
diff --git a/server/interpreter.js b/server/interpreter.js @@ -2413,12 +2413,16 @@ Interpreter.State = function(node, scope, wantRef) {
this.node = node;
/** @const @type {!Interpreter.Scope} */
this.scope = scope;
+ /** @private @const @type {boolean} */
+ this.wantRef_ = wantRef || false;
+
/** @type {Interpreter.Val... | 10 |
diff --git a/test/p_usd_tiered_sto.js b/test/p_usd_tiered_sto.js @@ -9,6 +9,7 @@ const USDTieredSTO = artifacts.require("./USDTieredSTO.sol");
const MockOracle = artifacts.require("./MockOracle.sol");
const SecurityToken = artifacts.require("./SecurityToken.sol");
const GeneralTransferManager = artifacts.require("./Gen... | 1 |
diff --git a/src/kite.js b/src/kite.js @@ -237,13 +237,40 @@ const Kite = {
});
break;
case StateController.STATES.INSTALLED:
+ Promise.all([
+ StateController.isKiteInstalled().then(() => true).catch(() => false),
+ StateController.isKiteEnterpriseInstalled().then(() => true).catch(() => false),
+ ]).then(([kiteInstal... | 9 |
diff --git a/ghost/admin/app/styles/layouts/content.css b/ghost/admin/app/styles/layouts/content.css @@ -1113,10 +1113,15 @@ a.gh-post-list-signups.active:hover > span, a.gh-post-list-conversions.active:ho
}
.gh-links-list-url {
- display: flex;
+ display: grid;
+ grid-template-columns: min-content minmax(auto,min-cont... | 7 |
diff --git a/assets/js/modules/analytics/datastore/profiles.test.js b/assets/js/modules/analytics/datastore/profiles.test.js @@ -91,9 +91,6 @@ describe( 'modules/analytics profiles', () => {
);
registry.dispatch( STORE_NAME ).createProfile( accountId, propertyId );
- // TODO: This is failing and I'm not clear on why, w... | 8 |
diff --git a/src/inner-slider.js b/src/inner-slider.js @@ -25,6 +25,7 @@ export class InnerSlider extends React.Component {
slideCount: React.Children.count(this.props.children)
}
this.callbackTimers = []
+ this.clickable = true
}
listRefHandler = ref => this.list = ref
trackRefHandler = ref => this.track = ref
@@ -310... | 0 |
diff --git a/src/govuk/components/character-count/character-count.mjs b/src/govuk/components/character-count/character-count.mjs @@ -49,14 +49,14 @@ CharacterCount.prototype.init = function () {
// Hide the fallback limit message
$fallbackLimitMessage.classList.add('govuk-visually-hidden')
- // Read options set using d... | 10 |
diff --git a/src/puppeteer_utils.js b/src/puppeteer_utils.js @@ -244,6 +244,7 @@ const blockRequests = async (page, options = {}) => {
includeDefaults = true,
} = options;
+ checkParamOrThrow(page, 'options.page', 'Object');
checkParamOrThrow(urlPatterns, 'options.urlPatterns', '[String]');
checkParamOrThrow(includeDef... | 7 |
diff --git a/packages/app/src/server/service/page.js b/packages/app/src/server/service/page.js @@ -738,7 +738,21 @@ class PageService {
}
}
- async v5RecursiveMigration(grant, rootPath = null) {
+ async v5Migration(grant, rootPath = null) {
+ const socket = this.crowicrowi.socketIoService.getAdminSocket();
+ try {
+ aw... | 7 |
diff --git a/test/unit/specs/components/governance/__snapshots__/PageProposal.spec.js.snap b/test/unit/specs/components/governance/__snapshots__/PageProposal.spec.js.snap @@ -77,17 +77,11 @@ exports[`PageProposal renders votes in HTML when voting is open 1`] = `
Proposal Status
</dt>
- <!---->
-
<dd>
- Voting started i... | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.