gitlab-org--gitlab-foss/spec/factories
Timothy Andrew 0444fa560a Original implementation to allow users to subscribe to labels
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.
2016-03-15 17:25:37 +01:00
..
ci
abuse_reports.rb
appearances.rb
broadcast_messages.rb
commit_statuses.rb
deploy_keys_projects.rb
emails.rb
events.rb
forked_project_links.rb
group_members.rb
groups.rb
identities.rb
issues.rb
keys.rb
label_links.rb
labels.rb Original implementation to allow users to subscribe to labels 2016-03-15 17:25:37 +01:00
lfs_objects.rb
lfs_objects_projects.rb
merge_requests.rb
milestones.rb
namespaces.rb
notes.rb
personal_snippets.rb
project_group_links.rb
project_hooks.rb
project_members.rb
project_snippets.rb
projects.rb
protected_branches.rb
releases.rb
sent_notifications.rb
service_hooks.rb
services.rb
snippets.rb
spam_logs.rb
system_hooks.rb
todos.rb
users.rb