<feed xmlns='http://www.w3.org/2005/Atom'>
<title>FreshRSS (Customized)/p/api/greader.php, branch 1.17.0</title>
<subtitle>Customized version of FreshRSS, a self-hosted RSS feed aggregator</subtitle>
<id>https://git.rdnlsmith.com/fresh-rss-custom/atom?h=1.17.0</id>
<link rel='self' href='https://git.rdnlsmith.com/fresh-rss-custom/atom?h=1.17.0'/>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/'/>
<updated>2020-06-20T20:46:27+00:00</updated>
<entry>
<title>API Compatbility Reeder (#3073)</title>
<updated>2020-06-20T20:46:27+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-06-20T20:46:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=5bb47918e352c193dbc111be1f3d8d4fb4897eab'/>
<id>urn:sha1:5bb47918e352c193dbc111be1f3d8d4fb4897eab</id>
<content type='text'>
#fix
https://github.com/FreshRSS/FreshRSS/issues/3031#issuecomment-646973334
Reeder sends e.g. `feed/feed/247`</content>
</entry>
<entry>
<title>API discard common Path Info errors (#3061)</title>
<updated>2020-06-19T21:01:51+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-06-19T21:01:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=a0256023a19c524c5880b91ad08651eca33dc221'/>
<id>urn:sha1:a0256023a19c524c5880b91ad08651eca33dc221</id>
<content type='text'>
Some apps auto-complete `/api/greader.php` while some do not.
Discard common errors instead of failing, to be more user-friendly.
E.g. if the user types the full API URL in Readrops https://github.com/FreshRSS/FreshRSS/issues/3059#issuecomment-644149548</content>
</entry>
<entry>
<title>Add a way to disable/enable users (#3056)</title>
<updated>2020-06-14T17:50:09+00:00</updated>
<author>
<name>Alexis Degrugillier</name>
<email>aledeg@users.noreply.github.com</email>
</author>
<published>2020-06-14T17:50:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=caeb660f29d13db62d5381c262aa03e12f201ea2'/>
<id>urn:sha1:caeb660f29d13db62d5381c262aa03e12f201ea2</id>
<content type='text'>
If you want to block users without deleting their account, you can now
disable them from the interface.</content>
</entry>
<entry>
<title>Fix API quickadd (#3051)</title>
<updated>2020-06-12T22:21:35+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-06-12T22:21:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=e6105fdf61606234aad504e71ea33fa059831093'/>
<id>urn:sha1:e6105fdf61606234aad504e71ea33fa059831093</id>
<content type='text'>
* Fix API quickadd

#fix https://github.com/FreshRSS/FreshRSS/issues/3049

* Response query, streamName</content>
</entry>
<entry>
<title>Fix bad relogging clients (#2961)</title>
<updated>2020-05-08T19:54:45+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-05-08T19:54:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=17539668eac84b9f7b86de036c9e23fa226054d6'/>
<id>urn:sha1:17539668eac84b9f7b86de036c9e23fa226054d6</id>
<content type='text'>
* Fix bad relogging clients

Some clients (like EasyRSS) are still using the old HTTP Authorization
header after having logged to log in with another user.
We should not attempt to process Authorization headers during a login
request

* Typo

* A bit safer

Avoid null exception</content>
</entry>
<entry>
<title>API relaxed detection of short/long item ID forms (#2957)</title>
<updated>2020-05-07T16:33:40+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-05-07T16:33:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=0fc71fdf42d537d996609f2d6a19803f7274a1bd'/>
<id>urn:sha1:0fc71fdf42d537d996609f2d6a19803f7274a1bd</id>
<content type='text'>
#Fix https://github.com/FreshRSS/FreshRSS/issues/2956
Bug/feature introduced by https://github.com/FreshRSS/FreshRSS/pull/2947 (which was following the specification better)

The original code `strpos($e_id, '/') !== null` was wrong (it can never be null, only false or integer), but the idea was to check whether the client was sending a short form (decimal) or long form of the ID (hexadecimal with prefixes including slashes). Since it has not given problem until my recent typo fix, this means that the short form is apparently not used by the clients we tested. But now that we are back to following the specification better, it looks like a client such as Reeder 4 is sending an hexadecimal form without a prefix, which breaks the detection.

This patch changes the detection, which should work in all known cases AND comply with the specification

https://feedhq.readthedocs.io/en/latest/api/terminology.html#items</content>
</entry>
<entry>
<title>Fix warning with FeedReader (#2947)</title>
<updated>2020-05-05T15:13:18+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-05-05T15:13:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=5e18ca840891cac3087abde47de8481352863602'/>
<id>urn:sha1:5e18ca840891cac3087abde47de8481352863602</id>
<content type='text'>
FeedReader 2.10.0 sends something like
`T=cd3421a73e8a09f955449d02beaf9593b0c0265cZZZZZZZZZZZZZZZZZ&amp;r=user/-/state/com.google/read&amp;i=-/tag%3Agoogle.com&amp;i=-/2005%3Areader/item/0005a4b97779db22`
to `/api/greader.php/reader/api/0/edit-tag`

The first `i=-/tag/google.com` is wrong and cannot be converted to an entry ID.
This resulted in:

&gt; PHP Warning:  gmp_init(): Unable to convert variable to GMP - string is not an integer in /var/www/FreshRSS/p/api/greader.php on line 35</content>
</entry>
<entry>
<title>API Use string type for Usec (#2935)</title>
<updated>2020-04-30T21:17:46+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-04-30T21:17:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=f0db70dcb03cef0c53db0ee0b678a64b79c941df'/>
<id>urn:sha1:f0db70dcb03cef0c53db0ee0b678a64b79c941df</id>
<content type='text'>
#Fix https://github.com/FreshRSS/FreshRSS/issues/2934</content>
</entry>
<entry>
<title>Expose podcast in API (#2898)</title>
<updated>2020-04-16T16:11:26+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-04-16T16:11:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=bdc4da6ad07f2f5dfa7cf397cf3a379199c0a2ed'/>
<id>urn:sha1:bdc4da6ad07f2f5dfa7cf397cf3a379199c0a2ed</id>
<content type='text'>
* Expose podcast in API

Expose RSS enclosures in our API, e.g. for clients supporting podcasts

* PHP CS?

* Annoying linter

* Light optimisation</content>
</entry>
<entry>
<title>API return proper newestItemTimestampUsec (#2854)</title>
<updated>2020-04-01T00:08:45+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-04-01T00:08:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=5858aaf7fc4f4ebfe7cc4036d46a93397b06ccde'/>
<id>urn:sha1:5858aaf7fc4f4ebfe7cc4036d46a93397b06ccde</id>
<content type='text'>
* API return proper newestItemTimestampUsec

#fix https://github.com/FreshRSS/FreshRSS/issues/2853

* Minor naming

* Add newestItemTimestampUsec for labels

* Do not use t.name after all</content>
</entry>
</feed>
