Merge branch 'fix/disable-rate-limiter-for-socket-localhost' into 'develop'
authorrinpatch <rinpatch@sdf.org>
Thu, 30 Jan 2020 19:24:04 +0000 (19:24 +0000)
committerrinpatch <rinpatch@sdf.org>
Thu, 30 Jan 2020 19:24:04 +0000 (19:24 +0000)
Disable rate limiter for socket/localhost

Closes #1380

See merge request pleroma/pleroma!2064

1  2 
CHANGELOG.md

diff --combined CHANGELOG.md
index 39fecc1017c7dbcc04ce339993a55105ab125826,66f0b829e29c8a0762db4f4ebe52ca98f16eb63d..6d0b3cecdd151f2b2d00f939db2c8f0b17756032
@@@ -14,7 -14,6 +14,7 @@@ The format is based on [Keep a Changelo
  - **Breaking:** Pleroma won't start if it detects unapplied migrations
  - **Breaking:** attachments are removed along with statuses. Does not affect duplicate files and attachments without status.
  - **Breaking:** Elixir >=1.8 is now required (was >= 1.7)
 +- **Breaking:** `Pleroma.Plugs.RemoteIp` and `:rate_limiter` enabled by default. Please ensure your reverse proxy forwards the real IP!
  - **Breaking:** attachment links (`config :pleroma, :instance, no_attachment_links` and `config :pleroma, Pleroma.Upload, link_name`) disabled by default
  - **Breaking:** OAuth: defaulted `[:auth, :enforce_oauth_admin_scope_usage]` setting to `true` which demands `admin` OAuth scope to perform admin actions (in addition to `is_admin` flag on User); make sure to use bundled or newer versions of AdminFE & PleromaFE to access admin / moderator features.
  - **Breaking:** Dynamic configuration has been rearchitected. The `:pleroma, :instance, dynamic_configuration` setting has been replaced with `config :pleroma, configurable_from_database`. Please backup your configuration to a file and run the migration task to ensure consistency with the new schema.
@@@ -28,6 -27,7 +28,7 @@@
  - Deprecated `User.Info` embedded schema (fields moved to `User`)
  - Store status data inside Flag activity
  - Deprecated (reorganized as `UserRelationship` entity) User fields with user AP IDs (`blocks`, `mutes`, `muted_reblogs`, `muted_notifications`, `subscribers`).
+ - Rate limiter is now disabled for localhost/socket (unless remoteip plug is enabled)
  - Logger: default log level changed from `warn` to `info`.
  - Config mix task `migrate_to_db` truncates `config` table before migrating the config file.
  <details>
  - Mastodon API: Change emoji reaction reply format once more
  - Configuration: `feed.logo` option for tag feed.
  - Tag feed: `/tags/:tag.rss` - list public statuses by hashtag.
 +- Mastodon API: Add `reacted` property to `emoji_reactions`
  </details>
  
  ### Fixed