init commit
This commit is contained in:
11
config/locales/client.en.yml
Normal file
11
config/locales/client.en.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
en:
|
||||
url_to_article:
|
||||
bar_label: "URL detected — import as article?"
|
||||
fetch_button: "Import Article"
|
||||
retry_button: "Retry"
|
||||
fetching: "Fetching…"
|
||||
dismiss: "Dismiss"
|
||||
success: "Article imported!"
|
||||
error_generic: "Unknown error"
|
||||
error_prefix: "Error:"
|
||||
source_label: "Source"
|
||||
31
config/settings.yml
Normal file
31
config/settings.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
plugins:
|
||||
url_to_article_enabled:
|
||||
default: true
|
||||
client: true
|
||||
type: bool
|
||||
|
||||
url_to_article_auto_populate:
|
||||
default: false
|
||||
client: true
|
||||
type: bool
|
||||
description: "Automatically populate the body when a URL is detected in the title (no button click needed)"
|
||||
|
||||
url_to_article_max_content_length:
|
||||
default: 50000
|
||||
type: integer
|
||||
description: "Maximum number of characters to extract from a page"
|
||||
|
||||
url_to_article_fetch_timeout:
|
||||
default: 10
|
||||
type: integer
|
||||
description: "Seconds to wait when fetching a URL"
|
||||
|
||||
url_to_article_allowed_domains:
|
||||
default: ""
|
||||
type: string
|
||||
description: "Comma-separated list of allowed domains. Leave blank to allow all."
|
||||
|
||||
url_to_article_blocked_domains:
|
||||
default: "localhost,127.0.0.1,0.0.0.0,::1"
|
||||
type: string
|
||||
description: "Comma-separated list of blocked domains (SSRF protection)"
|
||||
Reference in New Issue
Block a user