Commit Graph

114 Commits

Author SHA1 Message Date
Vlad
5cd3917f4d Removes HTML method from form placement 2017-04-26 19:38:19 -04: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
Alexey Stoletniy
9d358f74dd Rename a 'method' field in a form widget so it doesn't break the WP interactive customizer [MAILPOET-851] 2017-04-05 18:35:13 +03:00
Vlad
a3530c3367 Escapes translations for JS output 2017-03-28 11:17:00 -04:00
Tautvidas Sipavičius
c27446666e Translate untranslated strings 2017-02-27 18:33:09 +02:00
Tautvidas Sipavičius
8eb04534bc Fixed translations based on feedback from translators on Transifex 2017-02-20 14:58:53 +02:00
Tautvidas Sipavičius
bedfc4f80c Add context to 'Select' translation strings 2017-01-30 21:35:49 +02:00
Tautvidas Sipavičius
9f7ae122e3 Add missing periods to translation strings 2017-01-30 21:33:59 +02:00
Alexey Stoletniy
c2546e8aed Filter lists that can be subscribed to using any particular form [MAILPOET-777] 2017-01-25 16:15:42 +03:00
Tautvidas Sipavičius
e6bb1666ee Remove obsolete wysija-newsletters gettext domain 2016-12-15 20:24:04 +02:00
Jonathan Labreuille
d32abff78d display subscribers count in segments selection 2016-09-30 15:23:18 +02:00
Jonathan Labreuille
ea5c73721b remove doing_ajax logic from API and created dedicated class for subscription form non ajax submission 2016-09-22 16:24:13 +02:00
Jonathan Labreuille
6091751a4b Closes issue 480 2016-09-21 11:54:16 +02:00
Jonathan Labreuille
f650455a90 forms & newsletters endpoints 2016-09-05 11:55:01 +02:00
Jonathan Labreuille
213bca8050 fixed rendering of date block + fixed validation for dates 2016-08-16 14:41:53 +02:00
Jonathan Labreuille
dc97d3115e updated Custom Field endpoint + Unit tests + form editor update 2016-08-16 12:40:10 +02:00
Vlad
9a5a3a08c6 - Fixes default date format not being set 2016-08-08 18:23:11 -04:00
Vlad
fd2103d1aa - Extracts custom field specific templates/code into a separate template
file
2016-08-08 18:23:11 -04:00
Vlad
7696b6ec5d - Replaces depreciated Notice .error() method with .fail() 2016-08-08 18:23:11 -04:00
Vlad
d972b96255 - Updates custom field editor to display errors inside the form 2016-08-08 18:23:11 -04:00
Kiefer Conrad
c05a20cff9 Update 28 July 2016 2016-07-29 13:29:05 +03:00
Kiefer Conrad
49b65729db update 14 July 2016 2016-07-14 20:58:12 +02:00
Kiefer Covia
77dd71935a Update - June 10 2016 2016-06-10 11:13:40 +02:00
Kiefer Covia
08e6430c7d June 8 2016 Copy review 2016-06-08 17:02:50 +02:00
Jonathan Labreuille
046127eeba fixed react forms (new bug discovered on new forms with default values not saved) 2016-05-19 14:30:33 +02:00
Vlad
8a4dec08e1 - Converts page title headings to H1
- Adds "back to list" to subpages
2016-05-10 10:13:57 -04: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
3281ac390e Improved segment selection errors in form editor
- improved error display to make it more obvious (added border on select2 on error)
2016-03-22 17:25:25 +01:00
Jonathan Labreuille
d731a6b432 toggle segment selection validation on form editor 2016-03-22 17:25:25 +01:00
Jonathan Labreuille
03c782d4ab Fixed issue #305
- added validation on add/edit Custom Field for multiple values (select/radio)
- disabled Remove link when only one value remains
- Added confirmation message on Reinstall
- Added missing period in Import
2016-02-18 13:14:57 +01:00
Jonathan Labreuille
5121dbe0c8 Form Editor Round 3
- added prefix to form styles so that it does not conflict when multiple forms are on the same page
- added validation on form save for segments
2016-02-12 12:45:07 +01:00
Jonathan Labreuille
12c9623e2f Better Error handling for models
- added (array)getErrors() to models, returns false if no errors
- converted Forms::saveEditor method to use getErrors
- added error handling on the form editor view
2016-02-03 12:23:42 +01:00
Jonathan Labreuille
bb1cc997cc CustomFields
- renamed form block type "input" to "text" for consistency with React
- updated CustomFields router to comply with main router
- unit tests for CF router
2016-01-29 17:16:24 +01:00
Jonathan Labreuille
3b9821fbe1 Remove matching form block when custom field is deleted 2016-01-18 17:46:42 +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
6e63c72aa5 Reinstall feature
- implemented reinstall in Settings > Advanced
- shorten placeholder for Form name input
2015-12-15 13:07:43 +01:00
Jonathan Labreuille
e1c94db516 edit form name follows newsletter's design 2015-12-08 17:10:45 +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
9fb04bc3c0 first round of fixes #255 2015-12-07 16:54:08 +01:00
Jonathan Labreuille
a5d96f1534 WP Users list
- refactored and fixed listing issues (related to Segments)
- removed bulk actions from segments
- added synchronize methods for WP users
- Update action in segments only for WP Users list
- added "type" column to segments (default, wp_users, dynamic...)
- added "status" column to subscriber_segment table (useful soon)
2015-11-25 18:31:57 +01:00
Jonathan Labreuille
795485d42a fixed sortable segments in form editor 2015-11-06 16:09:56 +01:00
Jonathan Labreuille
dfadda2d12 converted form renderer validation to Parsley 2015-11-06 16:09:56 +01:00
Jonathan Labreuille
31305a04c0 form validation with Parsley 2015-11-06 16:09:56 +01:00
Jonathan Labreuille
cfdb886e88 Date widget
- fixed date widget
- fixed default styles for radio inputs in form rendering
2015-11-06 16:09:09 +01:00
Jonathan Labreuille
1ce4b16327 custom fields (create and update) 2015-11-06 16:09:09 +01:00
Jonathan Labreuille
b12f7f29de Custom fields
- added listing of custom fields in form editor
- ability to delete a custom field
- mades changes to the form editor in order to accomodate for the new custom fields system
- fix form editor bugs
- cleanup
2015-11-06 16:09:09 +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