Commit graph

32427 commits

Author SHA1 Message Date
Hazelnoot
af6b4813b6 regenerate locales 2025-10-07 20:52:04 -04:00
Hazelnoot
429132fe5d update to new MkPagination 2025-10-07 20:50:18 -04:00
Hazelnoot
b48859e562 add pagination to i/shared-access/list and i/apps endpoints 2025-10-07 20:50:18 -04:00
Hazelnoot
90ff04eebc remove extraneous comment 2025-10-07 20:50:18 -04:00
Hazelnoot
36ee9382dd simplify checks for token roles 2025-10-07 20:50:18 -04:00
Hazelnoot
563929bb81 fix user.permissions not respecting token or moderator perms 2025-10-07 20:50:16 -04:00
Hazelnoot
af1a139f9a revert accidental change 2025-10-07 20:50:04 -04:00
Hazelnoot
1e3520ad6d reduce changes in MkNotification.vue 2025-10-07 20:50:04 -04:00
Hazelnoot
9d6a667710 revert un-needed refactor (2) 2025-10-07 20:50:04 -04:00
Hazelnoot
3747708eb5 revert un-needed refactor 2025-10-07 20:50:04 -04:00
Hazelnoot
f9a82fc424 remove commented code 2025-10-07 20:50:04 -04:00
Hazelnoot
df750a6b65 pass client token through API via caller ID 2025-10-07 20:50:04 -04:00
Hazelnoot
2e61fafe57 pass "me" in a few places that lack it 2025-10-07 20:50:04 -04:00
Hazelnoot
7f547a8c10 revert 44ff9f39: pass access token through API to enforce rank 2025-10-07 20:50:01 -04:00
Hazelnoot
d7a629e178 fix type errors in NotificationService / NotificationEntityService 2025-10-07 20:49:42 -04:00
Hazelnoot
b62f6ca042 inline token metadata into the notification instead of just storing the ID 2025-10-07 20:49:38 -04:00
Hazelnoot
156c7e9543 fix avatar rendering in MkNotification 2025-10-07 20:49:29 -04:00
Hazelnoot
82044e196e enable link and charts in shared access user previews 2025-10-07 20:49:29 -04:00
Hazelnoot
c650c575dc add withLink option to MkUserCardMini.vue 2025-10-07 20:49:29 -04:00
Hazelnoot
534fc2b75d fix typo in sign-in menu (share access => shared account) 2025-10-07 20:49:29 -04:00
Hazelnoot
d7120b7ff8 replace enable/disable all buttons with toggles 2025-10-07 20:49:29 -04:00
Hazelnoot
1584ec5b7d place "enable all" buttons before "disable all" 2025-10-07 20:49:29 -04:00
Hazelnoot
bc1e506176 allow moderators to create tokens with admin permissions 2025-10-07 20:49:29 -04:00
Hazelnoot
7f95734891 add missing permission nodes to UI 2025-10-07 20:49:29 -04:00
Hazelnoot
0327451302 show warning when creating a token without permissions or grantees 2025-10-07 20:49:29 -04:00
Hazelnoot
308bb2639b fix CSS of grantee list in token generate window 2025-10-07 20:49:29 -04:00
Hazelnoot
62e3a881f9 add shared access section to user security page 2025-10-07 20:49:29 -04:00
Hazelnoot
a1bd5f0f52 fix logging in to an existing account with different token 2025-10-07 20:49:29 -04:00
Hazelnoot
b00604b89e add onlySharedAccess option to apps list 2025-10-07 20:49:29 -04:00
Hazelnoot
1ab17ace37 rename enableSharedAccess to withSharedAccess 2025-10-07 20:49:29 -04:00
Hazelnoot
e51524f1a6 expose reload function from apps list 2025-10-07 20:49:29 -04:00
Hazelnoot
2d41b0dcb0 fix pagination in apps list 2025-10-07 20:49:29 -04:00
Hazelnoot
fbc9663192 fix translation of null rank in apps list 2025-10-07 20:49:29 -04:00
Hazelnoot
bed23508d4 move grantees about permissions in apps list 2025-10-07 20:49:29 -04:00
Hazelnoot
82cac0bbb7 add onlySharedAccess option to i/apps endpoint 2025-10-07 20:49:29 -04:00
Hazelnoot
cc3076d6d2 move shared access option above permissions lists 2025-10-07 20:49:29 -04:00
Hazelnoot
f8c90c6d18 fix enableSharedAccess option 2025-10-07 20:49:28 -04:00
Hazelnoot
35a167701f add notifications for shared access granted/revoked/login 2025-10-07 20:49:28 -04:00
Hazelnoot
2a13e97863 update misskey-js 2025-10-07 20:49:28 -04:00
Hazelnoot
aa9a70c5a6 fix frontend crash in apps.vue 2025-10-07 20:49:28 -04:00
Hazelnoot
ef700ddf73 fix layout and bugs in generate token modal 2025-10-07 20:49:28 -04:00
Hazelnoot
e51bee48ec return token rank in i/shared-access/list 2025-10-07 20:49:28 -04:00
Hazelnoot
945260d175 fix error in i/shared-access/list 2025-10-07 20:49:28 -04:00
Hazelnoot
ac576ca7fc prompt to confirm before revoking token 2025-10-07 20:49:28 -04:00
Hazelnoot
5742aade4c check that grantees are local 2025-10-07 20:49:28 -04:00
Hazelnoot
18622fb540 fix lint error in ApiCallService.ts 2025-10-07 20:49:28 -04:00
Hazelnoot
7a6ac302f5 return assigned permissions from /i endpoint (resolves #657) 2025-10-07 20:49:28 -04:00
Hazelnoot
8955d05962 fix wrong API parameter in i/shared-access/login 2025-10-07 20:49:28 -04:00
Hazelnoot
49dad22609 replace shared_access_token table with an extra column on access_token 2025-10-07 20:49:28 -04:00
Hazelnoot
e5cf9d3f9a add migration for access token rank 2025-10-07 20:49:28 -04:00