Commit Graph

5630 Commits (832825f087fcdbe124be2aa1ae8cc3f7817b8581)

Author SHA1 Message Date
jwollert 92bbd993dc move project copy actions to its own controller 11 years ago
jwollert c0e80e861a Refactor the way a defaut wiki menu item gets created: 11 years ago
jwollert 5610e6573b define the order in which associations are copied: 11 years ago
jwollert aa39d77afa strategically reload the model to copy and be more explicit about the wiki we use 11 years ago
jwollert a0d21b4715 fixes membership copying: insert into memberships association instead of members because we can get groups as well 11 years ago
jwollert 38fdc192c3 update copyright headers 11 years ago
jwollert 1b16239efe get rid of project instance variable in our partials and render the same possible associations for copying in both settings and admin copying 11 years ago
jwollert b56c68ae5f reenable finding the right project on copy action 11 years ago
jwollert 1569fea11f enable copying of timelines across projects 11 years ago
jwollert 13209f6589 use proper name for dependencies, so we don't confuse it with reportings 11 years ago
jwollert 406b432e96 fixes wiki copying 11 years ago
jwollert 8c1bf368cd gets custom field copying to work, moves partials around a bit 11 years ago
jwollert 1cfaf5aa55 make hidden field partial handle 'false' values as expected 11 years ago
jwollert 3d6c8de390 fix broken identifier updating 11 years ago
jwollert bda66aa5d4 get types to work in copying from settings and use the right instance for copying 11 years ago
jwollert ae90151c83 no need to copy the attributes of @project in our controller, as we can just use @project to build the form 11 years ago
jwollert b6a53d21f7 refactor copy process out of project model 11 years ago
jwollert 0e4315ccc1 makes it possible to copy project associations across projects 11 years ago
jwollert 460f1a0b0a project form gets its project as a local now, instead of using an instance variable; 11 years ago
jwollert 2ee6420b4c make url in settings pretty again 11 years ago
jwollert a5cd72fdfb check for private methods to copy stuff, too 11 years ago
jwollert fc5831d5d1 don't limit copying stuff to associations 11 years ago
jwollert 0a23e16a85 fixes blacklisting inside Project#copy_attributes 11 years ago
jwollert d1189d0c80 make Project#copy extensible and throw away its whitelist 11 years ago
jwollert 7aa19211ed updates doc on Project#copy 11 years ago
jwollert 44fbb90ad2 rename Project#copy_from to #copy_attributes to distinguish from Project#copy 11 years ago
jwollert 2189735fa3 use the proper instance variable to make sure we use the right object in our project copy forms 11 years ago
jwollert 7088ae0fb4 put all safe attributes inside a single call 11 years ago
jwollert 7fe1c44994 allow copying of parent_id as well 11 years ago
jwollert f66b933315 adopt checkbox partial inside admin copy project form as well 11 years ago
jwollert 20d05c701d set prettier ids for our checkboxes 11 years ago
jwollert 062f87b3f8 rename admin/settings distinction parameter to 'coming_from' to avoid confusion 11 years ago
jwollert 547264af1c set the enabled module names 11 years ago
jwollert 1ac88ff462 set the project to copy from 11 years ago
jwollert adb4a11c11 indentation 11 years ago
jwollert 43ed467f54 find the right project to copy from in copy action 11 years ago
jwollert 97214c8a59 render only input tags for those attributes we want to change when copying a project, move the rest to hidden fields 11 years ago
jwollert dd2a52011a move copy settings checkbox rendering to a partial 11 years ago
jwollert 3575fea530 move responsible_id form attribute to its own partial 11 years ago
jwollert f2e06cf8b5 move project_type_id form attribute to its own partial 11 years ago
jwollert a6f73603c0 move custom_fields form attribute to its own partial 11 years ago
jwollert 7653492994 move is_public form attribute to its own partial 11 years ago
jwollert e2998c4695 move homepage form attribute to its own partial 11 years ago
jwollert 304dcb530b move identifier form attribute to its own partial 11 years ago
jwollert b8e3fca3e3 move description form attribute to its own partial 11 years ago
jwollert f60be58390 move name form attribute to its own partial 11 years ago
jwollert 6fc3db7a73 move summary form attribute to its own partial 11 years ago
jwollert 81adf7b9a9 move parent_id form attribute to its own partial 11 years ago
jwollert d584317ccc forums and work packages do not get copied by default 11 years ago
jwollert 9a820e67fa rearrange copy parameters and test 'em for presence 11 years ago