summaryrefslogtreecommitdiff
path: root/internal
Commit message (Expand)AuthorAge
* config: add database section to config and remove defaultsmihna1232026-09-10
* go.mod: update module to git.mihna123.commihna1232026-09-04
* web: simplify style.css even moremihna1232026-09-04
* web: serve the stylesheet over a css routemihna1232026-09-04
* config: add tests for config loading and page handlersmihna1232026-09-04
* config: add config package and wire it into server and handlersmihna1232026-09-04
* user: check errors type and fail now where needed in testsmihna1232026-08-29
* user: fix the valid username explanation in inputmihna1232026-08-29
* user: fail now when register fails in order not to dereference a nil valuemihna1232026-08-29
* user: rename internal test functionsmihna1232026-08-29
* user: add bcryptCost to service constructor in TestRegisterRepositotyErrormihna1232026-08-29
* user: add a service stub with validated register methodmihna1232026-08-29
* user: export all private fieldsmihna1232026-08-29
* listing: implement a service layer stub along with testsmihna1232026-08-23
* listing: use slog.DiscardHandler instead of creating a new onemihna1232026-08-23
* listing: add slug prop to struct and export some more props and constantsmihna1232026-08-23
* listing: add isExternal and origin fields to listing structmihna1232026-08-23
* listing: change the text propery name to descriptionmihna1232026-08-23
* listing: implement a basic listing struct along with user struct stubmihna1232026-08-22
* test: add tests for servermihna1232026-08-21
* server: use server config to render the index templatemihna1232026-08-21
* logs: build up sloger attrs to conditionaly log xff headermihna1232026-08-21
* logs: handle all loggs with slogmihna1232026-08-21
* server: move logging from the handler into middlewaremihna1232026-08-21
* server: serve html template from embedded fsmihna1232026-08-21
* server: move server handler to server packagemihna1232026-08-21