gitlab-org--gitlab-foss/spec
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
..
config
controllers Fix specs for Projects::NotificationSettingsController 2016-04-12 12:57:39 -03:00
factories Reload forked_project_link projects 2016-04-04 21:05:51 +02:00
features Merge branch 'dashboard-filter-milestone' into 'master' 2016-04-11 13:56:29 +00:00
finders Fix specs 2016-03-22 00:23:58 +01:00
fixtures Improve and finish the fallback to the In-Reply-To and References header for the reply-by-email feature 2016-03-25 13:05:15 +01:00
helpers Merge branch 'decouple-member-notification' into 'master' 2016-04-12 16:39:40 +00:00
initializers
javascripts Merge branch 'close-issue-bug' into 'master' 2016-04-05 20:48:00 +00:00
lib Fixed stubbing for Gitlab::Metrics specs 2016-04-11 14:29:38 +02:00
mailers Premailer shouldn't remove script tags from our emails 2016-04-05 17:03:34 -04:00
models Merge branch 'master' into decouple-member-notification 2016-04-08 15:48:09 -03:00
requests Merge branch 'api-delete-note' into 'master' 2016-04-12 14:34:50 +00:00
routing
services Merge branch 'decouple-member-notification' into 'master' 2016-04-12 16:39:40 +00:00
support Merge branch 'patch/fix-markdown-preview-wikis' into 'master' 2016-04-07 00:17:21 +00:00
tasks/gitlab Ensure uploads dir exists when running backup specs 2016-03-30 15:40:49 +02:00
views
workers Migrate Repository#local_branches from gitlab-ee. 2016-04-01 14:21:08 -05:00
factories_spec.rb Add support for not Active Record based factories 2016-03-30 10:44:18 +02:00
rails_helper.rb
spec_helper.rb Move CarrierWave test env config to separate file 2016-03-30 13:57:01 +02:00
teaspoon_env.rb