Commit Graph

1788 Commits

Author SHA1 Message Date
Nivanka Fonseka
82e6588cd9 added the closest and trigger events out of the rules 2023-04-27 10:51:04 +12:00
Nivanka Fonseka
ccd028c22d git reset lint configs 2023-04-19 14:20:49 +12:00
Nivanka Fonseka
ea33174de3 update file field checks 2023-04-19 14:16:56 +12:00
Nivanka Fonseka
3a0ac1bf48 fixed the are you sure question on form submit 2023-04-05 18:43:45 +12:00
Nivanka Fonseka
0bf32897d7 updated the checkboxset field expression 2023-04-05 13:23:32 +12:00
Nivanka Fonseka
67636a6bb0 numeric check only if the values are populated, prevents NAN types 2023-04-05 11:02:47 +12:00
Nivanka Fonseka
5c31934b7a added numeric validations in place 2023-04-05 10:37:07 +12:00
Nivanka Fonseka
2a1839ad8d removed .map files 2023-03-23 13:38:32 +13:00
Nivanka Fonseka
77fb5fe19d added userforms groups to have the display rules 2023-03-23 13:33:08 +13:00
Nivanka Fonseka
52cdd1dda8 updated the are you sure popups, and refactors 2023-03-21 16:18:24 +13:00
Nivanka Fonseka
425504ae43 js lint and build vanilla scripts for JS 2023-03-21 14:24:38 +13:00
Nivanka Fonseka
1d198ca05d added a HTML wrapper to make it easier to style 2023-03-20 15:45:30 +13:00
Nivanka Fonseka
1f3747cbaf added JS validations for each step 2023-03-20 15:22:22 +13:00
Nivanka Fonseka
2bcb020dc2 validate eash step when submitting 2023-03-20 14:51:22 +13:00
Nivanka Fonseka
9ffc2cf3ad completed display rules and form navigation logics 2023-03-20 12:43:41 +13:00
Guy Sartorelli
39701166f5
Merge pull request #1195 from creative-commoners/pulls/5/tx-1678080205
ENH Update translations
2023-03-08 10:32:26 +13:00
Steve Boyd
3d73a71b9c ENH Update translations 2023-03-06 18:23:25 +13:00
Guy Sartorelli
59d007f4e9
Merge branch '5.14' into 5 2023-03-01 13:00:17 +13:00
Guy Sartorelli
7677f15fda
Merge pull request #1192 from creative-commoners/pulls/5.14/bump-jquery-validiation
DEP Bump jQuery validiation install
2023-02-28 16:44:30 +13:00
Maxime Rainville
d5ce6239ea DEP Bump jQuery validiation install 2023-02-28 15:02:09 +13:00
Steve Boyd
10fc452c8d Merge branch '5.14' into 5 2023-02-02 16:03:12 +13:00
Steve Boyd
58583ded8d Merge branch '5.13' into 5.14 2023-02-02 16:02:49 +13:00
Maxime Rainville
db55d68248
Merge pull request #1184 from creative-commoners/pulls/5/htmlvalue
FIX Use HTMLValue::class
2023-01-18 11:32:11 +13:00
Steve Boyd
746ac8aedf FIX Use HTMLValue::class 2023-01-18 10:34:46 +13:00
Guy Sartorelli
a8a2e6b0bd
Merge branch '5.14' into 5 2022-12-19 02:24:04 +00:00
Guy Sartorelli
3c5843a01c
Merge branch '5.14-release' into 5.14 2022-12-19 02:23:59 +00:00
Michal Kleiner
3b043bfb43
Merge pull request #1180 from jericrealubit/EditableLiteralField-nolabel-fix-JamesDPC 2022-12-07 23:26:39 +13:00
jeric realubit
c593138569 FIX Ensure .nolabel is only added once when Hide Title is used 2022-12-07 22:58:34 +13:00
Sabina Talipova
bf1a8cb3b2
Merge pull request #1177 from creative-commoners/pulls/5/stop-using-depr
API Stop using deprecated API
2022-12-05 16:37:03 +13:00
Steve Boyd
7a6cd1c211 API Stop using deprecated API 2022-11-29 09:36:08 +13:00
Guy Sartorelli
f3f23351a7
Merge pull request #1176 from creative-commoners/pulls/5/depr-messages
API Update deprecations
2022-11-21 09:58:42 +13:00
Steve Boyd
2a2b66a09b API Update deprecations 2022-11-16 11:57:49 +13:00
Guy Sartorelli
923d170847
Update translations 2022-11-10 01:56:21 +00:00
Michal Kleiner
a356b0f8ce
Merge pull request #1017 from NightJar/new/5/set-max-upload-size-via-config 2022-10-28 14:41:21 +13:00
Daniel Hensby
3fb760de84
Merge pull request #1174 from kinglozzer/fix-typo
Fix incorrect label on unwritten field groups
2022-10-27 13:47:14 +01:00
Loz Calver
c0fd386ea7 Fix incorrect label on unwritten field groups 2022-10-27 10:42:43 +01: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
Michal Kleiner
25e64441b8
Merge pull request #1172 from NightJar/pulls/5/performance-tweaks 2022-10-24 00:17:29 +13:00
Dylan Wagstaff
3cd8c7ea77 FIX submission performance issues with large data
The more submissions a form receives, the more submission fields it must
process just to be able to load `getCMSFields`. Arguably submission data
does not belong here, but this is beyond the scope of this patch.

On popular forms it is not improbable to be trying to process 300,000
submitted fields just to test the unique sets of name and title...
however databases have the ability to do this without wasting PHP cycles
and memory, leaving us with a much smaller set to process and hopefully
bypassing one (of several) performance issues with this module.

The consequence of not making allowance for this is that a page in the
CMS suddenly stops saving or loading via web server or PHP (or both)
process timeouts (e.g. saving takes longer than 30 seconds so saving
never happens).
2022-10-23 23:53:46 +13:00
Guy Sartorelli
198466a979
Merge pull request #1169 from creative-commoners/pulls/5/review-behat-tests
ENH Replace ADMIN permissions with less permissions in Behat test
2022-09-15 11:13:25 +12:00
Sabina Talipova
2444e844f1 ENH Replace ADMIN permissions with less permissions in Behat test 2022-09-15 09:24:03 +12:00
Maxime Rainville
41fda09b1b
Merge pull request #1167 from creative-commoners/pulls/5/access-submitted-file
ENH Protect access to the uploaded file without permission
2022-08-31 11:35:33 +12:00
Sabina Talipova
2750bc3a07 ENH Protect access to the uploaded file without permission 2022-08-31 11:04:15 +12:00
Maxime Rainville
22984380a2
Merge pull request #1164 from creative-commoners/pulls/5/fix-userdoc-deploy
MNT Fix github action for deploying userdocs
2022-08-24 11:25:36 +12:00
Guy Sartorelli
b08f5de219
MNT Fix github action for deploying userdocs 2022-08-23 15:19:56 +12:00
Guy Sartorelli
a93fedafff
Merge pull request #1163 from creative-commoners/pulls/5/userhelp-fix
DOC Correct title for userhelp
2022-08-22 11:05:37 +12:00
Maxime Rainville
0a53cef94f DOC Correct title for userhelp 2022-08-20 21:03:34 +12:00
Steve Boyd
4ea877c7e3 Merge branch '5.13' into 5 2022-08-02 19:01:57 +12:00
Steve Boyd
704201bb34 Merge branch '5.12' into 5.13 2022-08-02 19:01:43 +12:00
Guy Sartorelli
3532127f25
Merge pull request #1161 from creative-commoners/pulls/5.12/standardise-modules
MNT Standardise modules
2022-08-02 15:50:27 +12:00