gitlab-org--gitlab-foss/app/models/concerns
Zeger-Jan van de Weg 399056ed78 Remove dependencies on Linguist
This saves about 128 MB of baseline RAM usage per Unicorn and
Sidekiq process (!).

Linguist wasn't detecting languages anymore from CE/EE since
9ae8b57467. However, Linguist::BlobHelper
was still being depended on by BlobLike and others.

This removes the Linguist gem, given it isn't required anymore.
EscapeUtils were pulled in as dependency, but given Banzai depends on
it, it is now added explicitly.

Previously, Linguist was used to detect the best ACE mode. Instead,
we rely on ACE to guess the best mode based on the file extension.
2018-10-12 17:17:30 -07:00
..
mentionable Remove EE-specific code from Mentionable 2018-09-17 19:36:53 +08:00
storage Improve logging when username update fails due to registry tags 2018-10-02 06:36:58 -04:00
access_requestable.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
artifact_migratable.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
atomic_internal_id.rb Updates code using class_methods over module ClassMethods 2018-08-29 16:56:34 +02:00
avatarable.rb Disable project avatar validation if avatar has not changed 2018-09-04 12:20:58 -07:00
awardable.rb Updates code using class_methods over module ClassMethods 2018-08-29 16:56:34 +02:00
batch_destroy_dependent_associations.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
blob_like.rb Remove dependencies on Linguist 2018-10-12 17:17:30 -07:00
blocks_json_serialization.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
bulk_member_access_load.rb Use `Gitlab::SafeRequestStore` in more places 2018-09-24 12:11:27 -07:00
cache_markdown_field.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
cacheable_attributes.rb Simplify by using Gitlab::SafeRequestStore 2018-09-24 12:11:26 -07:00
case_sensitivity.rb Port changes for CODEOWNERS to CE 2018-09-06 09:07:19 +02:00
chronic_duration_attribute.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
created_at_filterable.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
deployment_platform.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
diff_file.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
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 Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
each_batch.rb Updates code using class_methods over module ClassMethods 2018-08-29 16:56:34 +02:00
editable.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
enum_with_nil.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
expirable.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
fast_destroy_all.rb Whitelist existing destroy_all offenses 2018-08-16 17:29:37 +02:00
faster_cache_keys.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
feature_gate.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
from_union.rb Added FromUnion to easily select from a UNION 2018-09-17 12:39:43 +02:00
ghost_user.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
group_descendant.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
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 Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
ignorable_column.rb Updates code using class_methods over module ClassMethods 2018-08-29 16:56:34 +02:00
iid_routes.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
importable.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
issuable.rb Allows to filter issues by `Any milestone` in the API 2018-10-03 14:19:08 +02:00
label_eventable.rb Resource event model 2018-08-01 08:58:49 +00:00
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 Remove EE-specific code from Mentionable 2018-09-17 19:36:53 +08:00
milestoneish.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
note_on_diff.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
noteable.rb Use ResourceLabelEvent for tracking label changes 2018-09-07 13:39:20 +00: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 Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
project_features_compatibility.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
project_services_loggable.rb Enable frozen string in vestigial files 2018-09-11 02:06:35 -07:00
prometheus_adapter.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
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 Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
redis_cacheable.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
referable.rb Updates code using class_methods over module ClassMethods 2018-08-29 16:56:34 +02:00
relative_positioning.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
resolvable_discussion.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
resolvable_note.rb Updates code using class_methods over module ClassMethods 2018-08-29 16:56:34 +02:00
routable.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
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
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 Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
throttled_touch.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
time_trackable.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
token_authenticatable.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
triggerable_hooks.rb Merge branch 'filter-web-hooks-by-branch' into 'master' 2018-09-05 13:39:41 +00:00
uniquify.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
updated_at_filterable.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
valid_attribute.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
with_uploads.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00