Closed irinaz closed 1 year ago
I made changes, but on my test instance I am not getting correct text in login url :(
@laryn , I am mark my PR ready for review, though I know that it has at least one problem. Fixes #9
Ready for testing and review, fixes #9
@irinaz So I think you have it working? The config and update hooks remain in order to get it to a fully ready PR to submit to the maintainer for consideration. Still have some energy?
Yes, totally! I very much appreciate you mentioning me on hooks implementation!
On 2023-01-17 14:15, Laryn wrote:
@irinaz [1] So I think you have it working? The config and update hooks remain in order to get it to a fully ready PR to submit to the maintainer for consideration. Still have some energy?
-- Reply to this email directly, view it on GitHub [2], or unsubscribe [3]. You are receiving this because you were mentioned.Message ID: @.***>
[1] https://github.com/irinaz [2] https://github.com/backdrop-contrib/simplesamlphp_auth/pull/11#issuecomment-1386154459 [3] https://github.com/notifications/unsubscribe-auth/AATBT3ITC625KXVENKIVUVLWS4KW3ANCNFSM6AAAAAATZZ3TQQ
So I would say adding a default value in the config file is a good next step, so new installations have a default value.
And then an update hook in the install file, which will set the default value for anybody who has already installed the module and doesn't have a value for this setting yet.
For the update hook, we'll use
hook_update_N
(docs). Since this module is currently in 2.x you could createhook_update_1200()
for this update.
I agree with adding a default value.
@joelsteidl @keiserjb @laryn , please let me know what needs to happen to move forward. I believe that default is added in s
https://github.com/irinaz/simplesamlphp_auth/blob/ef7945485cd41c8c0add8374f404589efc4b8db9/simplesamlphp_auth.install#L73 - please correct me if I am wrong.
I am not sure if need update hook.
@irinaz I have done a bunch of merging today and merged a version of this PR. It would be great if you can test the latest (still unreleased) version of this module to make sure all is working well for you.
Fixes #9 Extend configuration to allow editing text for login link, backport from Drupal 7