Commit graph

17322 commits

Author SHA1 Message Date
Claire
99c6f81e55 Fix spec linting issues 2024-10-02 15:31:49 +02:00
Claire
4ef608da0c Deduplicate unique accounts and limit account array in descendants CTE
Limit unique accounts to check blocks from to 30 unique accounts (any new
participant will have its blocks ignored for the purpose of displaying the
posts). This is extremely unlikely to be reached in a legitimate situation,
but would limit wasteful computation in specially-crafted threads with many
participants.
2024-10-02 14:58:35 +02:00
Claire
eee4eee7f0 Add tests 2024-10-02 14:58:35 +02:00
Claire
eea1cfe1a9 Refactor ActivityPub::RepliesController tests 2024-10-02 14:58:35 +02:00
Claire
ebf34263d7 Remove blocked users from ActivityPub replies collection 2024-10-02 14:58:35 +02:00
Claire
fe6511ee45 Spare processing incoming messages that would only be processed because they are mentioning blocked users 2024-10-02 14:58:35 +02:00
Claire
d8857c3c93 Add tests 2024-10-02 14:58:35 +02:00
Claire
3b32afdbe3 Reword description of some existing tests 2024-10-02 14:58:35 +02:00
Claire
2cb12220dd Change ActivityPub processing code to not forward blocked replies 2024-10-02 14:58:35 +02:00
Claire
2195bd5a90 Change threading context code to filter out blocked replies on view 2024-10-02 14:58:35 +02:00
Matt Jankowski
f0716368e6
Update simplecov-html to version 0.13.1 (#32205) 2024-10-02 09:07:52 +00:00
github-actions[bot]
ea72d5ec3a
New Crowdin Translations (automated) (#32214)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-02 09:05:57 +00:00
Jeong Arm
66b2bc1c84
Ignore error if mentioned account was not processable (#29215)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-10-02 08:08:02 +00:00
Nick Schonning
f91f077985
Enable ESLlint no-case-declarations (#30768) 2024-10-01 16:26:30 +00:00
renovate[bot]
a2c4ba2001
Update dependency rubocop-rspec to v3.1.0 (#32202)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 15:10:56 +00:00
Matt Jankowski
4cae309f6a
Fix Rails/CreateTableWithTimestamps cop (#30836) 2024-10-01 13:56:43 +00:00
Jeong Arm
65508bb0c0
Show timestamp when the user deletes their account on admin dashboard (#25640)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-10-01 13:54:28 +00:00
Matt Jankowski
df98cf71e3
Avoid repeated icon stack in settings sidebar (#32201) 2024-10-01 13:50:20 +00:00
Matt Jankowski
f10d61bf86
Adjust spacing on setting sub-nav items when below mobile size (#32137) 2024-10-01 13:41:25 +00:00
Matt Jankowski
f73787a4b8
Fix broken border on applications list (#32147) 2024-10-01 13:38:29 +00:00
Claire
7b92cf3b47
Fix unneeded requests to blocked domains when receiving relayed signed activities from them (#31161) 2024-10-01 12:52:13 +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
Matt Jankowski
44071fdbae
Wrap datetime in time element with attrs (#32177) 2024-10-01 12:45:58 +00:00
Matt Jankowski
ec16ed37c3
Extract constants for header and avatar geometry (#32151) 2024-10-01 11:36:25 +00:00
Matt Jankowski
c009507912
Use button_to for method: :post links on account show page (#32154) 2024-10-01 11:14:12 +00:00
Matt Jankowski
651846c622
Only show email domain blocks MX table when some found (#32155) 2024-10-01 11:03:13 +00:00
Matt Jankowski
4b4bf82ea9
Fix nav item active highlight for some paths (#32159) 2024-10-01 10:48:27 +00:00
Matt Jankowski
489abb8173
Remove explicit put action in prefs forms (#32175) 2024-10-01 10:35:40 +00:00
Matt Jankowski
7e35bef97e
Remove explicit put action in settings forms (#32176) 2024-10-01 10:34:05 +00:00
renovate[bot]
8ae381fd04
Update dependency postcss-preset-env to v10.0.5 (#32019)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 10:04:12 +00:00
Matt Jankowski
efd3f59627
Use module: :users in routes/admin section (#30767) 2024-10-01 10:02:58 +00:00
Emelia Smith
454d21ab5a
Remove OAuth Password Grant Type support (#30960) 2024-10-01 09:56:58 +00:00
Matt Jankowski
e975b55c24
Remove WebfingerHelper module & move usage inline (#31203) 2024-10-01 09:54:42 +00:00
David Roetzel
e6cda8388c
Move OTP secret length to configuration (#32125) 2024-10-01 09:38:42 +00:00
renovate[bot]
0b89765e9a
Update RuboCop (non-major) to v1.22.1 (#31573)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 09:30:54 +00:00
Matt Jankowski
f251edfc1d
Add date_range view helper (#32187) 2024-10-01 09:30:21 +00:00
renovate[bot]
7a653001b4
Update dependency haml_lint to v0.59.0 (#32146)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 09:30:09 +00:00
renovate[bot]
b7ddf45924
Update docker/dockerfile Docker tag to v1.10 (#32166)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 09:29:38 +00:00
renovate[bot]
3d943f03fd
Update dependency webmock to v3.24.0 (#32190)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 09:13:33 +00:00
renovate[bot]
2829f72d16
Update dependency propshaft to v1.1.0 (#32192)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 09:13:29 +00:00
Matt Jankowski
f811fcb2b2
Improve alignment of icons on admin roles list (#32153) 2024-10-01 09:08:29 +00:00
Matt Jankowski
675d3ea5c1
Extract dashboard partial for admin instance page (#32189) 2024-10-01 08:36:41 +00:00
Renaud Chaput
497e8d00b9
Bump main version 4.4.0-alpha.1 (#32180) 2024-10-01 08:36:22 +00:00
renovate[bot]
d9973f3b70
Update peter-evans/create-pull-request action to v7.0.5 (#32164)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 08:28:50 +00:00
Matt Jankowski
685067efd1
Avoid id duplication conflict with main navigation from settings profile link (#32181) 2024-10-01 08:23:05 +00:00
Renaud Chaput
1be55ce244
Fix follow notifications from streaming being grouped (#32179) 2024-10-01 08:22:14 +00:00
github-actions[bot]
5839ee434b
New Crowdin Translations (automated) (#32195)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-01 08:21:17 +00:00
Matt Jankowski
0b6d217b9e
Use account display name for pretend blog example in attribution area (#32188) 2024-10-01 08:19:53 +00:00
Claire
07cd1fd1ef
Support translation branches in Crowdin (#32174) 2024-09-30 17:32:23 +00:00
Claire
03210085b7
Bump version to 4.3.0-rc.1 (#32124) 2024-09-30 10:42:59 +00:00