Commit Graph

21439 Commits

Author SHA1 Message Date
19d78272a4 Ensure correct counting for same campaign ID
If the same campaign is sent multiple times over an extended period of
time, we need to ensure we consider the processed_at for all associated
sending queues.

MAILPOET-5629
2024-04-22 10:06:12 +02:00
ba4e54f261 Move query to SendingQueuesRepository
The main piece of data we care about is the campaignId, which is saved
in the sending queue's meta, so I think it makes more sense to base the
query on the sending queues as opposed to newsletters.

MAILPOET-5629
2024-04-22 10:06:12 +02:00
9d88f9abee Use consistent date for query
MAILPOET-5629
2024-04-22 10:06:12 +02:00
d513961bad Ues consistent dates
MAILPOET-5629
2024-04-22 10:06:12 +02:00
57209cbc0b Remove automations segments details for now
Determining if an automation was sent to/filtered by a segment is much
more complicated than the rest of this data and might require some
changes on the automations side for efficiency, so I think it would be
best to hold off on these for now and we can figure it all out together
when we update the reporting to include other automation data like
trigger filters.

MAILPOET-5629
2024-04-22 10:06:12 +02:00
401fa92f2c Move calculation of sentToSegment to query
MAILPOET-5629
2024-04-22 10:06:12 +02:00
a747c98c19 Move date calculation to query
MAILPOET-5629
2024-04-22 10:06:12 +02:00
da9fd9dd26 Add new campaign analytics to reporter
MAILPOET-5629
2024-04-22 10:06:12 +02:00
cc11ab25aa Add campaign analytics logic
MAILPOET-5629
2024-04-22 10:06:12 +02:00
c8a90760e6 Add 7 day sending stat
MAILPOET-5629
2024-04-22 10:06:12 +02:00
286c167c01 Revert docker compose and update k6 docker compose 2024-04-19 09:15:55 +02:00
9c5033b5ff Update docker compose with newer PHP 2024-04-19 09:15:55 +02:00
8b1f9d52e4 Update stage tag 2024-04-19 09:15:55 +02:00
b188add536 Fix PHP 8.1 error: Implicit incompatible float to int conversion is deprecated
[MAILPOET-6003]
2024-04-19 09:15:55 +02:00
e7e7097dcf Switch to Woo 8.8.0-rc.1 2024-04-19 09:15:55 +02:00
2824750b5d Update circle ci config 2024-04-19 09:15:55 +02:00
dcfcef3bb0 Update docker entrypoint 2024-04-19 09:15:55 +02:00
d77f6b08ca Switch to Woo 8.6.0 2024-04-19 09:15:55 +02:00
532de4d0cb Refactor tests that are false positive 2024-04-19 09:15:55 +02:00
fd3bca1efd Fix PHP 8.1 error: strlen() Passing null to parameter #1 ($string) of type string is deprecated
[MAILPOET-6003]
2024-04-19 09:15:55 +02:00
00cdde82bd Test against latest 8.8.0-rc.1 2024-04-19 09:15:55 +02:00
5331681b83 Switch to Woo Core 8.6.0 2024-04-19 09:15:55 +02:00
6c03abe477 Update all places with new WP 6.5
[MAILPOET-6003]
2024-04-19 09:15:55 +02:00
f45ecefc22 Add User-Agent header into command downloading plugins 2024-04-18 15:54:30 +01:00
0eeb74b58c Add context to removing notices
After refactoring are notices created in the context 'email-editor', but calling removing notices were not updated.
[MAILPOET-6007]
2024-04-18 12:51:39 +02:00
4f7268e364 Use sprintf for inserting styles into text block HTML template
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
13c73b781b Remove unnecessary table wrap for outlook for text blocks
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
b8396140ac Remove paragraph renderer
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
fd04141141 Use Text renderer also for paragraph block
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
d49f3e8988 Rename Heading renderer to Text renderer
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
c52937202e Polish Heading block renderer code
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
057de1d2e7 Use a first tag from heading block rendered content
The block has only one HTML element, so we don't need to explicitly ask for a heading.
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
9873634f1e Use inherit value as a fix for font-size defined via clamp
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
d56cf24a7c Fix regular expression for removing padding in the heading block
The problem was that \padding.*:\ would eat much more than just one padding rule.
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
47a4871600 Remove unused SettingsController::convertStylesToString method
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
15e0c3fa4d Use WP's style engine for formatting style arrays to string
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
50df6c3d4e Use NPS poll in the new email editor
[MAILPOET-5911]
2024-04-15 08:18:35 +02:00
76ad24f71d Add email editor poll id
[MAILPOET-5911]
2024-04-15 08:18:35 +02:00
64dd11d305 Add new k6 test and update existing
[MAILPOET-5875]
2024-04-11 09:32:12 +03:00
e1f5e882fe Prevent double registration of block types 2024-04-10 11:42:50 +02:00
6f5de68a9f initialize block types controller elsewhere 2024-04-10 11:42:50 +02:00
c267b82035 Remove renderCallback 2024-04-10 11:42:50 +02:00
3f2b96f3a6 Introduce block to handle email content 2024-04-10 11:42:50 +02:00
37e901c809 Restore content renderer styles to fix remaining tests 2024-04-10 11:42:50 +02:00
02b8a4ad78 Force content render 2024-04-10 11:42:50 +02:00
7325785e6b Add ID to emailPost 2024-04-10 11:42:50 +02:00
fa73d97ae9 Mock getEmailStyles 2024-04-10 11:42:50 +02:00
26246cd202 Return Meta robots + subject 2024-04-10 11:42:50 +02:00
ab893062ae Default colors 2024-04-10 11:42:50 +02:00
3ec36064ab Fix undefined spacing warning 2024-04-10 11:42:50 +02:00