Andrew Dolgov
b2f888e386
include archived articles (which lack associated feed id) when browsing by tag
4 years ago
wn_
5d5c034a90
Adjust quotation marks in search query before 'str_getcsv'.
...
This moves a potential first quotation mark to before the associated keyword to ensure 'str_getcsv' groups the key and value correctly. Without this 'str_getcsv' would split on potential spaces within the quoted value.
4 years ago
Andrew Dolgov
ac6a59914b
nsfw: support API clients
4 years ago
Andrew Dolgov
217922899d
set some more type hints
4 years ago
Andrew Dolgov
270f0c3132
general cleanup, set some type hints
4 years ago
Andrew Dolgov
6f93c45c28
use orm in some more places; prevent _get_cat_title from hitting the db for uncategorized
4 years ago
Andrew Dolgov
c4eaab8a31
feeds/_add_cat: use ORM
4 years ago
Andrew Dolgov
7cf12233d7
use ORM when subscribing feeds
4 years ago
Andrew Dolgov
2005a7bf4f
revise behavior of Feeds::_cat_of
4 years ago
Andrew Dolgov
84d8b08d1f
use orm for feed access keys
4 years ago
Andrew Dolgov
031ee47a3e
don't try to pass string literal NOW() to ORM as a timestamp
4 years ago
Andrew Dolgov
b150e46a52
revert back load_filters-related changes
4 years ago
Andrew Dolgov
56f658711f
use orm for a bunch of short feed/cat queries
4 years ago
Andrew Dolgov
8b1a2406e6
userhelper: use orm for a few more user-related things
4 years ago
Andrew Dolgov
afc7142250
move all $fetch globals to UrlHelper
4 years ago
Andrew Dolgov
cf5c7c4f29
feeds/add: hide php8 warning
4 years ago
Andrew Dolgov
6d06450649
don't rely only on label_cache contents when displaying headline labels
4 years ago
Andrew Dolgov
d577eb898c
when browsing by tags, return same set of columns as normally
4 years ago
Andrew Dolgov
4896874bda
_get_headlines: don't try to use _SESSION uid
4 years ago
Andrew Dolgov
3ab664f846
feeds/view: silence view_mode warning
4 years ago
Andrew Dolgov
f3d4bae32e
add an option to disable DISTINCT on headlines query (unless it's Labels category)
4 years ago
Andrew Dolgov
56b10fea18
pass translations to frontend as a json object
4 years ago
Andrew Dolgov
a1ca62af50
cache schema version better
4 years ago
Andrew Dolgov
22ae284db4
reduce overall amount of unnecessary database queries
4 years ago
Andrew Dolgov
c96172fa04
use constants in get_pref()/set_pref()
4 years ago
Andrew Dolgov
5aa05c90e1
pref-prefs: use constants instead of hardcoded strings
4 years ago
Andrew Dolgov
553548b689
request label counters conditionally
4 years ago
Andrew Dolgov
e468e5a589
cats_of: enforce owner_uid
4 years ago
Andrew Dolgov
6ea1430a04
no special counter handling for catchupAll
4 years ago
Andrew Dolgov
e6505b7d83
_cats_of: only request parents if needed
4 years ago
Andrew Dolgov
d6203bf350
try to calculate counters conditionally based on feed ids
4 years ago
Andrew Dolgov
8d2e3c2528
drop errors.php and simplify error handling
4 years ago
Andrew Dolgov
211f699aa0
migrate the rest into Config::
4 years ago
Andrew Dolgov
e4107ac952
wip: initial for config object
4 years ago
Andrew Dolgov
be4e7b1340
fix several issues reported by phpstan
4 years ago
Andrew Dolgov
545bcc3e4b
bookmarklets: cleanup some more markup
4 years ago
Andrew Dolgov
cf249d7e8c
modify classname helpers to use element.classList; fix feed debugger & share--get
4 years ago
Andrew Dolgov
737cffc241
render feed icon markup on the client
4 years ago
Andrew Dolgov
d445530fa0
format note on the client
4 years ago
Andrew Dolgov
e73779fec1
render tags on the client
4 years ago
Andrew Dolgov
131f34648d
render headline labels on the client
4 years ago
Andrew Dolgov
c088e9d9d8
get rid of a few more prototype-isms
4 years ago
Andrew Dolgov
b16abc157e
* App: rename hidden to hidden_tag
...
* search: use client dialog
* add some form field helpers
4 years ago
Andrew Dolgov
92cb91e2e2
search dialog: bring back id of language dropdown
4 years ago
Andrew Dolgov
7fad6ce651
move rgb/hsl functions to their own namespace
4 years ago
Andrew Dolgov
bdbbdbb0ed
rework controls to accept parameters as array
4 years ago
Andrew Dolgov
1f5d81b77c
use a few more control helpers for checkboxes
4 years ago
Andrew Dolgov
d7127cead3
feed debugger: use hidden helpers; add button helpers
4 years ago
Andrew Dolgov
26d6b84a57
add namespaced controls with unified naming; deprecated old-style control shortcuts
4 years ago
Andrew Dolgov
88f7c4f1a5
feeds/view: fix php8 warning
4 years ago