Emelia Smith
d730f6b0c5
Add spec for client_credentials being used with /api/v1/apps/verify_credentials ( #37195 )
2025-12-11 16:40:22 +00:00
Emelia Smith
532bb7ea3c
Add systemd service file for prometheus exporter ( #35130 )
2025-11-06 09:25:56 +00:00
Emelia Smith
210b389643
Implement quote posts in Moderator UI ( #35964 )
2025-10-16 13:40:24 +00:00
Emelia Smith
d8bdce2835
Fix rendering of poll options in status history modal ( #35633 )
2025-10-15 09:05:10 +00:00
Emelia Smith
7e98fa9b47
Merge commit from fork
...
* Require read, read:statuses or read:notifications scope to access streaming APIs
* Add additional tests for scope-based channel access
We were missing tests in the affirmative for subscribing to the user:notification channel, this adds them
2025-10-13 14:20:57 +02:00
Emelia Smith
24dcb18013
Merge commit from fork
...
* Ensure tootctl revokes sessions, access tokens and web push subscriptions
* Fix test coverage
2025-10-13 14:20:23 +02:00
Emelia Smith
8d09e4ef23
Merge commit from fork
...
* Streaming: Ensure disabled users cannot connect to streaming
* Streaming: Disconnect when the user is disabled
2025-10-13 14:19:14 +02:00
Emelia Smith
8898f120dc
Improve display of content warnings in Admin UI ( #35935 )
2025-10-10 08:55:41 +00:00
Emelia Smith
81350c7cfb
Add support for displaying link previews for Admin UI ( #35958 )
2025-10-10 08:43:48 +00:00
5b97f25a15
Add integration tests for mastodon-streaming ( #36025 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com >
Co-authored-by: David Roetzel <david@roetzel.de >
2025-09-30 07:27:09 +00:00
Emelia Smith
4c2a2c27c1
Automatically remove invalid Web::PushSubscriptions ( #35987 )
2025-09-04 08:00:44 +00:00
Emelia Smith
2138f3e40f
Move 'add more' inside table toolbar on reports ( #35963 )
2025-09-02 07:54:58 +00:00
Emelia Smith
314d5f0d7a
Fix batch table toolbar displaying under status media ( #35962 )
2025-09-01 16:02:31 +00:00
Emelia Smith and Claire
15401e6988
Support displaying polls in Admin UI ( #35933 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com >
2025-09-01 14:59:03 +00:00
Emelia Smith
4f494781c1
Refactor to reuse the one status partial across moderation tools ( #35644 )
2025-08-21 14:51:11 +00:00
Emelia Smith
72f2f35bfb
Implement Instance Moderation Notes ( #31529 )
2025-06-25 08:15:44 +00:00
Emelia Smith
a73ade526a
Assert usage of client credentials for account registration ( #34828 )
2025-05-28 12:09:32 +00:00
Emelia Smith
b754e28190
Change devise to not use HTTP Basic Authentication ( #34501 )
2025-04-22 12:11:21 +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
Emelia Smith
febcd0a76c
Expose status language via og:locale ( #34012 )
2025-02-28 10:53:39 +00:00
Emelia Smith
15669fcf75
Include time portion in formatted datetimes when provided ( #33191 )
2025-01-08 14:26:08 +00:00
Emelia Smith
6615f17b48
Fix missing top border on Admin Hashtags UI ( #31443 )
2024-12-09 12:55:28 +00:00
Emelia Smith and Eugen Rochko
eef8d2c855
Add link from Web UI for Hashtags to the Moderation UI ( #31448 )
...
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com >
2024-11-29 07:36:17 +00:00
Emelia Smith and renovate[bot]
4517e18b79
Update dependency doorkeeper to v5.8.0 ( #33000 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 13:48:30 +00:00
Emelia Smith
9a46329fbd
Streaming: add development logging of database queries ( #32945 )
2024-11-18 09:34:34 +00:00
Emelia Smith
ddfb3d123b
Improve display of statuses in admin panel ( #30813 )
2024-11-15 09:38:01 +00:00
Emelia Smith
2bd56f726a
Add client_secret_expires_at to OAuth Applications ( #30317 )
2024-11-12 22:06:13 +00:00
Emelia Smith
bf609090b1
Fix: prevent linking to pages which require extra permissions ( #32843 )
2024-11-12 08:55:17 +00:00
Emelia Smith
a34edc211f
Add audit logging to Relays ( #32819 )
2024-11-12 08:35:08 +00:00
Emelia Smith
aeae152006
Prevent Web::Push notification delivery if notification is outside of TTL window ( #32842 )
2024-11-11 19:56:28 +00:00
Emelia Smith
e22ec25077
Fix typo in account unlocked localisation ( #32821 )
2024-11-10 12:26:51 +00:00
Emelia Smith
e1b7382ea6
Add userinfo oauth endpoint ( #32548 )
2024-10-30 14:38:10 +00:00
Emelia Smith
d94a367aeb
Add test coverage for POST /api/v2/media's max description length ( #32683 )
2024-10-29 09:25:38 +00:00
Emelia Smith
dc0b1948be
Feat: Implement interaction modal for Polls ( #32609 )
2024-10-28 13:27:37 +00:00
Emelia Smith
346cdb998c
Fix 'unknown' media attachment type rendering ( #32613 )
2024-10-22 08:31:53 +00:00
Emelia Smith
b23ff050ac
Fix missing or incorrect cache-control headers for Streaming server ( #32551 )
2024-10-17 08:17:18 +00:00
Emelia Smith
bc2e642272
Fix: Reword 'pick one' to 'single choice' for polls ( #32397 )
2024-10-16 10:40:40 +00:00
Emelia Smith
6d99f848a2
Fix: Use consistent REDIS_USER environment variable in streaming ( #32493 )
2024-10-15 07:40:18 +00:00
Emelia Smith
c5f0da98e4
Add detection and download of material_symbol icons in config/navigation.rb ( #31366 )
2024-10-01 12:49:04 +00:00
Emelia Smith
454d21ab5a
Remove OAuth Password Grant Type support ( #30960 )
2024-10-01 09:56:58 +00:00
Emelia Smith
c88ba523ee
Fix sort order of moderation notes on Reports and Accounts ( #31528 )
2024-09-06 14:58:36 +00:00
Emelia Smith
fd7fc7bdc3
Disable actions on reports that have already been taken ( #31773 )
2024-09-06 12:50:30 +00:00
Emelia Smith
9ba81eae3e
Streaming: Improve Redis connection options handling ( #31623 )
2024-09-04 14:10:26 +00:00
Emelia Smith
f6fb9b75db
Streaming: Fix BIND IPv6 handling ( #31624 )
2024-08-28 10:40:37 +00:00
Emelia Smith
4118688fba
Streaming: Refactor move database and redis logic into separate files ( #31567 )
2024-08-27 08:40:04 +00:00
Emelia Smith
d820c0883d
Add quick links to Administration and Moderation Reports from Web UI ( #24838 )
2024-08-26 16:42:46 +00:00
Emelia Smith
c245a2044e
Streaming: Refactor to use metrics.$name instead of destructuring ( #31566 )
2024-08-26 08:08:21 +00:00
Emelia Smith
376088f6da
Add button to view the Hashtag on the instance from Hashtags in Moderation UI ( #31533 )
2024-08-22 08:42:33 +00:00
Emelia Smith and Claire
99051479c1
Fix Trending Tags pending review having an unstable sort order ( #31473 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com >
2024-08-19 13:25:40 +00:00
Emelia Smith
71f257d529
Disable rule selector in ReportReasonSelector if instance has no rules ( #31458 )
2024-08-19 12:28:06 +00:00
Emelia Smith
b42661ba95
Add missing Appeals link under Moderation in navigiation ( #31071 )
2024-08-12 14:45:30 +00:00
Emelia Smith
a1f723a6a4
Add support for PKCE Extension in OmniAuth OIDC ( #31131 )
2024-08-12 14:32:52 +00:00
Emelia Smith
d3089018d5
Move Follow Recommendations to Trends menu, rename to Recommendations & Trends ( #31292 )
2024-08-10 09:17:10 +00:00
Emelia Smith
7490019535
Fix support for IPv6 redis connections in streaming ( #31229 )
2024-08-02 06:56:09 +00:00
Emelia Smith
f55099fea3
Increase maximum page size for Admin Domain Management APIs ( #31253 )
2024-08-02 06:54:48 +00:00
Emelia Smith
c40e481169
Implement UI for Admin Search of Hashtags ( #30880 )
2024-07-29 15:49:44 +00:00
Emelia Smith
693d9b03ed
Enable OAuth PKCE Extension ( #31129 )
2024-07-26 08:53:10 +00:00
Emelia Smith
bb2e5a4b58
Add audit logs to Admin::InstancesController ( #27386 )
2024-07-23 08:12:30 +00:00
Emelia Smith
aa88aca0ad
Add optional OAuth application to reports ( #30539 )
2024-07-16 13:23:08 +00:00
Emelia Smith
c953dca1de
Streaming: use pgPool.query instead of manually acquiring & releasing a connection ( #30964 )
2024-07-12 12:23:09 +00:00
Emelia Smith
d436696f46
Streaming: Fix incorrect type definitions ( #30977 )
2024-07-10 15:59:18 +00:00
Emelia Smith
47f0faebc9
Implement HTML ruby tags for east-asian languages ( #30897 )
2024-07-03 20:05:59 +00:00
Emelia Smith
30ae5952d2
Fix: Ensure "With Media" is highlighted from Admin Accounts page ( #30812 )
2024-06-25 07:46:53 +00:00
Emelia Smith and Claire
3d9f00ae16
Fix unsafe URLs in audit log resulting from domain blocks ( #27139 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com >
2024-06-14 07:54:09 +00:00
Emelia Smith and Claire
e02d23b549
Change read:me scope to profile scope ( #30357 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com >
2024-06-06 07:30:10 +00:00
Emelia Smith
4655be0da6
Fix add validation to webpush subscription keys ( #30542 )
2024-06-05 19:16:47 +00:00
Emelia Smith
eef2cc054f
Add url validation to Web::PushSubscription endpoints ( #30540 )
2024-06-05 08:06:06 +00:00
Emelia Smith and Claire
d20a5c3ec9
Fix: remove broken OAuth Application vacuuming & throttle OAuth Application registrations ( #30316 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com >
2024-05-29 14:00:05 +00:00
Emelia Smith
2da2a1dae9
Support multiple redirect_uris when creating OAuth 2.0 Applications ( #29192 )
2024-05-17 13:46:12 +00:00
Emelia Smith
f0d6dc4519
Fix: Mark redirect uris field in Development > Application form as required ( #30311 )
2024-05-16 07:59:46 +00:00
Emelia Smith
5fd56512de
Improve Report Notes and Account Moderation Notes ( #30288 )
2024-05-15 13:38:36 +00:00
Emelia Smith
116f01ec7d
Implement RFC 8414 for OAuth 2.0 server metadata ( #29191 )
2024-05-06 13:17:56 +00:00
Emelia Smith
81f0002e76
Fix missing destory audit logs for Domain Allows ( #30125 )
2024-04-30 08:48:02 +00:00
Emelia Smith
049b159beb
Add read:me OAuth 2.0 scope, allowing more limited access to user data ( #29087 )
2024-04-23 11:47:00 +00:00
Emelia Smith
eb926b7e60
Ensure case-insensitive fields are converted to lowercase in user imports ( #29740 )
2024-03-26 09:30:10 +00:00
Emelia Smith
a3e8b78250
Ensure case-insensitive fields are converted to lowercase in Admin Imports ( #29739 )
2024-03-26 09:30:07 +00:00
491dd97642
Streaming: refactor to custom Error classes ( #28632 )
...
Co-authored-by: Renaud Chaput <renchap@gmail.com >
Co-authored-by: Claire <claire.github-309c@sitedethib.com >
2024-02-22 13:20:20 +00:00
Emelia Smith and Claire
68eaa804c9
Merge pull request from GHSA-7w3c-p9j8-mq3x
...
* Ensure destruction of OAuth Applications notifies streaming
Due to doorkeeper using a dependent: delete_all relationship, the destroy of an OAuth Application bypassed the existing AccessTokenExtension callbacks for announcing destructing of access tokens.
* Ensure password resets revoke access to Streaming API
* Improve performance of deleting OAuth tokens
---------
Co-authored-by: Claire <claire.github-309c@sitedethib.com >
2024-02-14 15:15:34 +01:00
Emelia Smith
46142cdbdd
Disable administrative doorkeeper routes ( #29187 )
2024-02-13 18:11:47 +00:00
Emelia Smith
e8b66a0525
Ignore legacy moderator and admin columns on User model ( #29188 )
2024-02-13 17:14:49 +00:00
Emelia Smith
4fb7f611de
Return domain block digests from admin domain blocks API ( #29092 )
2024-02-06 12:38:14 +00:00
Emelia Smith
881e8c113c
Refactor: fix streaming postgresql and redis typing issues ( #28747 )
2024-01-25 16:46:02 +00:00
Emelia Smith
3fbf01918f
Streaming: Move more methods to the utils from the main file ( #28825 )
2024-01-22 10:02:26 +00:00
Emelia Smith
1335083bed
Streaming: replace npmlog with pino & pino-http ( #27828 )
2024-01-18 18:40:25 +00:00
Emelia Smith
58830be943
Streaming: Rework websocket server initialisation & authentication code ( #28631 )
2024-01-15 10:36:30 +00:00
Emelia Smith
9826b7780a
Streaming: use standard cors package instead of custom implementation ( #28523 )
2024-01-04 09:18:03 +00:00
Emelia Smith and Renaud Chaput
603b245cc6
Add VAPID public key to instance serializer ( #28006 )
...
Co-authored-by: Renaud Chaput <renchap@gmail.com >
2023-11-29 08:34:36 +00:00
Emelia Smith
a4de0e364b
Refactor streaming to simplify for logging change ( #28056 )
2023-11-28 14:24:41 +00:00
Emelia Smith
4949b6da58
Fix streaming eslint configuration ( #28055 )
2023-11-28 14:09:21 +00:00
Emelia Smith
c9ffdcbaa2
Add debug + irb gems to assist with debugging in development and tests ( #27960 )
2023-11-21 16:41:04 +00:00
Emelia Smith
15b2d7eec5
Split streaming server from web server ( #24702 )
2023-11-14 17:43:20 +00:00
Emelia Smith
7c3fea7275
Feature: Allow token introspection without read scope ( #27142 )
2023-10-18 14:10:07 +02:00
Emelia Smith
f68d540271
Fix websocket connections being incorrectly decremented twice on errors ( #27238 )
2023-10-02 13:21:43 +02:00
Emelia Smith
fbfceb9c77
Add additional metrics for streaming ( #26945 )
2023-09-19 12:25:30 +02:00
Emelia Smith
6375e390af
Fix: support both DATABASE_URL and DB_PASS ( #26295 )
2023-08-18 15:05:35 +02:00
Emelia Smith
65096c1ccd
Change streaming /metrics to include additional metrics ( #26299 )
2023-08-04 16:11:30 +02:00
Emelia Smith
e258b4cb64
Refactor: replace whitelist_mode mentions with limited_federation_mode ( #26252 )
2023-08-02 19:32:48 +02:00
Emelia Smith
81cdc0f972
Fix: Streaming server memory leak in HTTP EventSource cleanup ( #26228 )
2023-07-28 12:06:29 +02:00
Emelia Smith
317cd26fba
Remove queued_at value from pubsub payloads ( #26173 )
2023-07-27 16:19:33 +02:00
Emelia Smith
ddaf200c78
Refactor streaming's filtering logic & improve documentation ( #26213 )
2023-07-27 15:38:18 +02:00