Commit Graph

82 Commits

Author SHA1 Message Date
60c9d3624a chore: update module definition 2025-10-13 15:26:31 -03:00
642ac17c7a feat(router,deps): update x package and use smalltrip/problem instead of smalltrip/exception 2025-07-30 19:15:19 -03:00
99606f65f3 feat(router): project controller and routes 2025-06-26 19:11:17 -03:00
17dee3141b feat(router,app): pass project service to router 2025-06-26 19:11:16 -03:00
8ad87ea2e3 refactor(user,router): return uuid in UserContext.GetUserID 2025-06-16 07:09:15 -03:00
46540e6482 feat(user,router): UserContext struct
this is intended to better structure ways to get information about the
user and the session context values
2025-06-16 07:08:55 -03:00
3554d3f3ad feat(user,router): userMiddleware to provide context of what user is logged in 2025-06-16 07:08:54 -03:00
07785992c3 feat(user,router): use token service to issue tokens 2025-06-16 07:08:54 -03:00
c14f44e81c refactor(user,router): move arguments to struct cfg 2025-06-16 07:08:52 -03:00
2e673c8c75 feat(router): add token service to router 2025-06-16 07:08:50 -03:00
39689ab702 refactor: rename files to their singular form 2025-06-10 10:34:14 -03:00
395f627e33 refactor(router): rename c receiver to ctrl 2025-06-09 19:27:46 -03:00
e3ce651288 refactor(router): rename c receiver to ctrl 2025-06-09 19:19:27 -03:00
0e7198f918 feat(router): set session token cookie 2025-06-09 19:19:00 -03:00
f4a971bdae feat(router): show landing page if user is not logged in 2025-06-09 19:18:29 -03:00
d38097a616 feat(router,users): register method for creating a new user 2025-06-06 16:34:59 -03:00
f7396dc12b feat(router,users): return token cookie on login 2025-06-06 16:34:41 -03:00
149823a5fc fix(router,users): correct username form value name on error 2025-06-06 16:34:16 -03:00
56e2214311 feat(router): handle /login and /register routes 2025-06-06 16:33:29 -03:00
a52caf6580 feat(router): provide UserService to router 2025-06-06 16:32:49 -03:00
06807b0623 chore(router,service): remove editor and projects endpoint and services
They will be reimplemented later
2025-06-06 16:30:50 -03:00
28ed7379de feat: user controller 2025-05-30 18:05:40 -03:00
2862824b7b feat(router): endpoint to delete interactions 2025-03-28 16:44:11 -03:00
0bfc828caf feat(router,templates): add interactions to page via editor 2025-03-28 16:43:45 -03:00
757ed62edd refactor(router): rename imgID to pageID 2025-03-28 16:40:51 -03:00
5c873a2707 refactor(service,router): return ProjectPage struct instead of just image reader 2025-03-28 16:39:32 -03:00
7e78726bcb feat: delete pages of projects 2025-03-25 14:58:46 -03:00
268e0a9d8b feat: page manipulation in projects 2025-03-25 14:33:42 -03:00
f13313da30 refactor(router): add trailing slash to all redirects 2025-03-25 14:31:35 -03:00
07460aaaca refactor(router): add trailing slash to all endpoints 2025-03-25 14:31:21 -03:00
845d4b40c3 feat(router): delete project route and method 2025-03-19 11:28:46 -03:00
8273ff6a1d feat(templates): hot reloading templates
this is supposed to be mostly temporaly until a better templates
interface is made
2025-03-17 15:43:51 -03:00
fa66837cdd refactor(router): rename static files to assets 2025-03-17 11:19:34 -03:00
c6d99690ed feat(router,service): list projects endpoint 2025-03-17 09:13:55 -03:00
99a76dcad3 refactor(router): remove debugging log 2025-03-12 14:50:40 -03:00
a2ca597578 refactor(router): move projects endpoint to dedicated file 2025-03-12 14:48:43 -03:00
9e5a15963e fix(router): remove unused error ErrProjectInvaldiUUID exception 2025-03-12 14:43:55 -03:00
ab61af503e feat(router): endpoints for getting and creating projects 2025-03-12 10:22:55 -03:00
ae10dfa7ca fix(router): conflict between /projects/ and /projects/{id} routes 2025-03-12 10:19:39 -03:00
4aeeb8479b refactor(router): reorganize code in router constructor 2025-03-12 10:13:09 -03:00
4ee46e2dc8 refactor(service): use service as struct instead of interface 2025-03-12 10:04:43 -03:00
eb53285f03 feat(service): new service abstraction to directly interact with DBs and operations
This should make the router be just about HTML rendering, paramaters
validation and routing.
2025-03-11 09:40:48 -03:00
800412d315 feat: injection of templates into router 2025-03-07 20:51:43 -03:00
6e2664756b feat: static files injection into router 2025-03-07 20:48:11 -03:00
bc658d7dc8 refactor: new router module to comicverse app 2025-03-07 20:46:17 -03:00
f9e9d95c80 feat: dashboard endpoint 2025-03-06 16:56:31 -03:00
6ddba55413 chore: remove /panic endpoint 2025-03-06 16:56:01 -03:00
7de9126ea1 chore: remove /test endpoint 2025-03-06 16:55:41 -03:00
242559acc9 feat: add tailwindcss 2025-03-06 10:02:35 -03:00
c5043a3527 style: format long line in New constructor 2025-03-06 09:45:01 -03:00