Commit graph

1572 commits

Author SHA1 Message Date
336c698c79 Merge tag 'v4.2.27' 2025-10-13 22:48:43 +08:00
Claire
7a60edf0bd
Fix streaming still being authorized for suspended accounts (#36451) 2025-10-13 16:03:15 +02:00
Claire
40b619a916
Merge commit from fork
* Ensure tootctl revokes sessions, access tokens and web push subscriptions

* Fix test coverage

---------

Co-authored-by: Emelia Smith <ThisIsMissEm@users.noreply.github.com>
2025-10-13 14:20:22 +02:00
Claire
4bd193cdfe
Merge commit from fork
* Streaming: Ensure disabled users cannot connect to streaming

* Streaming: Disconnect when the user is disabled

---------

Co-authored-by: Emelia Smith <ThisIsMissEm@users.noreply.github.com>
2025-10-13 14:19:14 +02:00
8c8b6b6c6a Merge tag 'v4.2.23' 2025-07-23 22:47:38 +08:00
Claire
023c24f3de Change passthrough video processing to emit moov atom at start of video (#34726) 2025-07-02 12:51:58 +02:00
Marcel Hellkamp
f090fde8a8 fix: OIDC account creation fails for long display names (#34639) 2025-07-02 12:51:58 +02:00
2fbf224392 Merge tag 'v4.2.20' 2025-04-12 22:35:59 +08:00
Claire
435389d896 Add support for paginating partial collections in SynchronizeFollowersService (#34277) 2025-03-31 15:38:11 +02:00
Claire
b661192a12 Fix polls not being validated on edition (#33755) 2025-02-25 17:11:17 +01:00
a84b56e403 Merge tag 'v4.2.14' 2024-12-20 17:25:02 +08:00
Claire
00f790f0e2 Fix direct inbox delivery pushing posts into inactive followers' timelines (#33067) 2024-12-02 16:20:38 +01:00
Claire
fd431c0afb Fix TagFollow records not being correctly handled in account operations (#33063) 2024-12-02 16:20:38 +01:00
Eugen Rochko
e26bb6f827 Fix pushing hashtag-followed posts to feeds of inactive users (#33018) 2024-12-02 16:20:38 +01:00
Matt Jankowski
1ffb8ef747 Use composable query in User.active scope (#29775) 2024-12-02 16:20:38 +01:00
15cab6832d Merge tag 'v4.2.13' 2024-10-15 20:15:43 +08:00
David Roetzel
0e8f23ebee
Merge commit from fork
This should not change the set of words matched by `USERNAME_RE` but does
change the one matched by `MENTION_RE`. Indeed, the previous regexp allowed
a domain part to start with `.` or `-`, which the new regexp does not allow.

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-09-30 12:25:54 +02:00
f86d63458d Merge tag 'v4.2.11' 2024-08-18 22:27:50 +08:00
Claire
297ad9aeb8 Fix already-invalid reports failing to resolve (#29027) 2024-08-16 12:30:59 +02:00
Râu Cao
d1854798c9 Fix local account search on LDAP login being case-sensitive (#30113)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-08-16 12:30:59 +02:00
Adam Niedzielski
7b7d404efe Fix ß bug in regexp for mentions and tags (#31122) 2024-08-16 12:30:59 +02:00
Claire
0fc738a323 Fix hashtag matching pattern matching some link anchors (#30190) 2024-08-16 12:30:59 +02:00
0caab94100 Merge tag 'v4.2.10' 2024-07-04 23:06:49 +08:00
Claire
fcae9435ec Fix /admin/accounts/:account_id/statuses/:id for edited posts with media attachments (#30819) 2024-07-02 15:08:24 +02:00
70e34976ec Merge tag 'v4.2.9' 2024-05-30 22:36:04 +08:00
Claire
c3be5a3d2e Remove caching in cache_collection (#29862) 2024-05-17 12:30:00 +02:00
Claire
86807e4799 Improve email address validation (#29838) 2024-05-17 12:30:00 +02:00
Jeong Arm
ab3f9852f2 Normalize idna domain before account unblock domain (#29530) 2024-05-17 12:30:00 +02:00
251eace9e8 Merge tag 'v4.2.6' 2024-02-15 00:11:02 +08:00
Claire
f1700523f1
Merge pull request from GHSA-vm39-j3vx-pch3
* Prevent different identities from a same SSO provider from accessing a same account

* Lock auth provider changes behind `ALLOW_UNSAFE_AUTH_PROVIDER_REATTACH=true`

* Rename methods to avoid confusion between OAuth and OmniAuth
2024-02-14 15:16:07 +01:00
Claire
0b0c7af2c1
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: Emelia Smith <ThisIsMissEm@users.noreply.github.com>
2024-02-14 15:15:34 +01:00
cc078387ce Merge tag 'v4.2.4' 2024-01-24 23:37:05 +08:00
Eugen Rochko
4d96d716c4 Fix unsupported time zone or locale preventing sign-up (#28035)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-01-24 15:31:13 +01:00
Claire
a12b7551cf Fix N+1s because of association preloaders not actually getting called (#28339) 2024-01-24 15:31:13 +01:00
44c6d1d464 Revert "increase the MAX_DESCRIPTION_LENGTH of media_attachment"
This reverts commit 58f6e4c36a.
2024-01-19 07:13:00 +08:00
58f6e4c36a increase the MAX_DESCRIPTION_LENGTH of media_attachment 2024-01-19 06:59:11 +08:00
Claire
d7875adad2
Fix call to inefficient delete_matched cache method in domain blocks (#28367) 2023-12-19 11:27:37 +01:00
caf015faca Merge tag 'v4.2.3' 2023-12-17 14:03:01 +08:00
Claire
09115731d6 Change GIF max matrix size error to explicitly mention GIF files (#27927) 2023-12-04 15:28:15 +01:00
Claire
81d7cfd544 Fix posts from force-sensitized accounts being able to trend (#27620) 2023-12-04 15:28:15 +01:00
Claire
e6f4c91c5c Fix hashtag matching pattern matching some URLs (#27584) 2023-12-04 15:28:15 +01:00
Claire
cdedae6d63 Fix some link anchors being recognized as hashtags (#27271) 2023-12-04 15:28:15 +01:00
4b6be591e3 Merge tag 'v4.2.1' 2023-10-11 18:56:08 +08:00
Matt Jankowski
a9588065b2 Dont match mention in url query string (#25656)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-10-10 13:52:41 +02:00
Claire
8bc5fe204e Fix filtering audit log for entries about disabling 2FA (#27186) 2023-10-10 13:52:41 +02:00
Essem
2191858cff Properly remove tIME chunk from PNG uploads (#27111) 2023-10-10 13:52:41 +02:00
Claire
fa98c9b077 Fix crash when filtering for “dormant” relationships (#27306) 2023-10-10 13:52:41 +02:00
Claire
58477a6163 Fix inefficient queries in “Follows and followers” as well as several admin pages (#27116) 2023-10-10 13:52:41 +02:00
Claire
8b382b8df7 Fix ActiveRecord using two connection pools when no replica is defined (#27061) 2023-10-10 13:52:41 +02:00
bd3669f9b2 Merge tag 'v4.2.0-rc2' 2023-09-19 23:38:26 +08:00