Commit Graph

25 Commits

Author SHA1 Message Date
surtur 6b45213649
go: add user onboarding, HIBP search functionality
All checks were successful
continuous-integration/drone/push Build is passing
* add user onboarding workflow
* fix user editing (no edits of passwords of regular users after
  onboarding)
* refresh HIBP breach cache in DB on app start-up
* display HIBP breach details
* fix request scheduling to prevent panics (this still needs some love..)
* fix middleware auth
* add TODOs
* update head.tmpl
* reword some error messages
2023-08-24 18:43:24 +02:00
surtur cc07995259
justfile,readme: bump postgres to 15.3-alpine3.18
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-08 13:54:13 +02:00
surtur 73ad9ada66
justfile: fix typo [skip ci] 2023-08-01 02:20:59 +02:00
surtur f33f87f260
justfile: add pg healthchecking
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-19 22:17:40 +02:00
surtur ecfa845636
justfile: enable SELinux labelling for pg volume
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-19 22:00:11 +02:00
surtur 7256007b33
fix justfile: trimpaths -> trimpath [skip ci] 2023-07-19 17:22:21 +02:00
leo ef6ef17715
feat: don't compare pcmt.css in ci
All checks were successful
continuous-integration/drone/push Build is passing
* unstage pcmt.css, needs to be built separately
* generate the stylesheet in ci and build the app with that
* add better instructions to readme on how to build the app
* add more justfile targets for convenience
2023-05-30 20:43:19 +02:00
leo 17540bf453
just(svgo): look for tmpls in subdirs [skip ci] 2023-05-28 18:59:40 +02:00
leo 395ab701f2
just: run db with --replace [skip ci] 2023-05-28 18:58:32 +02:00
leo 874cdcec3a
just,pre-commit: fix typos [skip ci] 2023-05-21 18:54:28 +02:00
leo 7b5366daa4
just: fix db init args [skip ci] 2023-05-20 21:31:27 +02:00
leo 3a2f85f683
feat: add license headers (+spdx id)
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-20 20:15:57 +02:00
leo 9159cc315e
just: make sure the db folder exists [skip ci] 2023-05-20 19:05:37 +02:00
leo 6ebf092b9f
ci,just,pre-commit: add Containerfile
All checks were successful
continuous-integration/drone/push Build is passing
* lint in pre-commit, ci, justfile
* build on feature branches and PRs and publish on tags.
* add a symlink to Dockerfile
2023-05-20 18:05:26 +02:00
leo 723c3fea5f
justfile: add db init args [skip ci] 2023-05-20 18:00:02 +02:00
leo f23ec569c2
just: fix svgo tgt by not quoting * [skip ci] 2023-05-11 14:26:27 +02:00
leo 0efb419d56
tmpl,just: process SVGs with svgo
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-08 23:42:27 +02:00
leo df0c280ad1
go: redo asset handling
All checks were successful
continuous-integration/drone/push Build is passing
* only embed substructure of assets
* create subfolders for css, imgs
* add .gitattributes file specifying pcmt.css as generated (by tailwind)
2023-05-08 00:13:33 +02:00
leo 6c47b6e354
just: run pg with user namespaces [skip ci] 2023-05-04 00:12:39 +02:00
leo ecd3330ea8
fix(just): mount actual data folder [skip ci] 2023-05-04 00:12:14 +02:00
leo 279514f350
just: add prod target [skip ci] 2023-05-03 23:58:40 +02:00
leo 6c061fb94f
just: add db{start,stop} targets [skip ci] 2023-05-03 23:58:23 +02:00
leo 1655d6b792
go: /static -> /assets in varnames,routes,dirs
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-26 22:44:18 +02:00
leo b1c926befd
justfile: foolproof+document targets [skip ci] 2023-04-20 13:30:10 +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