Commit Graph

10818 Commits

Author SHA1 Message Date
Andrew Dolgov bc73bf0f67 cdmToggleGridSpan: toggle classname instead of a style property 2021-03-12 14:05:51 +03:00
Andrew Dolgov efde6d36c7 add HOOK_HEADLINES_SCROLL_HANDLER 2021-03-12 12:29:26 +03:00
Andrew Dolgov e85cba5958 sticky header: better positioning strategy 2021-03-12 11:59:26 +03:00
Andrew Dolgov 52d1a5c96d gettextify previous 2021-03-12 09:35:56 +03:00
Andrew Dolgov 580eccd3da throttle login attempts, controlled by Config::AUTH_MIN_INTERVAL 2021-03-12 09:35:01 +03:00
Andrew Dolgov b9268fcc88 schema: add ttrss_users.last_auth_attempt 2021-03-12 09:19:50 +03:00
Andrew Dolgov 96d89fe912 shorten_expanded: reduce log spam 2021-03-12 08:34:03 +03:00
Andrew Dolgov bd1630d278 grid mode: limit word breaking to link elements 2021-03-12 07:55:40 +03:00
Andrew Dolgov 76a6060ca3 get_override_links: actually return overrides 2021-03-12 07:40:34 +03:00
Andrew Dolgov 4949e1a590 valid OTP code should not be enough to login, oops 2021-03-12 07:32:15 +03:00
Andrew Dolgov 146b1e0feb * shorten_expanded: use ResizeObserver (DUH)
* add HOOK_HEADLINES_RENDERED
2021-03-11 22:55:14 +03:00
Andrew Dolgov 6e0474a7c8 update zoom layout a bit 2021-03-11 22:08:40 +03:00
Andrew Dolgov f67d2623b7 add some media queries to improve main UI on small-width devices 2021-03-11 19:26:19 +03:00
Andrew Dolgov a4da2f1e62 continuation of the css cleanup 2021-03-11 15:07:54 +03:00
Andrew Dolgov 755072de91 css cleanup, combined mode, fonts 2021-03-11 14:32:15 +03:00
Andrew Dolgov de47082ca6 Article.cdmToggleGridSpan: also set as active 2021-03-11 08:45:43 +03:00
Andrew Dolgov f9a381ecca grid: add a header icon (and a hotkey) to toggle article span entire row 2021-03-11 08:35:02 +03:00
Andrew Dolgov 27ab16b6dc add Config::LOCAL_OVERRIDE_JS 2021-03-11 07:44:58 +03:00
Andrew Dolgov 324aef9f6f route Logger:log() to user_error() if there's no adapter 2021-03-10 21:31:57 +03:00
Andrew Dolgov 03361dda34 remove previous spacer-specific hack, not needed anymore 2021-03-10 21:06:34 +03:00
Andrew Dolgov 24e64b8c78 exp: set last odd grid child to span all columns 2021-03-10 21:03:25 +03:00
Andrew Dolgov 21e0b28cf1 nsfw plugin: we don't actually need any JS 2021-03-10 20:47:00 +03:00
Andrew Dolgov f9a9fcbb56 fix related to Promise.allSettled() returning a bit different result object 2021-03-10 20:34:48 +03:00
Andrew Dolgov 3e1b3e8ea8 grid: add workaround for a single loaded headline not spanning all columns 2021-03-10 20:27:20 +03:00
Andrew Dolgov 143617afb1 * it feels weird for requireIdleCallback() to be optional while more
modern browser features are required
 * simplify browser startup feature check a bit
2021-03-10 19:53:09 +03:00
Andrew Dolgov 84fe383ed4 adjust grid view footer (3) 2021-03-10 19:31:25 +03:00
Andrew Dolgov 16726ec07f adjust grid view footer (2) 2021-03-10 19:30:32 +03:00
Andrew Dolgov a0dd5baa51 adjust grid view footer 2021-03-10 19:27:39 +03:00
Andrew Dolgov 5e738ec278 shorten stuff in af_zz_vidmute 2021-03-10 18:23:34 +03:00
Andrew Dolgov 71b12857e0 in grid mode, also force word-break .intermediate (enclosures) 2021-03-10 18:01:14 +03:00
Andrew Dolgov 353ee40378 shorten_expanded: remove loading=lazy on the js side instead 2021-03-10 17:51:06 +03:00
Andrew Dolgov 668b0ac7a6 shorten_expanded: no need to hook on HOOK_SANITIZE anymore 2021-03-10 16:34:27 +03:00
Andrew Dolgov fb89c3bad0 instead of a fixed column layout, fit based on minimum column size 2021-03-10 16:14:42 +03:00
Andrew Dolgov 5bc47451e1 shorten_expanded: increase timeout 2021-03-10 15:08:36 +03:00
Andrew Dolgov 36ad46e60d * shorten_expanded: use promises instead of a timeout hack
* normalize some icon colors
2021-03-10 14:57:03 +03:00
Andrew Dolgov 96031c80bf stop setting specific background color on .cdm.expanded 2021-03-10 12:57:46 +03:00
Andrew Dolgov e826c9e055 fix crash in preferences due to headlines-frame missing 2021-03-10 12:25:52 +03:00
Andrew Dolgov f58879c1dc small stuck header fixes in grid mode 2021-03-10 12:10:11 +03:00
Andrew Dolgov bdc72e5b63 fix headlines-spacer height in grid mode 2021-03-10 11:59:52 +03:00
Andrew Dolgov df9c389cbf in grid mode, hide feed title from header 2021-03-10 11:51:06 +03:00
Andrew Dolgov b6033d0bbd grid view tweaks 2021-03-10 11:44:16 +03:00
Andrew Dolgov 0b93d8d013 add hotkey to toggle grid view 2021-03-10 10:01:22 +03:00
Andrew Dolgov 089fa5ec26 use proper syntax for equal-width columns 2021-03-10 09:34:57 +03:00
Andrew Dolgov 87d13e826f fix vfeed group subtitle in grid mode 2021-03-10 09:17:49 +03:00
Andrew Dolgov eba8c97f36 some minor grid stuff 2021-03-10 09:10:40 +03:00
Andrew Dolgov a3ab4020bf set #headlines-spacer, etc, to span grid columns 2021-03-10 08:47:47 +03:00
Andrew Dolgov ddfa39015e experimental: add preference to show combined mode headlines as a 2 column grid 2021-03-10 08:33:56 +03:00
Andrew Dolgov 6ec66d0ce5 set border color on that too 2021-03-09 18:59:49 +03:00
Andrew Dolgov f804caec90 support coloring counters by feed-id/is-cat; set fresh counter to green 2021-03-09 18:55:28 +03:00
Andrew Dolgov ae7b87bca9 add HOOK_HEADLINE_MUTATIONS, HOOK_HEADLINE_MUTATIONS_SYNCED 2021-03-09 17:01:22 +03:00