Andrew Dolgov
468faee635
viewfeed: remove (tons of) obsolete code
6 years ago
Andrew Dolgov
195180b64d
minor refactoring: normalize some function names; cleanup; etc
6 years ago
Andrew Dolgov
523e1cb9e8
reduce headlines scrolling timeout
6 years ago
Andrew Dolgov
e84adbba37
rate-limit headlinesScrollHandler via timeout instead of distance scrolled
...
minor floating title cleanup
6 years ago
Andrew Dolgov
669077c6ad
refactor selection toggle functions; other minor cleanup
6 years ago
Andrew Dolgov
3325979bf0
isCdmMode -> isCombinedMode
6 years ago
Andrew Dolgov
c155a9e1ef
toggle_cdm_expanded: use xhrPost
6 years ago
Andrew Dolgov
5aa9c60494
bring back (debloated) version of unexpanded combined mode
6 years ago
Andrew Dolgov
e2b8c9273e
first stage of headline element handling refactoring
6 years ago
Andrew Dolgov
02ec3984bd
replace 4 space indents with tabs
6 years ago
Andrew Dolgov
9563e3bcd6
remove expandable CDM headlines
6 years ago
Andrew Dolgov
fd752a79af
finish xhrPost migration of js/
6 years ago
Andrew Dolgov
7e8be97b66
remove duplicated code from hotkey actions handler
...
more xhrPost() refactoring
6 years ago
Andrew Dolgov
560b9fdd26
use xhrPost in more places
6 years ago
Andrew Dolgov
0d27227359
use xhrPost in more places; various minor cleanup
6 years ago
Andrew Dolgov
1b91bb4564
don't compare result with undefined seq
6 years ago
Andrew Dolgov
4508e3103d
some more eslint-related stuff
6 years ago
Andrew Dolgov
8572e0108a
declare globals with let
6 years ago
Andrew Dolgov
424e28db6b
eslint-related fixes
6 years ago
Andrew Dolgov
a3e2f1a9c3
define custom dojo modules with define() instead of require(), update startup module dependencies
6 years ago
wn_
a972ab45bd
strict js: various var fixes
7 years ago
Andrew Dolgov
7560e54e39
switchPanelMode: strict-mode fix for article_id
7 years ago
wn_
ad04bbf81d
strict js: fix more dialog vars
7 years ago
Andrew Dolgov
3009ecc44f
initial for JS strict mode
7 years ago
Andrew Dolgov
0518510814
remove some obsolete stuff, fix minor issues found by code analyzer
7 years ago
Andrew Dolgov
22adcd7466
request counters less times during startup, delay initial request in feedlist_init() a bit
7 years ago
Andrew Dolgov
267bcee32c
quickAddFeed: fix legacy feed_id type being passed to newrule
7 years ago
Andrew Dolgov
46b433933e
hotkey_handler: one more tiny tweak
8 years ago
Andrew Dolgov
a97e8cddf7
hotkey_handler: cleanup things a bit
8 years ago
Andrew Dolgov
0ae7de6d91
hotkey_handler: return true on prefix handled
8 years ago
Andrew Dolgov
0a79531696
hotkey_handler: stop propagation of handled prefix/action events
8 years ago
Andrew Dolgov
e0a957b3f6
use try/catch block in updatefeedlist
...
remove reporting function from exception dialog
8 years ago
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
8 years ago
Andrew Dolgov
5161460048
bind headlines menu to a selector to avoid remaking it unnecessarily
8 years ago
Andrew Dolgov
3188e863b3
handle_rpc_json: fix netalert button never appearing on JSON parse error
8 years ago
Andrew Dolgov
6358d70d5e
reset local counter cache when feed count changes
8 years ago
Andrew Dolgov
b1a80693b1
collapse_feedlist: also toggle splitter
8 years ago
Anders Kaseorg
88946d331a
Replace all setTimeout strings with functions
...
This fixes a cross-site scripting vulnerability.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
8 years ago
Andrew Dolgov
7fbc10c236
force-enable persist for feedTree
8 years ago
Andrew Dolgov
1c4f5e8390
add dependency on dojo/_base/html
8 years ago
Andrew Dolgov
6293d3717c
add toggle_sidebar plugin, remove obsolete toggle button
...
add PluginHost::HOOK_MAIN_TOOLBAR_BUTTON
8 years ago
Andrew Dolgov
d39a2f8005
switch modules to new dojo definition format
8 years ago
Andrew Dolgov
546b419f52
catch plugin JS errors
8 years ago
Andrew Dolgov
0dbc20a8d4
load dijit properly, duh
8 years ago
Andrew Dolgov
ee5170424e
dojo: main UI: load stuff asynchronously
8 years ago
Andrew Dolgov
64c24ecb59
add hotkey for toggling VFEED_GROUP_BY_FEED preference
8 years ago
Andrew Dolgov
b6b5554db4
normalize some html5 custom attributes
9 years ago
Andrew Dolgov
7c0d68f207
remove dismiss* functions
9 years ago
Andrew Dolgov
791877c39d
fix catching up for grouped feeds
9 years ago
Andrew Dolgov
6b0a17ad8b
viewfeed: switch to hash-based arguments
...
viewfeed: remove (obsolete) method parameter
add shortcut to debug viewfeed() query
9 years ago