Commit Graph

63 Commits

Author SHA1 Message Date
1b2d860beb
fix(go,tmpl): solve the Chromium/Safari logout...
All checks were successful
continuous-integration/drone/push Build is passing
...issue by deleting the session cookie after successful password change
and forcing the user to re-authenticate.

additionally, split the InitialPasswordChange func into separate "GET"
and "POST" variants.
2023-09-04 19:21:01 +02:00
e8515d9a89
chore(tmpl): alignment [skip ci] 2023-09-04 16:17:54 +02:00
d0867f0686
tmpl: add text to home page [skip ci] 2023-09-04 16:17:14 +02:00
4e17a6c911
tmpl: reflect default value in checkbox [skip ci] 2023-09-04 15:19:20 +02:00
0c8f867316
chore(tmpl): code readability [skip ci] 2023-09-04 15:15:43 +02:00
5d494fca8d
go,tmpl(api-keys): add tooltips, disable buttons
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-04 15:00:41 +02:00
15994c9d8f
tmpl(signin): add link tooltip [skip ci] 2023-09-04 13:59:07 +02:00
34babd8335
tmpl: indent input field params for clarity
[skip ci]
2023-09-04 13:45:36 +02:00
0cb77e096f
tmpl(signin): rm red borders on invalid
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-04 12:25:32 +02:00
b1e2168023
fix(go,tmpl): require minlength on username/passwd
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-04 12:21:58 +02:00
c10b4326b8
tmpl(signin): green -> plain border on username
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-04 11:59:57 +02:00
047471e6d4
tmpl: fix init user password not changing
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
the backend type was binding `new-password`, while the password input
field in the template was named `password`.
2023-09-04 10:21:29 +02:00
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
dcb3dfdecc
tmpl: populate navbar's about link [skip ci] 2023-08-24 11:28:39 +02:00
ab93161867
go,tmpl: allow conditionally disabling the sign-up
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-16 15:07:10 +02:00
08b49f5731
tmpl(users): add table zebra striping [skip ci] 2023-08-08 12:05:14 +02:00
180229d0c8
tmpl(users): add outline on hover [skip ci] 2023-08-08 12:04:29 +02:00
6f0e3e9439
tmpl: rm cruft [skip ci] 2023-08-07 22:01:27 +02:00
1d47942ce5
tmpl: fix display of field invalid state [skip ci] 2023-08-07 21:59:34 +02:00
8d67e88807
tmpl(user-new): add forgotten page adjustment [skip ci] 2023-08-07 21:51:07 +02:00
df79afcd5e
tmpl: rm broad capitalisation,prefix [skip ci] 2023-08-07 21:48:19 +02:00
94589b2a14
tmpl: use select-all where appropriate [skip ci] 2023-08-07 21:43:10 +02:00
0a77dea6a6
tmpl: make footer dots bold [skip ci] 2023-08-07 21:42:23 +02:00
5240dce87b
tmpl: fixate footer in the bottom [skip ci] 2023-08-07 21:39:39 +02:00
8d8d8e5731
tmpl: reword text on the buttons [skip ci] 2023-08-07 21:35:59 +02:00
3e777f8314
tmpl: disable buttons w/ api keys unset [skip ci] 2023-08-07 21:35:32 +02:00
29c8721524
tmpl: change cursor shape on help notes [skip ci] 2023-08-07 21:34:06 +02:00
1c67191c09
feat: implement user deletion
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-07 21:29:30 +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
1f8bbf7ec6
home.tmpl: simplify layout
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-03 14:55:41 +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
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
5f8548958f
go: add usr updating [wip]
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-02 20:00:14 +02:00
leo
ae5c4f1dd4
go,tmpl: add usr details listing
All checks were successful
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
leo
06c2c79aa8
singin.tmpl: improve form
All checks were successful
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
leo
e2a29fa692
handlers,tmpl: render+log signin better errors
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-28 22:47:10 +02:00
leo
547f6e7b3c
add user creation
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-22 06:47:33 +02:00
leo
cca2b360f4
navbar: fix background
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-22 03:49:42 +02:00
leo
97ea29d043
add user listing
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-22 03:22:58 +02:00
leo
15918d4cd7
tmpls: set required attr for form fields
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-15 18:37:34 +02:00
leo
50c3c939b6
head.tmpl: add Content Security Policy meta attr
All checks were successful
continuous-integration/drone/push Build is passing
* implement calculating integrity for script, stylesheet assets
* break out browser-sync loader script to its own file (instead of
  inline)
* implement Content Security Policy that only allows BrowserSync scripts
  and hooks to load from localhost when DevelMode is enabled (i.e. not
  in production)
2023-05-15 14:12:39 +02:00
leo
13b9c3bdb4
navbar: reduce the top gap + persist topside
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-11 23:29:07 +02:00