| 
									
										
										
										
											2016-01-08 16:00:07 +01:00
										 |  |  | <?php | 
					
						
							| 
									
										
										
										
											2022-12-11 10:29:01 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-05-20 12:41:23 +02:00
										 |  |  | /** | 
					
						
							|  |  |  |  * EventServiceProvider.php | 
					
						
							| 
									
										
										
										
											2020-02-16 13:55:52 +01:00
										 |  |  |  * Copyright (c) 2019 james@firefly-iii.org | 
					
						
							| 
									
										
										
										
											2016-05-20 12:41:23 +02:00
										 |  |  |  * | 
					
						
							| 
									
										
										
										
											2019-10-02 06:37:26 +02:00
										 |  |  |  * This file is part of Firefly III (https://github.com/firefly-iii). | 
					
						
							| 
									
										
										
										
											2016-10-05 06:52:15 +02:00
										 |  |  |  * | 
					
						
							| 
									
										
										
										
											2019-10-02 06:37:26 +02:00
										 |  |  |  * This program is free software: you can redistribute it and/or modify | 
					
						
							|  |  |  |  * it under the terms of the GNU Affero General Public License as | 
					
						
							|  |  |  |  * published by the Free Software Foundation, either version 3 of the | 
					
						
							|  |  |  |  * License, or (at your option) any later version. | 
					
						
							| 
									
										
										
										
											2017-10-21 08:40:00 +02:00
										 |  |  |  * | 
					
						
							| 
									
										
										
										
											2019-10-02 06:37:26 +02:00
										 |  |  |  * This program is distributed in the hope that it will be useful, | 
					
						
							| 
									
										
										
										
											2017-10-21 08:40:00 +02:00
										 |  |  |  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
					
						
							|  |  |  |  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
					
						
							| 
									
										
										
										
											2019-10-02 06:37:26 +02:00
										 |  |  |  * GNU Affero General Public License for more details. | 
					
						
							| 
									
										
										
										
											2017-10-21 08:40:00 +02:00
										 |  |  |  * | 
					
						
							| 
									
										
										
										
											2019-10-02 06:37:26 +02:00
										 |  |  |  * You should have received a copy of the GNU Affero General Public License | 
					
						
							|  |  |  |  * along with this program.  If not, see <https://www.gnu.org/licenses/>. | 
					
						
							| 
									
										
										
										
											2016-05-20 12:41:23 +02:00
										 |  |  |  */ | 
					
						
							| 
									
										
										
										
											2017-04-09 07:44:22 +02:00
										 |  |  | declare(strict_types=1); | 
					
						
							| 
									
										
										
										
											2016-01-08 16:00:07 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | namespace FireflyIII\Providers; | 
					
						
							| 
									
										
										
										
											2015-02-06 04:39:52 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-13 05:57:11 +02:00
										 |  |  | use FireflyIII\Events\ActuallyLoggedIn; | 
					
						
							| 
									
										
										
										
											2022-10-01 12:21:42 +02:00
										 |  |  | use FireflyIII\Events\Admin\InvitationCreated; | 
					
						
							| 
									
										
										
										
											2020-12-02 06:54:13 +01:00
										 |  |  | use FireflyIII\Events\DestroyedTransactionGroup; | 
					
						
							| 
									
										
										
										
											2020-08-28 21:58:03 +02:00
										 |  |  | use FireflyIII\Events\DetectedNewIPAddress; | 
					
						
							| 
									
										
										
										
											2025-08-09 07:59:38 +02:00
										 |  |  | use FireflyIII\Events\Model\Bill\WarnUserAboutBill; | 
					
						
							| 
									
										
										
										
											2025-08-09 08:34:18 +02:00
										 |  |  | use FireflyIII\Events\Model\Bill\WarnUserAboutOverdueSubscriptions; | 
					
						
							| 
									
										
										
										
											2023-09-21 11:29:09 +02:00
										 |  |  | use FireflyIII\Events\Model\PiggyBank\ChangedAmount; | 
					
						
							| 
									
										
										
										
											2025-06-02 20:32:58 +02:00
										 |  |  | use FireflyIII\Events\Model\PiggyBank\ChangedName; | 
					
						
							| 
									
										
										
										
											2023-08-12 20:57:51 +02:00
										 |  |  | use FireflyIII\Events\Model\Rule\RuleActionFailedOnArray; | 
					
						
							| 
									
										
										
										
											2023-08-13 15:01:12 +02:00
										 |  |  | use FireflyIII\Events\Model\Rule\RuleActionFailedOnObject; | 
					
						
							| 
									
										
										
										
											2022-09-24 11:41:07 +02:00
										 |  |  | use FireflyIII\Events\NewVersionAvailable; | 
					
						
							| 
									
										
										
										
											2025-08-01 13:48:32 +02:00
										 |  |  | use FireflyIII\Events\Preferences\UserGroupChangedPrimaryCurrency; | 
					
						
							| 
									
										
										
										
											2017-12-05 20:50:04 +01:00
										 |  |  | use FireflyIII\Events\RegisteredUser; | 
					
						
							| 
									
										
										
										
											2018-04-02 15:10:40 +02:00
										 |  |  | use FireflyIII\Events\RequestedNewPassword; | 
					
						
							| 
									
										
										
										
											2018-06-25 16:01:45 +02:00
										 |  |  | use FireflyIII\Events\RequestedReportOnJournals; | 
					
						
							| 
									
										
										
										
											2020-12-02 19:30:09 +01:00
										 |  |  | use FireflyIII\Events\RequestedSendWebhookMessages; | 
					
						
							| 
									
										
										
										
											2017-12-28 19:03:15 +01:00
										 |  |  | use FireflyIII\Events\RequestedVersionCheckStatus; | 
					
						
							| 
									
										
										
										
											2024-10-08 07:21:23 +02:00
										 |  |  | use FireflyIII\Events\Security\DisabledMFA; | 
					
						
							|  |  |  | use FireflyIII\Events\Security\EnabledMFA; | 
					
						
							|  |  |  | use FireflyIII\Events\Security\MFABackupFewLeft; | 
					
						
							|  |  |  | use FireflyIII\Events\Security\MFABackupNoLeft; | 
					
						
							| 
									
										
										
										
											2024-10-08 14:45:37 +02:00
										 |  |  | use FireflyIII\Events\Security\MFAManyFailedAttempts; | 
					
						
							| 
									
										
										
										
											2024-10-08 07:21:23 +02:00
										 |  |  | use FireflyIII\Events\Security\MFANewBackupCodes; | 
					
						
							|  |  |  | use FireflyIII\Events\Security\MFAUsedBackupCode; | 
					
						
							| 
									
										
										
										
											2024-12-12 07:09:17 +01:00
										 |  |  | use FireflyIII\Events\Security\UnknownUserAttemptedLogin; | 
					
						
							| 
									
										
										
										
											2024-12-14 07:13:01 +01:00
										 |  |  | use FireflyIII\Events\Security\UserAttemptedLogin; | 
					
						
							| 
									
										
										
										
											2021-04-10 17:25:48 +02:00
										 |  |  | use FireflyIII\Events\StoredAccount; | 
					
						
							| 
									
										
										
										
											2019-03-30 11:03:39 +01:00
										 |  |  | use FireflyIII\Events\StoredTransactionGroup; | 
					
						
							| 
									
										
										
										
											2024-12-14 06:30:27 +01:00
										 |  |  | use FireflyIII\Events\Test\OwnerTestNotificationChannel; | 
					
						
							|  |  |  | use FireflyIII\Events\Test\UserTestNotificationChannel; | 
					
						
							| 
									
										
										
										
											2022-10-02 05:37:38 +02:00
										 |  |  | use FireflyIII\Events\TriggeredAuditLog; | 
					
						
							| 
									
										
										
										
											2021-04-10 17:25:48 +02:00
										 |  |  | use FireflyIII\Events\UpdatedAccount; | 
					
						
							| 
									
										
										
										
											2019-03-30 11:03:39 +01:00
										 |  |  | use FireflyIII\Events\UpdatedTransactionGroup; | 
					
						
							| 
									
										
										
										
											2018-04-02 15:10:40 +02:00
										 |  |  | use FireflyIII\Events\UserChangedEmail; | 
					
						
							| 
									
										
										
										
											2017-12-05 20:50:04 +01:00
										 |  |  | use Illuminate\Auth\Events\Login; | 
					
						
							| 
									
										
										
										
											2015-02-06 04:39:52 +01:00
										 |  |  | use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; | 
					
						
							| 
									
										
										
										
											2018-05-26 13:55:11 +02:00
										 |  |  | use Laravel\Passport\Events\AccessTokenCreated; | 
					
						
							| 
									
										
										
										
											2025-05-27 16:57:36 +02:00
										 |  |  | use Override; | 
					
						
							| 
									
										
										
										
											2015-04-07 18:26:14 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-01-09 08:20:55 +01:00
										 |  |  | /** | 
					
						
							| 
									
										
										
										
											2017-11-15 12:25:49 +01:00
										 |  |  |  * Class EventServiceProvider. | 
					
						
							| 
									
										
										
										
											2023-12-22 20:12:38 +01:00
										 |  |  |  * | 
					
						
							| 
									
										
										
										
											2025-01-03 18:16:27 +01:00
										 |  |  |  * @SuppressWarnings("PHPMD.CouplingBetweenObjects") | 
					
						
							| 
									
										
										
										
											2016-01-09 08:20:55 +01:00
										 |  |  |  */ | 
					
						
							| 
									
										
										
										
											2015-02-11 07:35:10 +01:00
										 |  |  | class EventServiceProvider extends ServiceProvider | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |     protected $listen | 
					
						
							|  |  |  |         = [ | 
					
						
							| 
									
										
										
										
											2017-09-26 08:52:16 +02:00
										 |  |  |             // is a User related event.
 | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             RegisteredUser::class                    => [ | 
					
						
							| 
									
										
										
										
											2017-11-15 12:25:49 +01:00
										 |  |  |                 'FireflyIII\Handlers\Events\UserEventHandler@sendRegistrationMail', | 
					
						
							| 
									
										
										
										
											2022-09-24 08:23:07 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\UserEventHandler@sendAdminRegistrationNotification', | 
					
						
							| 
									
										
										
										
											2017-11-15 12:25:49 +01:00
										 |  |  |                 'FireflyIII\Handlers\Events\UserEventHandler@attachUserRole', | 
					
						
							| 
									
										
										
										
											2021-08-28 15:47:33 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\UserEventHandler@createGroupMembership', | 
					
						
							| 
									
										
										
										
											2022-06-06 14:40:19 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\UserEventHandler@createExchangeRates', | 
					
						
							| 
									
										
										
										
											2017-11-15 12:25:49 +01:00
										 |  |  |             ], | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             UserAttemptedLogin::class                => [ | 
					
						
							| 
									
										
										
										
											2024-12-14 07:13:01 +01:00
										 |  |  |                 'FireflyIII\Handlers\Events\UserEventHandler@sendLoginAttemptNotification', | 
					
						
							|  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2017-12-05 20:50:04 +01:00
										 |  |  |             // is a User related event.
 | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             Login::class                             => [ | 
					
						
							| 
									
										
										
										
											2017-12-05 20:50:04 +01:00
										 |  |  |                 'FireflyIII\Handlers\Events\UserEventHandler@checkSingleUserIsAdmin', | 
					
						
							| 
									
										
										
										
											2018-06-12 21:41:58 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\UserEventHandler@demoUserBackToEnglish', | 
					
						
							| 
									
										
										
										
											2021-10-13 05:57:11 +02:00
										 |  |  |             ], | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             ActuallyLoggedIn::class                  => [ | 
					
						
							| 
									
										
										
										
											2020-08-28 21:58:03 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\UserEventHandler@storeUserIPAddress', | 
					
						
							|  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             DetectedNewIPAddress::class              => [ | 
					
						
							| 
									
										
										
										
											2020-08-28 21:58:03 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\UserEventHandler@notifyNewIPAddress', | 
					
						
							| 
									
										
										
										
											2017-12-28 19:03:15 +01:00
										 |  |  |             ], | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             RequestedVersionCheckStatus::class       => [ | 
					
						
							| 
									
										
										
										
											2017-12-28 11:38:40 +01:00
										 |  |  |                 'FireflyIII\Handlers\Events\VersionCheckEventHandler@checkForUpdates', | 
					
						
							| 
									
										
										
										
											2017-12-05 20:50:04 +01:00
										 |  |  |             ], | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             RequestedReportOnJournals::class         => [ | 
					
						
							| 
									
										
										
										
											2018-06-25 16:01:45 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\AutomationHandler@reportJournals', | 
					
						
							|  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2017-12-05 20:50:04 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-09-26 08:52:16 +02:00
										 |  |  |             // is a User related event.
 | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             RequestedNewPassword::class              => [ | 
					
						
							| 
									
										
										
										
											2017-09-26 08:52:16 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\UserEventHandler@sendNewPassword', | 
					
						
							| 
									
										
										
										
											2016-11-22 21:21:11 +01:00
										 |  |  |             ], | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             UserTestNotificationChannel::class       => [ | 
					
						
							| 
									
										
										
										
											2024-12-14 06:30:27 +01:00
										 |  |  |                 'FireflyIII\Handlers\Events\UserEventHandler@sendTestNotification', | 
					
						
							|  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2017-09-26 08:52:16 +02:00
										 |  |  |             // is a User related event.
 | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             UserChangedEmail::class                  => [ | 
					
						
							| 
									
										
										
										
											2017-09-26 08:52:16 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\UserEventHandler@sendEmailChangeConfirmMail', | 
					
						
							|  |  |  |                 'FireflyIII\Handlers\Events\UserEventHandler@sendEmailChangeUndoMail', | 
					
						
							|  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2017-09-27 15:45:55 +02:00
										 |  |  |             // admin related
 | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             OwnerTestNotificationChannel::class      => [ | 
					
						
							| 
									
										
										
										
											2024-12-08 16:28:22 +01:00
										 |  |  |                 'FireflyIII\Handlers\Events\AdminEventHandler@sendTestNotification', | 
					
						
							| 
									
										
										
										
											2017-09-27 15:45:55 +02:00
										 |  |  |             ], | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             NewVersionAvailable::class               => [ | 
					
						
							| 
									
										
										
										
											2022-09-24 11:41:07 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\AdminEventHandler@sendNewVersion', | 
					
						
							|  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             InvitationCreated::class                 => [ | 
					
						
							| 
									
										
										
										
											2022-10-01 12:21:42 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\AdminEventHandler@sendInvitationNotification', | 
					
						
							| 
									
										
										
										
											2022-10-01 19:06:55 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\UserEventHandler@sendRegistrationInvite', | 
					
						
							| 
									
										
										
										
											2022-10-01 12:21:42 +02:00
										 |  |  |             ], | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             UnknownUserAttemptedLogin::class         => [ | 
					
						
							| 
									
										
										
										
											2024-12-12 07:09:17 +01:00
										 |  |  |                 'FireflyIII\Handlers\Events\AdminEventHandler@sendLoginAttemptNotification', | 
					
						
							|  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2022-10-01 12:21:42 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-09-26 08:52:16 +02:00
										 |  |  |             // is a Transaction Journal related event.
 | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             StoredTransactionGroup::class            => [ | 
					
						
							| 
									
										
										
										
											2025-02-06 05:55:46 +01:00
										 |  |  |                 'FireflyIII\Handlers\Events\StoredGroupEventHandler@runAllHandlers', | 
					
						
							| 
									
										
										
										
											2017-11-15 12:25:49 +01:00
										 |  |  |             ], | 
					
						
							| 
									
										
										
										
											2017-09-26 08:52:16 +02:00
										 |  |  |             // is a Transaction Journal related event.
 | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             UpdatedTransactionGroup::class           => [ | 
					
						
							| 
									
										
										
										
											2025-02-06 05:55:46 +01:00
										 |  |  |                 'FireflyIII\Handlers\Events\UpdatedGroupEventHandler@runAllHandlers', | 
					
						
							| 
									
										
										
										
											2020-12-02 06:54:13 +01:00
										 |  |  |             ], | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             DestroyedTransactionGroup::class         => [ | 
					
						
							| 
									
										
										
										
											2025-05-02 06:45:34 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\DestroyedGroupEventHandler@runAllHandlers', | 
					
						
							| 
									
										
										
										
											2017-11-15 12:25:49 +01:00
										 |  |  |             ], | 
					
						
							| 
									
										
										
										
											2018-05-26 13:55:11 +02:00
										 |  |  |             // API related events:
 | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             AccessTokenCreated::class                => [ | 
					
						
							| 
									
										
										
										
											2018-05-26 13:55:11 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\APIEventHandler@accessTokenCreated', | 
					
						
							|  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2020-12-02 19:30:09 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  |             // Webhook related event:
 | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             RequestedSendWebhookMessages::class      => [ | 
					
						
							| 
									
										
										
										
											2020-12-02 19:30:09 +01:00
										 |  |  |                 'FireflyIII\Handlers\Events\WebhookEventHandler@sendWebhookMessages', | 
					
						
							|  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2021-04-10 17:25:48 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |             // account related events:
 | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             StoredAccount::class                     => [ | 
					
						
							| 
									
										
										
										
											2021-04-10 17:25:48 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\StoredAccountEventHandler@recalculateCredit', | 
					
						
							| 
									
										
										
										
											2021-09-18 10:26:12 +02:00
										 |  |  |             ], | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             UpdatedAccount::class                    => [ | 
					
						
							| 
									
										
										
										
											2021-04-10 17:25:48 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\UpdatedAccountEventHandler@recalculateCredit', | 
					
						
							|  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2022-03-28 12:23:46 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |             // bill related events:
 | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             WarnUserAboutBill::class                 => [ | 
					
						
							| 
									
										
										
										
											2022-03-28 12:23:46 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\BillEventHandler@warnAboutBill', | 
					
						
							|  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2025-08-09 08:34:18 +02:00
										 |  |  |             WarnUserAboutOverdueSubscriptions::class => [ | 
					
						
							|  |  |  |                 'FireflyIII\Handlers\Events\BillEventHandler@warnAboutOverdueSubscriptions', | 
					
						
							| 
									
										
										
										
											2025-08-09 07:59:38 +02:00
										 |  |  |             ], | 
					
						
							| 
									
										
										
										
											2022-10-02 05:37:38 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |             // audit log events:
 | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             TriggeredAuditLog::class                 => [ | 
					
						
							| 
									
										
										
										
											2022-10-02 05:37:38 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\AuditEventHandler@storeAuditEvent', | 
					
						
							| 
									
										
										
										
											2022-12-11 10:29:01 +01:00
										 |  |  |             ], | 
					
						
							| 
									
										
										
										
											2022-12-11 07:17:59 +01:00
										 |  |  |             // piggy bank related events:
 | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             ChangedAmount::class                     => [ | 
					
						
							| 
									
										
										
										
											2023-09-21 11:29:09 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\Model\PiggyBankEventHandler@changePiggyAmount', | 
					
						
							| 
									
										
										
										
											2022-10-02 05:37:38 +02:00
										 |  |  |             ], | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             ChangedName::class                       => [ | 
					
						
							| 
									
										
										
										
											2025-06-02 20:32:58 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\Model\PiggyBankEventHandler@changedPiggyBankName', | 
					
						
							|  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2023-04-26 11:31:46 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-08-12 20:57:51 +02:00
										 |  |  |             // rule actions
 | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             RuleActionFailedOnArray::class           => [ | 
					
						
							| 
									
										
										
										
											2023-08-13 15:01:12 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\Model\RuleHandler@ruleActionFailedOnArray', | 
					
						
							|  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             RuleActionFailedOnObject::class          => [ | 
					
						
							| 
									
										
										
										
											2023-08-13 15:01:12 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\Model\RuleHandler@ruleActionFailedOnObject', | 
					
						
							| 
									
										
										
										
											2023-08-12 20:57:51 +02:00
										 |  |  |             ], | 
					
						
							| 
									
										
										
										
											2024-10-08 07:21:23 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |             // security related
 | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             EnabledMFA::class                        => [ | 
					
						
							| 
									
										
										
										
											2024-10-08 07:21:23 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\Security\MFAHandler@sendMFAEnabledMail', | 
					
						
							|  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             DisabledMFA::class                       => [ | 
					
						
							| 
									
										
										
										
											2024-10-08 07:21:23 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\Security\MFAHandler@sendMFADisabledMail', | 
					
						
							|  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             MFANewBackupCodes::class                 => [ | 
					
						
							| 
									
										
										
										
											2024-10-08 07:21:23 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\Security\MFAHandler@sendNewMFABackupCodesMail', | 
					
						
							|  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             MFAUsedBackupCode::class                 => [ | 
					
						
							| 
									
										
										
										
											2024-10-08 07:21:23 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\Security\MFAHandler@sendUsedBackupCodeMail', | 
					
						
							|  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             MFABackupFewLeft::class                  => [ | 
					
						
							| 
									
										
										
										
											2024-10-08 07:21:23 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\Security\MFAHandler@sendBackupFewLeftMail', | 
					
						
							|  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             MFABackupNoLeft::class                   => [ | 
					
						
							| 
									
										
										
										
											2024-10-08 07:21:23 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\Security\MFAHandler@sendBackupNoLeftMail', | 
					
						
							|  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             MFAManyFailedAttempts::class             => [ | 
					
						
							| 
									
										
										
										
											2024-10-08 14:45:37 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\Security\MFAHandler@sendMFAFailedAttemptsMail', | 
					
						
							|  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2024-12-21 07:12:11 +01:00
										 |  |  |             // preferences
 | 
					
						
							| 
									
										
										
										
											2025-08-09 08:38:30 +02:00
										 |  |  |             UserGroupChangedPrimaryCurrency::class   => [ | 
					
						
							| 
									
										
										
										
											2025-08-01 06:12:36 +02:00
										 |  |  |                 'FireflyIII\Handlers\Events\PreferencesEventHandler@resetPrimaryCurrencyAmounts', | 
					
						
							| 
									
										
										
										
											2024-12-21 07:12:11 +01:00
										 |  |  |             ], | 
					
						
							| 
									
										
										
										
											2015-02-11 07:35:10 +01:00
										 |  |  |         ]; | 
					
						
							| 
									
										
										
										
											2015-02-06 04:39:52 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-02-11 07:35:10 +01:00
										 |  |  |     /** | 
					
						
							| 
									
										
										
										
											2016-09-16 07:05:34 +02:00
										 |  |  |      * Register any events for your application. | 
					
						
							| 
									
										
										
										
											2015-02-11 07:35:10 +01:00
										 |  |  |      */ | 
					
						
							| 
									
										
										
										
											2025-05-27 16:57:36 +02:00
										 |  |  |     #[Override]
 | 
					
						
							| 
									
										
										
										
											2025-09-15 05:23:47 +02:00
										 |  |  |     public function boot(): void {} | 
					
						
							| 
									
										
										
										
											2015-02-06 04:39:52 +01:00
										 |  |  | } |