Commit Graph

11291 Commits

Author SHA1 Message Date
Earlopain
2ffe4a9f1d
Merge pull request #633 from DonovanDMC/fix-post-expunge-tests
[Tests] Fix post expunge note/post update count test
2024-04-09 19:36:54 +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
b2c4fffdb5
[Tests] Fix post expunge note/post update count test 2024-04-06 08:12:01 -05:00
Donovan Daniels
38552905e5
[HelpPages] Fix showing related only to Janitor+ 2024-04-06 07:58:11 -05:00
Donovan Daniels
9f5f981700
[WikiPages] normalize title in show_or_new & edit 2024-04-06 07:47:49 -05:00
Donovan Daniels
5edbb507b6
[UploadPresenter] Normalize tags & strip metatags 2024-04-05 23:29:19 -05:00
Cinder
75fdab1c85
[Blacklist] Increase the size of the editor window (#604)
* [Blacklist] Increase the size of the editor window

* Don't have the dialogue overflow horizontally

* Remove one min-content, looks better, same padding top to bottom

* Shrink blacklist in settings slightly. Much closer to height of dtext input now

---------

Co-authored-by: Earlopain <14981592+Earlopain@users.noreply.github.com>
2024-04-05 18:46:00 +02:00
Earlopain
c2574e12d2
[Users] Add profile_about and profile_artinfo to full response 2024-04-05 17:37:39 +02:00
Earlopain
d9a055d058
[Users] Redirect to name changes when name is invalid
The more or less unintrusive message has been there for a few months now.
Start forcing a name change when accessing through a browser, ignore api for now
2024-04-05 17:33:09 +02:00
Earlopain
e397370498
[Rubocop] Regenerate todo
1012 files inspected, 5003 offenses detected, 4797 offenses autocorrectable
2024-04-05 14:11:13 +02:00
Earlopain
64259a0b4e
[Docker] Handle network errrors during seeding
Closes #629
2024-04-05 13:24:58 +02:00
Earlopain
584f69d407
[Posts] Fix initial import including deleted notes 2024-04-05 13:18:45 +02:00
Earlopain
e3fdc5d61b
[Pools] Fix discrepancy between index page count and actual page count
One was using `user.per_page`, the other config.posts_per_page. Consolidate this
logic to `paginate_posts` to make it more obvious what's going on.
2024-04-04 22:52:49 +02:00
Earlopain
bbccfdccd7
[Gems] Bump ruby-lsp 2024-04-04 22:09:12 +02:00
Earlopain
34ae02b300
[CI] Unbreak testing flow
The images removed/are in the process of removing compose v1.

This also pins to an actual version instead of always using latest. Seems like a smart thing to do.

https://github.com/actions/runner-images/issues/9557
2024-04-03 15:05:48 +02:00
Earlopain
af46da355d
Merge pull request #627 from DonovanDMC/bur-duplicate-of
[BUR] Move "duplicate of" text location
2024-04-03 14:55:23 +02:00
Earlopain
e530847cf8
Merge pull request #626 from DonovanDMC/post-set-maintainers-access-check
[PostSets] Add view access check to /post_sets/:id/maintainers
2024-04-03 14:54:25 +02:00
Earlopain
d5c371dccf
[Posts] Fix missing space next to tag names
Unintentionally removed in 2609990837
2024-04-03 14:45:39 +02:00
Earlopain
3f3fd0ab4f
[Misc] Revert april fools stuff 2024-04-03 14:39:09 +02:00
Earlopain
c1aa5f95b1
[Misc] Add optout for april fools
Close #630
2024-04-01 12:24:33 +02:00
Earlopain
e2d289baca
[Misc] Add this years april fools joke
I'm so sorry
2024-03-31 13:41:13 +02:00
Donovan Daniels
42c59ac384
[BUR] Move "duplicate of" text location 2024-03-25 19:53:43 -05:00
Donovan Daniels
79e729e4f7
[PostSets] Add view access check to /post_sets/:id/maintainers 2024-03-25 17:52:35 -05:00
Earlopain
aaf1423ef8
[TagAliases] Don't change category on approve for large tags
This has caused trouble on multiple occasions. Right now, a BUR resulted in about 2 million jobs being queued.
1 mil on approve, 1 mil to switch them all back.
2024-03-23 21:24:09 +01:00
Earlopain
e4799d9f83
[Prod] Dump NewRelic
Need to look into alternatives
2024-03-23 20:52:31 +01:00
Earlopain
700bf05ba5
[Help] Fix related subnav links
Broken in 069a009dde
2024-03-23 20:46:48 +01:00
Earlopain
2e140a5607
[Posts] Use addressable for source parsing
Fixes no icons for links with square brackets
2024-03-18 18:59:19 +01:00
Earlopain
aeb2076b80
[TagAliases] Fix locked artist preventing approval
Everything is already scoped to the approver. Switching to the creator doesn't make much sense here.

In addition, this sent the success message 5 times because the rename happened at the wrong place
2024-03-17 19:16:01 +01:00
Earlopain
201292a00a
[PostVersions] Make tag scripting box visible to moderators 2024-03-17 19:16:01 +01:00
Earlopain
f480e8cbb5
[PostVersions] Prevent obsolete tags breaking after -
I tested this since it looked weird to me and arrived at the conclusion that this always has been this way.
That conclusion was wrong, I probably looked at something cached.
2024-03-17 19:16:01 +01:00
Earlopain
979e2e4d5f
[Tests] Add basic tests for takedowns
Would have ccaught the breakage from frozen string literals
2024-03-17 19:16:01 +01:00
Donovan Daniels
2609990837
Convert Tag links in PostVersions & Uploads to wiki links (#622) 2024-03-03 20:43:30 +01:00
Earlopain
1da52e3d0d
[TagRelations] Fix rejecting in certain cases
Rejection should always be possible
Previously this skipped validations, now it doesn't
2024-03-03 20:35:28 +01:00
Earlopain
853790272b
[Posts] Allow excluding multiple ids in search 2024-03-03 20:04:02 +01:00
Earlopain
d9fe9a7602
[TagRelations] Don't allow multiple rejects from admins 2024-03-03 12:37:40 +01:00
Earlopain
93d759671c
[Misc] Fix webpacker compilation of files only required with require.context
I don't believe this is intentional behaviour but it's also not getting any udpates anymore
This at least makes it work
2024-03-03 12:20:22 +01:00
Earlopain
ae105140f1
[BURs] Only allow approving if pending 2024-03-03 12:04:56 +01:00
Earlopain
c111421303
[Posts] Fix day/week/month not line-breaking on the popular page
This previously had whitespace that I unintentionally removed. This also has the unintentional sideeffect
of not breaking up individual prev/scale/next links which I see as an improvement.

Remove a margin override for the first entry, this wasn't properly centered for some reason.
Still not quite there but much better now.
2024-02-28 20:13:12 +01:00
Cinder
74e3286779
[Misc] External favicon tweaks (#621)
* Address the baraag/mastodon icon situation

* Add a blogspot.com icon

* Add a yiff.life icon

* Add a nijie.info icon

* Add an f-list.net icon

* Fix the issue with the AO3 icon

* Add a couple of aliases for existing icons

* Misnamed AO3 file

* Add a wordpress.com icon

* Add a wikimedia.org icon

* Add a furbooru.org icon

* Add an alias to the Patreon CDN

* Remove the t.co - t.me alias

* Misnamed wikimedia.org file

* Add a fandom.com icon

* Add an exhentai.org alias
2024-02-28 17:55:00 +01:00
Earlopain
bd87b4b29c
[PostVersions] Fix the obsolete class being applied to the link 2024-02-28 17:45:23 +01:00
Earlopain
17b99821e3
[Posts] Fix searches for huge ids erroring
This is because they can exceed Integer.MAX_VALUE on the opensearch side
2024-02-28 17:25:54 +01:00
Earlopain
7c03dddc56
[Pools] Fix exception on the ordering page
Broken through 0381653e80
2024-02-27 18:37:22 +01:00
Earlopain
a3a508c92c
[Takedowns] Fix vericode for frozen string literals
Will add some tests later
2024-02-27 17:32:34 +01:00
Earlopain
2c41373304
[Forum] Fix text for failed aliases/implications 2024-02-27 17:22:53 +01:00
Earlopain
45fd9d52a8
[RuboCop] Disallow logging in tests
Don't want these committed
2024-02-27 16:18:01 +01:00
Earlopain
4acddd5941
[Admin] Allow searching by exception class 2024-02-27 15:52:38 +01:00
Earlopain
2d7e507555
[Posts] Show an icon for non-matches urls 2024-02-27 15:48:52 +01:00
Earlopain
dbd5f8399b
[Artists] Add favicon to disabled urls 2024-02-26 19:14:49 +01:00
Earlopain
e1a2c8697e
[Posts] Improve source favicon display on mobile
Makes them somewhat fit to the font instead of being left at 16px
2024-02-26 19:09:45 +01:00
Earlopain
a816ee3b34
[BURs] Don't use tag_string_diff for tag nuking
This doesn't have the same issue as mass updates, but
it doesn't hurt to change this away from tag_string_diff as well

Aliases/Implications still do this but considering this has been the case
for 4 years now I don't believe this to be a problem
2024-02-26 16:56:20 +01:00