|
|
5404fb1cf8
|
minor updates
|
2023-03-07 22:53:06 +01:00 |
|
|
|
bd1530a4e2
|
ezidam: ability to cache routes as well as types
|
2023-03-07 22:52:06 +01:00 |
|
|
|
2054b6835f
|
ezidam: cache for one hour css and js files
|
2023-03-07 19:22:44 +01:00 |
|
|
|
8f951a55d7
|
setup: updated logo url
|
2023-03-07 19:05:44 +01:00 |
|
|
|
cf9fb61f80
|
setup: show flash
|
2023-03-07 19:00:14 +01:00 |
|
|
|
c670201b86
|
settings: add base url, WIP flash system
|
2023-03-07 08:42:23 +01:00 |
|
|
|
f2bea92272
|
testing setup route
|
2023-03-06 00:34:45 +01:00 |
|
|
|
55fd5565d7
|
database_pool: rebuild on new migration
|
2023-03-05 23:37:03 +01:00 |
|
|
|
f949f7606d
|
ezidam: conversion of error types
|
2023-03-05 23:36:48 +01:00 |
|
|
|
2425a4cb50
|
ezidam: setup: redirect to /setup if setup is not complete, create first user, redirect to / if setup is complete
|
2023-03-05 23:36:33 +01:00 |
|
|
|
c95800330a
|
ezidam: guards to check if setup is complete or not
|
2023-03-05 23:34:47 +01:00 |
|
|
|
bb3e4dfd40
|
ezidam: minor stuff
|
2023-03-05 23:34:06 +01:00 |
|
|
|
a3866b0af2
|
settings: store id of first admin user
|
2023-03-05 23:33:10 +01:00 |
|
|
|
3e168c19bc
|
users: migrations, queries, users crate: create user, get first admin user
|
2023-03-05 23:31:10 +01:00 |
|
|
|
8af226cd05
|
hash: hash crate for all hashing needs, password
|
2023-03-05 23:28:14 +01:00 |
|
|
|
7851fdae1e
|
id: added id create for handling ID needs
|
2023-03-05 23:27:34 +01:00 |
|
|
|
a5eafc49f5
|
settings: split in multiple modules
|
2023-03-05 15:13:23 +01:00 |
|
|
|
33cc5b03e9
|
idiomatic file paths for modules
https://doc.rust-lang.org/book/ch07-05-separating-modules-into-different-files.html#alternate-file-paths
|
2023-03-05 11:18:15 +01:00 |
|
|
|
fa1498bb67
|
tests: testing getting default logo
|
2023-03-05 00:42:36 +01:00 |
|
|
|
a4ff4bca20
|
refactor main into lib, with function to set up rocket
|
2023-03-05 00:35:34 +01:00 |
|
|
|
279f0bfaa3
|
Enum Page to render templates with content from a struct, set html titles, with rocket responder
For each Struct to be rendered in template, put in a mod called "content" for easy importing
|
2023-03-03 22:02:32 +01:00 |
|
|
|
49a46acef3
|
removed StatusCode, use Status directly
|
2023-03-01 22:54:13 +01:00 |
|
|
|
65bfd02fbf
|
error templates: use tabler, and use same template for all errors
|
2023-02-28 22:21:31 +01:00 |
|
|
|
05b1a597ea
|
added tabler static files, serving them from /
|
2023-02-28 22:20:10 +01:00 |
|
|
|
7ed2f4c922
|
first route! get logo from database
|
2023-02-28 17:28:55 +01:00 |
|
|
|
a85f29d3a8
|
error: added error catchers, error responder to respond with template, basic error templates
|
2023-02-28 17:28:16 +01:00 |
|
|
|
27cc4c0956
|
added file_from_bytes
|
2023-02-28 17:24:57 +01:00 |
|
|
|
95b908836e
|
added response_timer
|
2023-02-28 17:24:40 +01:00 |
|
|
|
44793eb8d4
|
docker
|
2023-02-27 16:48:42 +01:00 |
|
|
|
a85c1431c8
|
added settings crate, creating settings on web startup
|
2023-02-27 16:17:51 +01:00 |
|
|
|
9c2b43ec3c
|
added database crate, "settings" with migrations and queries, running migrations on web startup
|
2023-02-27 16:07:18 +01:00 |
|
|
|
f60eb616d3
|
added database_pool crate, for pool handling and migrations
|
2023-02-27 14:36:48 +01:00 |
|
|
|
27d02a0d5c
|
initial commit, empty rocket server
|
2023-02-27 12:25:58 +01:00 |
|