-
flonou authored
* Add cloning capacities First implementation of the clone functionality Updating tests to take into account the new action removing missed debug log Fixing code quality issues Fixing test case, we now have one more action possible Simplifying the clone method Adding test for the clone method on various types of items error in test code same ; missing on another line fixing code issues Adding a prepareInputForClone method that's useful for some types (user for example) Fixing the tests typo fixing some code quality issues and tests date to string comparison is not working getting a profile item was not correctly done (was trying to get a user instead) moving prepareInputForClone before the addslashes_deep method Trying to get the date fields comparisons right Still working on date comparison maybe dates can't be compared ? turns out date is not outputing a date but a string ! Fixing the cloning issue Removing clone capability on profiles because rights are automatically unset after add and that might be a security issue updating test case adding more test cases and cloning capabilities working on tests trying to get more information on why a test fails updating cloning Fixing code identation empty line fixing Homogenization of cloning with the new method (removing calls to cloneItem methods for templates instanciation) Handling legacy cloning requests (calling add with id or _oldID set) Fixing code quality Adding @since and @deprecated markers in the phpdoc Updating the CHANGELOG.md file Fix cs fix defition on Dashboard::clone rename method Fixing dashboard test