Commit Graph

160 Commits

Author SHA1 Message Date
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
fc4f0a2851 Fix DB changes being detected on every upgrade
[MAILPOET-1717]
2019-01-31 15:11:46 +01:00
8e51a56426 Limit number of confirmation emails sent to one email
MAILPOET-1734
2019-01-30 13:59:49 +01:00
0e3f27add3 Merge pull request #1728 from mailpoet/stats-notifications
Stats notifications [ MAILPOET-1571]
2019-01-28 13:22:21 -05:00
59418efa99 Merge pull request #1746 from mailpoet/phpstan-cleanup
Raise PHPStan strictness level to 1
2019-01-28 10:47:24 -05:00
7a9154a5a0 Update type to fix an error
[MAILPOET-1571]
2019-01-28 14:17:09 +01:00
6452e83476 Only schedule notification for standard newsletters
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
d346a44974 Use a separate table instead of sending_queue
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
9080b5260e Create a new table for stats notification
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
9f13f68e39 Fix "Access to undefined property" rule violations 2019-01-23 11:33:47 +02:00
wxa
a4ff9822ad Add WooCommerce customers list [MAILPOET-1721] 2019-01-17 21:42:57 +03:00
wxa
cb3952c9fb Fix unit tests failing in MySQL strict mode [MAILPOET-1585] 2018-10-11 23:09:37 +03:00
624c6d900e Add processing of soft errors
When processing soft error we only save error to particular subscriber and continue sending.

[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
20b1330094 Add logging dependencies
[MAILPOET-570]
2018-08-30 09:34:25 +02:00
031125517e Add rudimentary logger
[MAILPOET-570]
2018-08-28 14:36:22 +02:00
9e2a4edcd0 Add logging table
[MAILPOET-570]
2018-08-28 14:36:22 +02:00
e40a1e91c0 Add indexes for foreign keys
[MAILPOET-1497]
2018-08-23 09:48:58 +02:00
c7aeca116f Add queue_id index into newsletter_links table
Missing index caused that it took to long when generating tracked unsubscribe URL.

[MAILPOET-1486]
2018-08-08 09:15:06 +02:00
d9c9620a67 Increase length of URL in links [MAILPOET-1438] 2018-06-25 09:43:10 +02:00
b16cbf9e7d Updates column type since it may contain long meta object 2018-06-11 13:33:44 -04:00
32e02cbf52 Adds meta column to sending queues 2018-06-11 13:33:44 -04:00
2573e2f785 Change field type of newsletter_templates.description to force dbDelta
set the column's default value [MAILPOET-1398]
2018-05-29 16:35:12 +03:00
f285cfcdc3 Add back wp_mailpoet_newsletter_templates.description field to avoid
breaking backwards compatibility to sites that still have template
descriptions.
Empty-string default value allows it not to break when field is not specified
or is null.
2018-05-28 16:51:46 +03:00
ec34a9efca Merge pull request #1360 from mailpoet/mp1306
Newsletter template thumbnail redesign [MAILPOET-1306]
2018-05-23 07:06:06 -04:00
75bad97b10 Newsletter template thumbnail redesign
Redesigned the template selection screen to
look like the WordPress theme selector.

The main changes relate to:
* style changes, to achieve the new look
* jsx templates, to work with new css changes
* template, removed the description field

[MAILPOET-1306]
2018-05-22 10:23:07 +02:00
859b87c7c9 Add index based on subscriber_id to scheduled_task_subscribers
[MAILPOET-1382]

This is done to avoid full table scans when scheduling welcome emails
and checking whether or not an email has been sent.
There we have to query based on `subscriber_id`, but without having a
`task_id`, so MySQL cannot make use of the `(task_id, subscriber_id)`
primary key.
2018-05-15 18:39:17 +03:00
3e9d7fc68d Add NOT NULL constraint to custom field value field type 2018-05-15 11:33:22 +03:00
1d8e8e8786 Text field cannot have default values 2018-05-14 19:54:20 +03:00
6ad6190da3 Fix custom fields to allow values longer than 255 characters
[MAILPOET-1381]
2018-05-14 19:39:07 +03:00
1af5802030 Add subscriber source
[MAILPOET-1377]
2018-05-14 13:55:47 +01:00
cdc6d8a966 Merge pull request #1314 from mailpoet/add-index
Add index to task_id [MAILPOET-1334]
2018-03-21 13:39:41 +02:00
37f70b900d Fix DB migration 2018-03-21 11:29:54 +02:00