dakkar
1b213dece8
better git version info
...
My previous patch to embed git version info in nodeinfo had some
issues, like it produced `2024.4.4-249-g04d45859e6` when building on
current `develop`, which is arguably correct but not helpful (it
should really say `2025.5.2-dev` somewhere!)
* if we're on a tag, trust `package.json`
* if we're not, *append* the current commit hash
so for example, building on `stable` right now gets you `2025.4.4`,
and building on the parent of this commit gets you
`2025.5.2-dev+g04d45859e6`
the `+` is correct according to https://semver.org/
2025-08-02 11:07:57 +01:00
Marie
04d45859e6
merge: prevent excessive trimming in emoji picker's input box - fix #1165 ( !1197 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1197
Closes #1165
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-07-30 18:50:51 +00:00
Marie
b9f96c259f
merge: remove mousemove callback when there's no longer a cat - fix #1158 ( !1198 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1198
Closes #1158
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-07-30 18:50:40 +00:00
Marie
05a73d8f35
merge: ignore missing local files when deleting them ( !1200 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1200
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-07-30 18:49:31 +00: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
2b083287a5
mark the callback as "passive", should improve performance
...
see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#using_passive_listeners
2025-07-28 15:55:36 +01:00
dakkar
b3857c6d9a
remove mousemove callback when there's no longer a cat
2025-07-28 15:53:16 +01:00
dakkar
884ccad588
prevent excessive trimming in emoji picker's input box
...
there's no reason to trim before assigning to `q.value` (which gets
reflected to the `<input>` control and ends up trimming end spaces
when back-spacing)
the stated reason for messing with the control's own value every time
it changes, is to handle changes while Android is composing; I've
tested that, while I'm composing a character with my input method on
X11, search responds to each keypress, and I think it's good enough
2025-07-28 15:27:20 +01:00
Hazelnoot
7d005876fb
merge: make trustedDomains persist across reloads ( !1174 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1174
Approved-by: Marie <github@yuugi.dev>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-07-27 20:33:37 +00: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
9e244c2de7
merge: Fix extremely poor performance of users/report-abuse endpoint ( !1183 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1183
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 18:05:49 +00:00
Hazelnoot
924528749b
fix cherry-pick error: restore CacheService.findOptionalUserById
2025-07-27 12:04:59 -04:00
Hazelnoot
534a25ddbf
fix users/report-abuse endpoint being really slow
2025-07-27 12:04:42 -04:00
Hazelnoot
3cffd4a537
merge: embed git commit info in nodeinfo&c ( !1144 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1144
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 15:30:31 +00:00
Hazelnoot
07295ad62d
merge: Split descriptions. ( !1167 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1167
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 15:29:41 +00:00
Hazelnoot
6173a827f7
merge: Deduplicate job queues ( !1190 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1190
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 15:28:18 +00:00
Marie
ae65642ffb
merge: StreamingApiServerService: handle websocket errors from client gracefully ( !1166 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1166
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:28:05 +00:00
Marie
41be003d79
merge: Slightly optimize i/update-remote-user endpoint by fetching from cache ( !1185 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1185
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:23:06 +00:00
Hazelnoot
b6c8f4f876
merge: Add more "detail" flags to API endpoints ( !1186 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1186
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:22:11 +00:00
Marie
b41027c6e4
merge: replace URL path for inlined SearchMarkers - fixes #1154 ( !1171 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1171
Closes #1154
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:21:50 +00:00
Hazelnoot
1cf5988885
merge: Improve URL validation ( !1155 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1155
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:21:20 +00:00
Marie
9363842084
merge: Prevent Mastodon API error when not fetching reply or renote ( resolves #1125 ) ( !1170 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1170
Closes #1125
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:19:26 +00:00
Marie
1d9184f76e
merge: lowercase username for UsedUsernamesRepository - fixes #1161 ( !1173 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1173
Closes #1161
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:18:53 +00:00
Hazelnoot
e46c3f14fa
merge: Fix occasional API errors caused by null jobs ( !1179 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1179
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:18:45 +00:00
Hazelnoot
6ed0033559
merge: Fix duplicate ModLog entries from admin/delete-all-files-of-a-user endpoint ( !1177 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1177
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:18:39 +00:00
Marie
a53196c407
merge: Limit chat messages based on maxNoteLength ( !1188 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1188
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:17:36 +00:00
Marie
4afd2cc14f
merge: Show popup when chat API returns an error ( !1189 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1189
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:17:26 +00:00
Marie
195f1adbc9
merge: Use bucket rate limit for posts and chat messages ( !1187 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1187
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:17:14 +00:00
Hazelnoot
42807cb3fb
merge: Increase rate limit (allow more calls) for import endpoints ( !1184 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1184
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:15:19 +00:00
Hazelnoot
94b6dec543
merge: Fix Postgres / TypeORM errors when suspending a user with follow relations ( resolves #482 ) ( !1178 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1178
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:14:13 +00:00
Hazelnoot
57d77b8f99
merge: Fix link verification for actors without a url field ( !1180 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1180
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:13:51 +00:00
Hazelnoot
ef2d5757eb
merge: Fix factor scaling in rate limit ( !1182 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1182
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:13:32 +00:00
Hazelnoot
cd5a4ee392
support ApiError responses in renderError
2025-07-26 20:18:05 -04:00
Hazelnoot
e78c4d99f6
fix database type of chat_message.text
2025-07-26 20:10:54 -04:00
Hazelnoot
dc1416d5d8
fix rendering of errors from Chat API
2025-07-26 20:05:13 -04:00
Hazelnoot
c803228952
implement printError function for frontend
2025-07-26 20:05:03 -04:00
Hazelnoot
9eaf397b2d
de-duplicate export jobs
2025-07-26 19:41:39 -04:00
Hazelnoot
30ea722751
de-duplicate delete drive files jobs
2025-07-26 19:39:50 -04:00
Hazelnoot
95a27f4eb4
de-duplicate object storage jobs
2025-07-26 19:39:01 -04:00
Hazelnoot
fc4ed0da5a
de-duplicate relationship jobs
2025-07-26 19:37:54 -04:00
Hazelnoot
b9e610473b
de-duplicate delete account jobs
2025-07-26 19:36:47 -04:00
Hazelnoot
4b29d59a9b
de-duplicate import jobs
2025-07-26 19:34:58 -04:00
Hazelnoot
7da9225104
de-duplicate inbox activities by ID
2025-07-26 19:21:29 -04:00
Hazelnoot
71487f7881
render Update(*) activities with deterministic IDs
2025-07-26 19:21:19 -04:00
Hazelnoot
45212cbd56
show popup when chat API returns an error
2025-07-26 19:14:49 -04:00
Hazelnoot
591c6d603f
use bucket rate limit for posts and chat messages
2025-07-26 19:10:22 -04:00
Hazelnoot
b71cd6c2c8
limit chat messages based on maxNoteLength instead of hardcoded 2000 chars
2025-07-26 19:06:39 -04:00
Hazelnoot
88231c61af
merge: Change profile field value to not include <p> ( !1141 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1141
Closes #1123
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-07-26 22:49:40 +00:00
Hazelnoot
a1bd0a3580
fix two instances of logging full exceptions
2025-07-25 17:00:53 -04:00
Hazelnoot
53c7db3d1d
fix DI error in HttpRequestService.ts
2025-07-25 16:33:15 -04:00