Commit Graph
1209 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 135486f4ef Change activate button layout 2014-04-12 22:09:10 -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
Alexandre Alapetite 6a04683171 Revert "Revert "Fix click action on article""
This reverts commit c94e893dbb.
2014-04-11 09:05:31 +02:00
Alexandre Alapetite c94e893dbb Revert "Fix click action on article"
This reverts commit 7e0566b0a1.
2014-04-11 08:41:51 +02:00
Alexandre Alapetite 903217d7a3 Merge pull request #482 from aledeg/click-article
Fix click action on article
2014-04-11 08:32:07 +02:00
Alexandre Alapetite 64a5a0d1a8 Merge pull request #481 from aledeg/theme-dark
Fix small color bug
2014-04-11 08:31:24 +02:00
Alexis Degrugillier 7e0566b0a1 Fix click action on article
Before, when the user clicks on an article header one, it expands. When it clicks a second time, it collapses.
When it clicks a third time it stays collapsed instead of expand.
Now it toggles the article between expanded and collapsed state.
2014-04-10 23:39:41 -04:00
Alexis Degrugillier 5ab6b7d2b1 Fix small color bug
There was a small bug color in Dark theme.
2014-04-10 21:59:31 -04:00
Alexandre Alapetite 11e86013aa Merge pull request #479 from aledeg/click-article
Fix unexpected behavior during navigation
2014-04-10 08:31:41 +02:00
Alexis Degrugillier 65bde8b6cf Fix unexpected behavior during navigation
When the navigation is done with the mouse and shortcuts, the focus on the current article is lost when
the article is collapsed with the mouse. So when navigating with the shortcut does not open the intended
article.

See #473 and #478
2014-04-09 20:20:32 -04:00
Alexandre Alapetite 8f59bce069 Merge pull request #475 from aledeg/new-config
Split reading configuration page
2014-04-09 09:00:54 +02: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 f6049f3be7 Change click behaviour on articles #3
Code simplification
https://github.com/marienfressinaud/FreshRSS/issues/473

https://github.com/marienfressinaud/FreshRSS/commit/60f73f53c4da215a6a60d21e809960c9cf6078fe
2014-04-08 21:17:59 +02:00
Alexandre Alapetite 60f73f53c4 Change click behaviour on articles #2
https://github.com/marienfressinaud/FreshRSS/issues/473
https://github.com/marienfressinaud/FreshRSS/pull/474/files
2014-04-08 21:04:23 +02:00
Alexandre Alapetite 6ae8607882 Merge pull request #474 from aledeg/close-action
Change click behavior on articles
2014-04-08 20:30:24 +02:00
Alexis Degrugillier 117396f751 Change click behavior on articles
Before, when the user click on an article it closes even if he want to select text.
This behavior was not acceptable, so I changed it to close the article when cliking
on the article footer or in the article margins.

See #473
2014-04-07 19:07:01 -04:00
Alexandre Alapetite 40df0eb452 UI: Align article one entry lower
https://github.com/marienfressinaud/FreshRSS/issues/470
2014-04-06 16:20:10 +02: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
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