- Feb 03, 2019
-
-
Tim van Dijen authored
Fixes for the remainder of lib/SimpleSAML
-
- Dec 10, 2018
-
-
Tim van Dijen authored
-
- Dec 03, 2018
-
-
Tim van Dijen authored
-
- Nov 20, 2018
-
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
-
- Oct 17, 2018
-
-
Jaime Pérez Crespo authored
-
Arno van der Vegt authored
-
- Oct 08, 2018
-
-
Jaime Pérez Crespo authored
This introduces the following: - The use of Request objects to handle request data to controllers. - The use of Response objects to model responses that should be sent to the browser. - The use of "controllers" that are responsible for translating a request into a response. - The possibility to define your own URLs on each module by specifying them, together with their controllers, in a "routes.yaml" file in the root of a module. - The new UI is completely separated from the old, so "usenewui" must be set to "true" in the configuration. - Twigified templates are not used unless we're using the new UI, or the twig template is part of a theme.
-
- Aug 22, 2018
-
-
Tim van Dijen authored
-
- Aug 13, 2018
-
-
Tim van Dijen authored
-
- Jun 01, 2018
-
-
Tim van Dijen authored
-
- May 31, 2018
-
-
Tim van Dijen authored
-
Tim van Dijen authored
-
- Nov 22, 2017
-
-
Jaime Pérez Crespo authored
Doing so allows us to mock the class. Otherwise, the _autoload_module.php is always called first, and when it tries to register the functions from that class, it automatically autoloads it, making it impossible to mock it afterwards.
-
- Oct 25, 2017
-
-
Jaime Pérez Crespo authored
-
- Oct 19, 2017
-
-
fentie authored
-
- Jul 04, 2017
-
-
Jaime Pérez Crespo authored
Instead of one cache, we need to use two: one for the list of modules available, and the other for the details for them. Those caches should be filled independently, so that someone calling getModules() does not trigger the code checking of the modules are enabled or finding their hooks.
-
- Jun 30, 2017
-
-
Jaime Pérez Crespo authored
The issue here is that every time we need to list the modules or check if they are enabled, we just iterate over the modules directory and subdirectories, which is terribly expensive. Instead of doing so, we build a cache of modules specifying if they are enabled or not. In the end, this is also fixing another issue, given that enabling/disabling a module in the middle of a request being processed could lead to inconsistencies and unexpected behaviour (likely exceptions and horrible crashes). Modules should be checked in the beginning of a request and their state (enabled/disabled) frozen until the request is processed to avoid that, and this is the way to achieve so. Additionally, we take the chance to check if modules are enabled when we search for them. This reduces the processing time to around a third of the original without this fix.
-
- Mar 09, 2016
-
-
Jaime Perez Crespo authored
-
Jaime Perez Crespo authored
-
- Feb 22, 2016
-
-
Jaime Perez Crespo authored
-
Jaime Perez Crespo authored
-
- Feb 19, 2016
-
-
Jaime Perez Crespo authored
-
Jaime Perez Crespo authored
-
- Aug 05, 2015
-
-
Jaime Perez Crespo authored
-
Jaime Perez Crespo authored
-
- May 26, 2015
-
-
Olav Morken authored
Currently, if we try to load a class from a module, and the config.php is absent, we will get an error about the missing configuration file. There is no reason for the configuration file to be mandatory here, since we have reasonable fallbacks, so fix the code to make it optional. This should make it easier to write tests for code in modules.
-
- Apr 21, 2015
-
-
Jaime Perez Crespo authored
Move SimpleSAML_Utilities:::getBaseURL() to SimpleSAML\Utils\HTTP::getBaseURL() and deprecate the former.
-
Jaime Perez Crespo authored
Move SimpleSAML_Utilities::addURLparameter() to SimpleSAML\Utils\HTTP::addURLParameters() and deprecate the former.
-
- Jan 15, 2015
-
-
Jaime Perez authored
-
- Jul 09, 2014
-
-
Thijs Kinkhorst authored
-
- Jan 09, 2013
-
-
Andjelko Horvat authored
SimpleSAML_Module: add module.enable configuration option for enabling/disabling modules (issue #475). git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3218 44740490-163a-0410-bde0-09ae8108e29a
-
- Apr 12, 2012
-
-
Olav Morken authored
Thanks to Ryan Panning for providing this patch. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3065 44740490-163a-0410-bde0-09ae8108e29a
-
- Nov 26, 2010
-
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2657 44740490-163a-0410-bde0-09ae8108e29a
-
- Jul 09, 2010
-
-
Olav Morken authored
Replace uses of utilities::selfURLhost() followed by config->getBaseURL with a call to utilities::getBaseURL(). git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2389 44740490-163a-0410-bde0-09ae8108e29a
-
- Dec 16, 2009
-
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2054 44740490-163a-0410-bde0-09ae8108e29a
-
- Sep 01, 2008
-
-
Andreas Åkre Solberg authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@849 44740490-163a-0410-bde0-09ae8108e29a
-
- Aug 20, 2008
-
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@822 44740490-163a-0410-bde0-09ae8108e29a
-
- Aug 18, 2008
-
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@809 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@808 44740490-163a-0410-bde0-09ae8108e29a
-