diff options
author | Lain Soykaf <lain@lain.com> | 2023-06-11 16:20:30 +0400 |
---|---|---|
committer | Lain Soykaf <lain@lain.com> | 2023-06-11 16:20:30 +0400 |
commit | 175ee9e6fec2f9262e4f9e31ce300bd77149b3a7 (patch) | |
tree | 974aa947a3bedb9dc76c0e400eab1b7d94502a0a /docs/configuration | |
parent | d91a823836f416dc0bdf0fe8527695d372dcb347 (diff) | |
parent | 16313af7eb1c3b92210e0c0762e74c051bdde5f2 (diff) | |
download | pleroma-175ee9e6fec2f9262e4f9e31ce300bd77149b3a7.tar.gz pleroma-175ee9e6fec2f9262e4f9e31ce300bd77149b3a7.zip |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into unused_indexes
Diffstat (limited to 'docs/configuration')
-rw-r--r-- | docs/configuration/cheatsheet.md | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/docs/configuration/cheatsheet.md b/docs/configuration/cheatsheet.md index bbdf30a0f..1e49a79d0 100644 --- a/docs/configuration/cheatsheet.md +++ b/docs/configuration/cheatsheet.md @@ -671,6 +671,12 @@ This filter reads the ImageDescription and iptc:Caption-Abstract fields with Exi No specific configuration. +#### Pleroma.Upload.Filter.OnlyMedia + +This filter rejects uploads that are not identified with Content-Type matching audio/\*, image/\*, or video/\* + +No specific configuration. + #### Pleroma.Upload.Filter.Mogrify * `args`: List of actions for the `mogrify` command like `"strip"` or `["strip", "auto-orient", {"implode", "1"}]`. @@ -873,21 +879,8 @@ This will probably take a long time. ### BBS / SSH access -To enable simple command line interface accessible over ssh, add a setting like this to your configuration file: - -```exs -app_dir = File.cwd! -priv_dir = Path.join([app_dir, "priv/ssh_keys"]) - -config :esshd, - enabled: true, - priv_dir: priv_dir, - handler: "Pleroma.BBS.Handler", - port: 10_022, - password_authenticator: "Pleroma.BBS.Authenticator" -``` - -Feel free to adjust the priv_dir and port number. Then you will have to create the key for the keys (in the example `priv/ssh_keys`) and create the host keys with `ssh-keygen -m PEM -N "" -b 2048 -t rsa -f ssh_host_rsa_key`. After restarting, you should be able to connect to your Pleroma instance with `ssh username@server -p $PORT` +This feature has been removed from Pleroma core. +However, a client has been made and is available at https://git.pleroma.social/Duponin/sshocial. ### :gopher * `enabled`: Enables the gopher interface |