pcmt/ent
surtur f2025395b2
All checks were successful
continuous-integration/drone/push Build is passing
go: add basic hibp handling, requests scheduling
* 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
..
agekey ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
enttest add bulk changes 2023-04-13 00:07:08 +02:00
hibp go: add HIBPSchema + adjust ent model fields 2023-08-20 23:16:12 +02:00
hook ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
localbreach go: implement import of local breach data 2023-08-20 05:20:33 +02:00
migrate go: add HIBPSchema + adjust ent model fields 2023-08-20 23:16:12 +02:00
predicate ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
runtime chore(ent): re-run go generate 2023-08-07 21:31:46 +02:00
schema go: add basic hibp handling, requests scheduling 2023-08-22 19:57:48 +02:00
searchquery ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
settings ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
setup chore(ent): re-run go generate 2023-08-07 21:31:46 +02:00
trackedbreaches ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
user ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
agekey_create.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
agekey_delete.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
agekey_query.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
agekey_update.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
agekey.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
client.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
ent.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
generate.go feat: add license headers (+spdx id) 2023-05-20 20:15:57 +02:00
hibp_create.go go: add HIBPSchema + adjust ent model fields 2023-08-20 23:16:12 +02:00
hibp_delete.go chore(ent): re-run go generate 2023-08-07 21:31:46 +02:00
hibp_query.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
hibp_update.go go: add HIBPSchema + adjust ent model fields 2023-08-20 23:16:12 +02:00
hibp.go go: add HIBPSchema + adjust ent model fields 2023-08-20 23:16:12 +02:00
localbreach_create.go go: implement import of local breach data 2023-08-20 05:20:33 +02:00
localbreach_delete.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
localbreach_query.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
localbreach_update.go go: implement import of local breach data 2023-08-20 05:20:33 +02:00
localbreach.go go: implement import of local breach data 2023-08-20 05:20:33 +02:00
mutation.go go: add HIBPSchema + adjust ent model fields 2023-08-20 23:16:12 +02:00
runtime.go go: add HIBPSchema + adjust ent model fields 2023-08-20 23:16:12 +02:00
searchquery_create.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
searchquery_delete.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
searchquery_query.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
searchquery_update.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
searchquery.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
settings_create.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
settings_delete.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
settings_query.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
settings_update.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
settings.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
setup_create.go chore(ent): re-run go generate 2023-08-07 21:31:46 +02:00
setup_delete.go chore(ent): re-run go generate 2023-08-07 21:31:46 +02:00
setup_query.go chore(ent): re-run go generate 2023-08-07 21:31:46 +02:00
setup_update.go chore(ent): re-run go generate 2023-08-07 21:31:46 +02:00
setup.go chore(ent): re-run go generate 2023-08-07 21:31:46 +02:00
trackedbreaches_create.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
trackedbreaches_delete.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
trackedbreaches_query.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
trackedbreaches_update.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
trackedbreaches.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
tx.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
user_create.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
user_delete.go chore(ent): re-run go generate 2023-08-07 21:31:46 +02:00
user_query.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
user_update.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00
user.go ent: add/extend entities, tests, validation 2023-08-19 04:52:15 +02:00