Andrew Dolgov
|
ac6a59914b
|
nsfw: support API clients
|
2021-03-07 13:22:38 +03:00 |
Andrew Dolgov
|
217922899d
|
set some more type hints
|
2021-03-06 15:23:54 +03:00 |
Andrew Dolgov
|
270f0c3132
|
general cleanup, set some type hints
|
2021-03-06 15:19:31 +03:00 |
Andrew Dolgov
|
6f93c45c28
|
use orm in some more places; prevent _get_cat_title from hitting the db for uncategorized
|
2021-03-02 20:07:31 +03:00 |
Andrew Dolgov
|
c4eaab8a31
|
feeds/_add_cat: use ORM
|
2021-03-02 10:24:15 +03:00 |
Andrew Dolgov
|
7cf12233d7
|
use ORM when subscribing feeds
|
2021-03-02 10:11:42 +03:00 |
Andrew Dolgov
|
2005a7bf4f
|
revise behavior of Feeds::_cat_of
|
2021-03-02 09:36:44 +03:00 |
Andrew Dolgov
|
84d8b08d1f
|
use orm for feed access keys
|
2021-03-02 08:26:37 +03:00 |
Andrew Dolgov
|
031ee47a3e
|
don't try to pass string literal NOW() to ORM as a timestamp
|
2021-03-01 23:07:20 +03:00 |
Andrew Dolgov
|
b150e46a52
|
revert back load_filters-related changes
|
2021-03-01 22:25:41 +03:00 |
Andrew Dolgov
|
56f658711f
|
use orm for a bunch of short feed/cat queries
|
2021-03-01 20:25:53 +03:00 |
Andrew Dolgov
|
8b1a2406e6
|
userhelper: use orm for a few more user-related things
|
2021-03-01 19:32:27 +03:00 |
Andrew Dolgov
|
afc7142250
|
move all $fetch globals to UrlHelper
|
2021-02-28 10:12:57 +03:00 |
Andrew Dolgov
|
cf5c7c4f29
|
feeds/add: hide php8 warning
|
2021-02-27 14:16:49 +03:00 |
Andrew Dolgov
|
6d06450649
|
don't rely only on label_cache contents when displaying headline labels
|
2021-02-27 10:58:11 +03:00 |
Andrew Dolgov
|
d577eb898c
|
when browsing by tags, return same set of columns as normally
|
2021-02-26 15:45:30 +03:00 |
Andrew Dolgov
|
4896874bda
|
_get_headlines: don't try to use _SESSION uid
|
2021-02-26 13:52:16 +03:00 |
Andrew Dolgov
|
3ab664f846
|
feeds/view: silence view_mode warning
|
2021-02-26 10:02:25 +03:00 |
Andrew Dolgov
|
f3d4bae32e
|
add an option to disable DISTINCT on headlines query (unless it's Labels category)
|
2021-02-26 09:57:34 +03:00 |
Andrew Dolgov
|
56b10fea18
|
pass translations to frontend as a json object
|
2021-02-26 09:21:17 +03:00 |
Andrew Dolgov
|
a1ca62af50
|
cache schema version better
|
2021-02-25 21:42:05 +03:00 |
Andrew Dolgov
|
22ae284db4
|
reduce overall amount of unnecessary database queries
|
2021-02-25 21:27:16 +03:00 |
Andrew Dolgov
|
c96172fa04
|
use constants in get_pref()/set_pref()
|
2021-02-25 14:49:58 +03:00 |
Andrew Dolgov
|
5aa05c90e1
|
pref-prefs: use constants instead of hardcoded strings
|
2021-02-25 14:45:11 +03:00 |
Andrew Dolgov
|
553548b689
|
request label counters conditionally
|
2021-02-24 15:07:31 +03:00 |
Andrew Dolgov
|
e468e5a589
|
cats_of: enforce owner_uid
|
2021-02-24 10:09:08 +03:00 |
Andrew Dolgov
|
6ea1430a04
|
no special counter handling for catchupAll
|
2021-02-24 10:01:39 +03:00 |
Andrew Dolgov
|
e6505b7d83
|
_cats_of: only request parents if needed
|
2021-02-24 09:56:59 +03:00 |
Andrew Dolgov
|
d6203bf350
|
try to calculate counters conditionally based on feed ids
|
2021-02-24 09:47:26 +03:00 |
Andrew Dolgov
|
8d2e3c2528
|
drop errors.php and simplify error handling
|
2021-02-23 22:26:07 +03:00 |
Andrew Dolgov
|
211f699aa0
|
migrate the rest into Config::
|
2021-02-22 22:35:27 +03:00 |
Andrew Dolgov
|
e4107ac952
|
wip: initial for config object
|
2021-02-22 21:47:48 +03:00 |
Andrew Dolgov
|
be4e7b1340
|
fix several issues reported by phpstan
|
2021-02-22 14:41:09 +03:00 |
Andrew Dolgov
|
545bcc3e4b
|
bookmarklets: cleanup some more markup
|
2021-02-20 08:49:40 +03:00 |
Andrew Dolgov
|
cf249d7e8c
|
modify classname helpers to use element.classList; fix feed debugger & share--get
|
2021-02-19 19:29:43 +03:00 |
Andrew Dolgov
|
737cffc241
|
render feed icon markup on the client
|
2021-02-19 17:40:11 +03:00 |
Andrew Dolgov
|
d445530fa0
|
format note on the client
|
2021-02-19 17:15:22 +03:00 |
Andrew Dolgov
|
e73779fec1
|
render tags on the client
|
2021-02-19 15:31:50 +03:00 |
Andrew Dolgov
|
131f34648d
|
render headline labels on the client
|
2021-02-19 15:03:48 +03:00 |
Andrew Dolgov
|
c088e9d9d8
|
get rid of a few more prototype-isms
|
2021-02-18 22:23:06 +03:00 |
Andrew Dolgov
|
b16abc157e
|
* App: rename hidden to hidden_tag
* search: use client dialog
* add some form field helpers
|
2021-02-17 19:34:54 +03:00 |
Andrew Dolgov
|
92cb91e2e2
|
search dialog: bring back id of language dropdown
|
2021-02-17 16:33:28 +03:00 |
Andrew Dolgov
|
7fad6ce651
|
move rgb/hsl functions to their own namespace
|
2021-02-16 17:07:23 +03:00 |
Andrew Dolgov
|
bdbbdbb0ed
|
rework controls to accept parameters as array
|
2021-02-16 16:59:21 +03:00 |
Andrew Dolgov
|
1f5d81b77c
|
use a few more control helpers for checkboxes
|
2021-02-16 15:19:42 +03:00 |
Andrew Dolgov
|
d7127cead3
|
feed debugger: use hidden helpers; add button helpers
|
2021-02-16 14:42:27 +03:00 |
Andrew Dolgov
|
26d6b84a57
|
add namespaced controls with unified naming; deprecated old-style control shortcuts
|
2021-02-16 14:23:00 +03:00 |
Andrew Dolgov
|
88f7c4f1a5
|
feeds/view: fix php8 warning
|
2021-02-16 10:11:58 +03:00 |
Andrew Dolgov
|
9f55454f63
|
remove the rest of db.php; rename some leftover methods in feeds
|
2021-02-15 16:51:35 +03:00 |
Andrew Dolgov
|
166f2d4666
|
diskcache: unify naming
|
2021-02-15 16:11:30 +03:00 |