Commit Graph

252 Commits

Author SHA1 Message Date
1c67191c09
feat: implement user deletion
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-07 21:29:30 +02:00
52dfe44080
go(logout): let only authorised users log out
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-07 14:40:46 +02:00
c8a48cd526
go(logout): redir to /home if valid session exists
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-07 14:21:48 +02:00
9dd5f05eb6
tmpl(manage/api-keys): update layout [skip ci] 2023-08-06 16:36:29 +02:00
81ca7d8ec1
go,tmpl: add a way to manage API keys [wip]
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-05 22:13:43 +02:00
536b5909c8
go,tmpl: use CSRF token in relevant places
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-05 21:43:45 +02:00
393b1af830
release 0.0.1-rc.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
0.0.1-rc.0
2023-08-05 16:01:34 +02:00
d1c05a995d
readme: update instructions [skip ci] 2023-08-05 16:00:38 +02:00
1fcee6ccbd
add support for goreleaser [skip ci] 2023-08-05 15:02:26 +02:00
e941e73222
go(settings): expose default server timeouts
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-05 14:25:34 +02:00
4ccec7857d
go(settings): improve function docs [skip ci] 2023-08-04 18:35:57 +02:00
094a478cf9
go(settings): add const defaults
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-04 18:31:45 +02:00
eb555cfcad
go: add + use sessionMaxAge
Some checks failed
continuous-integration/drone/push Build is failing
2023-08-04 18:28:56 +02:00
2559092231
go: add getters for Session{Auth,Encr}IsHex
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-04 18:13:23 +02:00
172703aab5
go: use '__Host' prefix with the csrf cookie
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-04 17:26:51 +02:00
fb74533a96
go(settings): add domain fallback
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-04 17:19:06 +02:00
1f8bbf7ec6
home.tmpl: simplify layout
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-03 14:55:41 +02:00
118c34dac6
go: fix csrf issues
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-03 14:49:21 +02:00
044ed583b9
go: set global default {read,write} timeouts
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-03 14:40:04 +02:00
258c6accf0
devenv: bump nixpkgs to 4a56ce9
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-03 14:38:27 +02:00
02ba8bc8a5
ci,containerfile: bump golang to 1.20.6
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-03 14:36:18 +02:00
9ac8810f67
go: change how logger is initialised
All checks were successful
continuous-integration/drone/push Build is passing
* init in run.go
* use slogger instead of slog in main
* print different messages based on whether we're initialising or
  re-initialising slogger..
2023-08-02 15:26:51 +02:00
64f330b034
go: bump deps
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-02 15:14:44 +02:00
3328d0b5ac
chore: bump npm deps
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-02 14:42:24 +02:00
73ad9ada66
justfile: fix typo [skip ci] 2023-08-01 02:20:59 +02:00
8e25f30cd8
go,containerfile: fix embedding version, add flag
All checks were successful
continuous-integration/drone/push Build is passing
* handle build args correctly in the multi-stage Containerfile
* use -ldflags instead of GOLDFLAGS in the Containerfile
* add version flag
* print version when the application starts
2023-07-29 23:37:30 +02:00
8e06a870e1
chore: bump npm deps
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-19 22:21:01 +02:00
f33f87f260
justfile: add pg healthchecking
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-19 22:17:40 +02:00
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
c1e23847a8
run.go: make use of the ok chan
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-19 21:51:05 +02:00
092a8c15d1
ci: bump golanci-lint to v1.53.3
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-19 21:33:49 +02:00
85fe3d4c9d
go: replace deprecated 'ioutil' imports by 'os' 2023-07-19 21:29:22 +02:00
68b97f2ed5
devenv: bump to latest nixpkgs
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-19 19:48:43 +02:00
3250069123
ci: bump curl to 8.2.0
All checks were successful
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
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-19 19:24:02 +02:00
7cf26a73e3
go: add importFlag
All checks were successful
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
leo
631013c2f3
chore: bump js deps
All checks were successful
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
leo
31e86833aa
MiddlewareSession: simplify logic
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-04 12:07:07 +02:00
leo
d89314e289
signup.tmpl:signify input field validity [skip ci] 2023-06-04 12:02:34 +02:00
leo
942987002f
signin.tmpl: change msg [skip ci] 2023-06-04 12:00:44 +02:00
leo
c205c5d251
errorPage.tmpl: update appearance [skip ci] 2023-06-04 11:59:25 +02:00
leo
3cacea8c1f
signin.go: change login failed msg
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-04 11:57:47 +02:00
leo
3c240d3588
manage/user.tmpl: add CreatedAt column [skip ci] 2023-06-04 11:55:13 +02:00
leo
fd9d1e1986
manage/user.tmpl: change title style [skip ci] 2023-06-04 11:52:04 +02:00
leo
653ff23e39
user_details.tmpl: add email field [skip ci] 2023-06-04 11:51:06 +02:00
leo
f7bcc20012
user_details.tmpl: don't capitalise debug msgs
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-04 11:50:19 +02:00
leo
61af0eba18
user_details.tmpl: add label padding
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-04 11:43:39 +02:00
leo
416012f80f
go(user_test): add explicit FailNow()
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-04 11:38:56 +02:00