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
4e2e9f6f8f
rebasing on master
2017-10-09 11:17:23 +00:00
3dd8a973fd
ES5 vars-on-top
2017-10-09 11:15:58 +00:00
95551ad049
ES5 keyword-spacing
2017-09-21 09:13:36 +00:00
680446b77e
ES5 space-before-function-parens
2017-09-21 08:35:12 +00:00
f77620d649
Fix eslint no-undef in ES5
...
[MAILPOET-1085]
2017-09-11 15:03:30 +01:00
478e60d60e
Fix indent rule in ES5
...
[MAILPOET-1029]
2017-09-07 15:51:25 +01:00
cd091c2af6
ES5: quotes
2017-08-24 09:16:51 +02:00
acd2b9f51e
Fix no-param-reassign in ES5
...
[MAILPOET-1033]
2017-08-16 12:22:56 +02:00
56eac1ae86
Add missing callbacks to ajax calls
...
[MAILPOET-982]
2017-07-06 13:06:14 +01:00
2285c08c01
Revert "Revert "Improve ajax errors [MAILPOET-929]""
...
This reverts commit 81c3e2facf
.
2017-06-26 13:51:53 +01:00
81c3e2facf
Revert "Improve ajax errors [MAILPOET-929]"
2017-06-22 20:04:10 -04:00
2f6fe8c804
Translate error message
...
[MAILPOET-929]
2017-06-22 16:47:36 +01:00
ec3e88e658
Improve error handling for failed AJAX requests
...
[MAILPOET-929]
2017-06-22 13:35:55 +01:00
f874ae6ca8
Fix line endings
...
[MAILPOET-929]
2017-06-22 10:25:07 +01:00
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
a9c80c031f
Adds version support to public API
2017-04-19 15:38:16 -04:00
6675d5a20d
added default error messages to errorResponse and badRequest
2016-08-03 14:08:22 +02:00
28c39d301c
Added default error response in case no errors were specified
...
- converted Setup endpoint
- unit tests for Setup endpoint
2016-08-03 12:41:21 +02:00
afa0d3af63
Updated Ajax.js to avoid promise workaround
...
- Removed get method in ajax.js as it's useless
2016-08-02 18:08:12 +02:00
b05344b1d3
added missing data in deferred.resolve()
2016-08-02 17:18:18 +02:00
2e88d7cce0
Added API/Endpoint abstract class
...
- (re)Added Endpoints folder to both API and Router
- fixed syntax in namespaces
- xhr.responseJSON is returned to the fail()
- fixed Router endpoints (view in browser, cron,...)
2016-08-02 17:08:43 +02:00
9410d4f10a
Reorganized new API + added legacy API support + new API
...
- Updated Settings Router to new standards
- Updated settings.html to reflect API change with better error handling
- Updated Settings API unit tests
2016-08-01 17:00:32 +02:00
5a7d5ac3f0
- Removes object keys with null values when doing an ajax request
2016-07-13 21:06:13 -04:00
00f06ea202
Revert "Queue"
2015-11-20 23:51:02 +01:00
556a170903
- Bootstraps queue
2015-11-20 16:20:35 -05:00
cbcd614b6f
implemented all bulk actions for Subscribers
2015-09-16 19:44:46 +02:00
e20626f1ad
Expose jQuery deferred XHR object for access to promises
2015-09-02 17:53:57 +03:00
0e2c04d97a
many improvements on listing + cleaned up modal library
2015-08-27 22:38:42 +02:00
bf5d7f273b
Settings JSX
...
- fixed issue with token in MailPoet Ajax / JSX
- added settings form with get/set
- reformated some code in subscribers.jsx
2015-08-21 13:12:14 +02:00
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
58d83f5fbe
fixed MPAjax to behave with router
2015-08-18 15:29:00 +02:00
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
6ed4ce0de2
Swap app code with bundles in assets/js/src
folder
2015-08-17 14:31:32 +03:00