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

Allow users to request a premium feature trial #22139

Merged
merged 28 commits into from
Apr 29, 2024
Merged

Allow users to request a premium feature trial #22139

merged 28 commits into from
Apr 29, 2024

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Apr 20, 2024

Description:

Non super users will now be allowed to request the trial of a premium feature.
When a request is sent all super users will receive an email. In addition a notification will be displayed to every super user.

Every request by default has an expiration time of 27 days. This can be configured using config flag plugin_trial_request_expiration_in_days. If no superuser installs the plugin, no user can request a plugin trial again for the same plugin until the previous request expired.
Setting the config flag to -1 will completely disable plugin trial requests.

Notifications for super users can be dismissed. When this is done they won't be shown again for this specific super user. Other super users will still see it until they dismiss it. Dismissing notifications won't impact expiration time. So even if every super user dismisses the notification a new request will first be possible when the request expired.

Review

@sgiehl sgiehl added this to the 5.1.0 milestone Apr 20, 2024
@sgiehl sgiehl force-pushed the dev-17986 branch 3 times, most recently from d5e94a0 to 8998da8 Compare April 22, 2024 07:58
@sgiehl sgiehl requested a review from a team April 22, 2024 09:17
@sgiehl sgiehl added Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Needs Review PRs that need a code review c: Premium plugins For bugs and features related to premium plugins. labels Apr 22, 2024
@sgiehl sgiehl force-pushed the dev-17986 branch 4 times, most recently from 13c23f5 to c780fd7 Compare April 25, 2024 13:48
@sgiehl sgiehl merged commit 075845c into 5.x-dev Apr 29, 2024
20 of 25 checks passed
@sgiehl sgiehl deleted the dev-17986 branch April 29, 2024 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Premium plugins For bugs and features related to premium plugins. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants