Skip to content

Can we fire UserChangedEvent when setUserValue method is used? #41938

Description

@akhil1508

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.

  • I have some apps in nextcloud that set user values using setUserValue
  • I would like to develop a new app that can check when certain such values are updated and develop some functionality on top of this

Describe the solution you'd like

Describe alternatives you've considered

  • Patch the server code to fire this event

Additional context

  • My understanding from checking the code and by logging locally is that this event is not fired. Please close this issue if it is indeed fired and there is something going wrong in my setup.

Activity

  1. nickvergessen commented on Nov 30, 2023

    @nickvergessen
    Member

    I wouldn't fire the same event, but I also can see it would be useful to be able to "subscribe" to those changes sometimes.

  2. added
    1. to developAccepted and waiting to be taken care of
    phpPull requests that update Php code
    and removed
    0. Needs triagePending check for reproducibility or if it fits our roadmap
    on Nov 30, 2023
  3. akhil1508 commented on Dec 1, 2023

    @akhil1508
    ContributorAuthor

    I wouldn't fire the same event, but I also can see it would be useful to be able to "subscribe" to those changes sometimes.

    How does UserConfigChangedEvent sound? @nickvergessen

  4. nickvergessen commented on Dec 1, 2023

    @nickvergessen
    Member

    either that or UserPreferenceChangedEvent

    Could also go with …Set… because adding is not changing, but well doesn't matter as long as it's properly documented.

  5. changed the title [-][Development feature request] Can we fire UserChangedEvent when setUserValue method is used?[/-] [+]Can we fire UserChangedEvent when setUserValue method is used?[/+] on Sep 14, 2024
  6. akhil1508 commented on Sep 16, 2024

    @akhil1508
    ContributorAuthor

    either that or UserPreferenceChangedEvent

    @nickvergessen Implemented UserConfigChangedEvent in a PR #42039 :)

  7. joshtrichards commented on Sep 3, 2026

    @joshtrichards
    Member

    Implemented in #42039

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions