Conversation
Compress eligible text responses when clients explicitly accept gzip, while leaving favicon and uploaded media responses uncompressed. Handle HEAD requests without response bodies and add coverage for gzip negotiation, skipped binary assets, and content-length behavior.
Add contextual placeholder text to post, reply, and quote composer textareas while preserving existing form fields and limits. Align sticky desktop rails to shared header and shell spacing tokens so side panels and the Home card start at the same vertical position.
Show a noscript status banner and mark the document when JS runs (document.documentElement.classList.add("js-enabled")). Adjust post/notification card markup and styles for progressive enhancement: keep data-card-href on cards, add an explicit permalink anchor for no-JS navigation, remove tabindex on non-JS notification rows, and scope hover/cursor/focus behaviors to .js-enabled. Hide the password-toggle by default and reveal it only when JS is enabled. Update related CSS and client script and adjust tests to reflect the new no-JS fallbacks and JS-enabled behaviors.
Add aggregated admin-only user investigation details, name and post-content search semantics, escaped match previews, empty states, and focused Rust coverage for admin user search behavior.
Store the bootstrapped Arti client in an Arc before placing it in TorRuntime so the runtime retains shared ownership alongside the onion service setup.
Add registration_captcha_enabled settings support, admin writeback, and registration-only CAPTCHA generation and validation using the captcha crate. Keep login unchanged and preserve the disabled-by-default registration flow. Cover config defaults, admin persistence, validation failures, single-use success, and accessible no-JS form rendering with focused Rust tests.
Introduce a site-wide NSFW blur feature: add media.nsfw_blur_enabled to config (default true) and new DB migration (v10) to add media.is_nsfw and users.nsfw_blur_enabled with safe defaults. Wire the setting throughout the codebase: parsing and deep settings UI, Settings default/validation, and serialization. Add APIs and handlers to mark media as NSFW (media::set_media_nsfw) and an admin POST route to toggle post NSFW state. Update rendering to support blurred NSFW media with accessible reveal controls, composer checkbox to mark uploads as NSFW, and per-user blur preference in CurrentUser. Include tests covering defaults, DB migration, rendering, and behavior; update .gitignore to include the new Playwright test file.
Introduce a new tor.display_onion_address setting (defaults to empty) with validation for v3 .onion addresses and no surrounding whitespace. Use this configured address as a fallback when the runtime Tor/Arti address is unavailable. Render a compact header Tor indicator showing a shortened address with a details view for the full address and a copy-to-clipboard button; include accompanying CSS/JS and unit tests. Also wire the new setting into TOML serialization/parsing, update defaults, and extend Playwright tests to verify header behavior. (Includes an update to the default favicon bytes.)
Update .gitignore to include playwright directory and specific file.
Detect YouTube links in post text and render static preview cards (thumbnail + link) server-side. Added parsing/validation helpers (youtube_preview_from_url, youtube_video_id_from_parts, etc.), rendering helpers (render_youtube_previews, render_youtube_preview_card) and a YoutubePreview struct, plus constants to limit previews per post. Updated post_card to include previews and added Uri import. Broadened Content-Security-Policy to allow thumbnails from https://i.ytimg.com and added CSS for preview styling. Included comprehensive unit tests for extraction, rendering, escaping and preview limits.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.