gitlab-org--gitlab-foss/app/services
Douwe Maan 4516f40dfe Merge branch 'decouple-member-notification' into 'master'
Decouple membership and notifications

This allow you to have notification setting per project even if you are member of group. 
It also creates background for having notification settings in project you are not member of. 


- [x] Make it work
- [x] Migrations
- [x] CHANGELOG
- [x] More tests
- [x] API

For #3359 

After this merge request there is still some work to be done: 

* create migration that remove duplicates in notification settings table and create uniq index (8.8 probably)
* remove notification_level field from Member model in 9.0
* make proper API for notification settings
* use `MemberCreateService` instead of Member#after_create callback for creating notification settings (after #14709) 
* maybe more tests 


Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>

See merge request !3421
2016-04-12 16:39:40 +00:00
..
ci add 'triggers' keyword to gitlab-ci.yml 'only' and 'except' fields to allow control over whether triggers will cause jobs to run 2016-03-15 09:27:33 -04:00
commits Check push permissions only when pushing directly to target branch. 2016-03-17 15:16:34 -05:00
files Automatically fork a project when not allowed to edit a file. 2015-12-18 10:03:34 +01:00
groups Address feedback 2016-03-22 00:09:20 +01:00
issues Check if GFM rewriters need rewrite internally 2016-03-30 10:44:18 +02:00
merge_requests Merge branch 'master' into feature/issue-move 2016-03-20 11:01:08 +01:00
milestones Implement review suggestions 2016-04-07 10:59:24 -03:00
notes Delete notes via API 2016-04-12 14:24:05 +02:00
oauth2 Rubocop: no trailing newlines 2015-02-02 21:53:27 -08:00
projects Flush repository cache before import project data 2016-04-04 19:35:39 -03:00
search Restrict access to confidential issues on search results 2016-03-17 20:55:59 -03:00
audit_event_service.rb Audit log for user authentication 2015-07-06 12:36:08 +03:00
base_service.rb Tweaks, refactoring, and specs 2016-03-20 21:04:07 +01:00
compare_service.rb Use Gitlab::Git::DiffCollections 2016-03-03 18:38:44 +01:00
create_branch_service.rb Fix duplicated branch creation/deletion Web hooks/service notifications when using Web UI 2016-02-09 06:22:49 -08:00
create_commit_builds_service.rb Cleanup CiCommit and CiBuild 2016-03-14 13:20:35 +01:00
create_release_service.rb Allow editing a release in API via PUT method 2015-11-21 22:34:53 +01:00
create_snippet_service.rb Tweaks, refactoring, and specs 2016-03-20 21:04:07 +01:00
create_spam_log_service.rb Support Akismet spam checking for creation of issues via API 2016-02-02 11:25:44 -02:00
create_tag_service.rb Generate builds when creating tag using web interface 2016-01-11 12:37:27 +01:00
delete_branch_service.rb Fix duplicated branch creation/deletion Web hooks/service notifications when using Web UI 2016-02-09 06:22:49 -08:00
delete_tag_service.rb Refactor release code a bit 2015-11-09 15:30:50 +01:00
delete_user_service.rb Clearify who deletes the user 2016-03-15 21:09:25 +01:00
destroy_group_service.rb Add ability to delete a user with force 2016-03-15 21:09:25 +01:00
event_create_service.rb Create a "destroyed Milestone" event and keep Milestone events around in the DB 2015-09-15 05:51:11 -07:00
git_hooks_service.rb Raise the exception from #execute instead of #run_hook. #1156 #3069 2015-12-03 09:39:15 -05:00
git_push_service.rb Only update main language if it is not already set 2016-04-06 14:56:40 -05:00
git_tag_push_service.rb Cache & flush tag/branch counts 2016-03-08 18:19:40 +01:00
gravatar_service.rb Add support for HiDPI displays in gravatar service 2015-09-26 20:53:16 +02:00
issuable_base_service.rb Improving the original label-subscribing implementation 2016-03-15 18:22:02 +01:00
notification_service.rb Reuse User#notification_settings_for when it's possible 2016-04-11 20:50:26 -03:00
repair_ldap_blocked_user_service.rb Code style fixes and some code simplified 2016-01-08 16:26:04 -02:00
system_hooks_service.rb Exclude projects pending deletion from all results 2016-03-31 20:20:18 +02:00
system_note_service.rb Added & use Gitlab::Routing for URL helpers 2016-04-01 11:13:48 +02:00
test_hook_service.rb Added X-GitLab-Event header for web hooks 2015-05-08 16:49:03 +03:00
todo_service.rb Merge branch 'snippets-with-comments-cause-a-500-when-they-show-up-in-search-results-14764' into 'master' 2016-04-01 08:38:16 +00:00
update_release_service.rb Allow editing a release in API via PUT method 2015-11-21 22:34:53 +01:00
update_snippet_service.rb Tweaks, refactoring, and specs 2016-03-20 21:04:07 +01:00