summaryrefslogtreecommitdiff
path: root/app/services/event_create_service.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add user activity service and spec. Also added relevant - NOT offline - ↵James Lopez2017-04-141-0/+2
| | | | | | | migration It uses a user activity table instead of a column in users. Tested with mySQL and postgreSQL
* Differentiate the expire from leave eventCallum Dryden2016-10-201-0/+4
| | | | | | | | | | At the moment we cannot see weather a user left a project due to their membership expiring of if they themselves opted to leave the project. This adds a new event type that allows us to make this differentiation. Note that is not really feasable to go back and reliably fix up the previous events. As a result the events for previous expire removals will remain the same however events of this nature going forward will be correctly represented.
* Create a "destroyed Milestone" event and keep Milestone events around in the DBStan Hu2015-09-151-0/+4
| | | | | | | | | | | for posterity. Also fix issue where destroying a Milestone would cause odd, transient messages like "created milestone" or "imported milestone". Add "in" preposition when creating and destroying milestones Closes #2382
* Use PushDataBuilder where applicable.Douwe Maan2015-03-131-20/+0
|
* Use Gitlab::Git helper methods and constants as much as possible.Douwe Maan2015-03-101-4/+4
|
* Add "User created project Namespace / Project" eventDouwe Maan2015-02-131-0/+4
|
* Move all event creation to EventCreateService.Douwe Maan2015-02-131-16/+52
|
* Use EventCreateService for notes, merge requestsDmitriy Zaporozhets2014-03-251-0/+8
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Collect all event creation logic in one place called EventCreateServiceDmitriy Zaporozhets2014-03-251-0/+56
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>