Commit Graph

37 Commits

Author SHA1 Message Date
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
38c7633967 Initialized Rust project
Used "cargo init" to initialize the rust project
2026-04-17 17:14:17 +02:00
8c3bad1dd1 Initial commit 2026-04-17 17:04:07 +02:00