<feed xmlns='http://www.w3.org/2005/Atom'>
<title>FreshRSS (Customized)/app/views/importExport, branch 1.18.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.18.0</id>
<link rel='self' href='https://git.rdnlsmith.com/fresh-rss-custom/atom?h=1.18.0'/>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/'/>
<updated>2020-06-13T17:36:24+00:00</updated>
<entry>
<title>tec: Refactor the export feature (#3045)</title>
<updated>2020-06-13T17:36:24+00:00</updated>
<author>
<name>Marien Fressinaud</name>
<email>dev@marienfressinaud.fr</email>
</author>
<published>2020-06-13T17:36:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=15505a03779326f9497644e9827477cdcc26c2d2'/>
<id>urn:sha1:15505a03779326f9497644e9827477cdcc26c2d2</id>
<content type='text'>
Even if the issue #3035 seemed pretty simple at a first glance, it was
more complicated than I expected. Because we send CSP headers AFTER
running the controller actions, it means we can't "echo" any content
from the controller. It's in fact a good practice, but it was easier at
the time we developed the feature.

To fix that, the only thing I had to do was to move the `print()` and
`readfile()` function into the view. The problem was that we needed to
output the content from the CLI too. Then, things became more
complicated. I decided to extract the export-related methods in a
`FreshRSS_Export_Service` class, in order to use it from both the
controller and the CLI. It was an opportunity to refactor the whole
feature in order to make it a bit more linear and easy to read.

Reference: https://github.com/FreshRSS/FreshRSS/issues/3035</content>
</entry>
<entry>
<title>Take advantage of PHP 5.4+ short echo (#2585)</title>
<updated>2019-10-23T09:18:20+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2019-10-23T09:18:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=7a5236de3f13f08b8c51eb183c0dcf1c8c85beca'/>
<id>urn:sha1:7a5236de3f13f08b8c51eb183c0dcf1c8c85beca</id>
<content type='text'>
* Take advantage of PHP 5.4+ short echo

https://php.net/migration54.new-features thanks to
https://github.com/FreshRSS/FreshRSS/pull/2495

Use `&lt;?=  ?&gt;` instead of `&lt;?php echo; ?&gt;`
10kB of code saved :-)

Done with regular expression:
```
&lt;\?php echo (.+?);? *\?&gt;
&lt;?= \1 ?&gt;
```

* Try Travis fix

https://github.com/squizlabs/PHP_CodeSniffer/issues/2045#issuecomment-395238272
</content>
</entry>
<entry>
<title>Export labels (#2217)</title>
<updated>2019-01-16T21:26:43+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2019-01-16T21:26:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=743c1b740bd8ec0b70f7058d4b52101b346a5e9c'/>
<id>urn:sha1:743c1b740bd8ec0b70f7058d4b52101b346a5e9c</id>
<content type='text'>
* Export labels

https://github.com/FreshRSS/FreshRSS/issues/2196

* Small fixes

* Backport code from 1.14.0

https://github.com/FreshRSS/FreshRSS/pull/2199/commits/4888f919f104b2d170302565e481a0b731eb4145

* More fixes
</content>
</entry>
<entry>
<title>CLI export</title>
<updated>2016-10-23T11:37:48+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2016-10-23T11:37:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=fcb9280fc87c159539f5832ab35f174cd515654e'/>
<id>urn:sha1:fcb9280fc87c159539f5832ab35f174cd515654e</id>
<content type='text'>
ZIP export, OPML export.
Corrected height of feeds select in Pafat theme.
https://github.com/FreshRSS/FreshRSS/pull/1338
https://github.com/FreshRSS/FreshRSS/issues/1039
https://github.com/FreshRSS/FreshRSS/issues/1277
</content>
</entry>
<entry>
<title>CSRF token, update HTTP Referrer policy to same-origin</title>
<updated>2016-08-13T15:49:31+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2016-08-13T15:49:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=e6fd34bdda5d067a9e74714aaae10c89ed998a46'/>
<id>urn:sha1:e6fd34bdda5d067a9e74714aaae10c89ed998a46</id>
<content type='text'>
https://www.w3.org/TR/referrer-policy/#referrer-policy-no-referrer
https://github.com/FreshRSS/FreshRSS/issues/570
https://github.com/FreshRSS/FreshRSS/issues/955
https://github.com/FreshRSS/FreshRSS/issues/1198
https://github.com/FreshRSS/FreshRSS/issues/565
https://github.com/FreshRSS/FreshRSS/issues/554
</content>
</entry>
<entry>
<title>Fix i18n for import/export</title>
<updated>2014-12-11T16:46:05+00:00</updated>
<author>
<name>Marien Fressinaud</name>
<email>dev@marienfressinaud.fr</email>
</author>
<published>2014-12-11T16:46:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=0ee16a7d6acb0c0158272fbbdd9ee876d9fb4a4a'/>
<id>urn:sha1:0ee16a7d6acb0c0158272fbbdd9ee876d9fb4a4a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reorganize subscription management code</title>
<updated>2014-10-01T09:27:41+00:00</updated>
<author>
<name>Marien Fressinaud</name>
<email>dev@marienfressinaud.fr</email>
</author>
<published>2014-10-01T09:27:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=1eef7893068655f8d145a3e06061a9e6296ac1f3'/>
<id>urn:sha1:1eef7893068655f8d145a3e06061a9e6296ac1f3</id>
<content type='text'>
There is still a lot of work to do. Some links are broken.

See https://github.com/marienfressinaud/FreshRSS/issues/646
</content>
</entry>
<entry>
<title>Improve system import/export</title>
<updated>2014-08-11T17:02:27+00:00</updated>
<author>
<name>Marien Fressinaud</name>
<email>dev@marienfressinaud.fr</email>
</author>
<published>2014-08-11T17:02:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=94570aaf5a23dfc02bf1120d168ec30c2ab3f044'/>
<id>urn:sha1:94570aaf5a23dfc02bf1120d168ec30c2ab3f044</id>
<content type='text'>
Miss checking presence of zip extension during import

See https://github.com/marienfressinaud/FreshRSS/issues/494
</content>
</entry>
<entry>
<title>Fix import/export view</title>
<updated>2014-08-09T13:01:22+00:00</updated>
<author>
<name>Marien Fressinaud</name>
<email>dev@marienfressinaud.fr</email>
</author>
<published>2014-08-09T13:01:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=5490a190dae9e47286f0bba1a63656375bd43e25'/>
<id>urn:sha1:5490a190dae9e47286f0bba1a63656375bd43e25</id>
<content type='text'>
Some bugs introduce because I was tired surely ;)
</content>
</entry>
<entry>
<title>Fix typo</title>
<updated>2014-08-08T22:35:06+00:00</updated>
<author>
<name>Marien Fressinaud</name>
<email>dev@marienfressinaud.fr</email>
</author>
<published>2014-08-08T22:35:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=773d73314bf1f6e6c2ddec33a324d0aef6e8155b'/>
<id>urn:sha1:773d73314bf1f6e6c2ddec33a324d0aef6e8155b</id>
<content type='text'>
Oops? :)
</content>
</entry>
</feed>
