mirror of
https://ghfast.top/https://github.com/discourse/discourse-signatures.git
synced 2026-07-15 11:26:42 +08:00
* FEATURE: Add group, category, and display restrictions for signatures Adds five new site settings to control signature behavior: - signatures_allowed_groups: restrict signatures to specific groups (server-side enforced in both serializers and user update hook) - signatures_show_in_categories: limit signature display to specific categories - signatures_first_post_only: only show signatures on the OP - signatures_max_length: cap advanced mode signature length - signatures_max_image_height: constrain signature image height Also hardens URL validation (HTTP/HTTPS only) and reduces signature_url max_length from 32KB to 2048. All defaults are backward-compatible (empty/false = no change).
10 lines
846 B
YAML
10 lines
846 B
YAML
en:
|
|
site_settings:
|
|
signatures_enabled: "Enable user-made signatures below posts?"
|
|
signatures_advanced_mode: "Let users use a full blown post editor to create signatures. RESETS all existing signatures."
|
|
signatures_visible_by_default: "Make signatures visible by default. This makes signatures visible for anonymous visitors as well."
|
|
signatures_allowed_groups: "Only allow users in these groups to have signatures. Leave empty to allow all users."
|
|
signatures_show_in_categories: "Only show signatures in these categories. Leave empty to show in all categories."
|
|
signatures_first_post_only: "Only show signatures on the first post in a topic."
|
|
signatures_max_length: "Maximum number of characters allowed in advanced mode signatures."
|
|
signatures_max_image_height: "Maximum height in pixels for signature images."
|