Commit Graph
20 Commits
Author SHA1 Message Date
esilva 65baa4469b Added some unittests and therefore changed some of the code
Also formatted the logging, for now its good, we will add analytics to
it later tho
2024-06-13 15:55:31 +01:00
esilva 56c20edd73 Added the personal page data to the platform 2024-06-12 09:56:14 +01:00
esilva 71fe05f916 Better flow when trying to send a message but the token is out of date 2024-06-10 22:38:16 +01:00
esilva 0c1dd26df4 Reworked the login flow
It is looking neat, but I still have to make sure it behaves how
I want it to behave
2024-06-10 22:27:46 +01:00
esilva fd8f3720fb Removed the script from the login template 2024-06-10 18:46:47 +01:00
esilva 87788421cc Login uses standard form instead of passing a dumb JSON 2024-06-10 18:44:04 +01:00
esilva 975654539f Made the server functions use switch statements
Also removed the now unecessary checkMethod function
2024-06-10 12:24:01 +01:00
esilva 0a1b4367c3 Login Flow
In this commit I added:
More pages like history, personal data and editor with dummy content
A HTMX login flow
The login flow is mostly backend, I think there's nothing on the
frontend made to support it. Pretty neat if I say so myself
2024-06-08 22:11:18 +01:00
esilva cd6779f072 Corrected the CSS on the login page
The input boxes had default width so it got wonky on smaller screens
2024-06-06 17:45:56 +01:00
esilva 77c2c9a8b8 Refactoring 2024-06-06 14:07:16 +01:00
esilva a86223391b Short readme, need to make it better 2024-05-29 14:46:01 +01:00
esilva dfa7bfeec9 Added a Dockerfile and docker-compose to this project
The compose requieres the printer image too
2024-05-29 14:45:43 +01:00
esilva 0c5c2e82f6 Using the configuration to access some values 2024-05-29 14:45:05 +01:00
esilva ccec8affc7 Correct handling of the login POST 2024-05-29 14:44:22 +01:00
esilva 548ecb756a Added configuration to the project
The unittests are all commented because they were a bit obtuse
2024-05-29 14:44:12 +01:00
esilva fed9d0b9df Correct login form handling
The user can simply press enter to login now
2024-05-29 14:43:16 +01:00
esilva ddc919bc83 Added the Dockerfile 2024-05-26 21:47:31 +01:00
esilva 368b4444a7 Why was this not deleted I do not know 2024-05-26 21:42:39 +01:00
esilva cb40df5da7 Forgot to make the src sit where it should be sitting 2024-05-26 21:42:24 +01:00
esilva 29175824b4 New repo to host the frontend, it made no sense having it where it was 2024-05-26 21:41:34 +01:00