From: Roman Chvanikov Date: Tue, 4 Jun 2019 23:45:21 +0000 (+0300) Subject: Fix conflict X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=b1b1a270e8f17b76d08771ca1e4025b1d227da05;p=akkoma Fix conflict --- b1b1a270e8f17b76d08771ca1e4025b1d227da05 diff --cc CHANGELOG.md index fef10463a,2fa9bd1e7..da7623cae --- a/CHANGELOG.md +++ b/CHANGELOG.md @@@ -5,7 -5,7 +5,8 @@@ The format is based on [Keep a Changelo ## [unreleased] ### Added +- Digest email for inactive users + - Add a generic settings store for frontends / clients to use. - Optional SSH access mode. (Needs `erlang-ssh` package on some distributions). - [MongooseIM](https://github.com/esl/MongooseIM) http authentication support. - LDAP authentication diff --cc docs/config.md index fa3547f2a,f4a1868fd..c1d20e0cc --- a/docs/config.md +++ b/docs/config.md @@@ -497,20 -514,8 +514,20 @@@ Authentication / authorization settings * `auth_template`: authentication form template. By default it's `show.html` which corresponds to `lib/pleroma/web/templates/o_auth/o_auth/show.html.eex`. * `oauth_consumer_template`: OAuth consumer mode authentication form template. By default it's `consumer.html` which corresponds to `lib/pleroma/web/templates/o_auth/o_auth/consumer.html.eex`. - * `oauth_consumer_strategies`: the list of enabled OAuth consumer strategies; by default it's set by OAUTH_CONSUMER_STRATEGIES environment variable. + * `oauth_consumer_strategies`: the list of enabled OAuth consumer strategies; by default it's set by OAUTH_CONSUMER_STRATEGIES environment variable. Each entry in this space-delimited string should be of format `` or `:` (e.g. `twitter` or `keycloak:ueberauth_keycloak_strategy` in case dependency is named differently than `ueberauth_`). +## :email_notifications + +Email notifications settings. + + - digest - emails of "what you've missed" for users who have been + inactive for a while. + - active: globally enable or disable digest emails + - schedule: When to send digest email, in [crontab format](https://en.wikipedia.org/wiki/Cron). + "0 0 * * 0" is the default, meaning "once a week at midnight on Sunday morning" + - interval: Minimum interval between digest emails to one user + - inactivity_threshold: Minimum user inactivity threshold + ## OAuth consumer mode OAuth consumer mode allows sign in / sign up via external OAuth providers (e.g. Twitter, Facebook, Google, Microsoft, etc.). diff --cc lib/pleroma/user/info.ex index 36bae61a4,08e43ff0f..afdbe6033 --- a/lib/pleroma/user/info.ex +++ b/lib/pleroma/user/info.ex @@@ -42,10 -42,9 +42,11 @@@ defmodule Pleroma.User.Info d field(:hide_follows, :boolean, default: false) field(:hide_favorites, :boolean, default: true) field(:pinned_activities, {:array, :string}, default: []) + field(:flavour, :string, default: nil) + field(:email_notifications, :map, default: %{"digest" => false}) field(:mascot, :map, default: nil) field(:emoji, {:array, :map}, default: []) + field(:pleroma_settings_store, :map, default: %{}) field(:notification_settings, :map, default: %{