Commit Graph

49 Commits

Author SHA1 Message Date
6daaaaa6fd refactor(publications,projects): renames projects to publications 2025-11-18 13:31:44 -03:00
bf817a14c7 feat(router): use new smalltrip APIs 2025-11-13 14:53:46 -03:00
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
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
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
f4a971bdae feat(router): show landing page if user is not logged in 2025-06-09 19:18:29 -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
0bfc828caf feat(router,templates): add interactions to page via editor 2025-03-28 16:43:45 -03:00
268e0a9d8b feat: page manipulation in projects 2025-03-25 14:33:42 -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
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
1351cd0cde refactor: import renamed excetion package 2025-03-05 13:52:00 -03:00
f13dc0fe0f feat: templates prototype 2025-03-05 13:45:19 -03:00
7b6796e2c1 feat: panic recovering on requests 2025-03-05 12:22:38 -03:00
4875f47f94 chore: rename routes log group to requests 2025-03-05 12:22:21 -03:00
489a696e82 feat: exceptions hello world 2025-03-05 10:43:42 -03:00
d2308b5a1b feat: hello world 2025-03-05 10:05:21 -03:00
218b991caa refactor(lib): move app routing to lib package
These packages and functions under lib will one day be part of it's
dedicated library/framework, so separating them here helps for the
future.
2024-10-23 19:06:03 -03:00
27f29990f5 refactor(router): move Router type to interface 2024-10-21 14:57:53 -03:00
a72b2d0482 refactor(router): new router implementation with route groups support 2024-10-21 14:26:46 -03:00
4ffe2f4e9e refactor: move Middleware interface to sinle function class 2024-10-15 00:57:06 -03:00
a01742828e fix: incorrect fields in Route 2024-10-07 19:16:44 -03:00
34c6b7ccb4 feat: test page 2024-10-07 19:12:27 -03:00
1c7131c216 feat(router): support for middlewares 2024-10-07 15:40:06 -03:00
bb0c4b371a feat: setup project router 2024-10-07 15:39:46 -03:00