Commit Graph

5781 Commits (f3d838c9dd732dafb7f2b837e9e43fa782856e77)

Author SHA1 Message Date
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
jwollert 32b9bd279b clean up copy forms: 11 years ago
jwollert 7c2836dd7e authorize before copy actions 11 years ago
jwollert b6fec9d487 rudimentary form for copying inside project settings 11 years ago
jwollert aeedcb929b prettier links for copying projects 11 years ago
jwollert 72af565342 split post and get sides of project controllers copy action and reuse it across admin/settings 11 years ago
jwollert 913536d8ef split project form into partials and get some indentation goin' 11 years ago
jwollert 08017b1e53 project copy button in project settings 11 years ago
Markus Kahl fea257ddf2 only change API ProjectController's accept_key_auth_actions 11 years ago
Markus Kahl 486452e05a enabled key auth for custom_field actions 11 years ago
Till Breuer 2398ab56de Ensure a wiki menu item has to be replaced when it is the last one... 11 years ago
Till Breuer e3a9c8c49d Do nothing when replacing a wiki menu item with itsself 11 years ago
Till Breuer 97d22b629b Discard specific css for wiki menu item replacement hint 11 years ago
Till Breuer c9d8aa5e08 Fix error on double click when replacing main wiki menu items 11 years ago
Till Breuer 8871c65421 Add explanation text to wiki menu item select 11 years ago
Till Breuer e266af9deb Also include the current wiki page and its children for main item replacement 11 years ago