gitlab-org--gitlab-foss/lib/api
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
..
api.rb Add basic runners management API 2016-02-19 13:18:46 +01:00
api_guard.rb
branches.rb Changed the argument of not_found for 'unprotect' 2016-04-06 15:07:31 +05:30
builds.rb Fix API implementation 2016-02-19 18:30:43 +01:00
commit_statuses.rb Check if commit exists first in commit status API 2016-03-01 11:11:50 +01:00
commits.rb Use Gitlab::Git::DiffCollections 2016-03-03 18:38:44 +01:00
deploy_keys.rb
entities.rb Merge branch 'decouple-member-notification' into 'master' 2016-04-12 16:39:40 +00:00
files.rb WIP lazy blobs 2016-02-01 10:41:52 +01:00
group_members.rb Track who created a group or project member. 2015-04-14 12:06:42 +02:00
groups.rb Tweaks, refactoring, and specs 2016-03-20 21:04:07 +01:00
helpers.rb minor improvements and fixed specs 2016-03-19 21:24:05 +01:00
internal.rb updated internal.rb and spec based on MR feedback 2016-02-26 10:40:30 +01:00
issues.rb API: Expose subscribed? on issues 2016-04-08 15:53:04 +02:00
keys.rb Add API method for get user by ID of an SSH key 2015-09-03 15:47:22 +03:00
labels.rb api - expose label description 2016-03-24 18:44:52 +00:00
merge_requests.rb API: Expose subscribed? on issues 2016-04-08 15:53:04 +02:00
milestones.rb API: Add iid filter to milestones 2016-04-12 12:37:16 +02:00
namespaces.rb Make namespace API available to all users 2015-05-28 11:39:12 -07:00
notes.rb Adapt tests to new testing guidelines 2016-04-12 15:43:29 +02:00
project_hooks.rb Migrate CI::Services and CI::WebHooks to Services and WebHooks 2015-12-10 16:04:08 +01:00
project_members.rb Allow a project member to leave the projected through the API 2016-04-12 14:30:42 +02:00
project_snippets.rb Rename abilities to correspond contoller/model action names 2015-06-26 15:55:56 +02:00
projects.rb PUT becomes POST on archiving endpoints 2016-03-24 18:58:42 +01:00
repositories.rb Fix API 2016-02-11 18:10:14 +01:00
runners.rb Move :runner_id param to POST body when enabling specific runner in project 2016-02-19 13:18:48 +01:00
services.rb Hide passwords to non-admin users in the services API 2015-10-12 15:24:00 +02:00
session.rb
settings.rb Add tests and improve logic 2015-07-06 16:47:19 +02:00
system_hooks.rb Added X-GitLab-Event header for web hooks 2015-05-08 16:49:03 +03:00
tags.rb Fix minor styling issues from code review 2016-04-12 14:12:30 +02:00
triggers.rb Make the CI permission model simpler 2016-02-02 09:18:08 +01:00
users.rb Expose user location in API 2016-04-06 15:53:17 +02:00
variables.rb Make the CI permission model simpler 2016-02-02 09:18:08 +01:00