- Oct 12, 2016
- Oct 11, 2016
-
-
Jaime Pérez authored
-
Jaime Pérez Crespo authored
Fix OID error, 1.2.752.194.10.4 should be 1.2.752.194.10.2.4
-
Jakob Schlyter authored
-
Jakob Schlyter authored
-
- Oct 07, 2016
-
-
Jaime Pérez authored
-
Jaime Pérez authored
Add a couple of methods to perform translations with PHP's native gettext implementation, and start using them.
-
Jaime Pérez authored
-
Jaime Pérez authored
-
Jaime Pérez authored
-
- Oct 04, 2016
-
-
Jaime Pérez authored
-
Jaime Pérez authored
-
Jaime Pérez authored
Add also proofs of concept for every example given.
-
Jaime Pérez authored
Since the class names were prepended with "\", the original extension was used, instead of our own wrapper. This fixes that issue, and sets the two new methods in SimpleSAML\Locale\Translate as the functions to use to replace the calls to gettext() and ngettext(). Support for the old translation system is still missing for twig templates.
-
Jaime Pérez authored
Define SimpleSAML\XHTML\Template::$twig as a property (previously only set in the constructor) and make sure we use proper type checking when using it.
-
Jaime Pérez authored
-
Jaime Pérez authored
-
Jaime Pérez authored
-
Jaime Pérez authored
-
Jaime Pérez authored
-
Jaime Pérez authored
Use \SimpleSAML\Logger in the new Localization class, and fix general Exception being called from a namespace.
-
Jaime Pérez authored
These two methods are equivalent to gettext/gettext's __() and n__(), but using strtr() instead of vsprintf(), so that the placeholders can be names instead of printf() format strings.
-
Jaime Pérez authored
-
Jaime Pérez authored
-
Jaime Pérez authored
-
Hanne Moa authored
For #485
-
- Oct 03, 2016
-
-
Jaime Pérez authored
When we try to load a configuration file and there's a syntax error, PHP 7 will throw the new ParseError. We can take advantage of that to capture it and give the user a meaningful message back. This resolves #483.
-
Jaime Pérez authored
bugfix: Allow exception messages different than "You have not yet created the SimpleSAMLphp configuration files.". Right now, that's the only error message that you will ever get if something goes wrong with the configuration, no matter what. The message should not be hardcoded, but use the one from the captured exception instead.
-
Jaime Pérez authored
ParseError errors in PHP 7 have a code of 0, which will always be masked. Avoid that by forcing error codes of 0 to be E_ERROR instead.
-
Jaime Pérez authored
It is set later inside one of the branches of the if, but the other branches abort the execution of the method, so there's no need to define it outside the if.
-
- Sep 30, 2016
- Sep 29, 2016
-
-
Jaime Pérez authored
-
Jaime Pérez authored
-
Jaime Pérez Crespo authored
Add support for regex in consent.disable
-
Jaime Pérez authored
-
- Sep 28, 2016