feat(notify): add notif to internal users when granted
- add coalesced protection to avoid mail bombing if an invited goes many grant in a short period
- add resentd method in share menu item (work for both internal and external users)
- user can disable email notification via his properties
- add env variable from admin to disable notifications
This commit is contained in:
@@ -139,6 +139,13 @@
|
||||
<label for="profile-edit-family-name" data-i18n="profile.family_name">Last name</label>
|
||||
<input type="text" id="profile-edit-family-name" maxlength="128" autocomplete="family-name">
|
||||
</div>
|
||||
<div class="form-group form-group--checkbox">
|
||||
<label for="profile-edit-notify-on-share" class="checkbox-label">
|
||||
<input type="checkbox" id="profile-edit-notify-on-share">
|
||||
<span data-i18n="profile.notify_on_share">Email me when someone shares with me</span>
|
||||
</label>
|
||||
<small data-i18n="profile.notify_on_share_hint">When unchecked, shares still appear in your account — you just won't get an email about them.</small>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary" id="profile-edit-submit">
|
||||
<i class="fas fa-save"></i> <span data-i18n="profile.save_profile">Save changes</span>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user