5e32c3cbd3
refactor: password requirements variables;
...
refactor: password validation function moved to custom validators;
refactor: adjusted model's validation fields
2025-07-05 17:50:01 +03:00
96e41efdec
feat: added session guid and token type fields to jwt tokens;
...
feat: very minimal implementation of registration functions;
refactor: login function now uses the transactional db helper function and creates a session;
feat: enum for jwt token type
2025-07-01 14:18:01 +03:00
284d959bc3
feat: new general and auth errors;
...
feat: NewPointer helper function in utils;
refactor: length validation in auth models
2025-06-30 01:34:59 +03:00
cbcfb8a286
feat: middleware for request body parsing, validation and authentication;
...
feat: helper function for getting request info from gin context
2025-06-24 17:31:48 +03:00
c2059dcd6e
feat: middlewares for authorization and automatic request parsing;
...
feat: roles enum
2025-06-24 13:57:39 +03:00
be9aee7145
chore: GPL-3.0 license propagated into *.go files in backend
2025-06-24 01:37:47 +03:00
cfe60cfb8e
chore: corrected misleading error descriptions, removed redundant comments
2025-06-24 01:11:49 +03:00
e5d245519a
feat: preparing structures for validation features;
...
feat: config variables for password requirements;
feat: util function for validating passwords
2025-06-24 00:25:59 +03:00
0a00a5ee2b
feat: registrationBegin method without email;
...
fix: missing sqlc query parameter name;
feat: util for generating security codes;
feat: enums package
2025-06-23 16:23:46 +03:00
87878f15a3
feat: service/controller prototype
2025-06-19 18:37:19 +03:00
4e3554346a
feat: auth middleware;
...
fix: backend healthcheck
2025-06-19 14:08:51 +03:00