Earlopain
a7ef80074d
[Cleanup] Resolve some easy ruby warnings
...
Mostly duplicate method warnings
2024-04-28 11:59:37 +02:00
Earlopain
fc7d84affd
[RuboCop] Enable Style/FrozenStringLiteralComment
...
This reduces allocations on the posts page by about 5%, from basic testing
2024-02-25 18:15:55 +01:00
Earlopain
6bb4c272cc
[Gems] Bump rubocop
2023-12-03 15:36:37 +01:00
Earlopain
20ef412b68
[Cleanup] Remove CurrentUser.root_url
2022-11-26 14:43:43 +01:00
Earlopain
b5fbc1e2eb
[Home] Add dynamic mascots
2022-10-15 21:40:40 +02:00
Earlopain
7531fc9894
[Cleanup] Remove an assortment of unused code
2022-07-11 20:17:24 +02:00
Earlopain
ee8fb64861
[Cleanup] Remove ugoira
2022-03-16 17:08:40 +01:00
Kira
2ad0dc957f
[Replacements] Fix replacement url generation
2021-04-07 10:33:19 -07:00
Kira
173294fb56
[Replacements] Testing
2021-04-07 10:33:19 -07:00
Kira
5b2c304433
[Replacements] Temp storage
2021-04-07 10:33:19 -07:00
Kira
3855d64228
Post replacement system
2021-04-07 10:33:18 -07:00
Kira
7fcb491d6c
[Replacement] Delete replaced files + generate video samples
2021-02-04 17:47:34 -08:00
Kira
93bd87b8f8
[Storage] Fix :original ignoring file extensions
2020-10-18 00:11:07 -07:00
Kira
afdaf3a486
[Samples] Resize logic + sample support for images
2020-10-17 22:35:28 -07:00
Kira
c35d272d1e
Updated encode settings
...
Save space, save time, make it clear it's a sample
2020-10-17 22:35:28 -07:00
Kira
0e95efa541
Fix file storage for videos
2020-10-17 22:35:28 -07:00
Kira
f247b88124
[Storage] Delete protected files when destroying posts
2020-04-21 20:41:35 -07:00
Kira
66ab994b25
Fix deleted post auth generation
2019-10-21 01:02:57 -07:00
Kira
895fa25c03
Move deleted posts to a protected folder
...
Set up support for moving deleted files to a protected location
and support for emitting urls with authorization parameters to
permit access to them.
This closes #14
2019-02-12 03:00:57 -08:00
evazion
88a177e1d5
TagSetPresenter: refactor humanized_essential_tag_string.
...
Move Post#humanized_essential_tag_string to TagSetPresenter#humanized_essential_tag_string.
This allows humanized_essential_tag_string to reuse the same set of tags
already fetched by the tag set presenter for the sidebar.
This avoids fetching the tag categories from memcache again (via
Post#typed_tags) when we're already fetched the tags once before.
This also means it's no longer necessary to cache humanized_essential_tag_string
itself in memcache, since it can be generated as quickly as the sidebar taglist.
2018-09-30 21:52:24 -05:00
Albert Yi
0314dc9751
more consistent behavior of CurrentUser.root_url
2018-08-15 16:08:10 -07:00
Albert Yi
ea210bdc75
Add matching storage manager
2018-07-12 17:15:41 -07:00
Albert Yi
64446d49e1
add image cropping support
2018-06-22 14:41:57 -07:00
Albert Yi
03e2a2ca3b
add rake task for distributing images using storage managers
2018-04-12 10:40:24 -07:00
Albert Yi
23fef71346
Merge pull request #3609 from evazion/fix-3603
...
Fix #3603 : Unable to view images on Hijiribe/Sonohara when Danbooru is blocked
2018-04-09 10:56:00 -07:00
evazion
2cbec785ea
Fix #3613 : Broken preview images for flash files.
2018-04-08 11:49:30 -05:00
evazion
1b14545d0d
Fix #3603 : Unable to view images on Hijiribe/Sonohara when Danbooru domain is blocked.
2018-04-06 21:25:14 -05:00
evazion
084fcd91ed
Only generate tagged filenames for URLs on post show pages ( #3597 ).
...
Don't generate tagged filenames for urls in the data attributes on
thumbnails, or in the /posts.json api.
2018-04-05 14:20:37 -05:00
Albert Yi
18dd47c557
Merge branch 'master' of github.com:r888888888/danbooru
2018-03-28 17:19:35 -07:00
Albert Yi
929b2fa896
move default base url to method to deal with deployment issues
2018-03-28 17:19:21 -07:00
evazion
be0c2cfcfa
posts: fix incorrect large_file_url for animated_gifs.
...
For animated_gif posts, large_file_url was returning
"/data/sample-$md5.jpg" instead of "/data/$md5.gif".
2018-03-28 19:17:15 -05:00
evazion
b0c7d9c185
Add storage managers (local, sftp, s3, hybrid).
2018-03-20 19:49:06 -05:00