Commit Graph

6 Commits (a78b27c7cce9529e49e1572ac77b6081b60003b2)

Author SHA1 Message Date
Akihiko Odaki 778b37790b Do not fetch environment variables to determine default locale ()
The default locale is now set by config.
Eugen Rochko a3c4138197
Add contact_account and languages to instance API ()
Yamagishi Kazutoshi 3c18964256 Fallback default thumbnail in instance status API ()
Eugen Rochko 9239e4ce4d Uploads for admin site settings ()
* Improve OpenGraph tags for about pages

* Add thumbnail admin setting

* Fix error

* Fix up
Gergely Nagy 2ebe4ff568 api/instances: Include the stats from the /about/more page ()
To be able to pull some basic statistics from a Mastodon instance, include the
user, status and connected domain counters in the `/api/v1/instance` response.

Fixes .

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Eugen Rochko 8b2cad5637 Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl ()