391 Notification refactorings (#441)
* Refactor notifications to allow easier plugins * Notification refactoring * Formatting * Move news to NewsService; cleanup of events * More refactoring; added send email out for news item and the template * Formatting * Formatting
This commit is contained in:
@@ -20,7 +20,7 @@ awards:
|
||||
name: Pilot 50 flights
|
||||
description: When a pilot has 50 flights, give this award
|
||||
image_url:
|
||||
ref_model: App\Awards\PilotFlightAwards
|
||||
ref_model: Modules\Awards\Awards\PilotFlightAwards
|
||||
ref_model_params: 50
|
||||
created_at: now
|
||||
updated_at: now
|
||||
|
||||
@@ -222,3 +222,17 @@
|
||||
options: ''
|
||||
type: boolean
|
||||
description: 'Count transfer hours in calculations, like ranks and the total hours'
|
||||
- key: notifications.discord_api_key
|
||||
name: Discord API token
|
||||
group: notifications
|
||||
value: ''
|
||||
options: ''
|
||||
type: text
|
||||
description: Discord API token for notifications
|
||||
- key: 'notifications.discord_public_channel_id'
|
||||
name: 'Discord Public Channel ID'
|
||||
group: 'notifications'
|
||||
value: ''
|
||||
options: ''
|
||||
type: 'text'
|
||||
description: 'Discord public channel ID for broadcasat notifications'
|
||||
|
||||
Reference in New Issue
Block a user