Andrew Dolgov
|
e18295a364
|
more tracing
|
2023-04-09 22:15:16 +03:00 |
Andrew Dolgov
|
53bd56894d
|
make phpstan happy
|
2023-04-06 15:55:00 +03:00 |
Andrew Dolgov
|
af5c64045b
|
add simple autocompleter for tags
|
2023-04-06 15:51:09 +03:00 |
Andrew Dolgov
|
d373b7b452
|
* bring back cache-busting for feed icons based on timestamp
* DiskCache: use singleton pattern to create less cache object instances
* DiskCache: implement ETag
|
2022-12-19 21:36:50 +03:00 |
Andrew Dolgov
|
94c49399cc
|
get_self_url: strip all trailing slashes
|
2022-11-28 19:24:12 +03:00 |
wn_
|
3487c922b3
|
Replace use of 'array_merge' with the spread operator and 'array_push' in various places.
This isn't supported for arrays with string keys until PHP 8.1.
https://wiki.php.net/rfc/spread_operator_for_array
|
2022-08-12 17:58:38 +00:00 |
Andrew Dolgov
|
ad30d39e2a
|
not dead: Article.assigntolabel etc are exported methods called by frontend (Headlines.js)
|
2021-11-16 15:45:35 +03:00 |
wn_
|
d78ba7b3a9
|
Minor fix in 'classes/articles.php'.
It looks like these functions are dead code, though. Adding comments for future review.
|
2021-11-16 02:14:31 +00:00 |
wn_
|
109b702ed0
|
Minor fix to DOMNodeList#item() potential type (null vs false)
|
2021-11-15 12:24:38 +00:00 |
Andrew Dolgov
|
aa924d9ee7
|
deal with several DOMElement-related errors
|
2021-11-15 08:26:02 +03:00 |
wn_
|
78acf18b70
|
Address PHPStan warnings in FeedItem classes.
|
2021-11-15 02:40:45 +00:00 |
wn_
|
b37a03fb31
|
Fix the type of Labels::update_cache()
|
2021-11-13 15:56:31 +00:00 |
wn_
|
9db5e402a0
|
Address PHPStan warnings in 'classes/rpc.php'.
Also a couple minor fixes in 'classes/article.php' and 'classes/labels.php'.
|
2021-11-12 05:42:55 +00:00 |
wn_
|
57bf56f794
|
Address PHPStan warnings in 'classes/article.php'.
Also related changes in some other classes.
|
2021-11-12 01:50:40 +00:00 |
Andrew Dolgov
|
72c04123d4
|
HOOK_ARTICLE_IMAGE: stop after first provided match
|
2021-03-07 14:19:00 +03:00 |
Andrew Dolgov
|
ac6a59914b
|
nsfw: support API clients
|
2021-03-07 13:22:38 +03:00 |
Andrew Dolgov
|
20d0cbff77
|
use ORM for article _labels_of/_feeds_of
|
2021-03-02 12:08:54 +03:00 |
Andrew Dolgov
|
f097ae608d
|
article/redirect: use orm (cast id to int)
|
2021-03-02 09:31:57 +03:00 |
Andrew Dolgov
|
3bab5ca6b1
|
article/redirect: use orm
|
2021-03-02 09:31:23 +03:00 |
Andrew Dolgov
|
cd962dfa00
|
delete Article getScore (seems to be unused)
|
2021-03-01 20:32:44 +03:00 |
Andrew Dolgov
|
c96172fa04
|
use constants in get_pref()/set_pref()
|
2021-02-25 14:49:58 +03:00 |
Andrew Dolgov
|
553548b689
|
request label counters conditionally
|
2021-02-24 15:07:31 +03:00 |
Andrew Dolgov
|
8b09e653e0
|
pass array to setScore
|
2021-02-24 12:10:09 +03:00 |
Andrew Dolgov
|
d6203bf350
|
try to calculate counters conditionally based on feed ids
|
2021-02-24 09:47:26 +03:00 |
Andrew Dolgov
|
e4107ac952
|
wip: initial for config object
|
2021-02-22 21:47:48 +03:00 |
Andrew Dolgov
|
33fff26869
|
reinstate HOOK_RENDER_ENCLOSURE
|
2021-02-22 10:00:50 +03:00 |
Andrew Dolgov
|
39be169f0b
|
also disable Article.completeTags
|
2021-02-20 13:39:17 +03:00 |
Andrew Dolgov
|
d445530fa0
|
format note on the client
|
2021-02-19 17:15:22 +03:00 |
Andrew Dolgov
|
4fa8450d38
|
setArticleTags: always return tags from the db
|
2021-02-19 15:50:42 +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
|
cca84aedfd
|
_format_enclosures: always return entries array
|
2021-02-16 10:18:50 +03:00 |
Andrew Dolgov
|
166f2d4666
|
diskcache: unify naming
|
2021-02-15 16:11:30 +03:00 |
Andrew Dolgov
|
257efb43c6
|
article: unify naming
|
2021-02-15 15:52:28 +03:00 |
Andrew Dolgov
|
ecb36b6354
|
edit tags: use client dialog
|
2021-02-15 14:50:40 +03:00 |
Andrew Dolgov
|
82adb01307
|
render enclosures on the client
|
2021-02-15 14:10:46 +03:00 |
Joseph
|
68e2ccb354
|
Lazy load image attachments
|
2021-02-14 17:31:01 +00:00 |
Andrew Dolgov
|
eec5871f5f
|
fail better if requested article URL is blank
|
2021-02-13 10:10:44 +03:00 |
Andrew Dolgov
|
72e38bfe1f
|
rework a few more dialogs to use App.dialogOf()
|
2021-02-12 09:56:27 +03:00 |
Andrew Dolgov
|
f6f0f21664
|
make ARTICLE_KIND_ constants class members
|
2021-02-09 08:24:46 +03:00 |
Andrew Dolgov
|
a14873d5b4
|
more hooks, also add type hint for PluginHost::getInstance()
|
2021-02-08 21:06:14 +03:00 |
Andrew Dolgov
|
54bbd08f38
|
some more hooks
|
2021-02-08 20:45:11 +03:00 |
Andrew Dolgov
|
3b52cea811
|
move some old-style handlers to new callback ones
|
2021-02-08 16:14:48 +03:00 |
Andrew Dolgov
|
41fc03287e
|
fix even more warnings reported by phpstan
|
2021-02-06 17:56:47 +03:00 |
Andrew Dolgov
|
403dca154c
|
initial WIP for php8; bump php version requirement to 7.0
|
2021-02-05 23:41:32 +03:00 |
Andrew Dolgov
|
40f38fc87f
|
pluginhost: load plugin data automatically (also marks load_data method as private)
|
2021-01-15 08:32:06 +03:00 |
Andrew Dolgov
|
f59c567831
|
update_rss_feed: fix BLACKLISTED_TAGS not working properly, simplify tag-related code
|
2020-12-20 23:12:45 +03:00 |
Andrew Dolgov
|
7608f3d7b0
|
Merge branch 'master' of git.fakecake.org:tt-rss
|
2020-12-08 13:55:11 +03:00 |
Andrew Dolgov
|
2edfcbbd85
|
get_article_image: add support for ARTICLE_KIND_ALBUM
|
2020-12-08 13:54:52 +03:00 |
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
|
2020-12-07 23:35:37 +03:00 |