- Oct 24, 2016
-
-
Hanne Moa authored
This module is hereby twigified. For #499.
-
Jaime Pérez Crespo authored
Fixed incorrect memcache_store prefix docs.
-
- Oct 18, 2016
-
-
Dane Powell authored
-
- Oct 14, 2016
-
-
Hanne Moa authored
-
- Oct 13, 2016
-
-
Jaime Pérez authored
-
Jaime Pérez authored
Add "config-templates", "metadata-templates" and "templates" to the list of directories where we look for PHP files to check their syntax.
-
Jaime Pérez Crespo authored
Fix object operator bug on templates/metadata.php
-
- Oct 12, 2016
-
-
Sergio Gomez authored
-
Jaime Pérez authored
-
Jaime Pérez authored
-
Jaime Pérez Crespo authored
Fix a cosmetic exception when using loginuserpassorg.php
-
Guy Halse authored
When using ldap:LDAPMulti, SimpleSAMLphp generates an exception: SimpleSAML_Error_Exception: Error 8 - Undefined index: rememberMeEnabled Backtrace: 4 /srv/simplesamlphp-1.14.8/www/_include.php:83 (SimpleSAML_error_handler) 3 /srv/simplesamlphp-1.14.8/modules/core/templates/loginuserpass.php:107 (require) 2 /srv/simplesamlphp-1.14.8/lib/SimpleSAML/XHTML/Template.php:577 (SimpleSAML_XHTML_Template::show) 1 /srv/simplesamlphp-1.14.8/modules/core/www/loginuserpassorg.php:95 (require) 0 /srv/simplesamlphp-1.14.8/www/module.php:137 (N/A) This is because the loginuserpass.php template (which is used by both loginuserpass.php and loginuserpassorg.php) refers to $this->data['rememberMeEnabled'], but that variable is only defined when you make use of loginuserpass.php. Since these don't appear to be relevant to loginuserpassorg.php, this patch simply sets these to false (the default value), so that they're no longer undefined.
-
Hanne Moa authored
-
Hanne Moa authored
-
- 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.
-