Commit Graph

191 Commits

Author SHA1 Message Date
54e3c52630 Require dbDelta in Migrator function just in time
This change needs to be done so that PHPStan can run analysis
without actually loading whole site.

wp-admin/includes/upgrade.php has some side effects
that require other WP functions to be loaded in runtime.

[MAILPOET-3029]
2020-11-09 11:04:32 +01:00
f0127cd68b Add column that enables/disables the form
[MAILPOET-3075]
2020-08-12 16:35:28 +02:00
6d0977c7fe Update the version
[MAILPOET-2737]
2020-06-24 10:28:52 +02:00
4e3b206734 Track admin unsubscribe
[MAILPOET-2792]
2020-06-24 10:28:52 +02:00
6682af5cf5 Allow null in statistics unsubscribes
[MAILPOET-2792]
2020-06-24 10:28:52 +02:00
11ada70418 Add source to unsubscribe statistics table
[MAILPOET-2792]
2020-06-24 10:28:52 +02:00
8c848cfa28 Convert property names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
b0ef65a1eb Allow saving forms without name
[MAILPOET-2450]
2019-11-06 16:54:40 +00:00
787cd8373a Move data for GA to free
[MAILPOET-2397]
2019-10-23 17:34:07 +01:00
wxa
5d65a67072 Use one more temp table, use better indexes for inactives sync [MAILPOET-2392] 2019-10-16 13:55:01 +01:00
e5e85344da Move dynamic segment filters table from Premium plugin
[MAILPOET-2382]
2019-10-09 13:36:24 +01:00
wxa
f98ed72d83 Store the 'in_progress' flag for workers in a separate column [MAILPOET-2443] 2019-10-08 15:03:48 +01:00
ade1cc4d8e Autofix alphabetically sorted use statements
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
2ed3fe316b Fix typo in SQL
[MAILPOET-2313]
2019-09-12 17:32:05 +02:00
f5eb7cb5a0 Use CHAR because the size is constant
[MAILPOET-2313]
2019-09-12 17:32:05 +02:00
4edde1636f Add link_token to subscribers table 2019-09-12 17:32:05 +02:00
c871efdb3e Use CHAR instead of VARCHAR
[MAILPOET-2340]
2019-09-12 14:59:02 +02:00
01a0fe96c4 Remove no longer necessary checks
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
10e71426aa Modify stats tables indexes for faster fetching in emails listing
[MAILPOET-2213]
2019-08-20 12:27:20 -04:00
wxa
8b867a7b4f Reschedule failing cron tasks progressively [MAILPOET-2181] 2019-08-01 13:09:18 -04:00
531173014a Add unsubscribe token column 2019-07-31 16:50:44 -04:00
0dda4babf3 Add last_subscribed_at column to subscribers
[MAILPOET-1993]
2019-07-23 09:57:46 -04:00
wxa
7dc3171629 Add an updated_at field to scheduled task subscribers [MAILPOET-2083] 2019-05-21 11:07:26 -04:00
5d64ec168d Add rule for concatenation operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
12ff88ee21 Add rule for operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
9172b7e990 Use shorter feature name due to index length limitations
[MAILPOET-2008]
2019-05-16 10:45:55 -04:00
8e335a808f Add FeatureFlag entity and table
[MAILPOET-2008]
2019-05-16 10:45:55 -04:00
wxa
6c13bc3104 Use a meta field to store the in-progress flag [MAILPOET-1983] 2019-05-13 10:47:09 -04:00
wxa
12d2b9b46a Add WooCommerce checkout opt-in functionality [MAILPOET-1483] 2019-04-29 09:33:12 -04:00
7873a7a26e Make index shorter than MySQL limits
[MAILPOET-2021] Fixes: #2006
2019-04-29 07:45:11 -04:00
7466a9b0a6 Document "only one column with CURRENT_TIMESTAMP" error workarounds
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
9aaafaa8f9 Add fix for MySQL < 5.6.5
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
82210b40eb Add 'updated_at' to WooCommerce purchase stats table
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
fda5da288b Use char(3) type for currency code
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
079bd337c7 Rename WooCommerce "orders" to more exact "purchases"
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
97c4260697 Add table for tracking WooCommerce order stats
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
8e46f12a0e Add created_at index to statistics opens
[MAILPOET-1971]
2019-04-22 10:58:13 -04:00
f80a83386e Use VARCHAR instead of LONGTEXT for flags 2019-03-21 10:03:21 -04:00
c043f0c666 Add user_flags table [MAILPOET-1677] 2019-03-21 10:03:21 -04:00
777eb1f7b7 Add status, deleted_at index to subscribers table
[MAILPOET-1815]
2019-03-12 10:45:46 -04:00
43dde40393 Add type, status index to newsletters table
Type is used for listings tabs and type in combination with status is used in analytics + a few other not that frequent queries
[MAILPOERT-1815]
2019-03-12 10:45:46 -04:00
wxa
2ccfe14708 Add an index to the newsletter links url [PREMIUM-114] 2019-03-04 07:50:00 -05:00
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
wxa
3f1e690d90 Add WooCommerce synchronization [MAILPOET-1723] 2019-02-12 08:56:40 -05:00
5495e4c2eb Add test to ensure unwated migrations are not produced
[MAILPOET-1717]
2019-01-31 15:11:46 +01:00