Donovan Daniels
4a0a0c2f93
[UserFeedbacks] Add ability to soft delete feedbacks ( #670 )
2024-07-21 10:58:40 -07:00
Sindrake
ec3ae90db9
[Seeding] Add post vote seeding
2024-07-21 08:59:33 -07:00
Sindrake
d235ce223f
[Tags] Make tag preview case insensitive
2024-07-20 16:07:55 -07:00
Sindrake
f7e47b6141
[TagQuery] Force query to lower case
...
Fixes #510
2024-07-20 15:46:40 -07:00
Donovan Daniels
0346f86ac7
[Artists] Convert is_active into proper deletion ( #660 )
2024-07-20 11:45:36 -07:00
Donovan Daniels
4ff4c3718e
[DText] Explicitly set when color is allowed in preview ( #665 )
2024-07-20 10:19:40 -07:00
Donovan Daniels
b28bb5c99f
[ForumTopics] Fix page number mismatch ( #675 )
...
Fixes an issue introduced in #674 .
2024-07-20 09:23:26 -07:00
Cinder
8dea243a58
[Misc] Tweak readme (again)
...
Accidentally wrote over updated instructions.
2024-07-20 08:52:33 -07:00
Cinder
724508731f
[Misc] Tweak readme
2024-07-20 08:45:12 -07:00
Cinder
b852254ad0
[Seeding] Rewrite the seeding script ( #676 )
2024-07-20 08:30:21 -07:00
Sindrake
de6a38de59
[Posts] Removed the default deletion reason for child posts
2024-07-19 08:52:06 -07:00
Sindrake
98a766335a
[Posts] Fix navbar overflow issues
...
The search query text would overflow the navbar and spill into the image itself if it's too long.
Particularly an issue on mobile devices.
2024-07-18 08:04:53 -07:00
Sindrake
40773dc696
[Posts] Only check the "Move Favorites" box when applicable
2024-07-18 02:33:15 -07:00
Sindrake
769966fc50
[Docker] Fix an error in devcontainer
2024-07-18 02:29:52 -07:00
Sindrake
26e1edc0cb
[Misc] Fix erb file associations
...
Not sure how this even happened.
2024-07-17 18:23:49 -07:00
Sindrake
60351ed8e4
Merge branch 'linter'
2024-07-17 15:45:24 -07:00
Sindrake
6cbe400cc5
[ESLint] Fix style complaints
2024-07-17 14:22:24 -07:00
Sindrake
82891b91d1
[ESLint] Fix core complaints
2024-07-17 11:26:58 -07:00
Sindrake
697efbc376
[JS] Add ESLint support
2024-07-17 08:43:55 -07:00
Donovan Daniels
8a535ebb95
[PostReplacements] Allow setting additional_source
& reason
in url ( #667 )
2024-07-16 08:10:51 -07:00
Sindrake
994494814b
[Uploader] Minor fix
2024-07-15 17:37:27 -07:00
Sindrake
ca8e9406e9
[Uploader] Add more query parameters and clean up
...
Fixes #671 by adding query parameters for artist, character, species, and context tags, as well as the post rating.
Additionally, the inputs had incredibly counter-intuitive names. That had also been fixed.
2024-07-15 17:15:26 -07:00
Sindrake
727df848f7
[NewsUpdates] Enable API endpoint for index
...
Also cleaned up some auto-correctable style issues.
2024-07-15 14:01:12 -07:00
Donovan Daniels
af0036db6b
[Forums] Clean up permission checks ( #674 )
2024-07-14 13:14:09 -07:00
Donovan Daniels
d9f6653e02
[Posts] Overhaul destroyed posts ( #672 )
2024-07-13 17:05:50 -07:00
Sindrake
c186b4ee2f
[PostFlags] Add a new flag for banned content
2024-07-12 18:07:31 -07:00
Donovan Daniels
ac0ef59b3e
[Pools] Fix ordering returning error 406 ( #668 )
...
Fixes #555
2024-07-12 08:55:35 -07:00
Sindrake
8f702da82a
[DB] Reverse the order of migrations
...
That's how they want to be now, evidently.
2024-07-12 02:43:04 -07:00
Sindrake
be9dae5a5d
[Blacklist] Fix an error caused by a nil blacklist
2024-07-08 14:32:59 -07:00
Sindrake
1e7011b07b
[PostEvents] Fix an error caused by the event action not being found
2024-07-08 10:00:14 -07:00
Sindrake
6d285957ca
[Misc] Remove minor h1 and h2 mobile style tweaks
...
Absolutely no idea what happened here.
Both of these seem rather pointless.
2024-07-07 17:23:09 -07:00
Sindrake
807232557b
[Misc] Tweak the CSS of the site notices
2024-07-07 17:02:42 -07:00
Sindrake
69207aa60d
[Posts] Add a toggle for the janitor toolbar
...
The toolbar gets in the way when browsing the site with no intentions of handling posts.
2024-07-07 16:11:27 -07:00
Sindrake
1b31f4bda5
[Posts] Reload the page when undeleting a post
2024-07-07 14:46:46 -07:00
Sindrake
0adeff645d
[Posts] Keep search params when disapproving posts
...
Specifically, the issue manifested when using detailed disapprovals.
2024-07-07 11:43:35 -07:00
Sindrake
df3f33ed82
[Blacklist] Always set the blacklist metatags
...
Not doing this breaks the anonymous blacklist, but only if the default blacklist is empty.
2024-07-02 11:18:12 -07:00
Donovan Daniels
6011b9f7bc
[Bans] Enable API for index & show ( #659 )
2024-06-30 09:14:37 -07:00
Donovan Daniels
6d1b15eab4
[PostEvents] Add event for changing background color ( #655 )
2024-06-28 09:26:01 -07:00
Tarrgon
0df2e77ab5
[Posts] Generate samples with background color ( #649 )
2024-06-28 09:13:52 -07:00
Donovan Daniels
4f61a94504
[StaffNotes] Fix body searching ( #654 )
2024-06-27 16:17:40 -07:00
faucet
715ea9bddb
[Posts] Allow some of the Related links when a post isn't visible ( #648 )
2024-06-27 15:39:43 -07:00
Donovan Daniels
165cd315e9
[UploadWhitelist] Make upload whitelist case insensitive ( #651 )
2024-06-27 15:27:08 -07:00
Sindrake
ea8c7d79ff
[Posts] Fix video samples not working in iOS
...
Band-aid fix, but it should work for now.
Evidently, while iOS does support WEBM now, it does not handle vp9 well.
2024-06-27 09:08:50 -07:00
Earlopain
59f5fda98f
[Gems] Back to rack 3 again
...
The issue has already been fix upstream
2024-05-10 11:02:03 +02:00
Earlopain
643cbff636
[Gems] Back to rack 2 again, for now
...
https://github.com/Shopify/pitchfork/issues/117
Needs https://github.com/rack/rack/pull/2062
2024-05-09 15:24:05 +02:00
Earlopain
e4a5764d0b
[Prod] Inline the memory calculation
...
`Pitchfork::MemInfo` is not public. This also fixes the numbers being off by
a factor of 1024 since pitchfork returns kB, while unicorn-worker-killer used to handle bytes.
Add the amount of requests done after the worker get killed for memory reasons
2024-05-08 16:35:11 +02:00
Earlopain
401866b68a
[Prod] Simplify implementation of worker killer
...
Credits to byroot for pointing me in this direction
2024-05-07 21:54:25 +02:00
Earlopain
4c58f4988f
[Prod] Share pitchfork config
...
Somewhat exercise the custom logic during development
2024-05-07 21:54:25 +02:00
Earlopain
2c60ec69c8
[Prod] Replace unicorn with pitchfork
...
pitchfork is a unicorn fork with some things removed and some things added.
We don't need any of these things so it should be an easy replace.
There is no worker-killer for pitchfork, it is however trivial to implement ourselves.
unicorn is pretty much dead. The author implies as much in the various readme updates
he made. It also doesn't work with rack 3 and I doubt a new release will even be made.
If it will, it highly likely won't be on rubygems.
2024-05-07 21:54:25 +02:00
Earlopain
d7ece18a1c
[Posts] Fix the iqdb remove job
...
More faraday fallout. For delete requests, it expects this parameter to be iterable (if present)
2024-05-07 21:52:54 +02:00