<feed xmlns='http://www.w3.org/2005/Atom'>
<title>FreshRSS (Customized)/app/Controllers/feedController.php, branch 1.16.1</title>
<subtitle>Customized version of FreshRSS, a self-hosted RSS feed aggregator</subtitle>
<id>https://git.rdnlsmith.com/fresh-rss-custom/atom?h=1.16.1</id>
<link rel='self' href='https://git.rdnlsmith.com/fresh-rss-custom/atom?h=1.16.1'/>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/'/>
<updated>2020-05-21T18:55:06+00:00</updated>
<entry>
<title>Fix fetch preview (#2993)</title>
<updated>2020-05-21T18:55:06+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-05-21T18:55:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=857f58879022e7ab8dcc30380ee00df5277b8c0c'/>
<id>urn:sha1:857f58879022e7ab8dcc30380ee00df5277b8c0c</id>
<content type='text'>
* Fix fetch preview

#fix https://github.com/FreshRSS/FreshRSS/issues/2923
In MariaDB / MySQL, we cannot start a new query if we have not consumed
the previous buffered query fully.

* Fix for reload

* Typo in comment</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>Attempt to reduce max memory usage during actualize (#2955)</title>
<updated>2020-05-10T19:34:12+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-05-10T19:34:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=aea38065901408c8b6d0bb0b619f21fd81fc9347'/>
<id>urn:sha1:aea38065901408c8b6d0bb0b619f21fd81fc9347</id>
<content type='text'>
* Attempt to reduce max memory usage during actualize

#Fix https://github.com/FreshRSS/FreshRSS/issues/2952

* Use memory_get_peak_usage</content>
</entry>
<entry>
<title>WebSub move fixes (#2922)</title>
<updated>2020-04-24T14:29:19+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-04-24T14:29:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=dba40e58704a374755677ef1f24f6872a34bad80'/>
<id>urn:sha1:dba40e58704a374755677ef1f24f6872a34bad80</id>
<content type='text'>
Small fixes related to when WebSub changes address:
* When unsubscribing, one must use the current/old address, not the
newly found selfUrl;
* This change
https://github.com/FreshRSS/FreshRSS/pull/2659#discussion_r347263068 was
wrong, so reverted to the first version. We must obey the rules also for
feeds for which the initial WebSub enabling is not finished, otherwise
we never have a chance to redirect the feed to the proper selfUrl.</content>
</entry>
<entry>
<title>Reduce DB locks (#2899)</title>
<updated>2020-04-13T22:09:13+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-04-13T22:09:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=946d9f5535ddc62fb667edd27e57bde419586e23'/>
<id>urn:sha1:946d9f5535ddc62fb667edd27e57bde419586e23</id>
<content type='text'>
Do not lock the DB to update it when there is nothing to commit.
This should reduce the risk of seeing some `database is locked` errors.</content>
</entry>
<entry>
<title>Fix fetch content for complex HEAD (#2867)</title>
<updated>2020-04-01T00:09:08+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-04-01T00:09:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=656b61ff2956351538cc70fe79cc534b1eb58e0c'/>
<id>urn:sha1:656b61ff2956351538cc70fe79cc534b1eb58e0c</id>
<content type='text'>
* Fix contentSelectorPreviewAction

Was not compatible with https://github.com/FreshRSS/FreshRSS/pull/2588

* Fix lib_phpQuery for &lt;head ...&gt;

#fix https://github.com/FreshRSS/FreshRSS/issues/2864
* Replace split() by explode() for PHP7 compatibility
https://php.net/str-split
* Fix for document with a `&lt;head&gt;` tag more complicated, like `&lt;head
profile="http://www.w3.org/1999/xhtml/vocab"&gt;`</content>
</entry>
<entry>
<title>Enhance content path feature (#2778)</title>
<updated>2020-02-13T17:22:35+00:00</updated>
<author>
<name>Julien-Pierre Avérous</name>
<email>github@sourcemac.com</email>
</author>
<published>2020-02-13T17:22:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=d30ac40772ec1b4706922afd8acab8448af39a9e'/>
<id>urn:sha1:d30ac40772ec1b4706922afd8acab8448af39a9e</id>
<content type='text'>
- Add a maintenance section to be able to clear cache and force reload a feed.
- Add an icon next to path field to show a pop-up with the result of the content path.

Co-authored-by: Frans de Jonge &lt;fransdejonge@gmail.com&gt;
Co-authored-by: Alexandre Alapetite &lt;alexandre@alapetite.fr&gt;
Co-authored-by: Marien Fressinaud &lt;dev@marienfressinaud.fr&gt;
</content>
</entry>
<entry>
<title>Extend hooks (#2704)</title>
<updated>2019-12-07T11:59:53+00:00</updated>
<author>
<name>Clemens Neubauer</name>
<email>cn-tools@gmx.at</email>
</author>
<published>2019-12-07T11:59:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=08c6a1bdc16d7cc9717788172251c6e5eae3e443'/>
<id>urn:sha1:08c6a1bdc16d7cc9717788172251c6e5eae3e443</id>
<content type='text'>
It adds two new hooks to have more options for influencing with extensions.
</content>
</entry>
<entry>
<title>Do not obbey rel=self if WebSub is disabled (#2659)</title>
<updated>2019-11-21T15:23:20+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2019-11-21T15:23:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=bb5d15f7c6133b17016407c0cbf9cce824285d0d'/>
<id>urn:sha1:bb5d15f7c6133b17016407c0cbf9cce824285d0d</id>
<content type='text'>
* Do not obbey rel=self if WebSub is disabled

https://github.com/FreshRSS/FreshRSS/issues/2654

* Correct variable

https://github.com/FreshRSS/FreshRSS/pull/2659#discussion_r347552063

* Update app/Controllers/feedController.php
</content>
</entry>
<entry>
<title>Feature/new archiving (#2335)</title>
<updated>2019-10-22T22:52:15+00:00</updated>
<author>
<name>Alexis Degrugillier</name>
<email>aledeg@users.noreply.github.com</email>
</author>
<published>2019-10-22T22:52:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=cc0db9af4f980829faa4bf0960617807b32fb4fa'/>
<id>urn:sha1:cc0db9af4f980829faa4bf0960617807b32fb4fa</id>
<content type='text'>
* Change archiving config page layout

I've changed some wording and moved actions into a
maintenance section.

* Update purge action

Now we have more control on the purge action. The configuration allows
us to choose what to keep and what to discard in a more precise way.
At the moment, the configuration applies for all feeds.

* Add purge configuration on feed level

Now the extend purge configuration is available on feed level.
It is stored as attributes and will be used in the purge action.

* Update purge action

Now the purge action uses the feed configuration if it exists and
defaults on user configuration if not.

* Add empty option in period list

* Fix configuration warnings

* Add archiving configuration on categories

See #2369

* Add user info back

* Add explanations in UI

* Fixes for SQLite + error + misc.

* Fix invalid feed reference

* Short array syntax

Only for new code, so far

* Fix prefix error

* Query performance, default values

Work in progress

* Fix default values and confirm before leaving

Form cancel and confirm changes before leaving were broken.
And start taking advantage of the short echo syntax `&lt;?= ?&gt;` as we have
moved to PHP 5.4+

* More work

* Tuning SQL

* Fix MariaDB + performance issue

* SQL performance

* Fix SQLite bug

* Fix some attributes JSON encoding bugs

Especially for SQLite export/import

* More uniform, fix bugs

More uniform between global, category, feed settings

* Drop special cases for old articles during refresh

Instead will use lastSeen date with the new archiving logic.
This was generating problems anyway
https://github.com/FreshRSS/FreshRSS/issues/2154

* Draft drop index keep_history

Not needed anymore

* MySQL typo

Now properly tested with MySQL, PostgreSQL, SQLite

* More work for legacy values

Important to avoid overriding user's preference and risking deleting
data erroneously

* Fix PHP 7.3 / 7.4 warnings

@aledeg "Trying to use values of type null, bool, int, float or resource
as an array (such as $null["key"]) will now generate a notice. "
https://php.net/migration74.incompatible

* Reintroduce min articles and take care of legacy parameters

* A few changes forgotten

* Draft of migration + DROP of feed.keep_history

* Fix several errors

And give up using const for SQL to allow multiple database types (and we
cannot redefine a const)

* Add keep_min to categories + factorise archiving logic

* Legacy fix

* Fix bug yield from

* Minor: Use JSON_UNESCAPED_SLASHE for attributes

And make more uniform

* Fix sign and missing variable

* Fine tune the logic
</content>
</entry>
</feed>
