Commit Graph

10242 Commits

Author SHA1 Message Date
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 fc0a3050eb use xhrPost is even more places! 2018-11-30 09:23:51 +03:00
Andrew Dolgov 3ad9944d5e fix missing sprintf() argument 2018-11-30 09:19:00 +03:00
Andrew Dolgov dbb4cdbe36 plugins: run eslint const/let fixes 2018-11-30 08:39:45 +03:00
Andrew Dolgov c10a43069e debug logging system rework:
* support various logging levels per-message
 * remove hacks like debug_suppress, DAEMON_EXTENDED_DEBUG, etc
 * _debug() is kept as a compatibility shim for plugins
2018-11-30 08:34:29 +03:00
Andrew Dolgov 758752684c cache_starred_articles: limit maximum amount of download attempts per-article, consider cache operation a success even if all images were too small (prevents repeated requests) 2018-11-30 07:20:13 +03:00
Andrew Dolgov eaf7cfdba6 use xhrPost in even more places! 2018-11-29 23:36:54 +03:00
Andrew Dolgov ed1262d55a oops, remove useless db_escape_string() in article class (and nsfw plugin) 2018-11-29 23:04:12 +03:00
Andrew Dolgov 560b9fdd26 use xhrPost in more places 2018-11-29 22:56:34 +03:00
Andrew Dolgov 0d27227359 use xhrPost in more places; various minor cleanup 2018-11-29 22:21:09 +03:00
Andrew Dolgov 0267212454 move to let/const syntax in custom dojo modules 2018-11-29 21:21:06 +03:00
Andrew Dolgov 9dc5524df1 set dialogs to const 2018-11-29 21:13:41 +03:00
Andrew Dolgov 1b91bb4564 don't compare result with undefined seq 2018-11-29 21:07:19 +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 79c5035920 reset password: use updated mailer parameters properly 2018-11-26 12:44:36 +03:00
Andrew Dolgov 2d54eb1a87 remove cache/simplepie 2018-11-23 12:31:47 +03:00
Andrew Dolgov bc42dfb790 mention mailer_smtp plugin in config.php-dist 2018-11-22 23:10:28 +03:00
Andrew Dolgov b2f0858060 sanity config: fix typo 2018-11-22 22:15:27 +03:00
Andrew Dolgov d5256c8228 update sanity_config.php 2018-11-22 21:47:58 +03:00
Andrew Dolgov e08990f753 mailer: fix indents 2018-11-22 16:55:37 +03:00
Andrew Dolgov ac5e55c2bd mailer: return 0 if plugin requested to stop (-1) 2018-11-22 16:39:10 +03:00
Andrew Dolgov 6b19eec0f7 Merge branch 'master' of git.fakecake.org:tt-rss 2018-11-22 16:36:13 +03:00
Andrew Dolgov 55bf4bc1d3 mailer: split to/from name/addresses 2018-11-22 16:36:10 +03:00
Andrew Dolgov 83affcd4b2 Mailer->error: no argument 2018-11-22 16:19:41 +03:00
Andrew Dolgov 57932e1837 remove PHPMailer and related directives from config.php-dist; add pluggable Mailer class 2018-11-22 14:45:14 +03:00
Andrew Dolgov 643d1919cc update .gitignore 2018-11-07 14:59:44 +03:00
Andrew Dolgov 253dbd4856 generate_syndicated_feed: add support for virtual feeds provided by plugins 2018-11-07 14:21:39 +03:00
Andrew Dolgov 22366ccc5b db_prefs: fix cache never being used on read(); remove unnecessary
sprintf()s to integer
2018-11-03 21:52:38 +03:00
Andrew Dolgov 3a0292303e php: remove trailing whitespaces 2018-11-03 15:08:43 +03:00
Andrew Dolgov 3b9f982ec6 upd .gitignore 2018-11-03 15:03:52 +03:00
Andrew Dolgov 2c940c4861 better handle PDOExceptions during open transaction in feed update 2018-11-03 15:00:58 +03:00
Andrew Dolgov 5f66f872b6 fix session write handler always assuming that database entry exists and failing silently if it doesn't; remove session cookie-related hacks 2018-10-16 14:07:42 +03:00
Andrew Dolgov d246fb9fe1 remove session REMOTE_ADDR checks 2018-10-16 12:12:07 +03:00
Andrew Dolgov f8fc1ac543 login: check for stale session in login handler, instead of authenticate_user() 2018-10-16 11:39:12 +03:00
Andrew Dolgov f730d7bb0a another attempt to enforce session ID regeneration on login 2018-10-16 09:11:32 +03:00
Andrew Dolgov 9dadbdbb21 properly save auth_module after logging in 2018-10-16 07:34:22 +03:00
Andrew Dolgov 77aebd7e4a it was probably not the best idea to use session_regenerate_id() right after session_start(), duh 2018-10-15 21:47:12 +03:00
Andrew Dolgov 5feed36a3c do not use separate _ssl cookie for secure sessions 2018-10-15 15:48:37 +03:00
Andrew Dolgov 65e98f4086 force regenerate session id on successful login, remove previous blank SID check 2018-10-15 15:47:50 +03:00
Andrew Dolgov 74736fce0f if empty session is autostarted because of a cookie, immediately destroy it 2018-10-15 14:53:35 +03:00
Andrew Dolgov 7d53c2b501 validate_session: bring back IP session binding (enabled by default) and UA checking 2018-10-15 08:26:07 +03:00
Andrew Dolgov 8064ca3f8c API endpoint: disable session cookies 2018-10-15 07:37:07 +03:00
Andrew Dolgov ec5687a62b logout user: commit destroyed session 2018-10-14 22:50:45 +03:00
Andrew Dolgov f287596f0f rebase translations 2018-10-10 08:25:30 +03:00