Commit graph

30008 commits

Author SHA1 Message Date
CenTdemeern1
2502d9c60f Fix clickable notifications blocking clicks where they shouldn't
The (full screen width) div behind the notifications has unintentionally been blocking clicks. Oops! (Thanks for reporting this everyone)
2025-03-06 16:56:49 +01:00
Marie
1f592f9166
upd: simplify checks 2025-03-06 16:48:32 +01:00
Hazelnoot
8ecd924026 merge: Fix lookup for users with capitalized usernames on remote sharkey instances (!936)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/936

Closes #992

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-03-06 14:19:22 +00:00
Marie
995ba34aa4 fix: use toLowerCase() to make sure usernameLower matches while compared to request with possibly capitalization 2025-03-06 02:37:07 +00:00
Marie
70d88805d5
chore: typecheck error 2025-03-06 01:23:15 +01:00
Marie
40599190f7
add: libretranslate 2025-03-06 01:03:02 +01:00
Marie
ac83e230df
fix: background aspectRatio 2025-03-05 21:32:22 +01:00
Marie
17a02b2a59
upd: move claim, add claim for banner and background 2025-03-05 21:25:12 +01:00
Marie
56c1154fa6
fix: add back claim 2025-03-05 21:19:22 +01:00
Marie
58f2ab6c8b
upd: separate menu and change 2025-03-05 21:14:46 +01:00
Marie
daa449152d
upd: allow users to remove avatars 2025-03-05 19:48:55 +01:00
Marie
c5440c20c6 merge: Update sfm-js to latest version (!933)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/933

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-03-05 15:42:05 +00:00
Marie
0d3d2ee6a3
chore: update sfm to 0.24.6 2025-03-05 15:52:35 +01:00
Hazelnoot
7d61bf7304 merge: fix: always clone the note before hideNote (!931)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/931

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-03-03 16:31:24 +00:00
Lhc_fl
8d487be4be
small change to comment 2025-03-03 23:46:31 +08:00
Lhc_fl
381046a6b1
fix: always clone the note before hideNote 2025-03-03 23:03:20 +08:00
Hazelnoot
1483f96c3f collapse empty cw to null 2025-03-03 08:39:39 -05:00
Hazelnoot
0cd1292308 disable '@typescript-eslint/prefer-nullish-coalescing' for primitive types 2025-03-03 08:39:24 -05:00
Hazelnoot
908271c995 ignore empty CW with creating / editing notes 2025-03-03 01:30:29 -05:00
Hazelnoot
e44623d7c9 don't parse empty strings in timelineArgs.ts 2025-03-03 01:22:15 -05:00
Hazelnoot
25f26655bf don't use empty CW as placeholder in megalodon 2025-03-03 01:22:01 -05:00
Julia
0c7657e3a3 merge: Bump develop version (!928)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/928
2025-03-02 21:50:43 +00:00
Julia Johannesen
18ab08cfe0
Bump develop version 2025-03-02 15:54:23 -05:00
Julia
9e13c375c5 merge: 2025.2.2 (!927)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/927

Approved-by: Marie <github@yuugi.dev>
Approved-by: Julia <julia@insertdomain.name>
2025-03-02 19:54:32 +00:00
dakkar
955b6e8c12 bump version 2025-03-02 18:58:53 +00:00
dakkar
0b5e197afb Merge branch 'develop' into release/2025.2.2 2025-03-02 18:57:27 +00:00
Hazelnoot
141bce2be7 merge: Add/fix moderation logs for many endpoints (resolves #911 and #969) (!925)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/925

Closes #911 and #969

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-03-02 18:56:44 +00:00
Hazelnoot
9fdb68d568 remove fileId from importCustomEmojis log 2025-03-02 13:47:02 -05:00
Hazelnoot
86a7d33f3f fix rebase error 2025-03-02 13:46:28 -05:00
Hazelnoot
e030facaa9 don't record deleted note, flash, page, or gallery post in modlog 2025-03-02 13:38:35 -05:00
Hazelnoot
c02fd47811 fix formatting in SkFetchNote 2025-03-02 13:38:35 -05:00
Hazelnoot
5d1e1a2215 fix typo in "cannotLoadPage" translation 2025-03-02 13:38:35 -05:00
Hazelnoot
f42790ad32 don't pass note into moderationLogService.log 2025-03-02 13:38:35 -05:00
Hazelnoot
e5b8fc3c80 add missing modlog render blocks 2025-03-02 13:38:35 -05:00
Hazelnoot
c44c59e9ae remove embedded Note from "createPromo" mod logs 2025-03-02 13:38:32 -05:00
Hazelnoot
20e2a6e95a add SkFetchNote to render a note by ID 2025-03-02 13:38:05 -05:00
Hazelnoot
9e833f724b add DynamicNote to encapsulate MkNote / SkNote switching logic 2025-03-02 13:38:05 -05:00
Hazelnoot
cea77f3e2c emit "show" event from MkLazy 2025-03-02 13:38:05 -05:00
Hazelnoot
27d43879a2 add moderation logs for many endpoints
- `/admin/delete-all-files-of-a-user`
- `/admin/nsfw-user`
- `/admin/unnsfw-user`
- `/admin/silence-user`
- `/admin/unsilence-user`
- `/admin/accounts/create`
- `/admin/drive/clean-remote-files`
- `/admin/drive/cleanup`
- `/admin/emoji/set-category-bulk`
- `/admin/emoji/set-license-bulk`
- `/admin/emoji/set-aliases-bulk`
- `/admin/emoji/add-aliases-bulk`
- `/admin/emoji/remove-aliases-bulk`
- `/admin/emoji/import-zip`
- `/admin/federation/delete-all-files`
- `/admin/federation/remove-all-following`
- `/admin/promo/create`
- `/admin/relay/add`
- `/admin/relay/remove`
2025-03-02 13:38:02 -05:00
dakkar
504e90c190 merge: Remove assertActivityMatchesUrls in favor of three-way same-authority checks (resolves #956 and #914) (!914)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/914

Closes #956 and #914

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-03-02 18:36:04 +00:00
dakkar
92bac81a7f merge: handle scheduled notes when deleting and migrating accounts - fixes #931 #936 (!920)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/920

Closes #931 and #936

Approved-by: Marie <github@yuugi.dev>
Approved-by: Julia <julia@insertdomain.name>
2025-03-02 18:28:15 +00:00
dakkar
0fba8dc26a don't move scheduled notes to new account when migrating
@Julia confirms it would confuse people more than it helps
2025-03-02 16:51:54 +00:00
Hazelnoot
910b83c531 filter url properties by mediaType 2025-03-02 11:06:32 -05:00
Hazelnoot
d8d94b65a0 restore unintentionally-changed import type 2025-03-02 11:06:32 -05:00
Hazelnoot
67abc0ce19 allow Update(Note) to change url, since it's now validated on edits 2025-03-02 11:06:32 -05:00
Hazelnoot
a568333ecd remove assertActivityMatchesUrls in favor of three-way same-authority checks 2025-03-02 11:06:29 -05:00
Hazelnoot
14a81b4f85 merge: Add "reject quotes" settings (!901)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/901

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-03-01 03:33:06 +00:00
Hazelnoot
8a65074f23 merge: fix lookup confirmations (!926)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/926

Approved-by: Marie <github@yuugi.dev>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-02-28 21:20:57 +00:00
Marie
6e8ab00750 merge: Trim padded Actor keys to avoid value too long error (resolves #806) (!913)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/913

Closes #806

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-28 20:06:11 +00:00
dakkar
42d6e0deeb fix lookup confirmations
having that "lookp user" check *twice* meant that typing a full
username, and then canceling the lookup confirmation, ended up doing a
lookup anyway

now, if you cancel the looup confirmation, you get a search

thanks to @Ares on Discord for reporting
2025-02-28 17:47:13 +00:00