Commit Graph

28 Commits (956233ff1d0b19870a456f94844fbe075ee2b500)

Author SHA1 Message Date
Michael f4110880a1 Use "convertForUriId" whenever possible 2023-07-16 10:37:33 +00:00
Hypolite Petovan 39c654da00 [various] Remove App dependency from hook functions 2023-01-13 21:16:09 -05:00
Ryan Voots a09dd57391 SLO takes no params apparently 2022-11-19 21:41:07 -05:00
Ryan Voots 5e51a3f0ad Fix signature of hooks to work with modern friendica 2022-11-19 20:18:12 -05:00
Philipp 97fcee53c0
[saml] Replace $_SESSION with DI::session() 2022-10-21 08:44:01 +02:00
Philipp b0eb28143a
UserSession class - Refactor addon 2022-10-20 23:51:49 +02:00
Roland Häder 06b15a6ed0
Changes:
- added missing type-hints
- avoided local variables
- added some documentation
- changed double-quotes to single
2022-06-30 13:33:22 +02:00
Hypolite Petovan 90dec95b6e [various] Fix hook function type-hints
- Address https://friendica.xyz/display/adf174d5-1562-b8d8-53d7-ffd690518338
2022-06-26 19:36:45 -04:00
Roland Häder 04df7f6e05
Changes:
- added more type-hints
- cleaned up some files (curly braces, spaces)
2022-06-23 07:17:00 +02:00
Hypolite Petovan d26a1db790 [various] Remove remaining mentions of App->argc/argv
- The property has been removed in the core
2021-08-16 05:48:59 -04:00
very-ape dc2e40e71d Set a reasonable version number! 2021-05-17 13:03:39 -07:00
very-ape c87ee96050 Add whitespace around comments in saml_settings to ease reading. 2021-05-17 13:01:15 -07:00
very-ape c61ff5c4eb Replace array() with square bracket syntax. 2021-05-17 12:53:35 -07:00
very-ape c6aa212ea4 Remove the deprecated Strings::escapeTags, as we now rely on Smarty to catch HTML tags. 2021-05-17 12:48:12 -07:00
very-ape 026767d07e Fix wrong indentation! D: 2021-05-17 12:46:19 -07:00
very-ape 1ba2e5c9c9 Replace double quotes with single quotes where applicable. 2021-05-17 12:24:30 -07:00
very-ape 534b352ebc Prevent execution of SAML functions and show or log a message when the addon isn't configured. 2021-05-17 11:11:19 -07:00
very-ape e41efd72eb Break up long line. 2021-05-17 10:59:03 -07:00
very-ape fdb2a26c90 Remove debug endpoint. 2021-05-17 10:55:39 -07:00
very-ape 092605c2c2 Apply PHPCS fixes. 2021-05-17 10:55:15 -07:00
very-ape e39e621421 Remove superfluous 'use' statement. The SAML library comes with its own loader. 2021-05-17 10:51:21 -07:00
very-ape 3f5880b914 Move function declaration braces to meet PSR-2 standard. 2021-05-17 10:37:13 -07:00
very-ape aa2992adb1 Replace spaces with tabs. 2021-05-17 10:34:04 -07:00
very-ape 3deb261c5e Only pass string literals to l10n. Only string literals passed directly get picked up by the translation service. 2021-05-17 10:26:38 -07:00
very-ape 58ec90b915 Switch from HTML to BBCode for 'Basic Settings' notice. 2021-05-17 10:17:50 -07:00
very-ape e6f480dd75 Use __FILE__ instead of hardcoded string in hook registration. 2021-05-17 10:03:16 -07:00
very-ape 7b69546ab4 Log SAML errors in saml_sso_reply 2021-05-16 21:25:21 -07:00
very-ape 4b3b79c894 Add SAML addon. 2021-05-16 21:15:25 -07:00