-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
[stable31] Add InstallationCompletedEvent for post-installation actions #57923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
da07720 to
ef8397d
Compare
|
Please amend the PR description if you did fix the backport @printminion-co |
99193e4 to
1aebbdb
Compare
1aebbdb to
bb14273
Compare
susnux
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We normally do not backport new public API (OCP) 👀
bb14273 to
83d33dd
Compare
|
@printminion-co the last commit still has |
83d33dd to
b9f0a7f
Compare
…ooks Add InstallationCompletedEvent class in public API (OCP namespace) that provides installation details: data directory, admin username, and admin email. Event will be dispatched after successful installation. Include comprehensive unit tests covering all event scenarios. Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
Integrate event dispatching into Setup class: - Inject IEventDispatcher dependency - Dispatch InstallationCompletedEvent after successful installation - Add Setup tests for event integration - Update composer autoload for new class Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
b9f0a7f to
262dc40
Compare
removed |
Backport of #57522
Warning, This backport's changes differ from the original and might be incomplete⚠️
Todo
Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.