Commit Graph

23 Commits (master)

Author SHA1 Message Date
Andrew Dolgov 6f93c45c28 use orm in some more places; prevent _get_cat_title from hitting the db for uncategorized 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 d6203bf350 try to calculate counters conditionally based on feed ids 3 years ago
Andrew Dolgov d4157b9e4e counters: just merge everything at once 3 years ago
Andrew Dolgov 71f2f4288f counters: one more 3 years ago
Andrew Dolgov 5704deb460 counters: unify naming 3 years ago
Andrew Dolgov 020f062a76 feeds: unify naming 3 years ago
Andrew Dolgov 41fc03287e fix even more warnings reported by phpstan 3 years ago
Andrew Dolgov 215f388992 move timestamp-related stuff to a separate class 4 years ago
Andrew Dolgov 6811d0bde2 use self:: in some places to invoke static methods from the same class 4 years ago
Andrew Dolgov e3adacc588 fix several cases of Db class being invoked as wrong name (as DB) 4 years ago
Andrew Dolgov 67f02e2aa7 properly return counters for labels with zero assigned articles
refs https://community.tt-rss.org/t/label-counter-doesnt-update-when-count-goes-down-to-zero/3766
4 years ago
Andrew Dolgov 5f30061c92 properly calculate marked counters for feeds in nested categories 4 years ago
Andrew Dolgov 60288f02e8 1. feedtree: show counters for marked articles if view-mode == marked
2. hide/show relevant counter nodes using css
3. cleanup some counter-related code
4. compile default css into light theme to prevent cache-related issues
4 years ago
Andrew Dolgov 47135160d1 getCategoryCounters: properly handle categories which don't have any stored feeds/articles 4 years ago
Andrew Dolgov a6ced36189 getCategoryCounters: properly calculate counters for child subcategory entries
getCategoryUnread: cleanup
4 years ago
Andrew Dolgov 2f6741e49a getFeedCounters: pass parameter correctly to PDO 4 years ago
Andrew Dolgov 6080cca9ca scrap counter cache system; rework counters to sum() booleans instead 4 years ago
Théophile Helleboid - chtitux c70dc852a1 Be explicit when id column is ambiguous 6 years ago
Andrew Dolgov fa3bcfa379 queryfeedheadlines: there's no need to quote order_by/override_order
else: feedicon cache busting etc
7 years ago
Andrew Dolgov a25ac0d7c8 counters: PDO 7 years ago
Andrew Dolgov 65af3b2cbb move counter stuff to a separate class 7 years ago