Skip to content
Snippets Groups Projects
  1. Oct 09, 2013
  2. Aug 19, 2013
  3. Aug 15, 2013
  4. May 05, 2013
  5. Apr 03, 2013
  6. Jan 03, 2013
  7. Nov 18, 2012
  8. 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
  9. Oct 05, 2012
  10. Sep 29, 2012
  11. Sep 26, 2012
  12. Sep 02, 2012
  13. Aug 26, 2012
  14. Aug 20, 2012
  15. Jul 19, 2012
  16. Jun 22, 2012
  17. Jun 20, 2012
  18. Jun 13, 2012
  19. Mar 04, 2012
  20. Feb 29, 2012
  21. Feb 28, 2012
  22. Dec 17, 2011
  23. Oct 27, 2011
  24. Oct 13, 2011
  25. Oct 09, 2011
  26. Oct 08, 2011
Loading