Skip to content
Snippets Groups Projects
  1. Apr 18, 2018
  2. Mar 20, 2018
  3. Jan 16, 2018
  4. Dec 04, 2017
  5. Nov 13, 2017
  6. Oct 25, 2017
  7. Oct 19, 2017
  8. Oct 17, 2017
    • Jaime Pérez Crespo's avatar
      Add a "translateFromArray" filter to twig. · 840f2242
      Jaime Pérez Crespo authored
      This allows us to use this new filter to translate strings from a given array of translations, where every translation is indexed by its ISO 639 code. A new configuration option ('language' -> 'priorities') is available too to control the alternative languages that can be used instead of a given language, when the latter is not found. The filter returns null when no suitable translation is found, so that it can be combined with "default()" to set a default translation for a given string.
  9. Oct 16, 2017
  10. Sep 07, 2017
  11. Sep 01, 2017
  12. Aug 31, 2017
  13. Jul 05, 2017
  14. Jun 20, 2017
    • Elijah Lynn's avatar
      Add PDO $options support · 8e7d5ff1
      Elijah Lynn authored
      I may be missing something but I haven't found a way to add the --ssl-ca
      MySQL option to my database connection. It appears we just need to pass
      in an $options param.
      8e7d5ff1
  15. Apr 21, 2017
    • Jaime Pérez Crespo's avatar
      Set a default session name for PHP sessions. · c5c832c4
      Jaime Pérez Crespo authored
      The default values are fine if no other applications use PHP sessions. However, when other apps are using PHP sessions, a conflict arises with the defaults, so let's try to make the defaults a bit more resilient.
      c5c832c4
  16. Mar 30, 2017
  17. Dec 15, 2016
  18. Nov 17, 2016
  19. Nov 15, 2016
  20. Nov 14, 2016
  21. Oct 27, 2016
  22. Oct 18, 2016
  23. Aug 30, 2016
  24. Aug 10, 2016
    • Jaime Pérez's avatar
      Make the 'debug' configuration option more fine-grained. · 6c3d49f9
      Jaime Pérez authored
      Some things, like logging of SAML messages or backtraces, are controlled with the 'debug' configuration option. However, it might be possible that we don't want one while we want the other, but that's impossible with just one option.
      
      This commit allows us to configure debugging options independently, but groupping all of them together. This is particularly useful if we want to log backtraces to debug errors, for example, but we don't want to log SAML messages to keep the privacy of the users. This also allows us to get rid of the 'debug.validatexml' configuration option, and group it with other debug options.
      
      This changes are backwards-compatible. Old and new configurations will work at the same time.
      6c3d49f9
  25. Aug 05, 2016
  26. Jul 14, 2016
  27. Jun 08, 2016
  28. Jun 02, 2016
  29. Apr 13, 2016
    • Jaime Perez Crespo's avatar
      Several improvements to SimpleSAML_Error_Exception: · 1c52db21
      Jaime Perez Crespo authored
      - Exception messages and backtraces are now decoupled, so that they can be logged independently.
      - Backtraces are now logged with "debug" log level, and only in case the "debug" configuration option is set.
      - A new log() method allows the exception itself to decide which log level to use. This can be used by exceptions overriding this method to change the log level accordingly.
      - Add a new parameter to the format() method so that the formatted message is anonymized, safe for display in the browser.
      
      Additionally, this resolves #281.
      1c52db21
  30. Mar 29, 2016
  31. Mar 15, 2016
  32. Mar 08, 2016
  33. Mar 01, 2016
  34. Jan 15, 2016
  35. Jan 14, 2016
    • Hanne Moa's avatar
      Fixed comments from previous pull-request · 6492ce36
      Hanne Moa authored
      6492ce36
    • Hanne Moa's avatar
      Refactor SimpleSAML_XHTML_Template · d2759355
      Hanne Moa authored
      A template now has a translator-object, SimpleSAML_Locale_Translate.
      This handles the existing translation system.
      
      The translator has a language-object, SimpleSAML_Locale_Language. This
      handles discovery and switching of locale.
      
      SimpleSAML_XHTML_Template has several methods that are wrapped
      translator-methods:
      
      t()
      isLanguageRTL()
      getLanguageList()
      getTranslation()
      
      This way it isn't necessary to change much of the existing system.
      d2759355
Loading