Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Minor code style fixes. | Jaime Pérez | 2016-10-27 | 2 | -3/+3 | |
| | | | ||||||
* | | | bugfix: s/Errorcodes/ErrorCodes/ | Jaime Pérez | 2016-10-27 | 1 | -1/+1 | |
| | | | ||||||
* | | | bugfix: $langPath won't be defined if an exception is thrown by the method ↵ | Jaime Pérez | 2016-10-27 | 1 | -1/+1 | |
| | | | | | | | | | | | | where we get its value from. | |||||
* | | | Add unit test for AttributeConsumingService parsing. (#501) | Thijs Kinkhorst | 2016-10-27 | 1 | -0/+44 | |
| | | | ||||||
* | | | Merge branch 'errorcode-class' | Hanne Moa | 2016-10-27 | 9 | -14/+200 | |
|\ \ \ | ||||||
| * | | | Avoid concatenated error messages | Hanne Moa | 2016-10-27 | 7 | -12/+10 | |
| | | | | | | | | | | | | | | | | For #455 | |||||
| * | | | Add a map from error codes to titles/descriptions | Hanne Moa | 2016-10-27 | 2 | -2/+190 | |
|/ / / | ||||||
* | | | Flip template.auto_reload to a safer default | Hanne Moa | 2016-10-27 | 1 | -1/+9 | |
| | | | | | | | | | | | | Also add some docs. | |||||
* | | | Merge pull request #500 from andrius-kulbis/master | Jaime Pérez Crespo | 2016-10-27 | 1 | -4/+0 | |
|\ \ \ | | | | | | | | | Fix required attributes duplication | |||||
| * | | | Fix required attributes duplication | Andrius | 2016-10-27 | 1 | -4/+0 | |
|/ / / | | | | | | | While parsing the XML metadata file of SP, attributes in AttributeConsumerService marked as required where added multiple time causing duplication of attribute keys in attributes.required section. | |||||
* | | | Add Hanne to the list of core developers | Jaime Pérez Crespo | 2016-10-26 | 1 | -0/+1 | |
| | | | ||||||
* | | | Add a separate "base.twig" for module "core" | Hanne Moa | 2016-10-26 | 1 | -0/+24 | |
| | | | | | | | | | | | | "core" needs to be able to wrap some content in tabs | |||||
* | | | Add a wrapper around the content | Hanne Moa | 2016-10-26 | 1 | -1/+3 | |
| | | | | | | | | | | | | Replaces the need for `$this->data['htmlinject']` | |||||
* | | | Fix comparison | Hanne Moa | 2016-10-26 | 1 | -1/+1 | |
| | | | ||||||
* | | | Support loading jquery, if turned on | Hanne Moa | 2016-10-25 | 1 | -1/+17 | |
| | | | ||||||
* | | | Load clipboard-support, if turned on | Hanne Moa | 2016-10-25 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | Note that the flag in the context must be named 'clipboard', not 'clipboard.js'. This is because the dot is an illegal symbol in variable names in twig. | |||||
* | | | Postload all javascript | Hanne Moa | 2016-10-25 | 1 | -1/+2 | |
| | | | ||||||
* | | | Remove now unused variable | Hanne Moa | 2016-10-25 | 1 | -5/+0 | |
| | | | ||||||
* | | | Remove tests for removed methods | Hanne Moa | 2016-10-25 | 1 | -40/+1 | |
| | | | ||||||
* | | | Fix loading of domain from modules | Hanne Moa | 2016-10-25 | 2 | -46/+96 | |
| | | | ||||||
* | | | Rename 'no' to 'nb' in paths | Hanne Moa | 2016-10-25 | 11 | -0/+0 | |
| | | | ||||||
* | | | Twigified modules/sanitycheck | Hanne Moa | 2016-10-24 | 1 | -0/+35 | |
| | | | | | | | | | | | | This module is hereby twigified. For #499. | |||||
* | | | Merge pull request #497 from danepowell/patch-1 | Jaime Pérez Crespo | 2016-10-24 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | Fixed incorrect memcache_store prefix docs. | |||||
| * | | | Fixed incorrect memcache_store prefix docs. | Dane Powell | 2016-10-17 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | Add gettext-style msgids for each tag | Hanne Moa | 2016-10-14 | 426 | -426/+47694 | |
| | | | ||||||
* | | | Remove symlinks for locales in the form "language_COUNTRY". | Jaime Pérez | 2016-10-13 | 3 | -3/+0 | |
| | | | ||||||
* | | | Add "config-templates", "metadata-templates" and "templates" to the list of ↵ | Jaime Pérez | 2016-10-13 | 1 | -1/+1 | |
| | | | | | | | | | | | | directories where we look for PHP files to check their syntax. | |||||
* | | | Merge pull request #492 from sgomez/fix-metadata-bug | Jaime Pérez Crespo | 2016-10-13 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | Fix object operator bug on templates/metadata.php | |||||
| * | | | Fix object operator | Sergio Gomez | 2016-10-12 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | Change default domain from "ssp" to "messages". | Jaime Pérez | 2016-10-12 | 2 | -2/+2 | |
| | | | ||||||
* | | | Add the new strings in the sandbox to the messages.po files for some languages. | Jaime Pérez | 2016-10-12 | 4 | -3/+35 | |
| | | | ||||||
* | | | Merge pull request #490 from ghalse/hotfix/rememberMeEnabled | Jaime Pérez Crespo | 2016-10-12 | 1 | -0/+2 | |
|\ \ \ | | | | | | | | | Fix a cosmetic exception when using loginuserpassorg.php | |||||
| * | | | Fix a cosmetic exception when using loginuserpassorg.php | Guy Halse | 2016-10-12 | 1 | -0/+2 | |
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | Add locales for base system | Hanne Moa | 2016-10-12 | 37 | -0/+26290 | |
| | | | ||||||
* | | | Add locales for modules | Hanne Moa | 2016-10-12 | 389 | -0/+24343 | |
| | | | ||||||
* | | | Give up trying native gettext to work, not worth the trouble. | Jaime Pérez | 2016-10-11 | 5 | -69/+21 | |
| | | | ||||||
* | | | Merge pull request #488 from jschlyter/sis_oid_changes | Jaime Pérez Crespo | 2016-10-11 | 4 | -4/+4 | |
|\ \ \ | |/ / |/| | | Fix OID error, 1.2.752.194.10.4 should be 1.2.752.194.10.2.4 | |||||
| * | | indent | Jakob Schlyter | 2016-10-11 | 2 | -2/+2 | |
| | | | ||||||
| * | | typo, 1.2.752.194.10.4 should be 1.2.752.194.10.2.4 | Jakob Schlyter | 2016-10-11 | 4 | -4/+4 | |
|/ / | ||||||
* | | Make PHP's native gettext implementation work with twig. | Jaime Pérez | 2016-10-07 | 1 | -13/+35 | |
| | | ||||||
* | | Add a couple of methods to perform translations with PHP's native gettext ↵ | Jaime Pérez | 2016-10-07 | 2 | -2/+30 | |
| | | | | | | | | implementation, and start using them. | |||||
* | | Refactor translation methods for PHP's implementation of Gettext. | Jaime Pérez | 2016-10-07 | 2 | -4/+7 | |
| | | ||||||
* | | Add some more examples to the sandbox, and restore missing information about ↵ | Jaime Pérez | 2016-10-07 | 1 | -6/+12 | |
| | | | | | | | | current locale. | |||||
* | | Add some more translations to the new *.po files, including one to spanish. | Jaime Pérez | 2016-10-07 | 4 | -0/+36 | |
| | | ||||||
* | | Fix build. | Jaime Pérez | 2016-10-04 | 1 | -4/+4 | |
| | | ||||||
* | | Remove unused "use" statements and broken comments. | Jaime Pérez | 2016-10-04 | 1 | -6/+0 | |
| | | ||||||
* | | Update the new sandbox page with lots of information on how twig templates ↵ | Jaime Pérez | 2016-10-04 | 1 | -8/+48 | |
| | | | | | | | | | | | | and translations work. Add also proofs of concept for every example given. | |||||
* | | bugfix: Start using the twig-i18n wrapper. | Jaime Pérez | 2016-10-04 | 1 | -13/+13 | |
| | | | | | | | | 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. | |||||
* | | Define SimpleSAML\XHTML\Template::$twig as a property (previously only set ↵ | Jaime Pérez | 2016-10-04 | 1 | -2/+9 | |
| | | | | | | | | in the constructor) and make sure we use proper type checking when using it. | |||||
* | | bugfix: Remove duplicated code. | Jaime Pérez | 2016-10-04 | 1 | -1/+0 | |
| | | ||||||
* | | Change the default i18n backend to the old system. | Jaime Pérez | 2016-10-04 | 1 | -3/+4 | |
| | | ||||||
* | | Update composer.lock to properly reflect the contents of composer.json. | Jaime Pérez | 2016-10-04 | 1 | -7/+7 | |
| | | ||||||
* | | Keep the Translator object in ↵ | Jaime Pérez | 2016-10-04 | 1 | -4/+5 | |
| | | | | | | | | SimpleSAML\Locale\Localization::loadGettextGettextFromPO(). | |||||
* | | Small reformat in SimpleSAML\Locale\Localization. | Jaime Pérez | 2016-10-04 | 1 | -1/+4 | |
| | | ||||||
* | | Use \SimpleSAML\Logger in the new Localization class, and fix general ↵ | Jaime Pérez | 2016-10-04 | 1 | -5/+6 | |
| | | | | | | | | Exception being called from a namespace. | |||||
* | | Add translation methods to SimpleSAML\Locale\Translate. | Jaime Pérez | 2016-10-04 | 1 | -0/+28 | |
| | | | | | | | | 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. | |||||
* | | Update copyright notice in the new footer. | Jaime Pérez | 2016-10-04 | 1 | -1/+1 | |
| | | ||||||
* | | Bump the version of the twig-i18n wrapper. | Jaime Pérez | 2016-10-04 | 1 | -1/+1 | |
| | | ||||||
* | | Fix build. | Jaime Pérez | 2016-10-04 | 1 | -1/+1 | |
| | | ||||||
* | | Move faventry-discovery to calling page | Hanne Moa | 2016-10-04 | 2 | -18/+13 | |
| | | | | | | | | For #485 | |||||
* | | Take advantage of ParseError in PHP 7. | Jaime Pérez | 2016-10-03 | 1 | -1/+11 | |
| | | | | | | | | | | | | 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. | |||||
* | | bugfix: Allow exception messages different than "You have not yet created ↵ | Jaime Pérez | 2016-10-03 | 1 | -1/+1 | |
| | | | | | | | | | | | | 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. | |||||
* | | bugfix: Avoid masked errors in PHP 7. | Jaime Pérez | 2016-10-03 | 1 | -1/+2 | |
| | | | | | | | | 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. | |||||
* | | Remove unused variable. | Jaime Pérez | 2016-10-03 | 1 | -1/+0 | |
| | | | | | | | | 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. | |||||
* | | Add easy tests for SimpleSAML/Locale/Translate | Hanne Moa | 2016-09-30 | 1 | -0/+38 | |
| | | ||||||
* | | Merge branch 'twig-i18n' | Hanne Moa | 2016-09-30 | 23 | -55/+759 | |
|\ \ | ||||||
| * | | Use jaimeperez/twig-configurable-i18n for i18n | Hanne Moa | 2016-08-31 | 3 | -32/+251 | |
| | | | ||||||
| * | | Test module \SimpleSAML\Locale\Localization | Hanne Moa | 2016-08-31 | 2 | -1/+98 | |
| | | | ||||||
| * | | Load translation files safely | Hanne Moa | 2016-08-31 | 1 | -6/+47 | |
| | | | ||||||
| * | | Simplify testing | Hanne Moa | 2016-08-31 | 1 | -0/+18 | |
| | | | ||||||
| * | | Add microsize locale domain for testing | Hanne Moa | 2016-08-31 | 3 | -0/+53 | |
| | | | ||||||
| * | | Add alias for locale nb | Hanne Moa | 2016-08-31 | 1 | -0/+1 | |
| | | | ||||||
| * | | Corrected langcode for Southern Sami | Hanne Moa | 2016-08-31 | 1 | -2/+5 | |
| | | | ||||||
| * | | Fixed spacing in language bar | Hanne Moa | 2016-08-31 | 1 | -1/+1 | |
| | | | ||||||
| * | | Fix build. | Jaime Perez Crespo | 2016-08-31 | 1 | -1/+2 | |
| | | | ||||||
| * | | Switch to gettext/gettext w/domain-support | Hanne Moa | 2016-08-31 | 4 | -23/+103 | |
| | | | ||||||
| * | | Pull in Oscarotero's gettext | Hanne Moa | 2016-08-30 | 1 | -1/+2 | |
| | | | | | | | | | | | | Aka. gettext/gettext | |||||
| * | | Ignore vim swap files | Hanne Moa | 2016-08-30 | 1 | -0/+3 | |
| | | | ||||||
| * | | Decouple template path setup and template existence check | Hanne Moa | 2016-08-30 | 1 | -4/+2 | |
| | | | ||||||
| * | | Hook up new localization with twig.i18n | Hanne Moa | 2016-08-30 | 3 | -1/+42 | |
| | | | ||||||
| * | | Support Twig extension i18n | Hanne Moa | 2016-08-30 | 2 | -1/+7 | |
| | | | ||||||
| * | | Start on new localization glue system | Hanne Moa | 2016-08-30 | 10 | -0/+133 | |
| | | | ||||||
* | | | Reformat the consent module (files under lib/) to comply with PSR-2 coding ↵ | Jaime Pérez | 2016-09-29 | 5 | -181/+197 | |
| | | | | | | | | | | | | standard. | |||||
* | | | tests: Add full coverage for ↵ | Jaime Pérez | 2016-09-29 | 1 | -18/+34 | |
| | | | | | | | | | | | | sspmod_consent_Auth_Process_Consent::checkDisable(). | |||||
* | | | Merge pull request #444 from vrioux/patch-1 | Jaime Pérez Crespo | 2016-09-29 | 3 | -3/+160 | |
|\ \ \ | | | | | | | | | Add support for regex in consent.disable | |||||
| * | | | added a bit more test coverage, I think | vrioux | 2016-09-28 | 1 | -6/+7 | |
| | | | | ||||||
| * | | | updated tests that should work now. | vrioux | 2016-09-28 | 2 | -45/+35 | |
| | | | | ||||||
| * | | | second try at tests | vrioux | 2016-09-28 | 1 | -3/+3 | |
| | | | | ||||||
| * | | | first try at writing tests | vrioux | 2016-09-28 | 1 | -0/+109 | |
| | | | | ||||||
| * | | | Fix wrong right parenthesis | vrioux | 2016-09-27 | 1 | -2/+2 | |
| | | | | ||||||
| * | | | Code adjust according to comments. | UQAM\rioux_vi | 2016-09-27 | 1 | -22/+37 | |
| | | | | ||||||
| * | | | Merge branch 'patch-1' of https://github.com/vrioux/simplesamlphp into patch-1 | UQAM\rioux_vi | 2016-09-27 | 1 | -2/+29 | |
| |\ \ \ | ||||||
| | * | | | missing ")"s sorry | Vincent Rioux | 2016-08-18 | 1 | -2/+2 | |
| | | | | | ||||||
| | * | | | Oops - foreach (array as element) | Vincent Rioux | 2016-08-18 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | Update Consent.php | Vincent Rioux | 2016-08-18 | 1 | -7/+13 | |
| | | | | | ||||||
| | * | | | Add support for regex in consent.disable | Vincent Rioux | 2016-08-18 | 1 | -2/+23 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for regular expressions in consent.disable to make it easy to disable consent requirement for an entire domain or for trusted domains. We have over 100 SP defines internally and would like to have consent disabled for all of them easily and without having to update the IDP metadata each time we add a new SP. Example consent.disable in IDP metadata : // Disable consent for our SPs 'consent.disable' => array( 'https://mysp.mypartner.com', array('type'=>'regex', 'pattern'=>'/.*\.mycompany\.com.*/i'), ), | |||||
| * | | | | Merge pull request #1 from vrioux/vrioux-patch-1 | Vincent Rioux | 2016-08-18 | 1 | -1/+1 | |
| |\ \ \ \ | | | | | | | | | | | | | Added docs for regex consent.disable | |||||
| | * | | | | Added docs for regex consent.disable | Vincent Rioux | 2016-08-18 | 1 | -1/+1 | |
| |/ / / / | ||||||
| * | | | | Explanation of regex-based consent.disable | Vincent Rioux | 2016-08-18 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Add explanation of regex-based consent.disable | Vincent Rioux | 2016-08-18 | 1 | -0/+15 | |
| |/ / / |