Commit Graph

749 Commits

Author SHA1 Message Date
Jan Jakeš
0091755301 Fix and simplify query for latest click per-newsleter-per-subscriber
[MAILPOET-2446]
2019-10-09 14:29:02 +01:00
Jan Jakeš
d7d747b945 Remove Premium namespace from dynamic segments
[MAILPOET-2382]
2019-10-09 13:36:24 +01:00
Jan Jakeš
70a89b7939 Move dynamic segments 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
Jan Jakeš
25d9ffa656 Move getWooCommerceSegmentSubscriber() from helper to model
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00
Jan Jakeš
6ec6813f35 Move automatic emails analytics reporter from Premium plugin
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00
Jan Jakeš
5214e93787 Add sniff for use empty line spacing, fix found occurences
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
ade1cc4d8e Autofix alphabetically sorted use statements
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Rostislav Wolny
028c5e6de5 Add ensure unsubscribe link method to newsletters links
[MAILPOET-2245]
2019-10-01 14:07:39 +01:00
Pavel Dohnal
17474e66cc Handle incorrect group gracefully
[MAILPOET-1953]
2019-09-30 20:01:43 +01:00
wxa
f598137f3b Ensure that getMeta() returns an array in the scheduled task model [MAILPOET-2385] 2019-09-30 14:18:08 +01:00
Amine Ben hammou
173a80b3da Remove unused class import
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
Amine Ben hammou
e588ebcee9 Use verifyToken()
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
Amine Ben hammou
bc31ca6c6d Remove Subscriber::generateToken()
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
Amine Ben hammou
692ff1ed22 Use getToken()
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
Pavel Dohnal
35c9973c85 Prevent activating email without body
[MAILPOET-2366]
2019-09-24 14:34:59 +01:00
Amine Ben hammou
1dd8c7c1be Add new newsletter type
[MAILPOET-2280]
2019-09-22 10:34:06 +02:00
Ján Mikláš
dad381c74d Add automated emails subjects to segments response
[MAILPOET-2352]
2019-09-18 16:29:42 +02:00
Rostislav Wolny
ac09343910 Don't mark obsolete tokens as deprecated
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
Rostislav Wolny
09db91bc33 Always use length of database link_token for token validation
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
Rostislav Wolny
7ea33310e8 Decrease length of old tokens to 6 chars
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
Rostislav Wolny
5cbcefbbb4 Use constant for token length
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
Amine Ben hammou
b4bb6dd747 Fix tests 2019-09-12 17:32:05 +02:00
Amine Ben hammou
3ea9c99090 Use link_token when tracking and rendering links 2019-09-12 17:32:05 +02:00
Amine Ben hammou
042213d5aa Generate link_token when new subscriber is created 2019-09-12 17:32:05 +02:00
Jan Jakeš
01a0fe96c4 Remove no longer necessary checks
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
Pavel Dohnal
3d750c5bb8 Move post notification scheduling to service
[MAILPOET-2348]
2019-09-11 19:16:21 +01:00
Ján Mikláš
a5cbe98031 Fix failing integration test in MySQL 8.0
[MAILPOET-2289]
2019-09-09 13:50:07 +01:00
Ján Mikláš
e8253ad94e Remove bulk option to resend confirmation emails
[MAILPOET-2315]
2019-09-09 09:51:52 +01:00
Pavel Dohnal
f19454103a Display correct count of segments
[MAILPOET-2326]
2019-09-04 13:05:05 -04:00
Pavel Dohnal
abdf20b490 Use correct return value
[MAILPOET-2320]
2019-09-04 11:40:54 -04:00
Pavel Dohnal
d0d27a66ae Add groups to post notifications history
[MAILPOET-2192]
2019-08-29 11:36:08 -04:00
Pavel Dohnal
8e65d4b6b2 Use Doctrine to get all User Flags
[MAILPOET-2219]
2019-08-28 12:48:22 -04:00
Jan Jakeš
c185d66008 Add Segment model constants to SegmentEntity
[MAILPOET-2216]
2019-08-23 15:31:11 -04:00
Jan Jakeš
91dd0aa910 Add Doctrine entities for sending queues and scheduled tasks
[MAILPOET-2216]
2019-08-23 15:31:11 -04:00
Jan Jakeš
eb837c8e36 Add Doctrine entities for newsletters, options, and segments
[MAILPOET-2216]
2019-08-23 15:31:11 -04:00
Rostislav Wolny
d285fdba1d Simplify newsletter stats query
[MAILPOET-2213]
2019-08-20 12:27:20 -04:00
Ján Mikláš
a1bf7ec23f More performant check if there are any WC users
[MAILPOET-2163]
2019-08-15 10:44:57 +01:00
Ján Mikláš
991b624504 Use WooCommerce\Helper to detect if WC is active
[MAILPOET-2163]
2019-08-15 10:44:57 +01:00
Ján Mikláš
c1c2d0a102 Hide WooCommerce segments when WooCommerce is not active
[MAILPOET-2163]
2019-08-15 10:44:57 +01:00
wxa
8b867a7b4f Reschedule failing cron tasks progressively [MAILPOET-2181] 2019-08-01 13:09:18 -04:00
Amine Ben hammou
1eecd65b3e Add unsubscribe token to new subscribers and newsletters 2019-07-31 16:50:44 -04:00
Ján Mikláš
2b8325a738 Remove feature flag for woocommerce revenues
[MAILPOET-1990]
2019-07-30 04:31:28 -04:00
Pavel Dohnal
7a978a3098 Create a newsletter and send it
[MAILPOET-1859]
2019-07-29 09:01:22 -04:00
Jan Jakeš
c71bf4833c Rewrite UserFlag entity to Doctrine
[MAILPOET-2014]
2019-07-24 15:03:16 -04:00
Jan Jakeš
dc5fa12b8e Add per-subscriber rescheduling functionality for automatic emails
[PREMIUM-121]
2019-07-23 12:22:19 -04:00
Rostislav Wolny
55b4635051 Update last_subscribed_at on a change
[MAILPOET-1993]
2019-07-23 09:57:46 -04:00
Rostislav Wolny
2456c2de7d Add last_subscribed_at to Subscriber model
[MAILPOET-1993]
2019-07-23 09:57:46 -04:00
Jan Jakeš
6b9542385f Calculate two weeks range from order date, not from actual date
This will select clicks correctly also when used from cron.

[MAILPOET-1857]
2019-06-25 11:06:19 -04:00