gitlab-org--gitlab-foss/app/controllers
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
..
admin Fixes #14638. 2016-04-06 13:56:28 -03:00
ci Redirect to root path when visiting /ci 2016-03-29 08:04:17 +02:00
concerns Use respond_to instead of a conditional to paginate milestones 2016-03-23 12:02:15 +01:00
dashboard Add missing Dashboard::LabelsController 2016-03-23 12:02:15 +01:00
explore Merge branch 'master' into issue_12658 2016-03-21 23:22:21 +01:00
groups Requires user to be signed in when changing notification settings 2016-04-11 20:50:26 -03:00
import Redirect to a default path if HTTP_REFERER is not set 2015-10-20 07:45:48 -07:00
oauth Merge branch 'fix/gitlab-omniauth-issue' into 'master' 2016-03-19 19:03:33 +00:00
profiles Change how notification settings in profile are rendered and updated 2016-03-30 10:44:20 +02:00
projects Merge branch 'decouple-member-notification' into 'master' 2016-04-12 16:39:40 +00:00
sherlock Added Sherlock, a custom profiling tool for GitLab 2015-11-09 14:29:10 +01:00
abuse_reports_controller.rb Autofill abuse message text with user url. Closes #2838 2016-01-16 10:47:12 -05:00
application_controller.rb Add a program tag to Sentry Raven context 2016-04-09 19:57:27 -04:00
autocomplete_controller.rb Use the configured Kaminari "per page" default 2016-03-19 17:37:54 -04:00
confirmations_controller.rb
dashboard_controller.rb Fix an issue causing the Dashboard/Milestones page to be blank 2016-03-23 12:02:15 +01:00
emojis_controller.rb Update award_emoji test 2016-02-23 19:37:15 -06:00
groups_controller.rb Merge branch 'master' into issue_12658 2016-03-21 23:22:21 +01:00
help_controller.rb
invites_controller.rb Redirect to a default path if HTTP_REFERER is not set 2015-10-20 07:45:48 -07:00
namespaces_controller.rb Prevent projects to have higher visibility than groups 2016-03-10 10:38:36 -03:00
omniauth_callbacks_controller.rb Add missing proper nil and error handling to SAML login process. 2016-04-07 16:45:33 -05:00
passwords_controller.rb Allow the initial admin to set a password 2016-03-04 17:37:57 -05:00
profiles_controller.rb Merge branch 'master' into issue_7959 2016-03-22 11:13:27 -05:00
projects_controller.rb Add method to return the user notification setting for a group, or a project 2016-04-08 18:46:45 -03:00
registrations_controller.rb Partially revert "Add IP check against DNSBLs at account sign-up" 2016-01-28 16:28:19 -05:00
root_controller.rb Implementing 'Groups View' and 'TODOs View' as options for dashboard preferences. 2016-03-24 19:59:54 +01:00
search_controller.rb Enable search for logged-out users 2016-03-01 15:57:28 +01:00
sent_notifications_controller.rb #can_unsubscribe? -> #?unsubscribable? 2016-01-11 14:23:45 +01:00
sessions_controller.rb Fix 2FA authentication spoofing vulnerability 2016-04-07 11:19:29 +02:00
snippets_controller.rb Use the configured Kaminari "per page" default 2016-03-19 17:37:54 -04:00
uploads_controller.rb Branded login page also in CE 2016-02-26 15:50:51 +01:00
users_controller.rb Merge branch 'master' into issue_12658 2016-03-21 23:22:21 +01:00