Commit Graph

66 Commits

Author SHA1 Message Date
Cinder
21c486a475
[PostReplacements] Add a DNP notice (#776) 2024-10-29 07:37:58 -07:00
Donovan Daniels
1b61b06bd6
[FileInput] Check file size per type (#704) 2024-08-10 12:52:50 -07:00
Earlopain
7cd026d18d
[Cleanup] Return a single wiki from WikiPage.titled 2024-04-09 19:50:33 +02:00
Earlopain
b1a46cbfcf
[PostReplacements] Changes to approvals
* Get rid of the two approval buttons, just give a single one.
* Penalize automatically, unless the uploader is the replacer
* Hide the penalize state for non-approvers
2023-11-12 12:43:03 +01:00
Earlopain
cc379af5eb
[Search] Add custom input type for users
Automatically adds name/id search
2023-08-04 20:46:59 +02:00
Earlopain
8e7914aad8
[Search] Add the submit button automatically 2023-05-07 13:06:00 +02:00
Earlopain
65381c566a
[Users] Hide replacement actions to non-approvers
Was changed in the controller in 2dc9cac520 but forgot it here
2023-03-29 18:38:45 +02:00
Earlopain
cbc0fd3aa1
[Users] Link to replacement id searches by default
Same as the previous commit
2023-03-29 18:08:15 +02:00
Earlopain
29c7b80f3a
[Misc] Update to fontawesome 6
It seems to be mostly backwards compatible, these changes are just what
fontawesome suggests.
2023-01-27 19:01:35 +01:00
Earlopain
f6b53dd0d3
Merge branch 'moderator-role' 2023-01-11 17:05:37 +01:00
Earlopain
9afc1949fa
[CSS] Clean up duplicate table classes
width: 100% is already part of the class.
Remove duplicate classes .table/.striped and exclusivly use the more common one.
Add this class to PostReportReasons/Help, which were missing it.
2022-12-29 16:36:33 +01:00
Earlopain
0c4c1eae81
[Posts] Use show_deleted: true instead of tags: "status:any" 2022-12-25 19:59:58 +01:00
Earlopain
665f432e17
[Users] Allow moderators to handle tickets 2022-11-28 16:21:40 +01:00
Earlopain
2579442184
[Rails] Fix deprecations and use new framework defaults
* to_s(:format) is deprecated, use to_fs(:format)
* ActiveRecord::Associations::Preloader is gone
* Don't use CurrentUser in config, it's not autoloaded anymore
* Defer elastic initialization to after the module is loaded
2022-10-10 13:26:12 +02:00
Earlopain
5c755ddefc
[Replacements] Mark certain tags for approval 2022-09-25 13:05:33 +02:00
Earlopain
d634eaf8e2
[Replacements] Update text when no source is given 2022-08-21 13:01:32 +02:00
Earlopain
77fe1ef42b
[Replacements] Fully use vue for creating new replacement 2022-08-20 17:13:36 +02:00
Earlopain
87500a4f01
[Forms] Use a custom form builder
This will  make it possible to write some custom logic and use it everywhere,
like generating submit buttons with text depending on the model state
2022-07-13 20:48:14 +02:00
Earlopain
d867ffcded
[Replacements] Use the normal uploader
This automatically adds:
* Video previews
* Thumbnail url warnings
* Prevent selecting both file and url

And probably a bit more
2022-05-22 22:18:03 +02:00
Earlopain
b6a5640bda
[Replacements] Fix search form text capitalization 2022-05-08 21:44:53 +02:00
Earlopain
212d6e3727
[Search] Automatically set values from url search params
Setting them every time manually is cumbersome, and a few places didn't even do it.
This also adds a shorthand for setting the autocomplete attribute
2022-04-02 21:23:28 +02:00
Earlopain
7f42f0176a
[Replacements] Prevent accidental rejections/promotions 2022-02-20 18:32:04 +01:00
Earlopain
c68e1188a1
[Replacements] Allow searching by approver 2022-02-19 13:43:30 +01:00
Earlopain
f5ee1ca6c4
[Replacements] Limit reason to 150 characters
Also break long lines into multiple ones.
2022-02-06 16:21:30 +01:00
Earlopain
7992b33415
[Replacements] Truncate long filenames 2022-01-30 14:46:52 +01:00
Earlopain
006ed1438e
[Replacements] Show penalize status to original uploader 2022-01-30 14:09:13 +01:00
Earlopain
76b0618f79
[Replacements] Add missing closing div 2022-01-17 18:36:52 +01:00
Earlopain
cf1cc8db1c
[Replacements] Make the approval process more reactive
There was no real feedback when approving, except for that small notice
that popped up for 2 seconds. Update colors and text to show
something actually happened.
2022-01-12 23:31:57 +01:00
Earlopain
8d2bd155f3
[Replacements] Show placeholder text when no reason provided 2022-01-05 12:50:57 +01:00
Earlopain
81ebb110ce
[Replacements] Show the current uploader when pending 2022-01-05 12:46:41 +01:00
Zwagoth
0d531ff146
Merge pull request #284 from Earlopain/replacements-audit
Add replacement tracking for uploader
2022-01-02 19:56:10 -05:00
Earlopain
bad4340e15
[DText] Prevent zalgo from overflowing
Deeply nested sections still exceed the expected width.
2021-11-17 17:53:11 +01:00
Earlopain
37ab2d2e95
[Replacements] Only show penalized state to janitors+
I already removed it from the json repsonse, should be gone here too
2021-10-24 15:08:41 +02:00
Earlopain
5d430e8210
[Replacements] Use ajax for approve/reject/toggle/promote actions 2021-06-26 18:25:25 +02:00
Earlopain
08150d7cca
[Replacements] Limit actions that can be taken for certain stati 2021-06-26 15:05:44 +02:00
Earlopain
f54e5d7f84
[Replacements] Allow toggling user penalize 2021-06-26 14:01:07 +02:00
Earlopain
da96e16fd6
[Replacements] Record original uploader
Add a link to users profile to search for their replaced posts and give
janitors the option to penalize the user when appropriate
2021-06-26 13:01:26 +02:00
Kira
ea8298fbaf [Replacements] Small UI tweaks 2021-04-25 19:36:38 -07:00
Kira
09519cebb9 [Replacements] Update replacement index UI 2021-04-17 20:23:02 -07:00
Kira
08b1ed8b35 [Replacements] Fix search params for HEAD requests 2021-04-07 10:33:19 -07:00
Kira
e70de34d2e [Replacements] Add upload preview to replacement uploader 2021-04-07 10:33:19 -07:00
Kira
0763a2d425 [Replacements] Fix upload by url and showing source 2021-04-07 10:33:19 -07:00
Kira
54a542b6f6 [Replacements] Add current size to size section
Janitors asked for the current image size for comparison purposes.
2021-04-07 10:33:19 -07:00
Kira
a28466bdaf [Replacements] Continued progress
[Replacements] Fix exceptions when processing replacements

[Replacements] Fix handling of invalid file types

[Replacements] Fix error reporting and promote dupe checking

[Replacements] Prevent duplicate replacements from cropping up
2021-04-07 10:33:19 -07:00
Kira
3855d64228 Post replacement system 2021-04-07 10:33:18 -07:00
Kira
9955de0cf9 Merge branch 'master' of github.com:zwagoth/e621ng 2021-04-02 21:53:44 -07:00
Kira
82ec5b537f [Views] Fix params usage for bad bots causing exceptions 2021-04-01 19:20:32 -07:00
Earlopain
da29304039 [Template] Add a bunch of missing titles
This also adds usefull information to a few, like which tag you're editing
2021-03-21 19:02:28 +01:00
Earlopain
9b7c4db852 [Template] Don't explicitly add app_name in every title
- Use a helper function to add it to every title (except the root path
which is just the app_name)
- Remove useless set_title function in application_controllerller
2021-03-21 16:58:35 +01:00
Kira
ac34b6fe26 Fix bad post_replacement column names 2020-12-20 11:11:35 -08:00