diff --git a/ChangeLog.md b/ChangeLog.md index 7841843c..3dc4130b 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -3,1659 +3,320 @@ All major/minor changes between releases will be documented here. -## Roadmap 1.2.9.x through 1.3.0 -Based on user feedback and my own annoyances, here are the current goals to be implemented in the 1.2.9.x release series. - -### Image Overlay / Gallery -- Click images in the feed/post to enlarge them fullscreen and zoom. -- Parse post body for image tags and add those to the gallery component - -### Re-write Post Creation Form -- Semi-tabbed interface (similar to Reddit's) with form elements optimized for the post type -- Post Types: - - Text Post (no URL, just text) - - Link (news articles, blog posts, etc). - - Images (Allow multiple images for a gallery. The first will be the post image and the rest will be in the body. Gallery plugin will parse the ones in the body. - -### WYSIWYG Markdown Editor -Replace the custom markdown editor with Toast-UI editor. Not sure yet if I will replace `markdown-it` completely (may leave it for rendering), but the Toast-UI editor is much more user-friendly. - -### Update Settings Cloud Sync -The current method to sync your Tesseract settings, groups, and communities to Lemmy API is a one-off manual process. This is intentional as it's basically an experimental feature that is abusing the `theme` field of your Lemmy profile (it's only used by Lemmy-UI and can hold arbitrary text). The plan is to automate this and put it behind a user setting with appropriate warnings about how it will break Lemmy-UI's CSS. When enabled, changes to your app settings will automatically sync to/from Lemmy. Will update the "restore" button functionality to also disable sync. - -### Moderation Templates -- Replace the static user-defined template with the ability to have custom moderation presets -- Add ability to make them community-specific -- Save to profile and make exportable to JSON/API - -### Moderation Presets and Report Handling -The groundwork for this exists in the current release, but I didn't have time to fully flesh them out. -- Set pre-defined actions (lock post, remove comment/post, ban community/instance, set reasons, etc.) -- Select from a list of your presets which can be community-specific -- Select multiple open reports to apply the preset to all (e.g. you have 7 spam reports that should all be handled the same way) - - May or may not implement this or at least do it such that banning is not available to a mass-option. - - The report revamp was to give additional insight to make more informed mod decisions. Adding the capability to mass ban without looking at the details thoroughly runs antiethical to that goal. +## 1.3.0 -### Under the Hood Stuff -- Move all modals to a common modal container (similar to removal modals) as to allow calling them from anywhere without extra hacks to make sure they're not constrained by a fixed container div -- Make preparations and lay initial foundation for offline support - - Re-implement local profile to keep stored locally/persistently (rather than a background fetch to fill in the blanks). - - Decide if posts/comments should be stored in LocalStorage or IndexDB - - Create an action queue (upvote/downvote, reply, etc) to allow actions to be queued when offline and sent to API when online +### Overview +Not really doing anything groundbreaking with this release. There are a few new minor features, but almost all of the work has been refining the existing features and adding polish throughout. + + +### Important API Compatibility Notes +**This will be the last version to support 0.18.x. Once development of 1.4.0 begins, 0.18.x support will be dropped.** +- 1.3.0 remains fully compatible with 0.18.x and 0.19.x + +### 0.19.x Features Currently Supported +- Cursor-based pagination (will fallback to offset-based pagination for 0.18.x) +- Instance blocking + - Note: Intentionall will not allow you to block your home instance +- Scaled sort (dynamically added/removed from sort options if switching between an 0.18.x instance and 0.19.x instance) + + + + +### General Bugfixes +- General Typescript and a11y fixes (too numerous to list individually) +- Fixed reactivity bug where comment counts weren't updated on screen when you "load more" comments and vote one one of the newly loaded ones. +- Reimplemented vote functions for comments and posts. +- Added more forwards/backwards-compatible date format checks (to work with both 0.18.x and 0.19.x) +- Deprecated lots of old functions that were holdovers from the original Photon code +- Fixed bug where refreshing a user profile would throw an unhandled JS error on 0.19.x (but strangly, the same flow worked on initial load). Was a bad index key for the Svelte `{#each}` loop. +- Fixed a bug where direct linking to a post (/post/123456) would sometimes return the wrong post or fail to load the post + - The circumstances required to hit this bug were pretty rare, but it was a bug. Basically, if you have Tesseract in place as your instance's default UI, _and_ it's unlocked to allow logging into other instances, _and_ the current or guest session was _not_ the home instance, then if you tried to load the canonical AP link to a local post (https://dubvee.org/post/12345), it would try to redirect you to the current guest/foreign instance's post 12345. +- Direct linking to comments (/comment/12345) now works properly (similar to above bug for posts) +- Linking to a comment in a theread now properly scrolls the actual linked post to the top + - The linked comment is now highlighted for easier reference. e.g. Someome replies "See https://example.com/comment/12345", and it will now take you to that comment( as it always has) as well as properly scroll that comment to the top and give it a highlighted background and border. + + +### New Features (That Aren't Refinements to Existing Features) +- New markdown renderer + - Removed `markdown-it` and all of its plugins as it was too cumbersome to extend to do some things I wanted to do + - Replaced with `svelte-plugin-marked` and wrote custom renderers for that to match the old behavior. + - **Note**: Since `marked` uses Github-style markdown, subscript and superscript are not supported. I really don't have the energy right now to look into custom-writing those (if it's even feasible without forking), so for now, support for sub/super-script has been removed. Those seem to be rarely used, anyway, so I may be content living without them indefinitely. The buttons in the editor toolbar for those have also been removed. + - Now some new features I want to add are possible: + - Link previews where you can click a link and preview the site in a modal using the data from `getSiteMetadata()` + - Load embeddable videos (Youtube-like, Vimeo, Peertube, etc) in a modal rather than leaving the app + - Enlarge or otherwise add other features to images posted in markdown + +- New Community Moderation Panel + - In the community settings, mods can now direct ban/unban users + - There's now a mini-modlog available in the moderation section. Can perform quick actions, see recent (or all) history, and link to the main modlog pre-filtered for that community. + +- Community browser now shows subscribed/not-subscribed status on remote communities + - Can now one-click subscribe to remote communities + - Each community item is now collapsible to view the community details (if available). Formerly, these popped up in a modal. + +- Added `/instances` route to view the federated (allowed, linked, blocked) instances. + - Can filter by software and keyword (e.g. lemmy instances with `.xyz` TLDs) + - Dead instances are indicated + - Can filter out dead instances + - Action buttons to browse communities on that instance (Lemmy instances only), visit the instance, or view Fediseer data for it. + +- Added button to community avatars in the feed to quickly subscribe/unsubscribe to communities + - Browsing all and see an interesting community? Now you can quick-subscribe to it without having to click the community menu + +- Can now swap the post / comment action bar button direction + - Useful on mobile if you want to put the vote buttons on the right + +- Can now hide scores and show only your own upvote/downvote status + - This is in app settings rather than user settings. With Tesseract, the config options in "User Settings" are only settings that affect the behavior of the API. Lemmy-UI keeps its frontend options there, but I don't want to have to fight those. + +- If the instance you're on has disabled downvotes, the downvote buttons on posts and comments will be hidden. + +- Can now fetch the metadata during post creation. + - Can fill in the title automatically as well as provide the thumbnail image for the post preview +- Peertube video embeds are now supported + +- Can reset password now (thought this was already implemented, but that was just 'forgot password' process). + +- Infinite scroll has replaced the old pagination in all but the modlog (may add it there, just haven't bothered yet). + +- Can now select one of multiple fonts for use in the UI. Also has the benefit of looking more uniform between Firefox/Chromium as FF's default font looked less than +ideal. Current options are: + - Default sans + - Default serif + - Browser default + - Inter + - Roboto + - Reddit Mono + - Ubuntu + - Urbanist + +- Admins can define three different types of URL blacklists to disallow submitting posts to those domains. + - Can disable submissions that use a link shortener as the URL + - Can enable the option to deny submissions to domains MBFC has deemed low-credibility. + - All of these are disabled by default and must be explicitly enabled / configured by the admin + - Note: These are only effective when submitting through Tesseract UI, obviously. These will not prevent those from being submitted from another frontend or via API calls. + +- Added some 0.19 features (disabled on 0.18 instances) + - Scaled sort + - Instance blocking + + +### Top Navigation Bar +- All buttons are icons now +- Created new notification widget + - Inbox notifications removed from profile button + - Shows a colored dot for each type of notification + - Red: Inbox notification + - Green: Unread Report + - Blue: Unprocessed registration applications (admins only) + - Is now the way to get to the mod reports section (Notifications -> Reports) +- Added Favorites menu to quick-access your favorited communities +- Search removed from here and added to context navigation bar below +- Button to collapse the sidebar is now at the far left of the main nav bar instead of within the sidebar + +### Sidebar +- Shrunk button text +- Added Hot, Popular (Active), and Top Day buttons for quick switching to different feed sorts +- Community list area is now larger +- Moved collapse sidebar button out of teh sidebar and to the top navigation bar (to the left of the site name/logo) +- Site taglines now automatically rotate every 30 seconds in the site sidebar (if taglines are set by admin) + +### Frontpage and Feeds +- Moved search out of main navigation bar and into the context-sensitive navigation bar below it (hidden on mobile; use top search button) +- Added scroll to top / bottom buttons to navigation bar + - With infinite scrolling, this will basically take you to the next "page" +- Implemented infinite scrolling + - A lot of effort was taken to ensure you get back to your same scroll position +- Refreshing data is *mostly* manual now so that returning to the homepage will resume your former scroll position +- Embed media objects are destroyed (or not rendered) when not within the viewport. + - This should reduce memory consumption considerably as before, once an iframe was loaded after it was scrolled into the viewport, it remained in the DOM + - If you're done with a video, you can now just scroll past it without it continuing to play +- Mostly got rid of Svelte's "sometimes it works, sometimes it doesn't" scroll position resumption + - Now will keep your place when changing post/compact view and changing margins + - Makes liberal use of `on:mouseover` and `on:touchstart` to keep track of the most recent post in the feed +- Removed feed setting for number of posts per page + - Changed behavior and values of "Posts per Page" to "Posts per Fetch". Now values are 10, 20, and 30. Too many and infinite scrolling became sluggish when adding to DOM +- Blocking a community/user will no longer refresh the page + - As a result, the blocked item will not leave the DOM unti you refresh since there is no API data to indicate a community is blocked + - Behavior change was needed to avoid having to recreate the post feed list with infinite scrolling +- Added user setting to reverse the action buttons in the post and comment action bar + - Will put the vote buttons on the right and the action menus on the left + + +### Media +- Add support for detecting and rendering Peertube embeds + - Since Lemmy can subscribe to PeerTube channels, you can now follow them and have the channel's videos show up / embed in your feed + - Votes on Peertube videos will translate to thumbs-up on PT's end + +- Media embeds now only render when the post is actually in the viewport. + - This should keep memory from ballooning in embed-heavy feeds. Before, all iframes were kept in the DOM + - Will show as thumbnail art until 10% of the post is in the viewport and then automatically switch to embed (if embeds enabled) + +### Archive Links +- Link posts now have an "[Archive Link]" button automatically applied to the right of the source URL. +- Please, for the love of god, stop lazily commenting "PaYWalLed!". Seriously. You're making your laziness everyone else's problem, and it's obnoxious. +- Support for submitting archive links when creating posts will *not* be implemented. Among other things, that's one of the *worst* things Lemmy UI has done and allows absolute shit garbage "news" sources to masquerade as legitimate ones since the URL only shows the archive link and the real source is obfuscated. + + +### Create Post Page/Form +- Basically gutted the old logic and re-implemented it all. Man that was a mess. +- Created new route at /c/{name}/create_post for community-specific post creations +- Added metadata fetch option to pre-set title, grab thumbnail URL for post preview, and append embed description to the post body. +- Removed "Save/Load" draft functionality as it was rarely used and more trouble than it was worth. +- Added "Undo/Reset" button to revert a post you're editing back to its initial state or to clear the post form if creating a new post + - If crossposting, will restore the current state to the original crosspost information + +- Image upload will now use the Tesseract image proxy, if configured and enabled. + + +### Post Pages +- Added post title to navigation bar (not shown in mobile). + - Have you ever gotten deep into the comments, which have gone far off the rails, and completely forgotten what the post was about? This is why that was added. +- Added a placeholder element if there are no comments +- Removed action buttons (moderation, post, community) from navigation bar. Best I can tell they were rarely used and were problematic to implement. +- Now uses standardized layout components. +- Sidebar no longer jiggles +- Removed comment count button from post card; redundant since those are displayed again below where it makes more sense +### Modlog Enhancements +- Added the context-sensitive navigation bar +- Removed "Modlog" title since it's pretty obvious where you are +- Moved filter options to navigation bar +- Made filter selections fancy +- Reimplemented community and person autocomplete components +- Person details in filter now transparently fetch via API if not in the modlog data +- Added quick action menu to modlog entries + - Can be used to quicky undo a mod ation or take an additional related action + - Can turn a temporary instnace ban into a permanent one without the intermediate step of unbanning first +- Reversed reflow direction on mobile +- Hide "moderator" column if not logged in since most instances hide that data for unauthenticated users + + +### Search Page +Can use the filters to do things like see your (or anyone's) posts/comments to a specific community +- Added the context-sensitive navigation bar +- Moved filtering options to the navigation ba r +- Results are grouped by type, including "all", and can be toggled +- Used standardized layout components +- Added site sidebar +- Reimplemented search handling logic + +### Moderation/Reports Section +Rewrote this fix a lot of "WTF was I thinking when I did that?" code as well as to support private message reports. +- All reports are now pre-processed into a standardized report format. +- Removed "Close" button. +- Added "Resolve" button so reports can be resolved without having to open them (useful in < 0.19.x to resolve reports that have already been taken care of) +- Integrated the context-sensitive navbar into the cleanup -## 1.2.9 - -### New Features and Notable Enhancements -The last release was mostly for the mods/admins, so this release has something for the users. Several somethings, actually. - -- Emoji Picker and support for your home instances's custom emojis. -- HTML5 Media embeds in posts/comments. Uses the same syntax as Lemmy-UI / images -- Ability to favorite communities -- Ability to create groups of communities -- View favorites or any of your groups as a custom feed -- Option to open posts in a new tab (separate from outside links) - -- Re-implemented the NSFW blur in the feed - - Can now reveal the blurred content with a click (formerly it would just load the post) - - Text blurs now instead of hiding - - NSFW-flagged embedded media will turn from a blurred thumbnail into the interactive player upon reveal - - Inline videos (mp4, webm, etc) can now blur (they didn't blur at all before) - -- Community and user links are now properly detected in markdown and will re-write to fetch locally and automatically within Tesseract. - - e.g. Someone comments `!communty@example.com` or `https://example.com/c/community` and Tesseract will detect and re-write those so that they will fetch locally at `https://tesseract.my-instance.com/c/community@example.com`. - - **Combined with the automatic/transparent community resolution introduced in 1.2.69, this makes community links about as universal as they can be in the Fediverse.** -- Export / Import Tesserct settings, groups, and favorites to a JSON file. -- Upload/Download Tesseract settings, groups, and favorites to Lemmy -- Re-implemented the breadcrumb navbar as a standard/modular component. Added more convenience buttons -- Your saved posts/comments are now sortable, paginated, and can be returned individually. Was formerly all or nothing and sorted by new. -- Can now toggle the margins in the feed on and off. (Arrows out/in button in the lower navbar) -- Trimmed down the options in the post action menus and made two new menus on posts: - - **Post Menu**: Mark as (un)read, share, save, cross-post, report, and block the author. - - **Community Menu**: Has options relevant to the community such as create post, browse posts, view its modlog, add to favorite or group, subscribe/unsubscribe, and block. - - **Explore Menu**: Helps you discover other communities and instances as well as request a Fediseer report for the instances involved with the post. - -- Added post actions and quick options to the navigation bar throughout the app - -### Bugfixes and Misc Changes -- [Bugfix] Fixed incorrect type on `restoreReplyToAuthor` in mod action object -- [Bugfix] Fixed rare unhandled exception in UserLink if display name wasn't found on a user object -- [Bugfix] Fixed race condition with displaying resolver on reports on initial resolve. -- [Bugfix] Certain post configurations were not respecting the "show full URL" setting -- [Bugfix] Completely missed implementing NSFW blurring/hiding on inline videos. Added that. -- [Bugfix] Fixed improper invalidations in multiple areas. Clicking from the feed into a post should now no longer invalidate if you click the comment button instead of the title or image. - -- [UI] Added down chevron to SelectMenu component (forgot that on the last 2 releases) -- [Infrastructure] Implemented versioning of the settings. Now that there are more user-defined things getting saved to local storage, I want to make sure settings can be migrated from version to version without losing anything as well as the ability to transfer those across devices. -- [Community Panels]Restored subscribe/unsubscribe button in community panel (was formerly only in the action menu) - -- [Modlog] Removed card view as an option. -- [Modlog] Re-implemented table view to use flex and reflow into something resembling the old cards but more compact. Works for desktop and mobile. -- [Modlog] Due to the above, modlog search/filtering now work in mobile -- [Modlog] Filters remain present when there's a selection; avoid having to reload modlog just to switch filter params. -- [Image Proxy] Added rule to bypass proxying for inline `data:` images. - -- [UI Tweak] Standardized the sub-navigation bar at the top of the feeds, posts, other areas. Standard functions are merely toggles and custom elements can be slotted in. -- [UI Tweak] Added an expand/collapse button to the toolbar in the various feed pages (main, community, user) that will allow you to enable/disable the margins -- [UI Tweak] Card/Compact switcher is just a toggle button -- [UI Tweak] Updated NSFW post handing in the feed. Easier to un-blur on a case-by-case basis without having to go into the post -- [UI Tweak] Added NSFW blur to post body text in the feed instead of hiding it completely. Expanding it will un-blur it. -- [UI Tweak] Partially restored "scroll to top" behavior when collapsing post body text in feed. Now only scrolls when you collapse it back down (to save you having to scroll all the way back to your starting position). - - -#### Import/Export Tesseract Settings -You can now export your Tesseract settings to a JSON file and import it again. New features are coming that will utilize settings storage for templates, favorite communities, community groups, and more. Having the ability to export/backup and restore is going to be a necessary feature, so getting this part out of the way first. - -- Transfer your settings between devices -- Backup your preferences, configuration, favorites, and groups. -- Does _not_ backup accounts as the auth token is a required part of the account profile. -- The exports are meant to transfer settings for the same account to different devices and not to share groups/favorites. However, that can be achieved as long as it is done between acounts on the same instance. The groups and favorites rely on the community ID which will vary from instance to instance. - -#### Sync Settings To/From Server -Sync your Tesseract settings (config, preferences, and groups/favorites) to your home Lemmy instance. This will allow you to load your preferences, groups, and favorites on another device without having to physically transfer and import an export JSON file. - - -**Notes, Warnings, and Cautions**: - -Sync to/from server is a one-off operation. Your current settings are stored/retrieved from the API but any changes after that are still local-only. You'll need to sync them to Lemmy after any significant changes. - -The way this is done is a _horrible_ abuse of the Lemmy API. There's currently no custom fields available to store 3rd party data, so I had to get creative. - -The `theme` field in your user profile maps to a `text` field in the database. It's also not a value used for anything load-bearing outside of Lemmy-UI. That said, it is capable of holding arbitrary date such as a serialized JSON object representing whatever we want. In this case, your Tesseract config. - -Please be aware that this **will** break Lemmy UI's CSS while your profile data is stored inside the `theme` field. To restore the `theme` field in your profile to a valid value, use the "Clear from Lemmy" button at the bottom of the Import and Export Settings panel. - -Also of note is that this does not merge the settings; what you load from the server will replace your current Tesseract settings, groups, and favorites. - -**Tips/Tricks** - -If you just want to quickly transfer your settings to another device (e.g. PC -> phone or vice-versa), you can save your Tesseract settings to Lemmy, load them on the new device, and then return the `theme` field to a valid value. You can use the file export for long-term storage. - -I've submitted an RFC to see about getting a custom field for this purpose added to the API, but I do not know if it will gain traction or not. For now, I'm content with this method unless it proves to cause problems (none so far in testing). - -If you rarely, if ever, use Lemmy-UI, then you can leave your profile data saved there and only clear it if you do need to use it (that's what I do :shrug:). - - - - - - - -## 1.2.8.99 -### Bugfixes -- Fixed same/newtab behaviour in button elements. Sometimes they'd transparently `invalidateAll` when they shouldn't. -- Fixed bounding issue when expanding long-format post body in compact post mode. -- Added additional domain normalizations to MBFC lookup (detects mobile, `m.` subdomains) - -### Moderation -- Disabled post links and body content when viewing reports. Title and action buttons are still functional, but not the post link or any content in the post body. Similar to how posts are rendered "unclickable" in report and remove modals. - -- Removed "Cards/Compact" switcher in Report management panel. Posts are intentionally forced into compact view and this button was now useless. - -### Complete Mod Report Overhaul -With the new mod tooling, you can take multiple actions in one batch. -- Lock posts, remove posts/comments, and optionally temp/perma ban from community/instance all in one fell swoop. -- Unlock, restore, and unban from community/instance if an action was performed in error or after additional review. -- Can even combine bans such as a temporary instance ban and a permanent community ban. Note that only admins will see the section that contains the instance ban options. -- All "reason" and duration fields are present, so all mod operations are possible and auditable. -- Post/comment preview is collapsible (in case of disturbing content, you won't have to look at it while you fill out the form) - -- Optionally follow up with the reporter to let them know their report has been received and processed. - - Can include an action report in the reply to let them know what actions were taken - - Uses a hard-coded template that can be modified prior to resolving the report. - - If no actions are taken, will use a standard blurb about the submission not violating any server/community rules (see screenshot below). - -- Optionally follow up with the author being reported on. Let them know, via DM, that their submission was removed and why. - - This currently uses a basic hardcoded response: - - Your [post|comment] in [community] has been removed: - - **Post**: [Linked post title] - - **Reasons**: [Reason provided in mod form] - -- Optionally follow up with the post/comment author to inform them of a community ban. - - Will let them know they've been banned, if it's temporary or permanent, and if temporary, when it expires. - - Not available for instance ban since they wouldn't receive it if local - - - -## 1.2.8.98 -### MBFC Module Updates -- Added ability for authenticated users to report a post from the MBFC result window. Report template will contain an abridged version of the MBFC results. - -- Created user option to hide posts that are from "Low Credibility" sources. - - Applies to main feed and community feed. Intentionally not applied to user profile post lists, though you will still see the "Low Credibility" badge. - -- Moved lookup process higher up in the post flow so that MBFC results are attached to post objects, pre-render, for filtering purposes. - - Applied to main feed communtiesand community feed at `/c/[name]` - - If MBFC data is not provided in feed data for posts, will fallback to direct lookup on a post-by-post basis (e.g. posts at `/u/[name]`) - -- As always, thank you `worldnews@lemmy [dot] [machine learning]` for being a complete dumpster fire of shit sources. You've been really helpful in testing the functionality, efficacy, and necessity of this module. - - -### Bugfixes -- Added rule to image proxy handler to exempt image URLs that are already re-written for the proxy. -- Removed transition animation on posts in feed. Caused too many problems with restoring the feed position on return and provided too little benefit. - -### Inline Video Updates and Bugfixes -- Added option to loop videos (inline videos and Invidious are all that are supported by their respective APIs -- YT supposedly does, but doesn't honor the URL param) -- Capped height to `80vh` to better contain portrait-oriented videos -- Adding missing background container to match other post styles. -- Note: webm videos are not working in iOS but mp4 do. God I hate Apple. - -### YouTube -Cleaned up YouTube/Invidious/Piped renderer - -### UI Tweaks -- Forced posts into compact view in report modals (similar to remove modals for mods/admins) -- Put post/comment content inside a `pointer-events-none` classed div to avoid any accidental clicks into potentially problematic content. -- Increased icon size in modal titles -- Restored Hide/Delete post options for regular users since apparently they _can_ see those posts. -- Tweaked layout of compact posts - - Added crossposts list to compact posts - - Moved compact post renderer to dedicated component - - Added fully-collapsed post body with expansion button -- Added checkbox to confirm report is being made in good faith to report submission form. - - - - -## 1.2.8.97 -### UI Tweaks -- Removed user, user modlog, and community links from Post actions menu since they're redundant or only useful for mods. The post action menu was getting a little crowded in some cases. - - The user/community links can be accessed from the post header by clicking/tapping on their names - - The user modlog is really only useful for mods/admins, and it also exists in the moderation menu -- Hide downvote button on posts/comments if not logged in (was simply disabled) - - Upvote buttons remains visible but disabled to indicate the number is the post/comment score. -- Hide reply button on posts/comments when not logged in or if post is locked. (Was visible but disabled) -- Fixed annoying gap between username and post time when post header reflows to mobile - -### MBFC Is Now Fully Client-Side -Moved all of the MBFC lookups client-side. This made several things feasible which have been implemented: -- Only posts with sources that have a record in the dataset will show the MBFC badge. Eliminates "dead" badges on posts that either do no apply to MBFC checking or do not have a record. - -- Badges are now color-coded depending on the MBFC credibility score - -- I left the server API handler (`/tesseract/api/mbfc/lookup`) in place as I may have a future use for it. The data file used for the API lookup is the same one that's served to clients for local lookups. - -- Updated MBFC dataset to latest export from their browser extension repo. - - - -## 1.2.8.96 - -### Bugfixes -- Had a `setInterval` where I should have had `setTimeout` in step to auto-focus the comment field when you hit 'reply' on a post. (facepalm) - -### Modal Changes -- Replaced title slot with a property variable -- Added property variable to supply an icon -- Changed class of close button to be less intense -- Decreased font size of title (2xl -> xl) -- Added icons to report, ban, and remove modals -- In moderation modals, moved the reason fields above the post content -- Reduced dead space in moderation modals - - -### MBFC Component Refinements -1) Added additional aliases to supplement the dataset's built-in alias list for detecting sources by domain (e.g. `bbc.co.uk` -> `bbc.com`, `finance.yahoo.com` -> `news.yahoo.com`, etc) -2) Added color-coded badges to MBFC results - - Green check for highest credibility and factual reporting - - Amber check for medium / mixed levels of credibility / factual reporting - - Red exclamation triangle for low credibility, low factual content, or for disreputable sourcs - - Bias rating is a green check for left-center, center, right center, and pro-science. Yellow check for satire, left and right bias, and red exclamation for questionable sourcing and conspiracy/pseudoscience label. - -### Moderation Tools -1) Integrated the Media Bias Fact Check component into the mod tooling. If you are community moderator or instance admin, there are now options in the MBFC window to automatically populate a removal/purge reason based on the MBFC results. Should be useful for mods of news/politics communities. i.e. If MBFC throws red flags for an article post source, you can click "Remove" right from the MBFC screen to load an abridged MBFC report into the removal modal. - -2) Forced posts into compact mode when rendering in remove/purge modal. - -### On-Screen Navigation Bars -1) The on-screen navigation bars (Return to feed, scroll to bottom, scroll to top) have been removed and replaced with the sticky navbar used elsewhere. The same functionality is there, just packaged differently. -2) Removed option to show/hide navigation bar since this version is less intrusive and matches the rest of the UI - -### UI Tweaks -1) Decreased size of post titles in feed on small width displays (other screen sizes unchanged) - - - - - -## 1.2.8.95 - -## New Features -### Media Bias Fact Check Integration -Media Bias Fact Check (MBFC for short) is a non-profit organization that studies and rates the biases of various news outlets. - -This release of Tesseract adds an internal API to lookup domains against an export of the MBFC data to return the bias, credibility, factual reporting rating, and questionable tags for a supplied news source (specified by their domain name). - -When enabled, a "MBFC" badge will appear in non-media posts with URLs. Clicking it will bring up a report if the source is found in the dataset. - -**Note**: Existing users need to manually enable this feature. It is located in App Settings -> Posts -> Media Bias Fact Check Badges - -The default setting can be defined by the Tesseract administrator by setting the `PUBLIC_ENABLE_MBFC_BADGES` environment variable. The default is `true` so if you do not want this feature to be enabled by default, set this to `false`. - - - -#### API Endpoint - -`/tesseract/api/mbfc/lookup?domain={domain}` - -MBFC does not have an official API, nor can I "find" an unofficial one; I also refuse to write a scraper. However, they do have an [offical browser extension](https://github.com/drmikecrowe/mbfcext) that packages an export of a subset of their data as a JSON file with an MIT license. I can work with that. - -I wrote a server-side handler to lookup domains from that file and return a report to the request. All lookups done via Tesseract are through this endpoint, so there are no 3rd party API calls being performed. - -The dataset is loaded from [https://github.com/drmikecrowe/mbfcext](https://raw.githubusercontent.com/drmikecrowe/mbfcext/main/docs/v5/data/combined.json) - -Currently, I just pull the latest version from that repo and bulid it into Tesseract on each release. I'm planning to implement a server-side task to periodically pull the latest automatically. - -#### MBFC To-Do List -- Add an internal updater so the MBFC data can be updated in-situ without waiting for the latest Tesseract release to bundle a new version. - -- Since the dataset is already in JSON, consider moving it to a client-side object for lookups. - - Pro: Would allow realtime badges without incurring an API call to the Tesseract server for each lookup - - Pro: Badge would only show on posts where the source has a record - - Pro: Can set user-defined filters for credibility ratings to hide posts from disreputable sources - - Yeah, that last one settles it. On one of the next few releases, I'm going to rework MBFC to be client-side. The data doesn't change incredibly often, so it doesn't need to be _super_ fresh to be useful. Just need to serve the data JSON from the static directory and have the server update and rotate that file. - - -### Search Page Enhancements -- [Bugfix] Added conditional to the `resolveObject` call so it only calls that endpoint if the keyword starts with a `!` or `@` indicating a federated community or user search. -- Can add a user filter to restrict the keyword search to posts/comments made by a particular user - - Since the search needs the `person_id` and not the username, the auto complete box will fill in with their ID. This is normal until I write a handler to display the user name+domain while keeping the person_id value under the hood. - -- Added community filter to restrict the keyword search to posts/comments within a particular community -- Added new breadcrumb-style toolbar to search page -- Hid search in navbar when on `/search` page to avoid confusion/clutter - -## Other Changes -- Breadcrumb menus are now sticky. -- Fix scroll offset to account for new sticky navbars -- In small width/mobile view, hid "card/compact" switcher instead of page since there's only room for so much; page turned out to be more useful -- Reimplemented `fixLemmyEncodings()` to correctly render more HTML entities (e.g. `&` -> &, ` ` -> `' '`, etc) - - -## 1.2.8.94 -### Changes -- Added a bit of bottom padding to crosspost container -- Removed logo and "Frontpage" header from main page. - - Replaced with {ListingType} > {SortType} > {PageNumber} -- On main page, site card now reflows to the top like the community pages do -- Changed centering method on site/community/user card stats row -- Clicking "reply" in a post will automatically focus the text area input -- Replaced old Select menus from top of post/community/user pages with newer menus - - Added pagination to this section (will likely have to reimplement after 0.19.0 releases change to cursors vs page numbers) -- Added search field to navbar and hid "Search" button when it is visible (large width and above). Below that, the search is hidden and the old search button is revealed. - - - -## 1.2.8.93 -### Bugfixes -- Fix regression where allowed/blocked instances were not sorted - -### Changes -- Decrease opacity of user/site/community cards from 90 to 85% to make banners more apparent. -- Remove background around post body container div; text is now "flat" against the card background. -- Aligned "Crossposts" item with the rest of post. -- Reduced gap between post action bar and bottom of post content. -- Hid comment text input by default. You now need to click "Reply"on the post. -- Moved edit/preview and submit buttons into comment editor box. -- "Expand/collapse" preview text buttons are a little more narrow now -- Spruced up MarkdownEditor component's built-in preview. - - - - - -## 1.2.8.92 -Note: 1.2.8.91 was not released as a standalone version and was only used internally. - -### Admin Panel -- Added panel to adjust rate limits -- Provided inline documentation for rate limit buckets -- Added panel to set, replace, and clear the site logo and banner -- Can now remove site icons and/or banners if you want. - -### Site, Community, and User Cards -If instances, communities, or users have banners configured, they will be used as the semi-transparent background image in site/community/user cards. - -**Note**: You will need to enable this in Settings. - -### Bugfixes -- Added filter to image proxy URL rewriter to exempt local `blob:` URLs from being re-written. -- Fixed dark mode divider color in `EditableList` component. - - -## 1.2.8.9 -### 0.19.0 Support Update -Have tested against the latest 0.19.0-rc.3 and everything still seems to be working. The only breaking change of concern is the way the auth token is sent. As before, Tesseract is still using the 0.18.x `lemmy-js-client` patched to send the auth via header and does not have access to any of the new API features. - -I'll likely keep Tesseract in "backwards-compatible" mode until 0.19.0 is officially released, has a proper shakedown, and I upgrade my own instance to it. That will allow me to do deeper testing and work on the admin tools side of things as well. - -Life happenings have not allowed me time to stand up a 0.19 test instance as of yet, so I'm relying on Voyager to be my testing server. - -#### Release Plan -Once 0.19 is released, for safety purposes, I will temporarily stop tagging images with `:latest`. - -Versions working in backwards-compatible mode will be tagged `:latest-18` and versions that only support 0.19.0+ will be tagged `:latest-19` - -Once 0.19.0+ hits critical mass, I will resume tagging `:latest` which will point to the 0.19-only version. For those still on 0.18.x, you'll need to use the `:latest-18` tag. - -### Enhancements -#### Admin Panel -The admin panel has had a similar rewrite similar to the application settings panel. Much more organized, options are more descriptive, and the entire interface is easier to use on mobile. -- Moved instance management (add/block) from `/admin/instance` into `/admin/config/` in the Federation section. -- Moved admin team management from `/admin/team` into `/admin/config` in the "Admin Team" section. -- Moved tagline management from `/admin/taglines` into `/admin/config` in the "Taglines" section. - - - - -### Misc Changes -- [Settings] Moved "Comment Sort Direction" option from "Feed" section to "Posts" section in Settings. -- [Settings] Unique icons for a few settings -- [Markdown] Left-aligned text in markdown table headers and added bottom border -- [Settings] Fix typo in feed settings -- [Settings] Hide "Moderation" settings if not a mod or admin -- [Settings] Hide "hide removed / hide deleted" options if not a mod or admin (regular users can't see deleted/removed content anyway) - - - - -## 1.2.8.8 - -### New Features -#### Keyword Filtering -Sick of hearing about a particular topic? Add keyword filters to keep posts containg those terms from appearing in your feed. By default, keywords are compared case-insensitively, checked as whole-words, and only checked for presence within the post title, body, or embed description. - -You can add modifiers to fine tune this somewhat: -- `!term`: Prefixing a keyword with an exclamation mark will compare it as case-sensitve. Useful for filtering acronyms. -- `^term`: A carat tells the filter to check that the post elements start with the provided term. -- `*term`: An asterisk disables whole word checking will filter a post if the keyword is contained within other words. - -At this time, modifiers cannot be combined. Perhaps that is something that will be implemented later. - -Post filtering is available for the main feed and within communities. - -### Enhancements -#### UI Refinements -- Removed excess margin between "expand" button and bottom of preview text in feed. -- Spotify embeds for albums and playlists are now taller and easier to navigate -- Reduced gap between post metadata, URL, and body. -- Added user setting to truncate post URLs down to just the domain for rendering. Can change this behavior in settings. -- Added user setting to collapse/expand cross post list by default -- Hide "card/compact" switcher in small width to keep from overflowing. The fact it stayed inline was mostly just my testing device being unique. - -#### Settings Control Panel -The settings control panel has had a complete overhaul and is no longer a total fustercluck. -- Looks much more sleek and modern -- Easier to use on mobile -- Much more organized -- More options now hide when unavailable due to a dependency being disabled or unavailable. - -### Bugfixes -- The Svelte native restore of scroll position wasn't always returning to the correct position in the feed when returning from viewing a post. Overrode Svelte behavior and am now handling this manually in some cases and with the default Svelte behavior in others. -- Fixed where Mod badges weren't showing in post views as after the component breakout/refactor; moderator object wasn't passed through intermediary component. -- Added some missing error handling to a few post fetches. - -### Misc -- Added additional Invidious instance: `yt.whateveritworks.org` - - -## 1.2.8.7 - -### New Features -#### Distinguished and Sticky Comments -Mods/Admins can now distinguish comments. Comments that are distinguished will always display at the top of the comment list regardless of sort order. - -The handling of the `distinguished` flag is different in Tesseract than in Lemmy-UI: - -**Tesseract** -- Distinguished comments will be given a green background and border -- Distinguished comments are pinned at the top of the comments list. -- Any comment can be distinguished by a mod/admin. - -**Lemmy-UI** -- Distinguished comments just have an "admin" badge next to them. -- Only admin/mod comments can be distinguished with the "Speak as moderator" option. (which is redundant because mod accounts already have moderator badges). - -Note that the way distinguished comments are handled only applies to Tesseract. The comments will be marked as distinguished at the API level, but it's up to individual clients/UIs to handle how to render comments with the `distinguished` flag set. - -**Limitations for Sticky Behavior** - -Comments that aren't loaded on initial fetch will not be stickied at the top. This has to do with the max comment depth that is fetched; loading too many layers up front, when there are lots of comments (>100), causes noticeable delay in page loading. As such, if you want to sticky a comment, make sure it is a top-level comment. Otherwise, the comment will be shown as distinguished when that part of the tree is loaded, but it won't be stickied at the top. - -### Bugfixes -- Missed a width setting in Spotify renderer when I refactored the user settings a while back. -- Previewing empty comment text area no longer soft errors saying it failed to render the markdown. -- Removed `Cache-Control` response header from image proxy response. Was having random problems with images from some instances. - -### Misc Enhancements -- Moved more elements into discrete Svelte components -- More post components are now loaded on demand. Reduces overhead by not loading post components (video player, etc) that aren't needed for particular posts. -- "Expand" button on post text preview in feed is now same color as card. -- Site logo in site cards are no longer "circle"-ified - -## 1.2.8.6 -### Enhancements -Most are under the hood, but put more pieces into discrete components and re-implemented the post renderers using the new components. - -Polished a few areas of the UI: -- The comment counts, reload, and sort buttons above the comment reply text field are now more streamlined. -- Post views (`/post/{instance}/id`) are standardized to just be a bigger version of the card view you see in the feed. Less custom code to worry about. - - Increased margin in post view by 5% -- Crosspost links are standarized between feed and post view. -- Card view in feed is now all components rather than custom coding. - - Compact view is up for a refresh next. - - Known "bug": Compact view does not show crossposts, and any cross-posts are hidden. Will address somehow when compact view gets a refresh. - - With those refactors in place, a new view type such as "list" can be easily implemented -- "Jump to comment" button in profile view is now an icon - - -### Bugfixes -#### Crosspost Detection -Fixed crosspost rollup algorithm. Was only fuctional for one crosspost; any more would be treated as unique. - -Crosspost detection also compares the post title in addition to the URL. Lemmy-UI only compares the URL. Adding the post title to the comparison catches more spam. Yes, spam. - - -#### Crosspost Loading / PostMeta Reactivity -There were a few variables that weren't reactive in the PostMeta component. This caused the community and post creator to not change when clicking a crosspost link when viewing a post. - - - - - -## 1.2.8.5 -### Bugfixes -- Fix x-overflow in markdown render divs - -### Enhancements and Bugfixes -- Users now have the option to display Fediseer badges on posts. Defaults to off. -- Added censure and hesitation evidence to data shown in Fediseer popup -- Fixed overflow for community names in community browser. -- Hide theater mode button when screen width makes it useless - -- Removed granular options to show the instances for communities/users/posts. It's now one toggle: on or off. - -- Hid badge text on posts when viewing in small width displays. Shows icon only. (e.g. Saved, Featured, Deleted, Removed, etc) - -- Post time and score reflow below post author when viewing on small width displays. - -- See less duplicate posts in the feed! Posts in the feed with the name title and/or URL will roll up into a single post with a "Crossposts" list at the bottom. The older post will be the one shown with the newer one being shown as a cross post link. This is similar to how Lemmy-UI does this in the feed except Tesseract also shows the comment count for the crosspost. - - Since the API doesn't provide any cross-post information when listing posts (only when viewing a single post), only posts on the same page will be rolled up. So if there's a duplicate set of posts, but they're on different pages, you'll potentially see both individually - one on each page. There's no way around that until/unless the API provides cross post information in the post list response. - - -## 1.2.8.4 -### Enhancements -- When showing embedded description when there is no post body, run it through the same truncation/expansion process as the post body preview. -- Non-HTTPS YouTube links are now detected. Converted to HTTPS upon render. - -### Additional Media Support -Sources that provide an embed video URL, such as Imgur, Streamable, etc will now render that inline as a video. - -## 1.2.8.3 -### Enhancements -- Added "Return to Top" button to pagination bar -- Added user option to set the number of posts shown per page - - Note that more posts may take longer to be retrieved from your home instance. -- Refined scroll into view when expanding/collapsing posts and post body contents. Much less "jumpy" now. -- Comment action and moderation buttons are to the right similar to posts -- Added debug info button to comments. -- Tweaked compact post layout -- Increased community avatar size from 24 to 36px in post headers - -### Bugfixes -- Youtube component now shows parameters in link -- Fixed bug with `end` parameter not detecting - - - -## 1.2.8.2 -Emergency release to fix bug that went undiscovered during beta testing. -### Bugfix -- Fixed case where cache module was counting its base directory as an item and doubling the reported size. -- Fixed case where cache module was including its base directory in the eviction method. - - -## 1.2.8.1 -### Additional Media Support -- **[Odysee]** Addded support for Odysee embeds. Odysee is a YouTube-like video platform with blockchain or something. I dunno. I've seen video links for those, and they have an embed API. Tesseract now supports it. -- **[YouTube]** Youtube-style post links are now re-written to use your preferred frontend. For example: - - If a post is a YouTube video link, and your YT frontend is Invidious, the post's YouTube link will be re-written to match your selected Invidious instance. - - If a post is an Invidious/Piped link, and your YT frontend is YouTube, you'll see a YouTube link - - Comment links to YouTube (etc) are not currently re-written. Will implement that at some point. -- **[SongLink]** Song and Album links by `odesli.co`. Provides links to media from various sources (Apple Music, Spotify, YT, Pandora, Deezer, etc). - - Will default to a YouTube embed if available. Otherwise, album art and a list of sources. - - Because the Youtube embed is provided by their API, Tesseract cannot route it through your preferred YouTube frontend. - -### Enhancements -- If there is an embed description for a post and no post body text, show the embed description instead. - - - -## 1.2.8 -Most updates are under the hood and to the server-side handlers to support media proxying and an associated caching layer. Also re-implemented the image upload proxy. - -### CORS Location in Reverse Proxy is No Longer Needed -I did a rewrite of the image upload proxy in this version, and the updates there have made the `/cors/` location and its headers unnecessary. - -The `location /cors/ {` section in your reverse proxy config can be safely removed as of this release. - - -### Media Proxying and Caching -Tesseract can now proxy and cache post thumbnails, images, avatars, and inline post/comment images through the server hosting the UI. Any image or direct-link video (webm, mp4, etc) can also be proxied/cached, including those hosted through Imgur, Tenor, Giphy, Catbox, etc. - -This feature is disabled by default and must be explicitly enabled both by the administrator and each user. - -#### Advantages to Proxying/Caching -- Enhanced user privacy -- Quicker loading of images -- Reduces traffic to other Lemmy instances and hosting services by fetching media once and serving it from cache. - -#### Disadvantages -- Increased bandwidth usage -- Increased processing by the UI server - -For proxy cache documentation and more details, [see the docs page for the media proxy/cache module](docs/MediaProxy.md) - -### Fediseer -- Fediseer queries are now cached for one hour in memory. -- Fixed unhandled error if Fediseer API call fails -- Added 10s fetch timeout on each Fediseer lookup -- If Fediseer fetch fails, do not cache unsuccessful lookups - -### Bugfixes and Enhancements -- [Bugfix] Fixed garbled code block and inline code when inside a block quote -- [Bugfix] Fixed wonky rendering of bullet lists, especially nested lists. -- [Bugfix] Not a Tesseract bug, but added a shim to replace `&` and `<` in posts/comments because of Lemmy's overzealous sanitization. -- [Bugfix] Fixed bug with inline videos (.webm, .mp4, etc) sometimes not rendering in iOS -- [Enhancement] Site icon and name now load in navbar when not locked to an instance (formerly was the app icon and instance domain only) - - Now works for guest instances and switches when you change -- [Enhancement] Admins can now [supplement the internal list of Piped and Invidious instances](docs/CustomYoutubeFrontends.md). Useful if you run into Invidious/Piped links that are not being detected or want to supply a custom Invidious instance to use as the YouTube frontend. - - -## 1.2.7 -### Fediseer Integration -There is now a section within the post and comment actions menu contextually relevant for the instance the post belongs to. - -Currently, there are two functions: - -#### Fediseer -This has been on the backburner for a while, but finally glad to have initial support. Fediseer is a chain of trust and reputation management system for the Fediverse. You can learn more about Fediseer on [its website](https://dbzer0.com/blog/overseer-a-fediverse-chain-of-trust/). - -In a nutshell, verified instance administrators can "endorse" other instances to show that they're known and trusted. In addition to endorsements, instance admins can issue "censures" and "hesitations" along with reasons and supporting evidence. - -For example, if an instance is known to harbour hate speech, trolls, spammers, bigotry, or other undesirable content, instance admins can "censure" that instance. A censure is basically a notice; it's there to inform you and nothing more. A "hesitation" is similar to a censure but less severe. - -These tools can help instance adminsitrators take preventative action and give a heads up to any unsavory instances. - -I know I've explained Fediseer poorly, but that's the gist of it. Please read their website for more details on how it works. - -Currently, support is limited to public endpoints only. Eventually, I would like for admins to be able to endorse, censure, or guarantee other instances all from within Tesseract, but that is still a ways off. - -#### Browse Communities -This will take you to `/communities/{instance}` and show you the communities belonging to that instance. From there, you can browse their communities and subscribe to them if you like. - -### Modlog Tweaks -- Combined mod action, content, and reason into one column. - -### Misc Enhancements -- Added "Browse communities" and instance-specific menu section to post actions -- Removed max height class on post action menu to accommodate incoming features. -- Removed unnecessary heading in post moderation menu -- Added "ban" function to post moderation menu -- Reorganized moderation and post action menus -- Added admin function to hide/unhide communities - ---- - -## 1.2.69.2 -### Bugfixes -- Disabled `data-sveltekit-preload-data="hover"` globally as it was causing too many unnecessary API calls with too little benefit. - - Removed individual overrides that were suppressing that. - -- Moved user and community action menus up to the community/user display name div - - Long usernames, especially with long instance domains, were pushing the action menu outside of the card - -- Clicking "theme" in profile menu will keep menu from closing (for quick toggling) - -### Enhancements -- Added "About" community modal to remote instance community lists. -- Modal close button is now `primary` color making it easier to see - -## 1.2.69.1 -### Bugfixes -- Accidentally had `text-xl` at too large a font size. -- Added missing `5xl` through `9xl` font sizes (weren't in use, but would have thrown an error if they ever were since I'm overriding the Tailwind defaults). -- Throw warning if trying to auto resolve unknown community when not logged in. - - -## 1.2.69 -This release has three _big_ quality of life enhancements: -- Can browse communities of other instances -- Automatically resolve unknown communities -- Dynamic modlog filtering - - -### Community Discovery -#### Browse Communities by Instance -Initial support for community browsing by instance! This is a feature I've wanted to add for some time, and I've finally added preliminary support for it. There is now a sub-path under `/communities` that will show the communities of any instance. - -From the Explore / Communities page, enter the base domain of the instance you want to browse and hit the "browse" button. - -Clicking a community will automatically resolve it from its home instance (if not already known to yours) and show you a preview. This is basically a shortcut to searching for it and works the same way. From the community page, you can then subscribe if it interests you. No more copy/pasting community links and doing manual searches! Yay! - - -**Limitations**: - -Of course every new feature can't come without _some_ limitations. These are pretty much all API-related and are limited by the way the API works. I don't think I can reasonably work around this without some kind of backend component for Tesseract, and that's outside the scope of the project for the time being. - -- You cannot one-click subscribe, at least not yet. You have to click into the community to resolve it and _then_ subscribe from the community page. Still, better than the old copy, paste, search, resolve, subscribe method. - -- There is no way to mark/omit communities on that instance you are already subscribed to. I _may_ be able to work around that within the limitations of the API, but right now, it's just a raw list of local communities on the target instance. - -- Sometimes no posts are returned. This also happens when searching for a new community and no initial batch of posts are returned, so it's some issue with Lemmy API (it also happens in Lemmy-UI which means it's not a frontend bug). - - -#### Communities Now Automatically Resolve -Previously, if you clicked a community link, such as `!food@beehaw.org` or `https://{instance}/c/{community}` but the community is not already known, Tesseract would show an error saying the community is not found. You would then have to manually search for the community to view it. We can do better than that. - -Now, if a community is not known to your instance and you try to view it at `/c/community@instance`, it will automatically search/resolve in the background and load the initial batch of posts. It will obviously take a bit longer to load the community page, and a toast message should pop up to inform you of such. - - -### UI -- Ever so slightly increased `xs`, `sm`, and `base` font sizes to accommodate my old people eyes on high DPI displays. -- Added tooltip to `FormattedNumber` component to show the raw value on mouseover -- Dark mode menus are a little darker for better contrast - -### Modlog Enhancements -- You can now apply moderator, moderatee, and community filters in the modlog. Just click the plus/minus to add/remove them to the filter query. - - Table view only for now (so only really works on desktop) - - Can still filter by action type/community/moderator/moderatee in card view, though - - May not be practical to add +/- filter buttons to cards anyway -- Added search filter for `mod_id` to allow filtering by moderator -- Added autocomplete searches for moderator and moderatee - -### Components -- Expanded `ObjectAutoComplete` to support person searches. - -### Bugfixes -- Fixed nonstandard width/margins of post feed in `/u/[name]` and `/profile/user` routes. -- Overrode `on:mousemove`, `on:touchmove`, and `on:touchstart` event handlers on `UserLink` and `CommunityLink` components. Those were causing background fetches for user and community info - - Particularly problematic now that auto-resolve communities has been implemented. Was background-resolving any community you moused over. -- Removed overzealous auto focus on `/communities` search input (annoying on mobile) -- Fixed bug where subscribe to community closed menu and blocked thread with no indication of activity. - -## 1.2.68 - -### Added preliminary support for 0.19.0 -1.2.68 is compatible with both 0.18.x and 0.19.0. The current support has limitations, though. It is still using the 0.18.x lemmy-js-client with patches to corrrectly authenticate against the 0.19.0 API as well as handle both date formats (with and without timezones). - -So, while it works for both 0.18.x and 0.19.x, none of the new 0.19.x API calls/features are available. - -#### Future Releases -Please note that the plan is to still have separate versions of Tesseract for 0.18.x and 0.19.x. Thus far, I'm not thrilled with the extra baggage it would entail to provide backwards compatibility and selectively disable 0.19-specific features. - -The basic 0.19.x support in this (and future Tesseract 1.2.x releases) will only be to provide a transition period until instances are widely on 0.19+. - -The 1.3.x releases of Tesseract will only support 0.19.0+ versions of the Lemmy API. - - -### Enhancements -#### Form Fields -First form element now auto-focuses where applicable. -- Instance selector input for `/login`, `/forgot_password`, and `/signup` -- Search box for `/communities` -- Username field on `/login/[instance]` and `/signup/[instance]` -- Email field on `/forgot_password/[instance]` -- Title on `/create/post` - - -#### Community Card -- Added remove/restore community actions to the community card -- Action menu now visible at all screen widths -- Removed buttons for sub/unsub, block, community settings, and modlog in favor of moving those to the action menu - -#### User Cards -- Added modlog button to filter modlog for just actions against that user. Uses include: - - See why they were banned - - Look for other actions against them to determine appropriate future mod actions -- Removed admin menu (shield button under 'block') and moved admin options (currently just 'ban') to user action menu. -- Removed buttons to message/block user and folded those into the user menu. - -#### Modlog -- Can now specify `other_person_id` URL parameter to filter for a specific user. - - -### Bugfixes -- Fixed condition where if community block call fails, community won't erroneously be marked as blocked in the UI -- Disabled "create post", "block community", and "subscribe" buttons in community action menu when community is removed. - - Really only affects admins since regular users can't see the removed communities, but still a bug needing fixed - - Apparently blocking a removed community, at least as an admin, still blocks the community even though the API returns 404 (0.18.5, anyway) -- Removed unneeded menu toggle click event from "Reports" button in navbar. - - -## 1.2.67 - -### Bugfixes -- Rolled back default communities list from Local to All -- Removed 3rd party API call to Dicebear for initials avatars on communities and using internal JS library - - Not really a bug, but I _hate_ relying on 3rd party APIs for things that should be handled internally. -- Fixed full-width multiselect widget that got borked in 1.2.65 - - Added `fullWidth` parameter to make them full-width where desired. -- Fixed bug where searching for a community would not take you back to page 1 and left you stranded until clearing the `page=` URL parameter. - -### Polish/Refinements -- Added `tailwindcss/forms` to the project and removed some explicit form element classes in favor of using Tailwind native - - - -## 1.2.66 -This release would have been more significant, but I wasted like 3 hours fighting Lemmy's stupid API. - -### Polish/Refinements -- Standardized headings in `/profile` section -- Rearranged `/profile/settings` page to make better use of space -- Made `select` menus properly light/dark mode, gave them icons and labels, and set them to full width of container. -- Hid option dropdowns on user profile pages when there are no submissions - - -### Community Explorer -- Added site sidebar to community page -- Added additional community info to list items (creation date, NSFW tag, indicator if community is mod-post only). -- Re-aligned selectors and search bar -- Communities are now sortable* -- Default view is now "local" - -\* _Sort of_. Lemmy's API is fucking stupid in so many ways. One such way is when listing communities, the sort types are the same as for Posts (new, old, hot, active, etc) instead of _contextually useful_ sort types like alphabetically ascending/descending, number of posts/comments/subscribers, etc. - -I tried to work around that and just pull a full list and sort/cache it client-side. Well, their dumbass API says "nope, fuck you". Listing communities has a hard limit of 50, so you have to pull them in batches and paginate. The end result is that each _page_ of 50 results is alphabetized or sorted as selected. - - I also _tried_ to hack around that by calling the community list endpoint recursively, and it worked until scaled to Lemmy World size. It's not feasible to recursively pull 560-some pages of 50 communities each, sort them, and then render. Half of those are just communities people have created to squat on and have no content, but I digress. - - Any further enhancements will have to wait until Lemmy's community list API is less fucking stupid and when I'm less grouchy. - - - - - - -## 1.2.65 -This release focus mostly on refactoring, cleanup, and organizing the profile section. - -### Bugfixes -- Accidentally had duplicate `id` on both post card and video embed. Gave videos unique `id`. - -### Enhancements -- Vimeo embeds can now autoplay in posts if you have that option enabled (default is off) -- "Saved" posts are now under your profile section. Removed old `/saved` route. -- "Inbox" is now under the profile section. Removed old `/inbox` route. -- All sub-pages in the profile section now have a common layout with your user info in the sidebar -- Created new `UserCard` component to reduce redundant code. - - - -## 1.2.64.1 -### Bugfixes -- Fixed bug where sometimes community sidebar is hidden on mobile and is unable to be restored -- Changed all the multi-select buttons to dropdowns to save some space on mobile - -### Sidebar Refinements -Still not sure this is how I want it, but it's a step in the right direction. -- Made admin and moderator lists collapsible (collapsed by default). - - -## 1.2.64 -### Bugfixes -- Post links in compact view were not respecting "open links in new tab" preference. -- Made sure moderation menu was always one spot to the left of post action menu - - Caused issues on mobile where the mod menu opened too far to the left. -- Fixed bug inherited from upstream that threw an error when refreshing profile page. - -### Changes -#### Moderator and Admin Visibility -The current implementation is probably not how these will stay, but I did want to at least get them up there and plumbed in. I'll likely polish the way they're rendered to be a little less "list" like. - -- Moderators are now listed in the community sidebar. - -- Community moderators now distinguished in comments - -- Moderators are distinguised in post headers in `/post/{instance}/{postID}` pages. - -- Feed does not currently show mod badges. The community moderators are not returned in the `/api/v3/post/list` call, and it's not really worth it to do a separate call for each post that's returned to get those to add the badges. - - Looking at Lemmy-UI, it doesn't apply badges in the feed either, likely for the same reason. - -- Admins are now visible in the site sidebar - -**Note**: I don't think it's been explicitly stated, but the "Admin" badge only shows for admins local to the instance you're logged into. - -#### Community Card (Mobile View) -Removed the individual buttons for the community actions and put them into a menu in the card. - - - - - - - -## 1.2.63.1 -Happy Friday. This is just a tiny point-release to fix a few bugs that got overlooked in the last release. Hoping to step away for the weekend, so wanted to get this out to fix the annoyances I noticed in 1.2.63. - -Have a great weekend. - -### Bugfixes -- Fixed bug with post preview so that it always previews in "post" mode rather than "feed" mode (compact is never used in "post" view). -- Fixed bug where YouTube-style embed URLs were sometimes generated with a double slash (e.g. `/embed//{videoID}`). YouTube didn't care about that, but Invidious was throwing an uncessary and unwarranted tantrum over something that it should have just handled. - - -### UI Changes -- In compact view, clicking the thumbnail (or thumbnanil placeholder) will expand the compact post into a card post. - - - - -## 1.2.63 -This branch kind of got away from me, so I should probably have bumped the version a bit more than 0.0.1. - -### Bugfixes -- Restoring post from draft now sets the community correctly. -- Disabled post and comment vote buttons for guest/unathenticated users. -- Fixed bug with form submission getting stuck if there was any kind of error during the POST. - -### Enhancements -- Debounced the community filter search box. Now faster and more efficient. -- Added browser-agnostic clear button to community filter and changed it to a regular text input. Firefox, I love you, and you're perfect, but why the hell do you _still_ not have a native "clear" button on search input types?? - -### Additional Media Sources/Formats -- Added support for Vimeo embeds - -### New Features -### Compact Post Expansion -You can now expand/collapse individual compact posts into cards as you scroll. Kind of the best of both worlds, especially if you have media enabled in the feed. - -### See Full Post Body Text in the Feed -In "Card" view mode, if a post has a body content of more than 120 characters (the current cutoff point for the preview), it will now present an "expand" option to see the full post body right in the feed. - -You can even mix and match those in one post. If you're scrolling in compact mode and see a post that interests you, you can expand it into a card for more details and then expand the fulltext. All from the feed. - -### Theater Mode -The "theater mode" experimental feature is now available by default. Theater mode will hide both left and right sidebars, expand the video card to fit the space, and center the video player in the window. It is available for Youtube*, Vimeo, and inline video posts. Clicking it again will restore the window to normal. You can also move the sidebars back manually if you want. This feature is available in the feed and when viewing a post. - -I don't know why I added that. I guess if you want the video bigger but don't want to commit to fullscreen? Anyway, it's there. - -*Includes Invidious/Piped - - -### UI Tweaks -- Removed borders around comment vote buttons (now matches post vote buttons) -- Post create/edit form has cancel button (if `lastSeenCommunity` is set) -- Removed borders around `tertiary`-classed buttons to flatten them. - - Navbar buttons - - Post/comment action menu buttons - - Post/comment moderation menu buttons - - Comment reply - - Sidebar expand/collapse buttons - - On-screen navigation buttons in post view ("return to feed", "scroll to top/bottom") -- Added toast messages to comment save and share actions to indicate they've done something. -- Decreased size of profile delete buttons in account submenu -- Post action and moderation menus open to the side. Again. I just can't deal with them opening below and always having to scroll down. There's got to be some way to prevent the clipping when they open `top-right` near the top of the screen. -- Added directional arrows to pagination buttons - - - -## 1.2.62 -One major enhancement, lots of tweaks, and several bugfixes. The bugfixes were adjacent to the feature enhancement which is why they're so specific. - -### Post Creation and Editing -I've completely overhauled the post creation/editing process, specifically previewing your submission. Instead of simply rendering the markdown in the post body, it will run the post draft through the full `Post` rendering stack and show you exactly what it will look like (assuming you're posting an image or embeddable media). - -The post form is also much more accommodating with more room to see what you're actually typing. - -#### Known Issues -**Bandcamp**: Because Bandcamp embeds do not have a 1:1 relationship between the URL you share and the URL used for embeds, they rely on Lemmy backend retrieving the page metadata to grab the embed URL. Because of this, previewing a post with a Bandcamp URL will not show the player. - -**New Article Posts**: Previewing a new post will not show the article thumbnail as it doesn't exist yet (that is retrieved by Lemmy on the backend _after_ the post is submitted. - -I can hack around those by fetching that metadata in the UI, but I'm not sure if that's worth doing or not. For now, noting these as known issues/limitations. - -### Crossposts -I forget which version I changed this in, and I forgot to document it, but the crosspost behavior is now slightly different. - -Before it would quote `>` each line. I personally hate that since it also messes with the paragraph spacing in various Lemmy frontends. So, I put a stop to that in Tesseract. It will still add `cross-posted from : {original post}` at the top, but the rest of the post body will be unquoted. - - -### UI Tweaks -- Modal can now be specified to be full screen height. Particularly helpful for editing posts so the markdown editor isn't like 3 lines. -- Reduced length of post body preview text in feed from 350 characters to 120. -- Moved "submit" button for new posts/post edits to top-right instead of the bottom. -- Increased comment edit textarea to 15 rows. Was getting a bit claustrophobic. -- Post action and mod menus now open bottom-right again (was top-right). I keep moving these to make it easier to do mod work on mobile. Bottom-right always makes you have to scroll down, but top-right sometimes goes offscreen if the post is near the top of the screen. I haven't tried bottom-right since I shrank the menu items, so hopefully that helps. - -### Community Page -- Continued work on refining community page reflows -- Buttons are now `primary` (white in dark mode, black in light mode). -- Adjusted centering on community dates/counts in card -- Moved all community action buttons into card when sidebar reflows -- On reflow, community card mostly matches the width of the posts. - - -### Bugfixes -- Fix bug where "NSFW" flag was not read into post edit form (always defaulted to false). -- Fixed bug where post flags (saved, deleted, nsfw, featured) were not reactive and only appeared if the page was refreshed. - - To do: "Removed" badge is still being obstinate, though. -- The "Share" and "Mark as Read/Unread" post actions now pop up a toast to let you know they've done something. -- Fixed bug where editing a post wouldn't reflect without a page reload. - - -## 1.2.61 -Mostly a lot of little stuff in this release. - -### Bugfixes -- Fixed bug where community description was not changing when switching between communities without a full page refresh. -- Fixed the hack I had to put in place to make sub-menus possible. Menus now close when expected and stay open when they should (no more hacks needed) ### Community Pages -- Moved community settings and community modlog buttons into the community card rather than below. -- Community card sidebar now reflows above the posts on `/c/{community}` rather than hiding in a modal. The community description is hidden in mobile view, though. - - Added "Info" button in community card mobile view to show the community details/info/rules. Hidden when sidebar is available. - -### Account Management -Added account delete buttons to the account drop down in the profile menu. - -### UI Tweaks -- Right-hand sidebars hide at larger breakpoint -- Tweaked margins a bit -- Tweaked max-width of sidebar at various breakpoints -- Changed selectors for feed source and sort to be single element dropdowns - - -### Modlog Related Updates -When you click the "modlog" button from within a community, it will filter the modlog for that. It will also adjust the modlog page title and heading to reflect the selected community as well as hide the community filter search. - - - - - -## 1.2.6 -This is a fairly major update, though you probably wouldn't notice at first glance. - -Completely re-implemented the way posts are rendered. If nothing looks different, then I have succeeded. - -The only noticable difference is "Compact" view has had a complete refresh (which is why I had to re-implment everything else). It may be subtle, but it does look a lot better and is more flexible should I want to change it later. - -A "list" view was requested, but I think that conflicts with one of the project's goals. Doing a proper list view would not work well on mobile, and desktop-mobile feature partity is a priority. To that end, I think "compact" view is about as small as I want to implement for the time being. I'm also really tired, and just the thought of implementing another view and plumbing it in makes my headache even worse. - -### Other Updates -- Added margins to Reports, Saved, and Search views -- Added Cards/Compact view switcher to Reports, Saved, and Search views -- Put in a replace for `&` in community names in the sidebar, community header, and community cards to show an ampersand. - - Lemmy's overzealous escaping is getting on my nerves. This will do for now. - - Need to move to utility function and also do the same in markdown for `<` and `>` -- There is now a "Community Modlog" button in the community sidebar. It will load the modlog filtered for that community. - -#### NSFW Community Tagging -Added an optional (default on) "NSFW" tag that will show on communities marked NSFW. Shows in the sidebar list (when expanded) and in the community header when browsing a particular community. - -To disable by default, set the `PUBLIC_TAG_NSFW_COMMUNITIES` environment variable to `false`. Users can also adjust the behavior by unchecking that option in the app settings. - -### Bugfixes -- Fixed bug where some links weren't getting the proper tooltips set -- Fixed a few more NSFW blur inconsistencies -- Loading a post always loads the full-res version now. On mobile, the post was grabbing the low res thumbnail source instead of the full res one. -- Pretty sure I fixed all the bugs introduced with the post render revamp. Have tested thoroughly, and I think they're all squashed. - - - - - -## 1.2.59 -- Moved "Accounts" menu and account switcher from sidebar to profile menu. - - The "Accounts" button in the profile menu now opens a sub-menu to either manage or switch between accounts. -- Changed default config option for "expand moderating list" to false since "subscribed" and "moderating" lists are now mutually exclusive. Prevents inconsistent behavior on first load. - - -## 1.2.58.1 -### Out of Band Release / Bugfix -Markdown component was getting an unhandled error _sometimes_ and killing the rest of the thread. Added try/catch to handle it gracefully. - - -## 1.2.58 -### Sidebar Enhancements -Gotta say, I've been putting the community filter off for a while, but I'm glad I finally implemented this. Such a quality of life improvement. - -- Added community filtering in the sidebar. You can now filter your subscribed communities for quick access. -- When collapsing/expanding "Subscribed" or "Moderating" lists in sidebar, they're now mutually exclusive. If subscribed is open, moderating will close, and vice-versa. -- Added indent to community list -- Fixed subscription count badge contrast in light mode - - -### Components -- Added input type "search" support to `TextInput` component. -- To do: Manually implement a "clear" button for the search field because Firefox still does not support that natively :sigh: - - - -## 1.2.57 -### Password Reset Handler Part II -I wrote the part to _send_ the password reset email, but forgot to write the hanlder to validate the token and _set_ the new password. That has been added, and password reset functionality is now 100%. - -Last remaining item for account management is normal password change. - - - -### UI Refinement -Nothing groundbreaking but quite a few UI tweaks that add up to a lot: - -- Moderation and post action buttons now open to the left of the button instead of above/below. -- Added site logo and name to top of legal page and front page -- Legal page is now instance specific -- Removed some excessive padding to make page cleaner -- Added "scroll to top/bottom" buttons above/below posts along with "return to feed" button. -- Made the above mentioned navigation bars optional. Default is off. - -- Fixed "bouncy" collapse/expand button right-hand sidebar - -- Added slight margins to `/post` view -- Capped the width of posts/comments in `/saved` lists until I figure out what I want to do there. Looks much cleaner. - -- Profile menu now shows your display name instead of username (username if you haven't set display name) - -- Removed Modlog and Admin links from sidebar and navbar, respectively. Both are now located in profile menu. - -- Menus are more compact now - -- You can toggle light/dark mode by clicking the Theme button in the profile menu - - - - -### New Configuration Options -#### Disable Modlog for Regular Users -This setting controls whether regular users will see the Modlog button in the UI. - -Note that the modlog API endpoint does not require authentication. This _will not_ prevent a determined user from looking at your modlog. If you are also running Lemmy-UI, they can also just view the modlog there. - -To use this option, add an environment variable called `PUBLIC_DISABLE_MODLOG_USERS=true` . If omitted, it will be treated as `false` (default behavior), and modlog button will be visible to all. - -There is no way to set this via the UI as all data stored is local. - -#### Accessibility Buttons -You can now change whether the "Back to feed", "jump to bottom", "jump to top" buttons are shown. These are useful in some cases, clutter in others. You can now turn them off in your app settings. - - -### Security -Tightened up routes that take the current instance into account. - -If Tesseract is admin-locked to a specific instance, routes like `/legal/{instance}`, `/forgot_password/{instance}`, etc were already properly working against the admin-defined instance, but the URL still showed whatever instance the user provided. Now, there is a redirect to `/{page}/{defined_instance}` to remove any ambiguity. - -For example, in prior release, if you browsed to `/signup/lemmy.world` but Tesseract was locked to, say, `lemmy.ml`, the signup page would have all of the details for `lemmy.ml` and you would be signing up against that, but the URL would show `lemmy.world`. - -While this didn't cause any technical problems, it could be ambiguous or confusing as to where you're signing up. Now, under the same configuration, if you browsed to `/signup/lemmy.world`, it would redirect you to `/signup/lemmy.ml`. - - - -## 1.2.56 -### Added Support for Bandcamp Embeds -Bandcamp links are now recognized. Just drop the link to the album/track page from your browser. - -Their embed player just does not scale well. Had to go with their smallest player option and hack it together with the thumbnail image provided by Lemmy (with a hefty helping of `margin-top` abuse along the way). The important part is that it is responsive up to their player's maximum size (128x627 px) and doesn't show a bunch of ugly white space when scaled beyond that. This is "good enough" in that it looks acceptable on desktop while also scaling down for mobile. Not what I had in mind when I started this, but it's the least-awful way I've been able to achieve what I set out to do. Seriously, their embed player _sucks_. - -I think that's all for this release. I had backburnered adding support for Bandcamp because I knew their player was going to be a challenge, but this was ridiculous and involved re-evaluating expectations multiple times and finally hacking something together. - -Y'all better use this. lol - - - -## 1.2.55 -### Bugfixes and Optimizations -- Fixed bug with `/login`, `/forgot_password`, and `/signup` where they were sometimes not detecting the specified instance. - -- Fixed bug that allowed logging in or signing up to other instances when Tesseract is configured to be locked to a specific one - - Not really a security issue, per se, but an issue nonetheless - -- Removed some more unused `import`s in several components to reduce overhead - -- Removed `validateInstance` from the login submit function since it's pre-validated before the page is rendered (if the instance is invalid, the login page will throw a controlled 500 error because it couldn't fetch the site name/logo). - -- Fixed another `select` grey on white bug that only existed in Chrome(ium). - -### UI Enhancements -- Added "Return to Feed" and "Scroll to Top" buttons to the bottom of post page (below comments) -- Can now toggle between compact post and cards from the feed, community feed, and profile view. -- Option buttons on top of feed/community/user pages are now less intense - - - - -## 1.2.54 -### Bugfixes and Such -#### Signup Process -Fixed two bugs with the signup process: - -The submit function assumed a JWT was returned on successful signup. If email verification and/or applications are required, no JWT is returned. That was causing an erroneous "Invalid credentials" error toast to pop up even if the signup was otherwise successful. - - Second, upon successful signup, the signup page just left you there with the submit button spinning. This is due to the above expectation of a JWT that was not issued. It now redirects you to the homepage. - - #### Email Verification - There weren't any bugs to fix, but I made the process cleaner as well as created a landing page explaining the next steps to the user. This is mostly to reduce confusion in the lag between "email is verified" and application is approved; users often try to log in and cannot until they are approved. - - #### Forgot Password - Added error checking/handling to the `getSite` call that happens in the background - -### Sidebar Enhancements -Reimplemented the way the community sidebars are collapsed/shown. -- The button is now part of the sidebar (rather than at the top of the post). -- Sidebar can be collapsed in the feed and post views. -- Site sidebar can also be collapsed now -- Put site and community icons, names/addreses, and stats in cards (similar to how profile views now are). - - -## 1.2.53 -This is a pretty feature-ful update. - -### Accounts Mangement -- If Tesseract is locked to a particular instance, and there are no accounts setup yet, it will take you straight to `/login` and bypass `/accounts`. -- Hid references to setting guest instance if Tesseract is locked to the one configured by the admin (formerly, those were simply disabled form elements) -- Login button in sidebar now goes to `/login` (if not locked to instance) or `/login/{instance}` if instance locked - -### Login Page -- Login page no longer asks for domain. Added an interstitial page where it asks for your instance (like `/signup`). -- Login page now shows the site icon and name for the site you are logging into. - - -### Implementing Some Missing Features -#### Legal Page -The admin-defined `legal_information` is now rendered on a page at `/legal` like in Lemmy-UI - -#### Password Recovery -- Password reset functionality has been added at `/forgot_password`. -- Added "Forgot password" link to the login page - -### UI -- Decreased sidebar width to 18%. -- Trying to make the width configurable in a way that sticks, but efforts to date have been problematic. -- All account pages (signup, login, and forgot password) now show the instance logo and title at the top to make it more clear which instance you're working with. -- Window title now reflects the Lemmy instance you're connected to. - - - - -## 1.2.52 -### Sidebar Improvements -- Removed the hacks I had to make the sidebar behave; added a missing `flex flex-col` class to the community list container div to resolve. -- Community icons are now visible again when sidebar is collapsed. Whoo hoo! -- Removed up/down arrows that used to collapse the accounts/moderating/subscribed sections. The header/button now performs that role. -- All sidebar buttons now have tooltips. Makes it much, _much_ easier to use while collapsed, especially to switch between accounts. - -### Bugfixes -- Fixed unhandled exception in date handling component -- Removed "+Z" from a function that takes the date from the API, creates a date object, and passes it to a function that returns a relative date (e.g. 1 mo ago). API may be sending an incorrectly formatted time, but it works fine without the timezone and there's an upcoming fix to send the proper timestamp. - - -## 1.2.51 -### Security -Added and tuned CSP directives - -### Sidebar Updates -- Accounts section is now collapsible -- Accounts button now toggles the expand/collapse of that section -- Moved button that takes you to `/accounts` to a button _within_ the collapsible section. Renamed to "Manage Accounts" -- Turned `Moderating` and `Subscribed` headers into buttons which expand/collapse those sections. Looks a lot sleeker - - Up/down arrows to the right of those are now redundant. Considering removing them. - - - - -## 1.2.50 -### Bugfixes - -- Fixed NSFW blur not applying to compact view in feed (cards were fixed in 1.2.42) - -- Updated comment vote arrows to match those used for posts. Left borders around those (for now?) +- Refactor to use standardized layout components +- Implemented infinite scrolling +- Community name no longer appears in post headers in community feed +- User avatars are shown in post headers now +- Search bar now lets you search for content posted to that community. +### Community Button on Posts +- Added button called "More from {user@instance}" which will take you to a pre-populated search page showing only submission from that user in that community -## 1.2.49 +### Moderation Section +- Re-wrote pretty much all of it +- Comment, Post, and Private Message reports are now pre-processed into a common/standard report format; makes working with the reports _much_ easier now. +- Can now resolve private message reports -### Feed -- Increased gap between posts a bit -- Increased margins in post to give them more of a card feeling. -- Increased default feed image size to extra large to account for the increased margins. Only the default setting was changed. Existing preferences will take precedence. -- Default option for "Fade title of read posts" changed to false. Again, existing preferences will take precedence. -### Posts -- Changed vote button design and flattened it and the comment button -- Limited YT-style videos to 88% viewport width even when "full-width" is selected. This keeps them from getting too large with both sidebars collapsed (would often get cropped by the navbar). -- -## 1.2.48 +### Profile Section +- Now has infinite scroll for post/comment history +- Replaced the ad-hoc context bar with the standardized one +- Moved profile section buttons below nav bar +- Profile section buttons are now stickied to the top for easier navigation +- Re-wrote the main layout and subpages to use the standardized layout components +- Can now set banner image +- Updated layout of settings +- Removed "show scores" option since it is not used by Tesseract and doesn't change API behavior + - Moved this fro profile settings to app settings +- Can now change password (I _swear_ I thought I already implemented this ages ago) +- Note: TOTP settings will be added when 0.18.x support is dropped. The 0.18.x implementation is bonkers, and I don't want to have to shim around that. +- Inbox has been re-written + - Can now report private messages + - Private messages can be marked as read individually -### Infrastructure -Cleaned up the custom types defined in `lib/components/lemmy/post/helper.ts` and used in most `Post` components. +### Misc Pages +- Reimplemented /legal page to use standardized layout +- Reimplemented /signup, /signup/[instance], /login, and /login/[instance] to use new standardized layout. + - Added site card to the login and signup pages and removed old static site icon -### Feed and Post Image Sizes -The options for setting the image and video sizes are more sane now. Instead of images vs videos, it's now feed versus post. All media in the feed will be sized based on your "feed" setting, and all media in posts will be sized according to your "post" image size selection. +### Domain Blacklisting +Tesseract can deny submissions (currently only in the post URL) to a set of admin-defined list of domains. -**Notes**: - - Since the setting structure changed, inserted a migration step which _should_ negate having to flush LocalStorage because of this. - - If the app fails to load and/or has errors in the console, flush local storage. +There are 3 independent blacklists which can be specified: -### Code Syntax Highlighting -Added additional setting to enable syntax highlighting for inline code. Note that this depends on highlighting being enabled in code blocks. It's not currently bound to the state of that option. +- General +- Link Shorteners +- Fake news -### Experimental Features -Added support for experimental features that are disabled by default but can be enabled by the user. In the settings panel, there's a checkbox to "Enable experimental features" which will enable them all. +Please see the [Domain Blacklisting](docs/DomainBlacklisting.md) document for more details. -**Theater Mode** -When opening a post that contains a YouTube video, there is a button next to the post actions that will enter "Theater Mode". It works similarly to YouTube's in that it hides both sidebars and scrolls the video fully into view. Kind of a pseudo-fullscreen. I don't know why I spent an hour and a half implementing this since the actual fullscreen button is like 10 freaking pixels away, but it's there. I guess it could be useful if the video has fullscreen option disabled for embeds. - -## 1.2.47 - -### Bugfixes -- Fixed bug introduced in 1.2.46 that caused the user/community/site sidebars to grow far too large when the window size reduces. - - Backported to 1.2.46 and re-released ### UI -Trying to elimiate more dead space, or at least make it less apparent. -- User/community/site sidebars stay open for a greater range of screen width. - -- Added margins to post feed cards - -- Refined user card in profiles. Now always shows their display name (when available) and their @{user}@{domain} fully-qualified name below that. - -### Modlog -- Added more specific action details to modlog: - - Temporary vs Permanent instance/community bans are now indicated along with the expiry date for temp bans. - - Reworked column widths for better display - - Added instance to the moderator names - - - -## 1.2.46 -This release has a lot of under-the-hood updates. - - -### Settings -Cleaned up unused settings values and combined related ones into objects. I did this not because it was easy, but because I _thought_ it would be easy. - -The configuration object that's saved to LocalStorage has had a big cleanup. If you have existing settings, you'll notice that some options are not set correctly after updating to this release. - -It is advised to either clear your LocalStorage or at least go into your Tesseract app [settings](/settings), reset them to default, and reconfigure to your liking. - - -The following `env` vars have been removed: -- `PUBLIC_EXPANDABLE_IMAGES` -- `PUBLIC_REVERT_VOTE_COLORS` -- `PUBLIC_FULL_WIDTH_LAYOUT` -- `PUBLIC_EXPAND_SIDEBAR` -- `PUBLIC_NEW_VOTE_BUTTONS` - -You may safely remove those from your `docker-compose.yml` or however you were passing them to Tesseract. - -### Sidebar Update -Ok, so the sidebar is a bit of a rework-in-progress. It needs to be totally re-written to do what I want it to do, and I don't have time for that right at this moment. However, there were some quality-of-life improvements that I _did_ want to implement, so it's in kind of a hybrid state right now. - -- `Moderating` and `Subscribed` lists are still collapsible as before, but they're limited in height to the screen height; the sidebar no longer scrolls beyond the viewport height. - - Each of those sections now scrolls independently. - - Changed the way the communities were hidden so it's much faster now. - -- When the sidebar is collapsed, instead of the community icons remaining, they're hidden now (this is the hacky fix to make it sort-of do what I want without the full re-implementation that it needs). - -- The open/close state of the `Moderating` and `Subscribed` lists is now saved to LocalStorage and will persist. - -- The ugly subscription counts I had in place are now less-ugly badges. - -### Modlog -- Added `expires` to `ModLog` interface for `mod_ban` and `mod_ban_from_community` and added "Expires on M/D/YYYY" to "Action" column in table view and below the Action in card view. - -- Limited "Content" column to only show the first 120 characters of the removed content; table mode only. Card view will still show the full content. - -### Moderation -- Ban modal now uses a date picker instead of having to type in the date in the correct format. Still optional, and omitting the date results in a permanent ban as before. - - -### ~~Experimental: Initial Markdown Emoji Support~~ -Note: This has been removed from this release. - -I had used `markdown-it-emoji` to add emoji support to the markdown editor, but it is incompatible with Lemmy-UI as it only _renders_ emoji codes but does not replace the text with the emoji unicode characters. - -Next attempt will likely use emoji picker or something that will drop in the actual unicode characters to maintain compatibility with other Lemmy frontends. - - - - - -## 1.2.45 -- User profiles rolled up into nice badges - -- Grabbing larger thumbnail for user profile images; keeping same size. Avatars were fuzzy at 48x48. Still renders as 48x48 but with a {width*2} thumbnail size (128). - -- Inline images in posts/comments can be disabled. Post images will still show, but any inline images in the post body or comment markup (e.g. `![Alt Text](https://example.com/image.png)`) can be configured not to expand inline and show a link instead. Good for bandwidth-conscious usage. - -### Bugfixes -- Fixed white on grey `