gitlab-ce/lib/gitlab
Heinrich Lee Yu 35b8f103a8
Prevent comments by email when issue is locked
This changes the permission check so it uses the policy on Noteable
instead of Project. This prevents bypassing of rules defined in
Noteable for locked discussions and confidential issues.

Also rechecks permissions when reply_to_discussion_id is provided since the
discussion_id may be from a different noteable.
2019-01-31 16:52:48 +01:00
..
access Refactor code for protecting default branches 2019-01-16 14:25:14 +01:00
auth Log admin status of user when OAuth::User is saved 2019-01-23 14:26:15 +01:00
background_migration Enable the Layout/ExtraSpacing cop 2019-01-24 13:05:45 +01:00
badge
bare_repository_import
bitbucket_import
bitbucket_server_import Fix import handling errors in Bitbucket Server importer 2019-01-18 15:54:24 -08:00
cache
checks
ci Merge branch 'anan-add-MethodCallWithoutArgsParentheses-cop' into 'master' 2019-01-30 10:02:38 +00:00
cleanup
cluster
config Simplify code related to setting default config values 2019-01-15 11:23:32 +01:00
conflict
cross_project_access
cycle_analytics
data_builder Fix private user email being visible in tag webhooks 2019-01-31 16:51:18 +01:00
database
dependency_linker
diff Adjusts duplicated line when commenting on unfolded diff lines 2019-01-08 12:45:19 -02:00
discussions_diff
downtime_check
email Prevent comments by email when issue is locked 2019-01-31 16:52:48 +01:00
error_tracking Update Sentry client to get project list 2019-01-31 10:05:29 +00:00
etag_caching Switch use of Rack::Request to ActionDispatch::Request 2019-01-07 00:35:53 -08:00
fogbugz_import
gfm Enable CommonMark source line position information 2019-01-21 13:45:16 -06:00
git Validate bundle files before unpacking them 2019-01-10 21:33:36 +00:00
git_access_result
gitaly_client
github_import Added validations to prevent LFS object forgery 2019-01-31 16:51:54 +01:00
gitlab_import
google_code_import
gpg
grape_logging
graphql
graphs
hashed_storage Refactor Storage Migration 2019-01-25 20:26:35 +01:00
health_checks
hook_data
i18n
import Revert " Trigger iid logic from GitHub importer for merge requests." 2019-01-29 15:38:40 +01:00
import_export Fix path disclosure on Project Import 2019-01-31 16:51:16 +01:00
kubernetes Use http_max_redirects opt to replace monkeypatch 2019-01-25 16:48:37 +13:00
legacy_github_import
manifest_import
metrics Port this style change from EE 2019-01-30 01:16:43 +08:00
middleware Enable the Layout/ExtraSpacing cop 2019-01-24 13:05:45 +01:00
patch
performance_bar
popen
profiler
project_authorizations
prometheus
query_limiting
quick_actions
redis
request_profiler
sanitizers
search
serializer
sherlock
sidekiq_logging Limit Sidekiq args logging to 10 KB of JSON 2019-01-22 10:54:12 +00:00
sidekiq_middleware
sidekiq_status
sidekiq_versioning
slash_commands
sql Adds milestone search 2019-01-24 18:44:09 +01:00
template
testing
tracing Add OpenTracing instrumentation for Action View Render events 2019-01-30 13:38:19 +02:00
utils
verify
view/presenter
webpack
access.rb
action_rate_limiter.rb
allowable.rb
app_logger.rb
asciidoc.rb
audit_json_logger.rb
auth.rb Revert changes 2019-01-03 20:28:02 +08:00
background_migration.rb Check if specific type of background migration are done 2019-01-08 15:19:45 +08:00
base_doorkeeper_controller.rb
blame.rb
blob_helper.rb
branch_push_merge_commit_analyzer.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
contributor.rb
correlation_id.rb
cross_project_access.rb
crypto_helper.rb
current_settings.rb
daemon.rb
database.rb
dependency_linker.rb
downtime_check.rb
ee_compat_check.rb Don't ignore conflicts in db/schema.rb 2019-01-04 16:22:00 +01:00
emoji.rb
encoding_helper.rb
environment.rb
environment_logger.rb
exclusive_lease.rb
exclusive_lease_helpers.rb
fake_application_settings.rb
favicon.rb
file_detector.rb
file_finder.rb
file_markdown_link_builder.rb
file_type_detection.rb
git.rb
git_access.rb
git_access_wiki.rb
git_logger.rb
git_post_receive.rb
git_ref_validator.rb
gitaly_client.rb Merge branch 'elasticsearch-via-gitaly-ee' into 'master' 2019-01-25 16:06:55 +00:00
github_import.rb
gl_id.rb
gl_repository.rb
gon_helper.rb Fix no avatar not showing in user selection box 2019-01-13 08:02:02 -08:00
gpg.rb
graphql.rb
highlight.rb
http.rb
http_io.rb
i18n.rb
identifier.rb
import_export.rb
import_formatter.rb
import_sources.rb
incoming_email.rb Use new issue email address format 2019-01-03 14:37:35 -06:00
insecure_key_fingerprint.rb
issuable_metadata.rb
issuable_sorter.rb
issuables_count_for_state.rb
issues_labels.rb
job_waiter.rb
json_cache.rb
json_logger.rb
kubernetes.rb
language_data.rb
language_detection.rb
lazy.rb
lfs_token.rb Enable the Layout/ExtraSpacing cop 2019-01-24 13:05:45 +01:00
logger.rb
loop_helpers.rb Remove expired artifacts periodically 2019-01-24 20:50:42 +09:00
mail_room.rb
markup_helper.rb
metrics.rb
multi_collection_paginator.rb
namespace_sanitizer.rb
null_request_store.rb
object_hierarchy.rb
omniauth_initializer.rb
optimistic_locking.rb
other_markup.rb
otp_key_rotator.rb
pages.rb
pages_client.rb Enable the Layout/ExtraSpacing cop 2019-01-24 13:05:45 +01:00
pages_transfer.rb
path_regex.rb Fix slow project reference pattern regex 2019-01-31 16:51:16 +01:00
performance_bar.rb
plugin.rb
plugin_logger.rb
polling_interval.rb
popen.rb
private_commit_email.rb
profiler.rb
project_search_results.rb
project_service_logger.rb
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
repo_path.rb
repository_cache.rb Revert "Merge branch '3062-improve-project-cache' into 'master'" 2019-01-08 13:14:06 -08:00
repository_cache_adapter.rb
repository_check_logger.rb
request_context.rb Switch use of Rack::Request to ActionDispatch::Request 2019-01-07 00:35:53 -08:00
request_forgery_protection.rb
request_profiler.rb
route_map.rb
routing.rb
safe_request_store.rb
search_results.rb
seeder.rb Backport of elastic-test-repos from EE 2019-01-08 17:18:15 -06:00
sentry.rb Extract process_name from GitLab::Sentry 2019-01-16 15:29:05 +02:00
setup_helper.rb
shard_health_cache.rb
shell.rb Track Sentry error when namespace cannot be moved 2019-01-04 20:49:01 +02:00
shell_adapter.rb
sherlock.rb
sidekiq_config.rb
sidekiq_logger.rb
sidekiq_status.rb
sidekiq_versioning.rb
snippet_search_results.rb
ssh_public_key.rb
string_placeholder_replacer.rb
string_range_marker.rb
string_regex_marker.rb
task_helpers.rb
tcp_checker.rb
template_helper.rb
temporarily_allow.rb
themes.rb
time_tracking_formatter.rb
timeless.rb
tracing.rb Conditionally initialize the global opentracing tracer 2019-01-17 12:32:44 +02:00
tree_summary.rb
untrusted_regexp.rb
update_path_error.rb
uploads_transfer.rb
url_blocker.rb Add table and model for error tracking settings 2019-01-07 17:55:21 +00:00
url_builder.rb
url_sanitizer.rb
usage_data.rb Add number of repositories to usage ping data 2019-01-31 18:46:07 +05:30
user_access.rb
user_extractor.rb
utils.rb Add config_options|variables to BuildMetadata 2019-01-04 16:38:17 +01:00
version_info.rb Revert the "What's new" feature 2019-01-29 20:45:47 +00:00
visibility_level.rb
web_ide_commits_counter.rb
wiki_file_finder.rb
workhorse.rb