Commit Graph
1186 Commits
Author SHA1 Message Date
Alexandre Alapetite e80c482e53 Prevent click on bookmarklet
https://github.com/marienfressinaud/FreshRSS/issues/464
2014-03-30 19:23:34 +02:00
Marien Fressinaud ce3fbff61d Fix list of valid files (import label) 2014-03-30 19:21:03 +02:00
Marien Fressinaud 98f742cc35 Merge branch 'dev' of github.com:marienfressinaud/FreshRSS into dev 2014-03-30 19:17:45 +02:00
Marien Fressinaud 5f974c2567 Merge branch '163-export' into dev
Conflicts:
	app/layout/aside_feed.phtml
2014-03-30 19:17:27 +02:00
Alexandre Alapetite e2cd578b58 Spelling mistake
https://github.com/marienfressinaud/FreshRSS/commit/19517baf13dba7ebd7d41dbbacceaea3ed75af8e
2014-03-30 19:15:24 +02:00
Marien Fressinaud 19517baf13 Add a bookmark to easily subscribe to websites
- FeedController->addAction (GET) shows a confirmation page
- If already subscribe, redirect to Configure->feedAction
- Add a bookmark in aside_feed

See #425 #426 and #464
2014-03-30 17:52:42 +02:00
Marien Fressinaud 27b678203b Minz_Url separator is "?" instead of "/?"
See https://github.com/marienfressinaud/FreshRSS/pull/426
2014-03-30 15:42:32 +02:00
Marien Fressinaud 34b17b748e Fix coding style 2014-03-30 14:55:29 +02:00
Marien Fressinaud d3ab9e8c4b Improve OPML rendering
- Fix html entities rendering
2014-03-30 14:44:36 +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
Marien Fressinaud 51a70ede02 Merge branch '163-export' into dev 2014-03-27 18:36:48 +01:00
Alexandre Alapetite c8aa451c76 Minz: remove url_rewriting
As suggested
https://github.com/marienfressinaud/FreshRSS/issues/163#issuecomment-38478669

At the same time, removes a bunch of (almost) dead code such as
Minz_Router (the few remaining lines being moved to Minz_FrontController
to avoid a class)

Contributes to https://github.com/marienfressinaud/FreshRSS/issues/303
2014-03-24 20:55:18 +01:00
Alexandre Alapetite fd829d7567 Constant to enable PHP compression
https://github.com/marienfressinaud/FreshRSS/issues/303#issuecomment-38477994
2014-03-24 19:16:09 +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
Alexandre Alapetite 69deb27f65 Merge remote-tracking branch 'origin/dev' into 163-export 2014-03-22 13:22:55 +01:00
Alexandre Alapetite 72ae58d455 Minz: remove Minz_Cache
https://github.com/marienfressinaud/FreshRSS/issues/163#issuecomment-37990319
https://github.com/marienfressinaud/FreshRSS/issues/303
2014-03-22 13:20:49 +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
Alexandre Alapetite 5bf511c00f Bug feed name with special chars
https://github.com/marienfressinaud/FreshRSS/issues/462
2014-03-16 21:15:28 +01:00
Marien Fressinaud 8fb630821b Fix bug when emptying a category
- Controller expected a POST action but we were using a link (so a GET action)
- Links to empty a category is now a button whit a formaction
- Improve comparaison id with id of the default category
2014-03-16 19:50:55 +01:00
Marien Fressinaud e685b54148 Merge branch 'dev' into 163-export 2014-03-16 19:45:39 +01:00
Marien Fressinaud 996c387f50 Add some helpers to Minz_Log class
Add following methods:
- Minz_Log::debug($msg)
- Minz_Log::notice($msg)
- Minz_Log::warning($msg)
- Minz_Log::error($msg)
2014-03-16 19:43:17 +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
Alexandre Alapetite 19fb901cb4 Small corrections previous pull requests
https://github.com/marienfressinaud/FreshRSS/issues/457
https://github.com/marienfressinaud/FreshRSS/pull/459

https://github.com/marienfressinaud/FreshRSS/issues/422
https://github.com/marienfressinaud/FreshRSS/pull/461
2014-03-15 15:08:44 +01:00
Alexandre Alapetite 53d31c022d Merge pull request #461 from aledeg/password
Add a button to reveal/hide password
2014-03-15 14:32:09 +01:00
Alexandre Alapetite 2791684e72 Merge pull request #460 from aledeg/article-close
Change article observer
2014-03-15 14:27:19 +01:00
Alexis Degrugillier 1af723ca68 Add a button to reveal/hide password
I add a button on the configure user interface to reveal the password for 2 seconds and hide it after that period.

See #442

I am not sure if the fallback unicode text for the icon is correct. I can not make it work.
2014-03-15 07:20:42 -04:00
Alexis Degrugillier be46819f51 Change article observer
Instead of observe only the bottom of the article to collapse the article, the whole article is observed.
Now if you want to close an article in the middle of your reading, you can.
2014-03-14 20:46:50 -04:00
Alexandre Alapetite 16d5276931 Merge pull request #459 from aledeg/refresh
Refresh page after getting new articles.
2014-03-14 19:10:31 +01:00
Alexis Degrugillier f31747ee7b Refresh page after getting new articles.
Change the URL to the refresh link. Before it was redirecting to the home page.
Now it is redirecting to the same page, which make more sense.

See #457
2014-03-14 06:15:52 -04:00
Alexandre Alapetite 8320154f6c Merge pull request #458 from aledeg/bottom-close
Add an observer to close an article when clicking on its footer
2014-03-13 11:22:13 +01:00
Alexis Degrugillier 6863ad663f Add an observer to close an article when clicking on its footer
See #449
2014-03-12 22:40:20 -04:00
Alexandre Alapetite f48fc2755c API: New test for getallheaders() problem
https://github.com/marienfressinaud/FreshRSS/issues/443
2014-03-10 21:26:52 +01:00
Alexandre Alapetite ab1bec28c2 API: Better compatibility with Apache/PHP-CGI
https://github.com/marienfressinaud/FreshRSS/issues/443#issuecomment-37226210
2014-03-10 21:06:58 +01:00
Alexandre Alapetite 608b3a8656 Link to logs in case of error when adding new feed
https://github.com/marienfressinaud/FreshRSS/issues/453
2014-03-10 20:16:41 +01:00
Alexandre Alapetite ed328ae69c API: Optimisation nginx + less debug info
https://github.com/marienfressinaud/FreshRSS/issues/443
Faster access to headers in nginx
Show detailed debug info only in the case of errors
2014-03-10 17:58:11 +01:00
Alexandre Alapetite 8a8fe93d34 SQL: Update cached values after an optimization
https://github.com/marienfressinaud/FreshRSS/issues/452
2014-03-10 17:34:29 +01:00
Alexandre Alapetite 5c2daf58a8 Merge pull request #451 from aledeg/category
Enhance feed adding popup
2014-03-10 09:46:00 +01:00
Alexis Degrugillier 3083af6288 Enhance feed adding popup
I added a new option in the category select. It allows the user to add dynamically
a new category and add the feed to the newly created category.

See #356
2014-03-09 21:45:25 -04:00
Alexandre Alapetite c3cac60b31 Autoload when less than 2 remaining articles
https://github.com/marienfressinaud/FreshRSS/issues/388
+ Simplify code
2014-03-09 21:30:20 +01:00
Alexandre Alapetite 670ee57b62 Interface to enable/disable API and unsafe automatic login
https://github.com/marienfressinaud/FreshRSS/issues/13
https://github.com/marienfressinaud/FreshRSS/issues/440
2014-03-08 20:16:10 +01:00
Alexandre Alapetite faa9a74324 Merge pull request #447 from aledeg/share
Sharing optimization
2014-03-08 15:56:54 +01:00
Alexis Degrugillier 20ebf987b4 Merge branch 'share' of https://github.com/aledeg/FreshRSS into share
Conflicts:
	app/Models/Configuration.php
2014-03-08 09:26:02 -05:00
Alexis Degrugillier 339a0dd49c Change test on URL parameter 2014-03-08 09:23:59 -05:00
Alexis Degrugillier c2e9bfd0d7 Add a test to avoid warnings in log 2014-03-08 09:18:07 -05:00
Alexis Degrugillier b0a3610db7 Change test 2014-03-08 09:18:07 -05:00