gitlab-org--gitlab-foss/app/models/concerns
Francisco Javier López 5a3e6fdff9
Fixing image lfs bug and also displaying text lfs
This commit, introduced in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23812,
fixes a problem creating a displaying image diff notes when the image
is stored in LFS. The main problem was that `Gitlab::Diff::File` was
returning an invalid valid in `text?` for this kind of files.

It also fixes a rendering problem with other LFS files, like text
ones. They LFS pointer shouldn't be shown when LFS is enabled
for the project, but they were.
2018-12-27 16:51:07 +01:00
..
mentionable Turn reference regex constants into methods 2018-11-12 13:50:31 +01:00
storage Remove unnecessary includes of ShellAdapter 2018-12-05 23:19:27 -08: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
avatarable.rb Cache avatar URLs and paths within a request 2018-12-19 15:34:29 -08: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
blob_like.rb Fixing image lfs bug and also displaying text lfs 2018-12-27 16:51:07 +01:00
blocks_json_serialization.rb Eliminate duplicated words 2018-11-22 01:01:23 +09:00
bulk_member_access_load.rb
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 Move schema aware defaults to build_from_defaults 2018-12-19 11:24:54 +01:00
case_sensitivity.rb
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
descendant.rb Rename GroupHierarchy into ObjectHierarchy 2018-12-19 15:24:29 +01:00
diff_file.rb
diff_positionable_note.rb
discussion_on_diff.rb Cache diff highlight in discussions 2018-12-21 16:59:21 -02:00
each_batch.rb Fix statement timeouts in RemoveRestrictedTodos migration 2018-11-04 06:01:17 -08:00
editable.rb
enum_with_nil.rb Remove rails4 specific code 2018-12-16 10:48:41 +01:00
expirable.rb
fast_destroy_all.rb Allow pass additional options to use_fast_destroy 2018-12-06 22:00:19 +01:00
faster_cache_keys.rb
feature_gate.rb
from_union.rb
ghost_user.rb
group_descendant.rb
has_status.rb
has_variable.rb
ignorable_column.rb
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
manual_inverse_association.rb
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 Cache diff highlight in discussions 2018-12-21 16:59:21 -02:00
optionally_search.rb
participable.rb
presentable.rb
project_features_compatibility.rb
project_services_loggable.rb
prometheus_adapter.rb
protected_branch_access.rb
protected_ref.rb
protected_ref_access.rb
protected_tag_access.rb
reactive_caching.rb
reactive_service.rb
redactable.rb
redis_cacheable.rb Remove rails4 specific code 2018-12-16 10:48:41 +01:00
referable.rb
relative_positioning.rb Speed up setting of relative position 2018-11-23 13:06:04 +00:00
resolvable_discussion.rb
resolvable_note.rb
routable.rb
select_for_project_authorization.rb
sha_attribute.rb
shardable.rb Store hashed storage paths in the database 2018-11-29 16:08:14 +00:00
sortable.rb
spammable.rb
strip_attribute.rb
subscribable.rb
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
uniquify.rb
updated_at_filterable.rb
valid_attribute.rb
with_uploads.rb Fixed before_destroy callback 2018-12-06 22:00:19 +01:00