Commit graph

9608 commits

Author SHA1 Message Date
David Roetzel
fb9e11faa2
Put FASP support behind a feature flag 2025-03-06 14:09:33 +01:00
David Roetzel
19198c009f
Add capability toggle callbacks
Notifies the remote FASP of changes wrt enabled capabilities.

Also includes some small fixes.
2025-03-06 14:08:38 +01:00
David Roetzel
e70c8261f2
Implement backfill requests 2025-03-06 14:08:38 +01:00
David Roetzel
1dda12201d
Only share public statuses.
Only actually public, i.e. not "unlisted". One exception: Share
an update if the update changed the visibility from "public" to
something else. The fasp can act on this information then.
2025-03-06 14:08:38 +01:00
David Roetzel
e7127d092f
Fix typo 2025-03-06 14:08:38 +01:00
David Roetzel
63c8f05548
Improve iconography 2025-03-06 14:08:38 +01:00
David Roetzel
9ae8051019
Select what to share with fasp
Only share statuses where the account has `#indexable` set
to `true`.

Only share accounts where `#discoverable` is set to `true`, with
one exception: If `#discoverable` has just been set to `false`
this is an important information for the fasp.
2025-03-06 14:08:38 +01:00
David Roetzel
ac684a2f18
Add account and trend data sharing 2025-03-06 14:08:38 +01:00
David Roetzel
f8e981f3f5
Handle full content lifecycle for subscribed fasps 2025-03-06 14:08:38 +01:00
David Roetzel
a91fb33315
Humble beginnings of fasp data sharing.
Subscriptions can be made and new statuses will be announced to
subscribed fasp.
2025-03-06 14:08:38 +01:00
David Roetzel
530b88198d
First tiny steps towards FASP integration
This is lacking tests (and proper icons), but can talk
to a debug provider.
2025-03-06 14:08:38 +01:00
Claire
db269a4c0a
Change hashtag suggestion to prefer personal history capitalization (#34070) 2025-03-06 10:00:33 +00:00
Damien Erambert
debe6c0545
Add emoji from Twemoji 15.0 to the emoji picker/completion (#33395) 2025-03-05 17:05:15 +00:00
Claire
b57687083f
Move app/javascript/hooks to app/javascript/mastodon/hooks (#34077) 2025-03-05 16:55:53 +00:00
Claire
00dbefdbbf
Change web client settings to be saved earlier and more often (#34074) 2025-03-05 15:42:33 +00:00
Eugen Rochko
cadda2f957
Add effective date to terms of service (#33993) 2025-03-05 09:01:33 +00:00
Claire
84164270c6
Add about, privacy_policy and terms_of_service URLS to /api/v2/instance (#33849) 2025-03-05 09:00:47 +00:00
Claire
26a3081699
Fix preview cards under Content Warnings not being shown in detailed statuses (#34068) 2025-03-05 08:43:31 +00:00
Damien Mathieu
15da6c3c83
Add rubocop-i18n linter (#34057) 2025-03-04 13:28:33 +00:00
Matt Jankowski
d90d68bddf
Remove deprecated mb_chars method (#34039) 2025-03-03 16:50:57 +00:00
Eugen Rochko
43f616a1c8
Fix infinite scroll not working on profile media tab in web UI (#33860) 2025-03-03 14:16:17 +00:00
Eugen Rochko
d399244d4d
Fix moved notice on profiles in web UI (#34052) 2025-03-03 08:24:06 +00:00
Eugen Rochko
d50110a17a
Change alt text reminder to not appear for private mentions in web UI (#33784) 2025-02-28 18:02:58 +00:00
Matt Jankowski
bdc9cb27e2
Update rubocop to version 1.73.1 (#34034) 2025-02-28 14:26:43 +00:00
Emelia Smith
4960193ed0
Add API to delete media attachments that are not in use (#33991) 2025-02-28 13:41:42 +00:00
Claire
e71fb450e0
Add optional delete_media parameter to DELETE /api/v1/statuses/:id (#33988) 2025-02-28 13:39:01 +00:00
Darren VanBuren
bff53a637e
Fix up the off by one error on displayed rank for trending tags admin page. (#34016) 2025-02-28 11:16:49 +00:00
Emelia Smith
febcd0a76c
Expose status language via og:locale (#34012) 2025-02-28 10:53:39 +00:00
github-actions[bot]
5f486a1424
New Crowdin Translations (automated) (#34027)
Co-authored-by: GitHub Actions <noreply@github.com>
2025-02-28 08:29:06 +00:00
Jeremy Kescher
6b519cfefa
Merge commit from fork
* Fix domain blocks/rationales being visible to unapproved/unconfirmed users

* Fix domain blocks/rationales being visible to suspended users

Co-authored-by: Claire <claire.github-309c@sitedethib.com>

* Allow moved users to view domain blocks

* Add authorization specs for `/api/v1/instance/domain_blocks` spec

* Fix tests

* Fix incorrect test setup

---------

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2025-02-27 15:49:57 +01:00
github-actions[bot]
cde3167d09
New Crowdin Translations (automated) (#34009)
Co-authored-by: GitHub Actions <noreply@github.com>
2025-02-27 09:36:16 +00:00
Eugen Rochko
ebde60ca82
Refactor <Header> into TypeScript (#33956) 2025-02-25 15:30:46 +00:00
Claire
20531d1e07
Fix GET /api/v2/notifications/:id and POST /api/v2/notifications/:id/dismiss for ungrouped notifications (#33990) 2025-02-25 14:37:44 +00:00
github-actions[bot]
33643c4c07
New Crowdin Translations (automated) (#33996)
Co-authored-by: GitHub Actions <noreply@github.com>
2025-02-25 13:08:40 +00:00
Eugen Rochko
298ca53593
Add choice of law to terms of service generator (#33994) 2025-02-25 10:58:11 +00:00
github-actions[bot]
5a3fb4594b
New Crowdin Translations (automated) (#33977)
Co-authored-by: GitHub Actions <noreply@github.com>
2025-02-24 08:48:56 +00:00
github-actions[bot]
2788808b07
New Crowdin Translations (automated) (#33967)
Co-authored-by: GitHub Actions <noreply@github.com>
2025-02-21 07:41:14 +00:00
Eugen Rochko
12d0533bd7
Change "Specific people" to "Private mention" in menu in web UI (#33963) 2025-02-21 07:29:34 +00:00
github-actions[bot]
70f8fb6d08
New Crowdin Translations (automated) (#33960)
Co-authored-by: GitHub Actions <noreply@github.com>
2025-02-19 08:17:23 +00:00
github-actions[bot]
e2eceaf2fa
New Crowdin Translations (automated) (#33949)
Co-authored-by: GitHub Actions <noreply@github.com>
2025-02-18 10:23:53 +00:00
Matt Jankowski
d75c4bf53e
Update rubocop to version 1.72.2 and use plugins configuration style (#33946) 2025-02-18 08:25:41 +00:00
github-actions[bot]
a3ef72a541
New Crowdin Translations (automated) (#33933)
Co-authored-by: GitHub Actions <noreply@github.com>
2025-02-17 09:22:13 +00:00
github-actions[bot]
5cd80b7836
New Crowdin Translations (automated) (#33925)
Co-authored-by: GitHub Actions <noreply@github.com>
2025-02-14 08:38:48 +00:00
github-actions[bot]
58a029335b
New Crowdin Translations (automated) (#33918)
Co-authored-by: GitHub Actions <noreply@github.com>
2025-02-13 10:50:09 +00:00
Claire
1248c4d1f4
Fix handling of duplicate mentions in incoming status Update (#33911) 2025-02-12 15:34:56 +00:00
Claire
6b52227fcc
Fix Mastodon listing updates older or equal to current version (#33906) 2025-02-12 14:27:42 +00:00
Claire
db59f37269
Fix redirect after log-in when allow_referrer_origin setting is enabled (#33903) 2025-02-12 12:58:48 +00:00
Nicholas La Roux
7a50fd8849
Migrate BlockDomainService notification job enqueueing to Sidekiq's perform_bulk for efficiency (#33897) 2025-02-12 12:48:09 +00:00
github-actions[bot]
e918d4e3e8
New Crowdin Translations (automated) (#33899)
Co-authored-by: GitHub Actions <noreply@github.com>
2025-02-12 08:33:41 +00:00
github-actions[bot]
0b4e5b64f9
New Crowdin Translations (automated) (#33885)
Co-authored-by: GitHub Actions <noreply@github.com>
2025-02-11 06:50:18 +00:00