gitlab-org--gitlab-foss/spec/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 specs for build status helper class 2016-02-18 10:52:57 +01:00
groups Fix specs 2016-03-20 23:26:58 +01:00
issues Improve specs for issue move service 2016-03-31 09:47:05 +02:00
merge_requests Improving the original label-subscribing implementation 2016-03-15 18:22:02 +01:00
milestones Tag service specs 2015-12-09 11:55:49 +01:00
notes Adapt tests to new testing guidelines 2016-04-12 15:43:29 +02:00
projects Flush repository cache before import project data 2016-04-04 19:35:39 -03:00
create_commit_builds_service_spec.rb Don't create CI status for refs that doesn't have .gitlab-ci.yml, even if the builds are enabled 2015-12-17 16:33:47 +01:00
create_release_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
create_snippet_service_spec.rb Fix more specs 2016-03-20 23:09:33 +01:00
delete_tag_service_spec.rb Cache & flush tag/branch counts 2016-03-08 18:19:40 +01:00
delete_user_service_spec.rb Specs for the DeleteUserService 2016-03-15 22:19:51 +01:00
destroy_group_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
event_create_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
git_hooks_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
git_push_service_spec.rb Only update main language if it is not already set 2016-04-06 14:56:40 -05:00
git_tag_push_service_spec.rb web hooks to webhooks 2016-03-10 14:48:29 -05:00
notification_service_spec.rb Reuse User#notification_settings_for when it's possible 2016-04-11 20:50:26 -03:00
repair_ldap_blocked_user_service_spec.rb Code style fixes and some code simplified 2016-01-08 16:26:04 -02:00
search_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
system_hooks_service_spec.rb Merge branch 'add_username_to_user_system_hooks' of https://github.com/tbeadle/gitlabhq 2016-01-13 10:12:30 +01:00
system_note_service_spec.rb Merge branch 'master' into feature/issue-move 2016-03-19 18:50:15 +01:00
test_hook_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
todo_service_spec.rb Mentions on confidential issues doesn't create todos for non-members 2016-03-30 18:41:21 -03:00
update_release_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
update_snippet_service_spec.rb Fix more specs 2016-03-20 23:09:33 +01:00