Menu

Commit [r2704]  Maximize  Restore  History

Added the ability to copy a project in the Project Administration panel.

* Added Copy project button.
* Added Project#copy_from to duplicate a project to be modified and saved by the user
* Added a ProjectsController#copy based off the add method
** Used Project#copy_from to create a duplicate project in memory
* Implemented Project#copy to copy data for a project from another and save it.
** Members
** Project level queries
** Project custom fields
* Added a plugin hook for Project#copy.

#1125 #1556 #886 #309

edavis10 2009-05-03

changed /trunk/app/controllers/projects_controller.rb
changed /trunk/app/models/project.rb
changed /trunk/app/views/admin/projects.rhtml
added /trunk/app/views/projects/copy.rhtml
changed /trunk/config/locales/en.yml
changed /trunk/test/fixtures/issues.yml
changed /trunk/test/fixtures/queries.yml
changed /trunk/test/functional/projects_controller_test.rb
changed /trunk/test/unit/project_test.rb
/trunk/app/controllers/projects_controller.rb Diff Switch to side-by-side view
Loading...
/trunk/app/models/project.rb Diff Switch to side-by-side view
Loading...
/trunk/app/views/admin/projects.rhtml Diff Switch to side-by-side view
Loading...
/trunk/app/views/projects/copy.rhtml Diff Switch to side-by-side view
Loading...
/trunk/config/locales/en.yml Diff Switch to side-by-side view
Loading...
/trunk/test/fixtures/issues.yml Diff Switch to side-by-side view
Loading...
/trunk/test/fixtures/queries.yml Diff Switch to side-by-side view
Loading...
/trunk/test/functional/projects_controller_test.rb Diff Switch to side-by-side view
Loading...
/trunk/test/unit/project_test.rb Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.