Commit Graph
117 Commits
Author SHA1 Message Date
Alexandre Alapetite 5b06f6cd94 Minz_Log::NOTICE instead of DEBUG if failing to update cache of unread articles
https://github.com/marienfressinaud/FreshRSS/commit/300c508d9e4732a7c6e8025ee62f934f7ecc5328
2014-07-02 00:17:08 +02:00
Alexandre Alapetite 300c508d9e Automatically correct cache number of unread articles 2014-07-01 23:30:01 +02:00
Alexandre Alapetite 63c9c47a76 SimplePie HTTP 301 Moved Permanently
Add support for HTTP 301 Moved Permanently in SimplePie
FreshRSS will automatically update the address of a feed, only in this
case.
2014-07-01 23:30:01 +02:00
Alexandre Alapetite ab233dc2d2 Solve bug for passwords with special characters
https://github.com/marienfressinaud/FreshRSS/issues/328#issuecomment-43250647
2014-06-14 14:19:44 +02:00
Marien Fressinaud a7e8332809 Improve system of queries
- Coding style
- More checks server side
- Default query name is "Query n°X"
- List of queries is moved into nav_menu, in a dropdown
- Better system to remove fields in JS (to a.remove elements, give an
  attibute data-remove="id_to_remove")
- Fix a bug in lib/Mine/Request.php (htmlspecialchars_utf8 can be applied on
  arrays now)
- Few theme improvements
- Add an element .no-mobile to apply to elements which should not appear on
  mobiles

See https://github.com/marienfressinaud/FreshRSS/pull/498
2014-06-14 09:04:31 +02:00
Marien Fressinaud 2b8dc66634 Merge branch 'user-queries' of https://github.com/aledeg/FreshRSS into aledeg-user-queries
Conflicts:
	app/layout/nav_menu.phtml
2014-06-13 20:20:43 +02:00
Marien Fressinaud 61f4d54578 Fix problem token
Token was visible in all URLs of nav menu
2014-06-13 18:33:52 +02:00
Marien Fressinaud b8f53b0525 Add an option to choose content width
- 4 options: thin, medium, large and no limit
- Thin is by default
2014-06-05 22:26:18 +02:00
Alexis Degrugillier a61180032f Fix array values 2014-05-18 06:55:12 -04:00
Alexis Degrugillier 8521c876d4 Add user queries
It's an intermediary step to remove the favorite button.
I add a button to store the current query as a favorite query. It redirects automatically to the configuration page where it is possible to name and remove user queries.
To make the queries more straigtforward, I removed the default behavior when searching for a string. This way, when we search for a string, the filter is not defaulted to all articles.
2014-05-04 17:23:53 -04:00
Alexis Degrugillier 3a736e902c Move state constants from Configuration to Entry 2014-04-13 08:16:43 -04:00
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 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
Marien Fressinaud 8ef32a10c6 Improve compatibility PHP 5.3 2014-03-30 20:47:00 +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
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 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 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
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
Alexandre Alapetite ff8fd95654 API: Bug previous commit
https://github.com/marienfressinaud/FreshRSS/issues/443
Bug in
https://github.com/marienfressinaud/FreshRSS/commit/fc6769c1b10314b50be4a3d970c5c4917be6305c
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
Alexandre Alapetite b07f9157b1 New unsafe autologin mode
https://github.com/marienfressinaud/FreshRSS/issues/440
2014-03-02 13:35:09 +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
Alexandre Alapetite 71f7ce1be5 API: SQL optimisation
https://github.com/marienfressinaud/FreshRSS/issues/13
2014-03-01 15:47:15 +01:00
Alexandre Alapetite 29b3bbfe28 API: Real password system
https://github.com/marienfressinaud/FreshRSS/issues/13
Expiring token not implemented yet
2014-03-01 14:45:58 +01:00
Alexandre Alapetite f44683b567 API streamContents for categories and feeds
https://github.com/marienfressinaud/FreshRSS/issues/13
2014-02-28 20:22:50 +01:00
Alexis Degrugillier 1e105a64ab Add a configuration option to get sticky articles
Now the user can choose if an opened article will be repositioned to the top or not

See #338
2014-02-24 19:51:57 -05:00
Alexis Degrugillier 27764b3635 Improve sharing
Previously, the share page can handle only a limited number of shares and only one of each type.
Now the configuration has been change to be more flexible and allows an unlimited number of shares.
The share description is located in an array and the share configuration is stored along with the
user configuration.

Note: I tried to include the specific javascript code in a separate file but I did not succeded to
import it.
2014-02-22 17:03:36 -05:00
Marien Fressinaud cddec2d76f Improve login page
- if user cannot log in, a 403 error is showed (and it is done in controller)
- 403 error message has been changed to match with the error
- add blank spaces on persona login page
2014-02-15 12:25:06 +01:00
Marien Fressinaud a34941f418 Improve code redirection for indexController
- add comments
- forward request is done in the controller (no Minz_Request::forward() in the
view, please)
- "soft" forward to the login form (no need of 302)
- show a 403 page (no authenticated) for rss output when token is wrong
2014-02-15 11:43:07 +01:00
Marien Fressinaud fb7bc50673 Fix bug token
The token should appear in RSS feed url when anonymous are not allowed
2014-02-15 10:44:37 +01:00
Marien Fressinaud 4dd673157b Add possibility to anonymous to refresh feeds
Obviously, it's optional! (and deactivate by default)
Need some more tests?
See #351
2014-02-13 21:45:25 +01:00
Marien Fressinaud 178af19fb0 Add possibility to open notification in JavaScript + new message
Notifications can be opened directly in JavaScript
Class .notification is now id #notification
New message when there is no feed to refresh
See 06abbd02c2 (comments)
2014-02-13 21:01:12 +01:00
Alexandre Alapetite 11c4c733d6 Bug mise à jour favicons dans le cas de flux invalides 2014-02-11 23:04:12 +01:00