Apply new ESLint rules to legacy code
This commit is contained in:
parent
91cf075697
commit
8a2c17f65f
70 changed files with 376 additions and 516 deletions
|
@ -2,11 +2,8 @@ import * as React from 'react';
|
|||
|
||||
import { storiesOf } from '@storybook/react';
|
||||
|
||||
// @ts-ignore
|
||||
import { setup as setupI18n } from '../../../js/modules/i18n';
|
||||
// @ts-ignore
|
||||
import enMessages from '../../../_locales/en/messages.json';
|
||||
|
||||
import { GroupNotification, Props } from './GroupNotification';
|
||||
|
||||
const book = storiesOf('Components/Conversation', module);
|
||||
|
|
|
@ -1,12 +1,10 @@
|
|||
import * as React from 'react';
|
||||
|
||||
// @ts-ignore
|
||||
import { setup as setupI18n } from '../../../js/modules/i18n';
|
||||
// @ts-ignore
|
||||
import enMessages from '../../../_locales/en/messages.json';
|
||||
|
||||
import { storiesOf } from '@storybook/react';
|
||||
import { action } from '@storybook/addon-actions';
|
||||
|
||||
import { setup as setupI18n } from '../../../js/modules/i18n';
|
||||
import enMessages from '../../../_locales/en/messages.json';
|
||||
import { Props as ReactionPickerProps, ReactionPicker } from './ReactionPicker';
|
||||
import { EmojiPicker } from '../emoji/EmojiPicker';
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@ import {
|
|||
RingRTC,
|
||||
UserId,
|
||||
} from 'ringrtc';
|
||||
import is from '@sindresorhus/is';
|
||||
|
||||
import {
|
||||
ActionsType as UxActionsType,
|
||||
|
@ -20,7 +21,6 @@ import {
|
|||
} from '../state/ducks/calling';
|
||||
import { CallingMessageClass, EnvelopeClass } from '../textsecure.d';
|
||||
import { ConversationModelType } from '../model-types.d';
|
||||
import is from '@sindresorhus/is';
|
||||
import {
|
||||
AudioDevice,
|
||||
CallHistoryDetailsType,
|
||||
|
@ -356,11 +356,12 @@ export class CallingClass {
|
|||
// infrared if they so desire)
|
||||
if (matchingId.length > 0) {
|
||||
return matchingId[0].deviceId;
|
||||
} else if (nonInfrared.length > 0) {
|
||||
return nonInfrared[0].deviceId;
|
||||
} else {
|
||||
return undefined;
|
||||
}
|
||||
if (nonInfrared.length > 0) {
|
||||
return nonInfrared[0].deviceId;
|
||||
}
|
||||
|
||||
return undefined;
|
||||
}
|
||||
|
||||
setPreferredMicrophone(device: AudioDevice): void {
|
||||
|
@ -471,12 +472,12 @@ export class CallingClass {
|
|||
if (microphonePermission) {
|
||||
if (isVideoCall) {
|
||||
return this.requestCameraPermissions();
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
private async handleOutgoingSignaling(
|
||||
|
|
|
@ -155,7 +155,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/about_start.js",
|
||||
"line": "$('.privacy').text(window.i18n('privacyPolicy'));",
|
||||
"lineNumber": 28,
|
||||
"lineNumber": 26,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -173,7 +173,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/debug_log_start.js",
|
||||
"line": "const $body = $(document.body);",
|
||||
"lineNumber": 12,
|
||||
"lineNumber": 10,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -182,7 +182,7 @@
|
|||
"rule": "jQuery-appendTo(",
|
||||
"path": "js/debug_log_start.js",
|
||||
"line": "window.view.$el.appendTo($body);",
|
||||
"lineNumber": 19,
|
||||
"lineNumber": 17,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T18:13:29.628Z",
|
||||
"reasonDetail": "Interacting with already-existing DOM nodes"
|
||||
|
@ -199,7 +199,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/loading_start.js",
|
||||
"line": " $('.message').text(window.i18n('optimizingApplication'));",
|
||||
"lineNumber": 6,
|
||||
"lineNumber": 4,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-03-25T15:45:04.024Z"
|
||||
},
|
||||
|
@ -239,7 +239,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/modules/i18n.js",
|
||||
"line": " const FIND_REPLACEMENTS = /\\$([^$]+)\\$/g;",
|
||||
"lineNumber": 44,
|
||||
"lineNumber": 45,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2020-07-21T18:34:59.251Z"
|
||||
},
|
||||
|
@ -264,7 +264,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/permissions_popup_start.js",
|
||||
"line": "const $body = $(document.body);",
|
||||
"lineNumber": 11,
|
||||
"lineNumber": 9,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -273,7 +273,7 @@
|
|||
"rule": "jQuery-appendTo(",
|
||||
"path": "js/permissions_popup_start.js",
|
||||
"line": "window.view.$el.appendTo($body);",
|
||||
"lineNumber": 57,
|
||||
"lineNumber": 49,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-06-02T21:51:34.813Z",
|
||||
"reasonDetail": "Interacting with already-existing DOM nodes"
|
||||
|
@ -291,7 +291,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/settings_start.js",
|
||||
"line": "const $body = $(document.body);",
|
||||
"lineNumber": 11,
|
||||
"lineNumber": 9,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -300,7 +300,7 @@
|
|||
"rule": "jQuery-appendTo(",
|
||||
"path": "js/settings_start.js",
|
||||
"line": " window.view.$el.appendTo($body);",
|
||||
"lineNumber": 64,
|
||||
"lineNumber": 55,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-08-21T11:29:29.636Z",
|
||||
"reasonDetail": "Interacting with already-existing DOM nodes"
|
||||
|
@ -309,7 +309,7 @@
|
|||
"rule": "jQuery-load(",
|
||||
"path": "js/signal_protocol_store.js",
|
||||
"line": " await ConversationController.load();",
|
||||
"lineNumber": 981,
|
||||
"lineNumber": 980,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2020-06-12T14:20:09.936Z"
|
||||
},
|
||||
|
@ -317,7 +317,7 @@
|
|||
"rule": "DOM-innerHTML",
|
||||
"path": "js/views/app_view.js",
|
||||
"line": " this.el.innerHTML = '';",
|
||||
"lineNumber": 54,
|
||||
"lineNumber": 52,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-15T00:38:04.183Z",
|
||||
"reasonDetail": "Hard-coded string"
|
||||
|
@ -326,7 +326,7 @@
|
|||
"rule": "jQuery-append(",
|
||||
"path": "js/views/app_view.js",
|
||||
"line": " this.el.append(view.el);",
|
||||
"lineNumber": 55,
|
||||
"lineNumber": 53,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T18:13:29.628Z",
|
||||
"reasonDetail": "Interacting with already-existing DOM nodes"
|
||||
|
@ -335,7 +335,7 @@
|
|||
"rule": "jQuery-appendTo(",
|
||||
"path": "js/views/app_view.js",
|
||||
"line": " this.debugLogView.$el.appendTo(this.el);",
|
||||
"lineNumber": 61,
|
||||
"lineNumber": 59,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T18:13:29.628Z",
|
||||
"reasonDetail": "Interacting with already-existing DOM nodes"
|
||||
|
@ -344,7 +344,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/confirmation_dialog_view.js",
|
||||
"line": " setTimeout(() => this.$('.cancel').focus(), 1);",
|
||||
"lineNumber": 75,
|
||||
"lineNumber": 73,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2019-12-07T02:04:56.987Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -353,7 +353,7 @@
|
|||
"rule": "jQuery-append(",
|
||||
"path": "js/views/contact_list_view.js",
|
||||
"line": " this.$el.append(this.contactView.el);",
|
||||
"lineNumber": 37,
|
||||
"lineNumber": 35,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2019-07-31T00:19:18.696Z",
|
||||
"reasonDetail": "Known DOM elements"
|
||||
|
@ -362,7 +362,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/debug_log_view.js",
|
||||
"line": " this.$('textarea').val(i18n('loading'));",
|
||||
"lineNumber": 43,
|
||||
"lineNumber": 41,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-05-01T17:11:39.527Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -371,7 +371,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/debug_log_view.js",
|
||||
"line": " this.$('textarea').val(text);",
|
||||
"lineNumber": 47,
|
||||
"lineNumber": 45,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-05-01T17:11:39.527Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -380,7 +380,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/debug_log_view.js",
|
||||
"line": " const text = this.$('textarea').val();",
|
||||
"lineNumber": 66,
|
||||
"lineNumber": 64,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-05-01T17:11:39.527Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -389,7 +389,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/debug_log_view.js",
|
||||
"line": " this.$('.buttons, textarea').remove();",
|
||||
"lineNumber": 71,
|
||||
"lineNumber": 69,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-05-01T17:11:39.527Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -398,6 +398,15 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/debug_log_view.js",
|
||||
"line": " el: this.$('.result'),",
|
||||
"lineNumber": 76,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-05-01T17:11:39.527Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "js/views/debug_log_view.js",
|
||||
"line": " this.$('.loading').removeClass('loading');",
|
||||
"lineNumber": 78,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-05-01T17:11:39.527Z",
|
||||
|
@ -406,26 +415,17 @@
|
|||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "js/views/debug_log_view.js",
|
||||
"line": " this.$('.loading').removeClass('loading');",
|
||||
"line": " this.$('.link')",
|
||||
"lineNumber": 80,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-05-01T17:11:39.527Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "js/views/debug_log_view.js",
|
||||
"line": " this.$('.link')",
|
||||
"lineNumber": 82,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-05-01T17:11:39.527Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "js/views/debug_log_view.js",
|
||||
"line": " this.$('.loading').removeClass('loading');",
|
||||
"lineNumber": 90,
|
||||
"lineNumber": 88,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-05-01T17:11:39.527Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -434,7 +434,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/group_member_list_view.js",
|
||||
"line": " this.$('.container').append(this.member_list_view.el);",
|
||||
"lineNumber": 27,
|
||||
"lineNumber": 25,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -443,7 +443,7 @@
|
|||
"rule": "jQuery-append(",
|
||||
"path": "js/views/group_member_list_view.js",
|
||||
"line": " this.$('.container').append(this.member_list_view.el);",
|
||||
"lineNumber": 27,
|
||||
"lineNumber": 25,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T18:13:29.628Z",
|
||||
"reasonDetail": "Interacting with already-existing DOM nodes"
|
||||
|
@ -452,7 +452,7 @@
|
|||
"rule": "jQuery-html(",
|
||||
"path": "js/views/identicon_svg_view.js",
|
||||
"line": " const html = this.render().$el.html();",
|
||||
"lineNumber": 19,
|
||||
"lineNumber": 17,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-15T00:38:04.183Z",
|
||||
"reasonDetail": "Getting the value, not setting it"
|
||||
|
@ -461,7 +461,7 @@
|
|||
"rule": "jQuery-appendTo(",
|
||||
"path": "js/views/inbox_view.js",
|
||||
"line": " view.$el.appendTo(this.el);",
|
||||
"lineNumber": 33,
|
||||
"lineNumber": 31,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2019-10-21T22:30:15.622Z",
|
||||
"reasonDetail": "Known DOM elements"
|
||||
|
@ -470,7 +470,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/inbox_view.js",
|
||||
"line": " this.$('.message').text(message);",
|
||||
"lineNumber": 67,
|
||||
"lineNumber": 65,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2019-10-21T22:30:15.622Z",
|
||||
"reasonDetail": "Hardcoded selector"
|
||||
|
@ -479,7 +479,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/inbox_view.js",
|
||||
"line": " el: this.$('.conversation-stack'),",
|
||||
"lineNumber": 83,
|
||||
"lineNumber": 81,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2019-10-21T22:30:15.622Z",
|
||||
"reasonDetail": "Hardcoded selector"
|
||||
|
@ -488,7 +488,7 @@
|
|||
"rule": "jQuery-prependTo(",
|
||||
"path": "js/views/inbox_view.js",
|
||||
"line": " this.appLoadingScreen.$el.prependTo(this.el);",
|
||||
"lineNumber": 97,
|
||||
"lineNumber": 95,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2019-10-21T22:30:15.622Z",
|
||||
"reasonDetail": "Known DOM elements"
|
||||
|
@ -497,7 +497,7 @@
|
|||
"rule": "jQuery-appendTo(",
|
||||
"path": "js/views/inbox_view.js",
|
||||
"line": " toast.$el.appendTo(this.$el);",
|
||||
"lineNumber": 106,
|
||||
"lineNumber": 104,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-05-28T17:42:35.329Z",
|
||||
"reasonDetail": "Known DOM elements"
|
||||
|
@ -506,7 +506,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/inbox_view.js",
|
||||
"line": " this.$('.call-manager-placeholder').append(this.callManagerView.el);",
|
||||
"lineNumber": 128,
|
||||
"lineNumber": 126,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-05-28T17:42:35.329Z",
|
||||
"reasonDetail": "<optional>"
|
||||
|
@ -515,7 +515,7 @@
|
|||
"rule": "jQuery-append(",
|
||||
"path": "js/views/inbox_view.js",
|
||||
"line": " this.$('.call-manager-placeholder').append(this.callManagerView.el);",
|
||||
"lineNumber": 128,
|
||||
"lineNumber": 126,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-05-28T17:42:35.329Z",
|
||||
"reasonDetail": "<optional>"
|
||||
|
@ -524,7 +524,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/inbox_view.js",
|
||||
"line": " this.$('.left-pane-placeholder').append(this.leftPaneView.el);",
|
||||
"lineNumber": 139,
|
||||
"lineNumber": 137,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-05-28T17:42:35.329Z",
|
||||
"reasonDetail": "Known DOM elements"
|
||||
|
@ -533,7 +533,7 @@
|
|||
"rule": "jQuery-append(",
|
||||
"path": "js/views/inbox_view.js",
|
||||
"line": " this.$('.left-pane-placeholder').append(this.leftPaneView.el);",
|
||||
"lineNumber": 139,
|
||||
"lineNumber": 137,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-05-28T17:42:35.329Z",
|
||||
"reasonDetail": "Known DOM elements"
|
||||
|
@ -542,7 +542,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/inbox_view.js",
|
||||
"line": " if (e && this.$(e.target).closest('.placeholder').length) {",
|
||||
"lineNumber": 192,
|
||||
"lineNumber": 190,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-05-28T17:42:35.329Z",
|
||||
"reasonDetail": "Known DOM elements"
|
||||
|
@ -551,7 +551,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/inbox_view.js",
|
||||
"line": " this.$('#header, .gutter').addClass('inactive');",
|
||||
"lineNumber": 196,
|
||||
"lineNumber": 194,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-05-28T17:42:35.329Z",
|
||||
"reasonDetail": "Hardcoded selector"
|
||||
|
@ -560,7 +560,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/inbox_view.js",
|
||||
"line": " this.$('.conversation-stack').addClass('inactive');",
|
||||
"lineNumber": 200,
|
||||
"lineNumber": 198,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-05-28T17:42:35.329Z",
|
||||
"reasonDetail": "Hardcoded selector"
|
||||
|
@ -569,7 +569,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/inbox_view.js",
|
||||
"line": " this.$('.conversation:first .menu').trigger('close');",
|
||||
"lineNumber": 202,
|
||||
"lineNumber": 200,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-05-28T17:42:35.329Z",
|
||||
"reasonDetail": "Hardcoded selector"
|
||||
|
@ -578,7 +578,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/inbox_view.js",
|
||||
"line": " if (e && this.$(e.target).closest('.capture-audio').length > 0) {",
|
||||
"lineNumber": 222,
|
||||
"lineNumber": 220,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-05-29T18:29:18.234Z",
|
||||
"reasonDetail": "Known DOM elements"
|
||||
|
@ -587,7 +587,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/inbox_view.js",
|
||||
"line": " this.$('.conversation:first .recorder').trigger('close');",
|
||||
"lineNumber": 225,
|
||||
"lineNumber": 223,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-05-29T18:29:18.234Z",
|
||||
"reasonDetail": "Hardcoded selector"
|
||||
|
@ -596,7 +596,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/install_view.js",
|
||||
"line": " this.$('#qr img').remove();",
|
||||
"lineNumber": 160,
|
||||
"lineNumber": 158,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -605,7 +605,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/install_view.js",
|
||||
"line": " this.$('#qr .container').show();",
|
||||
"lineNumber": 162,
|
||||
"lineNumber": 160,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -614,7 +614,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/install_view.js",
|
||||
"line": " if ($('#qr').length === 0) {",
|
||||
"lineNumber": 166,
|
||||
"lineNumber": 164,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -623,7 +623,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/install_view.js",
|
||||
"line": " this.$('#qr .container').hide();",
|
||||
"lineNumber": 172,
|
||||
"lineNumber": 170,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-03-24T19:03:04.861Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -632,7 +632,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/install_view.js",
|
||||
"line": " this.qr = new QRCode(this.$('#qr')[0]).makeCode(url);",
|
||||
"lineNumber": 173,
|
||||
"lineNumber": 171,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-03-24T19:03:04.861Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -641,7 +641,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/install_view.js",
|
||||
"line": " this.$('#qr').addClass('ready');",
|
||||
"lineNumber": 175,
|
||||
"lineNumber": 173,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-03-24T19:03:04.861Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -650,7 +650,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/install_view.js",
|
||||
"line": " this.$(DEVICE_NAME_SELECTOR).val(deviceName || window.getHostName());",
|
||||
"lineNumber": 180,
|
||||
"lineNumber": 178,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-03-24T19:03:04.861Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -659,7 +659,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/install_view.js",
|
||||
"line": " this.$('#link-phone').submit();",
|
||||
"lineNumber": 185,
|
||||
"lineNumber": 183,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-03-24T19:03:04.861Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -668,7 +668,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/install_view.js",
|
||||
"line": " this.$('#link-phone').submit(e => {",
|
||||
"lineNumber": 195,
|
||||
"lineNumber": 193,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-03-24T19:03:04.861Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -677,7 +677,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/install_view.js",
|
||||
"line": " let name = this.$(DEVICE_NAME_SELECTOR).val();",
|
||||
"lineNumber": 199,
|
||||
"lineNumber": 197,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-03-24T19:03:04.861Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -686,7 +686,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/install_view.js",
|
||||
"line": " this.$(DEVICE_NAME_SELECTOR).focus();",
|
||||
"lineNumber": 202,
|
||||
"lineNumber": 200,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-03-24T19:03:04.861Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -695,7 +695,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/key_verification_view.js",
|
||||
"line": " this.$('.key-verification-wrapper').append(this.view.el);",
|
||||
"lineNumber": 28,
|
||||
"lineNumber": 26,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-06-23T06:48:06.829Z"
|
||||
},
|
||||
|
@ -703,7 +703,7 @@
|
|||
"rule": "jQuery-append(",
|
||||
"path": "js/views/key_verification_view.js",
|
||||
"line": " this.$('.key-verification-wrapper').append(this.view.el);",
|
||||
"lineNumber": 28,
|
||||
"lineNumber": 26,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-06-23T06:48:06.829Z"
|
||||
},
|
||||
|
@ -711,7 +711,7 @@
|
|||
"rule": "jQuery-append(",
|
||||
"path": "js/views/list_view.js",
|
||||
"line": " this.$el.append(view.render().el);",
|
||||
"lineNumber": 27,
|
||||
"lineNumber": 25,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T18:13:29.628Z",
|
||||
"reasonDetail": "Interacting with already-existing DOM nodes"
|
||||
|
@ -720,7 +720,7 @@
|
|||
"rule": "jQuery-html(",
|
||||
"path": "js/views/list_view.js",
|
||||
"line": " this.$el.html('');",
|
||||
"lineNumber": 33,
|
||||
"lineNumber": 31,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-15T00:38:04.183Z",
|
||||
"reasonDetail": "Hard-coded value"
|
||||
|
@ -729,7 +729,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/phone-input-view.js",
|
||||
"line": " this.$('input.number').intlTelInput();",
|
||||
"lineNumber": 14,
|
||||
"lineNumber": 12,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -738,7 +738,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/phone-input-view.js",
|
||||
"line": " const input = this.$('input.number');",
|
||||
"lineNumber": 21,
|
||||
"lineNumber": 19,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -747,7 +747,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/phone-input-view.js",
|
||||
"line": " const regionCode = this.$('li.active')",
|
||||
"lineNumber": 22,
|
||||
"lineNumber": 20,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -756,7 +756,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/phone-input-view.js",
|
||||
"line": " this.$('.number-container').removeClass('invalid');",
|
||||
"lineNumber": 29,
|
||||
"lineNumber": 27,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -765,7 +765,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/phone-input-view.js",
|
||||
"line": " this.$('.number-container').removeClass('valid');",
|
||||
"lineNumber": 32,
|
||||
"lineNumber": 30,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -774,7 +774,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/recorder_view.js",
|
||||
"line": " $(window).on('blur', this.onSwitchAwayBound);",
|
||||
"lineNumber": 19,
|
||||
"lineNumber": 17,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-10-11T19:22:47.331Z",
|
||||
"reasonDetail": "Operating on already-existing DOM elements"
|
||||
|
@ -783,7 +783,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/recorder_view.js",
|
||||
"line": " this.$('.time').text(`${minutes}:${seconds}`);",
|
||||
"lineNumber": 51,
|
||||
"lineNumber": 49,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -792,7 +792,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/recorder_view.js",
|
||||
"line": " $(window).off('blur', this.onSwitchAwayBound);",
|
||||
"lineNumber": 82,
|
||||
"lineNumber": 80,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-10-11T19:22:47.331Z",
|
||||
"reasonDetail": "Operating on already-existing DOM elements"
|
||||
|
@ -801,7 +801,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/safety_number_change_dialog_view.js",
|
||||
"line": " this.$('.safety-number-change-dialog-wrapper').append(dialog.el);",
|
||||
"lineNumber": 37,
|
||||
"lineNumber": 35,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-06-23T06:48:06.829Z"
|
||||
},
|
||||
|
@ -809,7 +809,7 @@
|
|||
"rule": "jQuery-append(",
|
||||
"path": "js/views/safety_number_change_dialog_view.js",
|
||||
"line": " this.$('.safety-number-change-dialog-wrapper').append(dialog.el);",
|
||||
"lineNumber": 37,
|
||||
"lineNumber": 35,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-06-23T06:48:06.829Z"
|
||||
},
|
||||
|
@ -817,7 +817,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " this.$('input').prop('checked', !!this.value);",
|
||||
"lineNumber": 30,
|
||||
"lineNumber": 28,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -826,7 +826,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " this.$('input').prop('checked', Boolean(this.value));",
|
||||
"lineNumber": 49,
|
||||
"lineNumber": 47,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-06-02T22:20:33.618Z"
|
||||
},
|
||||
|
@ -834,7 +834,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " this.$('input').prop('checked', Boolean(this.value));",
|
||||
"lineNumber": 68,
|
||||
"lineNumber": 66,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-06-02T21:51:34.813Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -843,7 +843,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " const value = this.$(e.target).val();",
|
||||
"lineNumber": 83,
|
||||
"lineNumber": 81,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-06-02T21:51:34.813Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -852,7 +852,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " this.$(`#${this.name}-${this.value}`).attr('checked', 'checked');",
|
||||
"lineNumber": 88,
|
||||
"lineNumber": 86,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-06-02T21:51:34.813Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -861,7 +861,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " el: this.$('.notification-settings'),",
|
||||
"lineNumber": 97,
|
||||
"lineNumber": 95,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-06-02T21:51:34.813Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -870,7 +870,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " el: this.$('.theme-settings'),",
|
||||
"lineNumber": 103,
|
||||
"lineNumber": 101,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-06-02T21:51:34.813Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -879,7 +879,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " $(document.body)",
|
||||
"lineNumber": 107,
|
||||
"lineNumber": 105,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-06-02T21:51:34.813Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -888,7 +888,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " el: this.$('.draw-attention-setting'),",
|
||||
"lineNumber": 118,
|
||||
"lineNumber": 116,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-08-21T11:29:29.636Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -897,7 +897,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " el: this.$('.audio-notification-setting'),",
|
||||
"lineNumber": 126,
|
||||
"lineNumber": 124,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-08-21T11:29:29.636Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -906,7 +906,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " el: this.$('.spell-check-setting'),",
|
||||
"lineNumber": 133,
|
||||
"lineNumber": 131,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-08-21T11:29:29.636Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -915,7 +915,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " const $msg = this.$('.spell-check-setting-message');",
|
||||
"lineNumber": 137,
|
||||
"lineNumber": 135,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-08-21T11:29:29.636Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -924,7 +924,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " el: this.$('.menu-bar-setting'),",
|
||||
"lineNumber": 150,
|
||||
"lineNumber": 148,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-08-21T11:29:29.636Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -933,7 +933,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " el: this.$('.always-relay-calls-setting'),",
|
||||
"lineNumber": 157,
|
||||
"lineNumber": 155,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-08-21T11:29:29.636Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -942,7 +942,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " el: this.$('.call-ringtone-notification-setting'),",
|
||||
"lineNumber": 163,
|
||||
"lineNumber": 161,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-08-21T11:29:29.636Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -951,7 +951,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " el: this.$('.call-system-notification-setting'),",
|
||||
"lineNumber": 169,
|
||||
"lineNumber": 167,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-08-21T11:29:29.636Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -960,7 +960,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " el: this.$('.incoming-call-notification-setting'),",
|
||||
"lineNumber": 175,
|
||||
"lineNumber": 173,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-08-21T11:29:29.636Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -969,7 +969,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " el: this.$('.media-permissions'),",
|
||||
"lineNumber": 181,
|
||||
"lineNumber": 179,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-08-21T11:29:29.636Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -978,7 +978,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " el: this.$('.media-camera-permissions'),",
|
||||
"lineNumber": 186,
|
||||
"lineNumber": 184,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-08-21T11:29:29.636Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -987,7 +987,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " this.$('.sync-setting').append(syncView.el);",
|
||||
"lineNumber": 192,
|
||||
"lineNumber": 190,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-08-21T11:29:29.636Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -996,7 +996,7 @@
|
|||
"rule": "jQuery-append(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " this.$('.sync-setting').append(syncView.el);",
|
||||
"lineNumber": 192,
|
||||
"lineNumber": 190,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-08-21T11:29:29.636Z",
|
||||
"reasonDetail": "Interacting with already-existing DOM nodes"
|
||||
|
@ -1005,7 +1005,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " this.$('.sync').text(i18n('syncNow'));",
|
||||
"lineNumber": 273,
|
||||
"lineNumber": 271,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-08-21T11:29:29.636Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -1014,7 +1014,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " this.$('.sync').attr('disabled', 'disabled');",
|
||||
"lineNumber": 277,
|
||||
"lineNumber": 275,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-08-21T11:29:29.636Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -1023,7 +1023,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " this.$('.synced_at').hide();",
|
||||
"lineNumber": 289,
|
||||
"lineNumber": 287,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-08-21T11:29:29.636Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -1032,7 +1032,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/settings_view.js",
|
||||
"line": " this.$('.sync_failed').hide();",
|
||||
"lineNumber": 294,
|
||||
"lineNumber": 292,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-08-21T11:29:29.636Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -1041,7 +1041,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/standalone_registration_view.js",
|
||||
"line": " this.$('input.number').val(number);",
|
||||
"lineNumber": 23,
|
||||
"lineNumber": 21,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -1050,25 +1050,25 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/standalone_registration_view.js",
|
||||
"line": " el: this.$('#phone-number-input'),",
|
||||
"lineNumber": 24,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "js/views/standalone_registration_view.js",
|
||||
"line": " this.$('#error').hide();",
|
||||
"lineNumber": 26,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "js/views/standalone_registration_view.js",
|
||||
"line": " this.$('#error').hide();",
|
||||
"lineNumber": 28,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-$(",
|
||||
"path": "js/views/standalone_registration_view.js",
|
||||
"line": " const verificationCode = $('#code')",
|
||||
"lineNumber": 39,
|
||||
"lineNumber": 37,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -1077,7 +1077,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/standalone_registration_view.js",
|
||||
"line": " this.$('#status').text(s);",
|
||||
"lineNumber": 52,
|
||||
"lineNumber": 50,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -1086,7 +1086,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/standalone_registration_view.js",
|
||||
"line": " const verificationCode = $('#code')",
|
||||
"lineNumber": 55,
|
||||
"lineNumber": 53,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -1095,7 +1095,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/standalone_registration_view.js",
|
||||
"line": " this.$('#error')",
|
||||
"lineNumber": 66,
|
||||
"lineNumber": 64,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -1104,7 +1104,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/standalone_registration_view.js",
|
||||
"line": " if (this.$('#number-container').hasClass('valid')) {",
|
||||
"lineNumber": 73,
|
||||
"lineNumber": 71,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -1113,7 +1113,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/standalone_registration_view.js",
|
||||
"line": " this.$('#request-sms, #request-voice').prop('disabled', 'disabled');",
|
||||
"lineNumber": 76,
|
||||
"lineNumber": 74,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -1122,7 +1122,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/standalone_registration_view.js",
|
||||
"line": " this.$('#code').addClass('invalid');",
|
||||
"lineNumber": 81,
|
||||
"lineNumber": 79,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -1131,7 +1131,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/standalone_registration_view.js",
|
||||
"line": " this.$('#code').removeClass('invalid');",
|
||||
"lineNumber": 83,
|
||||
"lineNumber": 81,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -1140,7 +1140,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/standalone_registration_view.js",
|
||||
"line": " this.$('#error').hide();",
|
||||
"lineNumber": 88,
|
||||
"lineNumber": 86,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -1149,7 +1149,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/standalone_registration_view.js",
|
||||
"line": " this.$('#step2')",
|
||||
"lineNumber": 94,
|
||||
"lineNumber": 92,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -1158,7 +1158,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/standalone_registration_view.js",
|
||||
"line": " this.$('#number-container').addClass('invalid');",
|
||||
"lineNumber": 98,
|
||||
"lineNumber": 96,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -1167,7 +1167,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/standalone_registration_view.js",
|
||||
"line": " $('#error').hide();",
|
||||
"lineNumber": 103,
|
||||
"lineNumber": 101,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -1176,7 +1176,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/standalone_registration_view.js",
|
||||
"line": " this.$('#step2')",
|
||||
"lineNumber": 109,
|
||||
"lineNumber": 107,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -1185,7 +1185,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/standalone_registration_view.js",
|
||||
"line": " this.$('#number-container').addClass('invalid');",
|
||||
"lineNumber": 113,
|
||||
"lineNumber": 111,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -1194,7 +1194,7 @@
|
|||
"rule": "jQuery-html(",
|
||||
"path": "js/views/toast_view.js",
|
||||
"line": " this.$el.html(",
|
||||
"lineNumber": 22,
|
||||
"lineNumber": 20,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-15T00:38:04.183Z"
|
||||
},
|
||||
|
@ -1202,7 +1202,7 @@
|
|||
"rule": "jQuery-appendTo(",
|
||||
"path": "js/views/toast_view.js",
|
||||
"line": " toast.$el.appendTo(el);",
|
||||
"lineNumber": 36,
|
||||
"lineNumber": 34,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2019-11-06T19:56:38.557Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -1211,7 +1211,7 @@
|
|||
"rule": "jQuery-html(",
|
||||
"path": "js/views/whisper_view.js",
|
||||
"line": " this.$el.html(Mustache.render(template, attrs, partials));",
|
||||
"lineNumber": 51,
|
||||
"lineNumber": 49,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-15T00:38:04.183Z",
|
||||
"reasonDetail": "Value set came directly from Mustache tempating engine"
|
||||
|
@ -1220,7 +1220,7 @@
|
|||
"rule": "jQuery-append(",
|
||||
"path": "js/views/whisper_view.js",
|
||||
"line": " this.$el.append(dialog.el);",
|
||||
"lineNumber": 62,
|
||||
"lineNumber": 60,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T18:13:29.628Z",
|
||||
"reasonDetail": "Interacting with already-existing DOM nodes"
|
||||
|
@ -1229,7 +1229,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/whisper_view.js",
|
||||
"line": " $('script[type=\"text/x-tmpl-mustache\"]').each((i, el) => {",
|
||||
"lineNumber": 71,
|
||||
"lineNumber": 69,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -1238,7 +1238,7 @@
|
|||
"rule": "jQuery-$(",
|
||||
"path": "js/views/whisper_view.js",
|
||||
"line": " const $el = $(el);",
|
||||
"lineNumber": 72,
|
||||
"lineNumber": 70,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-19T21:59:32.770Z",
|
||||
"reasonDetail": "Protected from arbitrary input"
|
||||
|
@ -1247,7 +1247,7 @@
|
|||
"rule": "jQuery-html(",
|
||||
"path": "js/views/whisper_view.js",
|
||||
"line": " templates[id] = $el.html();",
|
||||
"lineNumber": 74,
|
||||
"lineNumber": 72,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2018-09-15T00:38:04.183Z",
|
||||
"reasonDetail": "Getting the value, not setting it"
|
||||
|
@ -2134,7 +2134,7 @@
|
|||
"line": " if (_this.wrap) wrapped = wrap(col.text, _this._negatePadding(col), { hard: true }).split('\\n')",
|
||||
"lineNumber": 216,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2020-09-04T14:54:43.116Z"
|
||||
"updated": "2020-09-04T18:54:59.993Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-load(",
|
||||
|
@ -9824,7 +9824,7 @@
|
|||
"line": " if (_this.wrap) wrapped = wrap(col.text, _this._negatePadding(col), {hard: true}).split('\\n')",
|
||||
"lineNumber": 212,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2020-09-04T14:54:43.116Z"
|
||||
"updated": "2020-09-04T18:54:59.993Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
|
@ -12954,7 +12954,7 @@
|
|||
"line": " const byteBuffer = window.dcodeIO.ByteBuffer.wrap(quote, 'binary', window.dcodeIO.ByteBuffer.LITTLE_ENDIAN);",
|
||||
"lineNumber": 1049,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2020-09-04T00:33:28.532Z"
|
||||
"updated": "2020-09-08T23:07:22.682Z"
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
|
@ -12962,6 +12962,6 @@
|
|||
"line": " const byteBuffer = window.dcodeIO.ByteBuffer.wrap(",
|
||||
"lineNumber": 1748,
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2020-09-04T00:33:28.532Z"
|
||||
"updated": "2020-09-08T23:07:22.682Z"
|
||||
}
|
||||
]
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue