<feed xmlns='http://www.w3.org/2005/Atom'>
<title>FreshRSS (Customized)/p/i, 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-07-08T10:11:55+00:00</updated>
<entry>
<title>Add a migration system (#2760)</title>
<updated>2020-07-08T10:11:55+00:00</updated>
<author>
<name>Marien Fressinaud</name>
<email>dev@marienfressinaud.fr</email>
</author>
<published>2020-07-08T10:11:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=8619cf6fa65bbd90871e7b7fe29816092a9d6c33'/>
<id>urn:sha1:8619cf6fa65bbd90871e7b7fe29816092a9d6c33</id>
<content type='text'>
* Add a Minz_Migrator class

Until now, we updated the database structure somewhere in the code but
it wasn't always consistent and somehow complicated to find. Also, this
code was always checked for nothing.

The Migrator aims to improve and ease the creation of migrations. It
should improve the way we apply the updates, making the update server
almost useless.

References:

- example of migration (before Migrator): https://github.com/FreshRSS/FreshRSS/commit/cc0db9af4f980829faa4bf0960617807b32fb4fa#diff-11a53443fa81512b128c66b065df0679R10
- update server: https://github.com/FreshRSS/update.freshrss.org
- PR moving the code of the update server to the core: https://github.com/FreshRSS/FreshRSS/pull/1760

* Automatically apply migrations

For now, administrators are used to have nothing to do during an update
else than getting the new code. I suggest to keep this behaviour and
automatically apply migrations if we detect new ones.

Another solution would be to create a CLI command and ask admins to call
it after getting the new code. It could hide migrations errors to end
users, but admin can forget to apply migrations since there are not used
to it.

* Add documentation for Minz Migrator

* Execute migrations even if next ones are applied

* Change mechanism to prevent multiple update at once

* Use mkdir to create the lock and to test it exists

Reference: https://stackoverflow.com/a/731634

* Append .lock to applied_migrations_path

There are no needs to define another file to serve as a lock.

* Change migrations naming convention

* Apply suggestions from code review

Co-Authored-By: Alexandre Alapetite &lt;alexandre@alapetite.fr&gt;

* Perform a low-cost migration versions comparaison

* Clarify version numbers concerning the migration system

Co-authored-by: Alexandre Alapetite &lt;alexandre@alapetite.fr&gt;</content>
</entry>
<entry>
<title>Fix logging environment constants (#2745)</title>
<updated>2020-01-03T17:50:33+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-01-03T17:50:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=acc50df0efef8bd9fa937a5d640314c0e78e9117'/>
<id>urn:sha1:acc50df0efef8bd9fa937a5d640314c0e78e9117</id>
<content type='text'>
* Fix logging environment constants

* COPY_LOG_TO_SYSLOG was only working when Syslog was used
* FRESHRSS_ENV was not properly used to set logging level

* Simplify code

Always call `openlog()` even when it is not used

* Always specify syslog properties

https://github.com/FreshRSS/FreshRSS/pull/2745#discussion_r362207445

* $username is also needed further down

* No new line in syslog
</content>
</entry>
<entry>
<title>Copy syslog to STDERR (#2208)</title>
<updated>2019-01-05T23:46:48+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2019-01-05T23:46:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=802c264574902ea44c2c76ae098a6f58911fe114'/>
<id>urn:sha1:802c264574902ea44c2c76ae098a6f58911fe114</id>
<content type='text'>
* Use openlog before syslog
In order to have a copy on stderr when syslog is not available.

* Take advantage of syslog for actualization
Pipe cron job STDERR and syslog to Docker log
Cf. https://github.com/FreshRSS/FreshRSS/pull/2202/commits/00bd467655b7c060cdae388519b2413d12d8cb0f</content>
</entry>
<entry>
<title>Apache performance (#2202)</title>
<updated>2019-01-02T20:36:33+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2019-01-02T20:36:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=a6623b7b2fa3f026a0ea30e49b1a221f7a4a8e55'/>
<id>urn:sha1:a6623b7b2fa3f026a0ea30e49b1a221f7a4a8e55</id>
<content type='text'>
* Apache performance
API: Use SetEnvIf if available and fallback to RewriteRule
Docker: Disable unused modules.
Docker: Hard-include .htaccess to avoid having to scan for changes in
that file.
Docker: Disable security check of symlinks, which we do not use ayway.

* Apache readme

* Docker/Apache tuning
Run cron job with correct www-data user instead of root
Remove PHP GMP module uneeded for 64-bit Docker image
Add option to mount custom .htaccess for HTTP authentication
Re-add Apache module for HTTP authentication
Move Alpine-specific instructions to Docker file (instead of Apache
conf) to make it easier to have other base images than Alpine</content>
</entry>
<entry>
<title>Message when PHP is not installed (#2035)</title>
<updated>2018-09-29T21:20:33+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2018-09-29T21:20:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=f6dda14d1f5740e60dfca2f1b02c545f4470ce6e'/>
<id>urn:sha1:f6dda14d1f5740e60dfca2f1b02c545f4470ce6e</id>
<content type='text'>
* Message when PHP is not installed

* or configured correctly
</content>
</entry>
<entry>
<title>[doc] Editing for better style (#1736)</title>
<updated>2017-12-22T11:02:06+00:00</updated>
<author>
<name>Frans de Jonge</name>
<email>fransdejonge@gmail.com</email>
</author>
<published>2017-12-22T11:02:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=469d601bcbe83eb800552ca6327dac7732763c75'/>
<id>urn:sha1:469d601bcbe83eb800552ca6327dac7732763c75</id>
<content type='text'>
* Also removed references to Persona authentication.
* Changed code comment about Persona because it's for HTTP auth
  in general. See https://github.com/FreshRSS/FreshRSS/commit/3d876091e1268e3ccd5036449a4deb5134936206
  and https://github.com/FreshRSS/FreshRSS/issues/358#issuecomment-31931484</content>
</entry>
<entry>
<title>Use __DIR__ for relative include and require</title>
<updated>2017-12-11T20:11:34+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2017-12-11T20:11:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=52d09886558361bd818182da9ddc204e83f618ba'/>
<id>urn:sha1:52d09886558361bd818182da9ddc204e83f618ba</id>
<content type='text'>
For uniformity, and to avoid having PHP searching in include_path.
http://php.net/manual/function.include.php
https://github.com/FreshRSS/FreshRSS/pull/1715
https://github.com/FreshRSS/FreshRSS/pull/1711#issuecomment-350581350
</content>
</entry>
<entry>
<title>New configuration system (not working yet)</title>
<updated>2015-01-05T15:54:16+00:00</updated>
<author>
<name>Marien Fressinaud</name>
<email>dev@marienfressinaud.fr</email>
</author>
<published>2015-01-05T15:54:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=51a71ec4b9d62528054be8faee1576a8fd6d37f6'/>
<id>urn:sha1:51a71ec4b9d62528054be8faee1576a8fd6d37f6</id>
<content type='text'>
- Use only Minz_Configuration
- register() method to load a new configuration file
- get() to get a configuration
- new exceptions related to configuration
- fix a list configuration calls to have FRSS working

Current problems to resolve:

- How to handle configuration param verifications (i.e. check auth_type
  is a value from none, http_auth, persona or form)
- We must use $conf = Minz_Configuration::get('system'); $general_conf = $conf-&gt;general;
  to access global system configuration which is quite annoying. How to change that?

See https://github.com/FreshRSS/FreshRSS/issues/730
</content>
</entry>
<entry>
<title>Remove all old references to LOG_PATH</title>
<updated>2014-12-28T17:05:02+00:00</updated>
<author>
<name>Marien Fressinaud</name>
<email>dev@marienfressinaud.fr</email>
</author>
<published>2014-12-28T17:05:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=c391ca62f1ad4130202b995bb5bb9111894e65ff'/>
<id>urn:sha1:c391ca62f1ad4130202b995bb5bb9111894e65ff</id>
<content type='text'>
See https://github.com/FreshRSS/FreshRSS/issues/729
</content>
</entry>
<entry>
<title>Replace Minz_Log::record by corresponding methods</title>
<updated>2014-10-05T17:35:29+00:00</updated>
<author>
<name>Marien Fressinaud</name>
<email>dev@marienfressinaud.fr</email>
</author>
<published>2014-10-05T17:35:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=d8f4681382986524b91acb0500847e9f24badf20'/>
<id>urn:sha1:d8f4681382986524b91acb0500847e9f24badf20</id>
<content type='text'>
Please not use Minz_Log::record anymore!

See https://github.com/marienfressinaud/FreshRSS/issues/655
</content>
</entry>
</feed>
