Skip to content
Snippets Groups Projects
  1. Feb 03, 2019
  2. Jan 18, 2019
  3. Jan 13, 2019
  4. Jan 10, 2019
  5. Jan 04, 2019
  6. Dec 22, 2018
  7. Dec 11, 2018
  8. Dec 10, 2018
    • Ben Johnson's avatar
      Add Password support to Redis library · 4c7a6818
      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.
      4c7a6818
    • Tim van Dijen's avatar
      5af5f995
  9. Dec 08, 2018
  10. Dec 07, 2018
  11. Dec 03, 2018
  12. Dec 02, 2018
  13. Nov 30, 2018
  14. Nov 29, 2018
  15. Nov 28, 2018
    • Jaime Pérez Crespo's avatar
      Add an asset() function to twig. · 38205eae
      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.
      38205eae
    • Jaime Pérez Crespo's avatar
      Make the current year available to twig templates. · 0bc66fe1
      Jaime Pérez Crespo authored
      This way we can forget about updating the copyright notice every year.
      0bc66fe1
  16. Nov 23, 2018
    • Jaime Pérez Crespo's avatar
      Create a new "configpage" hook for those modules that need to inject anything... · d42f26f3
      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.
      d42f26f3
  17. Nov 21, 2018
Loading