Commit graph

31939 commits

Author SHA1 Message Date
Marie
c54d0ace90 merge: Auto-select the first page of reactions on the note "reactions" tab (resolves #448) (!1121)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1121

Closes #448

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-14 16:18:58 +00:00
Marie
f58badade8 merge: Hide admin secrets from the mod log (resolves #44) (!1120)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1120

Closes #44

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-14 16:16:58 +00:00
Marie
057d661544 merge: Fix broken CSS in instance-info (!1118)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1118

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-14 16:16:54 +00:00
Marie
b5198b4a66 merge: Fix "reply" indicator showing on a separate line in Misskey note styles (resolves #1100) (!1117)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1117

Closes #1100

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-14 16:16:53 +00:00
dakkar
96263dd93d merge: Set X-Robots-Tag to disable indexing API endpoints (resolves #756) (!1119)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1119

Closes #756

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-14 16:09:40 +00:00
dakkar
c882a4294d group notifications regardless of when they happened - fix #633 2025-06-14 17:02:00 +01:00
dakkar
b89e037e9f remove unused variables 2025-06-14 14:09:46 +01:00
dakkar
9b9918cce9 remove unused variables 2025-06-14 13:47:54 +01:00
dakkar
a9a7e4b9d0 merge: Throw S3 errors to prevent silent failures (resolves #697) (!1115)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1115

Closes #697

Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-06-14 09:54:50 +00:00
Hazelnoot
9fc63dc950 don't unfollow anyone when suspending a user 2025-06-14 01:06:56 -04:00
Hazelnoot
0a1e10e18b auto-select the first page of reactions on the note "reactions" pgae 2025-06-14 00:36:34 -04:00
Hazelnoot
6da1165e29 hide admin secrets from the mod log 2025-06-14 00:24:32 -04:00
Hazelnoot
a5f5de46da fix conversion of empty links to mfm URL 2025-06-13 23:23:35 -04:00
Hazelnoot
b44abe0eaa set X-Robots-Tag to disable indexing API endpoints 2025-06-13 23:18:06 -04:00
Hazelnoot
57fb95753e fix broken CSS in instance-info caused by leftover code 2025-06-13 22:31:17 -04:00
Hazelnoot
69cf9a011a copy changes to MkSubNoteContent and welcome.timeline.note 2025-06-13 22:13:31 -04:00
Hazelnoot
0b7cd5bb0f copy changes to MkNote and EmNoteDetailed 2025-06-13 22:11:03 -04:00
Hazelnoot
a9063409f2 remove "RN:" link from NoteDetailed for consistency with other Note components 2025-06-13 22:04:00 -04:00
Hazelnoot
03662f3466 place "reply" indicator on same line as note body 2025-06-13 22:03:20 -04:00
Hazelnoot
8d628aa50b avoid duplicating all the childNodes.length checks 2025-06-13 21:08:20 -04:00
Hazelnoot
b3548cde5b fix TS errors 2025-06-13 21:03:12 -04:00
Hazelnoot
a524a9cea8 skip empty elements in MfmService.fromHtml 2025-06-13 20:43:46 -04:00
Hazelnoot
8080422c82 throw S3 errors to prevent silent failures 2025-06-13 20:37:37 -04:00
Hazelnoot
aa40b8ca0d show signup reason in user admin screen 2025-06-13 20:01:06 -04:00
Hazelnoot
7866e42d54 fix lint error 2025-06-13 19:28:09 -04:00
Hazelnoot
126ae9a0bf re-order getAttachments in order of canon 2025-06-13 19:27:49 -04:00
Hazelnoot
2fa33fec60 de-duplicate media attachments and allow hard-failures 2025-06-13 14:44:00 -04:00
Hazelnoot
b4fc7b1b27 use permissive mode to find HTML content 2025-06-13 14:01:33 -04:00
Hazelnoot
152d9dc36c add unit test for get-content-by-type.ts 2025-06-13 13:59:39 -04:00
Hazelnoot
a8c7c06776 fix lower-case check in get-content-by-type permissive mode 2025-06-13 13:59:32 -04:00
Hazelnoot
353c294f67 add unit tests for extract-media-from-html.ts 2025-06-13 13:47:07 -04:00
Hazelnoot
b2e94a5254 de-duplicate extracted media 2025-06-13 13:46:57 -04:00
Hazelnoot
5430b00f72 factor out attachment code to reduce duplication and allow testing 2025-06-13 12:56:14 -04:00
Hazelnoot
b0b0218b75 convert incoming iframes into links 2025-06-13 11:54:36 -04:00
Hazelnoot
eb22bc5f5d extract note attachments from inline HTML 2025-06-13 11:42:53 -04:00
Hazelnoot
e5593af422 improve alt text mapping in ApImageService.createImage 2025-06-13 11:42:31 -04:00
Hazelnoot
db8f94b0fb correct type of IObject.attachment 2025-06-13 11:42:07 -04:00
dakkar
01872419c3 fix UserEntityService packMany hints
* there's no need to pre-load follow requests for many users, since
  at most we'll pack them for only 1 user (the one requesting the
	data)

* similarly, it makes sense to preload security keys for many users
  if we're serving a moderator's request, but if not, we need at most 1
  user's keys (the requesting user's), and we can let `.pack()` fetch
  those

* we always need to preload relations when serving a detailed
  request, not only when the set of users to pack does not include the
  requesting user
2025-06-13 10:20:32 +01:00
dakkar
87f6895ca9 avoid pushing to timelines of remote users 2025-06-13 10:20:30 +01:00
dakkar
aa960f8029 fix UserEntityService packMany hints
* there's no need to pre-load follow requests for many users, since
  at most we'll pack them for only 1 user (the one requesting the
	data)

* similarly, it makes sense to preload security keys for many users
  if we're serving a moderator's request, but if not, we need at most 1
  user's keys (the requesting user's), and we can let `.pack()` fetch
  those

* we always need to preload relations when serving a detailed
  request, not only when the set of users to pack does not include the
  requesting user
2025-06-13 10:06:35 +01:00
dakkar
620d30c228 avoid pushing to timelines of remote users 2025-06-13 09:26:37 +01:00
dakkar
33aee38a59 Merge branch 'develop' into upstream/2025.5.0 2025-06-13 08:43:17 +01:00
dakkar
99bf315351 merge: Fix uncaught exception hooks and add more shutdown logging. (!1111)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1111

Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-06-13 07:14:28 +00:00
Hazelnoot
4b11fd2523 merge: Consolidate duplicate HTML/XML parser libraries (!1083)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1083

Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-06-13 07:13:19 +00:00
Marie
f341e2be5c merge: Make defederation rocket use theme colors. (!1109)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1109

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-06-13 04:38:15 +00:00
Hazelnoot
3ce5471414 add additional process exit loggers 2025-06-12 21:37:28 -04:00
Hazelnoot
0a56ce92ca use uncaughtExceptionMonitor instead uncaughtException 2025-06-12 21:36:46 -04:00
Hazelnoot
f8d4236a15 downgrade htmlparser2 to match cheerio 2025-06-12 21:18:52 -04:00
Hazelnoot
d59ebe9992 correct MFM import in new/modified components 2025-06-12 21:11:17 -04:00
Hazelnoot
31dafb046e regenerate lockfile to fix merge conflicts 2025-06-12 21:11:17 -04:00