sam302psu
|
8f8142df29
|
Fix undefined array key warnings when using iOS app
Use coalesce operator and empty string/default value to fix undefined array key warnings filling up logs when using iOS app to access api.
|
2021-03-02 17:36:57 +03:00 |
Andrew Dolgov
|
320503dd39
|
move version-related stuff to Config; fix conditional feed requests
|
2021-03-01 13:43:37 +03:00 |
Andrew Dolgov
|
b05d4e3d9f
|
speed up plugin updating a bit, fix some phpstan warnings
|
2021-02-28 21:50:05 +03:00 |
Andrew Dolgov
|
59c14e9c00
|
api: remove base64 encoded passwords (wtf), log all authentication failures in userhelper
|
2021-02-25 15:39:46 +03:00 |
Andrew Dolgov
|
efd196839a
|
stop caching schema version entirely, fix some session_start() related warnings
|
2021-02-25 15:28:27 +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
|
8d2e3c2528
|
drop errors.php and simplify error handling
|
2021-02-23 22:26:07 +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
|
22fe9b54d2
|
feed editor: use client dialog
|
2021-02-20 13:32:09 +03:00 |
Andrew Dolgov
|
d1c83fad14
|
api: unify naming
|
2021-02-15 16:18:17 +03:00 |
Andrew Dolgov
|
166f2d4666
|
diskcache: unify naming
|
2021-02-15 16:11:30 +03:00 |
Andrew Dolgov
|
5704deb460
|
counters: unify naming
|
2021-02-15 16:00:54 +03:00 |
Andrew Dolgov
|
257efb43c6
|
article: unify naming
|
2021-02-15 15:52:28 +03:00 |
Andrew Dolgov
|
020f062a76
|
feeds: unify naming
|
2021-02-15 15:43:07 +03:00 |
Andrew Dolgov
|
82adb01307
|
render enclosures on the client
|
2021-02-15 14:10:46 +03:00 |
Andrew Dolgov
|
868b9b476e
|
api: rewrite article urls at the very end to prevent plugins which expect source URLs from breaking
|
2021-02-15 09:40:43 +03:00 |
Andrew Dolgov
|
52a86c5e38
|
Revert "api: get flavor image from plugin-processed content"
This reverts commit a4604e892c .
|
2021-02-15 08:49:12 +03:00 |
Andrew Dolgov
|
a4604e892c
|
api: get flavor image from plugin-processed content
|
2021-02-15 08:28:46 +03:00 |
Andrew Dolgov
|
a8cc43a0ff
|
move logout_user() to UserHelper
|
2021-02-14 15:31:03 +03:00 |
Philip Klempin
|
ace19c0790
|
Add defaults to api.php variables
|
2021-02-12 10:59:30 +01:00 |
Andrew Dolgov
|
09e9f34bb4
|
add UserHelper::find_user_by_login() and rewrite some user checks to invoke it instead of going through PDO
|
2021-02-11 10:22:27 +03:00 |
Andrew Dolgov
|
7af8744c85
|
authentication: make logins case-insensitive (force lowercase)
|
2021-02-11 09:57:57 +03:00 |
Andrew Dolgov
|
2f8efab275
|
api: one more php8 warning
|
2021-02-09 12:04:59 +03:00 |
Andrew Dolgov
|
6a25bc53ef
|
api: pass hook object payload by reference
|
2021-02-09 08:57:23 +03:00 |
Andrew Dolgov
|
3655e7aaf1
|
api: fix some php8 warnings (4)
|
2021-02-09 08:50:51 +03:00 |
Andrew Dolgov
|
aba028a375
|
api: fix some php8 warnings (3)
|
2021-02-09 08:47:41 +03:00 |
Andrew Dolgov
|
0871a51cb4
|
api: fix some php8 warnings (2)
|
2021-02-09 08:16:04 +03:00 |
Andrew Dolgov
|
63a90d26f3
|
api: fix some php8 warnings
|
2021-02-09 08:15:07 +03:00 |
Andrew Dolgov
|
7874f6ac58
|
remove PHPMD.UnusedFormalParameter
|
2021-02-08 19:42:10 +03:00 |
Andrew Dolgov
|
fa2ebcd0a2
|
api: rewrite a few more hooks
|
2021-02-08 17:03:34 +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
|
a8302fb253
|
use X-Real-IP headers if possible while authenticating
|
2021-01-05 10:17:24 +03:00 |
Andrew Dolgov
|
e40b79ab33
|
get_article_image: return basic kind to which flavor image belongs
|
2020-12-07 12:09:06 +03:00 |
Andrew Dolgov
|
935f163919
|
api: catchupfeed: allow passing 'mode' (optional), bump api version
|
2020-10-03 10:23:21 +03:00 |
Andrew Dolgov
|
6811d0bde2
|
use self:: in some places to invoke static methods from the same class
|
2020-09-22 14:54:15 +03:00 |
Andrew Dolgov
|
74568df4ff
|
remove a lot of stuff from global context (functions.php), add a few helper classes instead
|
2020-09-22 09:04:33 +03:00 |
Andrew Dolgov
|
dfa65e9374
|
move order_by to SQL override logic into a separate function
|
2020-08-13 11:52:32 +03:00 |
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
|
2020-08-11 13:29:09 +03:00 |
Paco Esteban
|
c4ee0e25a1
|
more int/string type mismatches on getCategories
|
2020-08-01 16:30:10 +02:00 |
Paco Esteban
|
3da618e0ea
|
make sure all ints are casted (to int) on getCategories
|
2020-07-31 16:15:16 +02:00 |
Andrew Dolgov
|
6080cca9ca
|
scrap counter cache system; rework counters to sum() booleans instead
|
2020-01-24 14:25:31 +03:00 |
Andrew Dolgov
|
b1c5ebdace
|
API/getVersion: don't try to use removed VERSION constant
|
2020-01-05 09:42:57 +03:00 |
Andrew Dolgov
|
68b0380118
|
add placeholder authentication via app passwords if service is passed
forbid logins via regular passwords for services
remove AUTH_DISABLE_OTP
|
2019-11-01 13:03:06 +03:00 |
Andrew Dolgov
|
e46ed1ff97
|
API/getHeadlines: fix order of returned feeds to be consistent with main UI
|
2019-08-15 19:06:38 +03:00 |
Andrew Dolgov
|
d4df57e1a4
|
Article::get_article_image() - also return stream URI if possible
|
2019-08-14 17:04:14 +03:00 |
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
|
2019-08-14 16:55:38 +03:00 |
Andrew Dolgov
|
133c2b482b
|
move rewrite_cached_urls to DiskCache::rewriteUrls()
|
2019-08-13 12:46:57 +03:00 |