Andrew Dolgov
e5f3b75540
fix some minor linter problems
6 years ago
Andrew Dolgov
1e2d4410d3
move some more shared stuff to CommonDialogs, Filters, and Utils
6 years ago
Andrew Dolgov
bc96eac2ac
addLabel -> CommonDialogs
6 years ago
Andrew Dolgov
de9509cd31
hotkeys: simplify prefix timeout handling
6 years ago
Andrew Dolgov
cc26be0793
migrate tt-rss.js contents to App
6 years ago
Andrew Dolgov
642c37ea61
further effocts to wrap JS stuff into objects
6 years ago
Andrew Dolgov
4bed9be57d
js-ification: start on some common dialogs
6 years ago
Andrew Dolgov
1d82bd4f19
further objectification
6 years ago
Andrew Dolgov
d86ddbc635
further objectification of JS code
6 years ago
Andrew Dolgov
049a37aa0e
WIP reshuffling of JS global context into separate logical objects
6 years ago
Andrew Dolgov
195180b64d
minor refactoring: normalize some function names; cleanup; etc
6 years ago
Andrew Dolgov
e720e6b628
remove infobox_callback2
6 years ago
Andrew Dolgov
764434a491
remove remove_splash()
6 years ago
Andrew Dolgov
02ec3984bd
replace 4 space indents with tabs
6 years ago
Andrew Dolgov
b9585004e6
packed headlines: no point in using JSON here
6 years ago
Andrew Dolgov
da1a3c2cc5
remove ok = confirm() thing
6 years ago
Andrew Dolgov
7e8be97b66
remove duplicated code from hotkey actions handler
...
more xhrPost() refactoring
6 years ago
Andrew Dolgov
ef129fed2a
some more xhrPost refactoring (batchEditSave WIP)
6 years ago
Andrew Dolgov
fc0a3050eb
use xhrPost is even more places!
6 years ago
Andrew Dolgov
0d27227359
use xhrPost in more places; various minor cleanup
6 years ago
Andrew Dolgov
9dc5524df1
set dialogs to const
6 years ago
Andrew Dolgov
4508e3103d
some more eslint-related stuff
6 years ago
Andrew Dolgov
424e28db6b
eslint-related fixes
6 years ago
Andrew Dolgov
fa2e3b235a
addLabel: remove unused active_tab
7 years ago
wn_
30aa9743eb
strict js: fix subscribing when HTML with multiple feeds
...
also a minor fix for response handling in quickAddFilter
7 years ago
wn_
ad04bbf81d
strict js: fix more dialog vars
7 years ago
wn_
97f084c828
strict js: fix helpDialog
7 years ago
Andrew Dolgov
3009ecc44f
initial for JS strict mode
7 years ago
Andrew Dolgov
44eda8521e
filter delete action/rule: fix selector syntax
7 years ago
Andrew Dolgov
0518510814
remove some obsolete stuff, fix minor issues found by code analyzer
7 years ago
Andrew Dolgov
fbe7cb0a48
rpc: switch to PDO
7 years ago
Andrew Dolgov
267bcee32c
quickAddFeed: fix legacy feed_id type being passed to newrule
8 years ago
Andrew Dolgov
5b6ea1ef91
remove pubsubhubbub: dead
8 years ago
Andrew Dolgov
270c0a00e5
improve JS error logging with additional stuff
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
79ec2f3efd
set error report url to https
8 years ago
Andrew Dolgov
70c0a8c2e0
pass several image files used in notify messages to frontend as base64 to prevent broken error messages in case network connection is down. also, update some close buttons to show correct cursor.
8 years ago
Andrew Dolgov
829d478f1b
add some protection against opener attacks if external site is opened via window.open()
8 years ago
Andrew Dolgov
24c7e4132d
subscribe dialog: do not report errors via alert()
...
fetch_file_contents: reset all globals on start, return error message body when not using curl
subscribe_to_feed: report if cloudflare is in the error message
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
89bea945ce
filters: add to previous on JS side
9 years ago
Andrew Dolgov
f48f292d2b
tweak filter preview layout a bit; allow previewing matched articles in a popup
9 years ago
Andrew Dolgov
3857536f70
fix testing in create filter dialog, woops
9 years ago
Andrew Dolgov
dcbe36b2a2
fix some remaining old-style viewfeed() calls
9 years ago
Andrew Dolgov
bf9cc9ad95
combine user edit & user details
9 years ago
Andrew Dolgov
b87744534a
add plugin-based filter actions (see example plugin in attic)
...
bump schema
9 years ago
Andrew Dolgov
0d41fd76d3
notify fixes
10 years ago
Andrew Dolgov
d9c93ebfdb
tweak notifications; use css animations for notifications
10 years ago
Andrew Dolgov
22f675e5c4
add a link to headlines-spacer to open next unread feed
10 years ago