gitlab-org--gitlab-foss/app/models/concerns
Yorick Peterse d0b8f536a1
Remove soft removals related code
This removes all usage of soft removals except for the "pending delete"
system implemented for projects. This in turn simplifies all the query
plans of the models that used soft removals. Since we don't really use
soft removals for anything useful there's no point in keeping it around.

This _does_ mean that hard removals of issues (which only admins can do
if I'm not mistaken) can influence the "iid" values, but that code is
broken to begin with. More on this (and how to fix it) can be found in
https://gitlab.com/gitlab-org/gitlab-ce/issues/31114.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/37447
2018-01-08 17:04:45 +01:00
..
mentionable Improve support for external issue references 2017-06-30 14:47:53 +02:00
storage Write projects config to all projects inside namespace in batches 2018-01-03 16:13:32 -02:00
access_requestable.rb
artifact_migratable.rb Use job_artifacts_archive|metadata 2017-12-03 12:04:49 +01:00
avatarable.rb Always return full avatar URL for private/internal groups/projects when asset host is set 2017-11-09 15:40:41 +00:00
awardable.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
blob_like.rb Refactor Blob support of external storage in preparation of job artifact blobs 2017-05-03 10:20:05 -05:00
blocks_json_serialization.rb Add a JsonSerializationError class instead of raising SecurityError 2017-12-19 15:45:08 -06:00
bulk_member_access_load.rb Resolve "Display member role per project" 2017-12-07 09:11:41 +00:00
cache_markdown_field.rb Use relative URLs when linking to uploaded files 2017-12-22 15:09:16 +00:00
case_sensitivity.rb Fix code for cops 2017-02-23 09:31:57 -06:00
created_at_filterable.rb refactor created at filter to use model scopes 2017-07-07 18:31:50 +02:00
deployment_platform.rb Just try to detect and assign once 2018-01-05 15:32:31 +08:00
discussion_on_diff.rb Improve performance of DiffDiscussion#truncated_diff_lines and DiffNote#diff_line by removing expensive diff position calculation and comparison 2017-12-22 18:07:15 +01:00
each_batch.rb Added EachBatch for iterating tables in batches 2017-07-07 16:39:36 +02:00
editable.rb replace is_edited? with edited? 2017-08-29 11:14:41 +03:00
expirable.rb
faster_cache_keys.rb
feature_gate.rb Rename FLippable to FeatureGate and make flipper_group and user mutually exclusive 2017-06-27 18:59:51 +02:00
ghost_user.rb Move a user's award emoji to the ghost user 2017-04-06 18:59:17 +05:30
group_descendant.rb Move the ancestors_upto to Project and Namespace 2017-10-10 16:55:02 +02:00
has_status.rb Add a additional scope related to alive CI/CD statuses 2017-10-05 11:30:21 +02:00
has_variable.rb Strip leading & trailing whitespaces in CI/CD secret variable keys 2017-11-27 18:09:46 +01:00
ignorable_column.rb updated the ignore_column concern to support multiple columns 2017-11-06 10:20:20 -05:00
importable.rb Rename skip_metrics to imported on the importable concern 2017-04-03 15:50:22 -03:00
internal_id.rb Remove soft removals related code 2018-01-08 17:04:45 +01:00
issuable.rb Cache merged and closed events data in merge_request_metrics table 2018-01-02 17:45:25 -02:00
loaded_in_group_list.rb Update preloaded count queries for MySQL 2017-10-12 11:36:55 +02:00
manual_inverse_association.rb Use latest_merge_request_diff association 2017-11-23 12:14:56 +00:00
mentionable.rb Merge remote-tracking branch 'upstream/master' into no-ivar-in-modules 2017-11-30 15:20:00 +08:00
milestoneish.rb Use StrongMemoize and enable/disable cops properly 2017-11-18 01:01:53 +08:00
note_on_diff.rb Improve performance of DiffDiscussion#truncated_diff_lines and DiffNote#diff_line by removing expensive diff position calculation and comparison 2017-12-22 18:07:15 +01:00
noteable.rb Move ModuleWithInstanceVariables to Gitlab namespace 2017-11-22 17:06:57 +08:00
participable.rb Allow simple ivar ||= form. Update accordingly 2017-09-19 01:29:32 +08:00
presentable.rb Revert "Enable Style/DotPosition" 2017-02-23 09:33:19 -06:00
project_features_compatibility.rb Explictly require Gitlab::Utils in ProjectFeaturesCompatibility 2017-12-22 11:40:56 +02:00
protected_branch_access.rb Deduplicate protected ref human_access_levels 2017-11-24 13:47:03 +00:00
protected_ref.rb Allow simple ivar ||= form. Update accordingly 2017-09-19 01:29:32 +08:00
protected_ref_access.rb Deduplicate protected ref human_access_levels 2017-11-24 13:47:03 +00:00
protected_tag_access.rb Protected Tags backend review changes 2017-04-06 10:56:21 +01:00
reactive_caching.rb Merge branch '24185-legacy-ci-status-reactive-cache' into 'security' 2017-01-12 17:39:46 -05:00
reactive_service.rb Enable Style/SpaceInsideBrackets 2017-02-23 09:31:56 -06:00
referable.rb Fix link text from group context 2017-11-23 12:59:14 +01:00
relative_positioning.rb Refactor RelativePositioning so that it can be used by other classes 2018-01-05 10:12:14 +01:00
resolvable_discussion.rb Move ModuleWithInstanceVariables to Gitlab namespace 2017-11-22 17:06:57 +08:00
resolvable_note.rb Fix note resolution specs 2017-09-06 10:10:16 +01:00
routable.rb Move ModuleWithInstanceVariables to Gitlab namespace 2017-11-22 17:06:57 +08:00
select_for_project_authorization.rb Use CTEs for nested groups and authorizations 2017-05-17 16:51:08 +02:00
sha_attribute.rb Fix ShaAttribute concern when there is no table 2017-07-07 12:42:38 +01:00
sortable.rb Improve list of sorting options 2017-09-23 11:46:53 +11:00
spammable.rb Updates based on feedback 2017-11-22 00:59:38 +08:00
strip_attribute.rb Allow simple ivar ||= form. Update accordingly 2017-09-19 01:29:32 +08:00
subscribable.rb Load participants async 2017-10-31 16:15:03 +00:00
taskable.rb Move ModuleWithInstanceVariables to Gitlab namespace 2017-11-22 17:06:57 +08:00
throttled_touch.rb Throttle the number of UPDATEs triggered by touch 2017-12-06 15:59:37 +01:00
time_trackable.rb Only include the user's ID in the time_spent command's update hash 2017-12-19 15:45:08 -06:00
token_authenticatable.rb Create idea of read-only database 2017-10-06 22:37:40 +02:00
uniquify.rb Implement final review comments from @DouweM and @rymai 2017-02-24 16:50:20 +05:30
valid_attribute.rb New error message recreating projects on pending delete 2017-01-11 15:07:09 +01:00