diff options
author | rinpatch <rinpatch@sdf.org> | 2020-01-30 22:16:55 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-01-30 22:16:55 +0300 |
commit | 5b62acf6e9a38f8d14a9fb37cc85e646fb0169e3 (patch) | |
tree | 6677ba80418ffd34a78cba75498f2c1ab48ba14c /docs/configuration/howto_user_recomendation.md | |
parent | 45180d4c6058f790475d8ff28018c912db105082 (diff) | |
parent | 946de2299cccebac6718e3a132397ff5c06c67ee (diff) | |
download | pleroma-5b62acf6e9a38f8d14a9fb37cc85e646fb0169e3.tar.gz |
Merge branch 'develop' into fix/disable-rate-limiter-for-socket-localhost
Diffstat (limited to 'docs/configuration/howto_user_recomendation.md')
-rw-r--r-- | docs/configuration/howto_user_recomendation.md | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/docs/configuration/howto_user_recomendation.md b/docs/configuration/howto_user_recomendation.md deleted file mode 100644 index c4d749d0c..000000000 --- a/docs/configuration/howto_user_recomendation.md +++ /dev/null @@ -1,31 +0,0 @@ -# How to activate user recommendation (Who to follow panel) - - -To show the *who to follow* panel, edit `config/prod.secret.exs` in the Pleroma backend. Following code activates the *who to follow* panel: - -```elixir -config :pleroma, :suggestions, - enabled: true, - third_party_engine: - "http://vinayaka.distsn.org/cgi-bin/vinayaka-user-match-suggestions-api.cgi?{{host}}+{{user}}", - timeout: 300_000, - limit: 40, - web: "https://vinayaka.distsn.org" - -``` - -`config/config.exs` already includes this code, but `enabled:` is `false`. - -`/api/v1/suggestions` is also provided when *who to follow* panel is enabled. - -For advanced customization, following code shows the newcomers of the fediverse at the *who to follow* panel: - -```elixir -config :pleroma, :suggestions, - enabled: true, - third_party_engine: - "http://vinayaka.distsn.org/cgi-bin/vinayaka-user-new-suggestions-api.cgi?{{host}}+{{user}}", - timeout: 60_000, - limit: 40, - web: "https://vinayaka.distsn.org/user-new.html" -``` |