Marien Fressinaud
7f4ca35fc3
Fix i18n strings for sharing
...
Fix https://github.com/FreshRSS/FreshRSS/issues/728
2014-12-17 17:21:41 +01:00
Marien Fressinaud
c1a3412b97
Fix i18n for auth and category controllers
2014-12-11 18:15:41 +01:00
Marien Fressinaud
0ee16a7d6a
Fix i18n for import/export
2014-12-11 17:46:05 +01:00
Marien Fressinaud
58deab37cd
Fix Minz_Error::error() -> use default values
2014-10-30 19:57:08 +01:00
Marien Fressinaud
d20b5a127f
Fix limit in import Json files
...
See https://github.com/marienfressinaud/FreshRSS/issues/680
2014-10-29 11:47:51 +01:00
Marien Fressinaud
fb3cda8ac9
Fix limits in import OPML files
...
See https://github.com/marienfressinaud/FreshRSS/issues/680
2014-10-29 11:08:31 +01:00
Marien Fressinaud
1a22a87fb1
Use FreshRSS_Context::$conf only
...
- Replace $this->view->conf in controllers
- Replace $this->conf in views
2014-10-20 18:45:22 +02:00
Marien Fressinaud
79aa5beaf4
Refactor authentication system.
...
Big work, not finished. A lot of features have been removed.
See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-06 23:29:20 +02:00
Marien Fressinaud
34151ea1ae
Add comments in error and importExport controllers
...
See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-06 13:12:36 +02:00
Marien Fressinaud
69c7c1aa48
Change loading of base-theme css
...
If metadata.json indicates it should use "_template.css" or "_base.css",
base-theme/template|base.css is used. It facilitates theme maintenance.
2014-09-15 15:55:35 +02:00
Marien Fressinaud
b7b05ca3ce
Import/Export: use transactions
...
List of articles must be iterated twice since feeds must be in DB before
using transaction for articles. It may be improved?
See https://github.com/marienfressinaud/FreshRSS/issues/591
2014-09-15 15:34:56 +02:00
Marien Fressinaud
0214576571
FIXME (import/export) Use entryDAO addEntryPrepare
2014-09-12 21:46:37 +02:00
Marien Fressinaud
3fa726a81e
Import all .json files
...
Before, only feed_*.json and *starred*.json was imported. Now, all
*.json files are imported.
2014-09-12 21:34:42 +02:00
Marien Fressinaud
1316ada152
Fix bug add favorite entry
...
See https://github.com/marienfressinaud/FreshRSS/issues/494
2014-08-23 22:02:22 +02:00
Marien Fressinaud
ae54a14386
Fix problem with starred files for import/export
...
Improve guessFileType method
See https://github.com/marienfressinaud/FreshRSS/issues/494
2014-08-23 21:37:37 +02:00
Marien Fressinaud
e3bb80de17
Refactor import / export source code
...
See https://github.com/marienfressinaud/FreshRSS/issues/494
2014-08-17 22:14:13 +02:00
Marien Fressinaud
0f1133ddfe
Fix some forward() actions
...
See https://github.com/marienfressinaud/FreshRSS/issues/494
2014-08-17 21:03:01 +02:00
Marien Fressinaud
775ff40780
Improve import system
...
Catch more errors
Code refactoring
2014-08-12 22:55:43 +02:00
Marien Fressinaud
7900c5e550
Move htmlspecialchars_utf8 from Request to Helper
...
And remove html_chars_utf8 to use htmlspecialchars_utf8 instead in
importExportController
2014-08-12 21:56:34 +02:00
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
2014-08-12 21:01:07 +02:00
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
2014-08-11 19:18:12 +02:00
Marien Fressinaud
94570aaf5a
Improve system import/export
...
Miss checking presence of zip extension during import
See https://github.com/marienfressinaud/FreshRSS/issues/494
2014-08-11 19:02:27 +02:00
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
2014-08-09 00:23:22 +02:00
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
2014-08-09 00:12:37 +02:00
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
2014-08-08 23:53:16 +02:00
Alexandre Alapetite
439a0e2991
SQL: improved performance for adding new articles
2014-07-07 18:25:48 +02:00
Alexandre Alapetite
b34f59e85a
Preparation #3 for SQLite
...
https://github.com/marienfressinaud/FreshRSS/issues/100
2014-07-03 22:48:29 +02:00
Alexandre Alapetite
d6f4141086
Preparation for SQLite
...
https://github.com/marienfressinaud/FreshRSS/issues/100
2014-07-03 21:26:30 +02:00
Alexis Degrugillier
3a736e902c
Move state constants from Configuration to Entry
2014-04-13 08:16:43 -04:00
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