Skip to content
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

Notify the administrators when one of the installed licensed applications has a new version available #110

Closed
mflorea opened this issue Nov 19, 2021 · 1 comment · Fixed by #126

Comments

@mflorea
Copy link
Contributor

mflorea commented Nov 19, 2021

This should be done only if automatic upgrades are turned off for that application or globally. There should also be a configuration option to disable these notifications (e.g. put a checkbox on the Licenses administration section).

The notification message could indicate that in order to disable these notifications you need to:

oanalavinia added a commit to oanalavinia/application-licensing that referenced this issue May 17, 2022
…tions has a new version available xwikisas#110

* add NewExtensionVersionAvailable event and a job scheduler to send this event every week
oanalavinia added a commit to oanalavinia/application-licensing that referenced this issue May 26, 2022
…ions has a new version available xwikisas#110

* added a list of newVersionNotifiedExtensions to avoid sending the same notification multiple times
* comments updates
oanalavinia added a commit to oanalavinia/application-licensing that referenced this issue May 26, 2022
…ions has a new version available xwikisas#110

* add possibility for users to access directly the upgrade page corresponding to a given notification
oanalavinia added a commit to oanalavinia/application-licensing that referenced this issue May 27, 2022
oanalavinia added a commit to oanalavinia/application-licensing that referenced this issue Jul 19, 2022
…ions has a new version available xwikisas#110

* send event message as json, since doing a split is error-prone
* small refactorings
oanalavinia added a commit to oanalavinia/application-licensing that referenced this issue Jul 26, 2022
…ions has a new version available xwikisas#110

* changed logic for how information about already sent notifications is saved
* update tests
oanalavinia added a commit to oanalavinia/application-licensing that referenced this issue Jul 26, 2022
…ions has a new version available xwikisas#110

* some small updates
oanalavinia added a commit to oanalavinia/application-licensing that referenced this issue Jul 27, 2022
…ions has a new version available xwikisas#110

* use extensionId  extensionName for saving information about
oanalavinia added a commit that referenced this issue Aug 29, 2022
…tions has a new version available #110 (#126)

* add NewExtensionVersionAvailable event and a job scheduler to send this event every week
* avoid multiplying notifications by adding an object of NewVersionNotificationClass each time a new notification is fired
* add possibility for users to access directly the upgrade page corresponding to a given notification
* update unit tests
@oanalavinia oanalavinia self-assigned this Aug 29, 2022
@oanalavinia oanalavinia added this to the 1.22.2 milestone Aug 29, 2022
@oanalavinia
Copy link
Contributor

oanalavinia commented Aug 29, 2022

  • Added a scheduler job that does a check for new versions available and sends a notification (one per application/wiki/version); this job is triggered once a week since usually upgrades are not done more frequently
  • The notification is sent to those that have these notifications (New extension version available) enabled and the System filter disabled, since the notification is send by superadmin user;
  • Notifications for a specific extension can be disabled by enabling automatic upgrades for it

The notification:
licensing_110

The notifications settings:
licensing_110_notifSettings

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