diff options
author | rinpatch <rinpatch@sdf.org> | 2019-06-30 07:28:35 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-06-30 07:28:35 +0000 |
commit | e5df6487c8a8c1df45d4ff324ed04783d851dd5d (patch) | |
tree | fb4946436adecf13ebe6d09b89359f1733796850 /docs | |
parent | 4a1c36e18f8c6c22e63a5ad996276cd2a2aeef81 (diff) | |
parent | acd20f166b696254c6a632101d693d03416ad68d (diff) | |
download | pleroma-e5df6487c8a8c1df45d4ff324ed04783d851dd5d.tar.gz |
Merge branch 'issues/1026' into 'develop'
[#1026] Filter.AnonymizeFilename added ability to retain file extension with custom text
Closes #1026
See merge request pleroma/pleroma!1363
Diffstat (limited to 'docs')
-rw-r--r-- | docs/config.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/config.md b/docs/config.md index feef43ba9..8afccb228 100644 --- a/docs/config.md +++ b/docs/config.md @@ -36,7 +36,7 @@ No specific configuration. This filter replaces the filename (not the path) of an upload. For complete obfuscation, add `Pleroma.Upload.Filter.Dedupe` before AnonymizeFilename. -* `text`: Text to replace filenames in links. If empty, `{random}.extension` will be used. +* `text`: Text to replace filenames in links. If empty, `{random}.extension` will be used. You can get the original filename extension by using `{extension}`, for example `custom-file-name.{extension}`. ## Pleroma.Emails.Mailer * `adapter`: one of the mail adapters listed in [Swoosh readme](https://github.com/swoosh/swoosh#adapters), or `Swoosh.Adapters.Local` for in-memory mailbox. |