Some more settings moved to the admin frontend

This commit is contained in:
Michael 2023-12-03 13:43:48 +00:00
parent c09d794ed8
commit e99c916df1
5 changed files with 38 additions and 18 deletions

View file

@ -105,10 +105,6 @@ return [
// Addresses non-mentioned ActivityPub receivers by BCC instead of CC. Increases privacy, decreases performance.
'ap_always_bcc' => false,
// archival_days (Integer)
// Number of days that we try to deliver content before we archive a contact.
'archival_days' => 32,
// auth_cookie_lifetime (Integer)
// Number of days that should pass without any activity before a user who
// chose "Remember me" when logging in is considered logged out.
@ -144,10 +140,6 @@ return [
// Deny public access to the local user directory.
'block_local_dir' => false,
// blocked_tags (String)
// Comma separated list of hashtags that shouldn't be displayed in the trending tags
'blocked_tags' => '',
// community_no_sharer (Boolean)
// Don't display sharing accounts on the global community
'community_no_sharer' => false,
@ -499,10 +491,6 @@ return [
// Sets the ImageMagick compression level for PNG images. Values range from 0 (uncompressed) to 9 (most compressed).
'png_quality' => 8,
// process_view (Boolean)
// Process the "View" activity that is used by Peertube.
'process_view' => false,
// profiler (Boolean)
// Enable internal timings to help optimize code. Needed for "rendertime" addon.
'profiler' => false,
@ -667,10 +655,6 @@ return [
// Does not work when "worker_fork" is enabled (Needs more testing)
'worker_multiple_fetch' => false,
// worker_defer_limit (Integer)
// Per default the systems tries delivering for 15 times before dropping it.
'worker_defer_limit' => 15,
// xrd_timeout (Integer)
// Timeout in seconds for fetching the XRD links and other requests with an expected shorter timeout
'xrd_timeout' => 20,

View file

@ -64,10 +64,18 @@ return [
// Themes users can change to in their settings.
'allowed_themes' => 'frio,vier',
// archival_days (Integer)
// Number of days that we try to deliver content before we archive a contact.
'archival_days' => 32,
// banner (HTML string)
// HTML snippet of the top navigation banner. Not supported by frio.
'banner' => '<a href="https://friendi.ca"><img id="logo-img" width="32" height="32" src="images/friendica.svg" alt="logo" /></a><span id="logo-text"><a href="https://friendi.ca">Friendica</a></span>',
// blocked_tags (String)
// Comma separated list of hashtags that shouldn't be displayed in the trending tags
'blocked_tags' => '',
// cache_contact_avatar (Boolean)
// Cache versions of the contact avatars. Uses a lot of storage space
'cache_contact_avatar' => true,
@ -188,6 +196,10 @@ return [
// Periodically (once an hour) run an "optimize table" command for cache tables
'optimize_tables' => false,
// process_view (Boolean)
// Process the "View" activity that is used by Peertube.
'process_view' => false,
// register_notification (Boolean)
// Send a notification mail to the admin for each new registration.
'register_notification' => true,
@ -253,6 +265,10 @@ return [
// Number of days after which a server is requeried for their contacts and servers it knows of.
'poco_requery_days' => 30,
// worker_defer_limit (Integer)
// Per default the systems tries delivering for 15 times before dropping it.
'worker_defer_limit' => 15,
// worker_load_cooldown (Integer)
// Maximum load that causes a cooldown before each worker function call.
'worker_load_cooldown' => 0,