Commit Graph

55 Commits

Author SHA1 Message Date
leo
6ba09987a9
handlers: set cookie with SameSiteStrictMode
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-19 03:34:23 +02:00
leo
33c9b8a30e
tmpl: fix 500 on logout
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-19 03:29:44 +02:00
leo
8cc43bba13
go: switch to a custom slog-based logging solution
All checks were successful
continuous-integration/drone/push Build is passing
* make all packages use the logger
* add a couple of convenience methods on the logger that enable
  formatting using fmt syntax
2023-04-19 02:12:27 +02:00
leo
f129606b8f
add bulk changes
All checks were successful
continuous-integration/drone/push Build is passing
* add handlers for signin,singup,logout...
* introduce ent ORM and add user schema
* add live mode, devel mode to selectively turn on features via
  config/flags
* add templates, handle embedding moar smarter:
  * live mode uses live folder structure, else embedded templates are
    used
* start using tailwindcss to style stuff
* add development goodies for hot-reloading (browser-sync - bs.js)
* pimp-up config.dhall with actual custom config Type (enables remote
  schema and local values only as needed)
* add justfile (alternative to makefile for process automation)
2023-04-13 00:07:08 +02:00
leo
5937a24ad9
go: add a handler for admin endpoint(s) 2023-03-22 23:11:14 +01:00