Commit Graph

18 Commits

Author SHA1 Message Date
Lukas Erni 0b61d1a3bb not remove Submissions, use setTitle 2023-04-26 07:26:33 +02:00
Lukas Erni 0d7f7ed6d0 Submission tab translatable 2023-04-19 15:48:24 +02: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
Steve Boyd 792d61fded ENH PHP 8.1 compatibility 2022-04-13 13:52:56 +12:00
Michal Kleiner 81c21ea463
Merge pull request #1102 from lerni/OnCompleteMessage-in-populateDefaults()
ENH Move OnCompleteMessage from $defaults to populateDefaults() for translations
2022-03-17 10:37:22 +13:00
Lukas Erni 663bfa6952 ENH move OnCompleteMessage from $defaults to populateDefaults() for translations
add double backslashes, fix typo as requested by michalkleiner
2022-03-16 13:05:37 +01:00
Lukas a97fb570c3
FIX strings instead of __CLASS__ for translation keys in trait (#1101)
* strings instead of __CLASS__ for translation keys in trait

* use double backslashes for FQN in _t()

* amend missing for double backslashes for FQN in _t()
2022-03-16 14:48:41 +13:00
Maxime Rainville 24e770e00d BUG Remove old boostrap 3 CSS class 2020-09-16 11:38:33 +12:00
Maxime Rainville dc5ce0000a BUG Fix confirm upload form modal on Elemental block 2020-06-11 15:17:13 +12:00
Remy Vaartjes d489271197 Disable add action in Submissions detail form 2019-07-08 14:49:00 +02:00
Remy Vaartjes f682e74f44 Enable 4.4 better button functionality 2019-07-08 14:26:58 +02:00
Guy Marriott 9d311ca02b
FIX Support new arguments for better buttons support 2019-05-02 14:48:19 +12:00
Daniel Hensby e4871b880c
Merge branch '4.5' into 5.0 2018-05-09 14:01:17 +01:00
Dylan Wagstaff 48bf46215e FIX stop form items double duplicating (#728)
When calling `duplicate` on a form, a form field, or suchlike, the results
would be that all related items to the thing being duplicated (such as
fields for a form, or options to an editabledropdown) would be duplicated
_twice_; ie. where a form had two fields, it's new duplicate would have
four (each one occurring twice). We have stopped this in a backwards
compatible way - that is the bug was introduced with core 4.1, and this
change leaves the userforms module compatible with 4.0.
2018-03-05 14:31:33 +13:00
Will Rossiter e82dc5f121 Update default email_template_directory
Also if the overridded directory is empty - don’t display the template dropdown as this will cause a validation error preventing the user from saving the page.
2017-12-04 23:27:12 +13:00
Robbie Averill 9c15c74f7b Convert to vendor module, remove secure assets suggestion 2017-10-18 22:18:46 +13:00
Will Rossiter 3ac2ac55b5 Fallback permission checking 2017-10-16 14:24:51 +13:00
Will Rossiter 0287726337 NEW Add ability to run a UserForm on any DataObject via traits. 2017-10-09 15:05:41 +13:00