Reviewed:  https://reviews.mahara.org/6607
Committed: 
https://git.mahara.org/mahara/mahara/commit/33b484bf7207f99e7bd3c35e8a4a3bd498dc66f2
Submitter: Robert Lyon ([email protected])
Branch:    master

commit 33b484bf7207f99e7bd3c35e8a4a3bd498dc66f2
Author: Robert Lyon <[email protected]>
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: Ibd74d1bdf76c3488d4af3735dba9c7b5f773e2f7
Signed-off-by: Robert Lyon <[email protected]>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1594579

Title:
  Be able to copy a group

Status in Mahara:
  Fix Committed

Bug description:
  Allow group/site admins to be able to copy a group.

  The things to copy should be:

  1) The group settings of the original group.
  - Will need to adjust the group name similarly to the way copying a page 
works to avoid duplicate group names.

  2) Pages/collections in group. 
  - Will need to be done the same way copying a page/collection works now so 
that any copied files end up in a 'viewfiles' folder in the Files section.

  3) Copying journals like we currently do when they are placed into a page.
  - If a journal is placed into two pages that are copied, it's only copied 
once.

  4) Copying of the old group homepage will need to be done instead of
  using the default homepage created via template.

  5) Copying files like we currently do when they are placed into a
  page.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1594579/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to