summaryrefslogtreecommitdiff
path: root/spec/observers
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fixed missing current user for issue observerDmitriy Zaporozhets2013-01-021-24/+23
| |
* | Fix api specs. Use id instead pathDmitriy Zaporozhets2013-01-022-17/+5
| |
* | Fixed testsDmitriy Zaporozhets2012-12-211-4/+4
| |
* | Uncommented test observing comment eventDmitriy Zaporozhets2012-12-141-11/+13
| |
* | Fixing requests after namespaces. Fixed admin bug with access to projectDmitriy Zaporozhets2012-11-232-4/+7
| |
* | Deprecate code for Project. Use title and pathDmitriy Zaporozhets2012-11-231-1/+1
| |
* | Remove backward compatibility of factories.Vincent Bonmalais2012-11-136-22/+22
| |
* | Rename NoteObserver methods and clarify thingsRiyad Preukschas2012-10-181-19/+38
| |
* | Fix notification for notes on a wall.Robb Kidd2012-10-131-1/+1
| | | | | | | | | | The fact that Notes on Walls have a noteable_type value of "nil" got lost in the refactoring of the observer.
* | Reduce complexity: replace case statement with method lookup.Robb Kidd2012-10-111-1/+1
| |
* | Separate observing of Note and MergeRequestsRobb Kidd2012-10-102-0/+302
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Comment removedAlex Denisov2012-09-261-1/+0
| |
* | master mergedAlex Denisov2012-09-202-13/+22
|\ \ | |/
| * A bit of test refactoringrandx2012-09-151-20/+21
| |
| * Fix observer testrandx2012-09-121-1/+6
| |
* | Merge 'master' branchAlex Denisov2012-09-101-0/+30
|\ \ | |/
| * User left project event addedAlex Denisov2012-09-101-0/+19
| |
| * User joined project event addedAlex Denisov2012-09-091-0/+8
| |
* | test_after_commit gem addedAlex Denisov2012-09-031-6/+9
| |
* | After commit instead of after_updateAlex Denisov2012-09-031-4/+4
|/
* Notification sends to issue author and assignee if issue being reopened or ↵Alex Denisov2012-08-291-7/+62
| | | | closed
* Use similar interface to access gitoliterandx2012-08-291-0/+34
| | | | | | | | | Simplified gitolite handle logic Stubn over monkeypatch Stub only specific methods in Gitlab:Gitolite Moved grach auth to lib added specs for keys observer removes SshKey role
* Send notification on update UserProject relation (access changed)Alex Denisov2012-08-271-2/+15
|
* Send notifiation on create UserProject relation (access granted)Alex Denisov2012-08-271-0/+27
|
* Move observer specs out of spec/models into spec/observersRobert Speicher2012-08-253-0/+218