<commit_before>[b]Advanced Configurations for Administrators[/b]

$Projectname contains many configuration options hidden from the main admin panel.

These are generally options considered too niche, confusing, or advanced for 
the average member.  These settings can be activated from the the top level Red 
directory with the syntax [code]util/config cat key value[/code] for a site
configuration, or [code]util/pconfig channel_id cat key value[/code] for a 
member configuration.

This document assumes you're an administrator.

[b]pconfig[/b]
    [b]system > user_scalable[/b]
        Determine if the app is scalable on touch screens.  Defaults to on, to 
        disable, set to zero - real zero, not just false.
    [b]system > always_my_theme[/b]
        Always use your own theme when viewing channels on the same hub.  This
        will break in some quite imaginative ways when viewing channels with 
        theme dependent Comanche.
    [b]system > paranoia[/b]
        Sets the security level of IP checking. If the IP address of a logged-in session changes
		apply this level to determine if the account should be logged out as a security breach.
            Options are: 
                    0 - no IP checking 
                    1 - check 3 octets
                    2 - check 2 octets
                    3 - check for any difference at all
    [b]system > prevent_tag_hijacking[/b]
        Prevent foreign networks hijacking hashtags in your posts and directing them at its own resources.
    [b]system > blocked[/b]
        An array of xchans blocked by this channel.  Technically, this is a
        hidden config and does belong here, however, addons (notably 
        superblock) have made this available in the UI.
    [b]system > default_cipher[/b]
        Set the default cipher used for E2EE items.
    [b]system > network_page_default[/b]
        Set default params when viewing the network page.  This should contain
        the same querystring as manual filtering.
    [b]system > display_friend_count[/b]
        Set the number of connections to display in the connections profile 
        widget.
    [b]system > taganyone[/b]
        Requires the config of the same name to be enabled.  Allow the @mention tagging
        of anyone, whether you are connected or not.  This doesn't scale.
    [b]system > startpage[/b]
        Another of those technically hidden configs made available by addons.
        Sets the default page to view when logging in.  This is exposed to the
        UI by the startpage addon.
    [b]system > forcepublicuploads[/b]
        Force uploaded photos to be public when uploaded as wall items.  It
        makes far more sense to just set your permissions properly in the first
        place.  Do that instead.
    [b]system > do_not_track[/b]
        As the browser header.  This will break many identity based features.  
        You should really just set permissions that make sense.

[b]Site config[/b]
    [b]system > taganyone[/b]
        Allow the @mention tagging of anyone whether you are connected or not.
    [b]system > directorytags[/b]
        Set the number of keyword tags displayed on the directory page.
    [b]system > startpage[/b]
        Set the default page to be taken to after a login for all channels at
        this website.  Can be overwritten by user settings.
    [b]system > projecthome[/b]
        Set the project homepage as the homepage of your hub.
    [b]system > workflowchannelnext[/b]
        The page to direct users to immediately after creating a channel.
    [b]system > max_daily_registrations[/b]
        Set the maximum number of new registrations allowed on any day.
        Useful to prevent oversubscription after a bout of publicity
        for the project.
    [b]system > tos_url[/b]
        Set an alternative link for the ToS location.
    [b]system > block_public_search[/b]
        Similar to block_public, except only blocks public access to 
        search features.  Useful for sites that want to be public, but
        keep getting hammered by search engines.
    [b]system > paranoia[/b]
        As the pconfig, but on a site-wide basis.  Can be overwritten
        by member settings.
    [b]system > openssl_conf_file[/b]
        Specify a file containing OpenSSL configuration.  Read the code first.
        If you can't read the code, don't play with it.
    [b]system > optimize_items[/b]
        Runs optimise_table during some tasks to keep your database nice and 
        defragmented.  This comes at a performance cost while the operations
        are running, but also keeps things a bit faster while it's not.  
        There also exist CLI utilities for performing this operation, which you
        may prefer, especially if you're a large site.
	[b]system > expire_limit
		Don't expire any more than this number of posts per channel per
		expiration run to keep from exhausting memory. Default 5000.
    [b]system > dlogfile[/b]<commit_msg>Missing underscores in doc<commit_after>[b]Advanced Configurations for Administrators[/b]

$Projectname contains many configuration options hidden from the main admin panel.

These are generally options considered too niche, confusing, or advanced for 
the average member.  These settings can be activated from the the top level Red 
directory with the syntax [code]util/config cat key value[/code] for a site
configuration, or [code]util/pconfig channel_id cat key value[/code] for a 
member configuration.

This document assumes you're an administrator.

[b]pconfig[/b]
    [b]system > user_scalable[/b]
        Determine if the app is scalable on touch screens.  Defaults to on, to 
        disable, set to zero - real zero, not just false.
    [b]system > always_my_theme[/b]
        Always use your own theme when viewing channels on the same hub.  This
        will break in some quite imaginative ways when viewing channels with 
        theme dependent Comanche.
    [b]system > paranoia[/b]
        Sets the security level of IP checking. If the IP address of a logged-in session changes
		apply this level to determine if the account should be logged out as a security breach.
            Options are: 
                    0 - no IP checking 
                    1 - check 3 octets
                    2 - check 2 octets
                    3 - check for any difference at all
    [b]system > prevent_tag_hijacking[/b]
        Prevent foreign networks hijacking hashtags in your posts and directing them at its own resources.
    [b]system > blocked[/b]
        An array of xchans blocked by this channel.  Technically, this is a
        hidden config and does belong here, however, addons (notably 
        superblock) have made this available in the UI.
    [b]system > default_cipher[/b]
        Set the default cipher used for E2EE items.
    [b]system > network_page_default[/b]
        Set default params when viewing the network page.  This should contain
        the same querystring as manual filtering.
    [b]system > display_friend_count[/b]
        Set the number of connections to display in the connections profile 
        widget.
    [b]system > taganyone[/b]
        Requires the config of the same name to be enabled.  Allow the @mention tagging
        of anyone, whether you are connected or not.  This doesn't scale.
    [b]system > startpage[/b]
        Another of those technically hidden configs made available by addons.
        Sets the default page to view when logging in.  This is exposed to the
        UI by the startpage addon.
    [b]system > forcepublicuploads[/b]
        Force uploaded photos to be public when uploaded as wall items.  It
        makes far more sense to just set your permissions properly in the first
        place.  Do that instead.
    [b]system > do_not_track[/b]
        As the browser header.  This will break many identity based features.  
        You should really just set permissions that make sense.

[b]Site config[/b]
    [b]system > taganyone[/b]
        Allow the @mention tagging of anyone whether you are connected or not.
    [b]system > directorytags[/b]
        Set the number of keyword tags displayed on the directory page.
    [b]system > startpage[/b]
        Set the default page to be taken to after a login for all channels at
        this website.  Can be overwritten by user settings.
    [b]system > projecthome[/b]
        Set the project homepage as the homepage of your hub.
    [b]system > workflow_channel_next[/b]
        The page to direct users to immediately after creating a channel.
    [b]system > max_daily_registrations[/b]
        Set the maximum number of new registrations allowed on any day.
        Useful to prevent oversubscription after a bout of publicity
        for the project.
    [b]system > tos_url[/b]
        Set an alternative link for the ToS location.
    [b]system > block_public_search[/b]
        Similar to block_public, except only blocks public access to 
        search features.  Useful for sites that want to be public, but
        keep getting hammered by search engines.
    [b]system > paranoia[/b]
        As the pconfig, but on a site-wide basis.  Can be overwritten
        by member settings.
    [b]system > openssl_conf_file[/b]
        Specify a file containing OpenSSL configuration.  Read the code first.
        If you can't read the code, don't play with it.
    [b]system > optimize_items[/b]
        Runs optimise_table during some tasks to keep your database nice and 
        defragmented.  This comes at a performance cost while the operations
        are running, but also keeps things a bit faster while it's not.  
        There also exist CLI utilities for performing this operation, which you
        may prefer, especially if you're a large site.
	[b]system > expire_limit
		Don't expire any more than this number of posts per channel per
		expiration run to keep from exhausting memory. Default 5000.
    [b]system > dlogfile[/b]
{'fraction_non_alphanumeric': 0.052953565339484504, 'fraction_numerical': 0.0022063985558118545, 'mean_word_length': 2.655425219941349, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 53, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3909482', 'n_tokens_mistral': 2689, 'n_tokens_neox': 2513, 'n_words': 1278}