68b97f2ed5
devenv: bump to latest nixpkgs
continuous-integration/drone/push Build is passing
2023-07-19 19:48:43 +02:00
3250069123
ci: bump curl to 8.2.0
continuous-integration/drone/push Build is passing
2023-07-19 19:27:19 +02:00
2c3b41a53f
ci: bump golang to 1.20.5-alpine3.18
continuous-integration/drone/push Build is passing
2023-07-19 19:24:02 +02:00
7cf26a73e3
go: add importFlag
continuous-integration/drone/push Build is passing
2023-07-19 18:25:46 +02:00
4ceb19f4dc
containerfile: build pcmt with -trimpath [skip ci]
2023-07-19 17:23:55 +02:00
7256007b33
fix justfile: trimpaths -> trimpath [skip ci]
2023-07-19 17:22:21 +02:00
631013c2f3
chore: bump js deps
...
continuous-integration/drone/push Build is passing
for tailwindcss/browsersync
also, npm on arch now requires icu libs
2023-06-30 16:45:23 +02:00
31e86833aa
MiddlewareSession: simplify logic
continuous-integration/drone/push Build is passing
2023-06-04 12:07:07 +02:00
d89314e289
signup.tmpl:signify input field validity [skip ci]
2023-06-04 12:02:34 +02:00
942987002f
signin.tmpl: change msg [skip ci]
2023-06-04 12:00:44 +02:00
c205c5d251
errorPage.tmpl: update appearance [skip ci]
2023-06-04 11:59:25 +02:00
3cacea8c1f
signin.go: change login failed msg
continuous-integration/drone/push Build is passing
2023-06-04 11:57:47 +02:00
3c240d3588
manage/user.tmpl: add CreatedAt column [skip ci]
2023-06-04 11:55:13 +02:00
fd9d1e1986
manage/user.tmpl: change title style [skip ci]
2023-06-04 11:52:04 +02:00
653ff23e39
user_details.tmpl: add email field [skip ci]
2023-06-04 11:51:06 +02:00
f7bcc20012
user_details.tmpl: don't capitalise debug msgs
continuous-integration/drone/push Build is passing
2023-06-04 11:50:19 +02:00
61af0eba18
user_details.tmpl: add label padding
continuous-integration/drone/push Build is passing
2023-06-04 11:43:39 +02:00
416012f80f
go(user_test): add explicit FailNow()
continuous-integration/drone/push Build is passing
2023-06-04 11:38:56 +02:00
ce383b5818
refactor: mv ctx to a later point
continuous-integration/drone/push Build is passing
2023-06-04 11:36:07 +02:00
afc97407f6
healthz: use proper JSON
continuous-integration/drone/push Build is passing
2023-06-04 11:32:57 +02:00
5f8548958f
go: add usr updating [wip]
continuous-integration/drone/push Build is passing
2023-06-02 20:00:14 +02:00
32aa8d8852
go: add+enable compression middleware
continuous-integration/drone/push Build is passing
2023-05-31 22:42:50 +02:00
5cf5ba51bc
go: enable HEAD method for some routes
continuous-integration/drone/push Build is passing
2023-05-31 22:32:25 +02:00
ffc9b74c75
go: add a simple caching middleware for assets
continuous-integration/drone/push Build is passing
2023-05-31 22:29:52 +02:00
dbd0e9d01d
go: implement session auth middleware
...
continuous-integration/drone/push Build is passing
* simplify protection of endpoints
* role discernment still occures in respective handlers
* db client needs to be passed into handlers as a global var now
2023-05-30 23:50:37 +02:00
1f11b71341
user-mgmt: clear err messages + page rendering
continuous-integration/drone/push Build is passing
2023-05-30 21:08:34 +02:00
ef6ef17715
feat: don't compare pcmt.css in ci
...
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
ae5c4f1dd4
go,tmpl: add usr details listing
...
continuous-integration/drone/push Build is passing
* add tmpl
* add handler for route /manage/user/:id
* add convenience helper func
* handle not found/invalid uuid errors
2023-05-29 22:42:18 +02:00
06c2c79aa8
singin.tmpl: improve form
...
continuous-integration/drone/push Build is passing
* add limits to inputs
* signify with CSS when the input is incorrect
* rebuild tailwind
2023-05-29 14:57:13 +02:00
771dc0d55c
chore: bump npm deps
continuous-integration/drone/push Build is passing
2023-05-28 23:15:56 +02:00
e2a29fa692
handlers,tmpl: render+log signin better errors
continuous-integration/drone/push Build is passing
2023-05-28 22:47:10 +02:00
fcd723d062
dockerignore: add node_modules [skip ci]
2023-05-28 20:05:51 +02:00
f53953e920
containerfile: install npm, gen stylesheet
...
[skip ci]
2023-05-28 20:05:01 +02:00
17540bf453
just(svgo): look for tmpls in subdirs [skip ci]
2023-05-28 18:59:40 +02:00
395ab701f2
just: run db with --replace [skip ci]
2023-05-28 18:58:32 +02:00
e0a7656b2b
handlers(types): add validation
continuous-integration/drone/push Build is passing
2023-05-28 18:57:37 +02:00
11de8de558
go: add local breach data schema
continuous-integration/drone/push Build is passing
2023-05-26 01:59:09 +02:00
ff68a7dbe3
go: fix port default,flag handling
continuous-integration/drone/push Build is passing
2023-05-23 16:37:33 +02:00
11b28e3d39
readme: fixes and corrections [skip ci]
2023-05-23 14:03:02 +02:00
547f6e7b3c
add user creation
continuous-integration/drone/push Build is passing
2023-05-22 06:47:33 +02:00
cca2b360f4
navbar: fix background
continuous-integration/drone/push Build is passing
2023-05-22 03:49:42 +02:00
97ea29d043
add user listing
continuous-integration/drone/push Build is passing
2023-05-22 03:22:58 +02:00
9972551239
run: improve config load err message
continuous-integration/drone/push Build is passing
2023-05-21 18:59:12 +02:00
874cdcec3a
just,pre-commit: fix typos [skip ci]
2023-05-21 18:54:28 +02:00
6ce05ea74d
feat: add initial admin user creation
...
continuous-integration/drone/push Build is passing
have the app create the initial admin user:
* if the db has not yet been set up
* if there are not users
* if the config value for Init.CreateAdmin is True
* if the admin password is not empty
default username, email values can be seen in modules/user/const.go
2023-05-21 18:50:41 +02:00
744090aa9a
enable erasing ENVs
continuous-integration/drone/push Build is passing
2023-05-21 16:00:22 +02:00
9eb811169d
feat: bump configuration schema to 0.0.1-rc.2
...
continuous-integration/drone/push Build is passing
this entails a couple of breaking changes due to schema evolution. once
the schema is stabilised, backward compatibility promise will be given.
* update config struct and accompanying scructs
* update tests
* update exampleConfig.dhall
* update local dev environment (devenv)
* make settings reflect the config schema changes
* make use of some settings/config updates
2023-05-21 12:44:18 +02:00
7b5366daa4
just: fix db init args [skip ci]
2023-05-20 21:31:27 +02:00
3a2f85f683
feat: add license headers (+spdx id)
continuous-integration/drone/push Build is passing
2023-05-20 20:15:57 +02:00
9159cc315e
just: make sure the db folder exists [skip ci]
2023-05-20 19:05:37 +02:00