Commit Graph

10746 Commits (5db6939dc9628886391bcaa18965de94727c96d9)
 

Author SHA1 Message Date
Andrew Dolgov 6f02b1afd0 cleanup a bunch of old prefs code 3 years ago
Frenck Lutke 27b676b7b2 fix checkboxes shown as checked when they're not with mysql
The issue occurs because boolean/tinyint values are retrieved from mysql
as strings, and in php/js all non-empty strings are cast as boolean
true.

Current PDO mysql driver doesn't support `PDO::ATTR_STRINGIFY_FETCHES =
false`, and if I disable prepare-emulation so it uses the native MySQL
driver instead which supposedly does support it, prepare statements no
longer play nice with named parameters.

Every remaining clean solution that comes to mind that can cover all
cases, just for MySQL, adds an annoying amount of additional code /
overhead.

As long as the `App.FormFields.checkbox_tag()` JS function is the only
one suffering from the lack of conversion, I'll go with easy ugly over
here.
3 years ago
Andrew Dolgov 7f18e8c33b updater: show owner login instead of just uid 3 years ago
Andrew Dolgov 7869378436 deal with feed update scheduling w/ new prefs 3 years ago
Frenck Lutke 2f2642bbd4 add fallback for feed_language on edit-feed-saving
Feed_language is only included in the form if running on pgsql, failing
the not null constraint on mysql setups.
3 years ago
Andrew Dolgov 00d0cb8c81 remove unused data from schema files 3 years ago
Andrew Dolgov 2621fe7955 fix get_pref always using default profile; remove unneeded code from db_prefs 3 years ago
Andrew Dolgov bd2314170d implement prefs UI based on new prefs class and a few more things 3 years ago
Andrew Dolgov e858e979e9 Merge branch 'master' into wip-new-prefs 3 years ago
Andrew Dolgov 49a9afadce add prefs caching 3 years ago
Andrew Dolgov 1112922029 bump schema for upcoming prefs overhaul 3 years ago
Andrew Dolgov 8026f3c3bd initial (wip) for new prefs: add missing 3 years ago
Andrew Dolgov 988eb3ac91 initial (wip) for new prefs 3 years ago
Andrew Dolgov 922a699215 reorder debug targets 3 years ago
Weblate c70fc68012 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/
3 years ago
Andrew Dolgov 93940d2a9f Merge branch 'master' of git.fakecake.org:fox/tt-rss into weblate-integration 3 years ago
Andrew Dolgov 1adacd0572 rebase translations 3 years ago
Andrew Dolgov db583287b2 add hide/show events for feeds sidebar 3 years ago
Andrew Dolgov 2f14fa1bc3 add a hack to position labels on a dijit toolbar better 3 years ago
Andrew Dolgov 7f41228a71 decouple runtime-info object from counters 3 years ago
Andrew Dolgov 553548b689 request label counters conditionally 3 years ago
Andrew Dolgov 9313ebf2e7 fix warning in counters::get_feeds() 3 years ago
Andrew Dolgov 8b09e653e0 pass array to setScore 3 years ago
Andrew Dolgov 155e4f6125 pass a bunch of related arrays properly to backend 3 years ago
Andrew Dolgov 96182597c4 fix typo 3 years ago
Andrew Dolgov 9ad5f04e51 only request counters once for headline mutations 3 years ago
Andrew Dolgov e468e5a589 cats_of: enforce owner_uid 3 years ago
Andrew Dolgov 6ea1430a04 no special counter handling for catchupAll 3 years ago
Andrew Dolgov e6505b7d83 _cats_of: only request parents if needed 3 years ago
Andrew Dolgov d6203bf350 try to calculate counters conditionally based on feed ids 3 years ago
Andrew Dolgov a42e8aad97 add Errors.php 3 years ago
Andrew Dolgov 8d2e3c2528 drop errors.php and simplify error handling 3 years ago
Andrew Dolgov 37d46411c7 App.requestCounters() is not a thing 3 years ago
Andrew Dolgov 85095f8a53 rename TTRSS_SESSION_NAME to SESSION_NAME 3 years ago
Andrew Dolgov ab4dafa4be config: add a type hint system 3 years ago
Andrew Dolgov 9e2e12dff8 add some ;s 3 years ago
Andrew Dolgov 46e650622c floIcon: declare images property 3 years ago
Andrew Dolgov 2ae0b7059f cleanup some defined-stuff 3 years ago
Andrew Dolgov 5229cc58b2 Merge branch 'wip-config-object' 3 years ago
Andrew Dolgov 4ed91619dd af_redditimgur: fix an oopsie 3 years ago
Andrew Dolgov cae54dad56 af_redditimgur: fix an oopsie 3 years ago
Andrew Dolgov 6e4fbbfa4d cleanup config.php-dist 3 years ago
Andrew Dolgov 29ada58b4a move db-prefs shortcut functions to functions.php 3 years ago
Andrew Dolgov 77e6d589ff allow adding custom config options 3 years ago
Andrew Dolgov fd5dd27f16 Merge branch 'master' of git.tt-rss.org:fox/tt-rss into wip-config-object 3 years ago
fox ac6cea859a Merge pull request 'Check whether data is parsable by 'imagecreatefromstring' in jimIcon.' (#7) from wn/tt-rss:jimIcon-imagecreatefromstring into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/7
3 years ago
Andrew Dolgov caf3040313 update config.php-dist 3 years ago
Andrew Dolgov 445ac1213c finalize config:: migration; make config.php optional 3 years ago
Andrew Dolgov 6b7af973b2 update gitignore 3 years ago
Andrew Dolgov 12bcf826e4 don't include config.php everywhere 3 years ago