Commit graph

4597 commits

Author SHA1 Message Date
bunnybeam
5760c021fe Merge branch 'develop' into 'feature/dialog-announcement-cap'
# Conflicts:
#   packages/backend/src/core/AnnouncementService.ts
#   packages/backend/src/server/api/endpoints/admin/announcements/create.ts
#   packages/backend/src/server/api/endpoints/admin/announcements/update.ts
2025-09-04 16:52:49 +01:00
bunnybeam
32d45883d6
fix typo in assertDialogAnnouncementsCountLimit method name 2025-09-04 16:33:30 +01:00
Lillychan
521d7d0cf3 Update file 1754754816000-metaRulesLength.js 2025-08-31 11:41:05 +02:00
Hazelnoot
49c4c2b9ad merge: fix(BE): Set serverRules to text (!1209)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1209

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-08-29 15:50:11 +00:00
bunnybeam
5364e8da26
make dialog announcement cap configurable 2025-08-28 21:12:03 +01:00
Marie
aff1603788 merge: Return request errors for /streaming in-band instead of in HTTP (!1168)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1168

Closes #591

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-08-16 19:23:49 +00:00
Hazelnoot
ad4f9823a2 merge: Fix stuck "new chat message" indicators when a room is deleted (!1216)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1216

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-08-16 19:08:33 +00:00
Marie
d872c6608f merge: Allow restricting announcement to a set of roles (!1161)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1161

Closes #682

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-08-16 08:11:08 +00:00
Marie
1f26659995 merge: Log IP addresses used during registration (!1163)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1163

Closes #836

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-08-16 08:06:34 +00:00
Marie
46d416e39f merge: Add custom font size option (!1207)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1207

Closes #1166

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-08-16 07:51:29 +00:00
Marie
53cb2384d0 merge: Preserve all streams when producing web-optimized videos (!1215)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1215

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-08-15 17:23:36 +00:00
Hazelnoot
a92d3ca121 delete any "new chat" notifications when deleting rooms 2025-08-13 23:54:09 -04:00
Hazelnoot
1695f4c800 pass -map 0 to preserve all streams 2025-08-13 23:10:57 -04:00
наб
155d2920b6
Dispose of the stream even if it gets closed early 2025-08-11 23:53:30 +02:00
наб
5aceeb31e7
Return request errors for /streaming in-band instead of in HTTP
Closes #591
2025-08-11 23:53:30 +02:00
наб
e22ae591b6
SignupApiService: logIp() additional logging 2025-08-11 23:53:14 +02:00
наб
132c25b271
Log IP addresses used during registration
Closes #836
2025-08-11 23:53:13 +02:00
наб
b61c1d5b27
forRoles IS NOT NULL, coalesce to empty=unrestricted 2025-08-11 23:53:05 +02:00
наб
f3b5c3f447
Allow restricting announcement to a set of roles. Fix MkRoleSelectDialog only respecting publicOnly half the time
Closes #682
2025-08-11 23:53:05 +02:00
Lilly Schramm
476cb011e2 feat: Also Populate 'og:video' 2025-08-11 17:33:18 +02:00
Lilly Schramm
6e46de3438 fix(BE): Set serverRules to ext 2025-08-09 18:00:40 +02:00
bunnybeam
55a0e11366
add custom font size option 2025-08-08 17:03:56 +01:00
dakkar
b1021b3518 more sensible variable names
thanks Hazelnoot
2025-08-03 13:33:27 +01:00
dakkar
9b164003d4 more robust "delivery suspend software"
upstream's code doesn't allow any way to match a version that `semver`
can't parse, not even with `*`:

```
> semver.satisfies('1-2-3','*');
false
> semver.satisfies('1.3','*');
false
> semver.satisfies('1.2.3','*');
true
```

while I was there, I added support for regexp in both name and
version, and added unit tests
2025-08-03 12:40:17 +01:00
dakkar
8f7629a819 Merge branch 'stable' into stable-2025.4.4-to-develop 2025-08-02 10:34:25 +01:00
dakkar
0c7982697b ignore missing local files when deleting them
without this, clearing cached files would fail when some local files
had already been deleted

thanks to Siina for reporting the problem
2025-07-29 10:38:08 +01:00
dakkar
ce3531ed96 merge: Improve URL validation *FOR STABLE* (!1191)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1191

Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-07-28 19:28:01 +00:00
Hazelnoot
db15ac0fbb fix DI error in HttpRequestService.ts 2025-07-27 19:39:20 +01:00
Hazelnoot
25622b536c resolve domain names when checking for private URLs 2025-07-27 19:39:20 +01:00
Hazelnoot
3c59a7ae01 allow HTTP connections to private IPs 2025-07-27 19:39:20 +01:00
Hazelnoot
af967fe6be refactor actor validation to reduce code duplication 2025-07-27 19:39:20 +01:00
Hazelnoot
07959b4a97 merge: Fix a few more error logging sites (!1181)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1181

Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-07-27 18:38:15 +00:00
Hazelnoot
2f67882f82 merge: Fix Postgres / TypeORM errors *FOR STABLE* (!1192)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1192

Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-07-27 18:02:25 +00:00
Hazelnoot
b39439f9fb merge: Fix factor scaling in rate limit *FOR STABLE* (!1194)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1194

Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-07-27 18:02:12 +00:00
Hazelnoot
823fdf2745 merge: Fix link verification for actors without a url field *FOR STABLE* (!1193)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1193

Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-07-27 18:01:58 +00:00
Hazelnoot
ec11092e8d fix cherry-pick error: restore CacheService.findOptionalUserById 2025-07-27 18:09:42 +01:00
Hazelnoot
84ca3621d8 fix users/report-abuse endpoint being really slow 2025-07-27 18:08:38 +01:00
Hazelnoot
9ac58e6107 scale rate limit dripRate with factor 2025-07-27 18:05:35 +01:00
Hazelnoot
2c8c422cb6 include profile URI for link verification 2025-07-27 18:03:35 +01:00
Hazelnoot
ea9335bcc8 fix more freeze / unfreeze errors caused by TypeORM bugs 2025-07-27 18:01:11 +01:00
Hazelnoot
73f2ee4fb3 fix user suspension / unsuspension not updating caches 2025-07-27 18:01:11 +01:00
Hazelnoot
f937f2d3c6 fix error in UserSuspendService.freezeAll and UserSuspendService.unFreezeAll caused by TypeORM bug 2025-07-27 18:01:11 +01:00
Hazelnoot
3dde7f25a6 move CaptchaError to a separate file to avoid circular import errors 2025-07-27 17:57:30 +01:00
Hazelnoot
dc19b18112 add comment about validation in verify-field-link.ts 2025-07-27 17:57:30 +01:00
Hazelnoot
e8c7134123 remove unused console logging fallbacks 2025-07-27 17:57:30 +01:00
Hazelnoot
bf455c2f7a use logger instead of console for uncaughtException debug lines 2025-07-27 17:57:30 +01:00
Hazelnoot
283facdd31 add workarounds for node-fetch crashes 2025-07-27 17:57:30 +01:00
Hazelnoot
d36b94c8cf fix URL errors from incorrect validation in validateActor 2025-07-27 17:57:30 +01:00
Hazelnoot
d3f672657e re-use parsed URI in validateActor 2025-07-27 17:57:30 +01:00
Hazelnoot
df0331ea04 verify URLs in DownloadService 2025-07-27 17:57:30 +01:00