30 Oct, 2012
1 commit
10 Oct, 2012
1 commit
-
* Move is_assigned? and is_being_xx? methods to IssueCommonality This is behavior merge requests have in common with issues. Moved methods to IssueCommonality role. Put specs directly into merge_request_spec because setup differs for issues and MRs specifically in the "closed" factory to use. * Add MergeRequestObserver. Parallels IssueObserver in almost every way. Ripe for refactoring. * Rename MailerObserver to NoteObserver With merge request observing moved out of MailerObserver, all that was left was Note logic. Renamed to NoteObserver, added tests and updated application config for new observer names. Refactored NoteObserver to use the note's author and not rely on current_user. * Set current_user for MergeRequestObserver IssueObserver and MergeRequestObserver are the only observers that need a reference to the current_user that they cannot look up on the objects they are observing.
09 Oct, 2012
1 commit
27 Sep, 2012
2 commits
26 Sep, 2012
1 commit
08 Sep, 2012
1 commit
17 Aug, 2012
1 commit
10 Aug, 2012
1 commit
-
Didn't bother with files in db/, config/, or features/
08 Aug, 2012
2 commits
-
Any associations, validations, delegates, scopes and methods that were exactly the same in both Issue and MergeRequest models have been moved to a new IssueCommonality module (role) that gets included by each class. There was actually quite a bit of duplication, because MergeRequests are basically just specialized Issues.
27 Jun, 2012
2 commits
26 Jun, 2012
2 commits
20 Jun, 2012
4 commits
-
Must have snuck in during one of the multiple rebases while observers were being refactored.
-
Update IssueObserver to create a Note on the issue its being closed.
07 Jun, 2012
1 commit
14 Apr, 2012
1 commit
09 Apr, 2012
1 commit
25 Mar, 2012
1 commit
17 Mar, 2012
1 commit
14 Mar, 2012
1 commit
07 Mar, 2012
1 commit
19 Dec, 2011
1 commit
18 Dec, 2011
2 commits
28 Nov, 2011
1 commit
24 Nov, 2011
1 commit
16 Nov, 2011
1 commit
15 Nov, 2011
1 commit
11 Nov, 2011
1 commit
03 Nov, 2011
1 commit
27 Oct, 2011
1 commit
26 Oct, 2011
1 commit
-
* Remove trailing whitespace * Converts hard-tabs into two-space soft-tabs * Remove consecutive blank lines
25 Oct, 2011
1 commit
17 Oct, 2011
1 commit
15 Oct, 2011
1 commit