gitlab-org--gitlab-foss/app/controllers
Douwe Maan 183892fde9 Merge branch 'notification-levels' into 'master'
Notification levels can now be set on the Project's main page

![Screen_Shot_2015-09-16_at_7.49.49_PM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/0ac517bdfdc801f0e2115463c3ea9e10/Screen_Shot_2015-09-16_at_7.49.49_PM.png)

The notification settings for a project can now be set directly on the Project's page. The drop down list and the button label reflect the current level.

Saving is done via a remote form submission and if successful shows the user a flash message:

![Screen_Shot_2015-09-16_at_6.09.02_PM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/8a6e1fde5177aa3976cadf59fdb8d375/Screen_Shot_2015-09-16_at_6.09.02_PM.png)

@DouweM can you please review my code. I gave my bestest effort to make in clean and readable.

@rspeicher hopefully we can include it with the 8.0 release, maybe?

/cc @darby 

See merge request !1322
2015-09-21 09:19:32 +00:00
..
admin Devise 3.5.x deprecates confirm! in favor of confirm 2015-09-19 21:15:13 -04:00
ci remove API calls from CE to CI 2015-09-18 18:02:11 +02:00
concerns Refactor SessionsController to use a controller concern 2015-05-14 14:24:05 -04:00
dashboard Clean up overlap between dashboard and explore. 2015-09-08 14:49:20 +01:00
explore Clean up overlap between dashboard and explore. 2015-09-08 14:49:20 +01:00
groups Use before_actions 2015-07-31 14:15:49 +02:00
import Use fixed version of fogbugz gem 2015-09-15 15:23:30 -04:00
oauth Move helpers back to original directory 2015-09-09 14:37:34 +02:00
profiles Bump devise-two-factor to 2.0.0 2015-09-19 21:16:18 -04:00
projects Move partial locals out of controller 2015-09-17 07:24:45 -07:00
abuse_reports_controller.rb Improve wording in abuse report form 2015-08-06 15:15:17 +02:00
application_controller.rb Merge branch 'master' into ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-g 2015-09-09 14:56:02 +02:00
autocomplete_controller.rb Sorted autocomplete users list by name 2015-09-15 22:48:24 +01:00
confirmations_controller.rb Add invites controller. 2015-04-14 12:07:33 +02:00
dashboard_controller.rb Clean up overlap between dashboard and explore. 2015-09-08 14:49:20 +01:00
groups_controller.rb Merge branch 'public_profiles' into 'master' 2015-09-14 15:28:42 +00:00
help_controller.rb Make Help accessible for guests. 2015-09-08 14:42:30 +01:00
invites_controller.rb Use new routing helper 2015-09-08 17:53:16 +01:00
namespaces_controller.rb Allow access to group from root url 2015-09-14 11:16:54 +02:00
omniauth_callbacks_controller.rb Allow custom label to be set for authentication providers. 2015-07-23 15:20:12 +02:00
passwords_controller.rb Use User#two_factor_enabled instead of otp_required_for_login 2015-06-19 15:14:37 -04:00
profiles_controller.rb Merge branch 'audit_log' into 'master' 2015-07-06 10:09:53 +00:00
projects_controller.rb Minor code cleanup 2015-09-20 19:09:43 +02:00
registrations_controller.rb Fix error when deleting a user who has projects 2015-06-23 04:39:49 -07:00
root_controller.rb Fix RootController 2015-09-09 09:25:49 +01:00
search_controller.rb Move helpers back to original directory 2015-09-09 14:37:34 +02:00
sessions_controller.rb Bump devise-two-factor to 2.0.0 2015-09-19 21:16:18 -04:00
snippets_controller.rb Move partial to right place and fix tests. 2015-09-08 15:14:14 +01:00
uploads_controller.rb Don't symbolize params. 2015-05-11 11:55:02 +02:00
users_controller.rb Make all profile public 2015-08-27 13:06:14 +03:00