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
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
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
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
a14d325432
Auto-redirect from formLogin if already logged in
2014-09-19 20:30:54 +02:00
Marien Fressinaud
07d123f1aa
Load $nb/2 articles when reading view
...
Fix 7d5e57b35b
See https://github.com/marienfressinaud/FreshRSS/issues/559
2014-09-19 18:47:49 +02:00
Marien Fressinaud
94915f1c0a
Reset auth system: i18n and style
...
See https://github.com/marienfressinaud/FreshRSS/issues/521
2014-09-18 15:32:59 +02:00
Marien Fressinaud
d2799d168e
Improve resetAuth redirections
...
See https://github.com/marienfressinaud/FreshRSS/issues/521
2014-09-18 15:09:47 +02:00
Marien Fressinaud
f727a13836
Improve reset auth system
...
- Add bcrypt.js in resetAuthAction()
- Rename init_loginForm() in init_crypto_form()
- Load init_crypto_form() everytime (if no #crypto-form, do nothing)
2014-09-18 14:50:54 +02:00
Marien Fressinaud
23609ad858
Add page for reset auth type [NOT WORKING]
...
See https://github.com/marienfressinaud/FreshRSS/issues/521
2014-09-18 14:18:00 +02:00
Marien Fressinaud
7d5e57b35b
Load $nb/2 articles when articles are unfolded
...
See https://github.com/marienfressinaud/FreshRSS/issues/559
2014-09-17 09:15:19 +02:00
Alexandre Alapetite
fb664c2405
Correction pagination bug for read articles
...
https://github.com/marienfressinaud/FreshRSS/issues/587
2014-08-23 11:04:17 +02:00
Alexandre Alapetite
5c2f3349fa
Long term cookie: purge old tokens
...
https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-13 20:09:23 +02:00
Alexandre Alapetite
359ccc8e4c
Long term cookie minor change
...
https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-13 00:25:52 +02:00
Alexandre Alapetite
ee1b8f6f72
Long term cookie to keep session open
...
Token system
https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-13 00:09:48 +02:00
Marien Fressinaud
93a77f84d4
Change cookie lifetime to 1 month.
...
See https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-10 21:08:10 +02:00
Marien Fressinaud
eceb7756cf
Add possibility to keep logged in with form
...
Add an option to keep logged in.
Change lifetime of session cookie to 1 year.
See https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-10 20:29:43 +02:00
Alexandre Alapetite
b68c5c6630
Dynamic favicon: remove the same number in the title
...
Now the number of unread articles in only shown in the favicon
https://github.com/marienfressinaud/FreshRSS/issues/539
2014-08-09 22:00:20 +02:00
Alexandre Alapetite
2da4c13263
Number of unread articles as prefix in page title
...
https://github.com/marienfressinaud/FreshRSS/issues/536
2014-07-13 22:36:34 +02:00
Alexandre Alapetite
b48dc25963
Merge pull request #516 from aledeg/stats
...
Refactor statistics
2014-07-05 18:43:35 +02:00
Alexandre Alapetite
76b64a6907
Bug search
...
Following introduction of user-queries
2b8dc66634 (diff-be03dd1f6b53ebb2682ba9dd334bc273)
2014-07-05 12:08:17 +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
Alexandre Alapetite
5b06f6cd94
Minz_Log::NOTICE instead of DEBUG if failing to update cache of unread articles
...
300c508d9e
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
Alexis Degrugillier
181fcd9889
Refactor statistics
...
I made a new controller to handle statistics. The old statistics have been moved in that controller and a new action has been added to display idle feeds. I also added a menu in the left panel to navigate between the statistics pages.
See #90
2014-06-15 12:05:21 -04: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
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
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
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
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
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
Alexandre Alapetite
a6f122e03c
Formatage des nombres #2
...
https://github.com/marienfressinaud/FreshRSS/pull/398
Je suis reparti du commit 7a510af73a , ai
ajouté la gestion des espaces à une fonction de conversion des entiers,
corrigé ce qui devait être fait côté PHP, et remis manuellement les
patchs intermédiaires (j'espère ne pas avoir oublié de corrections).
Le code est même plus simple qu'avant.
Testé aussi sur titre et favoris
2014-01-28 00:18:30 +01:00
Marien Fressinaud
ec48755fc1
Ajout authentification + titre pour page stats
2014-01-27 22:46:35 +01:00
Alexandre Alapetite
fdefc8c731
Formatage des nombres
...
https://github.com/marienfressinaud/FreshRSS/pull/398
2014-01-27 22:35:27 +01:00
Alexandre Alapetite
7a510af73a
Compatibilité bcrypt.js oubliée
...
Corrige https://github.com/marienfressinaud/FreshRSS/issues/396
+ Ajoute de meilleurs messages d'erreur
2014-01-26 19:06:42 +01:00
Alexis Degrugillier
b0641fd0eb
Modification des statistiques.
...
Ajout de la liste des 10 plus gros contributeurs
Ajout de règles CSS pour les thèmes Flat et Dark
Modification de l'affichage des camemberts (tri par nombre qui remplace le tri alphabétique)
2014-01-26 08:54:52 -05:00
Alexandre Alapetite
3930235b18
indexController : Charge les DAO uniquement lorsque nécessaire
...
Poursuit le raisonnement de
bd6a7606c0
Petites corrections
https://github.com/marienfressinaud/FreshRSS/issues/90
2014-01-25 23:44:36 +01:00
Alexandre Alapetite
bd6a7606c0
Intégration statistiques
...
Quelques corrections
https://github.com/marienfressinaud/FreshRSS/pull/390
en particulier correction bug chargement asynchrone JavaScript
Pour https://github.com/marienfressinaud/FreshRSS/issues/90
2014-01-25 23:21:01 +01:00