summaryrefslogtreecommitdiff
path: root/lib/api/notification_settings.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix API::Namespaces to accept namepaces with dotsif-52811-fix_namespaces_api_routingImre Farkas2018-11-281-1/+1
| | | | | It also renames the API::PROJECT_ENDPOINT_REQUIREMENTS constant to API::NAMESPACE_OR_PROJECT_REQUIREMENTS
* Enable frozen string in lib/api and lib/backupgfyoung2018-09-291-0/+2
| | | | | | | | | | Partially addresses #47424. Had to make changes to spec files because stubbing methods on frozen objects is a mess in RSpec and leads to failures: https://github.com/rspec/rspec-mocks/issues/1190
* Allow global event list containing all eventsMark Chao2018-08-141-2/+4
| | | | | This way we can globally set group only ee events too. Use nil to indicate global.
* Add email_events to replace EMAIL_EVENTS because it needs to be dynamic,Mark Chao2018-08-141-2/+2
| | | allowing override for EE.
* refactor users update serviceJames Lopez2017-09-281-1/+1
|
* refactor services to match EE signatureJames Lopez2017-09-281-1/+1
|
* API: Use defined project requirementsrs-api-use-project-requirementsRobert Schilling2017-08-311-1/+1
|
* refactor update user service not to do auth checksJames Lopez2017-06-231-1/+1
|
* update notification settings, fix api specsJames Lopez2017-06-231-1/+4
|
* Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced ↵Rémy Coutable2017-03-161-5/+4
| | | | | | API routes Signed-off-by: Rémy Coutable <remy@rymai.me>
* Use declared_params helper in APIgrapify-declared-paramsRobert Schilling2016-11-141-5/+2
|
* Add notification_settings API callsMarc Siegfriedt2016-09-091-0/+97
Use NotificationSetting::EMAIL_EVENTS for params