- Oct 02, 2020
-
-
Tim van Dijen authored
-
- Aug 30, 2020
-
-
Tim van Dijen authored
-
Tim van Dijen authored
-
- Aug 21, 2020
-
-
Tim van Dijen authored
-
- Aug 19, 2020
-
-
Thijs Kinkhorst authored
Previously, would show inappropriate precision, like "0.0598134 hours ago" or "1490532.4129 hours from now" depending on the expiration date. (cherry picked from commit 1bc5ae80)
-
- Apr 15, 2020
-
-
Jaime Pérez Crespo authored
-
- Dec 31, 2019
-
-
Tim van Dijen authored
* Use strict variables in Twig, except for our TemplateTest; throw exception on missing variables * Fix issues due to Twig strict_variables=true * Fix for #1229 * Fix metadata-template
-
Tim van Dijen authored
* Added Kernel class to handle request * Kernel handle request Kernel is loaded in SimpleSAML\Module class Removed Router and ControllerResolver classes * Added route command (squash) * Use symfony application and cache * Updated to today's standards * Fix for Symfony4 & Catch environment from ENV variable * Standardize location of routes/services files * Trying to make slashes work properly in all situations * Convert XML to YML * Fix some template-names and endpoints * Rename Controller-classes * Update dependencies * Fix routing files * TooManyArguments * Fix TypeCoercion * PSR-12 * Fix rebase mistake * Rebase lock-file * Fix Psalm * Add strict_types declaration Co-authored-by:
Sergio Gómez <decano@gmail.com>
-
- Dec 24, 2019
-
-
Tim van Dijen authored
-
Tim van Dijen authored
* Raise minimum PHP version to 7.0 * Remove tests pre-PHP 7.2 * Upgrade dev dependencies * Ignore tests for deprecated class * Add typehints; not touching public API * Remove none-array replacements-param; old behaviour from pre-1.4 release * Psalm fixes * Add upgrade notes * PSR-12
-
- Nov 22, 2019
-
-
Sergio Gómez authored
-
- Oct 26, 2019
-
-
Tim van Dijen authored
-
- Oct 18, 2019
-
-
Thijs Kinkhorst authored
-
- Oct 03, 2019
-
-
Tim van Dijen authored
-
- Oct 01, 2019
-
-
Tim van Dijen authored
PSR-12 compliancy
-
- Sep 26, 2019
-
-
Tim van Dijen authored
-
Tim van Dijen authored
-
- Sep 16, 2019
-
-
Tim van Dijen authored
-
- Aug 26, 2019
-
-
Jaime Pérez Crespo authored
This ensures that we don't break any existing modules by renaming a template from ".php" to ".tpl.php".
-
- Aug 10, 2019
-
-
Tim van Dijen authored
-
- Jul 30, 2019
-
-
Guy Halse authored
-
- Jul 12, 2019
-
-
Tim van Dijen authored
-
- Jul 08, 2019
-
-
Tim van Dijen authored
-
- Jun 06, 2019
-
-
Tim van Dijen authored
-
- Mar 20, 2019
-
-
Tim van Dijen authored
-
Tim van Dijen authored
-
- Mar 08, 2019
-
-
Jørn Åne authored
The old mail class uses the built-in `mail` function in PHP, and builds a payload by itself using hard-coded HTML and MIME-snippets. Let's use a library for that; PHPMailer has new dependencies and does all the heavy lifting.
-
- Mar 07, 2019
-
-
Thijs Kinkhorst authored
re-add it and fix all templates that depended on it being unset
-
- Feb 11, 2019
-
-
Tim van Dijen authored
-
- Feb 03, 2019
-
-
Tim van Dijen authored
-
Tim van Dijen authored
-
- Dec 22, 2018
-
-
Tim van Dijen authored
class_implements() returns class names without leading backslash
-
- Dec 03, 2018
-
-
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 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.
-