- The group settings - and renames the group to a new unique name
- Views/collections - the same way we copy them now so that copied files
end up in 'viewfiles' folder.
- The group homepage by copying the old homepage like a normal
page then move the blocks from it to the new homepage and then deleting the
duplicated homepage.
- Adding copy buttons to the admin/groups list, the my groups list,
and group homepage.
Still to do:
Make sure we don't duplicate more than one copy of a journal if the
journal is within more than one page/block
behatnotneeded - behat file to come later
Change-Id: Ibd74d1bdf76c3488d4af3735dba9c7b5f773e2f7
Signed-off-by: Robert Lyon <email address hidden>
Reviewed: https:/ /reviews. mahara. org/6607 /git.mahara. org/mahara/ mahara/ commit/ 33b484bf7207f99 e7bd3c35e8a4a3b d498dc66f2
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit 33b484bf7207f99 e7bd3c35e8a4a3b d498dc66f2
Author: Robert Lyon <email address hidden>
Date: Wed May 4 14:47:56 2016 +1200
Bug 1594579: Allowing a group to be duplicated
This patch does the copying of:
- The group settings - and renames the group to a new unique name
- Views/collections - the same way we copy them now so that copied files
end up in 'viewfiles' folder.
- The group homepage by copying the old homepage like a normal
page then move the blocks from it to the new homepage and then deleting the
duplicated homepage.
- Adding copy buttons to the admin/groups list, the my groups list,
and group homepage.
Still to do:
Make sure we don't duplicate more than one copy of a journal if the
journal is within more than one page/block
behatnotneeded - behat file to come later
Change-Id: Ibd74d1bdf76c34 88d4af3735dba9c 7b5f773e2f7
Signed-off-by: Robert Lyon <email address hidden>