- Dec 10, 2018
-
-
Ben Johnson authored
For Redis instances that require authentication, the current Redis store does not work. So, this commit adds optional support for utilizing the Predis password option. It will pick up the password from the config file and pass it along when it instantiates the Predis client. The test simply checks that adding the password option doesn't break the constructor. Since Predis parameters end up as protected, we can't verify that the instance contains the password.
-
- Dec 08, 2018
-
-
Tim van Dijen authored
This reverts commit 9fa3dc94.
-
- Dec 07, 2018
-
-
Tim van Dijen authored
Start migrating to SAML2 getters/setters
-
- Dec 03, 2018
-
-
Tim van Dijen authored
-
Tim van Dijen authored
-
Tim van Dijen authored
-
Jaime Pérez Crespo authored
This resolves #1009.
-
- Dec 02, 2018
-
-
Tim van Dijen authored
-
Tim van Dijen authored
We were echoing the result of require(), resulting in a '1' being printed during login
-
- Nov 30, 2018
-
-
Tim van Dijen authored
-
- Nov 29, 2018
-
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
This introduces a "theme.header" configuration option in order to achieve that.
-
- Nov 28, 2018
-
-
Jaime Pérez Crespo authored
This function can be used to load an asset from a twig template, adding a "tag" parameter to it with a few dynamic bytes depending on the version of SimpleSAMLphp, or the last modification time of the file if we are running master. This behaves as a cache-buster, forcing browsers to reload assets when a new version of SimpleSAMLphp gets installed.
-
Jaime Pérez Crespo authored
This way we can forget about updating the copyright notice every year.
-
- Nov 23, 2018
-
-
Jaime Pérez Crespo authored
Create a new "configpage" hook for those modules that need to inject anything in the configuration page. This allows us to change the signature of the hook, so that we pass it the \SimpleSAML\XHTML\Template object and then the hook can not only add data to be passed to the twig template, but also add its own translation domain. This was needed because many modules were putting their translations inside "core", and when moving those to the modules themselves, the new translation system cannot perform the translation because only the translations for the current module in use are loaded (in the config page, that's the core module). Therefore, we needed a way to get the Localization instance from the template, and a way to pass that to the hook so that the hook can register the translations for its own module.
-
- Nov 21, 2018
-
-
Tim van Dijen authored
-
Tim van Dijen authored
-
Thijs Kinkhorst authored
-
Tim van Dijen authored
-
Jaime Pérez Crespo authored
-
- Nov 20, 2018
-
-
Thijs Kinkhorst authored
closes: #473
-
Thijs Kinkhorst authored
Twig will always use gettext, legacy will use legacy. Twig does not work with legacy so new ui would break if you would not also set this option. Instead, just switch the system in use based on the usenewui config variable.
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
-
Thijs Kinkhorst authored
-
- Nov 19, 2018
-
-
Thijs Kinkhorst authored
This is because some templates, e.g. errror, expect to be able to include them. This fixes e.g. the No State error page.
-
- Nov 15, 2018
-
-
Guy Halse authored
-
- Nov 13, 2018
-
-
Thijs Kinkhorst authored
-
Thijs Kinkhorst authored
-
- Nov 02, 2018
-
-
Tim van Dijen authored
-
- Oct 21, 2018
-
-
Tim van Dijen authored
-
- Oct 20, 2018
-
-
Tim van Dijen authored
-
Patrick Radtke authored
-
- Oct 18, 2018
-
-
Tim van Dijen authored
-
Tim van Dijen authored
-
- Oct 17, 2018
-
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
-
Jaime Pérez Crespo authored
This is needed to allow dependency injection in that class. Since the first parameter of the constructor is the ID of the auth source to use, we don't know the value it must take during compilation of the container. We only know what auth source to use when we are in the controller, becase at that point the URL as been parsed and the auth source ID has been passed to the controller as an argument. Therefore, we need to add this factory class as a service to the container, and once we have the auth source ID, we can call the create() method of the factory to obtain a relevant instance of \SimpleSAML\Auth\Simple.
-