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

Skyhook Notifs + some lang file cleanups #102

Merged
merged 1 commit into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/bootstrap/compiled.php
.env.*.php
.env.php
.env
.idea/

# testing
vendor/
composer.lock
.phpunit.cache/test-results
52 changes: 52 additions & 0 deletions src/Config/notifications.alerts.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,42 @@
'discord' => \Seat\Notifications\Notifications\Characters\Discord\ResearchMissionAvailableMsg::class,
],
],
'SkyhookDeployed' => [
'label' => 'notifications::alerts.skyhook_deployed',
'handlers' => [
'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureAnchoring::class,
'slack' => \Seat\Notifications\Notifications\Structures\Slack\StructureAnchoring::class,
],
],
'SkyhookDestroyed' => [
'label' => 'notifications::alerts.skyhook_destroyed',
'handlers' => [
'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureDestroyed::class,
'slack' => \Seat\Notifications\Notifications\Structures\Slack\StructureDestroyed::class,
],
],
'SkyhookLostShields' => [
'label' => 'notifications::alerts.skyhook_lost_shields',
'handlers' => [
'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureLostShields::class,
'slack' => \Seat\Notifications\Notifications\Structures\Slack\StructureLostShields::class,
],
],
'SkyhookOnline' => [
'label' => 'notifications::alerts.skyhook_online',
'handlers' => [
'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureWentHighPower::class,
'slack' => \Seat\Notifications\Notifications\Structures\Slack\StructureWentHighPower::class,
],
],
'SkyhookUnderAttack' => [
'label' => 'notifications::alerts.skyhook_under_attack',
'handlers' => [
'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureUnderAttack::class,
'mail' => \Seat\Notifications\Notifications\Structures\Mail\StructureUnderAttack::class,
'slack' => \Seat\Notifications\Notifications\Structures\Slack\StructureUnderAttack::class,
],
],
'SovCommandNodeEventStarted' => [
'label' => 'notifications::alerts.sovereignty_command_node_event_started',
'handlers' => [
Expand Down Expand Up @@ -297,6 +333,22 @@
'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureLostShields::class,
],
],
'StructureLowReagentsAlert' => [
'label' => 'notifications::alerts.structure_low_reagents_alert',
'handlers' => [
'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureFuelAlert::class,
'mail' => \Seat\Notifications\Notifications\Structures\Mail\StructureFuelAlert::class,
'slack' => \Seat\Notifications\Notifications\Structures\Slack\StructureFuelAlert::class,
],
],
'StructureNoReagentsAlert' => [
'label' => 'notifications::alerts.structure_no_reagents_alert',
'handlers' => [
'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureServicesOffline::class,
'mail' => \Seat\Notifications\Notifications\Structures\Mail\StructureServicesOffline::class,
'slack' => \Seat\Notifications\Notifications\Structures\Slack\StructureServicesOffline::class,
],
],
'StructureServicesOffline' => [
'label' => 'notifications::alerts.structure_services_offline',
'handlers' => [
Expand Down
29 changes: 18 additions & 11 deletions src/resources/lang/en/alerts.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,28 @@
'raffle_expired' => 'Expired Raffle',
'raffle_finished' => 'Finished Raffle',
'research_mission_available' => 'New Research Mission',
'skyhook_deployed' => 'Skyhook Deployed',
'skyhook_destroyed' => 'Skyhook Destroyed',
'skyhook_lost_shields', 'Skyhook Lost Shields',
'skyhook_online' => 'Skyhook Online',
'skyhook_under_attack' => 'Skyhook Under Attack',
'sovereignty_command_node_event_started' => 'Sovereignty Command Node Event Started',
'sovereignty_structure_destroyed' => 'Destroyed Sovereignty Structure',
'sovereignty_structure_reinforced' => 'Reinforced Sovereignty Structure',
'story_line_mission_available' => 'New Story Line',
'structure_anchoring' => 'Anchoring Structures',
'structure_destroyed' => 'Destroyed Structures',
'structure_fuel_alert' => 'Low Fuel Structures',
'structure_lost_armor' => 'Lost Armor Structures',
'structure_lost_shield' => 'Lost Shield Structures',
'sovereignty_structure_destroyed' => 'Sovereignty Structure Destroyed',
'sovereignty_structure_reinforced' => 'Sovereignty Structure Reinforced',
'story_line_mission_available' => 'New Story Line Mission',
'structure_anchoring' => 'Structures Anchoring',
'structure_destroyed' => 'Structures Destroyed',
'structure_fuel_alert' => 'Structures Low Fuel',
'structure_lost_armor' => 'Structures Lost Armor',
'structure_lost_shield' => 'Structures Lost Shield',
'structure_low_reagents_alert' => 'Structure Low Reagents',
'structure_no_reagents_alert' => 'Structure No Reagents',
'structure_services_offline' => 'Structures Offline Services',
'structure_unanchoring' => 'Unanchoring Structures',
'structure_under_attack' => 'Attacked Structures',
'structure_unanchoring' => 'Structures Unanchoring',
'structure_under_attack' => 'Structures Attacked',
'structure_went_high_power' => 'Structures High Power',
'structure_went_low_power' => 'Structures Low Power',
'killmails' => 'Killmails',
'contract_created' => 'Contract created',
'contract_created' => 'Contract Created',
'war_inactive_member' => 'War Inactive Member',
];