Andrew Dolgov
20d0cbff77
use ORM for article _labels_of/_feeds_of
4 years ago
Andrew Dolgov
f097ae608d
article/redirect: use orm (cast id to int)
4 years ago
Andrew Dolgov
3bab5ca6b1
article/redirect: use orm
4 years ago
Andrew Dolgov
cd962dfa00
delete Article getScore (seems to be unused)
4 years ago
Andrew Dolgov
c96172fa04
use constants in get_pref()/set_pref()
4 years ago
Andrew Dolgov
553548b689
request label counters conditionally
4 years ago
Andrew Dolgov
8b09e653e0
pass array to setScore
4 years ago
Andrew Dolgov
d6203bf350
try to calculate counters conditionally based on feed ids
4 years ago
Andrew Dolgov
e4107ac952
wip: initial for config object
4 years ago
Andrew Dolgov
33fff26869
reinstate HOOK_RENDER_ENCLOSURE
4 years ago
Andrew Dolgov
39be169f0b
also disable Article.completeTags
4 years ago
Andrew Dolgov
d445530fa0
format note on the client
4 years ago
Andrew Dolgov
4fa8450d38
setArticleTags: always return tags from the db
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
cca84aedfd
_format_enclosures: always return entries array
4 years ago
Andrew Dolgov
166f2d4666
diskcache: unify naming
4 years ago
Andrew Dolgov
257efb43c6
article: unify naming
4 years ago
Andrew Dolgov
ecb36b6354
edit tags: use client dialog
4 years ago
Andrew Dolgov
82adb01307
render enclosures on the client
4 years ago
Joseph
68e2ccb354
Lazy load image attachments
4 years ago
Andrew Dolgov
eec5871f5f
fail better if requested article URL is blank
4 years ago
Andrew Dolgov
72e38bfe1f
rework a few more dialogs to use App.dialogOf()
4 years ago
Andrew Dolgov
f6f0f21664
make ARTICLE_KIND_ constants class members
4 years ago
Andrew Dolgov
a14873d5b4
more hooks, also add type hint for PluginHost::getInstance()
4 years ago
Andrew Dolgov
54bbd08f38
some more hooks
4 years ago
Andrew Dolgov
3b52cea811
move some old-style handlers to new callback ones
4 years ago
Andrew Dolgov
41fc03287e
fix even more warnings reported by phpstan
4 years ago
Andrew Dolgov
403dca154c
initial WIP for php8; bump php version requirement to 7.0
4 years ago
Andrew Dolgov
40f38fc87f
pluginhost: load plugin data automatically (also marks load_data method as private)
4 years ago
Andrew Dolgov
f59c567831
update_rss_feed: fix BLACKLISTED_TAGS not working properly, simplify tag-related code
4 years ago
Andrew Dolgov
7608f3d7b0
Merge branch 'master' of git.fakecake.org:tt-rss
4 years ago
Andrew Dolgov
2edfcbbd85
get_article_image: add support for ARTICLE_KIND_ALBUM
4 years ago
Andrew Dolgov
85b788709a
setArticleTags: prevent duplicate tags being assigned if called twice
...
editTagsDlg: prevent dialot from being submitted twice
normalize_categories: filter out empty values that failed validation
4 years ago
Andrew Dolgov
e40b79ab33
get_article_image: return basic kind to which flavor image belongs
4 years ago
Andrew Dolgov
6811d0bde2
use self:: in some places to invoke static methods from the same class
4 years ago
Andrew Dolgov
a4525d31b2
replace FALSE with false so that static analyzer shuts up about it
4 years ago
Andrew Dolgov
e3adacc588
fix several cases of Db class being invoked as wrong name (as DB)
4 years ago
Andrew Dolgov
42b5564d1e
editarticletags: load dialog via XHR
4 years ago
Andrew Dolgov
e670ac2ee5
require CSRF token for Article/redirect
4 years ago
Andrew Dolgov
d01ad09800
eslint-related fixes; move a few things from global context to App
5 years ago
Andrew Dolgov
6080cca9ca
scrap counter cache system; rework counters to sum() booleans instead
5 years ago
Andrew Dolgov
304d3a0b88
tag-related fixes
...
1. move tag sanitization to feedparser common item class
2. enforce length limit on tags when parsing
3. support multiple tags passed via one dc:subject and other such elements, parse them as a comma-separated list
4. sort resulting tag list to prevent different order between feed updates
5. remove some duplicate code related to tag validation
6. allow + symbol in tags
5 years ago
Andrew Dolgov
5648b836aa
HOOK_ARTICLE_IMAGE: allow hooks to modify article content
5 years ago
Andrew Dolgov
9d852e052c
add HOOK_ARTICLE_IMAGE for Article::get_article_image()
5 years ago
Andrew Dolgov
ffb842f752
Article::get_article_image() - provide cached URLs if possible
5 years ago
Andrew Dolgov
150b040dad
Article::get_article_image() - set default to "" instead of "false"
5 years ago
Andrew Dolgov
d4df57e1a4
Article::get_article_image() - also return stream URI if possible
5 years ago
Andrew Dolgov
68e2b05f65
* move get_article_image to Article; implement better og:image detection (similar to android app)
...
* pass article image to API clients in headlines row object
5 years ago
Andrew Dolgov
3c075bfd21
DiskCache: more strict checking for input filenames, getUrl() is no longer static
5 years ago