Andrew Dolgov
f89924f7a1
set use strict on JS modules; remove some mostly useless stuff like get_minified_js()
2018-12-02 18:38:27 +03:00
Andrew Dolgov
807ff07454
split main objects to dojo modules
2018-12-02 17:18:59 +03:00
Andrew Dolgov
fda3ad39c8
split several utility objects into separate dojo modules
2018-12-02 17:00:58 +03:00
Andrew Dolgov
35ded4bc84
edit phrasing of some alert()s
2018-12-02 16:30:32 +03:00
Andrew Dolgov
3a6dae9203
prefs: more of the same, really
2018-12-02 16:29:00 +03:00
Andrew Dolgov
b9869dbc01
prefs: remove some more stuff from global context (user management, etc)
2018-12-02 16:17:36 +03:00
Andrew Dolgov
58e54282d3
prefs: move more global functions into matching classes
2018-12-02 15:30:07 +03:00
Andrew Dolgov
f26d404890
prefs: move other tree-related functions to respective trees
2018-12-02 12:03:28 +03:00
Andrew Dolgov
60cd467694
embed some pref-feed helper functions into the tree
2018-12-02 11:50:53 +03:00
Andrew Dolgov
2e985d1733
move some label helper functions to prefLabelTree
2018-12-02 11:34:57 +03:00
Andrew Dolgov
e23b6e397d
prefs: store active tab for reload, remove most old table row functions
2018-12-02 11:25:32 +03:00
Andrew Dolgov
aa2f119eb6
remove getSelectedTableRowIds (Tables.getSelected)
2018-12-02 10:46:09 +03:00
Andrew Dolgov
874560db54
remove obsolete row selection functions
...
move getUrlParam() to Utils
2018-12-02 10:33:58 +03:00
Andrew Dolgov
da9f83c4ac
filter dialog fixes
2018-12-02 09:55:43 +03:00
Andrew Dolgov
1e2d4410d3
move some more shared stuff to CommonDialogs, Filters, and Utils
2018-12-01 22:39:29 +03:00
Andrew Dolgov
bc96eac2ac
addLabel -> CommonDialogs
2018-12-01 22:19:20 +03:00
Andrew Dolgov
de9509cd31
hotkeys: simplify prefix timeout handling
2018-12-01 22:07:00 +03:00
Andrew Dolgov
cc26be0793
migrate tt-rss.js contents to App
2018-12-01 21:51:00 +03:00
Andrew Dolgov
642c37ea61
further effocts to wrap JS stuff into objects
2018-12-01 21:01:53 +03:00
Andrew Dolgov
4bed9be57d
js-ification: start on some common dialogs
2018-12-01 18:25:32 +03:00
Andrew Dolgov
44d3aedd38
prefs: hotkey handler to App
2018-12-01 18:10:30 +03:00
Andrew Dolgov
ff708a9357
prefs: initial objectification
2018-12-01 18:08:09 +03:00
Andrew Dolgov
b9984c0ed6
revert wrong changes in prefs.js
2018-12-01 18:05:20 +03:00
Andrew Dolgov
049a37aa0e
WIP reshuffling of JS global context into separate logical objects
2018-12-01 17:05:35 +03:00
Andrew Dolgov
195180b64d
minor refactoring: normalize some function names; cleanup; etc
2018-12-01 11:18:35 +03:00
Andrew Dolgov
02ec3984bd
replace 4 space indents with tabs
2018-11-30 15:07:44 +03:00
Andrew Dolgov
da1a3c2cc5
remove ok = confirm() thing
2018-11-30 13:05:59 +03:00
Andrew Dolgov
fd752a79af
finish xhrPost migration of js/
2018-11-30 13:00:26 +03:00
Andrew Dolgov
7e8be97b66
remove duplicated code from hotkey actions handler
...
more xhrPost() refactoring
2018-11-30 12:46:52 +03:00
Andrew Dolgov
24c618dd6f
editSelectedFeeds: fix missing unset checkboxes properly
2018-11-30 11:55:24 +03:00
Andrew Dolgov
ef129fed2a
some more xhrPost refactoring (batchEditSave WIP)
2018-11-30 10:48:50 +03:00
Andrew Dolgov
9dc5524df1
set dialogs to const
2018-11-29 21:13:41 +03:00
Andrew Dolgov
4508e3103d
some more eslint-related stuff
2018-11-29 21:03:55 +03:00
Andrew Dolgov
8572e0108a
declare globals with let
2018-11-29 20:09:25 +03:00
Andrew Dolgov
424e28db6b
eslint-related fixes
2018-11-29 20:07:23 +03:00
Andrew Dolgov
a3e2f1a9c3
define custom dojo modules with define() instead of require(), update startup module dependencies
2018-08-23 09:56:34 +03:00
Andrew Dolgov
d195c6a62e
gotoExportOpml: js strict mode fix
2018-03-16 15:50:48 +03:00
wn_
a972ab45bd
strict js: various var fixes
2018-03-14 20:02:21 -05:00
wn_
ad04bbf81d
strict js: fix more dialog vars
2018-03-10 07:11:33 -06:00
Andrew Dolgov
3009ecc44f
initial for JS strict mode
2018-03-08 18:33:42 +03:00
Andrew Dolgov
0518510814
remove some obsolete stuff, fix minor issues found by code analyzer
2017-12-04 11:02:13 +03:00
Andrew Dolgov
b5bf9a0ff3
remove long forgotten stuff related to feed debugging actionbar
2017-12-02 15:12:39 +03:00
Andrew Dolgov
12b7b90c70
prefs: reload after OPML import
2017-07-02 20:26:18 +03:00
Andrew Dolgov
1bfe1d7b31
simplify error handling
...
* less convoluted exception dialogs
* use window.onerror for the majority of exception catching/reporting
* remove most of now useless try/catch blocks
* report stacktrace instead of manually specified error locations
2017-03-04 14:34:44 +03:00
Andrew Dolgov
ad7cea62e1
editFilter: fix selector expressions broken by 88946d3
2017-02-15 13:22:16 +03:00
Anders Kaseorg
88946d331a
Replace all setTimeout strings with functions
...
This fixes a cross-site scripting vulnerability.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2017-01-21 16:52:27 -05:00
Andrew Dolgov
e2e2479984
Merge branch 'dojo-1.12.1'
...
Conflicts:
js/prefs.js
2017-01-21 21:59:17 +03:00
Andrew Dolgov
ab235fc5f1
prefs: add updateSelectedPrompt shim called by toggleSelectedRow()
2017-01-21 21:49:10 +03:00
Andrew Dolgov
1c4f5e8390
add dependency on dojo/_base/html
2017-01-21 21:47:44 +03:00
Andrew Dolgov
d39a2f8005
switch modules to new dojo definition format
2016-08-10 13:40:24 +03:00