Commit Graph

40 Commits

Author SHA1 Message Date
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
Tautvidas Sipavičius
9f7ae122e3 Add missing periods to translation strings 2017-01-30 21:33:59 +02:00
Alexey Stoletniy
9ee66160ec Display 'bounced' option on subscription page only if user is bounced and make it disabled [MAILPOET-754] 2016-12-21 21:04:28 +03:00
Jonathan Labreuille
4402f826c3 fixed issue with namespace AND fixed issue #649 2016-10-06 12:54:04 +02:00
Jonathan Labreuille
b9745b555a make sure ABSPATH is defined before using it - fixes issue #648 2016-10-06 12:52:53 +02:00
Jonathan Labreuille
7fbf84db1f converted text domain to string instead of constant 2016-09-30 09:58:26 +02:00
Jonathan Labreuille
42202f676a updated Env::plugin_name to constant for text domain 2016-09-27 14:54:23 +02:00
Jonathan Labreuille
ba6198f956 added textdomain to __() calls 2016-09-27 14:53:44 +02:00
Jonathan Labreuille
6091751a4b Closes issue 480 2016-09-21 11:54:16 +02:00
Jonathan Labreuille
213bca8050 fixed rendering of date block + fixed validation for dates 2016-08-16 14:41:53 +02:00
Vlad
c5a02c6136 - Allows setting empty value for date custom fields 2016-08-14 13:00:28 -04:00
Vlad
81c277ca93 - Update import to autodetect dates (UI) and convert them to datetime
format (backend)
- Fixes unit test
- Fixes code formatting in Date class
2016-08-12 00:29:57 -04:00
Vlad
f8fea75130 - Updates date conversion method
- Uses Moment to parse dates in UI
- Updates Custom Field model to utilize date conversion method
- Adds unit test
2016-08-11 21:11:57 -04:00
Vlad
b07c4d0e6e - Adds date validation based on date format 2016-08-08 18:23:11 -04:00
Kiefer Conrad
49b65729db update 14 July 2016 2016-07-14 20:58:12 +02:00
Jonathan Labreuille
fe154d9251 fixed code sniffer reported errors 2016-07-01 14:17:39 +02:00
Jonathan Labreuille
a8ffbc2d0e handle empty/unchecked/checked checkboxes properly in both react and forms 2016-07-01 14:14:18 +02:00
Jonathan Labreuille
9de3a245b0 fixed both radio & checkbox fields so that it selects the proper value 2016-07-01 14:14:18 +02:00
Jonathan Labreuille
7f265675b0 changed the way custom field date type is handled (react + form + db) 2016-07-01 14:14:18 +02:00
Jonathan Labreuille
ba15db9829 fixed value loading for textarea 2016-07-01 14:14:18 +02:00
Jonathan Labreuille
d15473a8e4 disabled first/last name inputs for WP User on manage subscription page 2016-07-01 14:14:18 +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
Jonathan Labreuille
f11de2f1ad Updated shortcodes for unsubscribe/manage/browser links
- fixed all issues in #387 except the custom mailpoet pages
2016-03-17 15:48:06 +01:00
Jonathan Labreuille
e28451d410 removed edit page in settings + manage subscription update 2016-03-17 15:45:05 +01:00
Jonathan Labreuille
4a96e483a6 edit profile rendering (missing segments list) + fallback for Url::redirectBack() 2016-03-04 11:20:17 +01:00
Jonathan Labreuille
4b528549f5 edit subscription form + save 2016-03-03 15:57:42 +01:00
Jonathan Labreuille
d2be407ccb rendering of edit subscription form 2016-02-29 13:34:17 +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
ad925de801 Custom fields (in Form & Edit subscriber) 2016-01-21 17:27:34 +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
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
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
a31dce6226 fixed list selection widget + started form submission 2015-11-06 16:09:09 +01:00
Jonathan Labreuille
c2e7513381 Form editor
- new form with default data
- load/save in form editor
- widgets -> settings form
- widgets -> shortcode for subscribers count
- widgets -> form rendering
- added useful filters to Subscribers (for status related search)
- refactor & cleanup
2015-11-06 16:09:09 +01:00
Jonathan Labreuille
541696863e Form editor
- new/edit in forms listing goes to editor
- fixed editor dependencies (via Webpack)
- updated forms table schema
- saving/loading a form works
2015-11-06 16:09:09 +01:00
Jonathan Labreuille
907fe585de add Form renderer and fixed Newsletter saving issue 2015-11-06 16:08:16 +01:00