d14f90d628
feat: complete profile update and settings management
...
refactor: change profile update endpoints to PUT
refactor: changed profile settings update query to use username
chore: update SQL queries for profile operations
2025-07-23 17:46:59 +03:00
705b420b9e
feat: implemented own profile getter;
...
experiment: using custom automapper function to map profile to profileDto;
refactor: adjusted ProfileService to use pointer return types with models
2025-07-20 21:39:21 +03:00
df54829a67
fix: change avatar upload response to JSON object with URL;
...
feat: add UrlDto for standardized URL responses;
refactor: update avatar upload endpoint to return UrlDto;
docs: regenerate Swagger;
chore: add comments for untested profile controller methods
2025-07-19 23:23:56 +03:00
f65439fb50
feat: fully implement profile controller;
...
feat: implement file upload handling in controller with size and type validation;
feat: add custom validation rules for bio and color hex fields;
refactor: enhance request handling with dedicated client info extraction;
chore: update profile DTOs with validation tags;
docs: profile controller swagger
2025-07-19 22:57:44 +03:00
f2753e1495
refactor: declaring controller methods externally because the big idiot swaggo does not want to work unless the comments are attached to a gin handler func;
...
fix: swagger docs work now;
chore: remove incomplete account and profile controllers;
fix: correct client info type in request middleware
2025-07-17 22:37:07 +03:00
d6e2d02bff
refactor: transitioned auth controller to use the new controller structure;
...
feat: setup DI for controllers;
refactor: marked old utils and routes package parts as deprecated
2025-07-17 21:42:47 +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
b72645852b
refactor: profile controller;
...
experiment: figured out a way to add auth middleware to individual methods in controllers, bypassing route group middleware if needed
2025-06-20 17:53:11 +03:00
b1ef3e06f6
feat: initialized all controllers for release 1;
...
feat: authentication added to swagger
2025-06-18 18:27:12 +03:00