Marco Hermo
c762835d4f
API Additional data passed to updateAfterProcess hook ( #1130 )
...
Passing $emailData and $attachments array to the existing hook, updateAfterProcess
In this case it will give more flexibility for the extension to do
additional cleanup process after the emails has been sent.
2022-01-14 11:08:22 +13:00
Michal Kleiner
2691ac354e
ENH Provide submitted form info to submission email data ( #1113 )
2021-10-19 12:58:23 +13:00
Will Rossiter
18eccb65d4
FIX Log any email exceptions gracefully
...
If an email send() generates any errors such as invalid template or API exceptions then capture the error in the logs rather than displaying the error to the user.
2021-06-22 21:54:06 +12:00
Dan Hensby
ce18179d49
Merge pull request #1049 from hamaka/fix/attachments_respecting_hideformdata
2021-05-14 21:32:09 +01:00
Daniel Hensby
bc5689b55a
Merge pull request #1056 from purplespider/patch-1
...
Stops reply-to address being set to empty, if reply-to field value is empty
2021-05-14 21:21:52 +01:00
Steve Boyd
52e678c6e7
FIX Include merge fields in plain text emails
2021-04-13 19:05:29 +12:00
James Cocker
b01d296c42
Avoids reply to address being set to empty, if reply to field value is empty
2021-04-12 21:27:25 +01:00
Bauke Zwaan
fad372d4ba
Only add attachments when HideFormData-setting is not set for this recipient
2021-03-12 09:30:11 +01:00
Steve Boyd
79259b593a
FIX Visibility of subsequent form fields and step buttons
2021-03-10 16:06:01 +13:00
Steve Boyd
9eaee41282
ENH Use yarn and webpack to upgrade jquery
2021-03-04 17:05:55 +13:00
Dylan Wagstaff
e7f51d227a
ENH Move jQuery include away from CDN ( #1019 )
...
- Move jQuery include away from CDN
2021-01-17 14:37:01 +13:00
Steve Boyd
42df67fe76
Merge branch '5.6' into 5.7
2020-09-22 10:29:09 +12:00
Steve Boyd
f09691f9cb
FIX Vertically align confirm folder icon
2020-09-15 15:24:16 +12:00
Steve Boyd
dd9618e768
Merge branch '5.6' into 5
2020-09-03 09:35:15 +12:00
Steve Boyd
8d09cb171f
FIX Use translation string that belongs to UserDefinedFormAdmin
...
This is to for the benefit of cow translate which did not like the use of _t(CMSMain::class
2020-08-18 12:20:10 +12:00
3Dgoo
6ca8ce2596
FIX Fixing plain email blank file field value ( #940 )
...
* Fixing plain email blank file field value
2020-07-01 09:00:31 +12:00
Maxime Rainville
25978d3c58
Clean up tests
2020-06-12 00:55:12 +12:00
Maxime Rainville
df120133ab
Move confirm folder logic to a dedicated controller
2020-06-11 19:53:46 +12:00
Maxime Rainville
dc5ce0000a
BUG Fix confirm upload form modal on Elemental block
2020-06-11 15:17:13 +12:00
Andre Kiste
3b40be3b8f
NEW Add folder confirmation modal when adding a new EditableFileField
to a userform. ( #972 )
2020-06-10 16:59:01 +12:00
Steve Boyd
ed53709631
NEW DB column showing if file is userform upload
...
- UserFormUpload used by File::isTrackedFormUpload()
2020-05-28 13:14:34 +12:00
Steve Boyd
c3d990f70f
FIX Create image thumbnails for asset-admin for images uploaded through userforms ( #969 )
2020-05-27 12:26:14 +12:00
Garion Herman
4e0f0e903d
Update jQuery to 3.4.1
2020-01-24 10:06:59 +13:00
Charlie Bergthaler
dfeb922818
FIX Add missing import statement for SilverStripe\ORM\ValidationResult in UserDefinedFormController and EditableFileField.
2019-10-07 21:56:22 +13:00
Garion Herman
2f0aea847a
Add presence validation for EmailRecipient recipient, add error handling
2019-05-03 16:46:32 +12:00
Robbie Averill
a4cd982637
Merge branch '5.3'
2019-03-26 14:46:22 +13:00
Robbie Averill
b1a04d6563
Merge pull request #871 from quantum-dragons/pulls/fix-form-vallidation-exception-message
...
Fix exception error message fails when error in upload file.
2019-03-26 14:44:57 +13:00
Ishan Jayamanne
3615f416e3
Fix exception error message fails when error in upload file.
2019-03-26 01:28:36 +00:00
Robbie Averill
bf142eb6ef
FIX Display rules for page breaks/editable form steps now works again
...
This was previously broken in a regression from https://github.com/silverstripe/silverstripe-userforms/pull/575
where the fields themselves could still be toggled, but the jQuery event dispatches for the form steps
were removed. This pull request re-introduces those jQuery event triggers when hiding and showing
editable form fields via display rules.
2019-03-25 15:09:38 +13:00
3Dgoo
a8e21b193f
Allow form fields in email subjects
...
Allows form fields in email subjects using merge field the same as body insertion functionality.
2019-01-28 09:06:12 +10:30
Alexandre Saelens
6acee54596
Avoid calling getter twice
2019-01-17 12:47:09 +13:00
Alexandre Saelens
2e60a79e40
Check recipient alternate from/to fields exists
2019-01-17 12:40:50 +13:00
Luke Amos
1efeeca6db
FIX Fixes #814 Renamed 'SubmittedFormEmailHtml' to 'SubmittedFormEmail'
...
following peer feedback. Updated respective code and unit test
2019-01-17 10:30:05 +13:00
Luke Amos
490d05a3e8
FIX: Fixes #814 Changed code referencing email template.
2019-01-16 11:02:04 +13:00
Stephen McMahon
01520c22bd
Fix(shortcode) re-order if block check $UserDefinedForm in $this->Content. Rename config value to be clearer
2018-07-09 15:20:30 +10:00
Stephen McMahon
a3a2c3d286
Fix(UserDefinedFormController) change return type of index() when not using shortcode
2018-07-06 09:27:28 +10:00
Stephen McMahon
94192f4b66
Add(config) create disable_form_content_interpolation option for ignoring $UserDefinedForm in $this->Content
2018-07-05 16:10:43 +10:00
Andrew Aitken-Fincham
0f6efea12a
add proper fallbacks to cover tests
2018-02-14 11:30:35 +00:00
Andrew Aitken-Fincham
8c34519644
adds logic for presence of email recipient fields
2018-02-13 16:24:53 +00:00
Dylan Wagstaff
46460c0e7c
FIX Enhance JS for multiple userform instances ( #715 )
...
After testing it seems that having multiple user defined forms on a page
has already been added as a feature. However various load time dynamically
generated javascript segments had not been adapted to suit. Now they
have.
Also fixed a variable that no longer exists in the external requirements
from preventing a webpack build.
2018-02-12 16:56:36 +13:00
Martin D
eafe6609e1
jquery version update
2018-02-08 15:48:51 -05:00
Raissa North
77c47a38fa
FIX Fix support address list in email address fields ( #707 )
2018-01-29 09:56:44 +13:00
Dylan Wagstaff
9a09873e7d
Merge pull request #704 from creative-commoners/pulls/5.0/fix-email-template-data
...
FIX Submitted form field data is rendered correctly in recipient email templates
2018-01-26 09:39:22 +13:00
Martin D
ad7b2c4ff2
Update UserDefinedFormController.php ( #705 )
...
Added $request argument to index method
2018-01-26 09:31:06 +13:00
Robbie Averill
e1a7030306
FIX Submitted form field data is rendered correctly in recipient email templates
...
Also remove some deprecated code from UserDefinedFormControllerTest and allow
simple or starter theme to be used in the test.
2018-01-25 16:17:28 +13:00
Robbie Averill
515f1923ba
FIX Update email attachment API for recipients and improve if statement readability
2018-01-25 11:24:36 +13:00
Robbie Averill
5695c9585a
FIX Email templates for for submissions display correctly in preview
2018-01-24 15:17:03 +13:00
Dylan Wagstaff
7f208ee927
FIX javascript errors enacting default functionality
...
Mostly to do with translations, however the errors meant the front end
forms largely didn't work at all. Some of this was to do with the scoping
of `this` in es6 arrow functions, compared to the legacy code with entwine
that uses the fuller `function` definition. Reinstate missing dependency
for translations to function too.
2017-11-20 15:16:03 +13:00
Robbie Averill
1643b1a689
FIX Explicitly get the Fields() method from controller's data record
2017-11-01 11:43:53 +13:00
Robbie Averill
d11e568cdf
FIX Polymorphic has_one needs parent class name set
2017-10-26 15:40:48 +13:00