Commit Graph

22694 Commits

Author SHA1 Message Date
 Ján Mikláš
8c612a7d82 Open activity modal when clicked on "View activity" button
[MAILPOET-5436]
2024-07-08 14:37:30 +02:00
 Ján Mikláš
79da5c5124 Add activity modal skeleton that reacts to "runId" URL parameter
[MAILPOET-5436]
2024-07-08 14:37:30 +02:00
 Ján Mikláš
d298ca40c4 Add new column to view subscriber's activity in automation analytics
[MAILPOET-5436]
2024-07-08 14:37:30 +02:00
 Ján Mikláš
10ed39ece3 Rename "View subscribers" to "View subscribers activity" in automation analytics
[MAILPOET-5436]
2024-07-08 14:37:30 +02:00
Pavel Dohnal
55d69869d7 Install react-codemirror
[MAILPOET-5483]
2024-07-08 14:29:08 +02:00
Pavel Dohnal
58c7ab526c Upgrade codemirror dependency
[MAILPOET-5483]
2024-07-08 14:29:08 +02:00
Pavel Dohnal
a0ada40c9f Use react code mirror
[MAILPOET-5483]
2024-07-08 14:29:08 +02:00
Veljko
237e3988bf Fix flaky clicking segment action items 2024-07-04 09:14:56 +02:00
 Ján Mikláš
e52ffbc32c Don't show email stats for cancelled scheduled emails
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
22754ac717 Add tests for cancelling and rescheduling tasks, and check that it resumes sending queue
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
7f01d11a31 Add tests that it's not fetching deleted tasks
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
8b7556a479 Add more tests for rescheduling tasks
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
31821d05b5 Fix test
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
898e45b275 Show list of paused tasks
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
9236c0ee6a Fix query builder for getting tasks by status
st.deletedAt line was ignored, because the "->where" on the next line replaced it. Resulting query was also wrongy built because of mixing of OR and AND conditions.

[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
d4e42eead7 Show total number of cancelled task on System Status page
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
7bacd887a9 Resume sending queue when rescheduling cancelled task
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
255122ebd3 Show that newsletter is cancelled when sending task is cancelled
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
73d302556e Use class names instead of hardcoded classes in tests
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
4af5720741 Refactor help endpoint
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
5253d79e81 Use types in new class properties
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
d0d6cb108f Limit the width of confirm modal in welcome wizard
[MAILPOET-6113]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
fe5010110b Fix typo
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
6155053f91 Limit the width of confirm modal when cancelling/rescheduling tasks
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
e2c6f61ecd Show "Cancel task" button on running tasks
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
ef2101ef46 Allow running tasks to be cancelled
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
b8ca544596 Fix HelpTest integartion tests
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
2117d43d6b Add integration tests for Help API
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
5847918409 Return 400 instead of 404 in Help API
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
64ccf5b948 Add ScheduledTasksRepository integration tests for new cancelled status
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
3f6210c7ed Show date time in local (not server) timezone on Help > System Status page
Related to #5650

[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
4805e611e7 Add message for reschedule task confirmation
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
d60629a98c Add message for cancel task confirmation
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
9a46009568 Show error message in confirm modal
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
d71278a6bb Call API to cancel or reschedule task
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
abfbdb4e7d Show confirm modal when cancelling or rescheduling task
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
7d4a737fb6 Update TaskButton component to accept the whole task, not just ID
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
e8de391741 Replace MailPoet.I18n.t with __
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
88c0836443 Create endpoints to cancel and reschedule tasks
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
65d347bf85 Refactor your-privacy to TypeScript
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
f2719f6716 Refactor queue-status to TypeScript
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
66e6de9be9 Refactor tasks-list to TypeScript
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
2dc036007e Refactor tasks-list-data-row to TypeScript
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
00824d82d3 Refactor tasks-list-labels-row to TypeScript
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
d38a63f0e6 Add column with (non-implemented) action to cancel or reschedule
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
4211e02d6a Show list of cancelled sending tasks
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
1918d30fcd Add migration for a new cancelled_at column for scheduled tasks
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
e55a861137 Show subscriber email if a sending task has only a single subscriber
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
5f4d4c59fd Increase number of tasks to 20 on Help > System Status
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00
 Ján Mikláš
599ecd6323 Remove "type" column in Help > System Status as all tasks are with "sending" type
[MAILPOET-5755]
2024-07-04 08:04:34 +02:00