Commit Graph

358 Commits (937f6e65b63b9e19d94fa8b7ea7ad752ef8284c9)

Author SHA1 Message Date
Alex Coles 67c84961a0 Migrate model has_many conditions to lambda 10 years ago
Alex Coles ecfa05fad9 Rename Project.public scope to public_projects 10 years ago
Alex Coles 2c741c4b7f Prune dead scope from Project 10 years ago
Alex Coles 5557f58e80 Migrate model scopes to use lambda/block 10 years ago
Alex Coles 064d66449a Migrate AR finder/query methods in models 10 years ago
Alex Coles df51b6ed99 Fix syntax (w/Rubocop) in (Rails) models 10 years ago
Alex Coles 57618b25ec Replace dynamic finder usages with #find_by, etc. 10 years ago
Alex Coles 8edff9831c Pull up constants, associations into Principal 10 years ago
Alex Coles 0c56b72d2a Work-around Project nested set errors on PG 10 years ago
Jens Ulferts 65de31a7c7 use tabular form builder for project module selection 10 years ago
Jens Ulferts 8a5beaa7cf user providable in visible scope 10 years ago
Alex Coles e0191e759c Update year in copyright header to 2015 10 years ago
Hagen Schink 92f5163c6f Unify possible assignees/responsibles behavior 10 years ago
Alex Coles 8f84759811 Ensure Project#to_param always returns a String 10 years ago
Jens Ulferts 8b3a1cf47d rewrite scopes to avoid 'conditions' 10 years ago
Alex Coles 1d1ec0ef37 Prefer #map over #collect in (Rails) models 10 years ago
Alex Coles dabd7ba88a Fix bad rubocop auto-correct affecting procs 10 years ago
Alex Coles 6fe9535b1f Fix syntax (w/Rubocop) in (Rails) models 10 years ago
Alex Coles 721101ed25 Use 1.9+ Hash syntax in (Rails) models 10 years ago
Ion Biziiac c88d2f2f4b Fix Copy project: Always error message "subproject of invalid" 10 years ago
Alex Coles 0b941955ce Fully qualify ::Type class constant 10 years ago
Ion Biziiac 033b9c49ac Fix cascade deletion of membership associations on project destroy 10 years ago
Alex Coles d6d7ff2414 Remove Franglais in Version#*percent method names 11 years ago
Alex Coles d872d91d0d Fix typos, spelling in model comments 11 years ago
Johannes Wollert 8b096975fe updates copyright headers 11 years ago
Sebastian Schuster c0f7acafa1 Implemented treating assignees and responsibles differently so there 11 years ago
Johannes Wollert 72aa607e72 unify projects type rendering and behavior 11 years ago
Johannes Wollert 0f244ea0d2 catch all RecordNotFound errors when destroying work packages in a project 11 years ago
Philipp Tessenow 8173e3fc31 refactor pagination model. remove duplicated code and scopes 11 years ago
jwollert 87f7eb50bc move project copy stuff to its own module so it doesn't clutter project.rb 11 years ago
jwollert 33c82556a9 reload the whole issue tree before attempting to copy relations 11 years ago
jwollert 84c27e82f7 fixes bug in copying issue relations 11 years ago
jwollert d261e41a63 fixes bug in copying timelines with non-existant options 11 years ago
jwollert 9e07a6aae3 reload stuff gotten from map, because issues might have been moved around in the tree 11 years ago
jwollert 1d83bdc4c0 more elegant way to specfify which stuff to copy and in what order 11 years ago
jwollert 68ab5e3fc0 enable copying of Reportings 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 1569fea11f enable copying of timelines across projects 11 years ago
jwollert 406b432e96 fixes wiki copying 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 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 7088ae0fb4 put all safe attributes inside a single call 11 years ago