Commit Graph

3791 Commits

Author SHA1 Message Date
Pavel Dohnal
9496b9796a Refactor form filters to a separate file
[MAILPOET-3476]
2021-03-31 10:50:18 +02:00
Pavel Dohnal
0da7a91960 Refactor counting to work with the new form
[MAILPOET-3476]
2021-03-31 10:50:18 +02:00
Pavel Dohnal
28ce05276b Render form manually instead of using form.jsx
[MAILPOET-3476]
2021-03-31 10:50:18 +02:00
Pavel Dohnal
dd20f066e7 Refactor dynamic segments form to doctrind
[MAILPOET-3476]
2021-03-31 10:50:18 +02:00
Pavel Dohnal
1e2d855138 Refactor segments form to functional component
[MAILPOET-3476]
2021-03-31 10:50:18 +02:00
Jan Lysý
cc1d70439c Add missing type for value in font selection format
[MAILPOET-3519]
2021-03-30 15:13:47 +02:00
Jan Lysý
3917876b82 Improve comment for disabling eslint rule in useSegmentsContext.jsx
[MAILPOET-3511]
2021-03-30 14:05:47 +02:00
Jan Lysý
825e105145 Fix unused properties in Button component
[MAILPOET-3511]
2021-03-30 14:05:47 +02:00
Jan Lysý
c07cb227ab Add comments to eslint exceptions
[MAILPOET-3511]
2021-03-30 14:05:47 +02:00
Jan Lysý
410c25482a Fix code style by updated eslint
[MAILPOET-3511]
2021-03-30 14:05:47 +02:00
Pavel Dohnal
c9e063824e Remove duplicate warning
[MAILPOET-3460]
2021-03-29 15:53:31 +02:00
Rostislav Wolny
fc66381da2 Remove client side checks for trashing lists
[MAILPOET-3463]
2021-03-29 12:42:21 +02:00
Rostislav Wolny
9dde8d5525 Remove loading overlay from listing in case trashing fails
[MAILPOET-3463]
2021-03-29 12:42:21 +02:00
Pavel Dohnal
b89b018641 Fix align saving in the form editor
[MAILPOET-3512]
2021-03-29 09:45:28 +02:00
wxa
9872eca80f Redirect to segments listing after segment editing
[MAILPOET-3490]
2021-03-24 09:41:36 +01:00
Ján Mikláš
4116a0f3da Add return types for Grid components
[MAILPOET-3503]
2021-03-22 12:02:35 +01:00
Ján Mikláš
b6845a3438 Remove export default from Grid components
[MAILPOET-3503]
2021-03-22 12:02:35 +01:00
Ján Mikláš
0954414af6 Add new <Grid.CenteredRow> component
[MAILPOET-3503]
2021-03-22 12:02:35 +01:00
Rodrigo Primo
0f68b2cf0e Minor fix to custom fields
[MAILPOET-3486]
2021-03-22 09:37:15 +01:00
Jan Lysý
b98092dc01 Remove using catch on Ajax post
[MAILPOET-3495]
2021-03-19 13:10:33 +01:00
Jan Lysý
9cc2f53df9 Add missing allowed item key for comparing
[MAILPOET-3219]
2021-03-17 10:42:16 +01:00
Jan Lysý
bbc39b566c Fix default ajax timeout value to zero
[MAILPOET-3219]
2021-03-17 10:42:16 +01:00
Jan Lysý
daa0b53574 Add different error message when a request timed out
[MAILPOET-3219]
2021-03-17 10:42:16 +01:00
Jan Lysý
fcf0ef2808 Improve calculating subscribers for dynamic segment
[MAILPOET-3219]
2021-03-17 10:42:16 +01:00
Jan Lysý
800eaacb16 Add component with count of subscribers
[MAILPOET-3219]
2021-03-17 10:42:16 +01:00
Jan Lysý
15fc95508c Add timeout options for ajax requests
[MAILPOET-3219]
2021-03-17 10:42:16 +01:00
Rostislav Wolny
6b4b83ef9e Allow bulk actions for segments listing
[MAILPOET-3351]
2021-03-17 09:52:34 +01:00
Pavel Dohnal
61c8b3702a Add offset/limit to logs page
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
89f5da7b76 Change url slug
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
c85a05cad6 Fix reseting dates
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
2fd1bcbed6 Fix reseting search
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
8bdcfebee8 Prefil filter values
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
3d72194646 Add filtering options
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
47cbbdbc11 Create filtering elements
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
960f4e821b Display full message on click
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
f1b2f01fee Refactor logs to javascript
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
9fe84dd42d Add a link to the logs page
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Rodrigo Primo
bf121c20b5 Preserve new key when saving settings
This commit fixes a bug in the code where a user could override their
key if, after validating a new key, they went to a different settings tab
and clicked "Save settings". When reloading the page, they would see the
old key instead of the new one.

This was happening because the function verifyPremiumKey() was updating
the key in the backend but was not updating the settings object in the
frontend. So when the user switched to another settings tab and clicked
on the "Save settings" button, the function saveSettings() was setting
to the backend a settings object containing the old key instead of the
new one.

To fix this problem, this commit updates the settings object with the
new premium key whenever a new key is validated.

[MAILPOET-3447]
2021-03-10 15:56:33 +01:00
Pavel Dohnal
323b4a908d Fix type in prop types
[MAILPOET-3441]
2021-03-10 15:49:03 +01:00
Pavel Dohnal
91b468fabf Make dates in newsletter listings and help consistent
[MAILPOET-3441]
2021-03-10 15:49:03 +01:00
Jan Lysý
2f6a223c4f Duplicate the name property as the text for Select2 search
[MAILPOET-3458]
2021-03-10 12:22:42 +01:00
Pavel Dohnal
9529b18cd4 Refactor types to typescript
[MAILPOET-3455]
2021-03-10 09:47:52 +01:00
Pavel Dohnal
8e70e0758f Fix loading state on email creating
[MAILPOET-3455]
2021-03-10 09:47:52 +01:00
Jan Lysý
970f853507 Use sentAt instead of updatedAt in newsletters listing
[MAILPOET-3346]
2021-03-08 13:10:20 +01:00
Pavel Dohnal
9ef404eb4d Display a better message on MSS pitch
[MAILPOET-3436]
2021-03-08 12:53:34 +01:00
Pavel Dohnal
d67cb260dd Refactor file to typescript
[MAILPOET-3436]
2021-03-08 12:53:34 +01:00
Pavel Dohnal
77d363dcd6 Use correct wording for automated emails
[MAILPOET-3436]
2021-03-08 12:53:34 +01:00
Pavel Dohnal
68465089b0 Add a code comment to a buggy component 2021-03-08 12:53:34 +01:00
Pavel Dohnal
4fe9851a2e Refactor heading steps to typescript
[MAILPOET-3436]
2021-03-08 12:53:34 +01:00
wxa
3b12ea0989 Fix miscellaneous deprecated methods [MAILPOET-3386] 2021-03-03 14:59:54 +01:00