summaryrefslogtreecommitdiff
path: root/app/models/concerns/subscribable.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix N+1 for notification recipients in subscribersSean McGivern2018-10-041-3/+5
|
* Enable more frozen string in app/models/**/*.rbgfyoung2018-08-071-0/+2
| | | | Partially addresses #47424.
* Load participants asyncEric Eastwood2017-10-311-0/+2
|
* Added Cop to blacklist the use of `dependent:`Yorick Peterse2017-07-061-1/+1
| | | | | | | | This is allowed for existing instances so we don't end up 76 offenses right away, but for new code one should _only_ use this if they _have_ to remove non database data. Even then it's usually better to do this in a service class as this gives you more control over how to remove the data (e.g. in bulk).
* Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-9/+9
|
* Allow users to subscribe to a group label at group or project levelDouglas Barbosa Alexandre2016-11-171-4/+23
|
* Allow subscriptions to be created without a projectDouglas Barbosa Alexandre2016-11-171-6/+15
|
* Remove default value for `project` argument on subscribable concernDouglas Barbosa Alexandre2016-11-171-17/+15
|
* Refactoring Subscribable concern to accept a projectDouglas Barbosa Alexandre2016-11-171-16/+22
|
* Add API endpoints for un/subscribing from/to a labelAhmad Sherif2016-05-121-0/+6
| | | | Closes #15638
* Improving the original label-subscribing implementationRémy Coutable2016-03-151-12/+13
| | | | | | | 1. Make the "subscribed" text in Issuable sidebar reflect the labels subscription status 2. Current user mut be logged-in to toggle issue/MR/label subscription
* Original implementation to allow users to subscribe to labelsTimothy Andrew2016-03-151-0/+43
1. Allow subscribing (the current user) to a label - Refactor the `Subscription` coffeescript class - The main change is that it accepts a container, and conducts all DOM queries within its scope. We need this because the labels page has multiple instances of `Subscription` on the same page. 2. Creating an issue or MR with labels notifies users subscribed to those labels - Label `has_many` subscribers through subscriptions. 3. Adding a label to an issue or MR notifies users subscribed to those labels - This only applies to subscribers of the label that has just been added, not all labels for the issue.