Skip to content
Snippets Groups Projects
  1. Feb 20, 2013
  2. Jan 09, 2013
  3. Jan 03, 2013
  4. Jan 02, 2013
  5. Dec 28, 2012
  6. Dec 20, 2012
  7. Dec 14, 2012
  8. Dec 07, 2012
  9. Nov 27, 2012
  10. Nov 21, 2012
  11. Nov 24, 2012
  12. Nov 23, 2012
  13. Nov 22, 2012
  14. Oct 17, 2012
  15. Oct 13, 2012
  16. Oct 11, 2012
  17. Oct 10, 2012
    • Robb Kidd's avatar
      Separate observing of Note and MergeRequests · 16ceae89
      Robb Kidd authored
      * 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.
      16ceae89
  18. Sep 14, 2012
  19. Sep 11, 2012
  20. Sep 09, 2012
  21. Sep 07, 2012
  22. Sep 03, 2012
  23. Sep 02, 2012
  24. Aug 29, 2012
  25. Aug 28, 2012
  26. Aug 26, 2012
Loading