aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/Request.php
AgeCommit message (Collapse)Author
2016-04-23HTTP2 optimizationGravatar Alexandre Alapetite
Fast flush HTTP headers, push promise CSS. Requires PHP 5.3+ due to anonymous function. Do not load syles, scripts, and notifications for Ajax requests. https://github.com/FreshRSS/FreshRSS/issues/1089
2016-03-08Secure cookie HTTPSGravatar Alexandre Alapetite
2015-11-03Use HTTP_X_FORWARDED_Gravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/975
2015-07-23Use filter_var in guessBaseUrlGravatar Marien Fressinaud
See https://github.com/FreshRSS/FreshRSS/issues/906 See https://github.com/FreshRSS/FreshRSS/pull/915/files#r35304704
2015-07-23Fix unexpected behaviour in getBaseUrlGravatar Marien Fressinaud
- getBaseUrl() returns info from configuration only and always append the suffix - add a guessBaseUrl() to extract base_url from $_SERVER info - fix Url::display() to take this change in consideration Fix https://github.com/FreshRSS/FreshRSS/issues/906 Use https://github.com/FreshRSS/FreshRSS/pull/910
2015-07-17dirname problemGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/906
2015-05-23Minz getBaseUrl correction and RSS template bugGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/848 Corrections in Minz (HTTP_HOST was not sanitized, getURI() was never used and not working anyway with absolute base_url) $this->url was not defined in rss.phtml
2015-01-06BREAKING FEATURE: Remove general in configGravatar Marien Fressinaud
General attribute has been removed from system config. Now subattributes (e.g. environment, salt, title, etc.) are directly accessible. YOU HAVE TO FIX YOUR ./data/config.php file! - Remove the general array - Values inside this array must be kept - To see what it must look like, please have a look to ./data/config.default.php (but keep your values!!). See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-05New configuration system (not working yet)Gravatar Marien Fressinaud
- Use only Minz_Configuration - register() method to load a new configuration file - get() to get a configuration - new exceptions related to configuration - fix a list configuration calls to have FRSS working Current problems to resolve: - How to handle configuration param verifications (i.e. check auth_type is a value from none, http_auth, persona or form) - We must use $conf = Minz_Configuration::get('system'); $general_conf = $conf->general; to access global system configuration which is quite annoying. How to change that? See https://github.com/FreshRSS/FreshRSS/issues/730
2014-10-21Views are in dedicated actions + improve ContextGravatar Marien Fressinaud
- Seperate normal, global and rss outputs in dedicated actions (NOT WORKING YET!) - Rewrite aside_flux and nav_menu to use Context object - Improve Context object See https://github.com/marienfressinaud/FreshRSS/issues/634
2014-09-19Improve redirection when deleting an idle feedGravatar Marien Fressinaud
2014-09-17Move http referer test into lib_rssGravatar Marien Fressinaud
Rename method (coding style) Change in app/FreshRSS.php Improve test of app/install.php
2014-08-30Bug referer for systems with non-standard HTTP portGravatar Alexandre Alapetite
Now tests also for the scheme and port, which must be identical to the ones in the referer. https://github.com/marienfressinaud/FreshRSS/issues/565#issuecomment-53916915 https://github.com/marienfressinaud/FreshRSS/issues/554
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-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-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-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-02-11Better function isPostGravatar Marien Fressinaud
Use $_SERVER['REQUEST_METHOD'] instead of empty($_POST) Possibly related to #413
2013-12-28Correction bug base_urlGravatar Alexandre Alapetite
À appliquer aussi à la 0.7-beta
2013-12-16SQL : petits changement rechercheGravatar Alexandre Alapetite
Traite mieux les caractères spéciaux. Permet par exemple une recherche sur des mots contenant des apostrophes, ou le signe pourcentage, etc. Il faudra toujours essayer d'améliorer la recherche en particulier lorsque plusieurs mots sont fournis
2013-12-15Problème de casse renommage répertoireGravatar Alexandre Alapetite