Douglas Barbosa Alexandre
93a10f17e0
Reuse User#notification_settings_for when it's possible
2016-04-11 20:50:26 -03:00
Dmitriy Zaporozhets
86418c475b
Remove useless Notification model
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2016-03-30 10:44:20 +02:00
Dmitriy Zaporozhets
08b3d7f6ef
Refactor notification helper and fix notification service
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2016-03-30 10:44:20 +02:00
Dmitriy Zaporozhets
b8f3843790
Update NotificationService to use NotificationSettings instead of membership
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2016-03-30 10:44:20 +02:00
Douglas Barbosa Alexandre
0a8c9f7212
Restrict notifications for confidential issues
2016-03-22 15:29:57 -03:00
Grzegorz Bizon
15d32b6a11
Add new notifications for issue move action
...
[ci skip]
2016-03-17 07:39:16 +01:00
Grzegorz Bizon
a23f0e8c9e
Reuse existing issue services when moving issue
2016-03-17 07:39:16 +01:00
Grzegorz Bizon
93812f2594
Add initial notifications and hooks for issue move
2016-03-17 07:39:16 +01:00
Rémy Coutable
54ec7e9599
Improving the original label-subscribing implementation
...
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
2016-03-15 18:22:02 +01:00
Timothy Andrew and Rémy Coutable
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
Rémy Coutable
30a4f4c9e0
This will ensure previous assignee gets an email even if his notif level is "on mention"
2016-01-15 17:57:45 +01:00
Rémy Coutable
51266f41b3
Consider re-assign as a mention from a notification point of view
...
This will ensure new assignee gets an email even if his notif level is
"on mention".
2016-01-15 15:28:16 +01:00
Stan Hu
93096247d8
Don't notify users twice if they are both project watchers and subscribers
...
Closes #4708
2016-01-04 15:01:52 -08:00
Anton Baklanov
caa6851bf5
Fixed duplicated issue note email notifications.
...
Fixes #2560
2015-12-06 01:20:42 +02:00
Valery Sizov
461731f076
fix notification_service specs
2015-11-30 11:21:10 +02:00
Valery Sizov and Valery Sizov
7f214cee74
Migrate mailers to ActiveJob
2015-11-26 17:03:43 +02:00
Valery Sizov
fd2c0fe446
award emoji
2015-11-19 01:25:27 +02:00
Robert Speicher
b1abe90aeb
Merge branch 'adamliesko/gitlab-ce-notification-upon-unassignment' into 'master'
...
Add notification to the former assignee upon unassignment
Replaces !1769
Fixes #3395
See merge request !1818
2015-11-17 18:28:09 +00:00
Douwe Maan
f008b2d2df
Remove extra space
2015-11-17 17:19:31 +01:00
Douwe Maan
8c308e3df6
Don't fail when there was no previous assignee
2015-11-17 16:51:35 +01:00
Dmitriy Zaporozhets
9b0efdb71e
Remove code duplication in notification_service.rb
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-11-17 12:05:35 +01:00
adamliesko
798873ca75
Add notification to the former assignee upon unassignment
2015-11-09 17:26:01 +01:00
Valery Sizov
5b57313051
Note the original location of a moved project when notifying users of the move
2015-10-01 09:54:56 +03:00
Douwe Maan
ea5da30326
Don't notify users without access to the project when they are (accidentally) mentioned in a note.
2015-08-26 17:23:22 -07:00
Douwe Maan
fa9004c78c
Send notification to all participants when MR is merged.
2015-07-30 15:29:43 +02:00
Douwe Maan
6960e83b1e
Fix.
2015-05-15 13:54:41 +02:00
Douwe Maan
fb86ec519c
Move stuff around a bit in NotifictionService.
2015-05-15 12:45:18 +02:00
Douwe Maan
27af24c1c9
No longer needed to pass project argument to commit methods.
2015-04-24 12:29:36 +02:00
Douwe Maan
c644dd01a4
Only send note notifications to people accessible by the note author.
...
Should not make a difference most of the time, since if they're participating in the thread, they have access to the project.
2015-04-15 17:57:31 +02:00
Douwe Maan
959ebbcade
Clean up code around commit mentions.
2015-04-15 17:57:31 +02:00
Douwe Maan
b73ffbd3cb
Fix for snippets.
2015-04-15 17:57:26 +02:00
Douwe Maan
efe9629346
Fix Mention notification level.
2015-04-15 17:57:26 +02:00
Douwe Maan
e50556fcc8
Let invites be declined.
2015-04-14 12:08:11 +02:00
Douwe Maan
717fa136a5
Add emails around invitation.
2015-04-14 12:08:10 +02:00
Douwe Maan
403b727138
Slightly refactor getting note notification recipients.
2015-04-02 10:57:01 +02:00
Stan Hu
fad71576f9
Fix cross references when usernames, milestones, or project names contain underscores.
...
Remove emphasis from system notes to avoid Markdown conflicts in names.
2015-03-19 07:07:30 -07:00
Dmitriy Zaporozhets
9162e34bb0
Merge branch 'issue_subscription' into 'master'
...
Subscription to issue/mr
Fixes #1911 and #1909


See merge request !1702
2015-03-17 16:45:04 +00:00
Valery Sizov
1b437ec349
tests
2015-03-16 21:38:41 +02:00
Valery Sizov
f53683e67f
fix specs
2015-03-16 16:51:49 +02:00
Valery Sizov
410d25c8ca
rename table subscribe; make it polymorfic
2015-03-16 15:22:50 +02:00
Valery Sizov
09ef69b7c8
code folding fix
2015-03-16 13:52:55 +02:00
Valery Sizov
9698b36c1c
Subscription
2015-03-15 19:44:59 +02:00
Douwe Maan
bbdf23261c
Use member instead of tm.
2015-03-15 13:50:38 +01:00
Douwe Maan
31fc73f0a9
Use project_member instead of team_member.
2015-03-15 13:50:38 +01:00
Douwe Maan
99f995755e
Use group_member instead of users_group or membership.
2015-03-15 13:49:41 +01:00
Dmitriy Zaporozhets
de629b4835
Blocking user does not remove him/her from project/groups but show blocked label
2015-03-09 19:02:30 -07:00
Dmitriy Zaporozhets
2b02852507
Add issue/mr participants to reasign events
...
Also refactor NotificationService a bit
2015-01-25 20:31:02 -08:00
Dmitriy Zaporozhets
ce9686e3f5
Include issue/mr participants in list of recipients for close/reopen emails
2015-01-25 19:59:04 -08:00
Steven Burgart
5c80160218
Fix various typos
...
signe-in -> signed-in
go_to_gihub_for_permissions -> go_to_github_for_permissions
descendand -> descendant
behavour -> behaviour
recepient_email -> recipient_email
generate_fingerpint -> generate_fingerprint
dependes -> depends
Cant't -> Can't
wisit -> visit
notifcation -> notification
sufficent_scope -> sufficient_scope?
levet -> level
2015-01-18 10:29:37 -05:00
Dmitriy Zaporozhets
c5ba87a2fb
Merge pull request #8096 from cirosantilli/regex-to-string
...
Replace regex methods by string ones since faster and more readable
2015-01-15 14:37:11 -08:00