Commit Graph

36 Commits

Author SHA1 Message Date
antifallobst ce4fe91f7d
feat: enforcing alphanumerical usernames 2023-10-11 12:32:01 +02:00
antifallobst bc610ef22a
feat: implemented verify endpoint change 2023-10-08 13:41:02 +02:00
antifallobst 49e193768d
refactor(api): renamend the field `name` of /user/id to `username` 2023-09-13 07:23:26 +02:00
antifallobst 7bf9e57010
feat(api): implemented /user/info 2023-09-10 17:46:32 +02:00
antifallobst f9595513e0
refactor(db): removed the not needed field `salt` from Accounts table
The password salt is already defined in the PHC string in the `password` filed
2023-09-10 14:38:05 +02:00
antifallobst 27aadf46d5
refactor(treewide)/feat(api): implemented /account/id - ran rustfmt over the codebase 2023-09-10 14:14:29 +02:00
antifallobst 441dc842f4
feat(api): implemented password criteria checking on registration 2023-09-10 03:53:50 +02:00
antifallobst 4bccfeef96
feat(api): implemented /project/delete 2023-09-10 03:02:42 +02:00
antifallobst f7e02dc794
refactor(accounts): switched from deprecated function `base64::encode()` to `base64::Engine::encode()` 2023-09-10 02:04:14 +02:00
antifallobst 8fd807e450
feat(api): implemented /project/info 2023-09-10 01:53:22 +02:00
antifallobst 3f59c1981f
refactor(deps): removed clap 2023-09-09 16:05:22 +02:00
antifallobst 452d2d2015
refactor(api): hashing and database changes
1. changed password hashing algorithm from pbkdf2-sha256 to argon2id.
2. storing emails as base64 encoded sha256 hash instead of plain text
2023-09-09 13:29:00 +02:00
antifallobst 12aa9d3146
feat(backend): changed account ids to 48bit integers to leave 16 bits for flags 2023-08-23 20:11:58 +02:00
antifallobst 83a2dabf87
feat(api): implemented /project/create 2023-08-23 18:16:36 +02:00
antifallobst 45cdf93536
refactor(api): moved security checks into own mod 2023-08-21 11:02:19 +02:00
antifallobst 2d7091f5d8
feat(api): implemented anonymized account deletion reasons 2023-08-20 15:32:31 +02:00
antifallobst 3a9a9fb2ca
feat(docker): dockerized project 2023-08-20 14:30:11 +02:00
antifallobst 9d4cd2e146
feat(db): improved layout for accounts table and defined the projects table 2023-08-18 00:16:33 +02:00
antifallobst 31a8c80eca
feat(api): added overwriting of zombie account on registration 2023-08-18 00:09:29 +02:00
antifallobst 51c8a7f7fa
refactor(db): moved from mariadb to postgresql 2023-08-17 21:09:30 +02:00
antifallobst ce96035711
feat(api): fully implemented the two (GET and DELETE) `tokens` endpoints 2023-08-17 16:40:05 +02:00
antifallobst ccb3b3fd36
feat(db): cleaned up SQL statements 2023-08-17 15:19:15 +02:00
antifallobst 9f0280c204
feat(tokens): implemented token duplication protection 2023-08-17 03:17:20 +02:00
antifallobst 5f5534f597
feat(api): fully implemented the delete endpoint 2023-08-17 02:17:11 +02:00
antifallobst 3049b68ef4
feat(api): added an account verification check before authentication 2023-08-17 01:29:00 +02:00
antifallobst eadfdca689
feat(api): added email regex validation on registration 2023-08-17 01:10:01 +02:00
antifallobst 040d338ae0
feat(api): fully implemented the authenticate endpoint 2023-08-17 00:57:08 +02:00
antifallobst 1477e4cef6
feat(api): fully implemented the verify endpoint 2023-08-17 00:44:57 +02:00
antifallobst b794574850
feat(api): fully implemented the register endpoint 2023-08-17 00:24:29 +02:00
antifallobst 2f2aa0e4a3
feat(tokens): implemented token expiration logic 2023-08-16 20:27:30 +02:00
antifallobst e3ea93f4ae
feat(tokens): implemented token validation 2023-08-16 20:05:19 +02:00
antifallobst d3c721fb78
feat(tokens): implemented token generation 2023-08-16 19:27:22 +02:00
antifallobst 9493031376
feat(db): implemented database connection 2023-08-16 18:05:54 +02:00
antifallobst c38093b55b
feat(api): implemented SQL injection protection 2023-08-16 18:01:44 +02:00
antifallobst c87803d479
feat(api): defined and implemented return codes that allow for internal SQL injection checking 2023-08-16 17:30:18 +02:00
antifallobst 9db5c04cb6
feat(api): implemented a basic api skeleton, that matches the api docs 2023-08-16 14:02:23 +02:00