From 064a7906f6c6e18ad4ce5fb5a19e5e3d02144358 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 23 Feb 2026 17:25:28 +0100 Subject: user settings page --- common/src/api.rs | 1 + common/src/user.rs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'common/src') diff --git a/common/src/api.rs b/common/src/api.rs index beccaa5..bec33ba 100644 --- a/common/src/api.rs +++ b/common/src/api.rs @@ -27,6 +27,7 @@ fields! { VIEW_ADMIN_IMPORT: Object = b"adim"; VIEW_ADMIN_INFO: Object = b"adin"; VIEW_ADMIN_LOG: Object = b"adlo"; + VIEW_USER_SETTINGS: Object = b"uset"; ADMIN_IMPORT_BUSY: () = b"busy"; ADMIN_IMPORT_ERROR: &str = b"erro"; // multi diff --git a/common/src/user.rs b/common/src/user.rs index fcb8eea..ccd9c5c 100644 --- a/common/src/user.rs +++ b/common/src/user.rs @@ -4,12 +4,13 @@ Copyright (C) 2026 metamuffin */ -use jellyobject::fields; +use jellyobject::{enums, fields}; fields! { USER_LOGIN: &str = b"Ulgn"; USER_PASSWORD: &[u8] = b"Upwd"; USER_NAME: &str = b"Unam"; + USER_THEME: &str = b"Uthm"; USER_ADMIN: () = b"Uadm"; UDATA_WATCHED: () = b"Dwat"; -- cgit v1.3