gitlab-org--gitlab-foss/app/models/concerns
Jan Provaznik 239fdc78b1 Use FastDestroy for deleting uploads
It gathers list of file paths to delete before destroying
the parent object. Then after the parent_object is destroyed
these paths are scheduled for deletion asynchronously.

Carrierwave needed associated model for deleting upload file.
To avoid this requirement, simple Fog/File layer is used directly
for file deletion, this allows us to use just a simple list of paths.
2018-12-06 22:00:19 +01:00
..
mentionable Turn reference regex constants into methods 2018-11-12 13:50:31 +01:00
storage Fix typos in comments and specs 2018-11-01 08:59:20 +02:00
token_authenticatable_strategies Fix typo in encrypted token authenticatable strategy 2018-12-04 14:32:03 +01:00
access_requestable.rb
artifact_migratable.rb
atomic_internal_id.rb Updates code using class_methods over module ClassMethods 2018-08-29 16:56:34 +02:00
avatarable.rb Rails5: Passing a class as a value in an Active Record query is deprecated 2018-11-17 16:14:36 +01:00
awardable.rb Sort issues and merge requests in ascending and descending order 2018-12-06 16:57:19 +00:00
batch_destroy_dependent_associations.rb
blob_language_from_git_attributes.rb Allow FoundBlob to access language from gitattributes 2018-10-30 15:44:55 +08:00
blob_like.rb Remove dependencies on Linguist 2018-10-12 17:17:30 -07:00
blocks_json_serialization.rb Eliminate duplicated words 2018-11-22 01:01:23 +09:00
bulk_member_access_load.rb Use `Gitlab::SafeRequestStore` in more places 2018-09-24 12:11:27 -07:00
cache_markdown_field.rb Merge branch 'security-xss-in-markdown-following-unrecognized-html-element' into 'master' 2018-11-28 19:09:35 -05:00
cacheable_attributes.rb Fix typos in comments and specs 2018-11-01 08:59:20 +02:00
case_sensitivity.rb Port changes for CODEOWNERS to CE 2018-09-06 09:07:19 +02:00
chronic_duration_attribute.rb Add custom validation message for chronic duration attribute 2018-12-05 13:09:43 +01:00
created_at_filterable.rb
deployable.rb Ignore environment validation failure 2018-11-15 11:19:04 +00:00
deployment_platform.rb Unify into :group_clusters feature flag 2018-12-05 10:16:44 +13:00
diff_file.rb
diff_positionable_note.rb Backport CE changes from draft_notes addition in EE 2018-10-04 15:45:00 -06:00
discussion_on_diff.rb
each_batch.rb Fix statement timeouts in RemoveRestrictedTodos migration 2018-11-04 06:01:17 -08:00
editable.rb
enum_with_nil.rb
expirable.rb
fast_destroy_all.rb Use FastDestroy for deleting uploads 2018-12-06 22:00:19 +01:00
faster_cache_keys.rb
feature_gate.rb
from_union.rb Added FromUnion to easily select from a UNION 2018-09-17 12:39:43 +02:00
ghost_user.rb
group_descendant.rb
has_status.rb Change the order of status_sql to avoid the query for scheduled status at the earlier step 2018-10-02 17:08:14 +02:00
has_variable.rb
ignorable_column.rb Updates code using class_methods over module ClassMethods 2018-08-29 16:56:34 +02:00
iid_routes.rb
importable.rb
issuable.rb Sort issues and merge requests in ascending and descending order 2018-12-06 16:57:19 +00:00
label_eventable.rb
loaded_in_group_list.rb Updates code using class_methods over module ClassMethods 2018-08-29 16:56:34 +02:00
manual_inverse_association.rb Updates code using class_methods over module ClassMethods 2018-08-29 16:56:34 +02:00
mentionable.rb Turn reference regex constants into methods 2018-11-12 13:50:31 +01:00
milestoneish.rb
mirror_authentication.rb SSH public-key authentication for push mirroring 2018-11-19 11:46:39 +00:00
note_on_diff.rb
noteable.rb Remove EE-specific code from DiscussionNote 2018-10-26 14:23:58 +01:00
optionally_search.rb Updates code using class_methods over module ClassMethods 2018-08-29 16:56:34 +02:00
participable.rb Updates code using class_methods over module ClassMethods 2018-08-29 16:56:34 +02:00
presentable.rb
project_features_compatibility.rb
project_services_loggable.rb Enable frozen string in vestigial files 2018-09-11 02:06:35 -07:00
prometheus_adapter.rb
protected_branch_access.rb Fix how we use EE::ProtectedRefAccess 2018-09-11 18:45:49 +08:00
protected_ref.rb Refactor ProtectedRefMatcher to be more generic 2018-08-13 13:36:22 +02:00
protected_ref_access.rb Remove EE-specific code from ProtectedRefAccess 2018-09-17 19:36:53 +08:00
protected_tag_access.rb Fix how we use EE::ProtectedRefAccess 2018-09-11 18:45:49 +08:00
reactive_caching.rb Merge branch 'frozen-string-enable-app-models-even-more' into 'master' 2018-08-08 12:40:19 +00:00
reactive_service.rb
redactable.rb Redact unsubscribe links in issuable texts 2018-10-23 21:20:20 +02:00
redis_cacheable.rb
referable.rb Updates code using class_methods over module ClassMethods 2018-08-29 16:56:34 +02:00
relative_positioning.rb Speed up setting of relative position 2018-11-23 13:06:04 +00:00
resolvable_discussion.rb
resolvable_note.rb Updates code using class_methods over module ClassMethods 2018-08-29 16:56:34 +02:00
routable.rb
select_for_project_authorization.rb Updates code using class_methods over module ClassMethods 2018-08-29 16:56:34 +02:00
sha_attribute.rb Updates code using class_methods over module ClassMethods 2018-08-29 16:56:34 +02:00
shardable.rb Store hashed storage paths in the database 2018-11-29 16:08:14 +00:00
sortable.rb Updates code using class_methods over module ClassMethods 2018-08-29 16:56:34 +02:00
spammable.rb Updates code using class_methods over module ClassMethods 2018-08-29 16:56:34 +02:00
strip_attribute.rb Updates code using class_methods over module ClassMethods 2018-08-29 16:56:34 +02:00
subscribable.rb Fix N+1 for notification recipients in subscribers 2018-10-04 14:27:36 +01:00
taskable.rb
throttled_touch.rb
time_trackable.rb
token_authenticatable.rb Merge branch 'fix/gb/encrypt-runners-tokens' into 'master' 2018-12-04 16:48:30 +00:00
triggerable_hooks.rb Merge branch 'filter-web-hooks-by-branch' into 'master' 2018-09-05 13:39:41 +00:00
uniquify.rb
updated_at_filterable.rb
valid_attribute.rb
with_uploads.rb Use FastDestroy for deleting uploads 2018-12-06 22:00:19 +01:00