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
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
Donovan Daniels
ac0ef59b3e
[Pools] Fix ordering returning error 406 ( #668 )
...
Fixes #555
2024-07-12 08:55:35 -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
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
Earlopain
c60ee96133
[Posts] Fix an error during uploads for 404/etc.
...
This line wasn't properly updated for faraday
2024-05-07 16:47:57 +02:00
Earlopain
a7ef80074d
[Cleanup] Resolve some easy ruby warnings
...
Mostly duplicate method warnings
2024-04-28 11:59:37 +02:00
Earlopain
0dce1e50f2
[Users] Add a reasonable length limit on emails
...
The spec allows for addresses up to 255. A limit of 100 impacts 3 users right now
2024-04-28 11:28:07 +02:00
Earlopain
e002cc165f
[Gems] Bump RuboCop
2024-04-28 11:05:37 +02:00
Earlopain
d01c8c131d
[Misc] Replace httparty with faraday
...
We already pull in faraday from opensearch-ruby.
httparty hasn't had a release in a while and it printing warnings on ruby 3.3
2024-04-27 23:01:10 +02:00
Earlopain
75ea36b700
[Cleanup] Remove unused size method from file class
2024-04-26 15:58:18 +02:00
Earlopain
b058077cf0
[Misc] Add a method that returns the base url for network requests
...
This makes it easier to stub in tests.
Also add a method to the iqdb proxy to say if it is enabled or not and use it everywhere.
2024-04-26 15:57:56 +02:00
Earlopain
988b607c57
Merge pull request #638 from DonovanDMC/note-previews-posts
...
[Notes] Remove note previews, replace with dtext previews
2024-04-21 19:40:09 +02:00
Earlopain
4df14cfec5
Merge pull request #635 from DonovanDMC/artists-new-link
...
[Artists] Fix "new" link in link_to_artist
2024-04-21 19:34:48 +02:00
Earlopain
75b618efc7
Merge pull request #634 from DonovanDMC/dmail-blacklist-tags
...
[DMails] Update "blacklisting user" tags
2024-04-21 19:33:31 +02:00
Earlopain
53d67da88d
[TagImplications] Ignore tag count limit on approve
...
This will apply to all automated changes, though I think only implications really need it.
2024-04-21 19:09:52 +02:00
Earlopain
6dfd8d8a7e
[Rails] Use different syntax to query if pg array contains single value
...
This will be broken in the next major rails version: https://github.com/rails/rails/issues/51617
2024-04-21 18:21:37 +02:00
Earlopain
8fdeb166df
[Rails] Use modern enum syntax
...
The current one is deprecated in the next rails version
2024-04-21 18:14:01 +02:00
Donovan Daniels
0f8ec1de53
[Notes] Remove note previews, replace with dtext previews
2024-04-18 05:31:25 -05:00
Earlopain
3229106431
[WikiPages] Fix exception on show_or_new without arg
...
This now uses `titled` which didn't handle nil
2024-04-12 15:11:45 +02:00
Earlopain
d2d6e83537
[Misc] Fix an exception during exception logging
...
This broke after the upgrade to rails 7.1 because of https://github.com/rails/rails/pull/46535
2024-04-11 19:10:57 +02:00
Donovan Daniels
7f141ae5bc
[Artists] Fix "new" link in link_to_artist
2024-04-09 21:45:00 -05:00
Donovan Daniels
8a89377845
[DMails] Update "blacklisting user" tags
2024-04-09 20:44:56 -05:00
Earlopain
0b47770c49
[Prod] Add Datadog
...
Let's see how this one works out. Cute logo
2024-04-09 20:16:29 +02:00
Earlopain
40ff649250
Merge pull request #631 from DonovanDMC/wikipages-normalize-title
...
[WikiPages] normalize title in show_or_new & edit
2024-04-09 19:56:16 +02:00
Earlopain
7cd026d18d
[Cleanup] Return a single wiki from WikiPage.titled
2024-04-09 19:50:33 +02:00
Earlopain
d40dee278d
Merge pull request #632 from DonovanDMC/fix-help-related
...
[HelpPages] Fix showing related only to Janitor+
2024-04-09 19:41:33 +02:00
Earlopain
d84723909c
Merge pull request #617 from DonovanDMC/normalize-tagsetpresenter-tags
...
[UploadPresenter] Normalize tags & strip metatags
2024-04-09 19:35:44 +02:00
Donovan Daniels
38552905e5
[HelpPages] Fix showing related only to Janitor+
2024-04-06 07:58:11 -05:00