Commit Graph

342 Commits (15fdd94e2f3d1f5c1724971854ba201d47650255)

Author SHA1 Message Date
Christian Schmidt 5a8c651e8f
Only offer translation for supported languages ()
Christian Schmidt 8000a8f230
Add `lang` attribute to preview card ()
Nick Schonning af4c95100c
Autofix Rubocop Style/FormatString ()
Nick Schonning 38a1d8bb85
Autofix Rubocop RSpec/ImplicitSubject ()
Nick Schonning e2a3ebb271
Autofix Rubocop Style/IfUnlessModifier ()
Nick Schonning e2567df860
Enable Lint/RedundantCopDisableDirective ()
Claire 66f715550e
Add `memorial` attribute to REST API ()
Nick Schonning 26ac2447b4
Apply Rubocop Style/EmptyElse ()
Jeong Arm 523a86618f
Fix account serializer crash if account doesn't have a user ()
Eugen Rochko 8f590b0a21
Add setting for status page URL ()
Eugen Rochko d3f3810fe1
Fix unserialized `role` on account entities in admin API ()
Claire 13a2abacc8
Add `roles` attribute to Account entities in REST API ()
Claire 448be26b34
Add missing `policy` attribute to `WebPushSubscriptionSerializer` ()
* Add missing `policy` attribute to `WebPushSubscriptionSerializer`

Fixes 

* Add tests
Claire 3970a6f433
Add option to make the landing page be /about even when trends are enabled ()
* Add option to make the landing page be /about even when trends are enabled

* Restablish /explore as landing page by default
Claire 0405be69d2
Fix REST API serializer for Account not including `moved` when the moved account has itself moved ()
Instead of cutting immediately, cut after one recursion.
Jed Fox 0e7549b82d
Add `reading:autoplay:gifs` to /api/v1/preferences ()
Claire 70415714f1
Add follow request banner on account header ()
* Add requested_by to relationship maps

* Display whether an account has requested to follow you on their profile
Matthías Páll Gissurarson 1e95fa3df5
Fix punycoded local domains not being prettified in initial state ()
Chris Johnson 413481f953
Add maskable icon support for Android ()
* Add maskable icon support for Android

* Update manifest_serializer.rb

* Fix linting issue
Claire c476dfc725
Fix nodeinfo metadata attribute being an array instead of an object ()
Fixes 
trwnh c374729225
Add `sensitized` to Admin::Account serializer (fix ) ()
* Add `sensitized` to Admin::Account serializer (fix )

* remove whitespace, please linter
trwnh 455a754081
Fix missing cast of status and rule IDs to string (fix ) ()
Eugen Rochko d54e7ee61e
Fix n+1 queries when rendering initial state JSON ()
Claire 312d616371
Change sign-in banner to reflect disabled or moved account status ()
Eugen Rochko 09f04d710d
Change `closed_registrations_message` to `message` and add Markdown ()
Claire 2277913f3f
Add closed registrations modal ()
Claire 30453fab80
Add mention of the translation provider when translating a post ()
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 
Eugen Rochko 1fd6460b02
Change floating action button to be a button in header in web UI ()
- Fix theme color
- Fix elephant being too big on error page on small screens
- Remove "Follows and Followers" link from navigation panel
Eugen Rochko c2c14331b2
Fix PWA manifest using `/web` paths ()
Takeshi Umeda 74ead7d106
Change featured tag updates to add/remove activity ()
* Change featured tag updates to add/remove activity

* Fix to check for the existence of feature tag

* Rename service and worker

* Merge AddHashtagSerializer with AddSerializer

* Undo removal of sidekiq_options
Eugen Rochko 7c152acb2c
Change settings area to be separated into categories in admin UI ()
And update all descriptions
Eugen Rochko 839f893168
Change public accounts pages to mount the web UI ()
* Change public accounts pages to mount the web UI

* Fix handling of remote usernames in routes

- When logged in, serve web app
- When logged out, redirect to permalink
- Fix `app-body` class not being set sometimes due to name conflict

* Fix missing `multiColumn` prop

* Fix failing test

* Use `discoverable` attribute to control indexing directives

* Fix `<ColumnLoading />` not using `multiColumn`

* Add `noindex` to accounts in REST API

* Change noindex directive to not be rendered by default before a route is mounted

* Add loading indicator for detailed status in web UI

* Fix missing indicator appearing while account is loading in web UI
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 cff349fc27.

* 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
Eugen Rochko aefa9253d6
Change featured hashtags to be displayed in navigation panel ()
Eugen Rochko 1bd00036c2
Change about page to be mounted in the web UI ()
Eugen Rochko b04633a961
Add image processing and generate blurhash for server thumbnail ()
Remove separate server hero setting
Yamagishi Kazutoshi 7afc6a630c
Redirect non-logged-in user to owner statuses on single user mode ()
Yamagishi Kazutoshi e82467ca41
Remove timeline preview link from nav panel when not signed-in ()
* Remove timeline preview link from nav panel when not signed-in

* Always enable server stats
Eugen Rochko a2ba011326
Change privacy policy to be rendered in web UI, add REST API ()
Source string no longer localized, Markdown instead of raw HTML
Eugen Rochko d2528b26b6
Add server banner to web app, add `GET /api/v2/instance` to REST API ()
Eugen Rochko e623c302d5
Add sign-up button to logged-out web UI ()
Eugen Rochko 43b5d5e38d
Add logged-out access to the web UI ()
Eugen Rochko 0d6b878808
Add user content translations with configurable backends ()
Claire 8cf7006d4e
Refactor ActivityPub handling to prepare for non-Account actors ()
* Move ActivityPub::FetchRemoteAccountService to ActivityPub::FetchRemoteActorService

ActivityPub::FetchRemoteAccountService is kept as a wrapper for when the actor is
specifically required to be an Account

* Refactor SignatureVerification to allow non-Account actors

* fixup! Move ActivityPub::FetchRemoteAccountService to ActivityPub::FetchRemoteActorService

* Refactor ActivityPub::FetchRemoteKeyService to potentially return non-Account actors

* Refactor inbound ActivityPub payload processing to accept non-Account actors

* Refactor inbound ActivityPub processing to accept activities relayed through non-Account

* Refactor how Account key URIs are built

* Refactor Request and drop unused key_id_format parameter

* Rename ActivityPub::Dereferencer `signature_account` to `signature_actor`
Eugen Rochko 50948b46aa
Add ability to filter followed accounts' posts by language ()
trwnh 526b4b3677
Fix breaking change in admin account API ()
* Fix breaking change in admin account API

Ensure that `ip` is a String value and not returning a raw database entry

* please rubocop
Eugen Rochko 2a7766dcc9
Add admin API for managing e-mail domain blocks ()
Eugen Rochko c556c3a0d1
Add admin API for managing canonical e-mail blocks ()
Eugen Rochko b399d79545
Add admin API for managing IP blocks ()