Skip to content
Snippets Groups Projects
  1. Oct 18, 2019
  2. Oct 03, 2019
  3. Oct 01, 2019
  4. Sep 26, 2019
  5. Sep 16, 2019
  6. Aug 26, 2019
  7. Aug 10, 2019
  8. Jul 30, 2019
  9. Jul 12, 2019
  10. Jul 08, 2019
  11. Jun 06, 2019
  12. Mar 20, 2019
  13. Mar 08, 2019
    • Jørn Åne's avatar
      Replace e-mail class with one that uses PHPMailer · c9fa8626
      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.
      c9fa8626
  14. Mar 07, 2019
  15. Feb 11, 2019
  16. Feb 03, 2019
  17. Dec 22, 2018
  18. Dec 03, 2018
  19. Dec 02, 2018
  20. Nov 29, 2018
  21. 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
  22. 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
  23. Nov 20, 2018
  24. Nov 19, 2018
  25. Oct 18, 2018
  26. Oct 17, 2018
  27. Oct 10, 2018
  28. Oct 09, 2018
Loading