Cross-posted from ā1.4.26 Released [Troll Buster 5000]ā by @ptz@dubvee.org in !tesseract@dubvee.org
1.4.26
This release brings bugfixes, ability to upload videos, and new moderation capabilities.
Bugfixes
- Add
/reports
route that redirects to/moderation
so the email links from the API work correctly if youāre using Tesseract in place of Lemmy-UI as your default frontend. - Add moderation button to crosspost items
- Long links in the modlog were not wrapping when reflowing to mobile
- Pause markdown videos/audio when leaving viewport instead of destroying (same as how post videos are now handled).
Bugfixes from 1.4.25
Didnāt do a post for 1.4.25, but there were only some minor bugfixes in that release.
- When viewing a userās submissions in the profile modal from a
/c/community
page, the post meta is hiding the community and treatinginCommunity
as true. - Removed code to switch between community icon and user avatars in CommentMeta component since thatās actually useless since you canāt browse just comments in a community.
- Comment card colors were not reactively updating when user was banned with content removal from site/community
- When removing/hiding a community, the local cache of the community details was not updated to reflect that; had to open the app in a new tab to get a new session in order to fetch it again. The cache now updates on block/unblock/hide/unhide.
New Features
Support for Video Uploads
Less a ānew featureā and more a bugfix to canonize a feature I didnāt realize already existed and mostly worked lol.
The file upload handler sets the supported MIME types, but it has no way to enforce them (itās more a suggestion to the browser). A user reported that they forced a video upload, and it worked, but the process was buggy. This was a surprise since Iād never actually tested or even thought about supporting video uploads.
So I patched up the upload handler to support video/mp4
and video/webm
formats. The previewer will only show the first frame as if it were a static image, but it will no longer glitch out. It will also automatically disable and hide the āPre-convert to webpā options if a video is detected.
Iām not sure how useful this will be since most instances limit upload file sizes or disallow videos, but if youāre on a supported instance, hey, you can do videos now.
Edit/Clarification: Youāve always been able to link to a video. This addition allows you to upload a video to your instanceās pict-rs as you would an image.
New Moderation Capabilities (aka Troll Buster 5000)
Added support for community moderators and admins to issue bulk community bans/unbans. For several releases now, Tesseract has had the ability for mods (or admins) to directly ban/unban a user from a community (Community Modal -> Ban/Unban User -> Enter username -> Ban/Unban).
Now, thereās an extra option to allow issuing either action in bulk for every community you moderate.
Highly useful if a known troll is roaming about (you probably already know which one Iām talking about) and you want to quickly ban them from all of the communities you moderate (whether theyāve posted there or not).
Iām all about being proactive, so if a known troll is making rounds, I see no reason for them to have to make a mess first when I can simply prevent the mess (or further messes).
Example: Youāre scrolling
/all
and see some vile, racist troll posts from a brand new account. Rather than having to wait on an admin to ban them or waiting for them to hit your communities before you can do anything about it, you can simply click their username and [pre] ban them from everything you moderate. Easy peazy.
Basically, every time āthat guyā goes on a trolling spree, Tesseractās mod tools adapt and get more powerful. A less polished version of this feature has been in my āprivateā build for a while now, but since āthat guyā shows no signs of buggering off, I figured it was time to mainline it and give everyone else the same defensive capabilities Iāve thus far hoarded for myself.
Note: Please do not use this feature as an āI really donāt like this personā button. In the wrong hands itās got high potential for abuse, I admit, but the benefits it offers outweigh the risks of a few bad mods going on a power trip.
This is a powerful feature. Please use it responsibly.
If time passes and it seems like Iāve handed loaded guns to a bunch of toddlers, Iāll absolutely yank this feature and move it back to my private build.
Modes of Operation
It works a little differently depending on where itās invoked and whether youāre a moderator and/or an admin.
In all cases, the expiration date, reason, and whether to remove content applies to all communities (i.e. the API is called for the same user with the same options and loops through the list of communities you moderate).
User Profile Modal
New option in the user profile modal to ban/unban that user from all of your moderated communities. Available to Mods + Admins
This button is also available in the Moderation Modal as well as the quick actions on the moderation reports.
Ban Instance Modal (Admins) With Option to Ban from all Remote Communities They May Moderate
For admins, thereās a new option in the āBan Userā¦ā form to āBan All Remote Communitiesā. Will issue community bans for all remote communities you may be moderating in addition to the instance ban for your home instance. The āremoteā filter is to avoid spamming the modlog in case youāre an admin of a large instance (technically you moderate all local communities youāre subscribed to).
Community Profile Modal:
The āBan/Unbanā option has been extended to allow optionally banning/unbanning the supplied user from all the communities you moderate. Available to Mods and Admins.
Here, the user is not pre-populated and you can enter the username in any of the following formats:
- Actor ID:
https://instance.xyz/u/username
- @ Format:
@user@instance.xyz
- Lemmyverse Link:
https://lemmyverse.link/u/user@instance.xyz
While āBanā is the action shown in the screenshots, these work in reverse as well to unban them from all. The only thing thatās not automated is restoring content if āremove contentā was selected during the initial ban. Iām working on that, but thereās no clean way to do it without restoring everything, even things that were removed prior to the ban action. As always (since this is the case for all UIs with mod tools), take care when selecting āRemove contentā when issuing bans.
Note for admins: Since you technically moderate all communities on your instance, it will only issue bans for communities on your instance that you are subscribed to. The preferred flow for admins is to just instance ban them and select the option to āBan All Remote Communitiesā if needed/applicable. Care should also be taken to not select that if they violate a local instance rule but not a remote community/instance rule.
Get Tesseract
Docker
ghcr.io/asimons04/tesseract:1.4.26
ghcr.io/asimons04/tesseract:v1.4.26
ghcr.io/asimons04/tesseract:latest
Github: https://github.com/asimons04/tesseract
Hosted Instance https://tesseract.dubvee.org/