Commit graph

27 commits

Author SHA1 Message Date
Renaud Chaput
cb5ac15923
Use a helper to avoid using media/ asset prefixes () 2024-01-17 12:19:51 +00:00
Emelia Smith
603b245cc6
Add VAPID public key to instance serializer ()
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2023-11-29 08:34:36 +00:00
Claire
ca66e61b93
Add support for custom sign-up URLs () 2023-05-23 15:17:09 +02:00
Nick Schonning
e2a3ebb271
Autofix Rubocop Style/IfUnlessModifier () 2023-02-18 12:37:47 +01:00
Nick Schonning
26ac2447b4
Apply Rubocop Style/EmptyElse () 2023-02-08 07:08:39 +01:00
Eugen Rochko
8f590b0a21
Add setting for status page URL () 2023-02-04 04:56:06 +01:00
Eugen Rochko
09f04d710d
Change closed_registrations_message to message and add Markdown () 2022-10-27 19:17:48 +02:00
Claire
2277913f3f
Add closed registrations modal () 2022-10-26 19:35:55 +02:00
Claire
8046cf34d6
Change “Translate” button to only show up when a translation backend is configured ()
* Change “Translate” button to only show up when a translation backend is configured

Fixes 

* Add `translation` attribute to /api/v2/instance to expose whether the translation feature is enabled

Fixes 
2022-10-24 18:30:58 +02:00
Takeshi Umeda
b0e3f0312c
Add synchronization of remote featured tags ()
* Add LIMIT of featured tag to instance API response

* Add featured_tags_collection_url to Account

* Add synchronization of remote featured tags

* Deliver update activity when updating featured tag

* Remove featured_tags_collection_url

* Revert "Add featured_tags_collection_url to Account"

This reverts commit cff349fc27b104ded2df6bb5665132dc24dab09c.

* Add hashtag sync from featured collections

* Fix tag name normalize

* Add target option to fetch featured collection

* Refactor fetch_featured_tags_collection_service

* Add LIMIT of featured tag to v1/instance API response
2022-10-20 09:15:52 +02:00
Eugen Rochko
b04633a961
Add image processing and generate blurhash for server thumbnail ()
Remove separate server hero setting
2022-10-13 11:29:19 +02:00
Eugen Rochko
d2528b26b6
Add server banner to web app, add GET /api/v2/instance to REST API () 2022-10-05 03:47:56 +02:00
Eugen Rochko
44b2ee3485
Add customizable user roles ()
* Add customizable user roles

* Various fixes and improvements

* Add migration for old settings and fix tootctl role management
2022-07-05 02:41:40 +02:00
Eugen Rochko
45aa5781ce
Change brand color and logotypes ()
- Add rake task for generating Apple/Android icons and favicons from SVG
- Add rake task for generating PNG icons and logos for e-mails from SVG
- Remove obsolete Microsoft icons and configuration
- Remove PWA shortcut icons
2022-06-09 22:25:23 +02:00
Eugen Rochko
275fa4746b
Add configuration attribute to GET /api/v1/instance ()
List various values like file size limits and supported mime types
2021-07-10 17:58:41 +02:00
Eugen Rochko
8331fdf7e0
Add server rules () 2021-02-21 19:50:12 +01:00
ThibG
b40d68cc31
Add invites_enabled to API () 2020-04-28 09:43:34 +02:00
Eugen Rochko
d61d164685
Add short_description and approval_required to GET /api/v1/instance () 2019-06-22 12:08:16 +02:00
Yamagishi Kazutoshi
8347479f5d Bump webpacker from 3.5.5 to 4.0.2 ()
Bumps [webpacker](https://github.com/rails/webpacker) from 3.5.5 to 4.0.2.
- [Release notes](https://github.com/rails/webpacker/releases)
- [Changelog](https://github.com/rails/webpacker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/webpacker/compare/v3.5.5...v4.0.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
2019-03-15 15:05:31 +01:00
Eugen Rochko
51e154f5e8
Admission-based registrations mode ()
Fix 
Fix 
2019-03-14 05:28:30 +01:00
Eugen Rochko
a006d4afbe
Add registrations attribute to instance entity in REST API ()
Fix 
2019-02-16 05:23:47 +01:00
Akihiko Odaki
778b37790b Do not fetch environment variables to determine default locale ()
The default locale is now set by config.
2018-03-04 10:00:46 +01:00
Eugen Rochko
a3c4138197
Add contact_account and languages to instance API () 2018-03-01 20:48:11 +01:00
Yamagishi Kazutoshi
3c18964256 Fallback default thumbnail in instance status API () 2018-01-04 15:36:55 +01:00
Eugen Rochko
9239e4ce4d Uploads for admin site settings ()
* Improve OpenGraph tags for about pages

* Add thumbnail admin setting

* Fix error

* Fix up
2017-09-14 00:04:30 +02:00
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>
2017-08-08 22:18:12 +02:00
Eugen Rochko
8b2cad5637 Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl () 2017-07-07 04:02:06 +02:00