gitlab-org--gitlab-foss/app/services
Yorick Peterse 6f88984b0d
Synchronize all project authorization refreshing
Previously a lease would only be obtained to update data. This could
lead to duplicate data being inserted, triggering a UNIQUE constraint
error. To work around this we now acquire a lease before performing
_any_ project authorization work, releasing it at the very end.

Fixes #25987
2017-01-16 16:37:48 -05:00
..
auth Merge branch 'unauthenticated-container-registry-access' into 'security' 2016-11-09 12:28:29 +01:00
boards Rename Labels::CreateService to Labels::FindOrCreateService 2016-10-19 14:58:28 -02:00
chat_names Change last_used_at to use touch 2016-11-17 16:29:16 +01:00
ci Merge branch 'show-commit-status-from-latest-pipeline' into 'master' 2016-12-15 19:48:00 +00:00
commits fix awkward verb conjugation in cherry-pick and revert errors 2016-12-10 00:56:52 -06:00
discussions Feature: delegate all open discussions to Issue 2016-12-05 20:55:45 +01:00
files Remove unnecessary require_relative calls from service classes 2016-11-22 11:25:00 +05:00
groups Refactor nested group related code 2016-12-29 19:18:05 +02:00
issuable Add bulk update support for merge requests list 2016-09-08 11:52:20 +03:00
issues Check if user can read issue before being assigned 2016-12-27 19:25:17 -02:00
labels Merge branch 'zj-fix-label-creation-non-members' into 'security' 2016-11-28 21:24:19 -03:00
members Implement CreateMembers service to make controller thin 2016-11-01 10:17:04 +02:00
merge_requests Check if user can read issue before being assigned 2016-12-27 19:25:17 -02:00
milestones Ensure validation messages are shown within the milestone form 2016-09-19 09:29:12 +01:00
notes Replace wording for slash command confirmation message 2016-12-26 08:31:24 -05:00
projects Add a spec and actually display the flash notice 2017-01-16 10:57:15 -05:00
protected_branches Implement third round of review comments from @DouweM. 2016-10-24 11:33:38 +05:30
search Restrict access to confidential issues on search results 2016-03-17 20:55:59 -03:00
slash_commands Remove default value for project argument on subscribable concern 2016-11-17 15:10:13 -02:00
users Synchronize all project authorization refreshing 2017-01-16 16:37:48 -05:00
wiki_pages Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
access_token_validation_service.rb Convert AccessTokenValidationService into a class. 2016-12-16 16:29:32 +05:30
after_branch_delete_service.rb Remove unnecessary require_relative calls from service classes 2016-11-22 11:25:00 +05:00
akismet_service.rb Reduce duplication in AkismetService 2016-09-20 08:19:32 +03:00
audit_event_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
base_service.rb multi-file commit 2016-10-05 17:42:52 +00:00
compare_service.rb Refactor straight compare diff code 2016-10-12 16:32:57 +03:00
create_branch_service.rb Remove unnecessary require_relative calls from service classes 2016-11-22 11:25:00 +05:00
create_deployment_service.rb Remove unnecessary require_relative calls from service classes 2016-11-22 11:25:00 +05:00
create_release_service.rb Remove unnecessary require_relative calls from service classes 2016-11-22 11:25:00 +05:00
create_snippet_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
create_tag_service.rb Remove unnecessary require_relative calls from service classes 2016-11-22 11:25:00 +05:00
delete_branch_service.rb Remove unnecessary require_relative calls from service classes 2016-11-22 11:25:00 +05:00
delete_merged_branches_service.rb Remove unnecessary require_relative calls from service classes 2016-11-22 11:25:00 +05:00
delete_tag_service.rb Remove unnecessary require_relative calls from service classes 2016-11-22 11:25:00 +05:00
delete_user_service.rb Fix bug where destroying a namespace would not always destroy projects 2016-08-11 15:36:35 -07:00
destroy_group_service.rb Add nested groups support on data level 2016-12-08 11:47:16 +02:00
event_create_service.rb Differentiate the expire from leave event 2016-10-20 00:26:45 +00:00
git_hooks_service.rb Pass tag SHA to post-receive hook when tag is created via UI 2016-11-28 15:04:51 +01:00
git_push_service.rb Merge branch 'feature/more-storage-statistics' into 'master' 2016-12-26 09:48:30 +00:00
git_tag_push_service.rb Add more storage statistics 2016-12-21 16:39:49 +01:00
gravatar_service.rb
ham_service.rb Further refactor and syntax fixes. 2016-08-15 17:20:57 -05:00
import_export_clean_up_service.rb using shared path for project import uploads and refactored gitlab remove export worker 2016-08-04 12:51:55 +02:00
issuable_base_service.rb Check if user can read issue before being assigned 2016-12-27 19:25:17 -02:00
notification_service.rb Introduce EXCLUDED_WATCHER_EVENTS to exclude events 2017-01-05 19:53:56 +08:00
repair_ldap_blocked_user_service.rb
repository_archive_clean_up_service.rb using shared path for project import uploads and refactored gitlab remove export worker 2016-08-04 12:51:55 +02:00
spam_service.rb Further refactor and syntax fixes. 2016-08-15 17:20:57 -05:00
system_hooks_service.rb Enable Lint/StringConversionInInterpolation cop and autocorrect offenses 2016-10-03 16:09:57 +02:00
system_note_service.rb Make 'unmarked as WIP' message more consistent 2016-12-20 16:14:09 +01:00
test_hook_service.rb Simplify the name for data builder, feedback: 2016-08-12 16:09:29 +08:00
todo_service.rb Make guests unable to view MRs 2016-10-11 16:51:26 +03:00
update_release_service.rb Remove unnecessary require_relative calls from service classes 2016-11-22 11:25:00 +05:00
update_snippet_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
user_agent_detail_service.rb Further refactor and syntax fixes. 2016-08-15 17:20:57 -05:00
user_project_access_changed_service.rb Precalculate user's authorized projects in database 2016-11-18 20:25:45 +02:00