Commit Graph

20 Commits (8be10d1e806800e22689b9a12a727e6fb7458132)

Author SHA1 Message Date
Mohamed Wael Khobalatte 0e72ec4243 Move to ruby1-9 syntax once and for all 9 years ago
Mohamed Wael Khobalatte d2349cf819 Delete Redmine's safe_attributes implementation 9 years ago
Alex Coles a6212fb304 Fix syntax (w/Rubocop) in lib code 9 years ago
Alex Coles e0191e759c Update year in copyright header to 2015 10 years ago
Alex Coles 45297523c2 Fix syntax (w/Rubocop) in lib code 10 years ago
Alex Coles e7e488dd44 Remove String#to_a usage from CopyModel 10 years ago
Alex Coles 23d14e94a9 Fix whitespace in lib code 11 years ago
Johannes Wollert 8b096975fe updates copyright headers 11 years ago
jwollert da5b284b1e smarter error handling when something goes wrong copying stuff 11 years ago
jwollert 87f7eb50bc move project copy stuff to its own module so it doesn't clutter project.rb 11 years ago
jwollert f29ef71702 render some error messages for the copied project and its associations 11 years ago
jwollert c6d5bfba7f make CopyModel#not_to_copy handle symbols as well 11 years ago
jwollert 1d83bdc4c0 more elegant way to specfify which stuff to copy and in what order 11 years ago
jwollert 78deed7671 fix method signature of class-side copy method of CopyModel and includes SafeAttributes 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 38fdc192c3 update copyright headers 11 years ago
jwollert 5a4ad0bddd don't need tree in copy_model anymore 11 years ago
jwollert b6a53d21f7 refactor copy process out of project model 11 years ago