Andrew Dolgov
|
52a86c5e38
|
Revert "api: get flavor image from plugin-processed content"
This reverts commit a4604e892c .
|
4 years ago |
Andrew Dolgov
|
a4604e892c
|
api: get flavor image from plugin-processed content
|
4 years ago |
Andrew Dolgov
|
a8cc43a0ff
|
move logout_user() to UserHelper
|
4 years ago |
Philip Klempin
|
ace19c0790
|
Add defaults to api.php variables
|
4 years ago |
Andrew Dolgov
|
09e9f34bb4
|
add UserHelper::find_user_by_login() and rewrite some user checks to invoke it instead of going through PDO
|
4 years ago |
Andrew Dolgov
|
7af8744c85
|
authentication: make logins case-insensitive (force lowercase)
|
4 years ago |
Andrew Dolgov
|
2f8efab275
|
api: one more php8 warning
|
4 years ago |
Andrew Dolgov
|
6a25bc53ef
|
api: pass hook object payload by reference
|
4 years ago |
Andrew Dolgov
|
3655e7aaf1
|
api: fix some php8 warnings (4)
|
4 years ago |
Andrew Dolgov
|
aba028a375
|
api: fix some php8 warnings (3)
|
4 years ago |
Andrew Dolgov
|
0871a51cb4
|
api: fix some php8 warnings (2)
|
4 years ago |
Andrew Dolgov
|
63a90d26f3
|
api: fix some php8 warnings
|
4 years ago |
Andrew Dolgov
|
7874f6ac58
|
remove PHPMD.UnusedFormalParameter
|
4 years ago |
Andrew Dolgov
|
fa2ebcd0a2
|
api: rewrite a few more hooks
|
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
|
a8302fb253
|
use X-Real-IP headers if possible while authenticating
|
4 years ago |
Andrew Dolgov
|
e40b79ab33
|
get_article_image: return basic kind to which flavor image belongs
|
4 years ago |
Andrew Dolgov
|
935f163919
|
api: catchupfeed: allow passing 'mode' (optional), bump api version
|
4 years ago |
Andrew Dolgov
|
6811d0bde2
|
use self:: in some places to invoke static methods from the same class
|
4 years ago |
Andrew Dolgov
|
74568df4ff
|
remove a lot of stuff from global context (functions.php), add a few helper classes instead
|
4 years ago |
Andrew Dolgov
|
dfa65e9374
|
move order_by to SQL override logic into a separate function
|
4 years ago |
Andrew Dolgov
|
48be005774
|
instead of taking batch timestamp and score (?) into account, make oldest first sorting work consistently with newest first - i.e. rely on feed-provided timestamp
|
4 years ago |
Paco Esteban
|
c4ee0e25a1
|
more int/string type mismatches on getCategories
|
4 years ago |
Paco Esteban
|
3da618e0ea
|
make sure all ints are casted (to int) on getCategories
|
4 years ago |
Andrew Dolgov
|
6080cca9ca
|
scrap counter cache system; rework counters to sum() booleans instead
|
5 years ago |
Andrew Dolgov
|
b1c5ebdace
|
API/getVersion: don't try to use removed VERSION constant
|
5 years ago |
Andrew Dolgov
|
68b0380118
|
add placeholder authentication via app passwords if service is passed
forbid logins via regular passwords for services
remove AUTH_DISABLE_OTP
|
5 years ago |
Andrew Dolgov
|
e46ed1ff97
|
API/getHeadlines: fix order of returned feeds to be consistent with main UI
|
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
|
133c2b482b
|
move rewrite_cached_urls to DiskCache::rewriteUrls()
|
5 years ago |
Andrew Dolgov
|
2ab49fec9a
|
API: getHeadlines: return feed_id for Archived entries as 0 instead of null to be consistent with requested feed_id
|
6 years ago |
Andrew Dolgov
|
a291a0c00f
|
API: oops, forgot that headlines could be requested for a tag
|
6 years ago |
Andrew Dolgov
|
70e180e887
|
API: getHeadlines: check for feed_id correctly
|
6 years ago |
Andrew Dolgov
|
2aef804f4b
|
split transparent rewriting of locally cached media URLs to execute after both sanitize() and HOOK_RENDER_ARTICLE to allow plugins work on original source URLs consistently
|
6 years ago |
Andrew Dolgov
|
e6532439d6
|
force strip_tags() on all user input unless explicitly allowed
|
7 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
|
4dc3f7e779
|
api: do not use sql_bool_to_bool()
|
7 years ago |
JustAMacUser
|
1a05210933
|
Fixed PDO query to prepared statement in API::updateArticles.
|
7 years ago |
Andrew Dolgov
|
9652fa6b66
|
API: small fix
|
7 years ago |
Andrew Dolgov
|
3467e1fd7c
|
api: switch to PDO
|
7 years ago |
Andrew Dolgov
|
91f49ba17d
|
api, setArticleLabel: allow JSON booleans
|
7 years ago |
Gilles Grandou
|
81d96c0dee
|
makes 'order by title' to sort by title and by ascending date
* this allows to chronologically browse all articles with the
same title.
|
7 years ago |
Andrew Dolgov
|
c053b97697
|
pref/feeds: start user category ordering from 1
api, getFeeds: send subcategory order_id
|
7 years ago |
Andrew Dolgov
|
5b6ea1ef91
|
remove pubsubhubbub: dead
|
8 years ago |
Andrew Dolgov
|
e6c886bf66
|
wrap rssfuncs into rssutils class
|
8 years ago |
Andrew Dolgov
|
65af3b2cbb
|
move counter stuff to a separate class
|
8 years ago |
Andrew Dolgov
|
7c9b5a3fe4
|
move label stuff to Labels class
fix some unresolved functions
|
8 years ago |
Andrew Dolgov
|
4a0da0e5bf
|
move get_article_labels to Article
|
8 years ago |