Commit graph

148 commits

Author SHA1 Message Date
Timothy Jaeryang Baek
eb10ff2ae6 refac: rm substandard code 2025-09-07 00:16:07 +04:00
Timothy Jaeryang Baek
f6637cc78e refac 2025-08-27 04:18:18 +04:00
Timothy Jaeryang Baek
dced9e4094 refac 2025-08-26 15:06:50 +04:00
Timothy Jaeryang Baek
803b2e35be enh: delete_message, continue_response, regenerate_response, rate_response user permissions
Co-Authored-By: G30 <50341825+silentoplayz@users.noreply.github.com>
2025-08-26 15:05:35 +04:00
Timothy Jaeryang Baek
1a15a62b73 chore: format 2025-08-21 04:47:28 +04:00
Peter Dave Hello
45180e829a i18n: add missing translations 2025-08-20 22:14:23 +08:00
silentoplayz
82ed9b0a97 i18n.t: updates 2025-08-13 20:15:16 -04:00
Athanasios Oikonomou
c11f02662f fix: use prettier to format last commit 2025-08-13 09:36:18 +03:00
Athanasios Oikonomou
5543f30c49 feat: Allow navigating to user group from user edit
This commit allow navigating from user edit to user group, allowing faster updates to groups.
The querystringValue function was moved to lib/utils to reuse it in multiple places.
2025-08-12 01:08:56 +03:00
Timothy Jaeryang Baek
662f3cd1b3 refac 2025-08-10 16:13:13 +04:00
Athanasios Oikonomou
dc453efa5c feat: Display assigned user groups in Admin Panel
Description:
This PR adds the ability to view a user’s assigned groups in the Admin Panel when editing a user.

Backend Changes:
    Added a new endpoint:
    GET /api/v1/users/{user_id}/groups

        Returns the list of groups assigned to a specific user.
        Requires admin privileges.

Frontend Changes:
    Implemented getUserGroupsById API function to call the new backend endpoint, in lib/apis/users.

    Updated EditUserModal.svelte to:
        Load user groups asynchronously when the modal is opened.
        Display the groups inline in the form before the Save button.
        Show a loading state while fetching, and a “No groups assigned” message if none exist.

Result:
Admins can now see which groups a user belongs to directly from the edit user modal,
improving visibility and reducing the need to navigate away for group membership checks.
2025-08-10 14:49:01 +03:00
Timothy Jaeryang Baek
69f6fbe4e7 refac 2025-08-08 18:40:03 +04:00
Timothy Jaeryang Baek
173fa62af3 refac 2025-08-04 17:28:26 +04:00
Timothy Jaeryang Baek
2d2fbdb341 fix: styling 2025-08-04 16:02:48 +04:00
Timothy Jaeryang Baek
8562e3e438 refac: styling 2025-08-04 15:04:16 +04:00
Tim Jaeryang Baek
6ce1166b98
Merge pull request #16033 from silentoplayz/sticky-search
refac: sticky headers & smarter pagination on users list page
2025-08-04 15:03:02 +04:00
silentoplayz
56eeed6277 feat: Add password visibility toggle to password fields w SensitiveInput.svelte component 2025-08-03 16:07:12 -04:00
Timothy Jaeryang Baek
56af3e7357 refac: granular chat controls permissions 2025-07-31 18:59:37 +04:00
Timothy Jaeryang Baek
708e0ed05e refac/enh: chat controls permissions 2025-07-31 18:58:58 +04:00
Timothy Jaeryang Baek
73a38aca72 refac 2025-07-30 14:09:33 +04:00
silentoplayz
67baecdc8e fix 2025-07-25 16:05:42 -04:00
silentoplayz
92fe7544c8 Sticky top bars for Leaderboard and UserList pages 2025-07-25 15:57:03 -04:00
Timothy Jaeryang Baek
95b11207a1 fix: group user load 2025-07-19 23:16:44 +04:00
Timothy Jaeryang Baek
b1752cfb6a refac: styling 2025-07-14 21:24:31 +04:00
Timothy Jaeryang Baek
288fba874e refac: styling 2025-07-14 20:08:49 +04:00
Timothy Jaeryang Baek
af59bee2ea refac 2025-07-12 17:17:31 +04:00
guenhter
196af9eaf7 chore: streamline the URL used for resources like favicon.png 2025-07-09 09:14:51 +02:00
Timothy Jaeryang Baek
d2485bbf09 refac 2025-07-03 18:13:23 +04:00
Timothy Jaeryang Baek
90257442e3 refac: styling 2025-06-27 16:15:16 +04:00
Timothy Jaeryang Baek
c8e8111dd9 refac 2025-06-27 15:44:26 +04:00
Tim Jaeryang Baek
276bfa02d0
Merge pull request #15314 from silentoplayz/spinner-and-xmark-icon-components
refac: Spinner and XMark components
2025-06-27 15:23:29 +04:00
Silentoplayz
d1e3940abd refac: Spinner and XMark components 2025-06-25 18:44:45 -04:00
Silentoplayz
dd0e6bf58f remove class="w-5 h-5" /> 2025-06-25 14:04:40 -04:00
Silentoplayz
3f865f0b66 chore: MagnifyingGlass -> Search 2025-06-25 13:42:18 -04:00
Timothy Jaeryang Baek
bc7defbdd0 refac: allow editing own email 2025-06-16 15:23:03 +04:00
Timothy Jaeryang Baek
99e18d49dc enh: system prompt user permission 2025-06-16 15:12:32 +04:00
Timothy Jaeryang Baek
ab42a192e6 refac: styling 2025-06-10 17:54:08 +04:00
Timothy Jaeryang Baek
e41e375aab refac: role update ui 2025-05-31 15:00:27 +04:00
Timothy Jaeryang Baek
e65ac97c45 refac 2025-05-25 01:59:48 +04:00
Timothy Jaeryang Baek
b2b1a21299 refac 2025-05-25 01:48:37 +04:00
Timothy Jaeryang Baek
75208935d7 refac: user chat list modal 2025-05-25 01:44:53 +04:00
Jesper Kristensen
84e0605835
Cleaning up usage of console log in front end 2025-05-15 21:53:07 +02:00
Timothy Jaeryang Baek
f32b042a00 refac 2025-05-12 01:08:49 +04:00
Timothy Jaeryang Baek
015ac2f532 refac: user list loading indicator 2025-05-10 17:23:17 +04:00
Classic298
220d35ebcb
Increase users shown per page to 30 2025-05-09 13:00:42 +02:00
Timothy Jaeryang Baek
33c206c15c enh: include profile image during user import 2025-05-05 16:17:20 +04:00
Timothy Jaeryang Baek
abdde10b74 refac 2025-05-05 16:12:41 +04:00
Timothy Jaeryang Baek
26e9cd0b4b enh: user role update confirm dialog 2025-05-05 16:10:36 +04:00
Timothy Jaeryang Baek
457a0f318a refac 2025-05-05 16:05:39 +04:00
Timothy Jaeryang Baek
84a05bec7b enh: notes user group permission 2025-05-04 17:22:51 +04:00
Timothy Jaeryang Baek
783d409b1d refac 2025-04-30 16:58:38 +04:00
Timothy Jaeryang Baek
c1fa989cb8 refac: styling 2025-04-30 16:54:51 +04:00
Timothy Jaeryang Baek
f9d238e850 refac: user list sub-standard code 2025-04-30 16:49:41 +04:00
Tim Jaeryang Baek
db06a925fe
Merge pull request #13267 from AnapatChaiwongse/dev
feat: implement pagination for /admin/users
2025-04-30 05:04:14 -07:00
Timothy Jaeryang Baek
791c19acf7 enh: unicode char support for user import 2025-04-28 17:26:19 +04:00
KaeOhhhh
2112067054 Support pagination in /admin/users API
Update Users.svelte

Update index.ts

Update users.py

Update users.py

Update UserList.svelte
2025-04-28 11:29:42 +07:00
Timothy Jaeryang Baek
2f7b5acdf8 enh: chat share & export permissions 2025-04-23 14:43:33 +09:00
Timothy Jaeryang Baek
d932fc555d enh: tts/stt user permissions 2025-04-14 01:40:22 -07:00
Timothy Jaeryang Baek
c1444cbbba refac 2025-04-12 21:47:46 -07:00
Timothy Jaeryang Baek
40f9747ae4 refac 2025-04-12 21:44:47 -07:00
Timothy Jaeryang Baek
ac8e81834c refac 2025-04-12 21:44:15 -07:00
Timothy Jaeryang Baek
79dff685ea feat: multiple models chat user permissions 2025-04-12 17:37:30 -07:00
Timothy Jaeryang Baek
7eea95a48c feat: direct tools user permissions 2025-04-02 18:36:03 -07:00
Erik
295c7eb4c7 [improvement] default permission for new groups is false for enforce temp chat 2025-04-01 08:27:29 +02:00
Timothy Jaeryang Baek
5f792d2771 feat: enforced temporary chat 2025-03-31 17:58:43 -07:00
Timothy Jaeryang Baek
50b3f47f81 feat: public sharing permissions 2025-03-31 17:15:51 -07:00
Timothy Jaeryang Baek
cdb5eae43a refac 2025-03-09 15:05:13 +00:00
Timothy Jaeryang Baek
0dce81f646
Merge pull request #11423 from silentoplayz/confirmation-prompts
feat: add more confirmation prompts
2025-03-09 07:40:36 -03:00
Silentoplayz
d669932137 add confirmation prompts 2025-03-08 13:42:24 -05:00
Timothy Jaeryang Baek
58ff221d1f refac 2025-03-08 16:48:32 +00:00
Timothy Jaeryang Baek
b94de4f002 refac 2025-03-04 02:45:05 -08:00
juxiang
55b0ac85d1 Added user filtering by email and username
Added user filtering by email and username
2025-02-19 00:53:38 +08:00
Timothy Jaeryang Baek
a79a6a5c34 chore: format 2025-02-17 18:51:40 -08:00
Timothy Jaeryang Baek
fd8998a38f refac 2025-02-15 19:50:40 -08:00
Timothy Jaeryang Baek
60e322962e refac 2025-02-15 19:35:12 -08:00
Timothy Jaeryang Baek
e3fa48b6ce chore: tailwind v4 migration 2025-02-15 19:27:25 -08:00
Timothy Jaeryang Baek
3adfa29f7d chore: format 2025-02-03 21:56:35 -08:00
Timothy Jaeryang Baek
70b8199030 chore: format 2025-02-03 13:37:29 -08:00
Sharon Fox
dda945f4ad
feat: Localized dates and times 2025-01-26 02:47:23 -05:00
Timothy Jaeryang Baek
94d0f84c0c refac: styling 2025-01-20 23:26:43 -08:00
Timothy Jaeryang Baek
a863f98c53 refac: toast error 2025-01-20 22:41:32 -08:00
Timothy Jaeryang Baek
56f57928c2 enh/refac: permissions 2025-01-15 23:01:43 -08:00
Timothy Jaeryang Baek
433168c450 fix: add user modal 2025-01-08 00:02:33 -08:00
Timothy Jaeryang Baek
370f97b44e refac 2024-11-30 23:33:19 -08:00
Timothy Jaeryang Baek
02cafca584 refac 2024-11-18 09:00:51 -08:00
Timothy Jaeryang Baek
7fe10763c1 fix 2024-11-16 15:26:01 -08:00
Timothy Jaeryang Baek
646d926f70 enh: chat file upload permission 2024-11-16 02:31:04 -08:00
Timothy Jaeryang Baek
240c91e79d wip: access control 2024-11-16 01:24:34 -08:00
Timothy Jaeryang Baek
d9dc04f1a1 refac: frontend 2024-11-15 02:05:43 -08:00
Timothy Jaeryang Baek
b80ec76435 refac 2024-11-14 20:51:49 -08:00
Timothy Jaeryang Baek
dae764fa5a feat: groups integration 2024-11-14 18:37:42 -08:00
Timothy Jaeryang Baek
73cdf90527 refac: styling 2024-11-14 03:20:35 -08:00
Timothy Jaeryang Baek
85d7f1c6ed refac 2024-11-14 03:16:26 -08:00
Timothy Jaeryang Baek
0e8c0b452e wip: frontend 2024-11-14 02:20:34 -08:00
Timothy Jaeryang Baek
ce9aef900c wip: frontend 2024-11-13 21:21:50 -08:00
Timothy Jaeryang Baek
baea26d9ca wip: user groups frontend 2024-11-13 03:09:46 -08:00
Timothy Jaeryang Baek
6caf838964 feat: user groups frontend 2024-11-13 02:00:00 -08:00
Timothy Jaeryang Baek
c260274538 refac: admin users page 2024-11-12 21:51:42 -08:00