Commit Graph

9558 Commits

Author SHA1 Message Date
edshot99
3d3b203daf Revert "[Posts] Fix parent children preview too small in mobile view (#786)"
This reverts commit 0af8600cae.
2024-11-13 13:25:37 -06:00
edshot99
71646897bd Revert "[Posts] Fix thumbnail issues (#789)"
This reverts commit 414f9e6629.
2024-11-13 13:25:15 -06:00
edshot99
0d5984af63 Merge branch 'master' into master2 2024-11-13 11:32:46 -06:00
edshot99
bce2d76216 adjust uploader page (again) 2024-11-13 00:10:55 -06:00
edshot99
81add14565 make the guest warning ('Over 18?') configurable 2024-11-13 00:08:08 -06:00
Cinder
414f9e6629
[Posts] Fix thumbnail issues (#789) 2024-11-12 15:16:19 -08:00
jmortiger
c137f17f9c
[Blacklist] Add fuzzy direct equality to filesize blacklist tag (#784)
The search metatag `filesize`, when using a direct equality comparison (`=`, e.g. `filesize:10kb`), instead uses a range comparison (`..`) with the bounds being the value + & - 5% (e.g. `filesize:10kb` is equal to `filesize:9.5kb..10.5kb`). The equivalent blacklist tag mirrored the search metatag in all aspects but this; this commit adds this fuzzy matching capability.
2024-11-10 20:23:56 -08:00
Tarrgon
9a9f175da4
[DText] Add newline normalization (#699) 2024-11-10 20:22:40 -08:00
Tarrgon
cf94b1b827
[DangerZone] Allow admins to hide pending posts for a specified amount of hours (#760) 2024-11-10 20:22:14 -08:00
clragon
0fb0418d7b
[PostVersions] Fix version ordering (#787) 2024-11-10 20:21:10 -08:00
Sing Wong
0af8600cae
[Posts] Fix parent children preview too small in mobile view (#786) 2024-11-10 20:18:58 -08:00
edshot99
0234362cb0 slight changes to wiki links (e621: & about: -> help:) 2024-11-10 15:21:30 -06: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
9ee8f13d5f fixes webms not working after uploading an mp4 file (for originals) 2024-11-08 21:32:56 -06:00
edshot99
10023a5585 Revert "[Autocomplete] Remove mp4 from file type completion (#783)"
This reverts commit 10b9389c23.
2024-11-07 22:26:10 -06:00
edshot99
fed0ddfc11 Merge branch 'master' into master2 2024-11-07 22:24:17 -06:00
faucet
10b9389c23
[Autocomplete] Remove mp4 from file type completion (#783) 2024-11-07 08:46:40 -08:00
edshot99
3d627b9d04 replace site specific wiki link with generic link (e621:tags -> help:tags) 2024-11-06 21:45:47 -06:00
edshot99
69ce91bea6 fix-up links on uploader page (using help:upload and help:tag#catchange) 2024-11-06 21:40:44 -06:00
edshot99
e909a54825 replace site specific wiki link with generic link 2024-11-06 21:17:58 -06:00
edshot99
b2664d0e72 fix wiki links on Stuck DNP page 2024-11-06 11:03:14 -06:00
edshot99
7d2892da2c Merge branch 'master' into master2 2024-11-04 12:10:49 -06:00
jmortiger
f5b492241e
[Blacklist] Fix filter_util.js 'favcout' typo (#780) 2024-11-04 08:03:09 -08:00
Donovan Daniels
ad567bfc9c
[HelpPages] Fix json & move modaction logging (#700)
* Fix #492 (json error when no help pages exist)
* Move modactions into class
2024-11-04 07:36:52 -08:00
Cinder
4cf67e9231
[Users] Minor fix to the profile page (#779) 2024-11-04 07:29:09 -08:00
edshot99
caf7d12da9 Merge branch 'master' into master2 2024-11-03 23:51:48 -06:00
edshot99
6051f187ea rubocop 2024-11-03 23:11:43 -06:00
edshot99
b728c0188d use configured domain name instead of 'e621.net' for sample titles 2024-11-03 22:01:11 -06:00
edshot99
e93888814f adjust footer for correct software name ('running e621ng' instead of website name) 2024-11-03 18:27:32 -06:00
edshot99
4795f1c58d remove poster from videos
causes annoying resizing for sampled videos and I prefer the videos to preload at the first frame.
2024-10-31 17:56:28 -05:00
edshot99
c8282cd0e7 modify upload page 2024-10-31 17:34:51 -05:00
edshot99
92e1fadd20 mp4 uploads
mostly referenced from Donovan's fork:
336fd469b2
2024-10-31 16:47:53 -05:00
edshot99
b7fee5fe2f add title support 2024-10-30 18:52:53 -05:00
Cinder
7318b2ddcb
[Posts] Add a set navbar button to remove the post from that said (#775) 2024-10-29 07:38:29 -07:00
Cinder
21c486a475
[PostReplacements] Add a DNP notice (#776) 2024-10-29 07:37:58 -07:00
Cinder
5616241e8d
[Posts] Add a button to apply a tag script to all posts on the page (#774) 2024-10-29 07:37:08 -07:00
edshot99
a3e00b591f add new tag category 'People' 2024-10-28 20:04:58 -05:00
Cinder
3f17beb3b8
[Users] Redesign the profile page (#734) 2024-10-28 14:20:29 -07:00
Donovan Daniels
6f296e8e01
[Posts] Add back comment disabling (#749) 2024-10-28 13:56:22 -07:00
clragon
567ec94e5a
[PostVersions] Reimplement Query as subclass of ElasticQueryBuilder (#772) 2024-10-28 12:51:15 -07:00
Tarrgon
a272efdc7e
[Flags] Add a button to flip the inferior flag (#718) 2024-10-28 12:48:54 -07:00
edshot99
aaf40d6d55 remove default loop setting for videos 2024-10-28 14:02:22 -05:00
edshot99
da686af033 'Visually similar on E6' to 'Visually similar' because this is not E6
in addition remove reverse search links because I don't like the services nor generally need them
2024-10-28 13:55:28 -05:00
Donovan Daniels
3f90417fe7
[AIBUR] Prevent approval for DNP antecedents/consequents (#773) 2024-10-28 11:37:37 -07:00
edshot99
64105b0d4e remove Discord page and related. not going to be using discord_joiner 2024-10-28 12:49:33 -05:00
edshot99
f2af884e87 change default theme from hexagon (blue) to phonon (black) pt2 2024-10-28 12:46:25 -05:00
edshot99
b8d3dc6824 change default theme from hexagon (blue) to phonon (black) 2024-10-28 12:22:06 -05:00
edshot99
648636d9a7 add new dark theme (phonon) and work-in-progress light theme (photon) 2024-10-28 12:10:22 -05:00
Donovan Daniels
645d0f0020
[Admin] Add limit note to reowner & stuck dnp (#727) 2024-10-22 15:44:49 -07:00
Donovan Daniels
b3d3fbc6a0
[Posts] Fix pool metatags with capital letters (#769) 2024-10-22 15:41:05 -07:00
Psychpsyo
26c681575e
[Posts] Add support for folding displays (#763) 2024-10-22 15:25:07 -07:00
Cinder
cd69aa4911
[WikiPages] Sort tag relationship lists alphabetically (#771) 2024-10-22 15:05:58 -07:00
Cinder
2716ba29ca
[Artists] Turn domain names into search links (#770) 2024-10-22 15:05:45 -07:00
asl97
50757a1e3b
[Posts] Fix atom feed newline in link href error (#767) 2024-10-22 10:11:46 -07:00
Tarrgon
7866c700fa
[Posts] Show verified uploaders to everyone (#757) 2024-09-29 13:14:07 -07:00
Donovan Daniels
7650e1606a
[Tickets] Allow ordering tickets by id (#761)
Resolves #754
2024-09-29 13:11:24 -07:00
Donovan Daniels
9c82b003a3
[PostFlags] Allow uploading guidelines flag on approved posts (#764) 2024-09-29 13:08:45 -07:00
Donovan Daniels
cffc480b23
[PostVersions] Allow querying by updated_at (#762)
Resolves #753
2024-09-29 13:07:00 -07:00
Cinder
726a361b00 Revert "[Posts] Show verified uploaders to everyone (#723)"
This reverts commit 2738ccfb62.
2024-09-11 16:33:18 -07:00
Cinder
d69c34ee9a
[Themes] Rework the theme config page (#752) 2024-09-08 16:28:06 -07:00
Tarrgon
aa5a7fb6fb
[Posts] Allow source_diff to wrap dead sources in quotes (#714)
Fixes #554
2024-09-08 14:03:16 -07:00
Cinder
db1dc385d0
[AvoidPosting] Minor UI tweaks (#750) 2024-09-07 14:28:29 -07:00
Cinder
4834f2cd11
[Misc] Fix the missing bottom margin issue (#751)
Desktop style overwrote the themed one.
2024-09-07 14:28:21 -07:00
Donovan Daniels
5ef9c55c7d
[UserFeedbacks] Add deleted record count to feedback summaries (#743) 2024-09-07 14:28:07 -07:00
Donovan Daniels
f315504660
[Posts] Add verified artist search (#663) 2024-09-07 13:34:25 -07:00
Cinder
84dcafc8c8
[Thumbnails] Fix an issue caused by the avatar having an invalid value (#748) 2024-09-03 03:18:29 -07:00
Cinder
28ebc378e0
[JS] Fix an error in older browsers caused by replaceAll (#747)
Fixes #744
2024-09-03 02:07:26 -07:00
Cinder
a20aaae0e0
[Misc] Rework the page margins on mobile (#746) 2024-09-02 17:11:16 -07:00
Cinder
54cc34ee9f
[DText] Adjust the font size on desktop (#745) 2024-09-02 16:45:41 -07:00
Cinder
0d23500a86
[Posts] Only show uploader feedback counts to staff (#742)
Fixes an issue introduced in #723
2024-09-02 07:52:44 -07:00
Donovan Daniels
ab0453120a
[WikiPages] Redirect back to wiki when editing/fixing tag (#705) 2024-09-02 07:40:41 -07:00
Tarrgon
f716bd8793
[Posts] Re-add the warning for removing an implicated tag (#712) 2024-09-01 11:41:56 -07:00
Tarrgon
2738ccfb62
[Posts] Show verified uploaders to everyone (#723) 2024-09-01 11:32:53 -07:00
Cinder
705254627d
[Blacklist] Separate blacklist display for posts and comments (#741)
Apparently, people were really confused by there only being one blacklist before.
2024-09-01 11:10:19 -07:00
Cinder
a977c4ed47
[Uploads] Show the unload warning if any tags are filled in (#740) 2024-08-28 09:27:26 -07:00
Tarrgon
46a89a1ddb
[Thumbnails] Fix regenerating thumbnails if bg_color is empty (#738) 2024-08-28 09:22:17 -07:00
Tarrgon
2cc040a9d4
[Notes] Double click to edit note (#645) 2024-08-26 06:34:42 -07:00
Donovan Daniels
d3fa071149
[Uploads] Fix error with direct url & no sources (#701)
Fixes #337
2024-08-23 06:38:26 -07:00
Cinder
4fb8944b29
[Blacklist] Mark posts that match any filters (#733)
Even if the filter is disabled, the post still gets a class that makes the info bar red.
2024-08-23 06:35:57 -07:00
Cinder
0a7efad27b
[Blacklist] Add wildcard support (#732) 2024-08-23 06:35:22 -07:00
Cinder
85fe550602
[Misc] Multiple mobile-specific fixes
* [Blacklist] Rework the quick-blacklist UI to be mobile first
* [Misc] Restore page margins on mobile
* [Misc] Increase font size in DText
* [Uploads] Fix an overflow issue on the upload page
* [Uploads] Fix an overflow issue with the source inputs
2024-08-23 06:34:48 -07:00
Cinder
5285d1337d
[Blacklist] Even more fixes (#729)
* Fix a reflow issue with avatars
* Only run the comment blacklist on startup
* Fix the quick blacklist not applying filters correctly
* Fix an error when a filter has only optional tokens
2024-08-19 02:24:08 -07:00
Cinder
93a437382b
[Users] Fix a typo on the settings page (#730) 2024-08-18 12:38:03 -07:00
Tarrgon
b23303e1b2
[AIBUR] Add a "flip" button to aliases and implications 2024-08-18 10:57:10 -07:00
Cinder
ba9e600950
[Blacklist] More fixes (#725)
* Fix the blacklist not applying to deferred posts
* Minor optimization fixes
* Add comment blacklisting
2024-08-16 08:23:05 -07:00
Cinder
6a7430c870
[Blacklist] Fix the anonymous blacklist (#722)
The default anonymous blacklist was not getting filled in correctly from the metatag.
Fixes #721.
2024-08-13 13:52:07 -07:00
Cinder
d9dfe04301
[Blacklist] Minor fixes (#720)
* Fix deferred posts blacklisting
* Fix fav:me metatag not working correctly
* Fix a strange overflow issue in older browsers
* Minor style tweaks
* Reduce collapse animation speed
2024-08-13 08:20:02 -07:00
Cinder
fe37772f2c
[Uploader] Redesign the file input (#716) 2024-08-12 02:46:32 -07:00
Donovan Daniels
0500896fd0
[AvoidPosting] Add caching, order search, and tweak modactions (#713) 2024-08-12 02:39:53 -07:00
Tarrgon
6fd03b0507
[Flags] Only show the most recent deletion flag to non-staff (#717) 2024-08-11 13:15:38 -07:00
Cinder
60f5170907
[CSS] Tweak palette text colors (#715) 2024-08-10 13:27:10 -07:00
Donovan Daniels
1b61b06bd6
[FileInput] Check file size per type (#704) 2024-08-10 12:52:50 -07:00
Cinder
03585a60bf
[PostSets] Bundle add/remove requests (#711) 2024-08-06 13:48:59 -07:00
Cinder
596fbb5d74
[Posts] Fix the quick edit form not working correctly (#710) 2024-08-06 13:42:57 -07:00
Cinder
2f0bcfeb01 [Posts] Fix broken avatars and dtext thumbnails 2024-08-05 12:34:24 -07:00
Cinder
1f63f4b9d5 [Blacklist] Redesign and rework the blacklist (#693) 2024-08-04 15:17:36 -07:00
Donovan Daniels
db02dfc582
[ApngInspector] Change length to bytesize (#708) 2024-08-04 15:14:26 -07:00
Cinder
e436458d66
[Posts] Fix mode menu add/remove from set alerts (#707)
The "Updating post (# pending)" alert was being replaced with the "Added/Removed post from set", which is unhelpful.
2024-08-04 14:05:17 -07:00
Donovan Daniels
237f79eabe
[AvoidPosting] Bug fixes and cleanup (#706) 2024-08-04 12:35:46 -07:00
Cinder
d0559a2ba9
[Posts] Fix a bug that broke voting on deleted videos (#703) 2024-08-03 17:32:37 -07:00
Donovan Daniels
8a3e70e5ca
[AvoidPosting] Integrate the avoid posting list into the site (#582) 2024-08-03 14:15:26 -07:00
Donovan Daniels
516e3391be [WikiPages] Restrict skip_secondary_validations to Janitor+ (#639) 2024-08-03 02:25:43 -07:00
Cinder
166d6ea350 [Posts] Tweak the buttons on the post navbar (#695) 2024-08-03 02:25:42 -07:00
Tarrgon
9453a82644 [DMails] Allow janitors to bypass rate limits (#696) 2024-08-03 02:25:42 -07:00
Donovan Daniels
41658607c5 [Artists] Normalize name in show & show_or_new (#636) 2024-08-03 02:25:41 -07:00
Cinder
8cf6052f91 [Misc] Fix the bug on the history page of a destroyed artist 2024-08-02 16:16:23 -07:00
Cinder
70cacaf9db [Misc] Fix misnamed theme label 2024-07-31 15:42:36 -07:00
Cinder
b7513a7c0a
[Misc] Fix the "mark all as read" confirmation text 2024-07-30 14:18:25 -07:00
Cinder
28cb8ff19b
[Artists] Fix the edit permission quirks 2024-07-29 16:12:09 -07:00
Cinder
4420fd823c [JS] Add a localStorage wrapper (#689) 2024-07-28 18:12:41 -07:00
Cinder
e53b39e428 [Blacklist] Rewrite blacklist normalization (#687)
This allows for both the optional (~) tags in the blacklist, and for the comment syntax.
2024-07-28 18:12:41 -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
Cinder
ba5b6b0fff [WikiPages] Implement basic redirects (#683) 2024-07-28 18:12:41 -07:00
Donovan Daniels
852129269b [Tickets] Refactor viewing access and add JSON API (#664)
resolves #657
2024-07-28 18:12:41 -07:00
Donovan Daniels
b3b16759c4 [PostSets/Pools] Handle metatag additions when set/pool is full (#669) 2024-07-28 18:12:41 -07:00
Cinder
7bdabdf2b4 [CSS] Clean up colors and implement colorblind palettes (#682) 2024-07-28 18:12:41 -07:00
Donovan Daniels
80f12710e6 [WikiPages] Prevent renaming wiki pages for help pages (#666) 2024-07-28 18:12:41 -07:00
Tarrgon
1425332c0b [Replacements] Allow janitor+ to auto approve submitted replacements (#650) 2024-07-28 18:12:41 -07:00
Sindrake
d0748f00bb [ForumPosts] Fix a permission bug 2024-07-22 14:22:09 -07:00
Cinder
132703b7bd
[PostVersions] Limit the "Undo Selected" to Priv+ (#678)
While it is situationally useful, it was also frequently used by tag vandals to mass-undo legitimate tag changes.
2024-07-22 01:47:29 -07:00
Sindrake
e72c0f4bd5 [Posts] Only show the webm if browser supports vp9
I'm not happy with this solution, but we might as well try it.

- Most reasonably modern browsers support vp9.
- Those that cannot can play mp4 instead.
- Browsers that support only vp8 are basically non-existent.
2024-07-21 18:04:06 -07:00
Sindrake
0e98266024 [PostSets] Fix an error caused by adding a post to a non-existent set 2024-07-21 16:24:05 -07:00
Sindrake
cc1189292c [UserFeedbacks] Fix a misnamed mod action 2024-07-21 15:20:40 -07:00
Sindrake
5fa2cd0b48 [ForumTopics] Add a confirmation before marking topics as read 2024-07-21 14:13:44 -07:00
Donovan Daniels
4a0a0c2f93
[UserFeedbacks] Add ability to soft delete feedbacks (#670) 2024-07-21 10:58:40 -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
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
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
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
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
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