Commit Graph

39 Commits

Author SHA1 Message Date
Ján Mikláš
0ae4953403 Fix updating JS notice
[MAILPOET-2265]
2019-08-20 09:07:34 -04:00
Pavel Dohnal
a81c12ecc1 Create default responseerror notice
[MAILPOET-1856]
2019-05-21 09:39:07 -04:00
Jan Jakeš
5c92af4881 Add and fix comma-dangle rules for *.js files
[MAILPOET-1829]
2019-02-21 11:52:39 -05:00
Jan Jakeš
bb658f77ec Fix indentaition in *.js files (auto-fix by ESLint)
[MAILPOET-1829]
2019-02-21 11:52:39 -05:00
Jan Jakeš
afcde00003 Convert AMD and CommonJS odules to ES6
[MAILPOET-1829]
2019-02-21 11:52:39 -05:00
Jan Jakeš
5a0d905bd4 Do not use named AMD modules
[MAILPOET-1829]
2019-02-21 11:52:39 -05:00
Pavel Dohnal
f1cbc4a7c6 Fix eslint rules in ES5 files 2019-01-30 09:04:32 +01:00
Rostislav Wolny
7c7b6b62ea Increase admin notices timeout
[MAILPOET-1451]
2018-11-29 17:10:48 +01:00
Jan Jakeš
cccf40e65f Use notice close button from WP
Notice close button looked different than the WP-native one. This reuses the WP button.

[MAILPOET-1448]
2018-07-31 21:11:20 +02:00
Jan Jakeš
c5ee742b01 Display close button also for auto-disposable notices if hideClose === false
The notice component was ignoring "hideClose" setting when "static" was set to false
(= auto disposable notice after timeout). This commit makes the behavior more transparent
by always respecting each of the settings. Note that jQuery's "delay()" can't be used now
since it blocks also other close events with the timout (events from close button).

[MAILPOET-1448]
2018-07-31 21:11:20 +02:00
Pavel Dohnal
867e62d0e8 Fix eslint rules
[MAILPOET-1348]
2018-04-18 12:13:13 +01:00
Pavel Dohnal
e10901d939 Fix eslint default-case in es5 files
[MAILPOET-1145]
2018-02-19 15:58:25 +00:00
Pavel Dohnal
f7fcec7953 Fix eslint max-len in es5 files
[MAILPOET-1145]
2018-02-19 15:17:57 +00:00
Pavel Dohnal
f98e58eb99 Fix eslint no-extra-bind
[MAILPOET-1145]
2018-02-19 13:05:43 +00:00
Pavel Dohnal
699017532e Fix func-names rule in es5
Please remove those comments if you work on those files
[MAILPOET-1143]
2018-01-08 14:56:00 +00:00
Pavel Dohnal
8ea4a219e2 Fix padded-blocks eslint rule in ES5 files
[MAILPOET-1144]
2017-11-30 09:12:19 +00:00
Pavel Dohnal
159e946093 Fix no-else-return eslint rule in ES5 files
[MAILPOET-1144]
2017-11-29 15:04:38 +00:00
Amine Ben hammou
4e2e9f6f8f rebasing on master 2017-10-09 11:17:23 +00:00
Amine Ben hammou
3dd8a973fd ES5 vars-on-top 2017-10-09 11:15:58 +00:00
Amine Ben hammou
b1a403d9b5 ES5 space-infix-ops 2017-09-21 09:09:29 +00:00
Amine Ben hammou
28504fb5e3 ES5 spaced-comment 2017-09-21 09:08:52 +00:00
Amine Ben hammou
680446b77e ES5 space-before-function-parens 2017-09-21 08:35:12 +00:00
Pavel Dohnal
478e60d60e Fix indent rule in ES5
[MAILPOET-1029]
2017-09-07 15:51:25 +01:00
Pavel Dohnal
4e91932613 Fix ESLint lines-around-directive ES5
[MAILPOET-1031]
2017-08-30 14:45:25 +02:00
Pavel Dohnal
1b7e3a997f Fix not fully formated selector
[MAILPOET-1011]
2017-08-24 10:23:42 +02:00
Amine Ben hammou
cd091c2af6 ES5: quotes 2017-08-24 09:16:51 +02:00
Pavel Dohnal
acd2b9f51e Fix no-param-reassign in ES5
[MAILPOET-1033]
2017-08-16 12:22:56 +02:00
Alexey Stoletniy
405bea3049 Upgrade notice classes from deprecated ones [MAILPOET-733] 2017-04-19 17:11:42 +03:00
Alexey Stoletniy
6954acd0b3 Wrap notice messages containing HTML in a paragraph to avoid broken styles [MAILPOET-733] 2017-04-19 17:11:14 +03:00
Jonathan Labreuille
80efc3c12d Added callback afterGetItems on Listings
Updated MP Notice to allow reuse of notices (by id)
Updated newsletters endpoint's listing method to include mta_log & mta_method in response
Updated all newsletter listings in order to dynamically display mailer error
2016-11-28 09:50:32 -05:00
Vlad
2dab89135f - Sets MailPoet notice timeout to 5sec
- Removes custom timeout from import
2016-05-10 18:59:31 -04:00
Jonathan Labreuille
bd2d38d757 updated MP.Notice in order to handle arrays as error messages 2016-02-09 17:58:40 +01:00
Jonathan Labreuille
82a736ffbb Cron update + removing console.log
- use Setting::getValue for getDaemon method
- added "updated_at" property within cron_daemon value (instead of using the setting's column)
- converted line endings to Unix in notice.js and removed console.log
2016-01-08 12:02:11 +01:00
Tautvidas Sipavičius
270023b89c Display error and success messages for template saving and export 2015-12-10 17:13:23 +02:00
MrCasual
3f168d052f - Finishes import migration
- Updates models
- Improves Notice.js
2015-11-07 11:40:42 -05:00
MrCasual
ad0adb48e1 - Updates Migrator with new column for Segments
- Updates Segmnets tests
- Updates MailPoet's Notice.js with additional options
- Updates Import's router, WP menu bootstrap logic, client- and
  server-side logic
2015-11-07 11:24:02 -05:00
Jonathan Labreuille
50e888913c Success messages on bulk actions
- added message for all bulk actions except trash related ones
- fixed issue with mailpoet notice and react router
2015-10-21 19:14:51 +02:00
Vlad
a26cbd6f41 - Renamed Model to BaseModel (make it clear)
- Updated RoboFile to compile assets or else tests break
2015-08-17 15:54:48 +00:00
Tautvidas Sipavičius
6ed4ce0de2 Swap app code with bundles in assets/js/src folder 2015-08-17 14:31:32 +03:00