Andrew Dolgov
|
d6f604c06c
|
API/catchupFeed: properly pass is_cat as bool
|
2021-11-18 20:02:24 +03:00 |
Andrew Dolgov
|
9ac67c7973
|
API: fix unexpected null being passed to _order_to_override_query
|
2021-11-18 11:01:46 +03:00 |
Andrew Dolgov
|
b77f6c9a6b
|
API: force methods to return bool to make wrap() mistakes easier to track
|
2021-11-18 10:46:06 +03:00 |
Andrew Dolgov
|
9e469b1642
|
api: a few more returns in login
|
2021-11-18 09:04:08 +03:00 |
Andrew Dolgov
|
10a1d4d879
|
api: don't return errors on login success
|
2021-11-18 09:01:44 +03:00 |
Andrew Dolgov
|
a7983d475e
|
fix phpstan warnings in classes/api.php
|
2021-11-13 17:51:26 +03:00 |
wn_
|
3ba8d964b6
|
Address PHPStan warnings in 'classes/api.php'.
|
2021-11-13 14:15:20 +00:00 |
wn_
|
1ec003ce35
|
Typing IHandler methods, typing Handler_Public, fix type of $feed_id (might be tag).
|
2021-11-13 14:05:48 +00:00 |
wn_
|
763515de79
|
Address PHPStan warnings in 'classes/feeds.php'.
Also some minor related tweaks in other classes.
|
2021-11-12 04:48:06 +00:00 |
wn_
|
03495c11ed
|
Address PHPStan warnings in 'classes/sanitizer.php'.
This also includes some minor tweaks to things that call 'Sanitizer::sanitize()'.
|
2021-11-11 19:59:25 +00:00 |
Andrew Dolgov
|
9f734c9050
|
minor phpstan tweaks
|
2021-10-22 13:49:08 +03:00 |
Andrew Dolgov
|
295fc1f88a
|
API: bump api level to 17
|
2021-05-18 16:55:00 +03:00 |
Andrew Dolgov
|
2adf364c2c
|
provide base configuration object in login response to skip on initial getConfig
|
2021-05-18 16:54:33 +03:00 |
Andrew Dolgov
|
57cd8acfc9
|
API: return custom sort types in getConfig
|
2021-05-18 16:36:56 +03:00 |
wn_
|
711e8e70e0
|
Switch most of API to ORM
'updateArticle' was left as-is due to Idiorm not supporting efficient multi-row updating (i.e. it would do an UPDATE per row).
|
2021-03-20 14:00:53 +00:00 |
Andrew Dolgov
|
fcce1c443e
|
api: don't try to pass null site_url to Article::_get_image()
|
2021-03-12 17:15:45 +03:00 |
Andrew Dolgov
|
ef03f8188c
|
api: add support for setting score (bump api level to 16)
|
2021-03-08 13:45:15 +03:00 |
Andrew Dolgov
|
ac6a59914b
|
nsfw: support API clients
|
2021-03-07 13:22:38 +03:00 |
sam302psu
|
57fdf032e9
|
changed skip and limit to coalesce to 0 instead of ""
|
2021-03-02 18:44:13 +03:00 |
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 |