Commit graph

136 commits

Author SHA1 Message Date
6e6a25e110
ci: add --no-deps to clippy 2022-04-24 21:37:13 +02:00
3c36122b86
http (fs): add file upload 2022-04-24 21:31:50 +02:00
1c1074abaf
http (auth): change /whoami to GET 2022-04-24 20:52:17 +02:00
b2a4b84f6d
database (user table): move to types from database 2022-04-24 14:50:25 +02:00
6ae8d6fa9f
database: add tests for find_user_by_id 2022-04-23 23:52:54 +02:00
2924e38592
server (http): add jwt token validator and route /auth/whoami 2022-04-23 23:48:20 +02:00
5164a94a55
server (http): add error handler for several exceptions 2022-04-23 21:21:04 +02:00
36fba1dd1d
chore (database): move utils/database to database 2022-04-23 20:44:02 +02:00
bf5422b47f
chore: use crate rust_utilities 2022-04-23 12:52:56 +02:00
Renovate Bot
dc28e67b5c Update Rust crate anyhow to 1.0.57 2022-04-21 22:10:20 +00:00
fd6e6fd0a8
feat (http): login functions have been completed 2022-04-21 20:54:53 +02:00
e0e487fbf4
utils (database user struct): add more tests and change username to lowercase 2022-04-21 20:53:30 +02:00
Renovate Bot
3428edfc92 Update Rust crate uuid to v1 2022-04-20 19:35:26 +02:00
a9e2a3472b
feat: zeroize the user's unencrypted password, and other unencrypted values from memory 2022-04-19 23:12:48 +02:00
99f0623f1f
types (macros): use .ok_or(...) in option_return macro 2022-04-19 21:18:45 +02:00
e3a8bf3550
config: move from utils to types 2022-04-19 21:10:36 +02:00
58d99806d4
utils (database/crypto): update comments and tests 2022-04-19 21:08:13 +02:00
Renovate Bot
f02bb0e358 Update Rust crate axum to 0.5.3 2022-04-19 19:36:57 +02:00
Renovate Bot
7ecea2e076 Update Rust crate simplelog to 0.12.0 2022-04-19 19:36:33 +02:00
b5ee35dfe8
config: separate option for port setting 2022-04-19 15:25:56 +02:00
ac2eff6399
feat (token): add jsonwebtoken 2022-04-19 15:14:17 +02:00
aa5cecc93c
fix: cargo tests 2022-04-19 13:08:30 +02:00
ed6ec8790b
feat (server): add /register in auth (without tokens yet) 2022-04-19 13:05:47 +02:00
022156582d
fix: clippy warnings 2022-04-18 14:17:30 +02:00
65687fef74
feat (server): add http server (not finished yet) 2022-04-18 14:13:15 +02:00
c7a909fcb7
utils (crypto): fix cargo tests 2022-04-18 00:16:32 +02:00
5b79b4f7e2
utils (crypto/database): update cryptographic functions/add comments and tests in database 2022-04-18 00:08:52 +02:00
0867e44d58
utils (database): use bundled SQLite 2022-04-17 13:51:18 +02:00
020ffd1170
utils (database): use rusqlite instead of sqlx and add custom error type 2022-04-17 00:09:23 +02:00
a111a4adc0
utils (config): fix clippy 2022-04-16 22:48:22 +02:00
e6f5be15e4
scripts (create-sqlite-db): move to scripts dir and edit it 2022-04-16 21:33:05 +02:00
c5b76d8b90
utils (config): rustfmt 2022-04-16 21:23:56 +02:00
0099e93ad3
utils (config): add custom error type 2022-04-16 21:22:01 +02:00
d469d105f1
utils (crypto): fix clippy 2022-04-16 20:30:27 +02:00
d074fc58a2
ci: fix and test job run only on linux 2022-04-16 20:24:48 +02:00
7b1d092001
initial commit 2022-04-16 20:19:38 +02:00