Skip to content
Snippets Groups Projects
  1. Jul 18, 2017
  2. Jul 05, 2017
  3. Jul 04, 2017
    • Jaime Pérez Crespo's avatar
      Do not automatically load all the template directories of all modules. · 7ec9caa0
      Jaime Pérez Crespo authored
      It has also an impact in performance, and covers an unlikely scenario. Instead, if you plan to use templates from another module, now you need to call the "addTemplatesFromModule()" method right after creating the template. That way you can register manually what templates you are supposed to use, being much more efficient.
      7ec9caa0
    • Jaime Pérez Crespo's avatar
      Remove the 'templateInit' hook. · a506502b
      Jaime Pérez Crespo authored
      An alternative way to inject data in the templates should be used. This has a terrible impact in performance, and could have undesired side effects.
      a506502b
    • Jaime Pérez Crespo's avatar
      Add a method to get the twig object used in a template. · d0e09690
      Jaime Pérez Crespo authored
      This allows template users to use their own twig extensions if they want, while also allowing us to remove the "twigInit" hook. Hooks come at a price, and it doesn't make much sense to use them in this case, as they would only be useful if a module wants to add a twig extension even if the code instantiating SimpleSAML_XHTML_Template does not belong to that module. This could lead to unexpected behaviour (i.e. a module adding a hook that creates trouble for the templates defined in another module), so given the lack of use cases supporting the hook and the possible negative consequences implied, it's better to remove it.
      d0e09690
  4. Apr 22, 2017
  5. Mar 30, 2017
  6. Feb 14, 2017
  7. Feb 09, 2017
  8. Oct 25, 2016
  9. Oct 11, 2016
  10. Oct 07, 2016
  11. Oct 04, 2016
  12. Sep 15, 2016
  13. Sep 07, 2016
  14. Aug 31, 2016
  15. Aug 30, 2016
  16. Aug 25, 2016
  17. Jul 26, 2016
  18. Jul 13, 2016
  19. Jun 08, 2016
  20. Mar 01, 2016
  21. Feb 29, 2016
Loading