Commit Graph

11372 Commits

Author SHA1 Message Date
Andrew Dolgov f8db5bb4db installer: use PDO, improve wording for some notices
PDO wrapper: allow working with blank DB_HOST
2017-12-10 09:20:52 +03:00
fox 3b2276274a Merge branch 'pdo-experimental' of cac2s/tt-rss into pdo-experimental 2017-12-07 08:53:38 +00:00
cac2s c3637c4d9d set charset to "utf-8" 2017-12-07 08:34:17 +00:00
Andrew Dolgov 76fc7a2d9c bool_to_sql_bool: for some reason PDO really likes integers for boolean columns
incidentally this fixes OPML filter import
2017-12-06 00:12:28 +03:00
Andrew Dolgov 8e1450aa15 update previous to only affect mysql 2017-12-05 22:46:18 +03:00
Andrew Dolgov f76f773a16 purge_orphans: limit maximum number of deleted articles 2017-12-05 22:37:50 +03:00
Andrew Dolgov 99b23daee6 opml_import_filter: remove debugging 2017-12-05 10:18:54 +03:00
Andrew Dolgov c4a08e4ff0 remove mentions of deprecated.js 2017-12-05 07:09:01 +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 8f92a67e6f some (very minor) code cleanup in feeds class 2017-12-04 10:39:50 +03:00
Andrew Dolgov 003a7447c3 format_headlines_list: prevent warning on first_id changed check 2017-12-04 10:26:22 +03:00
Andrew Dolgov 92175a8371 setpref: remove nl2br() 2017-12-04 08:27:25 +03:00
Andrew Dolgov e6532439d6 force strip_tags() on all user input unless explicitly allowed 2017-12-03 23:35:38 +03:00
Andrew Dolgov 7c6f7bb0aa fix some minor issues found by code analyzer 2017-12-03 23:08:04 +03:00
Andrew Dolgov fa3bcfa379 queryfeedheadlines: there's no need to quote order_by/override_order
else: feedicon cache busting etc
2017-12-03 22:49:57 +03:00
Andrew Dolgov 5f5b0de423 style feed icon and opml file upload controls 2017-12-03 22:35:12 +03:00
Andrew Dolgov 229c139c6a ccache: properly recalculate counters for uncategorized 2017-12-03 21:34:57 +03:00
Andrew Dolgov 342e8a9eeb move feeds cache directory to cache/feeds 2017-12-03 21:01:35 +03:00
Andrew Dolgov 7c0eb1b621 add defaultPasswordWarning nag dialog 2017-12-03 20:46:27 +03:00
Andrew Dolgov 31e2811a63 ttrss_zoom: fix CSS 2017-12-03 19:55:19 +03:00
Andrew Dolgov bd66541325 fix background on sanity failed page 2017-12-03 18:00:08 +03:00
Andrew Dolgov dda1d9b122 limit #feedtree styling 2017-12-03 17:57:34 +03:00
Andrew Dolgov 2f0623c9a5 db: return adapter on get(), remove IDB wrapper 2017-12-03 14:54:15 +03:00
Andrew Dolgov df5d2a0665 pluginhost: do not connect via legacy DB api until requested
log all initiated legacy database connections
2017-12-03 14:49:18 +03:00
Andrew Dolgov 62c37cd697 fix night theme css 2017-12-03 14:19:56 +03:00
Andrew Dolgov bfebf57c5f get_theme_path: fallback to css/default.css if default theme is selected 2017-12-03 14:17:25 +03:00
Andrew Dolgov 2cf93c046c pref-users: fix sorting the table 2017-12-03 13:54:31 +03:00
Andrew Dolgov 3eecebc34f sanity_check: do not invoke PDO without checking that it exists 2017-12-03 13:41:09 +03:00
Andrew Dolgov 97a5e13370 add sanity check for PDO 2017-12-03 13:40:09 +03:00
Andrew Dolgov 83303f20e0 update version static for css & db changes 2017-12-03 13:38:25 +03:00
Andrew Dolgov 28040002f3 pdo connection string: properly check for DB_PORT 2017-12-03 13:37:43 +03:00
Andrew Dolgov 1f16f9b8ae feed debugger: only allow debugging users own feeds 2017-12-03 13:35:18 +03:00
Andrew Dolgov 93e70e36c2 force article content/etc to string when updating to avoid failing null constraint check 2017-12-03 13:32:24 +03:00
Andrew Dolgov 72a411d314 upd default.css 2017-12-03 13:28:19 +03:00
Andrew Dolgov b51d44a5e6 further stylesheet simplification related fixes (2) 2017-12-03 13:26:26 +03:00
Andrew Dolgov 09bc54c690 further stylesheet simplification related fixes 2017-12-03 13:25:34 +03:00
Andrew Dolgov 3f2a871421 upd: default css url if no theme 2017-12-03 13:10:25 +03:00
Andrew Dolgov 6bd13fc55f remove layout.css 2017-12-03 13:07:28 +03:00
Andrew Dolgov 96f76580f4 further CSS updates 2017-12-03 13:06:41 +03:00
Andrew Dolgov 5e68e24679 css/less updates 2017-12-03 12:50:07 +03:00
Andrew Dolgov 4dc3f7e779 api: do not use sql_bool_to_bool() 2017-12-03 11:06:49 +03:00
Andrew Dolgov 96930889dd plugins/cache_starred_images: use PDO 2017-12-03 11:03:09 +03:00
Andrew Dolgov fad986ff5d plugins/embed_original: use PDO 2017-12-03 10:58:13 +03:00
Andrew Dolgov 11d1a8a693 plugins/af_redditimgur: use PDO 2017-12-03 10:55:41 +03:00
Andrew Dolgov 2eda9d9be4 plugins/vf_shared: use PDO 2017-12-03 10:50:40 +03:00
Andrew Dolgov d8a924d930 plugins/auto_assign_labels: use PDO 2017-12-03 10:46:00 +03:00
Andrew Dolgov 0f4487d3d6 plugins/af_readability: use PDO 2017-12-03 10:44:43 +03:00
Andrew Dolgov ef2438a503 plugins/note: use PDO 2017-12-03 10:43:19 +03:00
Andrew Dolgov 2179332acd plugins/mail: use PDO 2017-12-03 10:38:17 +03:00
Andrew Dolgov 10bf7aa1e7 af_zz_imgproxy: use type hint 2017-12-03 10:33:06 +03:00