code
stringlengths 122
4.99k
| label
int64 0
14
|
---|---|
diff --git a/src/tilemap/TilemapParser.js b/src/tilemap/TilemapParser.js @@ -265,6 +265,9 @@ Phaser.TilemapParser = {
{
var object = slice(objectGroup.objects[v], ['name', 'type', 'x', 'y', 'visible', 'rotation', 'properties']);
+ object.x += relativePosition.x
+ object.y += relativePosition.y
+
// Parse the polygon into an array
object.polygon = [];
@@ -281,13 +284,21 @@ Phaser.TilemapParser = {
else if (objectGroup.objects[v].ellipse)
{
var object = slice(objectGroup.objects[v], ['name', 'type', 'ellipse', 'x', 'y', 'width', 'height', 'visible', 'rotation', 'properties']);
+ object.x += relativePosition.x;
+ object.y += relativePosition.y;
+
+ collisionCollection[nameKey].push(object);
objectsCollection[nameKey].push(object);
}
// otherwise it's a rectangle
else
{
var object = slice(objectGroup.objects[v], ['name', 'type', 'x', 'y', 'width', 'height', 'visible', 'rotation', 'properties']);
+ object.x += relativePosition.x;
+ object.y += relativePosition.y;
+
object.rectangle = true;
+ collisionCollection[nameKey].push(object);
objectsCollection[nameKey].push(object);
}
}
@@ -721,7 +732,7 @@ Phaser.TilemapParser = {
for (var i = 0; i < map.layers.length; i++)
{
layer = map.layers[i];
-
+ collision[layer.name] = []
set = null;
// rows of tiles
| 9 |
diff --git a/azure-pipelines.yml b/azure-pipelines.yml @@ -6,6 +6,12 @@ trigger:
- azure-pipelines
- release-*
+# variables
+variables:
+ GH_TOKEN: $(GH_TOKEN)
+ WIN_CSC_KEY_PASSWORD: $(WIN_CSC_KEY_PASSWORD)
+ WIN_CSC_LINK: $(WIN_CSC_LINK)
+
# describe each job seperately
jobs:
- job: Linux
| 12 |
diff --git a/src/components/molecules/SfAlert/SfAlert.scss b/src/components/molecules/SfAlert/SfAlert.scss @@ -8,13 +8,13 @@ $sf-alert__text-margin : 0 !default;
$sf-alert__icon-padding-right : 0.625rem !default;
$sf-alert--info-background-color : $c-yellow-secondary !default;
-$sf-alert--info-color : $c-yellow-primary !default;
+$sf-alert--info-color : $c-black !default;
$sf-alert--warning-background-color : $c-pink-secondary !default;
-$sf-alert--warning-color : $c-pink-primary !default;
+$sf-alert--warning-color : $c-black !default;
$sf-alert--alert-background-color : $c-blue-secondary !default;
-$sf-alert--alert-color : $c-blue-primary !default;
+$sf-alert--alert-color : $c-black !default;
.sf-alert {
display: flex;
| 14 |
diff --git a/package.json b/package.json "name": "find-and-replace",
"main": "./lib/find",
"description": "Find and replace within buffers and across the project.",
- "version": "0.206.3",
+ "version": "0.207.0",
"license": "MIT",
"activationCommands": {
"atom-workspace": [
| 6 |
diff --git a/articles/native-platforms/wpf-winforms/01-login.md b/articles/native-platforms/wpf-winforms/01-login.md @@ -41,7 +41,7 @@ There are three options to do the integration:
### Option 1: Auth0 Lock
-To start, we'd recommend using __Lock__. Here is a snippet of code to copy & paste on your project.
+To start, we recommend using __Lock__. Here is a snippet of code to copy & paste on your project.
Since we are using `await` (.NET 4.5 or greater), your method needs to be `async`:
${snippet(meta.snippets.setup)}
| 2 |
diff --git a/src/docs.mts b/src/docs.mts @@ -6,18 +6,41 @@ import flatmap from "unist-util-flatmap";
import { globby } from "globby";
import { join, dirname } from "path";
import { exec } from "child_process";
+// @ts-ignore
import prettier from "prettier";
-const verify = process.argv.includes("--verify");
+const SOURCE_DOCS_DIR = 'src/docs/';
+const FINAL_DOCS_DIR = 'docs/';
+const AUTOGENERATED_TEXT =
+ "# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT. Please edit the corresponding file in src/docs.";
+
+const verifyOnly = process.argv.includes("--verify");
const git = process.argv.includes("--git");
-let fileChanged = false;
-// Possible Improvement: combine with lint-staged to only copy files that have changed
+
+let filesWereChanged = false;
+
+
+/**
+ * Given a source file name and path, return the documentation destination full path and file name
+ * Create the destination path if it does not already exist.
+ * Possible Improvement: combine with lint-staged to only copy files that have changed
+ *
+ * @param file {string} name of the file (including full path)
+ * @returns {string} name of the file with the path changed from src/docs to docs
+ */
const prepareOutFile = (file: string): string => {
- const outFile = join("docs", file.replace("src/docs/", ""));
+ const outFile = join(FINAL_DOCS_DIR, file.replace(SOURCE_DOCS_DIR, ""));
mkdirSync(dirname(outFile), { recursive: true });
return outFile;
};
+/**
+ * Verify that a file was changed and (potentially) write the new contents out to the file. Log a message to the console
+ * If the file was not changed, do nothing. (No message is logged to the console.)
+ *
+ * @param file {string} name of the file that will be verified
+ * @param content {string} new contents for the file
+ */
const verifyAndCopy = (file: string, content?: string) => {
const outFile = prepareOutFile(file);
const existingBuffer = existsSync(outFile) ? readFileSync(outFile) : Buffer.from("#NEW FILE#");
@@ -27,12 +50,22 @@ const verifyAndCopy = (file: string, content?: string) => {
return;
}
console.log(`File changed: ${outFile}`);
- fileChanged = true;
- if (!verify) {
+ filesWereChanged = true;
+ if (!verifyOnly) {
writeFileSync(outFile, newBuffer);
}
};
+/**
+ * Transform a markdown file and write the transformed file to the directory for published documentation
+ * 1. add a `mermaid-example` block before every `mermaid` or `mmd` block
+ * On the docsify site (one place where the documentation is published), this will show the code used for the mermaid diagram
+ * 2. add the text that says the file is automatically generated
+ * 3. use prettier to format the file
+ * Verify that the file has been changed and write out the changes
+ *
+ * @param file {string} name of the file that will be verified
+ */
const transform = (file: string) => {
const doc = readFileSync(file, "utf8");
const ast: Root = remark.parse(doc);
@@ -46,9 +79,9 @@ const transform = (file: string) => {
return [c, Object.assign({}, c, { lang: "mermaid" })];
});
- const transformed = `# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT. Please edit corresponding file in src/docs.\n${remark.stringify(
- out
- )}`;
+ // Add the AUTOGENERATED_TEXT to the start of the file
+ const transformed = `${AUTOGENERATED_TEXT}\n${remark.stringify(out)}`;
+
verifyAndCopy(
file,
prettier.format(transformed, {
@@ -69,8 +102,8 @@ const transform = (file: string) => {
nonMDFiles.forEach((file) => {
verifyAndCopy(file);
});
- if (fileChanged) {
- if (verify) {
+ if (filesWereChanged) {
+ if (verifyOnly) {
console.log(
"Changes detected in files in `docs`. Please run `yarn docs:build` after making changes to 'src/docs' to update the `docs` folder."
);
| 10 |
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js @@ -2425,6 +2425,7 @@ RED.editor = (function() {
el = $("<div>").appendTo(el).addClass("red-ui-editor-text-container")[0];
var editor = ace.edit(el);
editor.setTheme("ace/theme/tomorrow");
+ editor.setShowPrintMargin(false);
var session = editor.getSession();
session.on("changeAnnotation", function () {
var annotations = session.getAnnotations() || [];
| 2 |
diff --git a/src/utils/editor.ts b/src/utils/editor.ts @@ -45,18 +45,23 @@ export const generatePermlink = (title, random = false) => {
};
export const extractWordAtIndex = (text:string, index:number) => {
+ const END_REGEX = /[\s,]/
let word = '';
- for(let i = index; i >= 0 && text[i] !== ' '; i--){
+ for(let i = index; i >= 0 && (!END_REGEX.test(text[i]) || i === index); i--){
if(text[i]){
word += text[i];
}
}
word = word.split('').reverse().join('');
- for(let i = index + 1; i < text.length && text[i] !== ' '; i++){
+
+ if(!END_REGEX.test(text[index])){
+ for(let i = index + 1; i < text.length && !END_REGEX.test(text[i]); i++){
if(text[i]){
word += text[i];
}
}
+ }
+
return word;
}
| 7 |
diff --git a/package.json b/package.json "name": "@mojs/core",
"version": "0.288.2",
"description": "The motion graphics toolbelt for the web",
+ "source": "src/mojs.babel.js",
"main": "dist/mo.umd.js",
+ "browser": "dist/mo.umd.js",
"unpkg": "dist/mo.umd.js",
"scripts": {
"lint": "eslint \"**/*.js\"",
| 0 |
diff --git a/test/unit/specs/components/common/TmSessionSignIn.spec.js b/test/unit/specs/components/common/TmSessionSignIn.spec.js @@ -83,13 +83,35 @@ describe(`TmSessionSignIn`, () => {
expect(wrapper.vm.error).toBe(`The provided username or password is wrong.`)
})
+ it(`should show the only account that exists`, () => {
+ const self = {
+ accounts: [
+ {
+ key: `default`
+ }
+ ],
+ $el: {
+ querySelector: jest.fn(() => ({
+ focus: jest.fn()
+ }))
+ }
+ }
+ TmSessionSignIn.methods.setDefaultAccount.call(self)
+
+ expect(self.signInName).toBe(`default`)
+ expect(self.$el.querySelector).toHaveBeenCalledWith(`#sign-in-password`)
+ })
+
it(`should show the last account used`, () => {
- localStorage.setItem(`prevAccountKey`, `default`)
+ localStorage.setItem(`prevAccountKey`, `lastUsed`)
const self = {
accounts: [
{
key: `default`
+ },
+ {
+ key: `lastUsed`
}
],
$el: {
@@ -100,8 +122,22 @@ describe(`TmSessionSignIn`, () => {
}
TmSessionSignIn.methods.setDefaultAccount.call(self)
- expect(self.signInName).toBe(`default`)
- // the account is preselected so focus on the pw
+ expect(self.signInName).toBe(`lastUsed`)
expect(self.$el.querySelector).toHaveBeenCalledWith(`#sign-in-password`)
})
+
+ it(`should focus on the name input when there are no accounts`, () => {
+ const self = {
+ accounts: [],
+ $el: {
+ querySelector: jest.fn(() => ({
+ focus: jest.fn()
+ }))
+ }
+ }
+ TmSessionSignIn.methods.setDefaultAccount.call(self)
+
+ expect(self.signInName).toBe(undefined)
+ expect(self.$el.querySelector).toHaveBeenCalledWith(`#sign-in-name`)
+ })
})
| 7 |
diff --git a/token-metadata/0x3845badAde8e6dFF049820680d1F14bD3903a5d0/metadata.json b/token-metadata/0x3845badAde8e6dFF049820680d1F14bD3903a5d0/metadata.json "symbol": "SAND",
"address": "0x3845badAde8e6dFF049820680d1F14bD3903a5d0",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}
\ No newline at end of file
-}
\ No newline at end of file
| 3 |
diff --git a/articles/support/index.md b/articles/support/index.md @@ -52,3 +52,17 @@ The Auth0 Support Center offers ticketed support, where dedicated support specia
Customers with an Enterprise subscription plan receive extended support hours (including an option to add 24/7 availability) with quicker response times, as well as onboarding assistance.
Please contact the [Auth0 Sales Team]([email protected]) if you have specific support requirements or are interested in the Enterprise Support Plan (with or without the Preferred Support option).
+
+## Support Channels
+
+Auth0 offers the following support channels.
+
+### Auth0 Community
+
+Auth0's public [question and answer community](https://ask.auth0.com) offers support for __all__ subscribers. All customers, even those on free accounts, can use our public [discussion forum](https://ask.auth0.com) to search existing questions and receive support from our engineers if their question has not already been asked. Response times to questions may vary.
+
+### Support Center
+
+In addition to the Auth0 Community, paid subscribers can create a private ticket via [Support Center](${env.DOMAIN_URL_SUPPORT}). All account administrators will be able to view and add comments to Support Center tickets. Support Center can be accessed by clicking on the **Get Support** link on the [dashboard](${manage_url}).
+
+[Learn more about creating tickets with Support Center](/support/tickets)
| 0 |
diff --git a/lib/node/index.js b/lib/node/index.js @@ -108,6 +108,15 @@ exports.serialize = {
exports.parse = require('./parsers');
+
+/**
+ * Default buffering map. Can be used to set certain
+ * response types to buffer/not buffer.
+ *
+ * superagent.buffer['application/xml'] = true;
+ */
+exports.buffer = {};
+
/**
* Initialize internal header tracking properties on a request instance.
*
@@ -843,6 +852,10 @@ Request.prototype._end = function() {
unzip(req, res);
}
+ if (buffer === undefined && exports.buffer[mime] !== undefined){
+ buffer = !!exports.buffer[mime];
+ }
+
if (!parser) {
if (responseType) {
parser = exports.parse.image; // It's actually a generic Buffer
| 11 |
diff --git a/_includes/meshery.html b/_includes/meshery.html </tr>
<tr>
<td><a href="https://github.com/layer5io/meshery-maesh">
- <img src='https://raw.githubusercontent.com/containous/maesh/master/docs/content/assets/img/maesh.png' alt='Maesh Service Mesh' class="adapter-logo">Meshery adapter for Maesh</a>
+ <img src='/assets/images/service-mesh-icons/maesh.png' alt='Maesh Service Mesh' class="adapter-logo">Meshery adapter for Maesh</a>
</td>
</tr>
<tr>
| 1 |
diff --git a/app/builtin-pages/views/library-view.js b/app/builtin-pages/views/library-view.js @@ -1379,26 +1379,42 @@ async function onCreateDraft () {
window.location = `beaker://library/${fork.url}`
}
-async function onDeleteDraft (e, draft) {
+async function onDeleteDraft (e, draft, confirm = true) {
e.stopPropagation()
e.preventDefault()
+ let shouldDeleteLocalDirectory
try {
// diff with the master
let diff = await DatArchive.diff(draftInfo.master.url, draft.url, {compareContent: true, shallow: true})
+ if (confirm) {
// run the popup
const {deleteSyncPath} = await deleteDraftPopup.create({
masterTitle: draftInfo.master.title,
- localSyncPath: draft.userSettings.localSyncPath,
+ localSyncPath: _get(draft, 'userSettings.localSyncPath'),
numUnpublishedRevisions: diff.length
})
+ shouldDeleteLocalDirectory = deleteSyncPath
+ }
// delete all the related data
try {
await beaker.archives.removeDraft(draftInfo.master.url, draft.url)
- await beaker.archives.setLocalSyncPath(draft.url, '', {deleteSyncPath})
+ await beaker.archives.setLocalSyncPath(
+ draft.url,
+ '',
+ {
+ deleteSyncPath: confirm ? shouldDeleteLocalDirectory : true
+ }
+ )
await beaker.archives.delete(draft.url)
+
+ // if you were on the deleted draft, redirect to the master
+ if (window.location.pathname.startsWith(`/${draft.url}`)) {
+ window.location = `beaker://library/${draftInfo.master.url}`
+ }
+
toast.create('Deleted draft')
} catch (err) {
toast.create('There was an error trying to remove this draft', 'error', 3e3)
| 11 |
diff --git a/packages/fether-react/src/Send/Sent/Sent.js b/packages/fether-react/src/Send/Sent/Sent.js @@ -20,6 +20,13 @@ const MIN_CONFIRMATIONS = 6;
@inject('sendStore')
@observer
class Sent extends Component {
+ componentWillMount () {
+ // If we refresh on this page, return to homepage
+ if (!this.props.sendStore.txStatus) {
+ this.handleGoToHomepage();
+ }
+ }
+
handleGoToHomepage = () => {
const { history, sendStore } = this.props;
sendStore.clear();
| 1 |
diff --git a/Bundle/CoreBundle/Resources/views/Widget/Form/new_partial.html.twig b/Bundle/CoreBundle/Resources/views/Widget/Form/new_partial.html.twig -<div class="v-collapse" id="widget-{{ id }}-tab-pane" data-flag="v-collapse" data-group="tab-widget-quantum" data-quantum="{{ quantum }}" {% if forms.active is defined and forms.active == true %}data-state="visible"{% endif %}>
+<div class="v-collapse" id="widget-{{ id }}-tab-pane" data-flag="v-collapse" data-group="tab-widget-quantum" data-quantum="{{ quantum }}" {% if forms.active is defined and forms.active %}data-state="visible"{% endif %}>
{% if widget.id and widget.widgetMap.view != view %}
{% embed "VictoireUIBundle:Bricks:alert.html.twig" with { theme: "warning" } %}
{% block body %}
| 7 |
diff --git a/src/pages/Group/Index.js b/src/pages/Group/Index.js @@ -158,6 +158,8 @@ class Main extends PureComponent {
this.handleTimers(
'timer',
() => {
+ this.fetchAppDetailState();
+ this.fetchAppDetail();
this.loadTopology(true);
},
10000
@@ -172,6 +174,8 @@ class Main extends PureComponent {
this.handleTimers(
'timer',
() => {
+ this.fetchAppDetailState();
+ this.fetchAppDetail();
this.loadTopology(true);
},
20000
@@ -465,7 +469,8 @@ class Main extends PureComponent {
isStop,
isUpdate,
isConstruct,
- isCopy
+ isCopy,
+ isRestart
},
buildShapeLoading,
editGroupLoading,
@@ -576,7 +581,7 @@ class Main extends PureComponent {
status={appStateColor[resources.status] || 'default'}
text={appState[resources.status] || '-'}
/>
- {resources.status && isStart && resources.status !== 'RUNNING' && (
+ {resources.status && isStart && (
<span>
<a
onClick={() => {
@@ -713,7 +718,7 @@ class Main extends PureComponent {
isControl && this.handleJump('gateway');
}}
>
- <a>{currApp.service_num || 0}</a>
+ <a>{currApp.ingress_num || 0}</a>
</div>
</div>
| 1 |
diff --git a/packages/bitcore-node/src/modules/ripple/api/event-adapter.ts b/packages/bitcore-node/src/modules/ripple/api/event-adapter.ts import { BaseModule } from '../..';
import { RippleStateProvider } from './csp';
import { RippleAPI } from 'ripple-lib';
+import { StateStorage } from '../../../models/state';
export class RippleEventAdapter {
clients: RippleAPI[] = [];
@@ -15,6 +16,11 @@ export class RippleEventAdapter {
const csp = this.services.CSP.get({ chain }) as RippleStateProvider;
for (let network of networks) {
+ await StateStorage.collection.findOneAndUpdate(
+ {},
+ { $addToSet: { initialSyncComplete: `${chain}:${network}` } },
+ { upsert: true }
+ );
const client = await csp.getClient(network);
client.connection.on('transaction', tx => {
| 12 |
diff --git a/server/preprocessing/other-scripts/linkedcat.R b/server/preprocessing/other-scripts/linkedcat.R @@ -105,7 +105,6 @@ build_query <- function(query, params, limit){
# additional filter params
pub_year <- paste0("pub_year:", "[", params$from, " TO ", params$to, "]")
- params$include_content_type <- c('Bericht')
if (!params$include_content_type[1] == 'all') {
if (length(params$include_content_type) > 1) {
content_type <- paste0("content_type_a_str:(",
| 2 |
diff --git a/token-metadata/0x45804880De22913dAFE09f4980848ECE6EcbAf78/metadata.json b/token-metadata/0x45804880De22913dAFE09f4980848ECE6EcbAf78/metadata.json "symbol": "PAXG",
"address": "0x45804880De22913dAFE09f4980848ECE6EcbAf78",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}
\ No newline at end of file
-}
\ No newline at end of file
| 3 |
diff --git a/src/tagui b/src/tagui @@ -34,7 +34,7 @@ if [ -f "$online_reponame" ]; then if grep -iq "404\|400" "$online_reponame"; th
fi;fi;fi;fi; set -- "$online_flowname" "${@:2}"; fi
# enter live mode directly without user creating dummy file
-if [ "$1" = "live" ]; then echo live > "$1.tag" ; set -- "$1.tag" "${@:2}"; fi
+if [ "$1" = "live" ]; then echo live > "live.tag" ; set -- "live.tag" "${@:2}"; fi
# check whether specified automation flow file exists
if ! [ -f "$1" ]; then echo "ERROR - cannot find $1"; exit 1; fi
| 7 |
diff --git a/src/scripts/interactive-video.js b/src/scripts/interactive-video.js @@ -123,6 +123,7 @@ function InteractiveVideo(params, id, contentData) {
exitFullscreen: 'Exit fullscreen',
summary: 'Open summary dialog',
bookmarks: 'Bookmarks',
+ endscreen: 'Submit Screen',
endscreens: 'Submit Screens',
defaultAdaptivitySeekLabel: 'Continue',
continueWithVideo: 'Continue with video',
| 0 |
diff --git a/assets/js/components/optin.js b/assets/js/components/optin.js @@ -58,13 +58,10 @@ class OptIn extends Component {
toggleTracking( checked );
if ( checked ) {
- global.console.warn( 'trackEvent:before', 'tracking_plugin', this.props.optinAction );
await trackEvent( 'tracking_plugin', this.props.optinAction );
- global.console.warn( 'trackEvent:after', 'tracking_plugin', this.props.optinAction );
}
try {
- global.console.warn( 'apiFetch:before', 'wp/v2/users/me', JSON.stringify( { checked } ) );
await apiFetch( {
path: '/wp/v2/users/me',
method: 'POST',
@@ -74,13 +71,11 @@ class OptIn extends Component {
},
},
} );
- global.console.warn( 'apiFetch:after', 'wp/v2/users/me', JSON.stringify( { checked } ) );
this.setState( {
optIn: checked,
error: false,
} );
} catch ( err ) {
- global.console.warn( 'apiFetch:catch', 'wp/v2/users/me', JSON.stringify( err ) );
this.setState( {
optIn: ! checked,
error: {
| 2 |
diff --git a/src/angular/projects/spark-core-angular/src/lib/components/sprk-accordion-item/sprk-accordion-item.component.spec.ts b/src/angular/projects/spark-core-angular/src/lib/components/sprk-accordion-item/sprk-accordion-item.component.spec.ts @@ -23,9 +23,7 @@ describe('SparkAccordionItemComponent', () => {
component = fixture.componentInstance;
accordionItemElement = fixture.nativeElement.querySelector('li');
accordionItemLinkElement = fixture.nativeElement.querySelector('a');
- accordionHeadingElement = fixture.nativeElement.querySelector(
- '.sprk-c-Accordion__heading'
- );
+ accordionHeadingElement = fixture.nativeElement.querySelector('span');
accordionDetailsElement = fixture.nativeElement.querySelector('div');
});
@@ -41,6 +39,14 @@ describe('SparkAccordionItemComponent', () => {
);
});
+ it('should add classes if additionalHeadingClasses has a value', () => {
+ component.additionalHeadingClasses = 'sprk-u-man';
+ fixture.detectChanges();
+ expect(accordionHeadingElement.classList.contains('sprk-u-man')).toEqual(
+ true
+ );
+ });
+
it('should add an analytics data attribute if analyticsString has a value', () => {
component.analyticsString = 'Link Action';
fixture.detectChanges();
| 3 |
diff --git a/index.d.ts b/index.d.ts @@ -316,7 +316,7 @@ declare namespace Eris {
title?: string;
description?: string;
url?: string;
- timestamp?: string;
+ timestamp?: Date | string;
color?: number;
footer?: { text: string; icon_url?: string; proxy_icon_url?: string };
image?: { url?: string; proxy_url?: string; height?: number; width?: number };
| 11 |
diff --git a/src/pages/devtools/themes/moonlight/moonlight.js b/src/pages/devtools/themes/moonlight/moonlight.js if(!ConfigManager.info_pvp_info)
return;
console.debug("PvP Enemy List", data);
- const jpRankArr = ["","\u5143\u5e25","\u5927\u5c06","\u4e2d\u5c06","\u5c11\u5c06","\u5927\u4f50","\u4e2d\u4f50","\u65b0\u7c73\u4e2d\u4f50","\u5c11\u4f50","\u4e2d\u5805\u5c11\u4f50","\u65b0\u7c73\u5c11\u4f50"]; const lines2Array = (s) => (s || "").split(/[\r\n]/).filter(l => !!l);
+ const jpRankArr = ["","\u5143\u5e25","\u5927\u5c06","\u4e2d\u5c06","\u5c11\u5c06","\u5927\u4f50","\u4e2d\u4f50","\u65b0\u7c73\u4e2d\u4f50","\u5c11\u4f50","\u4e2d\u5805\u5c11\u4f50","\u65b0\u7c73\u5c11\u4f50"];
+ const lines2Array = (s) => (s || "").split(/[\r\n]/).filter(l => !!l);
const pvpFriends = lines2Array(ConfigManager.pan_pvp_friends);
const pvpFriendToggleFunc = function(e) {
const enemyBox = $(this).parent();
pvpFriends.push(name);
}
// to indicate if there are other same names existed in list after removing
- $(this).toggleClass("friend", pvpFriends.includes(name));
enemyBox.toggleClass("friend", pvpFriends.includes(name));
+ ConfigManager.pan_pvp_friends = pvpFriends.join("\n");
ConfigManager.save();
};
$(".activity_pvp .pvp_header .pvp_create_kind").text(
| 1 |
diff --git a/token-metadata/0x0128E4FcCf5EF86b030b28f0a8A029A3c5397a94/metadata.json b/token-metadata/0x0128E4FcCf5EF86b030b28f0a8A029A3c5397a94/metadata.json "symbol": "FSP",
"address": "0x0128E4FcCf5EF86b030b28f0a8A029A3c5397a94",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}
\ No newline at end of file
-}
\ No newline at end of file
| 3 |
diff --git a/grails-app/domain/streama/Video.groovy b/grails-app/domain/streama/Video.groovy @@ -58,14 +58,8 @@ class Video implements SimpleInstance{
Episode episode = (Episode) this
- Video nextEpisode = episode.show.episodes?.find{
- return (it.episode_number == episode.episode_number+1 && it.season_number == episode.season_number && !it.deleted)
- }
- if(!nextEpisode){
- nextEpisode = episode.show.episodes?.find{
- return (it.season_number == episode.season_number+1 && it.episode_number == 1 && !it.deleted)
- }
- }
+ def allEpisodesForTvShow = episode.show.episodes
+ Video nextEpisode = allEpisodesForTvShow.findAll{it.seasonEpisodeMerged > episode.seasonEpisodeMerged && !it.deleted && it.getVideoFiles()}.min{it.seasonEpisodeMerged}
if(nextEpisode && nextEpisode.files){
return nextEpisode
| 1 |
diff --git a/token-metadata/0xC8D2AB2a6FdEbC25432E54941cb85b55b9f152dB/metadata.json b/token-metadata/0xC8D2AB2a6FdEbC25432E54941cb85b55b9f152dB/metadata.json "symbol": "GRAP",
"address": "0xC8D2AB2a6FdEbC25432E54941cb85b55b9f152dB",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}
\ No newline at end of file
-}
\ No newline at end of file
| 3 |
diff --git a/protocols/peer/test/Peer-unit.js b/protocols/peer/test/Peer-unit.js @@ -42,6 +42,8 @@ contract('Peer Unit Tests', async accounts => {
.encodeABI()
mockSwap = await MockContract.new()
+
+ orders.setVerifyingContract(mockSwap.address)
}
before('deploy Peer', async () => {
@@ -325,7 +327,7 @@ contract('Peer Unit Tests', async accounts => {
describe('Test provideOrder', async () => {
it('test if a rule does not exist', async () => {
- const { order } = await orders.getOrder({
+ const { order, signature } = await orders.getOrder({
maker: {
wallet: notOwner,
param: 555,
@@ -338,7 +340,7 @@ contract('Peer Unit Tests', async accounts => {
})
await reverted(
- peer.provideOrder(order, signatures.getEmptySignature(), {
+ peer.provideOrder(order, signature, {
from: notOwner,
}),
'TOKEN_PAIR_INACTIVE'
| 12 |
diff --git a/content/intro-to-storybook/react/en/using-addons.md b/content/intro-to-storybook/react/en/using-addons.md @@ -69,7 +69,7 @@ import { withKnobs, object } from '@storybook/addon-knobs/react';
Next, within the `default` export of `Task.stories.js` file, add `withKnobs` to the `decorators` key:
-````javascript
+```javascript
// src/components/Task.stories.js
export default {
@@ -88,7 +88,7 @@ Lastly, integrate the `object` knob type within the "default" story:
export const Default = () => {
return <Task task={object('task', { ...taskData })} {...actionsData} />;
};
-````
+```
Now a new "Knobs" tab should show up next to the "Action Logger" tab in the bottom pane.
| 1 |
diff --git a/plugins/networking/app/assets/javascripts/networking/plugin/subnets.coffee b/plugins/networking/app/assets/javascripts/networking/plugin/subnets.coffee @@ -208,7 +208,9 @@ class Subnets
$deleteButton = $('<a class="btn btn-danger btn-sm" href="#"><i class="fa fa-trash"></i></a>')
.appendTo($('<td class="snug"></td>').appendTo($tr))
- $deleteButton.click () -> self.removeSubnet(this,subnet.id)
+ $deleteButton.click () ->
+ subnet_id = $(this).closest('tr').prop('id')
+ self.removeSubnet(this,subnet_id)
if @state.showForm
@form.show()
| 1 |
diff --git a/packages/core/notification.js b/packages/core/notification.js @@ -6,29 +6,9 @@ const pkgVersion = require('./package.json')
.slice(0, -1)
.join('.');
-const showPromo = function(promoVersion) {
- const lastpromoVersion = storage.get('promoVersion');
-
- storage.set('promoVersion', promoVersion);
-
- if (lastpromoVersion !== promoVersion) {
- const body = `<div style="display: grid; grid-template-columns: 60px auto;">
- <div>
- <img width="40" src="https://octolinker.now.sh/static/octolinker-small.png">
- </div>
- <div>
- We're super interested to learn what you think about <b>OctoLinker</b>!<br/>Please fill out this <a href="http://bit.ly/2lRJ7MB" target="_blank"><b>two questions</b></a> survey so that we can make it better!
- </div>
- </div>`;
- showNotification({ body });
- }
-};
-
export default async function() {
const showUpdateNotification = storage.get('showUpdateNotification');
- showPromo(2019);
-
if (!showUpdateNotification) {
return;
}
| 2 |
diff --git a/source/components/NumericInput.js b/source/components/NumericInput.js @@ -87,7 +87,6 @@ export default class NumericInput extends FormField {
const regex = /^[0-9.,]+$/;
let isValueRegular = regex.test(value);
let handledValue;
-
if (!isValueRegular && value !== '') {
// input contains invalid value
// e.g. 1,00AAbasdasd.asdasd123123
@@ -101,6 +100,11 @@ export default class NumericInput extends FormField {
const splitedValue = value.split('.');
if (splitedValue.length === 3) {
// input value contains more than one dot
+ const splitedOldValue = this.state.oldValue.split('.');
+ if (splitedOldValue[0] <= splitedValue[0]) {
+ // dot is in decimal part
+ position = position - 1;
+ }
handledValue = splitedValue[0] + '.' + splitedValue[1] + splitedValue[2];
} else if (splitedValue.length === 2 && splitedValue[0] === '' && splitedValue[1] === '') {
// special case when dot is inserted in an empty input
| 9 |
diff --git a/sirepo/simulation_db.py b/sirepo/simulation_db.py @@ -1177,7 +1177,7 @@ def _validate_enum(val, sch_field_info, sch_enums):
if not type in sch_enums:
return
if str(val) not in map(lambda enum: str(enum[0]), sch_enums[type]):
- raise AssertionError(util.err(sch_enums, 'enum value {} not in schema', val))
+ raise AssertionError(util.err(sch_enums[type], '{} enum value {} not in schema', type, val))
def _is_enum(sch_field_info, sch_enums):
| 7 |
diff --git a/src/lib/default-project/project.json b/src/lib/default-project/project.json "currentCostume": 0,
"costumes": [
{
- "assetId": "739b5e2a2435f6e1ec2993791b423146",
+ "assetId": "cd21514d0531fdffb22204e0ec5ed84a",
"name": "backdrop1",
- "bitmapResolution": 1,
- "md5ext": "739b5e2a2435f6e1ec2993791b423146.png",
- "dataFormat": "png",
+ "md5ext": "cd21514d0531fdffb22204e0ec5ed84a.svg",
+ "dataFormat": "svg",
"rotationCenterX": 240,
"rotationCenterY": 180
}
| 14 |
diff --git a/articles/api/info.md b/articles/api/info.md @@ -8,7 +8,12 @@ section: apis
Auth0 exposes two APIs for developers to consume in their applications:
* **Authentication**: Handles identity-related tasks;
-* **Management**: Allows automation of Auth0 tasks such as user creation.
+* **Management**: Handles management of your Auth0 account, including functions related to (but not limited to):
+
+ * Clients;
+ * Connections;
+ * Emails;
+ * Users.
## Authentication API
| 0 |
diff --git a/core/options.js b/core/options.js @@ -283,7 +283,7 @@ Blockly.Options.parseThemeOptions_ = function(options) {
if (theme instanceof Blockly.Theme) {
return /** @type {!Blockly.Theme} */ (theme);
}
- return Blockly.Theme.defineTheme('builtin', theme);
+ return Blockly.Theme.defineTheme(theme.name || 'builtin', theme);
};
/**
| 4 |
diff --git a/src/pages/MetricDocs/Sections/GenericSection.js b/src/pages/MetricDocs/Sections/GenericSection.js @@ -11,7 +11,7 @@ import RenderMetrics from "components/MetricView";
import useResponsiveLayout from "hooks/useResponsiveLayout";
import useGenericAPI from "hooks/useGenericAPI";
import { capitalise } from "common/utils";
-import { ColumnEntry } from "components/Pane";
+import { BREAKPOINT, ColumnEntry } from "components/Pane";
import { Column } from "components/Pane/Pane.styles";
import { FieldSet, PageHeading, Container } from "./Page.styles";
@@ -67,7 +67,6 @@ const LabelLookup = {
};
-
const Content: ComponentType<*> = ({ data, heading, sectionType, typeKey }) => {
const [ filter, setFilter ] = useState(null);
@@ -88,7 +87,6 @@ const Content: ComponentType<*> = ({ data, heading, sectionType, typeKey }) => {
{ data.map( item =>
<Route path={ `/metrics/${sectionType}/${ encodeURI(item[typeKey].replace(/\s/g, '-')) }` } key={ `${typeKey}-routes-${item[typeKey]}` }>
<Container>
- <div style={{ display: "flex", justifyContent: "stretch", flexDirection: "column" }}>
<PageHeading>
<h2 className={ "govuk-heading-l govuk-!-margin-bottom-0" }>
Metrics by { heading }
@@ -103,6 +101,7 @@ const Content: ComponentType<*> = ({ data, heading, sectionType, typeKey }) => {
download={ `metrics_${item[typeKey]}.json` }>Export results as JSON</a>
</PageHeading>
+ <div style={{ display: "flex", justifyContent: "stretch", flexDirection: "column" }}>
<FieldSet>
<label htmlFor={ "metric-search" } className={ "govuk-label govuk-!-font-weight-bold" }>
Metric
@@ -122,12 +121,9 @@ const Content: ComponentType<*> = ({ data, heading, sectionType, typeKey }) => {
minLength={ "0" }
maxLength={ "120" }/>
</FieldSet>
- <p className={ "govuk-body govuk-!-margin-top-3 govuk-body-s" }>
- <b>Count:</b> { item.payload.filter(filterFunc).length } metrics
- </p>
- <ul className={ "govuk-list" }>
- <RenderMetrics data={ item.payload.filter(filterFunc) } filter={ filter }/>
- </ul>
+ <RenderMetrics data={ item.payload }
+ filterFunc={ filterFunc }
+ userInput={ filter }/>
</div>
</Container>
</Route>
@@ -172,16 +168,9 @@ const getAreaParam = ( sectionType: string ): Object<string, string> => {
}; // getAreaParam
-const getAreaLabel = ( sectionType: string, key: string, payload: Object ) => {
-
- return payload?.[sectionType]?.[key] ?? payload[key]
-
-}; // getAreaLabel
-
-
export const TopicSection: ComponentType<*> = ({ parent, urlName, parentPath, ...props }) => {
- const layout = useResponsiveLayout(900);
+ const layout = useResponsiveLayout(BREAKPOINT);
const { pathname } = useLocation();
const sectionType = /.*\/(\w+)$/.exec(parentPath)[1];
const areaParams = getAreaParam(sectionType);
@@ -211,7 +200,7 @@ export const TopicSection: ComponentType<*> = ({ parent, urlName, parentPath, ..
description={ LabelLookup?.[sectionType]?.[item?.[sectionType]]?.description ?? null}/>
)
}</Column>
- : <Link className="govuk-back-link" to={ parentPath }>Back to { areaParams.name.toLowerCase() }</Link>
+ : <Link className="govuk-back-link govuk-!-margin-left-3" to={ parentPath }>Back to { areaParams.label }</Link>
}
<Switch>
<Route path={ `${parentPath}/:${sectionType}` } exact>
| 7 |
diff --git a/runtime.js b/runtime.js @@ -4,8 +4,9 @@ import {VOXLoader} from './VOXLoader.js';
// import {GLTFExporter} from './GLTFExporter.js';
import {getExt, mergeMeshes} from './util.js';
// import {bake} from './bakeUtils.js';
+import {rigManager} from './rig.js';
import {makeIconMesh, makeTextMesh} from './vr-ui.js';
-import {appManager} from './app-object.js';
+import {renderer, appManager} from './app-object.js';
import wbn from './wbn.js';
// import {storageHost} from './constants.js';
@@ -390,7 +391,7 @@ const _loadWebBundle = async file => {
return mesh;
};
const _loadLink = async file => {
- const text = await file.text();
+ const url = await file.text();
const geometry = new THREE.CircleBufferGeometry(1, 32)
.applyMatrix4(new THREE.Matrix4().makeScale(0.5, 1, 1));
@@ -465,14 +466,32 @@ const _loadLink = async file => {
// portalMesh.position.y = 1;
// scene.add(portalMesh);
- const textMesh = makeTextMesh(text.slice(0, 80), undefined, 0.2, 'center', 'middle');
+ const textMesh = makeTextMesh(url.slice(0, 80), undefined, 0.2, 'center', 'middle');
textMesh.position.y = 1.2;
portalMesh.add(textMesh);
+ let inRangeStart = null;
+
const appId = ++appIds;
const app = appManager.createApp(appId);
appManager.setAnimationLoop(appId, () => {
portalMesh.update();
+
+ const distance = rigManager.localRig.inputs.hmd.position.distanceTo(portalMesh.position);
+ if (distance < 1) {
+ const now = Date.now();
+ if (inRangeStart !== null) {
+ const timeDiff = now - inRangeStart;
+ if (timeDiff >= 2000) {
+ renderer.setAnimationLoop(null);
+ window.location.href = url;
+ }
+ } else {
+ inRangeStart = now;
+ }
+ } else {
+ inRangeStart = null;
+ }
});
return portalMesh;
| 0 |
diff --git a/physics-manager.js b/physics-manager.js @@ -171,9 +171,12 @@ physicsManager.cookGeometry = (mesh) => {
const buffer = physx.physxWorker.cookGeometryPhysics(physx.physics, physicsMesh);
return buffer;
};
-physicsManager.cookGeometryAsync = async (mesh) => {
+physicsManager.cookGeometryAsync = async (mesh, {
+ signal = null,
+} = {}) => {
const physicsMesh = convertMeshToPhysicsMesh(mesh);
const buffer = await physxWorkerManager.cookGeometry(physicsMesh);
+ signal && signal.throwIfAborted();
return buffer;
};
physicsManager.addCookedGeometry = (buffer, position, quaternion, scale) => {
@@ -231,9 +234,12 @@ physicsManager.cookConvexGeometry = (mesh) => {
const buffer = physx.physxWorker.cookConvexGeometryPhysics(physx.physics, physicsMesh);
return buffer;
};
-physicsManager.cookConvexGeometryAsync = async (mesh) => {
+physicsManager.cookConvexGeometryAsync = async (mesh, {
+ signal = null,
+} = {}) => {
const physicsMesh = convertMeshToPhysicsMesh(mesh);
const buffer = await physxWorkerManager.cookConvexGeometry(physicsMesh);
+ signal && signal.throwIfAborted();
return buffer;
};
physicsManager.addCookedConvexGeometry = (
| 0 |
diff --git a/src/traces/pie/attributes.js b/src/traces/pie/attributes.js @@ -187,13 +187,16 @@ module.exports = {
values: ['horizontal', 'radial', 'tangential', 'auto'],
dflt: 'auto',
editType: 'plot',
+
description: [
- 'Determines the orientation of text inside slices.',
- 'With *auto* the texts may automatically be',
- 'rotated to fit with the maximum size inside the slice.',
- 'Using *horizontal* option forces text to be horizontal.',
- 'Using *radial* option forces text to be radial.',
- 'Using *tangential* option forces text to be tangential.'
+ 'The `insidetextorientation` attribute controls the',
+ 'orientation of the text inside chart sectors.',
+ 'When set to *auto*, text may be oriented in any direction in order',
+ 'to be as big as possible in the middle of a sector.',
+ 'The *horizontal* option orients text to be parallel with the bottom',
+ 'of the chart, and may make text smaller in order to achieve that goal.',
+ 'The *radial* option orients text along the radius of the sector.',
+ 'The *tangential* option orients text perpendicular to the radius of the sector.'
].join(' ')
},
insidetextfont: extendFlat({}, textFontAttrs, {
| 3 |
diff --git a/source/views/RootView.js b/source/views/RootView.js @@ -55,6 +55,7 @@ const RootView = Class({
Array.prototype.slice.call( arguments, 1 ) );
// Node.DOCUMENT_NODE => 9.
+ const className = this.get( 'className' );
const nodeIsDocument = ( node.nodeType === 9 );
const doc = nodeIsDocument ? node : node.ownerDocument;
const win = doc.defaultView;
@@ -91,6 +92,9 @@ const RootView = Class({
this.isRendered = true;
this.isInDocument = true;
this.layer = nodeIsDocument ? node.body : node;
+ if ( className ) {
+ this.layer.className = className;
+ }
},
safeAreaInsetBottom: 0,
| 12 |
diff --git a/lib/views/admin/security.html b/lib/views/admin/security.html <div class="form-group">
<label for="settingForm[security:registrationWhiteList]" class="col-xs-3 control-label">{{ t('The whitelist of registration permission E-mail address') }}</label>
<div class="col-xs-8">
- <textarea class="form-control" type="textarea" name="settingForm[security:registrationWhiteList]" placeholder="{{ t('security_setting.example') }}: @crowi.wiki">{{ settingForm['security:registrationWhiteList']|join('
')|raw }}</textarea>
+ <textarea class="form-control" type="textarea" name="settingForm[security:registrationWhiteList]" placeholder="{{ t('security_setting.example') }}: @growi.org">{{ settingForm['security:registrationWhiteList']|join('
')|raw }}</textarea>
<p class="help-block">{{ t("security_setting.restrict_emails") }}{{ t("security_setting.for_instance") }}<code>@growi.org</code>{{ t("security_setting.only_those") }}<br>
{{ t("security_setting.insert_single") }}</p>
</div>
| 14 |
diff --git a/aws/cloudformation/util.go b/aws/cloudformation/util.go @@ -51,6 +51,7 @@ var cloudformationPollingTimeout = 3 * time.Minute
////////////////////////////////////////////////////////////////////////////////
type resourceProvisionMetrics struct {
+ resourceType string
logicalResourceID string
startTime time.Time
endTime time.Time
@@ -981,6 +982,7 @@ func ConvergeStackState(serviceName string,
if !existingMetricExists {
existingMetric = &resourceProvisionMetrics{}
}
+ existingMetric.resourceType = *eachEvent.ResourceType
existingMetric.logicalResourceID = *eachEvent.LogicalResourceId
existingMetric.startTime = *eachEvent.Timestamp
resourceMetrics[*eachEvent.LogicalResourceId] = existingMetric
@@ -1019,12 +1021,13 @@ func ConvergeStackState(serviceName string,
return resourceStats[i].elapsed > resourceStats[j].elapsed
})
// Output the sorted time it took to create the necessary resources...
- logger.Info("")
+ logger.Info("CloudFormation provisioning details")
for _, eachResourceStat := range resourceStats {
logger.WithFields(logrus.Fields{
"Resource": eachResourceStat.logicalResourceID,
- "Duration (s)": eachResourceStat.elapsed.Seconds(),
- }).Info("CloudFormation operation summary")
+ "Type": eachResourceStat.resourceType,
+ "Duration": fmt.Sprintf("%.2fs", eachResourceStat.elapsed.Seconds()),
+ }).Info("Operation duration")
}
if nil != convergeResult.stackInfo.Outputs {
| 7 |
diff --git a/sparta_main.go b/sparta_main.go @@ -468,6 +468,9 @@ func MainEx(serviceName string,
switch OptionsGlobal.LogFormat {
case "text", "txt":
formatter = &logrus.TextFormatter{}
+ formatter = &logrus.TextFormatter{
+ DisableColors: (runtime.GOOS == "windows"),
+ }
prettyHeader = true
case "json":
formatter = &logrus.JSONFormatter{}
@@ -484,12 +487,7 @@ func MainEx(serviceName string,
welcomeMessage := fmt.Sprintf("Service: %s", serviceName)
if prettyHeader {
- logger.Info(headerDivider)
- logger.Info(fmt.Sprintf(` _______ ___ ___ _________ `))
- logger.Info(fmt.Sprintf(` / __/ _ \/ _ | / _ \/_ __/ _ | Version : %s`, SpartaVersion))
- logger.Info(fmt.Sprintf(` _\ \/ ___/ __ |/ , _/ / / / __ | SHA : %s`, SpartaGitHash[0:7]))
- logger.Info(fmt.Sprintf(`/___/_/ /_/ |_/_/|_| /_/ /_/ |_| Go : %s`, runtime.Version()))
- logger.Info(headerDivider)
+ displayPrettyHeader(headerDivider, logger)
logger.WithFields(logrus.Fields{
"Option": cmd.Name(),
"UTC": (time.Now().UTC().Format(time.RFC3339)),
| 9 |
diff --git a/src/react/projects/spark-core-react/src/SprkTabs/SprkTabs.js b/src/react/projects/spark-core-react/src/SprkTabs/SprkTabs.js @@ -182,25 +182,32 @@ class SprkTabs extends Component {
...other
} = this.props;
+ const buttons = [];
+ const panels = [];
+
/*
* Loop through all the SprkTabsPanels and
* generate a SprkTabsButton for each one.
* Don't render a SprkTabsButton
* for an element that is not a SprkTabsPanel.
*/
- const buttons = children.map((tabPanel, index) => {
+ const generateTabs = () => {
+ children.forEach((tabPanel, index) => {
const {
+ children: tabPanelChildren,
+ tabPanelAddClasses,
tabBtnChildren,
tabBtnAddClasses,
tabBtnDataId,
tabBtnAnalytics,
tabBtnClickFunc,
} = tabPanel.props;
+
const { isFocused, isActive, btnIds } = this.state;
- if (tabPanel.type.name !== SprkTabsPanel.name) return false;
+ if (tabPanel.type.name !== SprkTabsPanel.name) return;
- return (
+ buttons.push(
<SprkTabsButton
key={btnIds[index]}
isFocused={isFocused === btnIds[index]}
@@ -218,26 +225,10 @@ class SprkTabs extends Component {
tabBtnChildren={tabBtnChildren}
tabBtnDataId={tabBtnDataId}
tabBtnAnalytics={tabBtnAnalytics}
- />
+ />,
);
- });
- /*
- * Loop through all the SprkTabsPanels and return
- * new SprkTabsPanels for each one with
- * their respective props. Don't render a SprkTabsPanel
- * for an element that is not a SprkTabsPanel.
- */
- const panels = children.map((tabPanel, index) => {
- const {
- children: tabPanelChildren,
- tabPanelAddClasses,
- } = tabPanel.props;
- const { isActive, btnIds } = this.state;
-
- if (tabPanel.type.name !== SprkTabsPanel.name) return false;
-
- return (
+ panels.push(
<SprkTabsPanel
tabBtnId={btnIds[index]}
key={btnIds[index]}
@@ -246,9 +237,12 @@ class SprkTabs extends Component {
tabPanelAddClasses={tabPanelAddClasses}
>
{tabPanelChildren}
- </SprkTabsPanel>
+ </SprkTabsPanel>,
);
});
+ };
+
+ generateTabs();
return (
<div
| 7 |
diff --git a/core/pipeline-driver/lib/tasks/task-runner.js b/core/pipeline-driver/lib/tasks/task-runner.js @@ -50,7 +50,8 @@ class TaskRunner {
getStatus() {
return {
jobId: this._jobId,
- active: this._active
+ active: this._active,
+ pipelineName: this.pipeline.name
};
}
| 0 |
diff --git a/Examples/UIExplorer/UIExplorerUnitTests/RCTAllocationTests.m b/Examples/UIExplorer/UIExplorerUnitTests/RCTAllocationTests.m @@ -144,8 +144,8 @@ RCT_EXPORT_METHOD(test:(__unused NSString *)a
(void)bridge;
}
- RCT_RUN_RUNLOOP_WHILE(weakModule);
- XCTAssertNil(weakModule, @"AllocationTestModule should have been deallocated");
+ //RCT_RUN_RUNLOOP_WHILE(weakModule);
+ //XCTAssertNil(weakModule, @"AllocationTestModule should have been deallocated");
}
- (void)testModuleMethodsAreDeallocated
| 8 |
diff --git a/src/dev/fdm/Creality.CR-30 b/src/dev/fdm/Creality.CR-30 "G1 X200 E50 F800 ; extruder purge line",
"G1 Z0.3 ; shift belt away 0.3mm",
"G1 X0 E100 ; extruder purge line",
- "G1 Z2 E98 ; shift belt away 2mm, retract extruder",
- "G92 Z0 E-2 ; reset bed + extruder position",
+ "G92 Z0 E0 ; reset bed + extruder position",
"M117 CR-30 Printing..."
],
"post":[
"sliceFillOverlap": 0.3,
"sliceFillSparse": 0.2,
"sliceFillType": "hex",
+ "sliceAdaptive": false,
+ "sliceMinHeight": 0,
"sliceSupportDensity": 0.25,
- "sliceSupportOffset": 1.0,
- "sliceSupportGap": 0.75,
- "sliceSupportSize": 5,
- "sliceSupportArea": 0.1,
+ "sliceSupportOffset": 0.4,
+ "sliceSupportGap": 1,
+ "sliceSupportSize": 6,
+ "sliceSupportArea": 1,
"sliceSupportExtra": 0,
"sliceSupportAngle": 50,
"sliceSupportNozzle": 0,
- "sliceSolidMinArea": 1,
+ "sliceSolidMinArea": 10,
"sliceSolidLayers": 3,
"sliceBottomLayers": 3,
"sliceTopLayers": 3,
- "firstLayerRate": 15,
- "firstLayerPrintMult": 1.1,
+ "firstLayerRate": 10,
+ "firstLayerPrintMult": 1.15,
"firstLayerYOffset": 0,
"firstLayerBrim": 0,
"outputTemp": 210,
"outputShellMult": 1.25,
"outputFillMult": 1.25,
"outputSparseMult": 1.25,
- "outputFanLayer": 1,
- "outputRetractDist": 3,
- "outputRetractSpeed": 40,
+ "outputFanLayer": 0,
+ "outputRetractDist": 4,
+ "outputRetractSpeed": 30,
"outputRetractDwell": 30,
"outputShortPoly": 100.0,
"outputMinSpeed": 10.0,
- "outputCoastDist": 0,
+ "outputCoastDist": 0.1,
"outputWipeDistance": 0,
- "outputLayerRetract": false,
+ "outputLayerRetract": true,
"detectThinWalls": true,
- "sliceMinHeight": 0,
- "sliceAdaptive": false,
"zHopDistance": 0,
"antiBacklash": 0
}]
| 3 |
diff --git a/src/core/operations/ToCaseInsensitiveRegex.mjs b/src/core/operations/ToCaseInsensitiveRegex.mjs @@ -51,36 +51,35 @@ class ToCaseInsensitiveRegex extends Operation {
}
// Example: [test] -> [[tT][eE][sS][tT]]
- input = preProcess(input);
+ return preProcess(input)
// Example: [A-Z] -> [A-Za-z]
- input = input.replace(/[A-Z]-[A-Z]/ig, m => `${m[0].toUpperCase()}-${m[2].toUpperCase()}${m[0].toLowerCase()}-${m[2].toLowerCase()}`);
+ .replace(/[A-Z]-[A-Z]/ig, m => `${m[0].toUpperCase()}-${m[2].toUpperCase()}${m[0].toLowerCase()}-${m[2].toLowerCase()}`)
// Example: [H-d] -> [A-DH-dh-z]
- input = input.replace(/[A-Z]-[a-z]/g, m => `A-${m[2].toUpperCase()}${m}${m[0].toLowerCase()}-z`);
+ .replace(/[A-Z]-[a-z]/g, m => `A-${m[2].toUpperCase()}${m}${m[0].toLowerCase()}-z`)
// Example: [!-D] -> [!-Da-d]
- input = input.replace(/\\?[ -@]-[A-Z]/g, m => `${m}a-${m[2].toLowerCase()}`);
+ .replace(/\\?[ -@]-[A-Z]/g, m => `${m}a-${m[2].toLowerCase()}`)
// Example: [%-^] -> [%-^a-z]
- input = input.replace(/\\?[ -@]-\\?[[-`]/g, m => `${m}a-z`);
+ .replace(/\\?[ -@]-\\?[[-`]/g, m => `${m}a-z`)
// Example: [K-`] -> [K-`k-z]
- input = input.replace(/[A-Z]-\\?[[-`]/g, m => `${m}${m[0].toLowerCase()}-z`);
+ .replace(/[A-Z]-\\?[[-`]/g, m => `${m}${m[0].toLowerCase()}-z`)
// Example: [[-}] -> [[-}A-Z]
- input = input.replace(/\\?[[-`]-\\?[{-~]/g, m => `${m}A-Z`);
+ .replace(/\\?[[-`]-\\?[{-~]/g, m => `${m}A-Z`)
// Example: [b-}] -> [b-}B-Z]
- input = input.replace(/[a-z]-\\?[{-~]/g, m => `${m}${m[0].toUpperCase()}-Z`);
+ .replace(/[a-z]-\\?[{-~]/g, m => `${m}${m[0].toUpperCase()}-Z`)
// Example: [<-j] -> [<-z]
- input = input.replace(/\\?[ -@]-[a-z]/g, m => `${m[0]}-z`);
+ .replace(/\\?[ -@]-[a-z]/g, m => `${m[0]}-z`)
// Example: [^-j] -> [A-J^-j]
- input = input.replace(/\\?[[-`]-[a-z]/g, m => `A-${m[2].toUpperCase()}${m}`);
+ .replace(/\\?[[-`]-[a-z]/g, m => `A-${m[2].toUpperCase()}${m}`);
- return input;
}
}
| 14 |
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -25,9 +25,38 @@ body:
description: >
Clone repository https://github.com/primefaces/primefaces-test.git in order to reproduce your problem,
you'll have better chance to receive an answer and a solution and attach the GitHub Link or zip file of your
- reproducer here.
+ reproducer here.<br/>
**NOTE:** PrimeFaces test can easily be set to use the latest `master-SNAPSHOT` of what is in GitHub.
Please test with that before reporting a bug that may already be fixed.
+
+ Please discibe the steps to take using your reproducer to encounter the issue. For example:
+
+ 1. Go to '...'
+ 2. Click on '....'
+ 3. Scroll down to '....'
+ 4. See error
+
+ We encourage you provide a reproducer. If you are unable to, at least provide us with a sample
+ XHTML and bean:
+
+ ```xhtml
+ <h:form id="frmTest">
+ </h:form>
+ ```
+
+ ```java
+ @Named
+ @ViewScoped
+ public class TestView implements Serializable {
+ }
+ ```
+ validations:
+ required: false
+ - type: textarea
+ id: expected-behavior
+ attributes:
+ label: Expected behavior
+ description: A clear and concise description of what you expected to happen.
validations:
required: false
- type: input
@@ -53,46 +82,5 @@ body:
- type: input
id: browsers
attributes:
- label: Affected browsers?
- - type: textarea
- id: reproduce-steps
- attributes:
- label: Steps to reproduce the behavior
- placeholder: >
- 1. Go to '...'
- 2. Click on '....'
- 3. Scroll down to '....'
- 4. See error
- validations:
- required: false
- - type: textarea
- id: expected-behavior
- attributes:
- label: Expected behavior
- description: A clear and concise description of what you expected to happen.
- validations:
- required: false
- - type: textarea
- id: sample-xhtml
- attributes:
- label: Sample XHTML
- placeholder: >
- ```xhtml
- <h:form id="frmTest">
- </h:form>
- ```
- validations:
- required: false
- - type: textarea
- id: sample-bean
- attributes:
- label: Sample Bean
- placeholder: >
- ```java
- @Named
- @ViewScoped
- public class TestView implements Serializable {
- }
- ```
- validations:
- required: false
+ label: Affected browsers
+ description: Is the issue occures in specific browsers (or versions) only, mention them here.
| 7 |
diff --git a/docs/src/pages/quasar-cli/developing-electron-apps/build-commands.md b/docs/src/pages/quasar-cli/developing-electron-apps/build-commands.md @@ -25,5 +25,35 @@ $ quasar build --mode electron
It builds your app for production and then uses electron-packager to pack it into an executable. Check how to configure this on [Configuring Electron](/quasar-cli/developing-electron-apps/configuring-electron) page.
+## Publishing (electron-builder only)
+```bash
+$ quasar build -m electron -P always
+
+# ..or the longer form:
+$ quasar dev --mode electron --publish always
+```
+
+You can specify using `electron-builder` to build your app either directly on the command line (`--bundler builder`) or by setting it explicitly within `quasar.conf.js` at `electron.bundler`. This flag has no effect when using `electron-packager`.
+
+Currently (June 2019) supported publishing destinations include Github, Bintray, S3, Digital Ocean Spaces, or a generic HTTPS server. More information, including how to create valid publishing instructions, can be found at https://www.electron.build/configuration/publish.
+
+Valid options for `-P` are ["onTag", "onTagOrDraft", "always", "never"] which are explained at the above link. In addition, you must have valid `publish` configuration instructions in your `quasar.conf.js` at `electron.builder`
+
+A very basic configuration to publish a Windows EXE setup file to Amazon S3 might look like this:
+```
+electron: {
+ bundler: 'builder', // set here instead of using command line flag --bundler
+ builder: {
+ appId: 'com.electron.myelectronapp',
+ win: {
+ target: 'nsis'
+ },
+ publish: {
+ 'provider': 's3',
+ 'bucket': 'myS3bucket'
+ }
+ }
+```
+
### A note for non-Windows users
If you want to build for Windows with a custom icon using a non-Windows platform, you must have [wine](https://www.winehq.org/) installed. [More Info](https://github.com/electron-userland/electron-packager#building-windows-apps-from-non-windows-platforms).
| 3 |
diff --git a/app/assets/src/components/ProjectSelection.jsx b/app/assets/src/components/ProjectSelection.jsx @@ -2,6 +2,8 @@ import React from 'react';
import axios from 'axios';
import $ from 'jquery';
import Samples from './Samples';
+import Nanobar from 'nanobar';
+
/**
@class ProjectSelection
@desc Creates react component to handle filtering in the page
@@ -10,6 +12,10 @@ import Samples from './Samples';
class ProjectSelection extends React.Component {
constructor(props) {
super(props);
+ this.nanobar = new Nanobar({
+ id: 'prog-bar',
+ class: 'prog-bar'
+ });
this.csrf = props.csrf;
this.favoriteProjects = props.favoriteProjects;
this.allProjects = props.allProjects;
@@ -54,13 +60,13 @@ import Samples from './Samples';
let favStatus = e.target.getAttribute('data-fav');
let projectId = e.target.getAttribute('data-id');
favStatus == 'true' ? _satellite.track('unfavorite') : _satellite.track('favorite');
- Samples.nanobar.go(30);
+ this.nanobar.go(30);
axios
.put(`/projects/${projectId}/${favStatus == 'true' ? 'remove_favorite' : 'add_favorite' }?`, {
authenticity_token: this.csrf
})
.then((res) => {
- Samples.nanobar.go(100);
+ this.nanobar.go(100);
this.checkIfProjecExistInFavorites(projectId, this.state.formattedProjectList);
}).catch((err) => {
})
| 14 |
diff --git a/scripts/contractInteraction/contract_interaction.py b/scripts/contractInteraction/contract_interaction.py @@ -24,7 +24,8 @@ def main():
#addAdmin(contracts['LockedSOV'], contracts['VestingRegistry3'])
#setFeesController()
#withdrawFees()
- #replaceProtocolSettings()
+ replaceProtocolSettings()
+ deployAffiliate()
#addPoolsToLM()
@@ -39,7 +40,7 @@ def main():
'''
#0x37A706259F5201C03f6Cb556A960F30F86842d01 -ms aggregator
#deployMultisig(['0xfe9d5402dc3c86cbaBE80231Cd48d98ba742D3f6','0x4C3d3505d34213751c4b4d621cB6bDe7E664E222',acct], 2)
- sendFromMultisig('0x2064242b697830535A2d76BE352e82Cf85E0EC2c', 30e18)
+ #sendFromMultisig('0x2064242b697830535A2d76BE352e82Cf85E0EC2c', 30e18)
#removeLiquidityV1toMultisigUsingWrapper(contracts['RBTCWrapperProxyWithoutLM'], contracts["ConverterETHs"], 90e18, [contracts['WRBTC'], contracts['ETHs']], [8e18,1])
#amount = getBalance('0x09c5FAf7723B13434ABdF1A65AB1b667bc02a902', contracts['multisig'])
@@ -743,6 +744,7 @@ def setAffiliateFeePercent(fee):
multisig = Contract.from_abi("MultiSig", address=contracts['multisig'], abi=MultiSigWallet.abi, owner=acct)
tx = multisig.submitTransaction(sovryn.address,0,data)
txId = tx.events["Submission"]["transactionId"]
+ print('sovryn.setAffiliateFeePercent for', fee, ' tx:')
print(txId);
def setAffiliateTradingTokenFeePercent(percentFee):
@@ -751,6 +753,7 @@ def setAffiliateTradingTokenFeePercent(percentFee):
multisig = Contract.from_abi("MultiSig", address=contracts['multisig'], abi=MultiSigWallet.abi, owner=acct)
tx = multisig.submitTransaction(sovryn.address,0,data)
txId = tx.events["Submission"]["transactionId"]
+ print('sovryn.setAffiliateTradingTokenFeePercent for ', percentFee, ' tx:')
print(txId);
def setMinReferralsToPayout(minReferrals):
@@ -759,6 +762,7 @@ def setMinReferralsToPayout(minReferrals):
multisig = Contract.from_abi("MultiSig", address=contracts['multisig'], abi=MultiSigWallet.abi, owner=acct)
tx = multisig.submitTransaction(sovryn.address,0,data)
txId = tx.events["Submission"]["transactionId"]
+ print('setMinReferralsToPayoutAffiliates set to ', minReferral, ' tx:')
print(txId);
def sendFromMultisigToVesting(amount):
@@ -1205,19 +1209,21 @@ def replaceLoanSettings():
print(txId)
def deployAffiliate():
- loadConfig()
+ #loadConfig() - called from main()
# -------------------------------- 1. Replace the protocol settings contract ------------------------------
- replaceProtocolSettings()
+ #replaceProtocolSettings() - called from main()
# -------------------------------- 2. Deploy the affiliates -----------------------------------------------
affiliates = acct.deploy(Affiliates)
sovryn = Contract.from_abi("sovryn", address=contracts['sovrynProtocol'], abi=interface.ISovrynBrownie.abi, owner=acct)
data = sovryn.replaceContract.encode_input(affiliates.address)
+ print('affiliates deployed. data:')
print(data)
multisig = Contract.from_abi("MultiSig", address=contracts['multisig'], abi=MultiSigWallet.abi, owner=acct)
tx = multisig.submitTransaction(sovryn.address,0,data)
txId = tx.events["Submission"]["transactionId"]
+ print('affiliates deployed tx:')
print(txId)
# Set protocolAddress
@@ -1228,18 +1234,21 @@ def deployAffiliate():
multisig = Contract.from_abi("MultiSig", address=contracts['multisig'], abi=MultiSigWallet.abi, owner=acct)
tx = multisig.submitTransaction(sovryn.address,0,data)
txId = tx.events["Submission"]["transactionId"]
+ print('sovryn.setSovrynProtocolAddress tx:')
print(txId)
print("protocol address loaded:", sovryn.getProtocolAddress())
# Set SOVTokenAddress
- sovToken = Contract.from_abi("SOV", address=contracts["SOV"], abi=SOV.abi, owner=acct)
- data = sovryn.setSOVTokenAddress.encode_input(sovToken.address)
+ # sovToken = Contract.from_abi("SOV", address=contracts["SOV"], abi=SOV.abi, owner=acct)
+ # data = sovryn.setSOVTokenAddress.encode_input(sovToken.address)
+ data = sovryn.setSOVTokenAddress.encode_input(contracts["SOV"])
print("Set SOV Token address in protocol settings")
print(data)
multisig = Contract.from_abi("MultiSig", address=contracts['multisig'], abi=MultiSigWallet.abi, owner=acct)
tx = multisig.submitTransaction(sovryn.address,0,data)
txId = tx.events["Submission"]["transactionId"]
+ print('set SOV token address to ProtocolSettings tx:')
print(txId)
print("sovToken address loaded:", sovryn.getSovTokenAddress())
@@ -1252,6 +1261,7 @@ def deployAffiliate():
multisig = Contract.from_abi("MultiSig", address=contracts['multisig'], abi=MultiSigWallet.abi, owner=acct)
tx = multisig.submitTransaction(sovryn.address,0,data)
txId = tx.events["Submission"]["transactionId"]
+ print('lockedSOV tx:')
print(txId)
print("lockedSOV address loaded:", lockedSOV.address)
| 5 |
diff --git a/src/core/Core.test.js b/src/core/Core.test.js @@ -256,10 +256,10 @@ describe('src/Core', () => {
const core = new Core()
core.use(AcquirerPlugin1)
- // const corePauseEventMock = jest.fn()
const coreCancelEventMock = jest.fn()
const coreStateUpdateEventMock = jest.fn()
- // core.on('pause-all', corePauseEventMock)
+ const plugin = core.plugins.acquirer[0]
+
core.on('cancel-all', coreCancelEventMock)
core.on('state-update', coreStateUpdateEventMock)
@@ -278,6 +278,7 @@ describe('src/Core', () => {
plugins: {},
totalProgress: 0
})
+ expect(plugin.mocks.uninstall.mock.calls.length).toEqual(1)
expect(core.plugins[Object.keys(core.plugins)[0]].length).toEqual(0)
})
| 0 |
diff --git a/Dockerfile b/Dockerfile -FROM ubuntu:bionic
+FROM ubuntu:cosmic
RUN \
# configure the "jhipster" user
@@ -8,7 +8,7 @@ RUN \
mkdir /home/jhipster/app && \
# install open-jdk 8
apt-get update && \
- apt-get install -y openjdk-8-jdk && \
+ apt-get install -y openjdk-11-jdk && \
# install utilities
apt-get install -y \
wget \
| 3 |
diff --git a/docs/05-configuration.md b/docs/05-configuration.md @@ -112,7 +112,7 @@ $ snowpack dev --no-bundle
- **`fallback`** | `string` | Default: `"index.html"`
- When using the Single-Page Application (SPA) pattern, this is the HTML "shell" file that gets served for every (non-resource) user route. Make sure that you configure your production servers to serve this as well.
- **`open`** | `string` | Default: `"default"`
- - Opens the dev server in a new browser tab. If Chrome is available on macOS, an attempt will be made to reuse an existing browser tab. Any installed browser may also be specified. E.g., "chrome", "firefox", "brave".
+ - Opens the dev server in a new browser tab. If Chrome is available on macOS, an attempt will be made to reuse an existing browser tab. Any installed browser may also be specified. E.g., "chrome", "firefox", "brave". Set "none" to disable.
- **`hmr`** | `boolean` | Default: `true`
- Toggles whether or not Snowpack dev server should have HMR enabled.
| 0 |
diff --git a/src/widgets/histogram/content-view.js b/src/widgets/histogram/content-view.js @@ -333,7 +333,7 @@ module.exports = cdb.core.View.extend({
var $tooltip = this.$('.js-tooltip');
if (info && info.data) {
- var bottom = this.defaults.chartHeight + 3 - info.top;
+ var bottom = this.defaults.chartHeight + 23 - info.top;
$tooltip.css({ bottom: bottom, left: info.left });
$tooltip.text(info.data);
| 3 |
diff --git a/src/modules/axes/XAxis.js b/src/modules/axes/XAxis.js @@ -88,7 +88,7 @@ export default class XAxis {
for (let i = 0; i < labelsGroup.length; i++) {
labels.push(labelsGroup[i].title)
}
- this.drawXAxisLabelGroup(false, graphics, elXaxisTexts, labels, w.globals.isXNumeric, (i, colWidth) => labelsGroup[i].cols * colWidth)
+ this.drawXAxisLabelGroup(false, graphics, elXaxisTexts, labels, false, (i, colWidth) => labelsGroup[i].cols * colWidth)
}
if (w.config.xaxis.title.text !== undefined) {
| 1 |
diff --git a/generators/client/templates/angular/src/main/webapp/_sw.js b/generators/client/templates/angular/src/main/webapp/_sw.js -var dataCacheName = '"<%=angular2AppName%>-v1';
-var cacheName = '"<%=angular2AppName%>-1';
+var dataCacheName = '<%=angular2AppName%>-v1';
+var cacheName = '<%=angular2AppName%>-1';
var filesToCache = [
'/',
'/index.html'
| 2 |
diff --git a/index.css b/index.css @@ -1985,6 +1985,10 @@ body.dragging-package .footer {
background-color: #111;
color: #FFF;
font-size: 50px;
+ cursor: pointer;
+}
+.ftu .ftu-phase .buttons .button:hover {
+ color: #ff5f2d;
}
.ftu .ftu-phase .avatar-grid {
display: flex;
@@ -1997,6 +2001,10 @@ body.dragging-package .footer {
border: 5px solid transparent;
flex-direction: column;
overflow: hidden;
+ cursor: pointer;
+}
+.ftu .ftu-phase .avatar-grid .avatar:hover {
+ border: 5px solid #ff5f2d;
}
.ftu .ftu-phase .avatar-grid .avatar.selected {
border-color: #1e88e5;
| 0 |
diff --git a/demo/index.html b/demo/index.html <script defer src="../node_modules/popper.js/dist/umd/popper.min.js"></script>
<!-- Tooltips are made using tippy.js: -->
<script defer src="../node_modules/tippy.js/umd/index.min.js"></script>
+ <!-- Improved PWA capability on mobile Safari is enabled by loading pwacompat: -->
+ <script defer src="https://cdn.jsdelivr.net/npm/[email protected]/pwacompat.min.js"
+ integrity="sha384-VcI6S+HIsE80FVM1jgbd6WDFhzKYA0PecD/LcIyMQpT4fMJdijBh0I7Iblaacawc"
+ crossorigin="anonymous"></script>
<script>
COMPILED_JS = [
| 7 |
diff --git a/packages/preset-noir/index.js b/packages/preset-noir/index.js @@ -23,7 +23,7 @@ export default {
},
fonts: {
...base.fonts,
- body: "Rubik, apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif",
+ body: "Rubik, apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif",
heading: "'EB Garamond', serif",
},
fontWeights: {
@@ -45,11 +45,20 @@ export default {
].join(","),
},
// Variants
+ badges: {
+ outlined: {
+ apply: "bordered",
+ backgroundColor: colors.white,
+ color: "primary",
+ padding: ["0.125rem", "0.375rem"],
+ },
+ },
buttons: {
outlined: {
apply: "bordered",
backgroundColor: colors.white,
color: "primary",
+ padding: ["0.625rem", "1.375rem"],
"&:hover": {
backgroundColor: "primary",
color: colors.white,
@@ -76,14 +85,55 @@ export default {
input: {
apply: "bordered",
backgroundColor: colors.white,
+ "&:focus": {
+ borderColor: "primary",
+ },
},
select: {
apply: "bordered",
backgroundColor: colors.white,
+ "&:focus": {
+ borderColor: "primary",
+ },
},
textarea: {
apply: "bordered",
backgroundColor: colors.white,
+ "&:focus": {
+ borderColor: "primary",
+ },
+ },
+ },
+ links: {
+ dropdown: {
+ apply: "bordered",
+ backgroundColor: colors.white,
+ },
+ navlink: {
+ color: "primary",
+ "&:hover": {
+ backgroundColor: "highlight",
+ color: colors.white,
+ },
+ "&.is-active": {
+ backgroundColor: "highlight",
+ color: colors.white,
+ },
+ },
+ },
+ styles: {
+ hr: {
+ backgroundColor: "primary",
+ },
+ // Additional helpers
+ ".has-font-rubik": {
+ fontFamily: "body",
+ },
+ ".has-font-garamond": {
+ fontFamily: "heading",
+ },
+ ".is-bordered": {
+ apply: "bordered",
},
},
};
| 1 |
diff --git a/test/jasmine/tests/transition_test.js b/test/jasmine/tests/transition_test.js @@ -1196,9 +1196,9 @@ describe('Plotly.react transitions:', function() {
gd.layout.xaxis.range = ['2018-06-01', '2019-06-01'];
gd.layout.xaxis2.range = [0.5, 1.5];
- var promise = Plotly.react(gd, gd.data, gd.layout);
- setTimeout(function() {
+ return Plotly.react(gd, gd.data, gd.layout);
+ }).then(function() {
var fullLayout = gd._fullLayout;
var xa = fullLayout.xaxis;
@@ -1210,11 +1210,7 @@ describe('Plotly.react transitions:', function() {
var xr2 = xa2.range.slice();
expect(xr2[0]).toBeGreaterThan(0);
expect(xr2[1]).toBeLessThan(2);
- }, 15);
- return promise;
- })
- .then(function() {
expect(gd._fullLayout.xaxis.range).toEqual(['2018-06-01', '2019-06-01']);
expect(gd._fullLayout.xaxis2.range).toEqual([0.5, 1.5]);
})
| 7 |
diff --git a/articles/quickstart/spa/angular2/06-token-renewal.md b/articles/quickstart/spa/angular2/06-token-renewal.md @@ -53,16 +53,9 @@ console.log('Listening on http://localhost:3001');
<meta charset="utf-8">
<script src="${auth0js_urlv8}"></script>
<script>
- var AUTH0_CLIENT_ID = '${account.clientId}';
- var AUTH0_DOMAIN = '${account.namespace}';
-
- if (!AUTH0_CLIENT_ID || !AUTH0_DOMAIN) {
- alert('Make sure to set the AUTH0_CLIENT_ID and AUTH0_DOMAIN variables in silent.html.');
- }
-
var webAuth = new auth0.WebAuth({
- domain: AUTH0_DOMAIN,
- clientID: AUTH0_CLIENT_ID,
+ domain: '${account.namespace}',
+ clientID: '${account.clientId}',
scope: 'openid profile',
responseType: 'token id_token',
redirectUri: 'http://localhost:4200'
| 3 |
diff --git a/src/plots/plots.js b/src/plots/plots.js @@ -523,18 +523,18 @@ function remapTransformedArrays(cd0, newTrace) {
var oldTrace = cd0.trace;
var arrayAttrs = PlotSchema.findArrayAttributes(oldTrace);
var transformedArrayHash = {};
- var i, ast;
+ var i, astr;
for(i = 0; i < arrayAttrs.length; i++) {
- ast = arrayAttrs[i];
- transformedArrayHash[ast] = Lib.nestedProperty(oldTrace, ast).get().slice();
+ astr = arrayAttrs[i];
+ transformedArrayHash[astr] = Lib.nestedProperty(oldTrace, astr).get().slice();
}
cd0.trace = newTrace;
for(i = 0; i < arrayAttrs.length; i++) {
- ast = arrayAttrs[i];
- Lib.nestedProperty(cd0.trace, ast).set(transformedArrayHash[ast]);
+ astr = arrayAttrs[i];
+ Lib.nestedProperty(cd0.trace, astr).set(transformedArrayHash[astr]);
}
}
| 14 |
diff --git a/_data/conferences.yml b/_data/conferences.yml id: kr23
link: https://kr.org/KR2023/
deadline: '2023-03-14 23:59:59'
- abstract_deadline: '2023-03-07 23:59:59'
+ abstract_deadline: '2023-03-03 23:59:59'
timezone: UTC-12
place: Rhodes, Greece
date: Sep 02-08, 2023
end: 2023-09-08
hindex: -1
sub: KR
- note: Mandatory abstract deadline on March 07, 2023. More info <a href='https://kr.org/KR2023/'>here</a>.
+ note: Mandatory abstract deadline on March 03, 2023. More info <a href='https://kr.org/KR2023/'>here</a>.
- title: ICAPS
year: 2023
| 3 |
diff --git a/src/elements.js b/src/elements.js @@ -158,8 +158,6 @@ _.register({
selector: "img, video, audio",
attribute: "src",
editor: function() {
- var uploadBackend = this.mavo.storage && this.mavo.storage.upload? this.mavo.storage : this.uploadBackend;
-
var mainInput = $.create("input", {
"type": "url",
"placeholder": "http://example.com/image.png",
@@ -167,37 +165,59 @@ _.register({
"aria-label": "URL to image"
});
- if (uploadBackend && self.FileReader) {
+ if (this.mavo.uploadBackend && self.FileReader) {
var popup;
var type = this.element.nodeName.toLowerCase();
type = type == "img"? "image" : type;
var path = this.element.getAttribute("mv-uploads") || type + "s";
var upload = (file, name = file.name) => {
- if (file && file.type.indexOf(type + "/") === 0) {
- this.mavo.upload(file, path + "/" + name).then(url => {
- mainInput.value = url;
+ if (!file || file.type.indexOf(type + "/") !== 0) {
+ return;
+ }
- var attempts = 0;
+ var tempURL = URL.createObjectURL(file);
+
+ this.sneak(() => this.element.src = tempURL);
- var checkIfLoaded = Mavo.rr(() => {
- return $.fetch(url + "?" + Date.now())
- .then(() => {
- this.mavo.inProgress = false;
- $.fire(mainInput, "input");
- })
- .catch(xhr => {
- if (xhr.status > 400 && attempts < 10) {
- this.mavo.inProgress = "Loading Image";
+ this.mavo.upload(file, path + "/" + name).then(url => {
+ // Backend claims image is uploaded, we should load it from remote to make sure everything went well
+ var attempts = 0;
+ var load = Mavo.rr(() => Mavo.timeout(1000 + attempts * 500).then(() => {
attempts++;
- return Mavo.timeout(2000).then(checkIfLoaded);
+ this.element.src = url;
+ }));
+ var cleanup = () => {
+ URL.revokeObjectURL(tempURL);
+ this.element.removeEventListener("load", onload);
+ this.element.removeEventListener("error", onload);
+ };
+ var onload = evt => {
+ if (this.element.src != tempURL) {
+ // Actual uploaded image has loaded, yay!
+ this.element.src = url;
+ cleanup();
}
- });
- });
- });
+ };
+ var onerror = evt => {
+ // Oops, failed. Put back temp URL and try again
+ if (attempts <= 10) {
+ this.sneak(() => this.element.src = tempURL);
+ load();
+ }
+ else {
+ // 11 + 0.5*10*11/2 = 38.5 seconds later, giving up
+ this.mavo.error(this.mavo._("cannot-load-uploaded-file") + " " + url);
+ cleanup();
}
};
+ mainInput.value = url;
+ this.element.addEventListener("load", onload);
+ this.element.addEventListener("error", onerror);
+ });
+ };
+
var uploadEvents = {
"paste": evt => {
var item = evt.clipboardData.items[0];
| 7 |
diff --git a/datalad_service/tasks/validator.py b/datalad_service/tasks/validator.py @@ -3,6 +3,7 @@ import os
import subprocess
import requests
+from datalad_service.common.raven import client
from datalad_service.common.celery import app
# TODO - This is hardcoded because it is internal
@@ -23,9 +24,12 @@ def validate_dataset_sync(dataset_path):
Runs the bids-validator process and installs node dependencies if needed.
"""
setup_validator()
+ try:
process = subprocess.run(
- ['./node_modules/.bin/bids-validator', '--json', dataset_path], stdout=subprocess.PIPE)
+ ['./node_modules/.bin/bids-validator', '--json', dataset_path], stdout=subprocess.PIPE, timeout=60)
return json.loads(process.stdout)
+ except subprocess.TimeoutExpired:
+ client.captureException()
def summary_mutation(dataset_id, ref, validator_output):
| 12 |
diff --git a/assets/js/components/surveys/CurrentSurvey.test.js b/assets/js/components/surveys/CurrentSurvey.test.js @@ -147,7 +147,7 @@ describe( 'CurrentSurvey', () => {
// Submit button should be enabled if text has been entered.
expect(
getByRole( 'button', { name: 'Submit' } )
- ).not.toHaveAttribute( 'disabled' );
+ ).not.toBeDisabled();
// Clear and enter input again.
fireEvent.change( getByLabelText( 'Write here' ), {
@@ -162,7 +162,7 @@ describe( 'CurrentSurvey', () => {
} );
expect(
getByRole( 'button', { name: 'Submit' } )
- ).not.toHaveAttribute( 'disabled' );
+ ).not.toBeDisabled();
} );
it( 'should submit answer in correct shape', async () => {
@@ -260,7 +260,7 @@ describe( 'CurrentSurvey', () => {
expect(
getByRole( 'button', { name: 'Submit' } )
- ).not.toHaveAttribute( 'disabled' );
+ ).not.toBeDisabled();
} );
it( 'should disable the "other" text input if "other" is not selected', () => {
@@ -277,7 +277,7 @@ describe( 'CurrentSurvey', () => {
expect(
getByLabelText( `Text input for option Other` )
- ).not.toHaveAttribute( 'disabled' );
+ ).not.toBeDisabled();
// The text input should be disabled again if "other" is not selected.
fireEvent.click( getByText( 'Satisfied' ) );
@@ -310,7 +310,7 @@ describe( 'CurrentSurvey', () => {
expect(
getByRole( 'button', { name: 'Submit' } )
- ).not.toHaveAttribute( 'disabled' );
+ ).not.toBeDisabled();
} );
it( 'should enforce a maxiumum text input length of 100 characters', () => {
@@ -436,7 +436,7 @@ describe( 'CurrentSurvey', () => {
expect(
getByRole( 'button', { name: 'Submit' } )
- ).not.toHaveAttribute( 'disabled' );
+ ).not.toBeDisabled();
// Ensure the submit button is disabled again when the second item is
// un-selected.
@@ -460,9 +460,7 @@ describe( 'CurrentSurvey', () => {
// This option will be enabled because we still haven't selected the
// maximum number of items.
- expect( getByLabelText( 'Sweetcorn' ) ).not.toHaveAttribute(
- 'disabled'
- );
+ expect( getByLabelText( 'Sweetcorn' ) ).not.toBeDisabled();
fireEvent.click( getByLabelText( 'Black Olives' ) );
@@ -470,7 +468,7 @@ describe( 'CurrentSurvey', () => {
// items have been selected.
expect(
getByRole( 'button', { name: 'Submit' } )
- ).not.toHaveAttribute( 'disabled' );
+ ).not.toBeDisabled();
// All unselected options should be disabled.
expect( getByLabelText( 'Sweetcorn' ) ).toHaveAttribute(
@@ -480,25 +478,15 @@ describe( 'CurrentSurvey', () => {
// Existing selections should still be enabled, so the user can de-select
// them.
- expect( getByLabelText( 'Pepperoni' ) ).not.toHaveAttribute(
- 'disabled'
- );
- expect( getByLabelText( 'Sausage' ) ).not.toHaveAttribute(
- 'disabled'
- );
- expect( getByLabelText( 'Mushrooms' ) ).not.toHaveAttribute(
- 'disabled'
- );
- expect( getByLabelText( 'Black Olives' ) ).not.toHaveAttribute(
- 'disabled'
- );
+ expect( getByLabelText( 'Pepperoni' ) ).not.toBeDisabled();
+ expect( getByLabelText( 'Sausage' ) ).not.toBeDisabled();
+ expect( getByLabelText( 'Mushrooms' ) ).not.toBeDisabled();
+ expect( getByLabelText( 'Black Olives' ) ).not.toBeDisabled();
// Removing a few selected items should enable other options again.
fireEvent.click( getByLabelText( 'Mushrooms' ) );
- expect( getByLabelText( 'Sweetcorn' ) ).not.toHaveAttribute(
- 'disabled'
- );
+ expect( getByLabelText( 'Sweetcorn' ) ).not.toBeDisabled();
} );
it( 'should disable "other" text input unless the "other" option is selected', async () => {
@@ -515,7 +503,7 @@ describe( 'CurrentSurvey', () => {
// Ensure the button is not disabled.
expect(
getByRole( 'button', { name: 'Submit' } )
- ).not.toHaveAttribute( 'disabled' );
+ ).not.toBeDisabled();
// The text input should be disabled because "Other" is not selected.
expect(
@@ -527,7 +515,7 @@ describe( 'CurrentSurvey', () => {
expect(
getByLabelText( `Text input for option Other` )
- ).not.toHaveAttribute( 'disabled' );
+ ).not.toBeDisabled();
// Ensure the input is disabled if "Other" is deselected.
fireEvent.click( getByText( 'Other' ) );
@@ -562,7 +550,7 @@ describe( 'CurrentSurvey', () => {
expect(
getByRole( 'button', { name: 'Submit' } )
- ).not.toHaveAttribute( 'disabled' );
+ ).not.toBeDisabled();
} );
it( 'should limit text input to 100 characters', async () => {
| 4 |
diff --git a/articles/overview/deployment-models.md b/articles/overview/deployment-models.md @@ -88,12 +88,26 @@ The following table describes operational and feature differences between each o
<td>Configurable</td>
</tr>
<tr>
- <th>Search</th>
+ <th>User Search</th>
+ <td>Lucene queries</td>
+ <td>Simple attribute search or Lucene queries</td>
+ <td>Simple attribute search or Lucene queries</td>
+ <td>Simple attribute search or Lucene queries</td>
+ </tr>
+ <tr>
+ <th>Tenant Log Search</th>
<td>Lucene queries</td>
<td>Simple attribute search</td>
<td>Simple attribute search</td>
<td>Simple attribute search</td>
</tr>
+ <tr>
+ <th>Log Retention</th>
+ <td>Up to 30 days (depends on subscription plan)</td>
+ <td>Limited to 30 days</td>
+ <td>Limited to 30 days</td>
+ <td>Limited to 30 days</td>
+ </tr>
<tr>
<th>Code Sandbox</th>
<td>Webtask (Javascript and C#)</td>
@@ -104,9 +118,9 @@ The following table describes operational and feature differences between each o
<tr>
<th>Webtask</th>
<td>Multi-Tenant</td>
- <td>Dedicated</td>
- <td>Cloud</td>
- <td>On-Premises</td>
+ <td>Dedicated (Fixed NPM modules)</td>
+ <td>Dedicated (Fixed NPM modules)</td>
+ <td>On-Premises (Fixed NPM modules)</td>
</tr>
<tr>
<th>Anomaly Detection</th>
@@ -139,9 +153,9 @@ The following table describes operational and feature differences between each o
<tr>
<th>Custom Domains</th>
<td class="danger">No</td>
- <td class="success">Yes</td>
- <td class="success">Yes</td>
- <td class="success">Yes</td>
+ <td class="success">Yes <sup>**</sup></td>
+ <td class="success">Yes <sup>**</sup></td>
+ <td class="success">Yes <sup>**</sup></td>
</tr>
<tr>
<th>Shared Resources Among Multiple Customers</th>
@@ -150,7 +164,30 @@ The following table describes operational and feature differences between each o
<td class="danger">No</td>
<td class="danger">No</td>
</tr>
+ <tr>
+ <th>MFA</th>
+ <td>Yes</td>
+ <td>Google Authenticator, Google Duo over TOTP/HOTP. Guardian is *not* available.</td>
+ <td>Google Authenticator, Google Duo over TOTP/HOTP. Guardian is *not* available.</td>
+ <td>Google Authenticator, Google Duo over TOTP/HOTP. Guardian is *not* available.</td>
+ </tr>
+ <tr>
+ <th>Internet Restricted</th>
+ <td>No</td>
+ <td>No</td>
+ <td>No</td>
+ <td>Optional <sup>***</sup></td>
+ </tr>
</tbody>
</table>
-<sup>*</sup>__NOTE:__ See the [Auth0 Appliance: Extensions page](/appliance/extensions) to learn more about configuring extensions with the Appliance.
+<sup>*</sup>See the [Auth0 Appliance: Extensions page](/appliance/extensions) to learn more about configuring extensions with the Appliance.
+
+<sup>**</sup>See [Appliance Custom Domains](/appliance/custom-domains) for details. If your Appliance is histed in the Auth0 Private Cloud, see [Private Cloud Requirements](/appliance/private-cloud-requirements).
+
+<sup>***</sup>You may choose to operate the Appliance in an Internet-restricted environment. If you do so, you will *not* have access to:
+
+* Extensions;
+* Lock (requires access to the CDN hosting Lock);
+* Management/Authentication API Explorers (requires access to the CDN hosting the API Explorers);
+* Quickstarts (requires access to GitHub).
| 0 |
diff --git a/packages/idyll-docs/pages/docs/publishing/deploying-to-the-web.js b/packages/idyll-docs/pages/docs/publishing/deploying-to-the-web.js @@ -10,17 +10,16 @@ Once you are happy with your project, the \`idyll\` command-line tool can also b
build a stand alone bundle. If you used the Idyll project generator, npm tasks
to build and deploy the project to github pages are available.
-## GitHub pages
+## idyll.pub
Once you've initialized your
project with a repo on github, run the command
\`\`\`sh
-$ npm run deploy
+$ idyll build && idyll publish
\`\`\`
-this will compile the assets and push it to github
-pages. Note that
+this will compile the assets and push it to the idyll.pub server. Note that
the [meta component](https://idyll-lang.org/docs/components/default/meta) is
useful for inserting metadata into the compiled output.
@@ -31,7 +30,7 @@ Idyll's generated output is compatible with other static hosting services as wel
To compile the project, run
\`\`\`sh
-$ npm run build
+$ idyll build
\`\`\`
this will compile files and place them inside of the \`build/\` folder.
| 3 |
diff --git a/lib/carto/oauth_provider/scopes.rb b/lib/carto/oauth_provider/scopes.rb @@ -114,9 +114,9 @@ module Carto
database_section = grant_section(grants)
table_section = {
- name: @table,
+ name: table,
permissions: permission,
- schema: @schema || user.database_schema
+ schema: schema || user.database_schema
}
database_section[@grant_key] << table_section
@@ -140,17 +140,17 @@ module Carto
return [] unless dataset_scopes.any?
tables_by_schema = {}
- invalid_scopes = []
+ valid_scopes = []
dataset_scopes.each do |scope|
table, schema = table_schema_permission(scope)
schema = user.database_schema if schema.nil?
- if tables_by_schema[schema.to_sym].nil?
- tables_by_schema[schema.to_sym] = user.db_service.tables_effective(schema)
+ if tables_by_schema[schema].nil?
+ tables_by_schema[schema] = user.db_service.tables_effective(schema)
end
- invalid_scopes << scope if tables_by_schema[schema.to_sym].include?(table)
+ valid_scopes << scope if tables_by_schema[schema].include?(table)
end
- invalid_scopes
+ valid_scopes
end
def self.permission_from_db_to_scope(permission)
| 7 |
diff --git a/src/lib/Network.js b/src/lib/Network.js @@ -265,6 +265,7 @@ function request(command, data, type = 'post') {
// Make the http request, and if we get 407 jsonCode in the response,
// re-authenticate to get a fresh authToken and make the original http request again
+ let authenticateResponse;
return xhr(command, data, type)
.then((responseData) => {
if (!reauthenticating && responseData.jsonCode === 407 && data.doNotRetry !== true) {
@@ -278,21 +279,30 @@ function request(command, data, type = 'post') {
partnerUserSecret: password,
twoFactorAuthCode: ''
}))
- .then(response => Ion.get(IONKEYS.CURRENT_URL)
+ .then(response => {
+ authenticateResponse = response;
+ return Ion.get(IONKEYS.CURRENT_URL);
+ })
.then((exitTo) => {
reauthenticating = false;
- if (response.jsonCode !== 200) {
- throw new Error(response.message);
+ // If authentication fails throw so that we hit
+ // the catch below and redirect to sign in
+ if (authenticateResponse.jsonCode !== 200) {
+ throw new Error(authenticateResponse.message);
}
- return setSuccessfulSignInData(response, exitTo);
- }))
+ return setSuccessfulSignInData(authenticateResponse, exitTo);
+ })
.then(() => xhr(command, data, type))
- .catch(() => {
+ .catch((error) => {
reauthenticating = false;
- redirectToSignIn();
- return Promise.reject();
+ return Ion.multiSet({
+ [IONKEYS.CREDENTIALS]: {},
+ [IONKEYS.SESSION]: {error: error.message},
+ })
+ .then(redirectToSignIn)
+ .then(() => Promise.reject());
});
}
| 4 |
diff --git a/articles/metadata/management-api.md b/articles/metadata/management-api.md @@ -21,7 +21,7 @@ Using [Auth0's Management APIv2](/api/management/v2), you can create a user and
The Auth0 Management APIv2 token is required to call the Auth0 Management API. [Click here to learn more about how to get a Management APIv2 Token.](/api/management/v2/tokens)
:::
-### Management API: Set Metadata Fields on Creation
+### Set Metadata Fields on Creation
To create a user with the following profile details:
@@ -63,7 +63,7 @@ You would make the following `POST` call to the [Create User endpoint of the Man
}
```
-### Management API: Retrieve User Metadata
+### Retrieve User Metadata
To retrieve a user's metadata make a `GET` request to the [Get User endpoint of the Management API](/api/management/v2#!/Users/get_users_by_id).
@@ -122,7 +122,7 @@ The response will be as follows:
}
```
-### Management API: Update User Metadata
+### Update User Metadata
You can update a user's metadata by making a `PATCH` call to the [Update User endpoint of the Management API](/api/management/v2#!/Users/patch_users_by_id).
| 2 |
diff --git a/userscript.user.js b/userscript.user.js @@ -57721,16 +57721,29 @@ var $$IMU_EXPORT$$;
return src.replace(/(\/php\/load_okc_image\.php\/images\/)(?:[0-9]+(?:x[0-9]+)?\/){1,}([0-9]+\.[^/.]*)$/, "$1$2");
}
- if (domain_nosub === "metapix.net") {
+ if (domain_nosub === "metapix.net" ||
+ // thanks to Noodlers on discord:
+ // https://inkbunny.net/s/879729
+ // https://inkbunny.net/thumbnails/medium/1197/1197333_masa_whitetat_noncustom.jpg
+ // https://inkbunny.net/thumbnails/large/1197/1197333_masa_whitetat_noncustom.jpg
+ // https://inkbunny.net/files/preview/1197/1197333_masa_whitetat.jpg
+ // https://inkbunny.net/files/screen/1197/1197333_masa_whitetat.png
+ // https://inkbunny.net/files/full/1197/1197333_masa_whitetat.png
+ // thanks to Noodlers on discord:
+ // https://inkbunny.net/s/807019
+ // https://inkbunny.net/thumbnails/medium/1092/1092340_comjuke_are_you_here_pg_6.jpg
+ // https://inkbunny.net/files/full/1092/1092340_comjuke_are_you_here_pg_6.png
+ domain_nowww === "inkbunny.net") {
// https://wa.ib.metapix.net/thumbnails/medium/2391/2391802_Ero_eiko_noncustom.jpg
// https://tx.ib.metapix.net/files/full/2391/2391802_Ero_eiko.png
// https://wa.ib.metapix.net/files/screen/2391/2391802_Ero_eiko.png
// https://tx.ib.metapix.net/files/full/2391/2391802_Ero_eiko.png
newsrc = src.replace(/\/files\/[a-z]+\/([0-9]+\/[^/]*)$/, "/files/full/$1");
- if (newsrc !== src)
- return newsrc;
+ if (newsrc === src)
+ newsrc = src.replace(/\/thumbnails\/[a-z]*\/([0-9]+\/[0-9]+[^/]*)(?:_noncustom)?(\.[^/.]*)$/, "/files/full/$1$2");
- return add_extensions(src.replace(/\/thumbnails\/[a-z]*\/([0-9]+\/[0-9]+[^/]*)_noncustom(\.[^/.]*)$/, "/files/full/$1$2"));
+ if (newsrc !== src)
+ return add_extensions(newsrc);
}
if (domain === "cdn.furiffic.com") {
| 7 |
diff --git a/js/legacy/bis_readbruker.js b/js/legacy/bis_readbruker.js @@ -217,10 +217,10 @@ let parseTextFiles = function(filename,outprefix,debug,forceorient) {
data.havereco=false;
- let reco=null;
+ // let reco=null;
if (printFileStats(reconame)===1) {
data.havereco=true;
- reco=readParameterFile(reconame);
+ //reco=readParameterFile(reconame);
}
| 2 |
diff --git a/appjs/logicjavascript.js b/appjs/logicjavascript.js @@ -1192,7 +1192,7 @@ function centcal(){
}
function rtfind(){
- let side = parseInt(document.getElementById("inputdecagramside").value)
+ let side = parseInt(document.getElementById("inputrtside").value)
let ar = 2.975*side*side
let vol = 0.422*side*side*side
document.getElementById("resultofrtarea").innerHTML = "The surface area is "+ar
| 1 |
diff --git a/packages/2018/src/App.js b/packages/2018/src/App.js @@ -90,7 +90,6 @@ import {
import "./fonts.css";
// eslint-disable-next-line import/no-named-as-default
import RootPage from "./components/RootPage";
-import HomePage from "./components/HomePage";
import NewHomePage from "./components/NewHomePage";
import SandboxPage from "./components/SandboxPage";
import PortlandCollectionPage from "./components/PortlandCollectionPage";
@@ -187,7 +186,7 @@ const routes = {
path: "/",
component: RootPage,
indexRoute: {
- component: HomePage
+ component: NewHomePage
},
childRoutes: [
{
@@ -264,10 +263,6 @@ const routes = {
{
path: "2019",
childRoutes: [
- {
- path: "new-home-page",
- component: NewHomePage
- },
{
path: "template",
component: Template2019App,
@@ -299,14 +294,26 @@ const routes = {
]
};
+function hashLinkScroll() {
+ const { hash } = window.location;
+ if (hash !== "") {
+ // Push onto callback queue so it runs after the DOM is updated,
+ // this is required when navigating from a different page so that
+ // the element is rendered on the page before trying to getElementById.
+ setTimeout(() => {
+ const id = hash.replace("#", "");
+ const element = document.getElementById(id);
+ if (element) element.scrollIntoView();
+ }, 0);
+ } else {
+ window.scrollTo(0, 0);
+ }
+}
+
// Finally create the application component and render it into the #content element
const App = () => (
<Provider store={store}>
- <Router
- onUpdate={() => window.scrollTo(0, 0)}
- history={history}
- routes={routes}
- />
+ <Router onUpdate={hashLinkScroll} history={history} routes={routes} />
</Provider>
);
| 4 |
diff --git a/articles/scopes/index.md b/articles/scopes/index.md @@ -4,6 +4,10 @@ description: Overview of scopes with a client-side authorization transaction.
# Scopes
+<div class="alert alert-info">
+<strong>Heads up!</strong> If you are working with the <a href="/api-auth">API Authorization flows</a> and you are looking for the updated documentation, refer to <a href="/scopes/preview">Scopes</a>.
+</div>
+
When initiating a [client-side authorization transaction](/protocols#oauth-for-native-clients-and-javascript-in-the-browser) through the [`/authorize` endpoint](/api/authentication/reference#social),
only an opaque `access_token` will be returned by default.
To also return a JWT that authenticates the user and contains their profile information, the `scope` parameter can be sent as part of the request.
| 0 |
diff --git a/lib/assets/javascripts/new-dashboard/i18n/locales/en.json b/lib/assets/javascripts/new-dashboard/i18n/locales/en.json "orderMaps": "Order",
"types": {
"maps": "Your maps",
- "datasets": "Your datasets ({count})",
+ "datasets": "Your datasets",
"shared": "Shared with you ({count})",
"favorited": "Favorited ({count})",
"locked": "Locked ({count})",
| 2 |
diff --git a/iris/utils/notification-formatting.js b/iris/utils/notification-formatting.js @@ -115,10 +115,13 @@ const formatNotification = (incomingNotification, currentUserId) => {
let body = payload.content.body;
if (typeof body === 'string')
body = JSON.parse(payload.content.body);
- return `"${toPlainText(toState(body))}"`;
+ return `"${toPlainText(toState(body)).replace(
+ /[ \n\r\v]+/g,
+ ' '
+ )}"`;
}
- return `"${payload.content.body}"`;
+ return `"${payload.content.body.replace(/[ \n\r\v]+/g, ' ')}"`;
})
);
break;
| 14 |
diff --git a/views/services/workers/avatar-worker.js b/views/services/workers/avatar-worker.js @@ -44,6 +44,17 @@ class FileWriter {
}
const fw = new FileWriter()
+const status = {}
+
+const reportStatus = (mstId, type) => () => {
+ if (!status[mstId]) {
+ status[mstId] = {}
+ }
+ status[mstId][type] = true
+ if (status[mstId].normal && status[mstId].damaged) {
+ postMessage([ 'Ready', mstId ])
+ }
+}
const getVersionMap = () => {
try {
@@ -86,13 +97,6 @@ const mayExtractWithLock = async ({ serverIp, path, mstId }) => {
throw new Error('fetch failed.')
const ab = await fetched.arrayBuffer()
const swfData = await readFromBufferP(new Buffer(ab))
- const status = {}
- const reportStatus = type => () => {
- status[type] = true
- if (status.normal && status.damaged) {
- postMessage([ 'Ready', mstId ])
- }
- }
await Promise.all(
extractImages(swfData.tags).map(async p => {
const data = await p
@@ -104,11 +108,11 @@ const mayExtractWithLock = async ({ serverIp, path, mstId }) => {
getCacheDirPath()
switch (characterId) {
case 21: {
- fw.write(normalPath, imgData, reportStatus('normal'))
+ fw.write(normalPath, imgData, reportStatus(mstId, 'normal'))
break
}
case 23: {
- fw.write(damagedPath, imgData, reportStatus('damaged'))
+ fw.write(damagedPath, imgData, reportStatus(mstId, 'damaged'))
break
}
}
| 4 |
diff --git a/commands/call.js b/commands/call.js @@ -8,23 +8,29 @@ module.exports = {
command: 'call <contractName> <methodName> [args]',
desc: 'schedule smart contract call which can modify state',
builder: (yargs) => yargs
+ .option('gas', {
+ desc: 'Max amount of gas this call can use',
+ type: 'string',
+ default: '100000000000000'
+ })
.option('amount', {
desc: 'Number of tokens to attach',
type: 'string',
- default: '0.0000000001'
+ default: '0'
}),
handler: exitOnError(scheduleFunctionCall)
};
async function scheduleFunctionCall(options) {
console.log(`Scheduling a call: ${options.contractName}.${options.methodName}(${options.args || ''})` +
- (options.amount ? ` with attached ${utils.format.parseNearAmount(options.amount)} NEAR` : ''));
+ (options.amount && options.amount != '0' ? ` with attached ${utils.format.parseNearAmount(options.amount)} NEAR` : ''));
const near = await connect(options);
const account = await near.account(options.accountId);
const functionCallResponse = await account.functionCall(
options.contractName,
options.methodName,
JSON.parse(options.args || '{}'),
+ options.gas,
utils.format.parseNearAmount(options.amount));
const result = nearlib.providers.getTransactionLastResult(functionCallResponse);
console.log(inspectResponse(result));
| 1 |
diff --git a/sources/osgShader/CompilerFragment.js b/sources/osgShader/CompilerFragment.js @@ -153,47 +153,43 @@ var CompilerFragment = {
return roots;
},
- getOrCreateFrontTangent: function () {
- var frontTangent = this.createVariable( 'vec4', 'frontTangent' );
+ getOrCreateFrontViewTangent: function () {
+ var out = this._variables[ 'frontViewTangent' ];
+ if ( out )
+ return out;
+
+ out = this.createVariable( 'vec4', 'frontViewTangent' );
this.getNode( 'FrontNormal' ).inputs( {
normal: this.getOrCreateVarying( 'vec4', 'vViewTangent' )
} ).outputs( {
- normal: frontTangent
+ normal: out
} );
- return frontTangent;
+ return out;
},
- getOrCreateFrontNormal: function () {
- var frontNormal = this.createVariable( 'vec3', 'frontNormal' );
+ getOrCreateFrontViewNormal: function () {
+ var out = this._variables[ 'frontViewNormal' ];
+ if ( out )
+ return out;
+
+ out = this.createVariable( 'vec3', 'frontViewNormal' );
this.getNode( 'FrontNormal' ).inputs( {
normal: this.getOrCreateVarying( 'vec3', 'vViewNormal' )
} ).outputs( {
- normal: frontNormal
+ normal: out
} );
- return frontNormal;
- },
-
- getOrCreateNormalizedNormal: function () {
- var normal = this._variables[ 'normal' ];
- if ( normal )
- return normal;
-
- var out = this.createVariable( 'vec3', 'normal' );
- this.getNode( 'Normalize' ).inputs( {
- vec: this.getOrCreateFrontNormal()
- } ).outputs( {
- vec: out
- } );
return out;
},
- getOrCreateNormalizedPosition: function () {
+
+ getOrCreateNormalizedViewEyeDirection: function () {
var eye = this._variables[ 'eyeVector' ];
if ( eye )
return eye;
+
var nor = this.createVariable( 'vec3' );
var castEye = this.createVariable( 'vec3' );
this.getNode( 'SetFromNode' ).inputs( this.getOrCreateVarying( 'vec4', 'vViewVertex' ) ).outputs( castEye );
@@ -202,11 +198,58 @@ var CompilerFragment = {
} ).outputs( {
vec: nor
} );
+
var out = this.createVariable( 'vec3', 'eyeVector' );
this.getNode( 'Mult' ).inputs( nor, this.createVariable( 'float' ).setValue( '-1.0' ) ).outputs( out );
return out;
},
+ getOrCreateNormalizedFrontViewNormal: function () {
+ var out = this._variables[ 'nFrontViewNormal' ];
+ if ( out )
+ return out;
+
+ out = this.createVariable( 'vec3', 'nFrontViewNormal' );
+ this.getNode( 'Normalize' ).inputs( {
+ vec: this.getOrCreateFrontViewNormal()
+ } ).outputs( {
+ vec: out
+ } );
+
+ return out;
+ },
+
+ getOrCreateFrontModelNormal: function () {
+ var out = this._variables[ 'frontModelNormal' ];
+ if ( out )
+ return out;
+
+ out = this.createVariable( 'vec3', 'frontModelNormal' );
+
+ this.getNode( 'FrontNormal' ).inputs( {
+ normal: this.getOrCreateVarying( 'vec3', 'vModelNormal' )
+ } ).outputs( {
+ normal: out
+ } );
+
+ return out;
+ },
+
+ getOrCreateNormalizedFrontModelNormal: function () {
+ var out = this._variables[ 'nFrontModelNormal' ];
+ if ( out )
+ return out;
+
+ out = this.createVariable( 'vec3', 'nFrontModelNormal' );
+ this.getNode( 'Normalize' ).inputs( {
+ vec: this.getOrCreateFrontModelNormal()
+ } ).outputs( {
+ vec: out
+ } );
+
+ return out;
+ },
+
getPremultAlpha: function ( finalColor, alpha ) {
if ( alpha === undefined )
@@ -309,32 +352,6 @@ var CompilerFragment = {
return undefined;
},
- getOrCreateFrontModelNormal: function () {
- var frontNormal = this.createVariable( 'vec3', 'frontModelNormal' );
-
- this.getNode( 'FrontNormal' ).inputs( {
- normal: this.getOrCreateVarying( 'vec3', 'vModelNormal' )
- } ).outputs( {
- normal: frontNormal
- } );
-
- return frontNormal;
- },
-
- getOrCreateNormalizedModelNormal: function () {
- var normal = this._variables[ 'modelNormal' ];
- if ( normal )
- return normal;
-
- var out = this.createVariable( 'vec3', 'modelNormal' );
- this.getNode( 'Normalize' ).inputs( {
- vec: this.getOrCreateFrontModelNormal()
- } ).outputs( {
- vec: out
- } );
- return out;
- },
-
createShadowingLight: function ( light, inputs, lightedOutput ) {
var k;
@@ -370,7 +387,7 @@ var CompilerFragment = {
// Varyings
var vertexWorld = this.getOrCreateVarying( 'vec3', 'vModelVertex' );
- var normalWorld = this.getOrCreateNormalizedModelNormal();
+ var normalWorld = this.getOrCreateNormalizedFrontModelNormal();
// asserted we have a shadow we do the shadow node allocation
// and mult with lighted output
@@ -535,9 +552,9 @@ var CompilerFragment = {
inputs = MACROUTILS.objectMix( inputs, lightOutShadowIn );
if ( !inputs.normal )
- inputs.normal = this.getOrCreateNormalizedNormal();
+ inputs.normal = this.getOrCreateNormalizedFrontViewNormal();
if ( !inputs.eyeVector )
- inputs.eyeVector = this.getOrCreateNormalizedPosition();
+ inputs.eyeVector = this.getOrCreateNormalizedViewEyeDirection();
this.getNode( nodeName ).inputs( inputs ).outputs( {
color: lightedOutput,
| 10 |
diff --git a/src/core/index.js b/src/core/index.js @@ -92,6 +92,20 @@ module.exports = function SwaggerUI(opts) {
}, constructorConfig.initialState)
}
+ if(constructorConfig.initialState) {
+ // if the user sets a key as `undefined`, that signals to us that we
+ // should delete the key entirely.
+ // known usage: Swagger-Editor validate plugin tests
+ for (var key in constructorConfig.initialState) {
+ if(
+ constructorConfig.initialState.hasOwnProperty(key)
+ && constructorConfig.initialState[key] === undefined
+ ) {
+ delete storeConfigs.state[key]
+ }
+ }
+ }
+
let inlinePlugin = ()=> {
return {
fn: constructorConfig.fn,
| 11 |
diff --git a/app/scripts/controllers/CX/myWalletsCtrl.js b/app/scripts/controllers/CX/myWalletsCtrl.js @@ -68,7 +68,7 @@ var myWalletsCtrl = function($scope, $sce, $timeout, walletService) {
angular.element(function() {
angular.element($scope.sideBarTokens).bind("scroll", function(e) {
- if (e.target.scrollTop === e.target.scrollHeight - e.target.offsetHeight) {
+ if(e.target.scrollHeight - e.target.scrollTop === e.target.clientHeight) {
scrollContent();
$scope.$apply();
}
| 14 |
diff --git a/govbox/govrules/models.py b/govbox/govrules/models.py @@ -79,6 +79,8 @@ class Measure(PolymorphicModel):
blank=True
)
+ proposal_time = models.DateTimeFiled(auto_now_add=True)
+
PROPOSED = 'proposed'
FAILED = 'failed'
PASSED = 'passed'
| 0 |
diff --git a/userscript.user.js b/userscript.user.js @@ -89471,6 +89471,7 @@ var $$IMU_EXPORT$$;
// thanks to fedesk on discord for reporting
// https://www.nrk.no/video/regjeringa-aatvarar-mot-framtidige-pensjonskostnader_69e67b21-79ba-4973-a86a-65a246813bf1
// https://static.nrk.no/ludo/latest/video-embed.html#id=143167&referrer=https%3A%2F%2Fp3.no%2Fmusikk%2Fchristine-live-sigrid-raabe%2F
+ // https://www.nrk.no/video/aapning-byscene-aalesund_205824
var query_nrk = function(vid, cb) {
api_query("nrk:" + vid, {
url: "https://psapi.nrk.no/playback/manifest/clip/" + vid,
@@ -89496,7 +89497,7 @@ var $$IMU_EXPORT$$;
newsrc = website_query({
website_regex: [
- /^[a-z]+:\/\/[^/]+\/+video\/+(?:embed\/+)?(?:[^/.?#]+_)?([-0-9a-f]{20,})(?:[?#].*)?$/,
+ /^[a-z]+:\/\/[^/]+\/+video\/+(?:embed\/+)?(?:[^/.?#]+_)?([-0-9a-f]{20,}|[0-9]+)(?:[?#].*)?$/,
/^[a-z]+:\/\/[^/]+\/+[^/]+\/+[^/]+\/+video-embed\.html#(?:.*&)?id=([0-9]+)(?:&.*)?$/
],
run: function(cb, match) {
@@ -89519,7 +89520,7 @@ var $$IMU_EXPORT$$;
}
}
- if (/^[a-z]+:\/\/[^/]+\/+video\/+(?:embed\/+)?(?:[^/.?#]+_)?([-0-9a-f]{20,})(?:[?#].*)?$/.test(options.host_url)) {
+ if (/^[a-z]+:\/\/[^/]+\/+video\/+(?:embed\/+)?(?:[^/.?#]+_)?([-0-9a-f]{20,}|[0-9]+)(?:[?#].*)?$/.test(options.host_url)) {
return {
url: options.host_url,
is_pagelink: true
| 7 |
diff --git a/docs/components/toggle.md b/docs/components/toggle.md Toggle component explanation here.
```react
-<Toggle htmlFor="foone" />
+<Toggle htmlFor="one" />
```
### Props
@@ -11,15 +11,23 @@ Toggle component explanation here.
This property sets the node ID for label and input:
```react
-<Toggle htmlFor="fotwo" />
+<Toggle htmlFor="two" />
```
-#### **checked** (bolean)
+#### **checked** (boolean)
Using this prop you can set the initial state as checked:
```react
-<Toggle htmlFor="fothree" checked />
+<Toggle htmlFor="three" checked />
+```
+
+#### **disabled** (boolean)
+
+Using this prop you can disable the toggle:
+
+```react
+<Toggle htmlFor="four" disabled />
```
#### **onChange** (function)
@@ -27,5 +35,5 @@ Using this prop you can set the initial state as checked:
Callback to be called when the toggle changes its state:
```react
-<Toggle htmlFor="fofour" checked onChange={state => console.log(state)} />
+<Toggle htmlFor="five" checked onChange={state => console.log(state)} />
```
| 7 |
diff --git a/lib/editor/components/GtfsEditor.js b/lib/editor/components/GtfsEditor.js @@ -60,6 +60,11 @@ export default class GtfsEditor extends Component {
}
componentWillMount () {
+ // Wipe any leftover state that may exist for other feed sources in editor.
+ // NOTE: Clear GTFS content happens outside of onComponentMount function so
+ // that it is only ever called on mount (onComponentMount is called after
+ // a successful snapshot/import when starting from scratch).
+ this.props.clearGtfsContent()
this.props.onComponentMount(this.props)
}
| 1 |
diff --git a/lib/sketch.js b/lib/sketch.js +"use strict";
// THE BASIC SKETCH CLASS, FROM WHICH ALL SKETCHES ARE EXTENDED.
@@ -2058,7 +2059,7 @@ function FreehandSketch() {
// ADJUST TO BEST CENTER POINT TO ROTATE AND SCALE ABOUT.
if (this.sc == 1 || this.tX == 0 && this.tY == 0) {
- B = computeCurveBounds(this.sp, 1);
+ var B = computeCurveBounds(this.sp, 1);
var dx = ((B.xlo + B.xhi) / 2 - this.tX) / this.sc;
var dy = ((B.ylo + B.yhi) / 2 - this.tY) / this.sc;
this.tX += dx * this.sc;
| 12 |
diff --git a/world.js b/world.js @@ -371,12 +371,12 @@ world.addEventListener('trackedobjectadd', async e => {
}
mesh.run && await mesh.run();
- if (mesh.getStaticPhysicsIds) {
+ /* if (mesh.getStaticPhysicsIds) {
const staticPhysicsIds = mesh.getStaticPhysicsIds();
for (const physicsId of staticPhysicsIds) {
physicsManager.setPhysicsTransform(physicsId, mesh.position, mesh.quaternion);
}
- }
+ } */
} else {
console.warn('failed to load object', file);
| 2 |
diff --git a/source/indexer/contracts/interfaces/IIndexer.sol b/source/indexer/contracts/interfaces/IIndexer.sol @@ -27,14 +27,14 @@ interface IIndexer {
address indexed staker,
address indexed signerToken,
address indexed senderToken,
- uint256 amount
+ uint256 stakeAmount
);
event Unstake(
address indexed staker,
address indexed signerToken,
address indexed senderToken,
- uint256 amount
+ uint256 stakeAmount
);
event AddTokenToBlacklist(
| 10 |
diff --git a/packages/node_modules/@node-red/nodes/core/core/lib/debug/debug-utils.js b/packages/node_modules/@node-red/nodes/core/core/lib/debug/debug-utils.js @@ -400,48 +400,47 @@ RED.debug = (function() {
}
function processDebugMessage(o) {
- var msg = document.createElement("div");
+ var msg = $("<div/>");
var sourceNode = o._source;
- msg.onmouseenter = function() {
- $(msg).addClass('debug-message-hover');
+ msg.on("mouseenter", function() {
+ msg.addClass('debug-message-hover');
if (o._source) {
config.messageMouseEnter(o._source.id);
if (o._source._alias) {
config.messageMouseEnter(o._source._alias);
}
}
-
- };
- msg.onmouseleave = function() {
- $(msg).removeClass('debug-message-hover');
+ });
+ msg.on("mouseleave", function() {
+ msg.removeClass('debug-message-hover');
if (o._source) {
config.messageMouseLeave(o._source.id);
if (o._source._alias) {
config.messageMouseLeave(o._source._alias);
}
}
- };
+ });
var name = sanitize(((o.name?o.name:o.id)||"").toString());
var topic = sanitize((o.topic||"").toString());
var property = sanitize(o.property?o.property:'');
var payload = o.msg;
var format = sanitize((o.format||"").toString());
- msg.className = 'debug-message'+(o.level?(' debug-message-level-'+o.level):'')+
+ msg.attr("class", 'debug-message'+(o.level?(' debug-message-level-'+o.level):'')+
(sourceNode?(
" debug-message-node-"+sourceNode.id.replace(/\./g,"_")+
(sourceNode.z?" debug-message-flow-"+sourceNode.z.replace(/\./g,"_"):"")
- ):"");
+ ):""));
if (sourceNode) {
- $(msg).data('source',sourceNode.id);
+ msg.data('source',sourceNode.id);
if (filterType === "filterCurrent" && activeWorkspace) {
if (sourceNode.z && sourceNode.z.replace(/\./g,"_") !== activeWorkspace) {
- $(msg).addClass('hide');
+ msg.addClass('hide');
}
} else if (filterType === 'filterSelected'){
if (!!filteredNodes[sourceNode.id]) {
- $(msg).addClass('hide');
+ msg.addClass('hide');
}
}
}
@@ -481,7 +480,7 @@ RED.debug = (function() {
errorLvl = 30;
errorLvlType = 'warn';
}
- $(msg).addClass('debug-message-level-' + errorLvl);
+ msg.addClass('debug-message-level-' + errorLvl);
$('<span class="debug-message-topic">function : (' + errorLvlType + ')</span>').appendTo(metaRow);
} else {
var tools = $('<span class="debug-message-tools button-group"></span>').appendTo(metaRow);
| 4 |
diff --git a/js/huobi.js b/js/huobi.js @@ -679,7 +679,7 @@ module.exports = class huobi extends ccxt.huobi {
}
}
- getUrlByMarketType (type, subType = 'linear', isPrivate = false) {
+ getUrlByMarketType (type, isLinear = true, isPrivate = false) {
const api = this.safeString (this.options, 'api', 'api');
const hostname = { 'hostname': this.hostname };
let hostnameURL = undefined;
@@ -694,12 +694,12 @@ module.exports = class huobi extends ccxt.huobi {
}
if (type === 'future') {
const baseUrl = this.urls['api']['ws'][api]['future'];
- const futureUrl = subType === 'linear' ? baseUrl['linear'] : baseUrl['inverse'];
+ const futureUrl = isLinear ? baseUrl['linear'] : baseUrl['inverse'];
url = isPrivate ? futureUrl['private'] : futureUrl['public'];
}
if (type === 'swap') {
const baseUrl = this.urls['api']['ws'][api]['swap'];
- const swapUrl = subType === 'linear' ? baseUrl['linear'] : baseUrl['inverse'];
+ const swapUrl = isLinear ? baseUrl['linear'] : baseUrl['inverse'];
url = isPrivate ? swapUrl['private'] : swapUrl['public'];
}
return url;
| 4 |
diff --git a/src/backend.js b/src/backend.js @@ -19,7 +19,9 @@ var _ = Mavo.Backend = $.Class({
},
get: function(url = new URL(this.url)) {
+ if (url.protocol != "data:") {
url.searchParams.set("timestamp", Date.now()); // ensure fresh copy
+ }
return $.fetch(url.href).then(xhr => Promise.resolve(xhr.responseText), () => Promise.resolve(null));
},
| 1 |
diff --git a/src/client/js/components/TopOfTableContents.jsx b/src/client/js/components/TopOfTableContents.jsx @@ -3,6 +3,11 @@ import PropTypes from 'prop-types';
import { withTranslation } from 'react-i18next';
+import PageList from './PageList';
+import TimeLine from './TimeLine';
+import RecentChanges from './RecentChanges';
+import Attachment from './Attachment';
+
import PageContainer from '../services/PageContainer';
import { withUnstatedContainers } from './UnstatedUtils';
@@ -13,61 +18,21 @@ const TopOfTableContents = (props) => {
<>
<div className="top-of-table-contents d-flex align-items-end pb-1">
<button type="button" className="bg-transparent border-0">
- {/* TODO: make svg icons components by GW-3349 */}
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" className="table-top-icon" width="20" height="20">
- <rect className="cls-1" width="14" height="14" />
- <path d="M12.63,2.72H1.37a.54.54,0,0,1,0-1.08H12.63a.54.54,0,0,1,0,1.08Z" />
- <path d="M11.82,5.94H1.37a.55.55,0,0,1,0-1.09H11.82a.55.55,0,1,1,0,1.09Z" />
- <path d="M9.41,9.15h-8a.54.54,0,0,1,0-1.08h8a.54.54,0,0,1,0,1.08Z" />
- <path d="M10.84,12.36H1.37a.54.54,0,1,1,0-1.08h9.47a.54.54,0,1,1,0,1.08Z" />
- </svg>
+ <PageList />
</button>
<button type="button" className="bg-transparent border-0">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" className="table-top-icon" width="20" height="20">
- <rect className="cls-1" width="14" height="14" />
- <path
- d="M13.6,4.6a1.2,1.2,0,0,1-1.2,1.2,1,1,0,0,1-.3,0L10,7.89a1.1,1.1,0,0,1,0,.31,1.2,1.2,0,1,1-2.4,0,1.1,1.1,0,0,1,
- 0-.31L6.11,6.36a1.3,1.3,0,0,1-.62,0L2.75,9.1a1,1,0,0,1,0,.3A1.2,1.2,0,1,1,1.6,8.2a1,1,0,0,1,.3,0L4.64,
- 5.51a1.1,1.1,0,0,1,0-.31A1.2,1.2,0,0,1,7,5.2a1.1,1.1,0,0,1,0,.31L8.49,7a1.3,1.3,0,0,1,.62,0L11.25,4.9a1,
- 1,0,0,1-.05-.3,1.2,1.2,0,1,1,2.4,0Z"
- />
- </svg>
+ <TimeLine />
</button>
<button type="button" className="bg-transparent border-0">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" className="table-top-icon" width="20" height="20">
- <rect className="cls-1" width="14" height="14" />
- <path
- d="M7.94.94A6.13,6.13,0,0,0,1.89,7v.1L.67,5.89a.38.38,0,0,0-.55,0,.39.39,0,0,0,0,.56L2.36,8.69,4.6,6.45a.4.4,0,0,0,0-.56.39.39,0,0,0-.56,
- 0L2.68,7.25V7A5.33,5.33,0,0,1,7.94,1.73,5.33,5.33,0,0,1,13.21,7a5.34,5.34,0,0,1-5.27,5.27H7.86A5,5,0,0,1,4,10.38a.4.4,0,0,0-.55-.07.4.4,0,
- 0,0-.07.56,5.83,5.83,0,0,0,4.52,2.19H8A6.13,6.13,0,0,0,14,7,6.13,6.13,0,0,0,7.94.94Z"
- />
- <path d="M7.94,2.83a.4.4,0,0,0-.39.4V7.37L10,8.92a.37.37,
- 0,0,0,.21.06.4.4,0,0,0,.21-.73L8.34,6.93V3.23A.4.4,0,0,0,7.94,2.83Z"
- />
- </svg>
+ <RecentChanges />
</button>
<button type="button" className="bg-transparent border-0">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" className="table-top-icon" width="20" height="20">
- <rect className="cls-1" width="14" height="14" />
- <g className="cls-2">
- <path d="M2.9,13a2,2,0,0,1-1.44-.63,2.28,2.28,0,0,1,0-3.23l7-7.38a2.48,2.48,0,0,1,1.22-.7,2.61,
- 2.61,0,0,1,1.41.09A3.46,3.46,0,0,1,12.37,2a3.94,3.94,0,0,1,.36.45A2.61,2.61,0,0,1,13,3a3.41,3.41,
- 0,0,1,.16.57,3.06,3.06,0,0,1-.82,2.75L7.07,11.86a.35.35,0,0,1-.26.13.4.4,0,0,1-.28-.1.47.47,0,0,
- 1-.12-.27.39.39,0,0,1,.11-.29l5.26-5.59a2.28,2.28,0,0,0,.65-1.62,2.07,2.07,0,0,0-.62-1.58A2.62,2.62,
- 0,0,0,11,1.93a2,2,0,0,0-1-.13,1.63,1.63,0,0,0-1,.5L2,9.67a1.52,1.52,0,0,0,0,2.16,1.28,1.28,0,0,0,
- .44.3,1,1,0,0,0,.51.08,1.43,1.43,0,0,0,1-.49L9.49,5.84l.12-.13.11-.15a1.24,1.24,0,0,0,.1-.2,1.94,
- 1.94,0,0,0,0-.2.6.6,0,0,0,0-.22.66.66,0,0,0-.14-.2.57.57,0,0,0-.45-.22,1,1,0,0,0-.52.3L4.56,
- 9.25a.42.42,0,0,1-.17.1.34.34,0,0,1-.2,0A.4.4,0,0,1,4,9.26.34.34,0,0,1,3.89,9,.41.41,0,0,1,4,8.72L8.16,
- 4.28a1.7,1.7,0,0,1,1-.53,1.32,1.32,0,0,1,1.06.43,1.23,1.23,0,0,1,.4,1.05,1.8,1.8,0,0,1-.58,1.14L4.52,
- 12.26A2.3,2.3,0,0,1,3,13H2.9Z"
- />
- </g>
- </svg>
-
+ <Attachment />
</button>
+
{/* [TODO: setting Footprints' icon by GW-3308] */}
<div
id="seen-user-list"
| 14 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.