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
Robbie Averill
9c15c74f7b
Convert to vendor module, remove secure assets suggestion
2017-10-18 22:18:46 +13:00
Will Rossiter
cf6c1b44ba
Controller should be under control namespace for consistency
2017-10-10 08:48:16 +13:00