gitlab-org--gitlab-foss/spec/models
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
..
application_setting
badges
blob_viewer Allow to include files from another projects 2019-01-07 09:38:05 +01:00
ci Add GitLab Pages predefined variables 2019-01-29 16:47:25 +00:00
clusters Enable the Layout/ExtraSpacing cop 2019-01-24 13:05:45 +01:00
concerns Merge branch 'bw-enable-sourcepos' into 'master' 2019-01-28 17:19:23 +00:00
conversational_development_index
cycle_analytics
diff_viewer Fixing image lfs bug and also displaying text lfs 2018-12-27 16:51:07 +01:00
error_tracking Service for calling Sentry issues api 2019-01-09 21:04:27 +00:00
hooks Migrate sensitive web hook data in the background 2018-10-01 15:34:16 +01:00
issue
members Enable the Layout/ExtraSpacing cop 2019-01-24 13:05:45 +01:00
merge_request
network
postgresql Disable replication lag check for Aurora PostgreSQL databases 2018-11-03 07:00:31 -07:00
project_services Fixed bug when external wiki is enabled 2019-01-31 16:51:53 +01:00
protected_branch
releases Add uniqueness validation to url column in Releases::Link model 2019-01-09 14:40:38 +09:00
uploads Use FastDestroy for deleting uploads 2018-12-06 22:00:19 +01:00
ability_spec.rb Fixed bug when external wiki is enabled 2019-01-31 16:51:53 +01:00
abuse_report_spec.rb
active_session_spec.rb
appearance_spec.rb Fix 500 errors with legacy appearance logos 2019-01-23 11:18:00 -08:00
application_record_spec.rb Add query method for id query 2019-01-15 17:10:30 +08:00
application_setting_spec.rb User can keep their commit email private 2018-11-07 12:24:14 +00:00
award_emoji_spec.rb Refactor AutocompleteController 2018-08-20 13:53:00 +02:00
badge_spec.rb
blob_spec.rb Fixing image lfs bug and also displaying text lfs 2018-12-27 16:51:07 +01:00
board_group_recent_visit_spec.rb Automatically navigate to last board visited 2018-10-26 12:49:16 +00:00
board_project_recent_visit_spec.rb Automatically navigate to last board visited 2018-10-26 12:49:16 +00:00
board_spec.rb
broadcast_message_spec.rb Refactor BroadcastMessage to use Gitlab::JsonCache 2018-12-19 15:15:06 -02:00
chat_name_spec.rb
chat_team_spec.rb
commit_collection_spec.rb Add committers and authors methods on MergeRequest 2019-01-08 00:27:29 +01:00
commit_range_spec.rb
commit_spec.rb Truncate merge request titles with periods instead of ellipsis 2018-12-06 21:51:51 -08:00
commit_status_spec.rb Fix coding offence 2018-12-04 19:24:21 +09:00
compare_spec.rb Allow getting all paths (old & new) involved in MR 2018-11-07 11:28:43 +08:00
container_repository_spec.rb
cycle_analytics_spec.rb
deploy_key_spec.rb
deploy_keys_project_spec.rb
deploy_token_spec.rb
deployment_spec.rb fix wording 2018-12-03 22:01:30 +09:00
diff_discussion_spec.rb
diff_note_spec.rb Add image_diff_note_on_merge_request factory 2018-12-20 15:22:58 +01:00
discussion_spec.rb
email_spec.rb
environment_spec.rb Rever add action follow up 1 2018-11-07 14:36:42 +09:00
environment_status_spec.rb Squashed commit of the following: 2018-12-03 15:47:09 +09:00
event_collection_spec.rb Refactor EventFilter and increase its test coverage 2018-09-26 18:34:26 +02:00
event_spec.rb Allow admins/auditors to read private personal snippets 2019-01-24 12:44:46 +00:00
external_issue_spec.rb Enable the Layout/ExtraSpacing cop 2019-01-24 13:05:45 +01:00
fork_network_member_spec.rb Whitelist existing destroy_all offenses 2018-08-16 17:29:37 +02:00
fork_network_spec.rb
generic_commit_status_spec.rb
global_milestone_spec.rb Adds milestone search 2019-01-24 18:44:09 +01:00
gpg_key_spec.rb Fix deprecation: Passing an argument to force an association to reload is now deprecated 2019-01-11 19:28:38 +01:00
gpg_key_subkey_spec.rb
gpg_signature_spec.rb Fix coding offence 2018-12-04 19:24:21 +09:00
group_custom_attribute_spec.rb
group_label_spec.rb
group_milestone_spec.rb Add project milestone link to dashboard milestones 2018-12-20 13:33:09 +01:00
group_spec.rb Return max group access level in the projects API 2019-01-16 14:54:05 -03:00
guest_spec.rb
identity_spec.rb Fix failed LDAP logins when nil user_id present 2019-01-29 11:15:06 -08:00
import_export_upload_spec.rb
instance_configuration_spec.rb Instance Configuration page now displays correct SSH fingerprints 2018-10-03 15:25:42 +01:00
internal_id_spec.rb Flush InternalId records after import 2019-01-29 15:38:40 +01:00
issue_collection_spec.rb
issue_spec.rb Don't check confidential issues for spam 2019-01-18 12:46:05 +00:00
key_spec.rb
label_link_spec.rb
label_note_spec.rb Enable the Layout/ExtraSpacing cop 2019-01-24 13:05:45 +01:00
label_priority_spec.rb
label_spec.rb Add subscribe filter to labels page 2018-10-04 10:24:50 +02:00
legacy_diff_discussion_spec.rb
lfs_download_object_spec.rb Added validations to prevent LFS object forgery 2019-01-31 16:51:54 +01:00
lfs_file_lock_spec.rb Enable the Layout/ExtraSpacing cop 2019-01-24 13:05:45 +01:00
lfs_object_spec.rb Merge branch 'gt-update-typos-in-comments-and-specs' into 'master' 2018-11-01 10:34:23 +00:00
lfs_objects_project_spec.rb
license_template_spec.rb Backport project template API to CE 2018-10-05 11:34:43 +01:00
list_spec.rb fix wording 2018-12-03 22:01:30 +09:00
member_spec.rb Resolve "Can add an existing group member into a group project with new permissions but permissions are not overridden" 2018-12-06 13:15:29 +00:00
merge_request_diff_commit_spec.rb Enable the Layout/ExtraSpacing cop 2019-01-24 13:05:45 +01:00
merge_request_diff_file_spec.rb
merge_request_diff_spec.rb Fix deprecation: Passing conditions to delete_all is deprecated 2018-12-13 21:38:51 +01:00
merge_request_spec.rb Enable the Layout/ExtraSpacing cop 2019-01-24 13:05:45 +01:00
milestone_spec.rb Adds milestone search 2019-01-24 18:44:09 +01:00
namespace_spec.rb Update storage location after a group has been renamed/transfered 2018-12-21 16:00:46 -02:00
note_diff_file_spec.rb
note_spec.rb Use parent instead of project 2019-01-08 02:30:37 +08:00
notification_recipient_spec.rb
notification_setting_spec.rb Remove rails4 specific code 2018-12-16 10:48:41 +01:00
pages_domain_spec.rb
personal_access_token_spec.rb [master] Persist only SHA digest of PersonalAccessToken#token 2018-10-29 16:06:45 +00:00
pool_repository_spec.rb Leave object pools when destroying projects 2018-12-19 13:21:56 +01:00
programming_language_spec.rb
project_authorization_spec.rb
project_auto_devops_spec.rb Fix coding offence 2018-12-04 19:24:21 +09:00
project_ci_cd_setting_spec.rb
project_custom_attribute_spec.rb
project_deploy_token_spec.rb
project_feature_spec.rb Make GitLab pages support access control 2018-10-05 13:41:11 +00:00
project_group_link_spec.rb Whitelist existing destroy_all offenses 2018-08-16 17:29:37 +02:00
project_import_data_spec.rb Add clear_credentials method to ProjectImportData 2019-01-14 11:45:46 -08:00
project_import_state_spec.rb Removes all the irrelevant import related code and columns 2018-11-27 12:58:13 +00:00
project_label_spec.rb
project_repository_spec.rb Store hashed storage paths in the database 2018-11-29 16:08:14 +00:00
project_snippet_spec.rb
project_spec.rb Group Guests are no longer able to see merge requests 2019-01-31 16:51:54 +01:00
project_statistics_spec.rb
project_team_spec.rb
project_wiki_spec.rb Revert "Merge branch 'revert-e2aa2177' into 'master'" 2018-11-20 12:29:56 +00:00
prometheus_metric_spec.rb Correct ordering of metrics 2018-12-21 16:41:58 +05:30
protectable_dropdown_spec.rb
protected_branch_spec.rb
protected_tag_spec.rb
push_event_payload_spec.rb fix wording 2018-12-03 22:01:30 +09:00
push_event_spec.rb
redirect_route_spec.rb
release_spec.rb Add spec for Releases::Source and Link models 2019-01-04 22:17:02 +09:00
remote_mirror_spec.rb Only send one notification for failed remote mirror 2019-01-15 00:15:40 -08:00
repository_language_spec.rb
repository_spec.rb Revert "Merge branch '3062-improve-project-cache' into 'master'" 2019-01-08 13:14:06 -08:00
resource_label_event_spec.rb Enable the Layout/ExtraSpacing cop 2019-01-24 13:05:45 +01:00
route_spec.rb
sent_notification_spec.rb Prevent comments by email when issue is locked 2019-01-31 16:52:48 +01:00
service_spec.rb Move project services log to a separate file 2018-09-06 14:48:31 -03:00
shard_spec.rb Start tracking shards in the database 2018-11-05 01:30:04 +00:00
snippet_blob_spec.rb
snippet_spec.rb Move embeddable? to model to be used outside view 2018-12-20 14:32:51 +08:00
spam_log_spec.rb
ssh_host_key_spec.rb Backport SSH host key detection code to CE 2018-10-25 13:51:45 +01:00
subscription_spec.rb
suggestion_spec.rb Allow suggesting single line changes in diffs 2018-12-13 19:17:19 +00:00
system_note_metadata_spec.rb
term_agreement_spec.rb
timelog_spec.rb
todo_spec.rb Add additional scope check to Todo#for_target spec 2018-11-30 13:47:08 -06:00
tree_spec.rb
trending_project_spec.rb
upload_spec.rb Backport changes from EE 2018-11-07 11:29:31 +01:00
user_agent_detail_spec.rb
user_callout_spec.rb Fix coding offence 2018-12-04 19:24:21 +09:00
user_custom_attribute_spec.rb
user_interacted_project_spec.rb
user_preference_spec.rb Save sorting preference for Issues/MRs in BE 2019-01-28 12:48:05 -06:00
user_spec.rb Group Guests are no longer able to see merge requests 2019-01-31 16:51:54 +01:00
user_status_spec.rb
wiki_directory_spec.rb
wiki_page_spec.rb Revert "Merge branch 'revert-e2aa2177' into 'master'" 2018-11-20 12:29:56 +00:00