Commit Graph

12 Commits

Author SHA1 Message Date
Alexis Degrugillier
86066b1659 Add a new status for 'ALL'
I made the conversion in every file I can think of.
It should not have any reference to the string 'all' for the state context
2014-04-13 07:28:41 -04:00
Marien Fressinaud
8ef32a10c6 Improve compatibility PHP 5.3 2014-03-30 20:47:00 +02:00
Marien Fressinaud
34b17b748e Fix coding style 2014-03-30 14:55:29 +02:00
Marien Fressinaud
779afe9c4e Import of articles is implemented!
- Remove massiveImportAction and addCategories from FeedController
- Fix typo for some methods (camelCase)
- addCategoryObject and addFeedObject return id if corresponding object already
  exists in DB
- introduce addEntryObject. Return -1 if Entry already exist (in order to keep
  quite good performances)
- Complete importArticles method

Need some more tests + better performance
2014-03-30 14:28:13 +02:00
Marien Fressinaud
9ea3819402 Better OPML import / export
- use a new OPML library (https://github.com/marienfressinaud/lib_opml)
- import has been completely rewritten (far better!)
- introduce addFeedObject and addCategoryObject (in DAO for the moment).
  Permit to add easily feeds and categories (check if they already exist in DB)
- introduce html_chars_utf8 (wrap htmlspecialchars for UTF-8)
2014-03-29 20:18:57 +01:00
Marien Fressinaud
7676a197a4 Fix typo + improve detection OPML file 2014-03-29 19:10:18 +01:00
Marien Fressinaud
d464833922 Improve import / export functionnality
It is not finished yet and does not even work at all!!
- ZIP archive can be uploaded
- Entries are imported from starred.json and feed*.json but not added in DB for
  the moment.
- Fix export (add author, id -> guid, content -> content.content and add
  alternate)

See https://github.com/marienfressinaud/FreshRSS/issues/163
2014-03-28 22:13:42 +01:00
Marien Fressinaud
05cc97a8f4 Export form is not displayed if there is nothing to export 2014-03-28 18:44:52 +01:00
Marien Fressinaud
9d87f2f0aa Export is fully implemented
- Export list of feeds (OPML)
- Export list of favourites (JSON)
- Export list of articles per feed (JSON)
2014-03-27 20:36:51 +01:00
Alexandre Alapetite
5081ffaf39 Minz: remove one layer of ob_ (experimental)
https://github.com/marienfressinaud/FreshRSS/issues/303#issuecomment-38351311
https://github.com/marienfressinaud/FreshRSS/issues/163
* Remove Minz_Response (not needed anymore)
* Move Minz_Request::reseted to Minz_Dispatcher::reset()
2014-03-22 17:56:07 +01:00
Marien Fressinaud
d1c5db7461 New version to export articles + opml
It does not work yet! A lot of work has still to be done.
Next versions should fix TODOs

- OPML export works fine but can be improved
- a framework has been created for articles export
2014-03-18 22:42:47 +01:00
Marien Fressinaud
dbdda1d0c1 Move import/export operations into an independant class
- import and export are now two methods of importExportController
- "opml" has been removed from the title
2014-03-16 19:34:04 +01:00