Shemi
|
e2f9a3b9a4
|
Added support for api plugins virtual feeds
|
2022-09-29 08:37:56 +03:00 |
powerivq
|
f490bdd17a
|
Fix PHP8 empty param problem
|
2022-08-31 00:36:49 -07: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
|
f7e2f62022
|
fix Feeds::_get_counters() used improperly as a replacement for
getFeedUnread()
|
2022-02-20 12:48:38 +03:00 |
Andrew Dolgov
|
77f39d65b5
|
* Feeds::_get_counters - fix retrieving unread for tags
* mark several symbols as @deprecated properly
* replace uses of (deprecated) getFeedUnread() with Feeds::_get_counters()
|
2022-02-20 11:04:40 +03:00 |
Andrew Dolgov
|
5df8dacf9f
|
api, getHeadlines: properly accept feed_id 0
|
2021-12-01 19:04:42 +03:00 |
Andrew Dolgov
|
409c63dcf8
|
remove mixed type hints from function arguments because we still support PHP7
|
2021-11-29 12:30:33 +03:00 |
Andrew Dolgov
|
28fb571dca
|
* fix showing headlines for tag-based virtual feeds
* API: allow retrieving headlines for tag-based feeds (bump api level to 18)
|
2021-11-29 10:20:13 +03:00 |
Andrew Dolgov
|
a6cad5cbca
|
api: don't try to pass null login/password when subscribing to feed
|
2021-11-23 16:55:21 +03:00 |
fox
|
0a3a464def
|
Merge pull request 'Consistently handle param string to bool conversions in handlers.' (#53) from wn/tt-rss:feature/consistent-param-to-bool into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/53
|
2021-11-19 07:36:15 +03:00 |
Philip Klempin
|
739c3fe760
|
Fix Undefined array key "order_by"
|
2021-11-18 22:33:03 +00:00 |
wn_
|
4a891b20f0
|
Fix 'view_mode' default in API#getHeadlines()
|
2021-11-18 21:31:52 +00:00 |
wn_
|
d532eb773b
|
Switch from null to false as the default for missing bool params.
|
2021-11-18 18:25:04 +00:00 |
wn_
|
2422aae577
|
Consistently handle param string to bool conversions in handlers.
|
2021-11-18 18:09:47 +00:00 |
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 |