Commit Graph

74 Commits

Author SHA1 Message Date
Alexandre Alapetite
2c50ed7dc1 Merge pull request #694 from FreshRSS/hide-article
Add a feature to hide articles when they are read
2014-11-16 18:10:55 +01:00
Marien Fressinaud
0b7af8f871 Fix bug on archiving page
Introduced by ee5bbe4826
2014-11-04 13:39:17 +01:00
Alexis Degrugillier
960f86ba20 Add a feature to hide articles when they are read
This is a new reading option to hide articles when they are read. The hidding process occurs when the article is left for an other article. This way, even when the article is marked as read on opening, it is hidden only while navigating to an other article.
I'm not really happy with the behavior when the "mark while scrolling" option is enabled. Please review.
It is missing the i18n since we're not supposed to push them before it exists on i18n.freshrss.org. Or maybe I misunderstood the process.

See #476
2014-11-02 10:05:26 -05:00
Marien Fressinaud
58deab37cd Fix Minz_Error::error() -> use default values 2014-10-30 19:57:08 +01:00
Marien Fressinaud
ee5bbe4826 Fix bug size with SQLite 2014-10-30 19:19:09 +01:00
Marien Fressinaud
8a6ad05eba Remove STATE_STRICT
See https://github.com/marienfressinaud/FreshRSS/issues/634
2014-10-22 18:33:46 +02:00
Marien Fressinaud
9551145200 Better view mode
- Seperate view mode from default state in conf
- Load read articles if no unread articles only if view is adaptive

See https://github.com/marienfressinaud/FreshRSS/issues/634
2014-10-22 18:21:36 +02: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
6009990935 Introduce FreshRSS_Auth::hasAccess('admin')
Replace Minz_Configuration::isAdmin($user). FreshRSS_Auth::hasAccess() could
be extended to others scopes later.

See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-07 10:16:38 +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
64d1026dd9 Move usersAction into usersController 2014-10-05 17:55:35 +02:00
Marien Fressinaud
1eef789306 Reorganize subscription management code
There is still a lot of work to do. Some links are broken.

See https://github.com/marienfressinaud/FreshRSS/issues/646
2014-10-01 11:27:41 +02:00
Marien Fressinaud
fdb63fbbe6 Simplify configureController
Remove useless code for category configuration.

See https://github.com/marienfressinaud/FreshRSS/issues/646
2014-10-01 10:19:38 +02:00
Marien Fressinaud
7481887db7 Load feed configuration on the same page
Need improvements

See https://github.com/marienfressinaud/FreshRSS/issues/646
2014-10-01 10:06:04 +02:00
Marien Fressinaud
13fb1170c0 Move deletion of categories into new Controller
Fix i18n (occured -> occurred)

See https://github.com/marienfressinaud/FreshRSS/issues/646
2014-09-30 16:31:38 +02:00
Marien Fressinaud
edb02c8fef Move creation of categories in a new Controller
Category names are 255 chars max
2014-09-30 15:02:56 +02:00
Marien Fressinaud
5a1baff9be Refactor removing query by get param
See https://github.com/marienfressinaud/FreshRSS/issues/625
2014-09-24 13:28:09 +02:00
Marien Fressinaud
666162ae56 Fix a bug when $query['state'] doesn't exist
Add a test in addQueryAction().
2014-09-24 12:34:44 +02:00
Marien Fressinaud
a80e12cbf7 Remove queries at the same time as categories
See https://github.com/marienfressinaud/FreshRSS/issues/625
2014-09-24 12:32:49 +02:00
Marien Fressinaud
0ea3a5a394 Coding style configureController.php 2014-09-24 11:49:32 +02:00
Alexis Degrugillier
c791d84ded Fix user queries
Before, when adding a user query where the state contains the strict filter, the label applied to the query was wrong.
Now, the strict filter is always removed so the label applied is correct.
2014-09-21 18:49:34 -04:00
Alexis Degrugillier
23e4577e02 Change param filter for user queries
Before, the filter was based on a blacklist so the user could add something and have unwanted behavior.
Now, the filter is based on a whilelist so the user can use only predetermined parameters.
2014-09-21 18:40:08 -04:00
Alexis Degrugillier
04403c5dfa Remove number values for shortcuts as they are used in the default configuration 2014-09-21 18:26:27 -04:00
Alexis Degrugillier
3753ea8fd6 Change parameter settings to be consistent through out the file 2014-09-21 18:23:25 -04:00
Alexis Degrugillier
f87dfbc528 Change notification code
Before, it was using the old way to display notifications to the user.
Now, it uses the encapsulated method to do that.
2014-09-21 18:09:10 -04:00
Alexis Degrugillier
5889ef35c8 Change todo align 2014-09-21 12:01:36 -04:00
Alexis Degrugillier
bad165b0c4 Add a todo 2014-09-21 11:28:46 -04:00
Alexis Degrugillier
cf01508fa5 Fix typo 2014-09-21 11:25:53 -04:00
Alexis Degrugillier
ea7f21ba7f Add some comments
It is a work in progress. I only did that for a single class so you can tell me if this is a good idea, if the content is missing something.
Any comments are welcome.
2014-09-21 11:21:51 -04:00
Marien Fressinaud
ae4ecd8e09 Coding style (user queries) 2014-09-19 15:44:33 +02:00
Marien Fressinaud
ba378791c2 Fix blank page for invalid user queries
Add a "deprecated" information

See https://github.com/marienfressinaud/FreshRSS/issues/625
2014-09-19 13:52:50 +02:00
plopoyop
4211539c24 Add timeout option for HTML5 notification 2014-09-18 10:46:34 +02:00
Alexis Degrugillier
b1139bf39c Add category reading option
Before, when a category was selected, it was expanded to show the feeds in that category.
Now, there is a parameter that allows the user to choose either if he wants the old behaviour or if he wants to expand only when needed (when selecting a feed or when clicking the appropriate button)
2014-08-23 08:18:47 -04:00
Alexandre Alapetite
2b25aa8f68 Option to hide (or not) feeds/categories with no unread article
https://github.com/marienfressinaud/FreshRSS/issues/430
https://github.com/marienfressinaud/FreshRSS/issues/575
2014-08-09 18:46:22 +02:00
Marien Fressinaud
85bae5436c Fix bug changement default view
- It was impossible to set default view to "Show all articles"
- "0" was compared to 0 ("O" === 0 => false)
- cast value from Minz_Request into integer
2014-07-10 20:44:35 +02:00
Alexandre Alapetite
0f842c1aea SQL: removed superfluous transactions to avoid some dead locks 2014-07-08 14:14:02 +02:00
Alexis Degrugillier
21d8c03ac9 Add a configuration parameter
Add a parameter to choose wether or not the user want to display a confirmation dialog when clicking on "mark all as read" actions.
2014-07-07 19:34:47 -04:00
Alexandre Alapetite
72924cb5fe Minor white space parentheses 2014-07-06 00:10:58 +02:00
Alexandre Alapetite
bc8eb560af Add TTL to control feed freshness
https://github.com/marienfressinaud/FreshRSS/issues/250
2014-07-06 00:09:31 +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
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
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
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
5f974c2567 Merge branch '163-export' into dev
Conflicts:
	app/layout/aside_feed.phtml
2014-03-30 19:17:27 +02: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
f44683b567 API streamContents for categories and feeds
https://github.com/marienfressinaud/FreshRSS/issues/13
2014-02-28 20:22:50 +01:00