Admin and Discord Notification Improvements (#1407)
* Backend changes Sorting for : Airlines, Subfleets, Type Ratings and exported Flights Blade : Added WYSIWYG editor to flight remarks/notes field Notifications : Mails > Added enabled/disabled settings for mails. Discord > Dashed out PirepPreFiled, re-enabled PirepStatusChanged with reduced messages * Update PirepStatusChanged.php * Update NotificationEventsHandler.php * in_array fix * Fix Discord Notifications * Discord Notifications Removed the pirep url from message as it is mostly private at phpvms side. Also removed the Flight Ident from fields 'cause it is being used in the title. Added the user avatar as thumbnail, and pirep filed message uses the airline logo as the main image. Even though the outgoing pirep status messages are reduced, it is still possible to enable/disable them from admin settings. Pirep Filed is always being sent (if the webhook is defined) * StyleFix
This commit is contained in:
@@ -410,6 +410,41 @@
|
||||
options: ''
|
||||
type: text
|
||||
description: The Discord Webhook URL for private notifications
|
||||
- key: notifications.discord_pirep_status
|
||||
name: Discord Pirep Messages (Public)
|
||||
group: notifications
|
||||
value: true
|
||||
options: ''
|
||||
type: boolean
|
||||
description: Pirep status messages (Only key events are being sent)
|
||||
- key: notifications.mail_pirep_admin
|
||||
name: Pirep Filed (Admin)
|
||||
group: notifications
|
||||
value: true
|
||||
options: ''
|
||||
type: boolean
|
||||
description: Pirep filed mails sent to admins
|
||||
- key: notifications.mail_pirep_user_ack
|
||||
name: Pirep Accepted (Pilot)
|
||||
group: notifications
|
||||
value: true
|
||||
options: ''
|
||||
type: boolean
|
||||
description: Pirep Accepted mails sent to pilots
|
||||
- key: notifications.mail_pirep_user_rej
|
||||
name: Pirep Rejected (Pilot)
|
||||
group: notifications
|
||||
value: true
|
||||
options: ''
|
||||
type: boolean
|
||||
description: Pirep Rejected mails sent to pilots
|
||||
- key: notifications.mail_news
|
||||
name: News Mails
|
||||
group: notifications
|
||||
value: true
|
||||
options: ''
|
||||
type: boolean
|
||||
description: News mails sent to all members
|
||||
- key: 'cron.random_id'
|
||||
name: 'Cron Randomized ID'
|
||||
group: 'cron'
|
||||
|
||||
Reference in New Issue
Block a user