Add active user count
authorEgor Kislitsyn <egor@kislitsyn.com>
Fri, 22 Jan 2021 20:37:49 +0000 (00:37 +0400)
committerEgor Kislitsyn <egor@kislitsyn.com>
Wed, 27 Jan 2021 14:20:06 +0000 (18:20 +0400)
commit793fc77b160ae2bcaded23d22d7606c2ab499f0a
treedeb2dc4d1e1f4abd0148d0bf6b714865a2ffcdcc
parent7f0787163999fc0ac0c6fcfd0c13f80c5a55266d
Add active user count
lib/pleroma/user.ex
lib/pleroma/web/mastodon_api/views/instance_view.ex
lib/pleroma/web/plugs/user_tracking_plug.ex [new file with mode: 0644]
lib/pleroma/web/router.ex
priv/repo/migrations/20210122151424_add_last_active_at_to_users.exs [new file with mode: 0644]
test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
test/pleroma/web/pleroma_api/controllers/conversation_controller_test.exs