Commit Graph

743 Commits

Author SHA1 Message Date
Alexis Degrugillier
cd87e2000a Revert deletion of the favorite actions 2014-04-13 07:35:17 -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
Alexis Degrugillier
d25afa9def Extract RSS feed from menu
The RSS action has now its own button. I also reorganized the button display order to be more natural.

I did not find an appropriate Unicode replacement for the Rss icon.
2014-04-12 22:46:35 -04:00
Alexis Degrugillier
e251247efb Fix DOM ids 2014-04-12 22:13:17 -04:00
Alexis Degrugillier
3e665bcf9a Delete favorite button
I extract drop-down menu actions to make them as button action in the page header.
I removed the favorite button on the category list because it is a duplicate from the button action.
Now button action act as filters and you can combine them.

It is a test to see if we can keep it like that. There is still work to do to extract other actions from the drop-down list.
I did not want to change everything if we don't keep it.

See #376 and #277
2014-04-12 11:51:44 -04:00
Alexis Degrugillier
b55571de8f Split reading configuration page
I splitted the reading configuration page in 2 pages. The display configuration page
to prepare for #265 and the reading configuration page.
It is just a test, feel free to discard that.

I also change some wording to be consistent through out the application.
2014-04-08 23:26:41 -04:00
Alexandre Alapetite
b5e60062a5 Add link to article title
https://github.com/marienfressinaud/FreshRSS/issues/469
2014-04-06 13:23:35 +02:00
Marien Fressinaud
8ef32a10c6 Improve compatibility PHP 5.3 2014-03-30 20:47:00 +02:00
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
19517baf13
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
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
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
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
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
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
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
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
8a8fe93d34 SQL: Update cached values after an optimization
https://github.com/marienfressinaud/FreshRSS/issues/452
2014-03-10 17:34:29 +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
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
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
Alexis Degrugillier
e9eca6aff6 Sharing optimization
Change the storage and display of sharings to improve the time needed to generate the page.
Instead of looking for a default value when displaying the sharing links, they are added
during the configuration.
2014-03-08 09:18:06 -05:00
Alexandre Alapetite
9bbff4eb65 API: Show API password config only when relevant
https://github.com/marienfressinaud/FreshRSS/issues/13
2014-03-04 21:11:32 +01:00
Alexandre Alapetite
ff8fd95654 API: Bug previous commit
https://github.com/marienfressinaud/FreshRSS/issues/443
Bug in
fc6769c1b1
2014-03-03 21:27:45 +01:00
Alexandre Alapetite
fc6769c1b1 API: Add continuation mode
https://github.com/marienfressinaud/FreshRSS/issues/443
Needed for e.g. EasyRSS
2014-03-03 21:25:14 +01:00
Alexis Degrugillier
80d576dac7 Add a default URL value 2014-03-02 09:24:02 -05:00
Alexandre Alapetite
b07f9157b1 New unsafe autologin mode
https://github.com/marienfressinaud/FreshRSS/issues/440
2014-03-02 13:35:09 +01:00
Alexandre Alapetite
70e50d449f Revert "Give username/password by GET"
This reverts commit 3e7d14ccea.
2014-03-02 12:16:20 +01:00
Alexandre Alapetite
00774f5a0b API : SQL optimisation WHERE ... IN, and better compatibility EasyRSS
https://github.com/marienfressinaud/FreshRSS/issues/13
2014-03-02 11:54:52 +01:00
Alexandre Alapetite
3e7d14ccea Give username/password by GET
https://github.com/marienfressinaud/FreshRSS/issues/440
Warning, not so safe
2014-03-02 01:29:28 +01:00
Alexandre Alapetite
a8d06d1270 Micro-optimisation is_null
https://github.com/marienfressinaud/FreshRSS/pull/434
https://github.com/marienfressinaud/FreshRSS/issues/428
2014-03-01 20:56:27 +01:00
Alexis Degrugillier
736ee492a0 Show only unread when selecting unread
Before, when there was no unread articles, all articles where displayed. This behaviour was not the one intended.
Now, when there is no unread articles, a message is displayed to alert that there is no article.

See #428

Correction after comment
2014-03-01 14:30:55 -05:00