<feed xmlns='http://www.w3.org/2005/Atom'>
<title>FreshRSS (Customized)/p/api, 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>Stream instead of memory copy of SimplePie entries (#2972)</title>
<updated>2020-05-16T22:04:51+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-05-16T22:04:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=83b5944dcbb09db0accd528be4906b88590d924f'/>
<id>urn:sha1:83b5944dcbb09db0accd528be4906b88590d924f</id>
<content type='text'>
* Stream instead of memory copy of SimplePie entries

https://github.com/FreshRSS/FreshRSS/issues/2952

* Undo lines delete

* Typo

* Remove unaccessible code

https://github.com/FreshRSS/FreshRSS/pull/2972/files#r425624163

* Back-compatibility for Feed-&gt;entries

https://github.com/FreshRSS/FreshRSS/pull/2972/files#r425631913</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>Fever integer type for numbers (#2946)</title>
<updated>2020-05-03T11:39:16+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-05-03T11:39:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=b1aac20839f6e1f3e733774eeb5984ce7b08c246'/>
<id>urn:sha1:b1aac20839f6e1f3e733774eeb5984ce7b08c246</id>
<content type='text'>
* Fever integer type for feed ID

#Fix
https://github.com/FreshRSS/FreshRSS/issues/2940#issuecomment-623022435

* Fix feed_id

* Ensure string for entry ID

To be compatible with 32-bit platforms.
Before, the type was inconsistent depending on architecture + database

* Integer for entry count functions</content>
</entry>
<entry>
<title>Fever integer type for last_refreshed_on_time (#2944)</title>
<updated>2020-05-02T18:04:51+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-05-02T18:04:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=1bb4c75db7460b91f7553fd316717510b90aa8c4'/>
<id>urn:sha1:1bb4c75db7460b91f7553fd316717510b90aa8c4</id>
<content type='text'>
#Fix https://github.com/FreshRSS/FreshRSS/issues/2940
https://feedafever.com/api</content>
</entry>
</feed>
