Commit Graph

82 Commits

Author SHA1 Message Date
Patrick c25f72b3ac fixed the selection of a wrong month 2025-10-16 02:15:00 +02:00
Patrick b7563a2274 fixed bug where wrong month was selected in estimate_by_month 2025-10-16 01:43:14 +02:00
Patrick 2b15580e3c now displays correct salutation instead of undefined 2025-10-16 01:26:51 +02:00
Patrick 07b7477940 fixed bug where user update did not update local state 2025-10-16 01:23:15 +02:00
Patrick aed2db9360 Now also installs the latex compiler 2025-10-16 00:20:07 +02:00
Patrick 81a3251c65 Hopefully it works now 2025-10-15 00:19:01 +02:00
Patrick 20cb02009f made it run 2025-10-15 00:04:53 +02:00
Patrick 9d571e9635 fixed inability to create documents because of missing templates 2025-10-14 18:37:32 +02:00
Patrick d39a3f4ab7 updated packages 2025-10-14 18:36:52 +02:00
Patrick 8f76173bc5 Added token refresh for session tokens 2025-09-11 16:01:10 +02:00
Patrick 1476289722 added permissions to user creation 2025-09-09 00:18:18 +02:00
Patrick d5fe38fbef fixed typo in user database creation query 2025-09-08 23:50:57 +02:00
Patrick 15ba32095d fixed missing await on (first) user creation 2025-09-08 18:53:19 +02:00
Patrick 8c2039c8a4 Added user administration 2025-09-08 16:04:18 +02:00
Patrick 170e8a8c4f implemented user creation and deletion 2025-09-08 15:28:40 +02:00
Patrick 30e7d2139d renamed add to create 2025-09-08 15:28:10 +02:00
Patrick 503c86a84b Implemented a basic json import and export of user data 2025-09-08 00:34:58 +02:00
Patrick f801f82faa Implemented permissions and user administration (#2)
Reviewed-on: https://git.maschek.info/Patrick/Stundenaufzeichnung/pulls/2
2025-08-25 17:33:03 +02:00
Patrick 8620e9b0cd renamed EDIT_PASSWORD to ADMIN 2025-08-25 17:23:47 +02:00
Patrick b1787cda4e fixed the inability to fully remove permissions 2025-08-25 17:21:58 +02:00
Patrick 0cd32a0276 reintroduced permission check 2025-08-25 16:53:57 +02:00
Patrick 1049b04968 checking for permission to display permissions 2025-08-25 16:53:11 +02:00
Patrick a46c302be8 now includes full user information in loggedInAs 2025-08-25 16:52:12 +02:00
Patrick 23752001e7 added changing permisisons to database 2025-08-25 16:50:26 +02:00
Patrick 98570a1e5f added permission selector to account page 2025-08-25 15:29:34 +02:00
Patrick 1f72e586f2 moved ALL property to top level as function, added iterate, is_meta and deconstruct and refactored display_name 2025-08-25 15:27:25 +02:00
Patrick 9093ddaeb5 added display name to config 2025-08-22 13:54:27 +02:00
Patrick b2e6f059a6 extended account page 2025-08-21 08:44:54 +02:00
Patrick 803dcd19cb logout, account and useradmin now only shows when logged in 2025-08-20 21:18:38 +02:00
Patrick 67255f3773 added any permissions check and added ALL Group permission 2025-08-20 21:17:17 +02:00
Patrick 243612ebbc Added user rudimentary admin page and ability to view other users 2025-08-05 17:53:44 +02:00
Patrick 9d00b1b76c added account link 2025-08-05 15:16:11 +02:00
Patrick f18f430c0e added basic user editing 2025-08-05 15:16:11 +02:00
Patrick f0b2e9a818 first steps of implementing permissions 2025-08-05 15:16:11 +02:00
Patrick 1adbcf9a44 prepared implementation of permissions 2025-08-05 15:16:11 +02:00
Patrick d0af8e9b2e fixed redirect after login 2025-08-05 13:56:05 +02:00
Patrick 144124f4df removed PDFGen and removed console.logs from docstore 2025-08-05 12:48:03 +02:00
Patrick 7bd80d048b readded checkOrigin correctly 2025-08-02 16:18:46 +02:00
Patrick e9b704f86d revert-csrf (#1)
Revert the use of custom CSRF to sveltekit internal

Reviewed-on: https://git.maschek.info/Patrick/Stundenaufzeichnung/pulls/1
2025-08-02 16:15:17 +02:00
Patrick 25ece0e1f9 fixed broken checkOrigin rule in svelte.config 2025-08-02 15:43:17 +02:00
Patrick 1a456ca23d removed user creation on database initialization 2025-07-30 01:50:39 +02:00
Patrick 2fb4f8ac98 added log statement to csrf validation 2025-07-27 18:12:17 +02:00
Patrick 098317cbcb implemented custom csrf 2025-07-27 18:07:11 +02:00
Patrick 8eb4724458 reintroduced use:enhance for login form 2025-07-27 17:49:43 +02:00
Patrick bafbbfbccb reverted the use of use:enhance on login form 2025-07-27 17:21:15 +02:00
Patrick 1ef75efcd8 user setup now only triggers if no user is present not on every startup 2025-07-27 06:40:08 +02:00
Patrick 214bbdfb4d added and updated a few log statements 2025-07-27 06:34:54 +02:00
Patrick 897c172dfc added env file for production and log statement in hooks for origin 2025-07-26 18:42:23 +02:00
Patrick 982482e762 converted content div to css class 2025-07-21 06:40:06 +02:00
Patrick d266b7143c updated csp to be able to add the style nonce 2025-07-21 06:29:15 +02:00