summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Minor code style fixes.Jaime Pérez2016-10-272-3/+3
| | |
* | | bugfix: s/Errorcodes/ErrorCodes/Jaime Pérez2016-10-271-1/+1
| | |
* | | bugfix: $langPath won't be defined if an exception is thrown by the method ↵Jaime Pérez2016-10-271-1/+1
| | | | | | | | | | | | where we get its value from.
* | | Add unit test for AttributeConsumingService parsing. (#501)Thijs Kinkhorst2016-10-271-0/+44
| | |
* | | Merge branch 'errorcode-class'Hanne Moa2016-10-279-14/+200
|\ \ \
| * | | Avoid concatenated error messagesHanne Moa2016-10-277-12/+10
| | | | | | | | | | | | | | | | For #455
| * | | Add a map from error codes to titles/descriptionsHanne Moa2016-10-272-2/+190
|/ / /
* | | Flip template.auto_reload to a safer defaultHanne Moa2016-10-271-1/+9
| | | | | | | | | | | | Also add some docs.
* | | Merge pull request #500 from andrius-kulbis/masterJaime Pérez Crespo2016-10-271-4/+0
|\ \ \ | | | | | | | | Fix required attributes duplication
| * | | Fix required attributes duplicationAndrius2016-10-271-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 developersJaime Pérez Crespo2016-10-261-0/+1
| | |
* | | Add a separate "base.twig" for module "core"Hanne Moa2016-10-261-0/+24
| | | | | | | | | | | | "core" needs to be able to wrap some content in tabs
* | | Add a wrapper around the contentHanne Moa2016-10-261-1/+3
| | | | | | | | | | | | Replaces the need for `$this->data['htmlinject']`
* | | Fix comparisonHanne Moa2016-10-261-1/+1
| | |
* | | Support loading jquery, if turned onHanne Moa2016-10-251-1/+17
| | |
* | | Load clipboard-support, if turned onHanne Moa2016-10-251-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 javascriptHanne Moa2016-10-251-1/+2
| | |
* | | Remove now unused variableHanne Moa2016-10-251-5/+0
| | |
* | | Remove tests for removed methodsHanne Moa2016-10-251-40/+1
| | |
* | | Fix loading of domain from modulesHanne Moa2016-10-252-46/+96
| | |
* | | Rename 'no' to 'nb' in pathsHanne Moa2016-10-2511-0/+0
| | |
* | | Twigified modules/sanitycheckHanne Moa2016-10-241-0/+35
| | | | | | | | | | | | This module is hereby twigified. For #499.
* | | Merge pull request #497 from danepowell/patch-1Jaime Pérez Crespo2016-10-241-1/+1
|\ \ \ | | | | | | | | Fixed incorrect memcache_store prefix docs.
| * | | Fixed incorrect memcache_store prefix docs.Dane Powell2016-10-171-1/+1
|/ / /
* | | Add gettext-style msgids for each tagHanne Moa2016-10-14426-426/+47694
| | |
* | | Remove symlinks for locales in the form "language_COUNTRY".Jaime Pérez2016-10-133-3/+0
| | |
* | | Add "config-templates", "metadata-templates" and "templates" to the list of ↵Jaime Pérez2016-10-131-1/+1
| | | | | | | | | | | | directories where we look for PHP files to check their syntax.
* | | Merge pull request #492 from sgomez/fix-metadata-bugJaime Pérez Crespo2016-10-131-1/+1
|\ \ \ | | | | | | | | Fix object operator bug on templates/metadata.php
| * | | Fix object operatorSergio Gomez2016-10-121-1/+1
|/ / /
* | | Change default domain from "ssp" to "messages".Jaime Pérez2016-10-122-2/+2
| | |
* | | Add the new strings in the sandbox to the messages.po files for some languages.Jaime Pérez2016-10-124-3/+35
| | |
* | | Merge pull request #490 from ghalse/hotfix/rememberMeEnabledJaime Pérez Crespo2016-10-121-0/+2
|\ \ \ | | | | | | | | Fix a cosmetic exception when using loginuserpassorg.php
| * | | Fix a cosmetic exception when using loginuserpassorg.phpGuy Halse2016-10-121-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 systemHanne Moa2016-10-1237-0/+26290
| | |
* | | Add locales for modulesHanne Moa2016-10-12389-0/+24343
| | |
* | | Give up trying native gettext to work, not worth the trouble.Jaime Pérez2016-10-115-69/+21
| | |
* | | Merge pull request #488 from jschlyter/sis_oid_changesJaime Pérez Crespo2016-10-114-4/+4
|\ \ \ | |/ / |/| | Fix OID error, 1.2.752.194.10.4 should be 1.2.752.194.10.2.4
| * | indentJakob Schlyter2016-10-112-2/+2
| | |
| * | typo, 1.2.752.194.10.4 should be 1.2.752.194.10.2.4Jakob Schlyter2016-10-114-4/+4
|/ /
* | Make PHP's native gettext implementation work with twig.Jaime Pérez2016-10-071-13/+35
| |
* | Add a couple of methods to perform translations with PHP's native gettext ↵Jaime Pérez2016-10-072-2/+30
| | | | | | | | implementation, and start using them.
* | Refactor translation methods for PHP's implementation of Gettext.Jaime Pérez2016-10-072-4/+7
| |
* | Add some more examples to the sandbox, and restore missing information about ↵Jaime Pérez2016-10-071-6/+12
| | | | | | | | current locale.
* | Add some more translations to the new *.po files, including one to spanish.Jaime Pérez2016-10-074-0/+36
| |
* | Fix build.Jaime Pérez2016-10-041-4/+4
| |
* | Remove unused "use" statements and broken comments.Jaime Pérez2016-10-041-6/+0
| |
* | Update the new sandbox page with lots of information on how twig templates ↵Jaime Pérez2016-10-041-8/+48
| | | | | | | | | | | | and translations work. Add also proofs of concept for every example given.
* | bugfix: Start using the twig-i18n wrapper.Jaime Pérez2016-10-041-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érez2016-10-041-2/+9
| | | | | | | | in the constructor) and make sure we use proper type checking when using it.
* | bugfix: Remove duplicated code.Jaime Pérez2016-10-041-1/+0
| |
* | Change the default i18n backend to the old system.Jaime Pérez2016-10-041-3/+4
| |
* | Update composer.lock to properly reflect the contents of composer.json.Jaime Pérez2016-10-041-7/+7
| |
* | Keep the Translator object in ↵Jaime Pérez2016-10-041-4/+5
| | | | | | | | SimpleSAML\Locale\Localization::loadGettextGettextFromPO().
* | Small reformat in SimpleSAML\Locale\Localization.Jaime Pérez2016-10-041-1/+4
| |
* | Use \SimpleSAML\Logger in the new Localization class, and fix general ↵Jaime Pérez2016-10-041-5/+6
| | | | | | | | Exception being called from a namespace.
* | Add translation methods to SimpleSAML\Locale\Translate.Jaime Pérez2016-10-041-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érez2016-10-041-1/+1
| |
* | Bump the version of the twig-i18n wrapper.Jaime Pérez2016-10-041-1/+1
| |
* | Fix build.Jaime Pérez2016-10-041-1/+1
| |
* | Move faventry-discovery to calling pageHanne Moa2016-10-042-18/+13
| | | | | | | | For #485
* | Take advantage of ParseError in PHP 7.Jaime Pérez2016-10-031-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érez2016-10-031-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érez2016-10-031-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érez2016-10-031-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/TranslateHanne Moa2016-09-301-0/+38
| |
* | Merge branch 'twig-i18n'Hanne Moa2016-09-3023-55/+759
|\ \
| * | Use jaimeperez/twig-configurable-i18n for i18nHanne Moa2016-08-313-32/+251
| | |
| * | Test module \SimpleSAML\Locale\LocalizationHanne Moa2016-08-312-1/+98
| | |
| * | Load translation files safelyHanne Moa2016-08-311-6/+47
| | |
| * | Simplify testingHanne Moa2016-08-311-0/+18
| | |
| * | Add microsize locale domain for testingHanne Moa2016-08-313-0/+53
| | |
| * | Add alias for locale nbHanne Moa2016-08-311-0/+1
| | |
| * | Corrected langcode for Southern SamiHanne Moa2016-08-311-2/+5
| | |
| * | Fixed spacing in language barHanne Moa2016-08-311-1/+1
| | |
| * | Fix build.Jaime Perez Crespo2016-08-311-1/+2
| | |
| * | Switch to gettext/gettext w/domain-supportHanne Moa2016-08-314-23/+103
| | |
| * | Pull in Oscarotero's gettextHanne Moa2016-08-301-1/+2
| | | | | | | | | | | | Aka. gettext/gettext
| * | Ignore vim swap filesHanne Moa2016-08-301-0/+3
| | |
| * | Decouple template path setup and template existence checkHanne Moa2016-08-301-4/+2
| | |
| * | Hook up new localization with twig.i18nHanne Moa2016-08-303-1/+42
| | |
| * | Support Twig extension i18nHanne Moa2016-08-302-1/+7
| | |
| * | Start on new localization glue systemHanne Moa2016-08-3010-0/+133
| | |
* | | Reformat the consent module (files under lib/) to comply with PSR-2 coding ↵Jaime Pérez2016-09-295-181/+197
| | | | | | | | | | | | standard.
* | | tests: Add full coverage for ↵Jaime Pérez2016-09-291-18/+34
| | | | | | | | | | | | sspmod_consent_Auth_Process_Consent::checkDisable().
* | | Merge pull request #444 from vrioux/patch-1Jaime Pérez Crespo2016-09-293-3/+160
|\ \ \ | | | | | | | | Add support for regex in consent.disable
| * | | added a bit more test coverage, I thinkvrioux2016-09-281-6/+7
| | | |
| * | | updated tests that should work now.vrioux2016-09-282-45/+35
| | | |
| * | | second try at testsvrioux2016-09-281-3/+3
| | | |
| * | | first try at writing testsvrioux2016-09-281-0/+109
| | | |
| * | | Fix wrong right parenthesisvrioux2016-09-271-2/+2
| | | |
| * | | Code adjust according to comments.UQAM\rioux_vi2016-09-271-22/+37
| | | |
| * | | Merge branch 'patch-1' of https://github.com/vrioux/simplesamlphp into patch-1UQAM\rioux_vi2016-09-271-2/+29
| |\ \ \
| | * | | missing ")"s sorryVincent Rioux2016-08-181-2/+2
| | | | |
| | * | | Oops - foreach (array as element)Vincent Rioux2016-08-181-1/+1
| | | | |
| | * | | Update Consent.phpVincent Rioux2016-08-181-7/+13
| | | | |
| | * | | Add support for regex in consent.disableVincent Rioux2016-08-181-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-1Vincent Rioux2016-08-181-1/+1
| |\ \ \ \ | | | | | | | | | | | | Added docs for regex consent.disable
| | * | | | Added docs for regex consent.disableVincent Rioux2016-08-181-1/+1
| |/ / / /
| * | | | Explanation of regex-based consent.disableVincent Rioux2016-08-181-1/+1
| | | | |
| * | | | Add explanation of regex-based consent.disableVincent Rioux2016-08-181-0/+15
| |/ / /