|
7ad2771f52
|
ci: add build and docker publish ci
|
2025-05-02 00:21:18 +02:00 |
|
|
22ab3d8a04
|
feat: add a way to revoke refresh_tokens using device_name
|
2025-05-01 20:19:39 +02:00 |
|
|
a89d705239
|
feat: use device_name in refresh_tokens table
|
2025-05-01 20:19:18 +02:00 |
|
|
c009d578a7
|
perf: optimize user fetching code
|
2025-05-01 20:18:39 +02:00 |
|
|
705abeb643
|
fix: fix password regex
this should probably be moved to its own function so we can change it on the fly
|
2025-05-01 20:17:59 +02:00 |
|
|
1646e60e65
|
fix: underscore unused config var in data
|
2025-05-01 20:15:38 +02:00 |
|
|
2864196584
|
perf: avoid cloning when checking access
|
2025-05-01 20:12:02 +02:00 |
|
|
7b86706793
|
perf: dont needlessly update uuid in token
|
2025-05-01 19:19:35 +02:00 |
|
|
aea640a64c
|
style: use the same response for login/register
|
2025-05-01 19:18:44 +02:00 |
|
|
0b25e3fb87
|
feat: add user lookup to api
lets you use an access token and a uuid to look up users on the instance
|
2025-05-01 07:06:58 +02:00 |
|
|
83872ed7a6
|
feat: add a function to check access token
lets me reuse something that will happen often instead of having to write it manually in every file
|
2025-05-01 07:06:14 +02:00 |
|
|
3c976d666d
|
fix: add NOT NULL to table keys
|
2025-05-01 07:05:31 +02:00 |
|
|
0b516a269d
|
fix: remove unused import
|
2025-05-01 07:04:56 +02:00 |
|
|
725a16d1f5
|
feat: integrate token authentication
|
2025-05-01 05:01:25 +02:00 |
|
|
1d0f8ecd00
|
feat: add refresh endpoint
|
2025-05-01 03:54:26 +02:00 |
|
|
4210545db4
|
feat: add tables for refresh/access tokens
|
2025-05-01 03:54:26 +02:00 |
|
|
b4469a6317
|
feat: prepare for access/refresh tokens in register
|
2025-05-01 03:54:26 +02:00 |
|
|
91398ecd5b
|
style: move auth to own folder
|
2025-05-01 03:54:26 +02:00 |
|
|
a88467fa28
|
feat: create crypto.rs module for generation of tokens
|
2025-05-01 03:42:33 +02:00 |
|
|
c69f2eb4f0
|
feat: add docker files
adds compose.yml, Dockerfile and entrypoint.sh for running the backend inside of docker
|
2025-05-01 01:09:24 +02:00 |
|
|
026d48c6e7
|
feat: load config from proper location
also adds a way to change load location using cmdline arguments
|
2025-05-01 01:08:45 +02:00 |
|
|
7eea0cd4fe
|
build: optimize release build
use fat lto, strip builds and only 1 codegen-unit
|
2025-04-30 21:43:16 +02:00 |
|
|
87edb9dd12
|
feat: implement argon2id and expect passwords to be pre-hashed
|
2025-04-30 21:36:22 +02:00 |
|
|
3461218025
|
feat: add bogus login
|
2025-04-30 19:17:14 +02:00 |
|
|
a8886f616a
|
fix: remove unused import
|
2025-04-30 19:16:58 +02:00 |
|
|
bda9f85b86
|
feat: query user creation instead of using .execute on pool
This should increase security of the operation a ton, need to test if an escape is still possible
|
2025-04-30 11:12:01 +00:00 |
|
|
799a1ff49e
|
fix: use raw_sql instead of .execute
|
2025-04-30 11:11:19 +00:00 |
|
|
0f1824b366
|
fix: query actual number of accounts
|
2025-04-30 11:10:25 +00:00 |
|
|
1f897deb33
|
chore: add config.toml to gitignore
|
2025-04-30 11:10:02 +00:00 |
|
|
11f89a2380
|
docs: add todos/fixmes
|
2025-04-29 22:13:41 +02:00 |
|
|
70577fbe56
|
fix: remove unused variable from register
|
2025-04-29 22:00:28 +02:00 |
|
|
19bad249d4
|
feat: user registration
Adds crates and code for user registration, this is EXTREMELY INSECURE AND FOR TESTING ONLY
|
2025-04-29 21:54:41 +02:00 |
|
|
26b6601f5b
|
feat: add in database support
|
2025-04-29 21:53:49 +02:00 |
|
|
bebad3be9b
|
style: cargo fmt
|
2025-04-29 00:43:43 +02:00 |
|
|
96250864af
|
refactor: use unwrap_or() instead of unwrap_or_else()
|
2025-04-29 00:42:11 +02:00 |
|
|
30a169679d
|
refactor: remove useless allocation
|
2025-04-29 00:41:28 +02:00 |
|
|
c059da9d73
|
build: change toml version
|
2025-04-28 23:47:49 +02:00 |
|
|
5881b5f058
|
feat: add database name option
|
2025-04-28 23:46:34 +02:00 |
|
|
aa92de3f3e
|
refactor: remove unused import
|
2025-04-28 23:44:30 +02:00 |
|
|
27c735cf79
|
deps: add required features to sqlx
|
2025-04-28 23:42:11 +02:00 |
|
|
f090fbafe7
|
Create initial api
|
2025-04-28 23:20:37 +02:00 |
|
|
1fa926dd05
|
add actix example
|
2025-04-28 20:48:49 +02:00 |
|
|
e98f9517fb
|
Add initial rust configs
|
2025-04-28 20:41:33 +02:00 |
|
|
566002cda1
|
Update LICENSE
|
2025-04-28 18:27:46 +00:00 |
|
|
c2b34d9b6c
|
Initial commit
|
2025-04-28 18:20:54 +00:00 |
|