Commit Graph

38 Commits

Author SHA1 Message Date
Rostislav Wolny
0d433c7f7c Add loading animation to form submit button
[MAILPOET-1567]
2019-01-22 10:03:09 +01:00
Rostislav Wolny
9562d8704c Fix public.js to follow eslint rules
[MAILPOET-1567]
2019-01-22 10:03:09 +01:00
Pavel Dohnal
683e9c9fa1 Update eslint
Only indentation updated in this commit
2018-06-13 09:28:53 +01:00
Amine Ben hammou
a1ba783264 reCaptcha works without javascript now 2018-01-18 10:50:07 +00:00
Amine Ben hammou
6e94db24a2 minor fixes 2018-01-15 12:43:48 +00:00
Amine Ben hammou
5bf532a750 minor UI fix 2018-01-15 10:47:26 +00:00
Amine Ben hammou
c63b7d9b91 handling multiple instances of reCaptcha 2018-01-15 10:47:25 +00:00
Amine Ben hammou
a8052c118a fixing minor issues and adding unit test 2018-01-15 10:46:07 +00:00
Amine Ben hammou
a05f9bf97b showing the recaptcha 2018-01-15 10:46:05 +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
ef410fb877 Fix dot-notation rule in es5
[MAILPOET-1143]
2018-01-08 11:38:27 +00:00
Pavel Dohnal
0e08e58288 Fix camelcase eslint rule in ES5 files
[MAILPOET-1144]
2017-11-30 09:10:08 +00:00
Pavel Dohnal
159e946093 Fix no-else-return eslint rule in ES5 files
[MAILPOET-1144]
2017-11-29 15:04:38 +00:00
stoletniy
b648852ef5 Rename jQuery Serialize Object function to prevent conflicts [MAILPOET-1190] 2017-10-30 22:49:00 +03:00
Amine Ben hammou
71c031ccf9 fixing missing parsley method 2017-10-10 13:10:49 +00:00
Amine Ben hammou
4e2e9f6f8f rebasing on master 2017-10-09 11:17:23 +00:00
Amine Ben hammou
c90e0e9f64 ES5 no-unused-vars 2017-10-09 11:15:58 +00:00
Amine Ben hammou
95551ad049 ES5 keyword-spacing 2017-09-21 09:13:36 +00:00
Amine Ben hammou
680446b77e ES5 space-before-function-parens 2017-09-21 08:35:12 +00:00
Pavel Dohnal
f77620d649 Fix eslint no-undef in ES5
[MAILPOET-1085]
2017-09-11 15:03:30 +01:00
Pavel Dohnal
09199e41a1 Fix ESLint linebreak-style ES5
[MAILPOET-1031]
2017-08-30 14:59:34 +02:00
Vlad
6a65ff5e5d Removes default version
Updates all AJAX requests to include api version
Requires namespaces to have version
Clean up code
2017-04-19 23:34:40 -04:00
Vlad
b549f83422 Updates form subscription class to use the main API class instead of calling directly API endpoint
Modifies forms to pass api_version
Modifies forms to pass store form-specific values (e.g., form_id, email) inside a separate data array
2017-04-19 15:38:16 -04:00
Jonathan Labreuille
cc523a3c0b ability to specify action for generateToken() method 2016-10-21 13:36:41 +02:00
Jonathan Labreuille
6091751a4b Closes issue 480 2016-09-21 11:54:16 +02:00
Jonathan Labreuille
375e70d84b success messages in both context when subscribing to a form 2016-04-21 12:39:14 +02:00
Jonathan Labreuille
42d586610e form subscription only using Router now 2016-04-20 16:59:18 +02:00
Jonathan Labreuille
f91bfbf473 handle form as iframe 2016-03-22 17:25:25 +01:00
Jonathan Labreuille
cabe2d61b7 Form editor update
- when a custom field is updated, the matching form field is now also updated
- ability to toggle "is_required" on First name & Last name
- fixed position of validation errors on segment selection, checkbox and radio
- fixed form subscription not working when using custom fields
- fixed sortable in segment selection after list update (add/remove)
- updated position of messages in form subscription
2016-01-18 17:23:10 +01:00
Jonathan Labreuille
7be1a11d1e Form editor
- fixed validations on radio type
- fixed date format for months
- added custom fields storing on subscribe
- fixed date widget (select today's date)
- fixed validation on form widget
2015-12-08 16:55:30 +01:00
Jonathan Labreuille
31305a04c0 form validation with Parsley 2015-11-06 16:09:56 +01:00
Jonathan Labreuille
5473f94e24 List selection & subscribe
- fixed list selection widget (form editor & rendered form)
- ajax subscription works (minus sending the confirmation email)
- bug fixes / polishing / refactoring / cleanup
2015-11-06 16:09:09 +01:00
Jonathan Labreuille
f2cecf97a9 Form submit fix + default styles 2015-08-21 14:08:35 +02:00
Jonathan Labreuille
1ff7e3f4be Form Subscription
- improved MailPoet ajax to fix token issue
- added js validation and ajax submit in public.js
- add util security to generate tokens
- updated router to use new util security
- added jquery-validation module
- update public config in webpack config
- added error messages in form
2015-08-20 21:02:04 +02:00
Jonathan Labreuille
c883de9aa8 Form Widget
- added public js code to handle validation and ajax submit
- added widget initializer
- added form widget
- added acceptance test for adding the widget
2015-08-20 16:52:51 +02:00
Jonathan Labreuille
bc65836c31 Webpack refactor
- added JSX support (webpack + robofile
- added public.js bundle
- refactored webpack config for clarity
- added settings.jsx form example
- fixed acceptance test failing on login
2015-08-19 19:29:11 +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