gitlab-org--gitlab-foss/lib/gitlab
Stan Hu 183c94dd63 Work around migration specs failing due to repository storages not being selected
Migration specs may be missing a column necessary to create an ApplicationSetting
object, which causes the FakeApplicationSetting to be initialized. However, the
project selects a random repository storage via ApplicationSetting#pick_repository_storage,
which isn't present in the OpenStruct.

To workaround this issues, we add a pick_repository_storage method in
FakeApplicationSetting.
2018-09-10 14:03:21 -07:00
..
auth Backport LDAP changes to CE 2018-08-23 15:46:45 +02:00
background_migration Squashed commit of the following: 2018-08-27 09:12:02 +02:00
badge
bare_repository_import Refactor gitlab:import:repos task to remove direct disk access 2018-07-31 16:28:44 -04:00
bitbucket_import Fix Bitbucket Cloud importer omitting replies 2018-08-07 14:34:25 -07:00
bitbucket_server_import Add JSON logging for Bitbucket Server importer 2018-08-30 10:58:31 -07:00
cache
checks Backport some changes from gitlab-org/gitlab-ee!6767 2018-08-07 06:13:48 -05:00
ci Introduce class methods so CE constants can be easily overridden on EE 2018-09-07 09:08:31 -05:00
cleanup Merge branch '46535-orphaned-uploads' into 'master' 2018-08-07 14:35:03 +00:00
conflict
cross_project_access
cycle_analytics
data_builder Use sample data for push event when no commits created 2018-08-31 10:27:41 +09:00
database disable_statement_timeout doesn't require any argument anymore 2018-08-11 04:15:59 +02:00
dependency_linker
diff Cache diff highlighting upon Merge Request creation (refactors diff caching) 2018-09-07 10:07:18 -03:00
downtime_check
email Remove requires from email handlers 2018-09-03 10:33:48 +01:00
etag_caching
fogbugz_import Resolve Naming/UncommunicativeMethod 2018-07-09 21:13:08 +08:00
gfm add support for file copy on object storage 2018-07-03 09:57:15 -07:00
git Merge branch 'osw-send-max-patch-bytes-to-gitaly' into 'master' 2018-09-07 14:02:17 +00:00
git_access_result New GitAccessResult::Success/CustomAction 2018-09-06 18:38:19 +10:00
gitaly_client Merge branch 'osw-send-max-patch-bytes-to-gitaly' into 'master' 2018-09-07 14:02:17 +00:00
github_import Updates code using class_methods over module ClassMethods 2018-08-29 16:56:34 +02:00
gitlab_import Fix gitlab import project load 2018-07-23 07:52:15 +00:00
google_code_import Resolve Naming/UncommunicativeMethod 2018-07-09 21:13:08 +08:00
gpg Updates from rubocop -a 2018-07-09 21:13:08 +08:00
grape_logging Add route information to lograge structured logging 2018-09-05 10:01:26 +01:00
graphql Updates code using class_methods over module ClassMethods 2018-08-29 16:56:34 +02:00
graphs Show one digit after dot in commit_per_day value in charts page. 2018-07-30 03:37:47 +03:00
hashed_storage Resolve "Hashed storage: extend "Enable hashed storage for all new projects" to "for all new and renamed projects"" 2018-08-03 14:34:28 +00:00
health_checks
hook_data Port of ccr/6274/add_weight_to_payload to CE 2018-08-21 07:32:17 +00:00
i18n
import Add JSON logging for Bitbucket Server importer 2018-08-30 10:58:31 -07:00
import_export Merge branch '48778-remove-old-storage-logic-from-import-export' into 'master' 2018-09-07 14:28:25 +00:00
kubernetes Enable Kubernetes RBAC for GitLab Managed Apps for existing clusters 2018-09-06 10:03:38 +00:00
legacy_github_import
manifest_import Improve manifest feature after backend review 2018-07-11 12:22:57 +03:00
metrics Ignore irrelevant sql commands in metrics 2018-09-05 09:10:19 +08:00
middleware Fix multipart error on rails reload 2018-09-05 18:00:11 +00:00
performance_bar
popen
profiler Add a Gitlab::Profiler.print_by_total_time convenience method 2018-07-19 16:00:27 +01:00
project_authorizations Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
prometheus Import common metrics into database. 2018-09-04 12:19:22 +02:00
query_limiting
quick_actions
redis
request_profiler
sanitizers
search
serializer Fix deserializing yaml variables in imported projects 2018-07-19 14:00:35 +02:00
sherlock
sidekiq_logging
sidekiq_middleware
sidekiq_status
sidekiq_versioning
slash_commands
sql
storage_check
template Backport changes to Gitlab::Tempalte::BaseTemplate 2018-09-05 15:19:20 +01:00
testing
utils
verify
view/presenter
webpack
access.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
action_rate_limiter.rb
allowable.rb
app_logger.rb
asciidoc.rb
auth.rb Disable SAML if OmniAuth is disabled 2018-07-20 18:54:46 +08:00
background_migration.rb Respond to DB health in background migrations 2018-08-06 15:20:36 +02:00
base_doorkeeper_controller.rb
blame.rb
build_access.rb
changes_list.rb
chat_name_token.rb
ci_access.rb
closing_issue_extractor.rb
color_schemes.rb
config_helper.rb
contributions_calendar.rb Include private contributions in user contribution graph 2018-09-07 15:08:55 +00:00
contributor.rb
cross_project_access.rb
current_settings.rb Ensure in-memory application settings are cleared before each test 2018-09-10 11:48:09 +02:00
daemon.rb
database.rb Backport various EE changes to Gitlab::Database 2018-07-24 13:25:01 +02:00
dependency_linker.rb
downtime_check.rb
ee_compat_check.rb Find the EE branch by searching the branches 2018-07-11 01:49:35 +08:00
emoji.rb
encoding_helper.rb Fix Error 500s due to encoding issues when Wiki hooks fire 2018-08-29 09:46:46 -07:00
environment.rb
environment_logger.rb
exclusive_lease.rb
exclusive_lease_helpers.rb Remove useless return 2018-07-09 21:13:08 +08:00
fake_application_settings.rb Work around migration specs failing due to repository storages not being selected 2018-09-10 14:03:21 -07:00
favicon.rb
file_detector.rb Recognize 'UNLICENSE' license files 2018-09-06 12:36:19 +00:00
file_finder.rb
file_markdown_link_builder.rb Uploads to wiki stored inside the wiki git repository 2018-09-04 10:39:08 +00:00
file_type_detection.rb Uploads to wiki stored inside the wiki git repository 2018-09-04 10:39:08 +00:00
git.rb Get the merge-base of 2 refs trough the API 2018-08-13 11:58:54 +02:00
git_access.rb Remove Gitlab::GitAccess#authed_via_jwt? 2018-09-08 14:43:24 +10:00
git_access_wiki.rb
git_logger.rb
git_post_receive.rb Code cleaning in PostReceive services 2018-07-31 14:07:24 +00:00
git_ref_validator.rb Use rugged to validate ref name 2018-07-19 12:23:46 +02:00
gitaly_client.rb Add git_v2 flag to GitalyClient 2018-09-06 11:37:22 +00:00
github_import.rb Refactor GitHub Importer database helpers into helper methods 2018-08-24 05:34:38 -07:00
gl_id.rb
gl_repository.rb
gon_helper.rb
gpg.rb Permit concurrent loads in gpg keychain mutex 2018-07-29 15:12:52 +02:00
graphql.rb
group_hierarchy.rb
highlight.rb
http.rb
http_io.rb Access metadata directly from Object Storage 2018-07-09 14:19:52 +02:00
i18n.rb Merge branch 'bvl-add-galician' into 'master' 2018-08-27 15:34:18 +00:00
identifier.rb
import_export.rb Refactor code to remove object storage flag from Import/Export 2018-09-06 16:52:42 +02:00
import_formatter.rb
import_sources.rb Merge branch 'sh-support-bitbucket-server-import' into 'master' 2018-08-06 17:32:12 +00:00
incoming_email.rb
insecure_key_fingerprint.rb
issuable_metadata.rb
issuable_sorter.rb
issuables_count_for_state.rb
issues_labels.rb
job_waiter.rb
json_logger.rb Bring JsonLogger to CE 2018-07-20 12:50:20 -07:00
kubernetes.rb Fix an exception seen using the online terminal 2018-07-11 15:44:34 +01:00
language_detection.rb Add repository languages for projects 2018-08-01 18:58:29 +02:00
lazy.rb
lfs_token.rb
logger.rb Backport logger changes from EE 2018-07-13 14:52:32 -07:00
mail_room.rb Updates from rubocop -a 2018-07-09 21:13:08 +08:00
markup_helper.rb
metrics.rb
multi_collection_paginator.rb
omniauth_initializer.rb Disable SAML if OmniAuth is disabled 2018-07-20 18:54:46 +08:00
optimistic_locking.rb
other_markup.rb
otp_key_rotator.rb
pages.rb
pages_client.rb
pages_transfer.rb
path_regex.rb Backport of gitlab-org/gitlab-ee!6876 2018-08-20 22:20:41 -06:00
performance_bar.rb
plugin.rb
plugin_logger.rb
polling_interval.rb
popen.rb Avoid process deadlock in popen by consuming input pipes 2018-07-12 16:21:30 -07:00
profiler.rb Add a Gitlab::Profiler.print_by_total_time convenience method 2018-07-19 16:00:27 +01:00
project_search_results.rb Fixing bug with wiki ref in ProjectSearchResults 2018-07-20 13:49:30 +00:00
project_service_logger.rb Move project services log to a separate file 2018-09-06 14:48:31 -03:00
project_template.rb
project_transfer.rb
prometheus_client.rb
protocol_access.rb
proxy_http_connection_adapter.rb
query_limiting.rb
recaptcha.rb
reference_counter.rb
reference_extractor.rb
regex.rb Allow multiple JIRA transition ids 2018-08-03 11:47:24 -03:00
repo_path.rb
repository_cache.rb
repository_cache_adapter.rb
repository_check_logger.rb
request_context.rb
request_forgery_protection.rb
request_profiler.rb
route_map.rb
routing.rb
search_results.rb
seeder.rb
sentry.rb
setup_helper.rb Remove storage path dependency of gitaly install task 2018-08-12 18:52:44 -03:00
shard_health_cache.rb
shell.rb Use Gitaly for fetches and creating bundles 2018-07-09 12:50:17 +02:00
shell_adapter.rb
sherlock.rb
sidekiq_config.rb
sidekiq_logger.rb
sidekiq_status.rb
sidekiq_throttler.rb
sidekiq_versioning.rb
snippet_search_results.rb
ssh_public_key.rb
storage_check.rb
string_placeholder_replacer.rb
string_range_marker.rb
string_regex_marker.rb
task_helpers.rb
tcp_checker.rb
template_helper.rb Refactor code to remove object storage flag from Import/Export 2018-09-06 16:52:42 +02:00
temporarily_allow.rb
themes.rb
time_tracking_formatter.rb
timeless.rb
tree_summary.rb Extract tree summary logic out of RefsController#logs_tree 2018-09-06 16:04:21 +01:00
untrusted_regexp.rb
update_path_error.rb
upgrader.rb
uploads_transfer.rb
url_blocker.rb Block link-local addresses in URLBlocker 2018-08-28 16:36:25 -05:00
url_builder.rb
url_sanitizer.rb Escape username and password in UrlSanitizer#full_url 2018-07-19 03:28:38 -07:00
usage_data.rb Ensure services counts always have values in usage pings 2018-09-05 17:51:47 +01:00
user_access.rb
user_extractor.rb Port changes for CODEOWNERS to CE 2018-09-06 09:07:19 +02:00
utils.rb
version_info.rb
visibility_level.rb
wiki_file_finder.rb
workhorse.rb Add receive_max_input_size setting to Application settings 2018-09-07 12:27:35 -05:00