Commit graph

93 commits

Author SHA1 Message Date
Andrew Dolgov
0518510814 remove some obsolete stuff, fix minor issues found by code analyzer 2017-12-04 11:02:13 +03:00
Andrew Dolgov
fbe7cb0a48 rpc: switch to PDO 2017-12-01 23:49:14 +03:00
Andrew Dolgov
267bcee32c quickAddFeed: fix legacy feed_id type being passed to newrule 2017-07-02 22:50:44 +03:00
Andrew Dolgov
5b6ea1ef91 remove pubsubhubbub: dead 2017-05-16 10:41:20 +03:00
Andrew Dolgov
270c0a00e5 improve JS error logging with additional stuff 2017-03-05 10:50:15 +03:00
Andrew Dolgov
e0a957b3f6 use try/catch block in updatefeedlist
remove reporting function from exception dialog
2017-03-05 10:30:49 +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
79ec2f3efd set error report url to https 2017-02-14 09:32:21 +03:00
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. 2017-02-09 23:19:26 +03:00
Andrew Dolgov
829d478f1b add some protection against opener attacks if external site is opened via window.open() 2017-02-08 15:07:05 +03:00
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
2017-01-28 12:45:49 +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
89bea945ce filters: add to previous on JS side 2015-12-03 10:25:30 +03:00
Andrew Dolgov
f48f292d2b tweak filter preview layout a bit; allow previewing matched articles in a popup 2015-09-11 13:05:08 +03:00
Andrew Dolgov
3857536f70 fix testing in create filter dialog, woops 2015-09-09 22:13:43 +03:00
Andrew Dolgov
dcbe36b2a2 fix some remaining old-style viewfeed() calls 2015-08-13 09:51:39 +03:00
Andrew Dolgov
bf9cc9ad95 combine user edit & user details 2015-08-12 20:19:38 +03:00
Andrew Dolgov
b87744534a add plugin-based filter actions (see example plugin in attic)
bump schema
2015-08-11 23:28:42 +03:00
Andrew Dolgov
0d41fd76d3 notify fixes 2014-11-09 20:31:29 +03:00
Andrew Dolgov
d9c93ebfdb tweak notifications; use css animations for notifications 2014-11-02 20:58:46 +03:00
Andrew Dolgov
22f675e5c4 add a link to headlines-spacer to open next unread feed 2014-07-25 13:54:10 +04:00
Andrew Dolgov
e126fe6a68 exception_error: always stringify ext_info 2014-03-14 15:14:13 +04:00
Andrew Dolgov
fb3a2505ac init params debugging: support objects etc 2014-03-14 15:09:50 +04:00
Andrew Dolgov
2f7918ae2e exception_error: support objects in ext_info 2014-03-14 14:49:18 +04:00
Andrew Dolgov
cde449b937 update report to tt-rss prompt 2014-03-14 14:40:29 +04:00
Andrew Dolgov
8b91b0beb5 add ttrss version and init params to reports 2014-03-14 14:20:32 +04:00
Andrew Dolgov
cbcf6517dc Revert "exception handler: remove report to tt-rss.org"
This reverts commit b55aec078c.
2014-03-14 14:08:32 +04:00
Andrew Dolgov
b55aec078c exception handler: remove report to tt-rss.org 2014-03-14 13:51:53 +04:00
Andrew Dolgov
5c812c2ea4 Revert "add a less intimidating error message when backend times out and/or fails to return valid JSON"
This reverts commit 2ffe7a3b14.
2014-03-11 19:09:33 +04:00
Andrew Dolgov
2ffe7a3b14 add a less intimidating error message when backend times out and/or fails to return valid JSON 2014-03-11 13:59:14 +04:00
Andrew Dolgov
350218f4f8 quickAddFeed: gracefully handle backend timeout/JSON parse problems 2014-03-11 13:38:06 +04:00
Andrew Dolgov
0c7e49936a quickAddFilter: if text is currently highlighted, use that instead of active article title for placeholder text 2013-11-12 14:21:28 +04:00
Andrew Dolgov
8f7a020e1b add notification to subscribe dialog when multiple feeds are detected 2013-10-02 15:24:08 +04:00
Andrew Dolgov
6e3224a26c use correct icons for notifications 2013-07-11 14:11:16 +04:00
Andrew Dolgov
2f20dd58d2 integrate silk icons by Mark James 2013-07-10 13:09:12 +04:00
supahgreg
8ceea119a8 Add JS PluginHost.HOOK_PARAMS_LOADED and PluginHost.HOOK_RUNTIME_INFO_LOADED to notify when interesting info has been created/updated. 2013-04-27 11:10:21 -05:00
supahgreg
abbe9c1f55 minor: remove duplicate check for params 2013-04-27 09:45:02 -05:00
Andrew Dolgov
f66492d357 better javascript error reporting, save error reports in tt-rss log 2013-04-20 10:43:21 +04:00
Andrew Dolgov
ebec81a6fb subscribe: verify XML before adding to the database; fetch: try to work around entity problems if initial parsing fails 2013-04-19 13:17:28 +04:00
Andrew Dolgov
95437e9e07 tweak notify layout/display 2013-04-17 10:50:46 +04:00
Andrew Dolgov
e43a9c4a01 add a %d articles selected element 2013-04-15 13:16:14 +04:00
Andrew Dolgov
e8f9069c5c quickAddFeed: add placeholder select element to feeds dropdown 2013-04-14 10:23:01 +04:00
Andrew Dolgov
f240d26e46 move db-updater functionality to public, remove db-updater.php 2013-04-04 19:45:26 +04:00
Andrew Dolgov
195187c490 rpc: move several feed-related calls to pref-feeds 2013-04-02 14:47:43 +04:00
Andrew Dolgov
8956b3a607 remove obsolete checkDate stuff 2013-04-02 14:36:00 +04:00
Andrew Dolgov
1c9bda915b move several methods from dlg; fix displayed tags not updated after editing 2013-04-01 11:14:27 +04:00
Andrew Dolgov
fb54e3b188 remove xml stuff from backend/dlg 2013-04-01 10:47:41 +04:00
Andrew Dolgov
f820f205d0 css cleanup; remove auxDlg; add separate prefs.css 2013-03-27 22:41:12 +04:00
Andrew Dolgov
919984a436 css cleanup; change notify css a bit 2013-03-27 22:24:26 +04:00
Andrew Dolgov
88a41b64a2 add label_base_index to init params 2013-03-27 10:27:04 +04:00