summaryrefslogtreecommitdiff
path: root/app/Controllers/indexController.php
AgeCommit message (Collapse)Author
2014-07-13Number of unread articles as prefix in page titleGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/536
2014-07-05Merge pull request #516 from aledeg/statsGravatar Alexandre Alapetite
Refactor statistics
2014-07-05Bug searchGravatar Alexandre Alapetite
Following introduction of user-queries https://github.com/marienfressinaud/FreshRSS/commit/2b8dc666345d334f50bf2f4f32f0b127edb40c3a#diff-be03dd1f6b53ebb2682ba9dd334bc273
2014-07-03Preparation #3 for SQLiteGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/100
2014-07-03Preparation for SQLiteGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/100
2014-07-02Minz_Log::NOTICE instead of DEBUG if failing to update cache of unread articlesGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/commit/300c508d9e4732a7c6e8025ee62f934f7ecc5328
2014-07-01Automatically correct cache number of unread articlesGravatar Alexandre Alapetite
2014-06-15Refactor statisticsGravatar Alexis Degrugillier
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-13Merge branch 'user-queries' of https://github.com/aledeg/FreshRSS into ↵Gravatar Marien Fressinaud
aledeg-user-queries Conflicts: app/layout/nav_menu.phtml
2014-06-13Fix problem tokenGravatar Marien Fressinaud
Token was visible in all URLs of nav menu
2014-05-04Add user queriesGravatar Alexis Degrugillier
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-04-13Move state constants from Configuration to EntryGravatar Alexis Degrugillier
2014-04-13Revert deletion of the favorite actionsGravatar Alexis Degrugillier
2014-04-13Add a new status for 'ALL'Gravatar Alexis Degrugillier
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-12Delete favorite buttonGravatar Alexis Degrugillier
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-03-14Refresh page after getting new articles.Gravatar Alexis Degrugillier
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-03API: Bug previous commitGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/443 Bug in https://github.com/marienfressinaud/FreshRSS/commit/fc6769c1b10314b50be4a3d970c5c4917be6305c
2014-03-03API: Add continuation modeGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/443 Needed for e.g. EasyRSS
2014-03-02New unsafe autologin modeGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/440
2014-03-01Micro-optimisation is_nullGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/pull/434 https://github.com/marienfressinaud/FreshRSS/issues/428
2014-03-01Show only unread when selecting unreadGravatar Alexis Degrugillier
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-02-15Improve login pageGravatar Marien Fressinaud
- 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-15Improve code redirection for indexControllerGravatar Marien Fressinaud
- 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-15Fix bug tokenGravatar Marien Fressinaud
The token should appear in RSS feed url when anonymous are not allowed
2014-01-28Formatage des nombres #2Gravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/pull/398 Je suis reparti du commit 7a510af73a0ef04ce09fb7eedd98c844e7bff51c, 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-27Ajout authentification + titre pour page statsGravatar Marien Fressinaud
2014-01-27Formatage des nombresGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/pull/398
2014-01-26Compatibilité bcrypt.js oubliéeGravatar Alexandre Alapetite
Corrige https://github.com/marienfressinaud/FreshRSS/issues/396 + Ajoute de meilleurs messages d'erreur
2014-01-26Modification des statistiques.Gravatar Alexis Degrugillier
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-25indexController : Charge les DAO uniquement lorsque nécessaireGravatar Alexandre Alapetite
Poursuit le raisonnement de https://github.com/marienfressinaud/FreshRSS/commit/bd6a7606c0d2364fd472f7903260a72f37b31f3b Petites corrections https://github.com/marienfressinaud/FreshRSS/issues/90
2014-01-25Intégration statistiquesGravatar Alexandre Alapetite
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-25Ajout de statistiques de l'applicationGravatar Alexis Degrugillier
Conflicts: app/i18n/en.php app/i18n/fr.php
2014-01-18Corrections vue globaleGravatar Alexandre Alapetite
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/353
2014-01-18Corrections mode anonyme avec formulaireGravatar Alexandre Alapetite
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/361
2014-01-12Implémentation de l'indentification par mot de passeGravatar Alexandre Alapetite
Implémentation de https://github.com/marienfressinaud/FreshRSS/issues/104
2014-01-07Un peu de typographieGravatar Alexandre Alapetite
* Remplace les tirets de soustraction par points médians ou des tirets cadratins (si c'est trop long, nous pourrions mettre des demi-cadratins). * Met les abréviations des jours anglais en exposant, comme `3<sup>rd</sup>`
2014-01-07Revert "Debug Persona temporaire"Gravatar Alexandre Alapetite
This reverts commit 1fb25addd09660c08ff74b960b1c226acc319978.
2014-01-05Debug Persona temporaireGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/347
2014-01-02Mutex pour actualize_scriptGravatar Alexandre Alapetite
Nouveau fichier temporaire ./data/actualize.lock.txt
2013-12-31Multi-utilisateur fonctionnel avec Mozilla PersonaGravatar Alexandre Alapetite
Il faut ré-enregistrer l'adresse courriel une fois dans l'interface de FreshRSS pour créer le fichier nécessaire. + Comparaison sans tenir compte de la casse pour les noms d'utilisateur. Contribue à https://github.com/marienfressinaud/FreshRSS/issues/126 ll faudra tester la sécurité
2013-12-30Cache HTTP compatible multi-utilisateurGravatar Alexandre Alapetite
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/126
2013-12-30Log compatible multi-utilisateurGravatar Alexandre Alapetite
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/126. Il faudra restaurer la gestion du cache HTTP pour les logs
2013-12-30Début de mode multi-utilisateur avec http_authGravatar Alexandre Alapetite
+ Légère optimisation de Minz_View. + Encore plus de tests de bibliothèques dans install.php Contribue à https://github.com/marienfressinaud/FreshRSS/issues/126 et https://github.com/marienfressinaud/FreshRSS/issues/303
2013-12-28Refactorisation FreshRSS_ConfigurationGravatar Alexandre Alapetite
Implémente https://github.com/marienfressinaud/FreshRSS/issues/260 (évite les comparaisons de chaînes au profit des vrais booléens et entiers) Grosse simplification et réduction du code relatif à la configuration. Supprime ConfigurationDAO. Permet de simplifier considérablement configureController. Évite de multiples copies des mêmes données en mémoire. Évite de garder plusieurs versions de la configuration en mémoire (auparavant : dans un tableau au niveau de ModelArray + au niveau de FreshRSS_Configuration + en Session + des copies temporaires comme ConfigurationDAO). Ne stocke plus 'conf' en Session (n'était presque pas utilisé). Évite de recharger plusieurs fois Translate inutilement. Contribue à https://github.com/marienfressinaud/FreshRSS/issues/303
2013-12-28Minz : refactorisation ModelArray et LogGravatar Alexandre Alapetite
Utilisation de fonctions natives de PHP comme file_put_contents et var_export Évite de garder un descripteur de fichier ouvert tout le temps Et ModelTxt n'est plus utilisé
2013-12-28Bouge anon_access dans config.phpGravatar Alexandre Alapetite
L'accès anonyme n'est pas au niveau utilisateur mais au niveau global. Bouge FreshRSS_Configuration::conf->anonAccess() qui était stocké dans *_user.php vers Minz_Configuration::allowAnonymous() stocké dans config.php Contribue à https://github.com/marienfressinaud/FreshRSS/issues/126 + autres optimisations Contribue à https://github.com/marienfressinaud/FreshRSS/issues/260
2013-12-25Option globale pour la taille minimale de l'historique par défautGravatar Alexandre Alapetite
Plus une réorganisation des options
2013-12-19Refactorisation : correction classes oubliéesGravatar Alexandre Alapetite
2013-12-16PHP : performances fonction isDayGravatar Alexandre Alapetite
Amélioration des performances de Entry->isDay()
2013-12-16SQL : performancesGravatar Alexandre Alapetite
Tentative de reformulation de la requête principale pour améliorer les performances. Utilisation d'une sous-jointure qui retourne uniquement e.id. Sur mon serveur avec 13000 articles, la requête de la page d'accueil sans article non lu mettait 1.38s avant le patch, contre 0.08s après (en désactivant bien sûr le cache SQL). Il faudra re-tester et tenter d'autres optimisations (notamment sur les index) avec un nombre d'articles plus important. Avant : SELECT SQL_NO_CACHE e.id, e.guid, e.title, e.author, UNCOMPRESS(e.content_bin) AS content, e.link, e.date, e.is_read, e.is_favorite, e.id_feed, e.tags FROM `freshrss_alex_entry` e INNER JOIN `freshrss_alex_feed` f ON e.id_feed = f.id WHERE f.priority > 0 AND (e.id >= 1371597014000000 OR e.is_favorite = 1 OR f.keep_history = 1) ORDER BY e.id DESC LIMIT 33; Après : SELECT SQL_NO_CACHE e.id, e.guid, e.title, e.author, UNCOMPRESS(e.content_bin) AS content, e.link, e.date, e.is_read, e.is_favorite, e.id_feed, e.tags FROM `freshrss_alex_entry` e INNER JOIN (SELECT e1.id FROM `freshrss_alex_entry` e1 INNER JOIN `freshrss_alex_feed` f ON e1.id_feed = f.id WHERE f.priority > 0 AND (e1.id >= 1371597014000000 OR e1.is_favorite = 1 OR f.keep_history = 1) ORDER BY e1.id DESC LIMIT 33) e2 ON e2.id = e.id ORDER BY e.id DESC;