edshot99
c5edb7fa41
Merge branch 'master' into master2
2024-12-08 05:27:58 -06:00
Cinder
f995714992
[Posts] Rewrite the thumbnail styles ( #796 )
...
Fixes #791 and #781
2024-11-18 08:38:22 -08:00
edshot99
4928747b83
add transcript support
...
it could be possible to load closed captions and subtitles from the transcript div via javascript, but I hate javascript so perhaps some other time.
2024-11-10 13:58:15 -06:00
edshot99
b7fee5fe2f
add title support
2024-10-30 18:52:53 -05:00
Cinder
1f63f4b9d5
[Blacklist] Redesign and rework the blacklist ( #693 )
2024-08-04 15:17:36 -07:00
Cinder
164f5b4851
[Posts] Standardize thumbnail attributes ( #684 )
...
Thumbnails used to have four different sets of data-attributes depending on how they were displayed.
2024-07-28 18:12:41 -07: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
930b4b905c
[Pools] Fix show/gallery for frozen string literals
...
Get rid of the presenters/post sets.
2024-02-25 11:38:55 +01:00
Earlopain
9203dcdb82
[Posts] Add a method to get tags that a post is tagged with
...
Better performance than the regex as well
2023-09-03 18:24:40 +02:00
Earlopain
a5db6d74f0
[Posts] Fix the navlinks being empty in certain cases
...
If the post is part of a set that is public ,order:X was supplied and
you aren't the owner of that set the navbar would render empty.
2023-08-31 15:46:56 +02:00
Earlopain
6885fbf62d
[Posts] Fix sequential navigator appearing for order:X
2023-08-31 08:57:55 +02:00
Earlopain
c8d7bebd72
[QueryBuilder] Move parsing code into own class
...
Introduces the concept of "free" tags to account for automatically added tags.
Introduce `resolve_aliases` which can be used instead of `raw_tag_match`
2023-08-24 13:16:44 +02:00
Earlopain
e1a564f3c6
Merge pull request #528 from faucetlol/iqdb-file-extension
...
[Posts] Show file extension in iqdb search
2023-08-01 20:10:33 +02:00
Earlopain
162ed5c13a
[Posts] Remove unnecessary null checks
...
These fields or not nullable
2023-05-10 19:16:48 +02:00
Donovan Daniels
6100f8f0d0
[Posts]: Hide disabled comments info better ( #507 )
...
* [Posts]: Hide disabled comments info better
* use method, remove nullable check, remove from api
* I hate rubocop so much
* missed these two
2023-05-10 18:39:38 +02:00
faucet
ccfd76c0a5
[Posts] Show file extension in iqdb search
2023-02-13 14:19:57 +00:00
Earlopain
df703a1c90
[Posts] Remove "captioned" css class from post previews
...
It's always set and serves no purpose
2022-12-25 19:52:38 +01:00
Earlopain
9a232ec448
[Posts] Remove unused thumbnail_blacklisted preview option
...
This adds a class that has no styling. Seems to be left over from the
blacklist hiding logic rework.
2022-12-25 19:46:50 +01:00
Earlopain
2249cb3ebb
[Cleanup] Remove joins for db post query builder
...
This just removes things that the elastic builder doesn't support, and comment_count
2022-12-07 18:10:08 +01:00
Earlopain
e830c11ae9
[Cleanup] Remove raw
post index param
2022-09-29 16:10:04 +02:00
Earlopain
34bece584c
[Posts] Simplify tag list generation
...
There were a bunch of parameters being passed around, now there aren't.
Also gave the methods more descriptive names.
2022-09-17 13:18:33 +02:00
Earlopain
eb5d001b55
[Posts] Remove the modqueue
...
Truly the end of an era. This page was trash and nobody was using it.
This will make it easier to make changes to the approval flow people actually use.
2022-09-13 16:14:00 +02:00
Earlopain
7e33ea8271
[Cleanup] Remove pool is_deleted
...
Pools are hard-deleted now. There are also a few pools with this flag
which can't be properly deleted at the moment
2022-07-11 22:52:26 +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
Earlopain
061176e095
[Setup] Ignore limits when seeding
...
This makes the environment config understand booleans. If something
ends with "?" it tries to interpret it as a boolean. A bunch of
existing configs where changed to reflect this change.
2021-11-14 22:16:36 +01:00
Earlopain
b92ceb9b0a
[Posts] Remove dead query code
2021-08-14 13:51:50 +02:00
Kira
9b5e0e9bb8
[Posts] Make post html generator detect status case insensitive
...
When using status:Deleted the search system would properly downcase
the value, but no results were shown. This is because the status was
being checked against in the post presenter and decorator in order to
prevent showing deleted thumbnails without circumstance.
This makes the matching on the status check case insensitive, which
fixes status:Deleted
2021-05-02 14:45:53 -07:00
Kira
436d2aea38
[Ruby 3] Fix up some deprecations involving ruby 3
...
Still pending are gems that make poor choices and need to be removed,
replaced, or fixed up.
Memoist
ActiveModelSerializers
2020-11-11 21:06:12 -08:00
Kira
df1fef00ad
[Posts] Add back url attributes on request
...
This prevents the need to fetch additional copies of the data over
API to obtain a sample image.
2020-10-18 01:10:09 -07:00
Kira
afdaf3a486
[Samples] Resize logic + sample support for images
2020-10-17 22:35:28 -07:00
Kira
b4e02feabe
[Blacklist] Show placeholder on pool pages for blacklisted posts
2020-06-13 23:15:22 -07:00
Kira
5eff7bd4f6
Fix exception in child/parent rendering
2020-02-05 20:05:04 -08:00
Kira
86aa932d16
Enable support for disabling post statistics
2020-02-05 13:48:59 -08:00
Kira
4bc1ed6223
Fix image sizing text and default mode
...
When viewing images with a default view mode of sample it would
place the view mode as sample, but videos do not have "sample"
sizes in accordance to the resizing logic. This poisons the default
size mode based on various limitations of what posts have for
possible resizing modes.
2020-01-02 09:16:40 -08:00
Kira
4b74a30756
Localize background to images so it looks less weird
2020-01-01 17:02:27 -08:00
Kira
15923af4ba
Add janitor selectable background color per image
2019-12-31 10:19:11 -08:00
Kira
4203a20337
Add upload date to thumbnails
2019-11-30 16:05:05 -08:00
Kira
d797c3ecd0
Add parent post comparison on delete
2019-10-29 10:51:40 -07:00
Kira
c6fa88afd3
Add user: blacklist support
...
This also fixes some caching issues surrounding user names and
repeatedly requesting names from the network cache.
2019-10-12 16:37:16 -07:00
Kira
f85de16f96
Add missing search options
...
Add note, deletedby, and delreason search options.
2019-09-25 20:40:52 -07:00
Kira
799f97a560
Fix sequential navigation for logged out users
2019-08-13 11:54:14 -07:00
Kira
1861441100
Add post status below post on index pages
2019-08-03 19:00:58 -07:00
Kira
14ece3f349
Remove disabling of sequential post navigation options.
2019-06-01 08:19:22 -07:00
Kira
c1d82c7308
Add hide from anon and hide from search engines
2019-04-17 19:44:12 -07:00
Kira
45394916d8
Sets
2019-03-23 00:40:44 -07:00
Kira
a3ad66eff2
Show deleted post thumbnails
...
Allow users to see and click on deleted posts without showing
the actual post preview. This roughly equates to how deleted
posts work on E621 at present.
This also resulted in some clean up and bug fixing surrounding
determining if a post should be visible or not. Previously this
was limited to user level(for ugrade incentive), safe mode, and
if the post was banned. Now it's only safe mode and if the post
is deleted.
Future work items:
- Remove display deleted toggle and support code, as it is broken.
2019-02-15 03:14:35 -08:00
Albert Yi
d8aabff77b
remove post keeper references
2019-01-31 15:45:06 -08:00
evazion
bd0bb658b8
Fix #3974 : Pool galleries: link thumbnails to pools instead of posts.
2018-11-06 14:33:04 -06:00
evazion
841104f09a
post presenter: fixup typo in 26c1eadf
.
2018-11-06 13:15:09 -06:00