Commit Graph

315 Commits

Author SHA1 Message Date
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
fd2916e73e
fix(go): show LastLogin on Manage Users page
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-04 11:33:50 +02:00
f4bd798821
fix(go): reject empty/same passwd on init change
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-04 11:28:23 +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`.
0.0.1-rc.2
2023-09-04 10:21:29 +02:00
ff07d14368
release 0.0.1-rc.1
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
0.0.1-rc.1
2023-08-25 02:59:58 +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
247c95f753
go: save all breaches as cache, search by name
All checks were successful
continuous-integration/drone/push Build is passing
* also switch addedDate column to string temporarily, until saving
  yy-mm-dd as time is solved...
2023-08-24 03:59:50 +02:00
9fb9cc2735
go(hibp): add AllBreachesForAccount + amend tests
All checks were successful
continuous-integration/drone/push Build is passing
* also automatically use hibp api key with direnv and in CI
* check for rate-limit
* don't interpret rate-limit in tests as a failure
* report errors properly
2023-08-24 02:05:22 +02:00
ec7a8ca61a
go: run requests scheduler from main
All checks were successful
continuous-integration/drone/push Build is passing
* also, actually quit serving on shutdown timeout
2023-08-22 20:56:32 +02:00
f2025395b2
go: add basic hibp handling, requests scheduling
All checks were successful
continuous-integration/drone/push Build is passing
* change hibp schema's date field to string, as the date format would
  prevent direct unmarshaling. instead, marshal to string, convert later
* the scheduler is in place in order not to get throttled after going
  over API limit
* the scheduler detects when in testing mode and changes little bits of
  behaviour
* add tests for some basic requests
* run the requests scheduler as a background service during testing
2023-08-22 19:57:48 +02:00
3077eb80c6
go: add HIBPSchema + adjust ent model fields
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-20 23:16:12 +02:00
e7849b5443
go: fix setting port from config
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-20 23:01:27 +02:00
7a877b01bb
go: implement import of local breach data
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-20 05:20:33 +02:00
74546f996b
ent: add/extend entities, tests, validation
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-19 04:52:15 +02:00
5579d77cc3
pre-commit-config: use check-added-large-files ...
...hook

[skip ci]
2023-08-19 04:36:24 +02:00
f8364605e4
go: add handling of argon2 to the password module
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-19 04:28:00 +02:00
2e49dd58d7
config: add comments [skip ci] 2023-08-16 16:10:49 +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
01907c349f
fix: stop looking for the CSRF token logout GET
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-15 18:35:49 +02:00
f0bda26e8c
handlers: add helper newPage func w/ pre-filling
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-15 18:33:48 +02:00
70af5cc86a
fix: repair broken routes
All checks were successful
continuous-integration/drone/push Build is passing
a follow up of:
7f87d0f2c2
1b64571429
2023-08-15 17:56:25 +02:00
f899017467
readme: add icon [skip ci] 2023-08-14 17:07:22 +02:00
e859f4c7e0
add atlas.hcl [skip ci] 2023-08-14 14:56:46 +02:00
7c8650019e
go: add a way to reduce printing
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-13 18:06:24 +02:00
9b4aa6e370
go: mv flags to flag.go
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-13 17:00:46 +02:00
600ef9d445
go: add a way to display upcoming db migrations
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-13 16:57:19 +02:00
096b486dd8
go(run.go): add comment [skip ci] 2023-08-13 16:48:39 +02:00
7f87d0f2c2
routes: regroup, reorganise, break out csrf config
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-13 16:44:40 +02:00
1b64571429
routes: group certain endpoints
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-13 15:52:31 +02:00
afcd7c4198
go(run.go): consolidate flag names
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-12 14:57:56 +02:00
e7be74d1eb
routes: add extra handling for signin/signup
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-12 14:50:49 +02:00
1106359a3e
go(app/server.go): rename func
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-11 23:18:54 +02:00
7b7d1b14a2
go(app): echoSettings.go -> server.go
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-11 23:14:19 +02:00
e45cb25e90
chore: bump npm deps
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-10 23:18:51 +02:00
d83cda7332
go(ent(user)): add last_login field+gen
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-10 19:27:14 +02:00
12764bc43a
db: add baseline atlas migration
[skip ci]
2023-08-10 18:30:12 +02:00
eff9b1e0eb
go(deps): use gopkg.in/yaml.v3
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-10 19:10:57 +02:00
1e1f54023e
go(run.go): add a way to load local breach data
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-10 19:06:13 +02:00
d9c3fc1d68
go(localbreach): tweak code,test for multidoc yaml
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-08 23:20:09 +02:00
7602c7157e
ci: simplify godocs,goreportcard steps
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-08 15:33:12 +02:00
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
a70b52dc04
containerfile: bump base to alpine3.18 (also npm)
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-08 13:33:50 +02:00
649590f8af
readme: extend, reword, add sections [skip ci] 2023-08-08 13:14:11 +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