Commit Graph

51 Commits

Author SHA1 Message Date
Rostislav Wolny
3621a02b71 Cleanup orphaned stats notification tasks
[MAILPOET-3015]
2020-06-29 11:06:47 +02:00
Pavel Dohnal
4dd2517bae Check properly for stats notification entity
[MAILPOET-2855]
2020-04-15 09:47:15 +02:00
Rostislav Wolny
bbde4b1c1c Mark all toOne associations in Stats Notification nullable
[MAILPOET-2818]
2020-04-08 15:06:07 +02:00
Jan Jakeš
1774b48666 Autofix unused "use" statements
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Jan Jakeš
b39dac75d6 Autofix number of newlines between methods
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Pavel Dohnal
3b9ba5cac2 Fix stats redirect
When an unauthenticated user comes to any page they are redirected
to login screen. After they authenticate they are redirected
to the original page. But the # part of the url is ignored.
So we have to use regular query params from the email and
redirect user to the canonical URL later.

[MAILPOET-2554]
2020-01-15 16:50:24 +00:00
Jan Jakeš
8c848cfa28 Convert property names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Amine Ben hammou
d2494469c0 Rename method and variables for clarity
[MAILPOET-2624]
2020-01-14 10:57:20 +00:00
Amine Ben hammou
55f8626493 Change warning when user hasw an API key
[MAILPOET-2396]
2020-01-07 09:39:28 +00:00
Amine Ben hammou
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
Jan Jakeš
0e964de6d4 Move nesbot/carbon to vendor-prefixed
[MAILPOET-2560]
2019-12-15 21:55:48 +00:00
Amine Ben hammou
df628ad78d Use SubscribersRepository instead of Subscriber model
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
Amine Ben hammou
d0369e96c9 Add warning to stats notification
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
Jan Jakeš
382df5e034 Pass cron worker timer in process() method instead of a constructor
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Pavel Dohnal
69b79b4f6c Fix types
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
wxa
81caa04479 Use CronHelper service in cron workers [MAILPOET-2459] 2019-11-06 09:58:36 +00:00
Pavel Dohnal
0e6ee238e9 Remove code that is not needed
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
cf08200c5d Rename functions
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
ac9761228a Simplify fetching a single result from database
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
5a2edff9fe Add newsletter statistics to doctrine
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
ad6e6009d2 Use Newsletter Link Entity in Stats Notifications
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
6b338a14fc Use doctrine in stats notifications worker
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Jan Jakeš
ade1cc4d8e Autofix alphabetically sorted use statements
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Rostislav Wolny
4fbf8ed7be Replace unsubscribe link short code strings by constant
[MAILPOET-2245]
2019-10-01 14:07:39 +01:00
Amine Ben hammou
d40747e0ac Add meta when sending stats notifications
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
83d9c85737 Use the rendered subject in stats email 2019-08-09 19:27:27 +01:00
Ján Mikláš
2b8325a738 Remove feature flag for woocommerce revenues
[MAILPOET-1990]
2019-07-30 04:31:28 -04:00
Pavel Dohnal
b297929943 Add stats link for free user
[MAILPOET-2119]
2019-07-10 07:01:34 -04:00
Pavel Dohnal
6ff194e8e5 Replace shortcodes with human readable text
[MAILPOET-2085]
2019-06-27 07:23:16 -04:00
Pavel Dohnal
12ff88ee21 Add rule for operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Jan Jakeš
4b0beecdfb Convert 'display_revenues' setting to feature flag
[MAILPOET-2008]
2019-05-16 10:45:55 -04:00
Jan Jakeš
2435cc556f Inject WooCommerce helper for statistics
[MAILPOET-1853]
2019-05-13 12:26:23 -04:00
Pavel Dohnal
3e66e9e1dd Fix phpstan level 6
[MAILPOET-1969]
2019-04-10 09:55:13 -04:00
Pavel Dohnal
2330532f35 Use default sender
[MAILPOET-1868]
2019-03-12 07:35:00 -04:00
Amine Ben hammou
0a436087e1 Replace all WP function calls 2019-03-07 08:30:14 -05:00
Pavel Dohnal
bed80e67f1 Use phpstan level 2
[MAILPOET-1822]
2019-02-21 13:49:52 -05:00
wxa
fb77167a1f Remove unused imports [MAILPOET-1825] 2019-02-21 09:51:53 -05:00
Ján Mikláš
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
9e9561e576 Add space between catch and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Rostislav Wolny
a12d0ff4bc Refactor newly added cron workers to use new settings
[MAILPOET-1757]
2019-01-31 15:57:59 +01:00
Pavel Dohnal
d7db761f73 Add text template
[MAILPOET-1571]
2019-01-28 14:16:43 +01:00
Pavel Dohnal
3eb640597b Fix rates
[MAILPOET-1571]
2019-01-28 11:09:06 +01:00
Pavel Dohnal
06370ea245 Fix links
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Pavel Dohnal
9eeda50b07 Render newsletters without clicked links
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Pavel Dohnal
627088e43d Add condition to WordPress trigger method
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Pavel Dohnal
b66c724c4a Fix tests
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Pavel Dohnal
1db75f40fb Add statistics to template
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Pavel Dohnal
ef5eba31d1 Add test
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00