summaryrefslogtreecommitdiff
path: root/lib/Minz
AgeCommit message (Collapse)Author
2014-08-13Long term cookie to keep session openGravatar Alexandre Alapetite
Token system https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-12Fix missing Minz_ prefix in Minz_HelperGravatar Marien Fressinaud
Nice bug :) It means another hidden bug is now corrected!
2014-08-12Coding style in Minz_HelperGravatar Marien Fressinaud
2014-08-12Move htmlspecialchars_utf8 from Request to HelperGravatar Marien Fressinaud
And remove html_chars_utf8 to use htmlspecialchars_utf8 instead in importExportController
2014-08-12Fix missing REQUEST_METHODGravatar Marien Fressinaud
Useful when executing actualize_script.php
2014-08-12Fix coding style of Minz_RequestGravatar Marien Fressinaud
2014-08-12Fix a Minz_Session TODOGravatar Marien Fressinaud
Not use additional variable to manipulate session variables Fix coding style
2014-08-12Use REQUEST_URI instead of SCRIPT_NAME for cookiesGravatar Marien Fressinaud
See https://github.com/marienfressinaud/FreshRSS/commit/eceb7756cfcf117c2a18984291181a84697ed3cd#commitcomment-7345438
2014-08-12New wrappers Minz_Request::good() and bad()Gravatar Marien Fressinaud
1. Set a notification message in session variable 2. Redirect to a specific url First use in importExportController.php See https://github.com/marienfressinaud/FreshRSS/conversations/576
2014-08-11Revert "Set session.gc_maxlifetime"Gravatar Marien Fressinaud
This reverts commit df47217839ccddb8e03015959c61b61e748d9700. See https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-10Set session.gc_maxlifetimeGravatar Marien Fressinaud
Take the maxvalue between 1440 (24m) and cookie lifetime when calling Minz_Session::keepCookie() See https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-10Add possibility to keep logged in with formGravatar Marien Fressinaud
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-09SQLite: Bug creation new usersGravatar Alexandre Alapetite
Not tested much yet. Some MySQL parts changed a bit too to double-check. https://github.com/marienfressinaud/FreshRSS/issues/574
2014-08-01Basic protection against XSRF using RefererGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/554 Also edited the error controler to use the log message passed in Minz_Error::error().
2014-07-05Add support for SQLiteGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/100 Warning: MySQL has been changed too, so bugs may have been introduced
2014-07-03Preparation for SQLiteGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/100
2014-06-15Add two wrappers (_t() and _i())Gravatar Marien Fressinaud
- _t() is a wrapper for Minz_Translate::t() - Improve coding style of Translate.php - _i() is a wrapper for FreshRSS::icon() - queries.phtml shows how they work - It is a lot easier to read files with these functions :)
2014-06-14Improve system of queriesGravatar Marien Fressinaud
- 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-03-30Merge branch '163-export' into devGravatar Marien Fressinaud
Conflicts: app/layout/aside_feed.phtml
2014-03-30Minz_Url separator is "?" instead of "/?"Gravatar Marien Fressinaud
See https://github.com/marienfressinaud/FreshRSS/pull/426
2014-03-27Export is fully implementedGravatar Marien Fressinaud
- Export list of feeds (OPML) - Export list of favourites (JSON) - Export list of articles per feed (JSON)
2014-03-24Minz: remove url_rewritingGravatar Alexandre Alapetite
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-22Minz: remove one layer of ob_ (experimental)Gravatar Alexandre Alapetite
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-22Minz: remove Minz_CacheGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/163#issuecomment-37990319 https://github.com/marienfressinaud/FreshRSS/issues/303
2014-03-16Add some helpers to Minz_Log classGravatar Marien Fressinaud
Add following methods: - Minz_Log::debug($msg) - Minz_Log::notice($msg) - Minz_Log::warning($msg) - Minz_Log::error($msg)
2014-03-02New unsafe autologin modeGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/440
2014-02-27Alpha version of Google Reader compatible APIGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/13 Hardcoded passwords, no possibility to add/delete feeds or edit categories yet.
2014-02-13Add possibility to anonymous to refresh feedsGravatar Marien Fressinaud
Obviously, it's optional! (and deactivate by default) Need some more tests? See #351
2014-02-11Better function isPostGravatar Marien Fressinaud
Use $_SERVER['REQUEST_METHOD'] instead of empty($_POST) Possibly related to #413
2014-01-25Fallback config pour 0.7-betaGravatar Marien Fressinaud
2014-01-25Corrige bug initialisation environnementGravatar Marien Fressinaud
L'environnement était toujours à SILENT et plus rien n'était loggué.
2014-01-25Corrige bug pages d'erreurGravatar Marien Fressinaud
Il ne s'agissait que d'un problème de casse :) Voir #391
2014-01-18Corrections vue globaleGravatar Alexandre Alapetite
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/353
2014-01-18Mode anonyme pour connexion 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-05Cookie IE suiteGravatar Alexandre Alapetite
Typo. Correction de https://github.com/marienfressinaud/FreshRSS/commit/79d88a2d5b30aeadc71f7c98a4a860cd97e97562
2014-01-05Corrige problème cookie avec IE en utilisant un chemin absoluGravatar Alexandre Alapetite
Corrige https://github.com/marienfressinaud/FreshRSS/issues/345 @marienfressinaud Il faudrait peut-être le ré-écrire un peu mieux en utilisant base_url de la configuration de FreshRSS, mais je n'ai pas trop suivi comment était généré et utilisée cette variable. Qu'en dis-tu ?
2014-01-02actualize_script compatible multi-utilisateurGravatar Alexandre Alapetite
* Messages plus verbeux dans actualize_script * Ajout d'un message syslog lorsque SimplePie fait une requête HTTP * Minz_Session ne fermait pas les sessions complètement. * Nouvelle option dans Minz_Dispatcher et Minz_FrontController pour ne pas utiliser ob_gzhandler. Contribue à https://github.com/marienfressinaud/FreshRSS/issues/126
2014-01-01Sauvegardes avec extension .bak.php pour plus de sécuritéGravatar Alexandre Alapetite
Évite le téléchargement
2014-01-01Minz : bug avec OPcache de PHP 5.5+Gravatar Alexandre Alapetite
Minz ne prenait pas en charge OPcache (cache PHP) http://php.net/opcache activé par défaut depuis PHP5.5. Ce fut un peu dur d'isoler ce bug :-/ Il faut penser à appeler opcache_invalidate avant de ré-utiliser un fichier par include(). Aussi, le mécanisme de lock() n'est plus approprié ni nécessaire. Pour FreshRSS, évite l'utilisation de ModelArray car il ne restait que quelques lignes d'utiles, et évite un héritage + appel de classe, ce qui est toujours ça de gagné.
2013-12-31Multi-utilisateur fonctionnel en HTTP AuthGravatar Alexandre Alapetite
+ Possibilité d'ajout / suppression d'utilisateur (seulement par l'administrateur) + Divers changements pour le mode multi-utilisateur https://github.com/marienfressinaud/FreshRSS/issues/126 + Minz : Renomme "sel_application" en "salt'
2013-12-30Cache HTTP compatible multi-utilisateurGravatar Alexandre Alapetite
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/126
2013-12-30Micro-optimisation : évite is_null et quelques if/elseGravatar Alexandre Alapetite
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/303
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-29Implémente sélecteur de méthode d’authentificationGravatar Alexandre Alapetite
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/126
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-28Suite nettoyage des types et chaînesGravatar Alexandre Alapetite
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/260
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