Commit Graph

33 Commits

Author SHA1 Message Date
github-actions
11ec411169 Merge branch '6' into 7 2024-08-28 08:43:23 +00:00
Guy Sartorelli
db8adf5890
FIX Duplicate userforms using cascade_duplicates config (#1320) 2024-08-28 11:32:21 +12:00
Guy Sartorelli
6eb29d35bd
MNT Fix unit test (#1321) 2024-08-28 10:54:50 +12:00
Sabina Talipova
7c1ca456ba MNT Remove TODO 2023-10-19 14:54:35 +13:00
Guy Sartorelli
ca449db3da
Merge branch '5' into 6.0
# Conflicts:
#	tests/php/Model/SubmittedFileFieldTest.php
2023-09-18 10:51:19 +12:00
Steve Boyd
f1510dca9e FIX Renable email link to submitted file 2023-09-06 10:54:20 +12:00
Steve Boyd
127955197d Merge branch '5' into 6.0 2023-08-22 15:38:22 +12:00
Guy Sartorelli
60717e5c04
FIX Use absolute URL for submitted file links in emails (#1226) 2023-08-08 14:53:14 +12:00
Steve Boyd
6f699d05da Merge branch '5.15' into 6.0 2023-06-01 16:05:11 +12:00
Steve Boyd
bf49cab678 FIX Prevent infinite recursion when field display rules are co-dependent 2023-05-31 17:33:35 +12:00
Sabina Talipova
7af0009321
FIX Passing array to setReplyTo method instead of string (#1208) 2023-05-17 15:54:29 +12:00
Guy Sartorelli
65d455f17e
Merge pull request #1187 from creative-commoners/pulls/6/php82
MNT Unit test PHP 8.2 compatibility
2023-01-26 10:14:02 +13:00
Sabina Talipova
1ea2b8e87f
API Remove deprecated code (#1185) 2023-01-25 13:55:24 +13:00
Steve Boyd
b25e905bde MNT Unit test PHP 8.2 compatibility 2023-01-25 10:34:39 +13:00
Steve Boyd
2ea1b07c3c MNT Broken builds 2023-01-24 15:45:09 +13:00
Sabina Talipova
2b9d9833b3 DEP PHP Support in CMS5 2023-01-09 15:24:33 +13:00
Steve Boyd
7a6cd1c211 API Stop using deprecated API 2022-11-29 09:36:08 +13:00
Dylan Wagstaff
0ff72734dd NEW Maximum email attachment size can be configured
Previously hard coded size of 1MB meant any file larger was excluded
from recipient emails - often confusing for CMS admins configuring an
advanced use case for a userform, expecting to recieve files to begin a
business process external to the website.

The configuration has been made to support PHP 'shorthand byte values'
https://www.php.net/manual/en/faq.using.php#faq.using.shorthandbytes
in the configuration option. This give flexibility around oddly
specific limits, but can also be used to set as 0, disabling attachments

Tests are updated to set up a known state before testing, as to be able
to accurately assert the results. One should test the class they intend,
not an Injector service of some unknown element.
2022-10-24 20:12:58 +13:00
Sabina Talipova
2750bc3a07 ENH Protect access to the uploaded file without permission 2022-08-31 11:04:15 +12:00
Guy Sartorelli
12ccb9636c MNT Explicitly set class for test polymorphic has_one 2022-05-31 15:07:04 +12:00
Steve Boyd
d97bc58f20
Merge pull request #1144 from creative-commoners/pulls/5/upload-protected-folder
Protect uploads if folder for EditableFileField was removed
2022-05-25 17:54:44 +12:00
Sabina Talipova
92aded3016 Protect uploads if folder for EditableFileField was removed 2022-05-25 14:07:35 +12:00
Steve Boyd
d81da1eedf ENH Save modified form data when adding new field 2022-05-23 14:01:31 +12:00
Steve Boyd
792d61fded ENH PHP 8.1 compatibility 2022-04-13 13:52:56 +12:00
Steve Boyd
40bd88e81c API phpunit 9 support 2021-11-02 09:52:58 +13:00
Daniel Hensby
41fa8f0718
Merge pull request #1051 from wilr/wilr-patch-1
FIX Uploaded files not appearing in emails and cleanup deleted files.
2021-05-17 09:10:31 +01:00
Will Rossiter
beaf901208
FIX When deleting form submission, delete linked file 2021-05-17 09:13:19 +12:00
Dan Hensby
ce18179d49
Merge pull request #1049 from hamaka/fix/attachments_respecting_hideformdata 2021-05-14 21:32:09 +01:00
Steve Boyd
6794aa7cd3 MNT Unit test for directory seperator on windows 2021-04-13 22:48:52 +12:00
Steve Boyd
52e678c6e7 FIX Include merge fields in plain text emails 2021-04-13 19:05:29 +12:00
Bauke Zwaan
4a883f1641 fix for testing EmailRecipients 2021-04-12 15:22:45 +02:00
Bauke Zwaan
34883adb12 Add testing 2021-04-06 15:46:37 +02:00
Steve Boyd
cdf6264242 MNT Behat test for hidden form steps 2021-03-10 16:06:01 +13:00