Commit Graph
243 Commits
Author SHA1 Message Date
Marien Fressinaud dbf57266b2 Reset auth system comes back!
It has moved to authController.
2014-10-07 16:58:11 +02:00
Marien Fressinaud 1252b3dd86 Authentication system moved + Persona comes back!
AuthController is dedicated to auhentication.
Persona is back, greater than ever!

See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-07 16:37:10 +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 34151ea1ae Add comments in error and importExport controllers
See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-06 13:12:36 +02:00
Marien Fressinaud d65a9f9bd6 Refactor entryController
- Coding style
- Refactoring
- Comments (set of TODO)

See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-06 11:59:27 +02:00
Marien Fressinaud e2da6e6e6b Refactor feedController
See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-05 23:20:16 +02:00
Marien Fressinaud f5a95d383c Coding style errorController 2014-10-05 21:16:06 +02:00
Marien Fressinaud d8f4681382 Replace Minz_Log::record by corresponding methods
Please not use Minz_Log::record anymore!

See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-05 19:35:29 +02:00
Marien Fressinaud 9a0d01be0c Coding style
Remove spaces before parenthesis.

See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-05 18:24:28 +02:00
Marien Fressinaud 64d1026dd9 Move usersAction into usersController 2014-10-05 17:55:35 +02:00
Marien Fressinaud 6c8b36f04e Let's begin the big refactoring!
Minz_Translate::t\s? replaces by _t

See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-05 15:55:20 +02:00
Marien Fressinaud 5474803aa7 Add a TODO in feedController 2014-10-05 10:57:50 +02:00
Marien Fressinaud dd945df0cb Fix category not change (updating feed on MySQL)
See https://github.com/marienfressinaud/FreshRSS/issues/646
2014-10-03 12:54:10 +02:00
Marien Fressinaud 94520ee326 Fix category not appear on feed.add page (GET)
Must apply to 0.8.1 and 0.9.1

See https://github.com/marienfressinaud/FreshRSS/issues/649
2014-10-02 22:02:09 +02:00
Marien Fressinaud 43c1183c93 Merge branch '646-new-cat-system' into dev 2014-10-02 19:49:49 +02:00
Marien Fressinaud 408ac31dd8 Hack for dragleave (triggered on children!)
See https://github.com/marienfressinaud/FreshRSS/issues/646
2014-10-02 19:02:43 +02:00
Marien Fressinaud db4da3babc First draft for drag and drop
We can change feed category by drag and drop! Need improvements...

See https://github.com/marienfressinaud/FreshRSS/issues/646
2014-10-02 11:39:51 +02:00
Marien Fressinaud f1a5a174ea Merge branch '646-new-cat-system' into dev 2014-10-02 09:36:32 +02:00
Marien Fressinaud 7be9613fa6 Merge pull request #642 from aledeg/stats
Improve statistics
2014-10-02 09:31:54 +02:00
Marien Fressinaud f400621f44 Fix problem when deleting default category
This is not allowed!

See https://github.com/marienfressinaud/FreshRSS/issues/646
2014-10-01 13:37:10 +02:00
Marien Fressinaud a7bf7ced36 Fix links for feed management
See https://github.com/marienfressinaud/FreshRSS/issues/646
2014-10-01 12:18:32 +02:00
Marien Fressinaud 89c407d7d7 Add selected feed on main subscription page
- When an id is given, corresponding feed is displayed
- Refactor code
- Improve coding style

See https://github.com/marienfressinaud/FreshRSS/issues/646
2014-10-01 11:58:08 +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
Alexandre Alapetite a5a0bd9a35 SQL performance: Removed filter to hide old articles
As discussed on
https://github.com/marienfressinaud/FreshRSS/issues/493#issuecomment-56266415
For performance, but this is also a good simplification.
Will help with PostgreSQL
https://github.com/marienfressinaud/FreshRSS/issues/416 and SQLite too
https://github.com/marienfressinaud/FreshRSS/issues/100 because the main
query becomes simpler.

Me may need to introduce another system to hide old articles, if this is
a problem for some users.
Also, the feature showing "empty feeds" in another colour may need to be
adapted.
2014-09-30 22:28:47 +02:00
Marien Fressinaud dc714d3949 Cat updating system works
Add a submit button
Each box contains a specific form

See https://github.com/marienfressinaud/FreshRSS/issues/646
2014-09-30 17:12:42 +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 9e0a62727f Move empty cat action in the new Controller
feedController::delete is simpler than before.
Improve coding style

See https://github.com/marienfressinaud/FreshRSS/issues/646
2014-09-30 15:44:45 +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
Alexis Degrugillier cd88414abc Add an average per day for the 30 day period 2014-09-29 18:54:03 -04:00
Marien Fressinaud 17f686095d Remove queries at the same time as feeds
See https://github.com/marienfressinaud/FreshRSS/issues/625
2014-09-24 13:38:07 +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 0420a98939 Add comments on the stat controller 2014-09-21 11:51:53 -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 a14d325432 Auto-redirect from formLogin if already logged in 2014-09-19 20:30:54 +02:00
Marien Fressinaud d284958d52 Improve redirection when deleting an idle feed 2014-09-19 19:44:40 +02:00
Marien Fressinaud 07d123f1aa Load $nb/2 articles when reading view
Fix https://github.com/marienfressinaud/FreshRSS/commit/7d5e57b35b4eca07417c296c156edb3b88eef90b
See https://github.com/marienfressinaud/FreshRSS/issues/559
2014-09-19 18:47:49 +02:00