Commit Graph
92 Commits
Author SHA1 Message Date
schn33fuchs 8fd35f3e82 Documentation 2026-06-07 11:56:16 +02:00
schn33fuchs 177e959bbd Center 2026-06-06 18:53:44 +02:00
schn33fuchs 3d68064b33 Resize 2026-06-06 18:50:56 +02:00
schn33fuchs 52ca6ec96f Home button
now has an svg
2026-06-06 18:48:14 +02:00
schn33fuchs 7f3913dcfb Post merge fix 2026-06-06 18:44:40 +02:00
schn33fuchs 31e98c0936 Merge branch 'ticket_background' 2026-06-06 18:36:31 +02:00
schn33fuchs b404ff5bc9 Path
Fixed layout issues and joke message
2026-06-06 18:31:05 +02:00
schn33fuchs c3b7321005 Styling
The ticket backgrounds have color depending on background and some
improvements
2026-06-06 18:18:22 +02:00
schn33fuchs 810d554cb9 Fixed bug
You could set the password to be an empty string
2026-06-05 21:35:54 +02:00
schn33fuchs 390630886e Merge pull request 'Icon' (#42) from Icon into main
Reviewed-on: #42
2026-06-03 16:57:13 +02:00
schn33fuchs 0ee20e2833 Icon in the corner 2026-06-03 16:10:37 +02:00
schn33fuchs b7f8df624c Favion
Its there now
2026-06-03 15:53:57 +02:00
schn33fuchs 8a9c9efbcc Icons 2026-06-03 15:52:10 +02:00
schn33fuchs c31375573f .gitignore
update
2026-06-03 15:48:52 +02:00
schn33fuchs bf0197adae .gitignore 2026-05-13 16:58:44 +02:00
schn33fuchs c6a4a24fb6 Sam did something 2026-05-13 13:31:56 +02:00
schn33fuchs 52387f7333 Fun times 2026-05-13 12:18:55 +02:00
schn33fuchs 6eb84d24e0 Archive
There is now an archive for tickets
2026-05-11 20:46:06 +02:00
schn33fuchs d9ef5746a2 Home page and sidebar update
Home page now shows who is logged in and the sidebar has a button to
home
2026-05-11 13:03:00 +02:00
schn33fuchs 535d940857 Removed unneeded imports 2026-05-10 10:26:16 +02:00
schn33fuchs 33df619c8d Cargo doc fixes
It's good now
2026-05-10 10:18:45 +02:00
schn33fuchs b87a6ff297 Docs.rs comments
Comments for generating the docs with cargo doc
2026-05-09 23:00:15 +02:00
schn33fuchs 8ddfe2ba14 Frontend initial admin setup 2026-05-09 17:33:24 +02:00
schn33fuchs 26ac32db21 Backend initial admin setup 2026-05-09 17:33:14 +02:00
schn33fuchs 99bcbaf3b0 Trunk 2026-05-06 15:56:55 +02:00
schn33fuchs 72f126c7da Some minor updates 2026-05-06 15:56:21 +02:00
schn33fuchs d41b31b5af Diagnosics styling
It looks nice now
2026-05-05 16:34:09 +02:00
schn33fuchs 7bde1470a1 Logout button
And styling for it
2026-05-04 16:45:52 +02:00
schn33fuchs 331552b656 Some bugfixes 2026-05-04 16:45:39 +02:00
schn33fuchs 654b55a2a4 Put some api calls behind admin access 2026-05-02 19:15:40 +02:00
schn33fuchs 931bd27c65 Sidebar fix
Styles now actually get applied and sidebar doesn't block content
Also the login page doesn't have a sidebar now
2026-05-02 19:09:41 +02:00
schn33fuchs 4a3d432e9a Fixed dependency mismatch 2026-05-02 18:42:52 +02:00
schn33fuchs daeabad01e Packed both crates into one 2026-05-02 16:25:17 +02:00
schn33fuchs 1ba2d20786 Clippy satisfied 2026-05-02 16:18:28 +02:00
schn33fuchs 31162bb8c9 Minor Improvements 2026-05-02 16:16:09 +02:00
schn33fuchs 410bf95f4a Sidebar update 2026-05-02 15:24:03 +02:00
schn33fuchs 1017f495f8 Tickets per rooms shown
In diagnostics
2026-05-02 15:18:11 +02:00
schn33fuchs 38603dc84b Room parsing from text
K1 -> -1
D1 -> 1001
1 -> 1
2026-05-02 15:01:26 +02:00
schn33fuchs 504569e305 Average of tickets submitted per weekday
Avvailable in the diagnostics
2026-05-02 15:00:46 +02:00
schn33fuchs 37c00b0190 View still active tickets 2026-05-02 13:00:30 +02:00
schn33fuchs 4bdf3dc04a Updated gitignore
node_modules now ignored
2026-05-02 12:32:38 +02:00
schn33fuchs 9eb843a786 Sidebar styling
In general styling capabilities with scsss
2026-05-02 12:27:27 +02:00
schn33fuchs fa77190555 Sidebar logic 2026-05-02 12:26:59 +02:00
schn33fuchs 3d1366e704 Pages link to each other 2026-05-02 10:41:11 +02:00
schn33fuchs 6d8fcc6b53 Home page changes depending on role 2026-05-02 10:23:50 +02:00
schn33fuchs d541cf18b1 Minor bugfixes 2026-05-02 10:23:25 +02:00
schn33fuchs 12c618f8dd Bux fix
Bug: when getting user by id, it would try to parse i16 to i32, type
changed
2026-05-01 18:12:24 +02:00
schn33fuchs 92fdb87cf0 Timezone now CET 2026-05-01 18:11:40 +02:00
schn33fuchs 4fc1c2eeb8 Non admin only see their tickets 2026-05-01 17:07:20 +02:00
schn33fuchs fdd2e2a757 admin pages
Pages can now be locked behind admin privileges
2026-05-01 16:47:42 +02:00
schn33fuchs 802e5876f7 Ticket now shows who submitted it 2026-05-01 16:46:56 +02:00
schn33fuchs e54be14526 When not logged in redirection to login page
Every page is locked behind a jwt, when it is not supplied neither other
pages not api calls will work
2026-05-01 16:18:15 +02:00
schn33fuchs b672fe9768 Deleting users now possible 2026-04-29 21:52:03 +02:00
schn33fuchs fd9e429760 Deleting tickets now possible 2026-04-29 21:48:57 +02:00
schn33fuchs a6f818505b Implemented updating users
at /users/{id}
2026-04-29 21:28:36 +02:00
schn33fuchs 63af32c4af Show user by ID implemented
At /users/{id},
Also minor bugfixes and improvements
2026-04-29 20:54:14 +02:00
schn33fuchs 6dfa21a005 Login and Showing of all Users implemented
At /login and /users
2026-04-29 20:41:31 +02:00
schn33fuchs aa1c11047e User creation now possible
at /register
2026-04-29 19:47:16 +02:00
schn33fuchs 50c0b99f20 Update ticket status now possible
Also bugfixes and api is now called over the same url as frontend
2026-04-29 14:22:45 +02:00
schn33fuchs 01c33f4a1d Avvailable from external source
pages and backend are now available from everywhere on the network
2026-04-29 14:21:55 +02:00
schn33fuchs de10d694e1 View every ticket now on /tickets 2026-04-28 21:40:55 +02:00
schn33fuchs 21aa213ff4 Viewing ticket by ID
This is now possible by going to /tickets/{id}
2026-04-28 21:23:40 +02:00
schn33fuchs ac7b2e59b9 Added Page with ticket submitting functionality 2026-04-28 20:44:28 +02:00
schn33fuchs dac2d91213 Minor Bugfixes 2026-04-28 20:42:18 +02:00
schn33fuchs ce86d8bc8f Now functioning frontend
Changed some things to make trunk work
2026-04-28 06:36:01 +02:00
schn33fuchs 76b4ccf943 Updated gitignore 2026-04-27 12:49:21 +02:00
schn33fuchs 7a5a725ba4 Added sample page
Not working yet
2026-04-27 12:48:52 +02:00
schn33fuchs 6ea3a512e8 Updated .gitignore 2026-04-27 12:12:52 +02:00
schn33fuchs 2578d7cf51 Added frontend project 2026-04-27 12:10:31 +02:00
schn33fuchs 6e4439e7fc Moved migrations into backend 2026-04-27 12:09:58 +02:00
schn33fuchs f63131ebc7 User listing, deleting and updating 2026-04-25 14:33:02 +02:00
schn33fuchs 6c1c13e088 Cors layer added
header, origin and method limitations
2026-04-25 14:32:22 +02:00
schn33fuchs 834a0b7aa4 Get currnet user function 2026-04-25 13:33:41 +02:00
schn33fuchs c4d374dbfe Added token validation 2026-04-25 13:21:31 +02:00
schn33fuchs 616efa5282 Fixed name mismatches and missing feature flag 2026-04-25 13:01:41 +02:00
schn33fuchs 0ce17fe805 Routes for auth handling
Also db and structs are now identical
2026-04-24 19:53:43 +02:00
schn33fuchs 51b6f89df2 Added user login, logout and creation functionality
Also minor changes to ticketing and AppState
2026-04-24 19:46:02 +02:00
schn33fuchs fe04483e76 Updated user scheme
Forgot password and username
2026-04-24 17:49:52 +02:00
schn33fuchs b94a94a28e Added Json Web Tokens
Also down migration for users
2026-04-24 17:49:32 +02:00
schn33fuchs 5e643503aa Added ticket edit functionality
As said, also minor change to database for testing purposes
2026-04-23 20:13:09 +02:00
schn33fuchs b905ffc9b1 Changed enums to string
String is easyer to decode and the sendable data in the frontend will be
limited.
2026-04-23 16:51:21 +02:00
schn33fuchs d890255631 Added router for routing requests
1. Duh
2. Also minor bugfix
2026-04-22 21:27:08 +02:00
schn33fuchs 20a0534c76 Added selecting specific ticket by id 2026-04-22 20:58:52 +02:00
schn33fuchs 8b34dac813 Added functions for adding, deleting and showing tickets
As said, functions got implemented. Also minor changes to migration
layout and dependencies
2026-04-22 20:40:28 +02:00
schn33fuchs 1725d2538c Added status Struct 2026-04-22 18:45:02 +02:00
schn33fuchs a9e31e2fdf Implemeted Display trait for Category enum 2026-04-22 18:29:56 +02:00
schn33fuchs 94aea7ca27 Dependency Update
Updated deps and added serialize for the structs
2026-04-22 16:00:09 +02:00
schn33fuchs bc0d3cb589 Added database connection
Code now connects to database and prints out errors. Also the ticket
table now includes a timestamp field
2026-04-22 15:50:08 +02:00
schn33fuchs 9972863232 Created Axum routing for localhost, also SQL Table structure
Added a axum router and listener for serving a web page on localhost.
Also a sql table structure was created with sqlx migrate for storing
tickets and users
2026-04-22 13:08:14 +02:00
schn33fuchs ca54a03d07 Initialized Backend crate & deps
Created a backend binary and defined it's dependencies
2026-04-20 21:07:06 +02:00
schn33fuchs 38c7633967 Initialized Rust project
Used "cargo init" to initialize the rust project
2026-04-17 17:14:17 +02:00
schn33fuchs 8c3bad1dd1 Initial commit 2026-04-17 17:04:07 +02:00