Commit Graph

182 Commits (e0ba061735bc1e9aae167126573fa328a05f8f76)

Author SHA1 Message Date
Martin Linkhorst a89e22e2dc remove attachments before destroying the issue to avoid getting a Activerecord::StaleObjectError 12 years ago
Martin Linkhorst c17ffccfe2 REVIEW: update to the new AR api. hint: we need to update all :include => to fix all bugs since only a few of them are testiest 12 years ago
Martin Linkhorst d9f422e6b0 use #joins instead of #includes since includes does seem to have a bug when combining with #maximum, #sum etc. 12 years ago
Martin Linkhorst d616d0574e DEPRECATION FIX: use errors.add(:base, msg) instead of errors.add_to_base(:msg) 12 years ago
Martin Linkhorst 3419564990 DEPRECATION FIX: use save(:validate => false) instead of save(false) 12 years ago
Martin Linkhorst 71fe49e862 DEPRECATION FIX: use validate :method_name instead of overwriting the validate method 12 years ago
Martin Linkhorst b6b27b904c DEPRECATION FIX: use after_initialize :method_name instead of overwriting the after_initialize method 12 years ago
Jens Ulferts d088bbd3ae resourcifies issue_relations 12 years ago
Jens Ulferts 99bc0daaf9 replaces awesome_nested_set#leaf? with a query for whether a parent_issue is present 12 years ago
Martin Linkhorst b6aac286d4 take the root Query class rather than active records. also re-allow passing an order to acts_as_nested_set. all to make the tests happy 12 years ago
Martin Linkhorst b49e0207a5 fix nested issues tests (1 test still fails from time to time :() 12 years ago
Jens Ulferts 3e633fc27e renames all named_scopes to scopes 12 years ago
Jens Ulferts 0c996d9768 set parent_issue_id to nil if no cross project issue relations are allowed but would result after move 12 years ago
Jens Ulferts 7d76b8f53d validates an issue with parents in a different project depending on whether cross project relationships are allowed 12 years ago
Romano Licker 73c087e19c reset author to current user when copying an issue 13 years ago
Romano Licker 44f48962bf automatically fill the parent_id field when duplicating an issue 13 years ago
jwollert d9f6b52029 protect relations to users (assigned_to, author_id etc.) in models, too 13 years ago
Martin Linkhorst 337561261a some documentation regarding mass assignment, show full stack trace in console 13 years ago
Martin Linkhorst 696ed97dcd fix: use the old style #force_attributes 13 years ago
Martin Linkhorst 12bb66c264 refactor dealing with mass assignment 13 years ago
Martin Linkhorst 42bc728288 fix to work with protected :project_id 13 years ago
Martin Linkhorst 1fce5b6a8f added attr_protected calls to protect mass assignment of :project_id through a view 13 years ago
jwollert 934d22ec67 protect relations to users (assigned_to, author_id etc.) in models, too 13 years ago
Martin Linkhorst 4e9c17fca8 some documentation regarding mass assignment, show full stack trace in console 13 years ago
Martin Linkhorst bfc4a441f4 fix: use the old style #force_attributes 13 years ago
Martin Linkhorst 7b34ebdc47 refactor dealing with mass assignment 13 years ago
Martin Linkhorst c7e130f010 fix to work with protected :project_id 13 years ago
Martin Linkhorst cc74c1e998 added attr_protected calls to protect mass assignment of :project_id through a view 13 years ago
Martin Linkhorst fcac419324 better locking info. issue #25606 13 years ago
Romano Licker d29112203b fixes recreating initial journals 13 years ago
Romano Licker 3506a0327f journalize parent_id on issues 13 years ago
Felix Schäfer 12bbcd0966 Allow subtasks to cross project boundaries. 13 years ago
Holger Just 91070236db Set source encoding to UTF-8 13 years ago
Holger Just c57c598204 Fix trailing whitespace 13 years ago
Eric Davis 32f92a5058 [#501] Ugly patch to stop creating journals when only line endings change 14 years ago
Eric Davis bfba5e2151 [#441] Journals should touch their journaled to update updated_on/at fields 14 years ago
Holger Just 07185fb169 [#436] Remove trailing whitespace 14 years ago
Eric Davis 99507a0391 [#197] Upgrade the copyright in the code files 14 years ago
Eric Davis e131c3b531 [#197] Remove old copyrights 14 years ago
Eric Davis a4f7629f1f [#400] Fix some tests broken by 6656103 14 years ago
Felix Schäfer 66561031eb [#400] Fix the event types (icons on activity and search views). 14 years ago
Eric Davis 1f8828838e [#123] Attachment changes need to be prefixed 14 years ago
Jean-Philippe Lang 9fa13cf4b8 Save queries. 14 years ago
Jean-Philippe Lang f6d059485d Adds css classes to parent/child issues (#7986). 14 years ago
Jean-Philippe Lang 7c2a3dc57d Adds Issue#visible_condition to build issue visibility statement. 14 years ago
Jean-Philippe Lang 1bf4f52de5 Check for a valid time entry if comments have been entered when updating an issue (#7581). 14 years ago
Jean-Philippe Lang 93a4f621f0 Prevent SystemStackError on Issue#all_dependent_issues with mutiple circular dependencies (#7320). 14 years ago
Jean-Philippe Lang af34ecdb90 Code cleanup. 14 years ago
Jean-Philippe Lang c9497f39b8 Keep track of issue description changes (#746). 14 years ago
Jean-Philippe Lang cc2d6f3605 Allow additional workflow transitions for issue author and assignee (#2732). 14 years ago