PluginProbe
The Innovative Form Builder – IvyForms / 1.5
The Innovative Form Builder – IvyForms v1.5
1.5.1 1.5 1.4.1 1.4 trunk 0.1.2 0.2 0.2.1 0.3 0.3.1 0.4 0.5 0.6 0.6.1 0.6.1-backup 0.6.1.1 0.7 0.8 0.8.1 0.8.2 0.9 0.9.1 1.0 1.1 1.1.1 All 27 releases
← All changes | backend/src/Services/InstallActions/ActivationDatabaseHook.php +24 -7 0.9.1 → 1.5 View file →
@@ -5,14 +5,8 @@
5 5 */
6 6
7 7 namespace IvyForms\Services\InstallActions;
8 8
9 -// phpcs:disable PSR1.Files.SideEffects
10 -if (!defined('ABSPATH')) {
11 - exit; // Exit if accessed directly
12 -}
13 -
14 -use IvyForms\Common\Exceptions\InvalidArgumentException;
15 9 use IvyForms\Services\InstallActions\DB\Confirmation\ConfirmationsTable;
16 10 use IvyForms\Services\InstallActions\DB\Entry\EntriesTable;
17 11 use IvyForms\Services\InstallActions\DB\EntryField\EntryFieldsTable;
18 12 use IvyForms\Services\InstallActions\DB\Field\FieldsTable;
@@ -18,11 +12,23 @@
18 12 use IvyForms\Services\InstallActions\DB\Field\FieldsTable;
19 13 use IvyForms\Services\InstallActions\DB\Form\FormsTable;
20 14 use IvyForms\Services\InstallActions\DB\Notification\NotificationsTable;
21 15 use IvyForms\Services\InstallActions\DB\FieldOptions\FieldOptionsTable;
16 +use IvyForms\Services\InstallActions\DB\GoogleSheets\GoogleSheetsTable;
17 +use IvyForms\Services\InstallActions\DB\Payment\OrdersTable;
18 +use IvyForms\Services\InstallActions\DB\Payment\PaymentsTable;
19 +use IvyForms\Services\InstallActions\Migrations\PaymentSchemaMigrations;
22 20 use IvyForms\Services\InstallActions\Migrations\AddRowColumnLayoutToFields;
23 21 use IvyForms\Services\InstallActions\Migrations\SeedRowIndexForFields;
24 22 use IvyForms\Services\InstallActions\Migrations\AddReplyToToNotifications;
23 +use IvyForms\Services\InstallActions\Migrations\AddStyleSettingsToForms;
24 +use IvyForms\Services\InstallActions\Migrations\AddShowEmptyFieldsToNotifications;
25 +use IvyForms\Services\InstallActions\Migrations\AddFormTypeToForms;
26 +use IvyForms\Services\InstallActions\Migrations\ConvertNotificationSmartLogicToText;
27 +use IvyForms\Services\InstallActions\Migrations\AddPageIdToFields;
28 +use IvyForms\Services\InstallActions\Migrations\AddNamePositionToConfirmations;
29 +use IvyForms\Services\InstallActions\Migrations\AddCcBccToNotifications;
30 +use IvyForms\Services\InstallActions\Migrations\ExpandReceiverColumnInNotifications;
25 31
26 32 /**
27 33 * Class ActivationHook
28 34 *
@@ -31,9 +37,8 @@
31 37 class ActivationDatabaseHook
32 38 {
33 39 /**
34 40 * Initialize the plugin
35 - * @throws InvalidArgumentException
36 41 */
37 42 public static function init(): void
38 43 {
39 44 FormsTable::init();
@@ -42,11 +47,23 @@
42 47 ConfirmationsTable::init();
43 48 EntriesTable::init();
44 49 EntryFieldsTable::init();
45 50 FieldOptionsTable::init();
51 + GoogleSheetsTable::init();
52 + PaymentsTable::init();
53 + OrdersTable::init();
46 54
47 55 // Run migrations
48 56 AddRowColumnLayoutToFields::run();
49 57 SeedRowIndexForFields::run();
50 58 AddReplyToToNotifications::run();
59 + AddStyleSettingsToForms::run();
60 + AddShowEmptyFieldsToNotifications::run();
61 + AddFormTypeToForms::run();
62 + PaymentSchemaMigrations::run();
63 + ConvertNotificationSmartLogicToText::run();
64 + AddPageIdToFields::run();
65 + AddNamePositionToConfirmations::run();
66 + AddCcBccToNotifications::run();
67 + ExpandReceiverColumnInNotifications::run();
51 68 }
52 69 }