Marien Fressinaud
0f1133ddfe
Fix some forward() actions
...
See https://github.com/marienfressinaud/FreshRSS/issues/494
10 years ago
Marien Fressinaud
775ff40780
Improve import system
...
Catch more errors
Code refactoring
10 years ago
Marien Fressinaud
7900c5e550
Move htmlspecialchars_utf8 from Request to Helper
...
And remove html_chars_utf8 to use htmlspecialchars_utf8 instead in
importExportController
10 years ago
Marien Fressinaud
1b20f6bd02
New wrappers Minz_Request::good() and bad()
...
1. Set a notification message in session variable
2. Redirect to a specific url
First use in importExportController.php
See https://github.com/marienfressinaud/FreshRSS/conversations/576
10 years ago
Marien Fressinaud
8ffd59f34a
Improve import system
...
Catch errors of zip_open and log it. A notification is shown to indicate
something went wrong.
See https://github.com/marienfressinaud/FreshRSS/issues/494
10 years ago
Marien Fressinaud
94570aaf5a
Improve system import/export
...
Miss checking presence of zip extension during import
See https://github.com/marienfressinaud/FreshRSS/issues/494
10 years ago
Marien Fressinaud
d007b22beb
Change view import/export if no zip extension
...
Show a select with only one choice is there is no zip extension on
the server.
Fix typo.
See https://github.com/marienfressinaud/FreshRSS/issues/494
10 years ago
Marien Fressinaud
fda8eba4d1
Add a test to check presence of Zip archive.
...
A notification is shown if we cannot use ZipArchive.
See https://github.com/marienfressinaud/FreshRSS/issues/494
10 years ago
Marien Fressinaud
84826491a3
Improve export function
...
If there is only one file to export, we don't need of a .zip archive.
So it is exported as a simple file (.json or .opml)
See https://github.com/marienfressinaud/FreshRSS/issues/494
10 years ago
Alexandre Alapetite
439a0e2991
SQL: improved performance for adding new articles
10 years ago
Alexandre Alapetite
b34f59e85a
Preparation #3 for SQLite
...
https://github.com/marienfressinaud/FreshRSS/issues/100
10 years ago
Alexandre Alapetite
d6f4141086
Preparation for SQLite
...
https://github.com/marienfressinaud/FreshRSS/issues/100
10 years ago
Alexis Degrugillier
3a736e902c
Move state constants from Configuration to Entry
11 years ago
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
11 years ago
Marien Fressinaud
8ef32a10c6
Improve compatibility PHP 5.3
11 years ago
Marien Fressinaud
34b17b748e
Fix coding style
11 years ago
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
11 years ago
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)
11 years ago
Marien Fressinaud
7676a197a4
Fix typo + improve detection OPML file
11 years ago
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
11 years ago
Marien Fressinaud
05cc97a8f4
Export form is not displayed if there is nothing to export
11 years ago
Marien Fressinaud
9d87f2f0aa
Export is fully implemented
...
- Export list of feeds (OPML)
- Export list of favourites (JSON)
- Export list of articles per feed (JSON)
11 years ago
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()
11 years ago
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
11 years ago
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
11 years ago