<feed xmlns='http://www.w3.org/2005/Atom'>
<title>FreshRSS (Customized)/lib/Minz, branch 1.16.2</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.2</id>
<link rel='self' href='https://git.rdnlsmith.com/fresh-rss-custom/atom?h=1.16.2'/>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/'/>
<updated>2020-05-14T19:21:39+00:00</updated>
<entry>
<title>Improve logs during cron actualization (#2964)</title>
<updated>2020-05-14T19:21:39+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-05-14T19:21:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=11dd6e91b780bc218ecac540e1e9a8c426337930'/>
<id>urn:sha1:11dd6e91b780bc218ecac540e1e9a8c426337930</id>
<content type='text'>
For
https://github.com/FreshRSS/FreshRSS/issues/2952#issuecomment-626218921
And fix a little bug writing logs with the wrong user name</content>
</entry>
<entry>
<title>New core-extensions to allow Docker volumes for third-party extensions (#2837)</title>
<updated>2020-03-22T15:31:20+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-03-22T15:31:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=cd49e9819bea35a4db05e3e76910b739898c2219'/>
<id>urn:sha1:cd49e9819bea35a4db05e3e76910b739898c2219</id>
<content type='text'>
* New core-extensions to allow Docker volumes for third-party extensions

#Fix https://github.com/FreshRSS/FreshRSS/issues/2650
Split our extensions directory into two:
1) Core extensions shipped with FreshRSS in ./lib/core-extensions/
2) Third-party extensions modified by end-users in ./extensions/ which
can easily be mounted as a Docker volume

* Example of Docker Compose with extensions

* Back-compatibility + fix array merge bug</content>
</entry>
<entry>
<title>Fix wrong getHeader refactoring (#2749)</title>
<updated>2020-01-04T22:35:42+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-01-04T22:35:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=2aff347b2e942286292b21e0b20d93ab85220a17'/>
<id>urn:sha1:2aff347b2e942286292b21e0b20d93ab85220a17</id>
<content type='text'>
* Fix wrong getHeader refactoring

Fix regression introduced by
https://github.com/FreshRSS/FreshRSS/pull/2373
The refactoring required a call to init() even for static functions,
which is most of the time not done.
Removed premature abstraction of `$_SERVER`, which was the root cause of
the bug.
https://github.com/FreshRSS/FreshRSS/issues/2748#issuecomment-569898931

* Refactoring: Move serverIsPublic to Minz_Request

* Add mitigations for wrong configurations

Due to the regression, we have some existing configurations with a bad
base_url

* Forgot one instance
</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>tec: Improve logs on DB connection failure (#2734)</title>
<updated>2019-12-25T22:21:12+00:00</updated>
<author>
<name>Marien Fressinaud</name>
<email>dev@marienfressinaud.fr</email>
</author>
<published>2019-12-25T22:21:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=f3d75b3ae5ba6f375a04b46e4f72a210cafe9d54'/>
<id>urn:sha1:f3d75b3ae5ba6f375a04b46e4f72a210cafe9d54</id>
<content type='text'>
For a moment, PHP wasn't able to connect to my database. I tried to
understand what happened, unfortunately, the logs were not very helpful
(it basically showed me information that I had in my configuration
file).

I changed the dsn string by the message from the raised exception, I
think it will be more useful.

Other call of Minz_PDOConnectionException are passing error messages
instead of string connection, so I took the opportunity to rename the
constructor argument.</content>
</entry>
<entry>
<title>tec: Allow to change CSP header from controllers</title>
<updated>2019-12-22T14:01:02+00:00</updated>
<author>
<name>Marien Fressinaud</name>
<email>dev@marienfressinaud.fr</email>
</author>
<published>2019-12-07T18:29:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=7802fd33a627dc7c582df871cfa613d9be8f8788'/>
<id>urn:sha1:7802fd33a627dc7c582df871cfa613d9be8f8788</id>
<content type='text'>
For an extension, I needed to call a script from an external domain.
Unfortunately, the CSP headers didn't allow this domain and I had to
patch manually the FreshRSS FrontController for my extension. It's
obviously not a long-term solution since it has nothing to do in the
core of FRSS, and I don't want to apply this patch manually at each
update.

With this patch, I allow changing the CSP header from inside the
controller actions. It allows extensions to modify headers. It's also an
opportunity to remove a bit of code from the FrontController. I wasn't
happy with the previous implementation anyhow.

Reference: https://github.com/flusio/xExtension-Flus/commit/ed12d56#diff-ff12e33ed31b23bda327499fa6e84eccR143
</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>Refacto request class (#2373)</title>
<updated>2019-12-04T07:26:38+00:00</updated>
<author>
<name>Alexis Degrugillier</name>
<email>aledeg@users.noreply.github.com</email>
</author>
<published>2019-12-04T07:26:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=de2b323847e0a91119625e4f506f51ec9d43872f'/>
<id>urn:sha1:de2b323847e0a91119625e4f506f51ec9d43872f</id>
<content type='text'>
I split the code into more manageable chunks to make it more readable.
It's now easier to get a grasp on it. In the process, I tried to use
the yoda style notation to avoid unintentional variable assignement.
I also tried to exit early to avoid many "if" levels.

I have also added a better way to handle headers and a way to extract
languages from the request. It will be easier to choose which language
to use for i18n.</content>
</entry>
<entry>
<title>Remove magicQuotesOff (#2697) (#2698)</title>
<updated>2019-12-03T21:26:05+00:00</updated>
<author>
<name>Craig Andrews</name>
<email>candrews@integralblue.com</email>
</author>
<published>2019-12-03T21:26:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=d33c0ff2caf4af887916b55070c42b504a5c1702'/>
<id>urn:sha1:d33c0ff2caf4af887916b55070c42b504a5c1702</id>
<content type='text'>
* Remove magicQuotesOff (#2697)

Magic quotes have been deprecated since PHP 5.4 and as of PHP 7.4 `get_magic_quotes_gpc()` displays a warning.

* Remove unused Minz_Helper::stripslashes_r

`Minz_Helper::stripslashes_r` is no longer used.

It's last user was `Minz_Request::magicQuotesOff`
</content>
</entry>
<entry>
<title>Fix CLI bug regarding an empty user (#2646)</title>
<updated>2019-11-08T22:11:35+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2019-11-08T22:11:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=f1d1d46651140961d6dc9436b3b9c66a2723f896'/>
<id>urn:sha1:f1d1d46651140961d6dc9436b3b9c66a2723f896</id>
<content type='text'>
Fix https://github.com/FreshRSS/FreshRSS/issues/2644</content>
</entry>
</feed>
