Merge branch 'account-notes' into 'develop'
authorAlex Gleason <alex@alexgleason.me>
Sat, 25 Dec 2021 01:41:12 +0000 (01:41 +0000)
committerAlex Gleason <alex@alexgleason.me>
Sat, 25 Dec 2021 01:41:12 +0000 (01:41 +0000)
MastoAPI: Add user notes on accounts

See merge request pleroma/pleroma!3540

1  2 
docs/development/API/pleroma_api.md
lib/pleroma/web/api_spec/operations/account_operation.ex
lib/pleroma/web/api_spec/schemas/account.ex
lib/pleroma/web/api_spec/schemas/account_relationship.ex
lib/pleroma/web/api_spec/schemas/status.ex
lib/pleroma/web/mastodon_api/views/account_view.ex
lib/pleroma/web/router.ex
test/pleroma/web/mastodon_api/controllers/account_controller_test.exs
test/pleroma/web/mastodon_api/views/account_view_test.exs

Simple merge
index ad1a855441374cd5587757c93dd85372faf40d8b,e0bd2728b8731864696aca6cec008a2cea885468..548e7054412f32a3874ef7bce139828bed0593ee
@@@ -194,10 -194,10 +194,11 @@@ defmodule Pleroma.Web.ApiSpec.Schemas.A
            "id" => "9tKi3esbG7OQgZ2920",
            "muting" => false,
            "muting_notifications" => false,
+           "note" => "",
            "requested" => false,
            "showing_reblogs" => true,
 -          "subscribing" => false
 +          "subscribing" => false,
 +          "notifying" => false
          },
          "settings_store" => %{
            "pleroma-fe" => %{}
index b4f6d25b091de440d132e7d5548f2c8769574a68,163066032a9154d690b977dfe84ce06cfac48433..5d9e3b56e3310f2893fb784cc2921d9c4aacfdce
@@@ -22,10 -22,10 +22,11 @@@ defmodule Pleroma.Web.ApiSpec.Schemas.A
        id: FlakeID,
        muting: %Schema{type: :boolean},
        muting_notifications: %Schema{type: :boolean},
+       note: %Schema{type: :string},
        requested: %Schema{type: :boolean},
        showing_reblogs: %Schema{type: :boolean},
 -      subscribing: %Schema{type: :boolean}
 +      subscribing: %Schema{type: :boolean},
 +      notifying: %Schema{type: :boolean}
      },
      example: %{
        "blocked_by" => false,
        "id" => "9tKi3esbG7OQgZ2920",
        "muting" => false,
        "muting_notifications" => false,
+       "note" => "",
        "requested" => false,
        "showing_reblogs" => true,
 -      "subscribing" => false
 +      "subscribing" => false,
 +      "notifying" => false
      }
    })
  end
index 0bf3312d1c9f6b663c0c5738e5e63bfa84eeb415,60801f3227e1f103b1441b61d8d695b115eb5bac..3caab0f00dd7f723144e73d89d092569b30a115b
@@@ -282,10 -282,10 +282,11 @@@ defmodule Pleroma.Web.ApiSpec.Schemas.S
              "id" => "9toJCsKN7SmSf3aj5c",
              "muting" => false,
              "muting_notifications" => false,
+             "note" => "",
              "requested" => false,
              "showing_reblogs" => true,
 -            "subscribing" => false
 +            "subscribing" => false,
 +            "notifying" => false
            },
            "skip_thread_containment" => false,
            "tags" => []
Simple merge