gitlab-org--gitlab-foss/spec/lib/gitlab
Sebastian Arcila Valenzuela 3692e9f8a2
Validate that SAML requests are originated from gitlab
If the request wasn't initiated by gitlab we shouldn't add the new
identity to the user, and instead show that we weren't able to link
the identity to the user.

This should fix: https://gitlab.com/gitlab-org/gitlab-ce/issues/56509
2019-09-30 14:22:06 +02:00
..
access
analytics/cycle_analytics/stage_events Add latest changes from gitlab-org/gitlab@master 2019-09-18 15:06:03 +00:00
auth Validate that SAML requests are originated from gitlab 2019-09-30 14:22:06 +02:00
background_migration Add latest changes from gitlab-org/gitlab@master 2019-09-25 06:06:16 +00:00
badge
bare_repository_import
bitbucket_import
bitbucket_server_import
cache
chat
checks Add structure to support EE feature of COAR 2019-09-05 13:01:36 +00:00
ci Add latest changes from gitlab-org/gitlab@master 2019-09-26 06:06:27 +00:00
cleanup Add latest changes from gitlab-org/gitlab@master 2019-09-18 14:02:45 +00:00
cluster Remove worker label from puma terminations metric 2019-08-12 13:52:15 +03:00
config Add latest changes from gitlab-org/gitlab@master 2019-09-18 14:02:45 +00:00
conflict
content_security_policy
cross_project_access
cycle_analytics
danger Add latest changes from gitlab-org/gitlab@master 2019-09-24 15:06:34 +00:00
data_builder Add source and merge_request fields to pipeline event webhook 2019-09-11 19:33:45 +00:00
database Add rake task db:obsolete_ignored_columns 2019-09-11 16:23:42 +00:00
database_importers Merge branch '66741-remove-spec-rails_helper-rb' into 'master' 2019-09-03 13:48:17 +00:00
dependency_linker Replace rails_helper.rb with spec_helper.rb 2019-08-30 12:26:18 +10:00
diff Add latest changes from gitlab-org/gitlab@master 2019-09-23 18:06:14 +00:00
discussions_diff Add latest changes from gitlab-org/gitlab@master 2019-09-16 15:06:26 +00:00
downtime_check
email Add latest changes from gitlab-org/gitlab@master 2019-09-13 13:26:31 +00:00
etag_caching Add latest changes from gitlab-org/gitlab@master 2019-09-18 14:02:45 +00:00
external_authorization
fogbugz_import Change default visibility level for FogBugz imported projects to Private 2019-08-26 16:19:47 +00:00
gfm Fix moving issues API failing when text includes commit URLs 2019-08-28 00:18:33 -07:00
git Add latest changes from gitlab-org/gitlab@master 2019-09-18 14:02:45 +00:00
gitaly_client Update Gitaly server and gem to 1.58.0 2019-08-12 15:50:30 +00:00
github_import Add latest changes from gitlab-org/gitlab@master 2019-09-20 12:05:52 +00:00
gitlab_import
gl_repository Add latest changes from gitlab-org/gitlab@master 2019-09-24 21:06:18 +00:00
google_code_import
gpg Add latest changes from gitlab-org/gitlab@master 2019-09-29 15:06:20 +00:00
grape_logging/loggers
graphql Upgrade graphql gem to 1.9.10 2019-09-04 21:57:37 +00:00
graphs
hashed_storage
health_checks Add latest changes from gitlab-org/gitlab@master 2019-09-26 15:06:18 +00:00
hook_data Add latest changes from gitlab-org/gitlab@master 2019-09-16 18:06:05 +00:00
i18n
import
import_export Add latest changes from gitlab-org/gitlab@master 2019-09-30 12:06:01 +00:00
internal_post_receive Simplify internal post receive messages 2019-08-28 15:18:58 -07:00
kubernetes Add latest changes from gitlab-org/gitlab@master 2019-09-24 00:06:02 +00:00
legacy_github_import Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
lets_encrypt
manifest_import Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
markdown_cache
metrics Add latest changes from gitlab-org/gitlab@master 2019-09-18 14:02:45 +00:00
middleware Add latest changes from gitlab-org/gitlab@master 2019-09-20 18:06:35 +00:00
octokit Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
patch Use 'gitlab_chronic_duration' gem 2019-09-11 18:32:24 +00:00
performance_bar Add top-level warnings key to performance bar response 2019-08-28 16:39:33 +01:00
phabricator_import Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
popen Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
prometheus Replace rails_helper.rb with spec_helper.rb 2019-08-30 12:26:18 +10:00
query_limiting Use stub_rails_env for Rails.env stubbing 2019-09-05 12:54:03 +10:00
quick_actions Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
redis Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
request_profiler Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
sanitizers Merge branch 'security-personal-snippets' into 'master' 2019-08-29 21:34:22 +00:00
search Add latest changes from gitlab-org/gitlab@master 2019-09-17 12:06:48 +00:00
serializer Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
sherlock Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
sidekiq_daemon Add latest changes from gitlab-org/gitlab@master 2019-09-19 18:06:18 +00:00
sidekiq_logging Add latest changes from gitlab-org/gitlab@master 2019-09-24 09:06:04 +00:00
sidekiq_middleware Add latest changes from gitlab-org/gitlab@master 2019-09-18 18:06:14 +00:00
sidekiq_status Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
sidekiq_versioning Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
slash_commands Merge branch 'improve-chatops-help' into 'master' 2019-09-01 12:42:22 +00:00
slug
sql Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
template Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
untrusted_regexp Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
url_blockers Add latest changes from gitlab-org/gitlab@master 2019-09-13 13:26:31 +00:00
usage_data_counters Setup counter for Productivity Analytics 2019-09-12 11:12:29 +00:00
utils Add latest changes from gitlab-org/gitlab@master 2019-09-23 00:06:29 +00:00
verify Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
view/presenter Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
action_rate_limiter_spec.rb Standardize remote_ip and path keys for auth.log and api_json.log 2019-08-20 18:12:28 +00:00
allowable_spec.rb
anonymous_session_spec.rb Uses spec_helper instead of rails_helper 2019-09-03 15:56:53 +00:00
app_logger_spec.rb
asciidoc_spec.rb
auth_spec.rb Add latest changes from gitlab-org/gitlab@master 2019-09-28 00:06:20 +00:00
authorized_keys_spec.rb Auto create authorized_keys file if doesn't exist 2019-08-29 16:33:04 +08:00
background_migration_spec.rb
batch_pop_queueing_spec.rb
blame_spec.rb
blob_helper_spec.rb
branch_push_merge_commit_analyzer_spec.rb
build_access_spec.rb
changes_list_spec.rb
chat_name_token_spec.rb
chat_spec.rb
ci_access_spec.rb
closing_issue_extractor_spec.rb
color_schemes_spec.rb
contributions_calendar_spec.rb
cross_project_access_spec.rb
crypto_helper_spec.rb
current_settings_spec.rb
daemon_spec.rb Improve resillency of monitor 2019-08-21 12:06:10 +02:00
database_spec.rb CE port: allow SRV records in DB service discovery 2019-08-23 14:19:51 +10:00
dependency_linker_spec.rb Replace rails_helper.rb with spec_helper.rb 2019-08-30 12:26:18 +10:00
downtime_check_spec.rb
encoding_helper_spec.rb Add latest changes from gitlab-org/gitlab@master 2019-09-18 14:02:45 +00:00
exclusive_lease_helpers_spec.rb
exclusive_lease_spec.rb
external_authorization_spec.rb Add latest changes from gitlab-org/gitlab@master 2019-09-18 14:02:45 +00:00
fake_application_settings_spec.rb
favicon_spec.rb Use stub_rails_env for Rails.env stubbing 2019-09-05 12:54:03 +10:00
file_detector_spec.rb
file_finder_spec.rb
file_markdown_link_builder_spec.rb Replace rails_helper.rb with spec_helper.rb 2019-08-30 12:26:18 +10:00
file_type_detection_spec.rb Add latest changes from gitlab-org/gitlab@master 2019-09-23 18:06:14 +00:00
git_access_spec.rb Add latest changes from gitlab-org/gitlab@master 2019-09-13 13:26:31 +00:00
git_access_wiki_spec.rb
git_post_receive_spec.rb Expire project caches once per push instead of once per ref 2019-08-16 19:53:56 +00:00
git_ref_validator_spec.rb
git_spec.rb Add latest changes from gitlab-org/gitlab@master 2019-09-17 12:06:48 +00:00
gitaly_client_spec.rb Add latest changes from gitlab-org/gitlab@master 2019-09-19 18:06:18 +00:00
github_import_spec.rb
gl_repository_spec.rb
global_id_spec.rb
gon_helper_spec.rb
gpg_spec.rb Replace rails_helper.rb with spec_helper.rb 2019-08-30 12:26:18 +10:00
graphql_logger_spec.rb
group_search_results_spec.rb
highlight_spec.rb
http_connection_adapter_spec.rb
http_io_spec.rb
http_spec.rb
i18n_spec.rb
identifier_spec.rb
import_sources_spec.rb
incoming_email_spec.rb
insecure_key_fingerprint_spec.rb
issuable_metadata_spec.rb
issuable_sorter_spec.rb
issuables_count_for_state_spec.rb
job_waiter_spec.rb
json_cache_spec.rb
json_logger_spec.rb Add latest changes from gitlab-org/gitlab@master 2019-09-17 12:06:48 +00:00
jwt_authenticatable_spec.rb Extract Workhorse <-> GitLab authentication to make it reusable 2019-09-04 11:03:20 +12:00
kubernetes_spec.rb
language_data_spec.rb
language_detection_spec.rb
lazy_spec.rb
lets_encrypt_spec.rb
lfs_token_spec.rb Add latest changes from gitlab-org/gitlab@master 2019-09-28 00:06:20 +00:00
loop_helpers_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
markup_helper_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
metrics_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
multi_collection_paginator_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
namespaced_session_store_spec.rb
noteable_metadata_spec.rb Optimize queries for snippet listings 2019-09-10 15:24:28 +02:00
null_request_store_spec.rb
object_hierarchy_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
omniauth_initializer_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
optimistic_locking_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
other_markup_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
otp_key_rotator_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
pages_client_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
pages_spec.rb Add skeleton Pages internal API 2019-09-06 16:06:25 +12:00
path_regex_spec.rb Add latest changes from gitlab-org/gitlab@master 2019-09-17 12:06:48 +00:00
performance_bar_spec.rb Make performance bar enabled checks consistent 2019-08-28 17:25:02 +01:00
plugin_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
polling_interval_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
popen_spec.rb Add latest changes from gitlab-org/gitlab@master 2019-09-16 12:06:26 +00:00
private_commit_email_spec.rb
profiler_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
project_authorizations_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
project_search_results_spec.rb Add latest changes from gitlab-org/gitlab@master 2019-09-17 12:06:48 +00:00
project_template_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
project_transfer_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
prometheus_client_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
push_options_spec.rb
query_limiting_spec.rb Use stub_rails_env for Rails.env stubbing 2019-09-05 12:54:03 +10:00
reference_counter_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
reference_extractor_spec.rb
regex_spec.rb Add latest changes from gitlab-org/gitlab@master 2019-09-17 12:06:48 +00:00
repo_path_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
repository_cache_adapter_spec.rb Revert "Revert "Cache branch and tag names as Redis sets"" 2019-09-10 13:45:21 +01:00
repository_cache_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
repository_set_cache_spec.rb Revert "Revert "Cache branch and tag names as Redis sets"" 2019-09-10 13:45:21 +01:00
request_context_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
request_forgery_protection_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
request_profiler_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
route_map_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
routing_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
rugged_instrumentation_spec.rb
safe_request_store_spec.rb
search_results_spec.rb Lower searches count limit 2019-09-09 13:46:24 +00:00
sentry_spec.rb Add latest changes from gitlab-org/gitlab@master 2019-09-18 14:02:45 +00:00
session_spec.rb
shard_health_cache_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
shell_spec.rb Add latest changes from gitlab-org/gitlab@master 2019-09-18 14:02:45 +00:00
sidekiq_config_spec.rb Replace rails_helper.rb with spec_helper.rb 2019-08-30 12:26:18 +10:00
sidekiq_signals_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
sidekiq_status_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
sidekiq_versioning_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
snippet_search_results_spec.rb Lower searches count limit 2019-09-09 13:46:24 +00:00
ssh_public_key_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
string_placeholder_replacer_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
string_range_marker_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
string_regex_marker_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
submodule_links_spec.rb Add latest changes from gitlab-org/gitlab@master 2019-09-18 14:02:45 +00:00
tcp_checker_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
themes_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
time_tracking_formatter_spec.rb Fix time tracking parsing of months 2019-09-05 20:24:33 +08:00
tracing_spec.rb Remove all references to Gitlab::CorrelationId 2019-08-26 18:49:58 +02:00
tracking_spec.rb Add latest changes from gitlab-org/gitlab@master 2019-09-24 09:06:04 +00:00
tree_summary_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
untrusted_regexp_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
uploads_transfer_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
url_blocker_spec.rb Add latest changes from gitlab-org/gitlab@master 2019-09-17 12:06:48 +00:00
url_builder_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
url_sanitizer_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
usage_data_spec.rb Add latest changes from gitlab-org/gitlab@master 2019-09-23 18:06:14 +00:00
user_access_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
utils_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
version_info_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
visibility_level_checker_spec.rb Fix project import restricted visibility bypass 2019-08-15 10:30:47 +01:00
visibility_level_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
wiki_file_finder_spec.rb Add frozen_string_literal to lib part 2 2019-08-23 00:15:24 +12:00
workhorse_spec.rb Extract Workhorse <-> GitLab authentication to make it reusable 2019-09-04 11:03:20 +12:00
zoom_link_extractor_spec.rb