headscale/hscontrol
Mike Poindexter 3101f895a7
Fix 764 (#2093)
* Fix KeyExpiration when a zero time value has a timezone

When a zero time value is loaded from JSON or a DB in a way that
assigns it the local timezone, it does not roudtrip in JSON as a
value for which IsZero returns true. This causes KeyExpiry to be
treated as a far past value instead of a nilish value.

See https://github.com/golang/go/issues/57040

* Fix whitespace

* Ensure that postgresql is used for all tests when env var is set

* Pass through value of HEADSCALE_INTEGRATION_POSTGRES env var

* Add option to set timezone on headscale container

* Add test for registration with auth key in alternate timezone
2024-09-03 09:22:17 +02:00
..
assets update flake, fix prettier lint 2023-09-05 08:47:43 +02:00
db Fix FKs on sqlite migrations (#2083) 2024-08-30 08:08:54 +02:00
derp test embedded derp with derp updater, check client health (#2030) 2024-08-11 07:44:59 +02:00
mapper Fix 764 (#2093) 2024-09-03 09:22:17 +02:00
notifier reformat code (#2019) 2024-07-22 08:56:00 +02:00
policy reformat code (#2019) 2024-07-22 08:56:00 +02:00
templates update flake, fix prettier lint 2023-09-05 08:47:43 +02:00
types fix warning errs from beta2 (#2075) 2024-08-23 17:17:37 +02:00
util fix route table migration wiping routes 0.22 -> 0.23 (#2076) 2024-08-27 18:54:28 +02:00
app.go validate policy against nodes, error if not valid (#2089) 2024-08-30 16:58:29 +02:00
auth.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
auth_noise.go metrics, tuning in tests, db cleanups, fix concurrency issue (#1895) 2024-04-21 18:28:17 +02:00
grpcv1.go validate policy against nodes, error if not valid (#2089) 2024-08-30 16:58:29 +02:00
grpcv1_test.go rename package name to hscontrol 2023-05-10 20:47:51 +02:00
handlers.go Make registration screen easier to use (#1975) 2024-06-15 09:40:49 +02:00
metrics.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
noise.go Redo DNS configuration (#2034) 2024-08-19 11:41:05 +02:00
oidc.go Fix self notification on expiry update via oidc relogin (#2080) 2024-08-30 08:20:29 +02:00
platform_config.go rename package name to hscontrol 2023-05-10 20:47:51 +02:00
poll.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
suite_test.go new IP allocator and add postgres to integration tests. (#1756) 2024-02-18 19:31:29 +01:00
tailsql.go Use result of fmt.Errorf call (#1668) 2024-02-15 11:02:54 +01:00