Commit Graph

14 Commits

Author SHA1 Message Date
Steve Boyd 7a6cd1c211 API Stop using deprecated API 2022-11-29 09:36:08 +13:00
Chris Penny 72a213790e
MNT Update docblocks and import statements (#1044) 2021-02-26 16:13:23 +13:00
Robbie Averill 453a35e114
FIX Ensure duplicated multiple option field is written (has an ID) before duplicating options 2018-03-27 10:34:42 +01:00
Robbie Averill 3e71cf7840
Add tests for duplicating multiple option fields, which should duplicate the options too 2018-03-27 10:34:41 +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
Robbie Averill be0b843981 FIX Remove unused namespace references and add to doc block references 2017-09-05 09:53:35 +12:00
Robbie Averill 5c9417da21 API Implement cascading deletes API for model relations 2017-08-22 16:40:17 +12:00
Robbie Averill cba7c26950 API Move templates to namespaced class locations in the templates folder 2017-08-22 16:40:16 +12:00
Robbie Averill 32586b6363 Run PSR-2 linting 2017-08-22 16:40:16 +12:00
Robbie Averill cd314d3a3c FIX Namespacing errors and method incompatibilities with parent classes 2017-08-22 16:40:16 +12:00
Robbie Averill 46c3c5b517 FIX Syntax error and last of translation namespacing 2017-08-22 16:40:15 +12:00
Robbie Averill 0008ffaf01 API Implement upgrader cleanup, array declaration changes, class injection, rename some models 2017-08-22 16:40:15 +12:00
Robbie Averill eaf374adc5 API Implement SS4 namespacing, add userforms namespaces 2017-08-22 16:40:15 +12:00
Robbie Averill 2e809de2ea Move files into PSR-4 compatible locations 2017-08-22 16:40:15 +12:00