Browse Source

Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue

object-id-column
Ivan Tashkinov 4 years ago
parent
commit
c34126f89c
4 changed files with 12 additions and 4 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +2
    -2
      config/config.exs
  3. +2
    -2
      docs/config.md
  4. +7
    -0
      priv/repo/migrations/20190823000549_add_likes_index_to_objects.exs

+ 1
- 0
CHANGELOG.md View File

@@ -25,6 +25,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Fixed
- Not being able to pin unlisted posts
- Objects being re-embedded to activities after being updated (e.g faved/reposted). Running 'mix pleroma.database prune_objects' again is advised.
- Favorites timeline doing database-intensive queries
- Metadata rendering errors resulting in the entire page being inaccessible
- `federation_incoming_replies_max_depth` option being ignored in certain cases
- Federation/MediaProxy not working with instances that have wrong certificate order


+ 2
- 2
config/config.exs View File

@@ -275,8 +275,8 @@ config :pleroma, :instance,
user_name_length: 100,
max_account_fields: 10,
max_remote_account_fields: 20,
account_field_name_length: 255,
account_field_value_length: 255,
account_field_name_length: 512,
account_field_value_length: 512,
external_user_synchronization: true

config :pleroma, :markup,


+ 2
- 2
docs/config.md View File

@@ -134,8 +134,8 @@ config :pleroma, Pleroma.Emails.Mailer,
* `dynamic_configuration`: Allow transferring configuration to DB with the subsequent customization from Admin api.
* `max_account_fields`: The maximum number of custom fields in the user profile (default: `10`)
* `max_remote_account_fields`: The maximum number of custom fields in the remote user profile (default: `20`)
* `account_field_name_length`: An account field name maximum length (default: `255`)
* `account_field_value_length`: An account field value maximum length (default: `255`)
* `account_field_name_length`: An account field name maximum length (default: `512`)
* `account_field_value_length`: An account field value maximum length (default: `512`)
* `external_user_synchronization`: Enabling following/followers counters synchronization for external users.




+ 7
- 0
priv/repo/migrations/20190823000549_add_likes_index_to_objects.exs View File

@@ -0,0 +1,7 @@
defmodule Pleroma.Repo.Migrations.AddLikesIndexToObjects do
use Ecto.Migration

def change do
create_if_not_exists index(:objects, ["(data->'likes')"], using: :gin, name: :objects_likes)
end
end

Loading…
Cancel
Save