Commit Graph

102 Commits

Author SHA1 Message Date
4bdf3dc04a Updated gitignore
node_modules now ignored
2026-05-02 12:32:38 +02:00
9eb843a786 Sidebar styling
In general styling capabilities with scsss
2026-05-02 12:27:27 +02:00
fa77190555 Sidebar logic 2026-05-02 12:26:59 +02:00
3d1366e704 Pages link to each other 2026-05-02 10:41:11 +02:00
6d8fcc6b53 Home page changes depending on role 2026-05-02 10:23:50 +02:00
d541cf18b1 Minor bugfixes 2026-05-02 10:23:25 +02:00
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
92fdb87cf0 Timezone now CET 2026-05-01 18:11:40 +02:00
4fc1c2eeb8 Non admin only see their tickets 2026-05-01 17:07:20 +02:00
fdd2e2a757 admin pages
Pages can now be locked behind admin privileges
2026-05-01 16:47:42 +02:00
802e5876f7 Ticket now shows who submitted it 2026-05-01 16:46:56 +02:00
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
b672fe9768 Deleting users now possible 2026-04-29 21:52:03 +02:00
fd9e429760 Deleting tickets now possible 2026-04-29 21:48:57 +02:00
a6f818505b Implemented updating users
at /users/{id}
2026-04-29 21:28:36 +02:00
63af32c4af Show user by ID implemented
At /users/{id},
Also minor bugfixes and improvements
2026-04-29 20:54:14 +02:00
6dfa21a005 Login and Showing of all Users implemented
At /login and /users
2026-04-29 20:41:31 +02:00
aa1c11047e User creation now possible
at /register
2026-04-29 19:47:16 +02:00
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
01c33f4a1d Avvailable from external source
pages and backend are now available from everywhere on the network
2026-04-29 14:21:55 +02:00
de10d694e1 View every ticket now on /tickets 2026-04-28 21:40:55 +02:00
21aa213ff4 Viewing ticket by ID
This is now possible by going to /tickets/{id}
2026-04-28 21:23:40 +02:00
ac7b2e59b9 Added Page with ticket submitting functionality 2026-04-28 20:44:28 +02:00
dac2d91213 Minor Bugfixes 2026-04-28 20:42:18 +02:00
ce86d8bc8f Now functioning frontend
Changed some things to make trunk work
2026-04-28 06:36:01 +02:00
76b4ccf943 Updated gitignore 2026-04-27 12:49:21 +02:00
7a5a725ba4 Added sample page
Not working yet
2026-04-27 12:48:52 +02:00
6ea3a512e8 Updated .gitignore 2026-04-27 12:12:52 +02:00
2578d7cf51 Added frontend project 2026-04-27 12:10:31 +02:00
6e4439e7fc Moved migrations into backend 2026-04-27 12:09:58 +02:00
f63131ebc7 User listing, deleting and updating 2026-04-25 14:33:02 +02:00
6c1c13e088 Cors layer added
header, origin and method limitations
2026-04-25 14:32:22 +02:00
834a0b7aa4 Get currnet user function 2026-04-25 13:33:41 +02:00
c4d374dbfe Added token validation 2026-04-25 13:21:31 +02:00
616efa5282 Fixed name mismatches and missing feature flag 2026-04-25 13:01:41 +02:00
0ce17fe805 Routes for auth handling
Also db and structs are now identical
2026-04-24 19:53:43 +02:00
51b6f89df2 Added user login, logout and creation functionality
Also minor changes to ticketing and AppState
2026-04-24 19:46:02 +02:00
fe04483e76 Updated user scheme
Forgot password and username
2026-04-24 17:49:52 +02:00
b94a94a28e Added Json Web Tokens
Also down migration for users
2026-04-24 17:49:32 +02:00
5e643503aa Added ticket edit functionality
As said, also minor change to database for testing purposes
2026-04-23 20:13:09 +02:00
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
d890255631 Added router for routing requests
1. Duh
2. Also minor bugfix
2026-04-22 21:27:08 +02:00
20a0534c76 Added selecting specific ticket by id 2026-04-22 20:58:52 +02:00
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
1725d2538c Added status Struct 2026-04-22 18:45:02 +02:00
a9e31e2fdf Implemeted Display trait for Category enum 2026-04-22 18:29:56 +02:00
94aea7ca27 Dependency Update
Updated deps and added serialize for the structs
2026-04-22 16:00:09 +02:00
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
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
ca54a03d07 Initialized Backend crate & deps
Created a backend binary and defined it's dependencies
2026-04-20 21:07:06 +02:00