<feed xmlns='http://www.w3.org/2005/Atom'>
<title>FreshRSS (Customized)/app/Controllers/importExportController.php, 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-04-30T10:11:51+00:00</updated>
<entry>
<title>Fix filenames for files exported with CLI (#2932)</title>
<updated>2020-04-30T10:11:51+00:00</updated>
<author>
<name>Marien Fressinaud</name>
<email>dev@marienfressinaud.fr</email>
</author>
<published>2020-04-30T10:11:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=8f188ffa8498424653a3e6086ef99bbe1745cd29'/>
<id>urn:sha1:8f188ffa8498424653a3e6086ef99bbe1745cd29</id>
<content type='text'>
Filenames were created with the username of the current user. However,
when we export the files with the CLI, the current user is "_".

This commit makes the username always required in the `exportFile`
method so we make sure to always manipulate a real value. Consequently,
the filenames can be formatted correctly.

Obviously, this has absolutely no impacts since the CLI doesn't consider
the HTTP headers. It just makes things a bit more clear. It's a first
step to remove the concept of "default user".</content>
</entry>
<entry>
<title>Increase import size (#2563)</title>
<updated>2019-10-08T18:52:03+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2019-10-08T18:52:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=077e3cff458e4c36b364c065397d524025ee3de1'/>
<id>urn:sha1:077e3cff458e4c36b364c065397d524025ee3de1</id>
<content type='text'>
* Increase import size

This is merely a temporary workaround to allow at least some medium size
imports
https://framateam.org/freshrss/pl/7wbt4tcyetrfmris9xdcbq7uuw
The import module should be rewritten to process files one by one and as
data streams instead of loading multiple copies of the whole dataset in
memory as is the case now :-(
https://github.com/FreshRSS/FreshRSS/issues/1890
Note that the new SQLite export/import is distinct from this case.

* Use parameter
</content>
</entry>
<entry>
<title>CLI to export/import any database to/from SQLite (#2496)</title>
<updated>2019-09-15T19:36:53+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2019-09-15T19:36:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=c76a318193cda63064625b2d92c719b7150d7d64'/>
<id>urn:sha1:c76a318193cda63064625b2d92c719b7150d7d64</id>
<content type='text'>
* CLI to export/import any database to/from SQLite

Require PHP 5.5+ https://github.com/FreshRSS/FreshRSS/pull/2495

* Travis

* Execution rights

* Fix wrong static fields

* Fix MySQL bad default buffering

https://stackoverflow.com/questions/6895098/pdo-mysql-memory-consumption-with-large-result-set/6935271#6935271
https://php.net/manual/ref.pdo-mysql

* Fix count on progression

* Avoid static DB information

To ease working with two DBs at the same time

* Less static, simplify

Needs some testing

* Small corrections

* Special case for SQLite to SQLite

* Modify special case for SQLite

* Remove special case for SQLite

More uniform logic for the 3 databases.
Fix wrong DROP TABLE for SQLite.

* Drop indexes

* Revert "Drop indexes"

This reverts commit f28d2bae0935745c1c74ea38f2ee083f3fd4bf9d.

* Fix deletion

* Fix classic export

* Update cli/README.md

Co-Authored-By: Marien Fressinaud &lt;dev@marienfressinaud.fr&gt;

* Addressing part of review

* Remove goto :cry:

* Travis

* Comment for SQLite case

* Fix missing fields when inserting
</content>
</entry>
<entry>
<title>Allow to change the view layout (#2467)</title>
<updated>2019-08-02T09:40:57+00:00</updated>
<author>
<name>Marien Fressinaud</name>
<email>dev@marienfressinaud.fr</email>
</author>
<published>2019-08-02T09:40:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=49e1a2c579757994ae4ed5994339bd58a09238db'/>
<id>urn:sha1:49e1a2c579757994ae4ed5994339bd58a09238db</id>
<content type='text'>
The `_useLayout` function is marked as deprecated, replaced by a more
powerful `_layout` function.</content>
</entry>
<entry>
<title>No old ID (#2276)</title>
<updated>2019-03-19T19:14:31+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2019-03-19T19:14:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=834ffacce22ff6a2c0f1459476dc4a45e8ea06f9'/>
<id>urn:sha1:834ffacce22ff6a2c0f1459476dc4a45e8ea06f9</id>
<content type='text'>
* No old ID

https://github.com/FreshRSS/FreshRSS/issues/2273

* PostgreSQL insert or ignore
</content>
</entry>
<entry>
<title>Import FeedBin (#2228)</title>
<updated>2019-01-26T11:55:12+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2019-01-26T11:55:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=7902d10b3adee3788d770b9a75ac63b910140b0c'/>
<id>urn:sha1:7902d10b3adee3788d770b9a75ac63b910140b0c</id>
<content type='text'>
* Import FeedBin

https://github.com/FreshRSS/FreshRSS/issues/2227
And more tolerant import

* Mute import fake feed + Changelog

* strtotime for published dates in string
</content>
</entry>
<entry>
<title>Export/import articles read/unread state (#2226)</title>
<updated>2019-01-24T19:44:45+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2019-01-24T19:44:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=f1ac6dd5509c6aa9e1d99401c5e1a0b894d4e7b0'/>
<id>urn:sha1:f1ac6dd5509c6aa9e1d99401c5e1a0b894d4e7b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix import labels (#2225)</title>
<updated>2019-01-24T18:54:34+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2019-01-24T18:54:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=f0684d701862d103fce834bad9e139f97544bc62'/>
<id>urn:sha1:f0684d701862d103fce834bad9e139f97544bc62</id>
<content type='text'>
All labelled articles were wrongly marked as starred.</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>PHP 7.1 tempnam warning fix (#2134)</title>
<updated>2018-11-18T10:34:40+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2018-11-18T10:34:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=f26b8f3f310df60693deab7d977dd5fcc3adaf09'/>
<id>urn:sha1:f26b8f3f310df60693deab7d977dd5fcc3adaf09</id>
<content type='text'>
And suggested dir was wrong.

https://bugs.php.net/bug.php?id=69489
```
&lt;b&gt;Notice&lt;/b&gt;:  tempnam(): file created in the system's temporary
directory in
&lt;b&gt;/var/www/html/FreshRSS/app/Controllers/importExportController.php&lt;/b&gt;
on line &lt;b&gt;800&lt;/b&gt;&lt;br /&gt;
```</content>
</entry>
</feed>
