Commit graph

9861 commits

Author SHA1 Message Date
Hazelnoot
b9109e5bb3 fix prop type for MKRolePreview 2025-05-16 17:40:10 -04:00
Hazelnoot
20e9c02431 add missing "inline" tag to reset password button 2025-05-16 17:40:10 -04:00
Hazelnoot
d47d7c1b7d remove extra <template> tag from ips block 2025-05-16 17:40:10 -04:00
Hazelnoot
1ac8ceb8a6 collapse moderation note if empty 2025-05-16 17:40:10 -04:00
Hazelnoot
d717df938b cleanup admin user UI
* hide inaccessible controls
* hide irrelevant controls
* remove duplicate components
* collapse details behind sections
* group all buttons
* apply semantic "warning" styles to buttons
* add follow stats
* translate untranslated strings
* group related controls
* resolve some lint errors
2025-05-16 17:40:06 -04:00
Hazelnoot
228e522081 add "followStats" property to admin/show-user response 2025-05-16 17:39:43 -04:00
Hazelnoot
2da1590e8a add "accent" styling to MkButton 2025-05-16 17:39:43 -04:00
Hazelnoot
fd339717c7 respect animation prefs in MkNumber 2025-05-16 17:39:43 -04:00
Marie
f869bdfc4e merge: await reverseConcat (!1029)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1029

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-05-15 17:55:38 +00:00
dakkar
323ad31605 await reverseConcat
before d7784ea4ff
`moreFetching.value=false` happened after the `nextTick` inside
`reverseConcat` had completed, but after that commit, it happens
immediately (as part of the try/finally)

this _probably_ doesn't matter, but let's avoid changes we didn't
intend
2025-05-15 15:11:18 +01:00
Hazelnoot
a2a38c78db merge: Experimental improvements to Delete Account process (maybe resolves #1035) (!1021)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1021

Closes #1035

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-15 13:00:47 +00:00
Hazelnoot
10622ceec7 replace andWhere with where 2025-05-14 23:26:22 -04:00
Hazelnoot
b7b30bde5d use /users endpoint for explore exclusively (restore original behavior) 2025-05-14 23:25:40 -04:00
Hazelnoot
bb8609d0f0 rename popularUsersLocal.host to popularUsersLocal.name 2025-05-14 23:25:22 -04:00
Hazelnoot
dee2e19b63 don't trend notes from non-explorable or non-trendable users 2025-05-14 23:24:51 -04:00
Hazelnoot
0b8c101d71 check ps.trending before hiding non-explorable users from /users endpoint 2025-05-14 23:24:51 -04:00
Hazelnoot
b4bce57fcb update user activity on Renote, Un-Renote, Note Edit, React, and Un-React 2025-05-14 23:24:51 -04:00
Hazelnoot
b22b5577b4 also delete AP logs for cascading notes 2025-05-14 23:24:51 -04:00
Hazelnoot
7cb7ed6fc9 decrement quote count correctly 2025-05-14 23:24:51 -04:00
Hazelnoot
36e1ad0f56 fix lint and TS errors in explore.users.vue 2025-05-14 23:24:51 -04:00
Hazelnoot
60373cb24f fix references to userOrId 2025-05-14 23:24:51 -04:00
Hazelnoot
57d32ea900 enforce "can trend" role policy in trending user page 2025-05-14 23:24:51 -04:00
Hazelnoot
81910cf725 add new featured tab for "users popular locally" 2025-05-14 23:24:48 -04:00
Hazelnoot
2e4ec0dd9e add role policy to allow note trending 2025-05-14 23:24:24 -04:00
Hazelnoot
535d316839 add warning banner about word mute limitations 2025-05-14 23:18:14 -04:00
Marie
1a9f8f782a merge: Allow port ranges in allowedPrivateIps (!1025)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1025

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-14 18:40:19 +00:00
Marie
1bed360444 merge: Fix "show muted word" setting (!1016)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1016

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-14 18:37:11 +00:00
Marie
7b0ee41c77 merge: Cache note translations in Redis (!1027)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1027

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-14 18:36:53 +00:00
dakkar
e0e9719555 extra safety check in toggleSuspended
if the instance is `softwareSuspended` (i.e. it's running code that we
don't want to federate with), manually toggling its suspension state
makes little sense

the actual control (`MkSwitch`) was already disabled in this case
2025-05-14 13:54:55 +01:00
dakkar
0d55090f0b fix accidental version downgrade of sharp-read-bmp 2025-05-14 13:54:55 +01:00
Hazelnoot
8348a36f24 cleanup, simplify, and merge duplicate word mute implementations 2025-05-13 22:58:24 -04:00
Hazelnoot
e7db6e5569 remove use of watch in external-services.vue 2025-05-13 22:32:49 -04:00
Hazelnoot
dc79244f5b fix parsing bare IPs 2025-05-13 22:28:19 -04:00
Hazelnoot
b888ff931d fix unit tests for HttpRequestService.ts 2025-05-13 22:27:18 -04:00
Hazelnoot
e914be3694 fix "network" property in allowedPrivateNetworks 2025-05-13 22:24:48 -04:00
Hazelnoot
ebd4ccdd55 enforce port restrictions against requests that happen to be missing the port 2025-05-13 22:22:40 -04:00
Hazelnoot
4ddb16aa9a rename "mask" to "prefixLength" for clarity 2025-05-13 22:21:03 -04:00
Hazelnoot
5116586d79 improve YAML syntax for defining allowed IPs 2025-05-13 22:19:24 -04:00
dakkar
94b07b2bc3 linting 2025-05-13 16:30:41 +01:00
dakkar
8e31774670 fix packed user schema 2025-05-13 16:27:35 +01:00
dakkar
1b27fb1a65 fix types in test/utils.ts 2025-05-13 16:13:15 +01:00
dakkar
00f3a1b479 fix types in api-visibility.ts 2025-05-13 16:13:05 +01:00
dakkar
da9ebb9f0a fix test/e2e/nodeinfo.ts 2025-05-13 15:35:53 +01:00
dakkar
64d254f07f fix test/e2e/fetch-validate-ap-deny.ts 2025-05-13 15:35:03 +01:00
dakkar
bc1cd86b10 fix test/e2e/blocks.ts
by adding a note visibility check on the backend
2025-05-13 15:29:38 +01:00
dakkar
76b5ec5264 fix test/e2e/well-known.ts 2025-05-13 15:15:30 +01:00
dakkar
cd728bee22 fix test/e2e/fetch-resource.ts 2025-05-13 15:12:34 +01:00
dakkar
a9b6cc1c00 fix test/e2e/streaming.ts
that was a race condition
2025-05-13 14:56:44 +01:00
dakkar
3ce3c42f31 fix test/e2e/api-visibility.ts
impressive that, on plain Misskey, un-authed calls to `notes/show`
will happily return DMs as long as you know the note id
2025-05-13 14:48:18 +01:00
dakkar
7a2958f356 fix test/e2e/antennas.ts 2025-05-13 14:36:01 +01:00