1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-04-25 01:19:15 +02:00
juanfont.headscale/hscontrol/db
Enkelmann 0d3134720b
Only read relevant nodes from database in PeerChangedResponse (#2509)
* Only read relevant nodes from database in PeerChangedResponse

* Rework to ensure transactional consistency in PeerChangedResponse again

* An empty nodeIDs list should return an empty nodes list

* Add test to ListNodesSubset

* Link PR in CHANGELOG.md

* combine ListNodes and ListNodesSubset into one function

* query for all nodes in ListNodes if no parameter is given

* also add optional filtering for relevant nodes to ListPeers
2025-04-08 14:56:44 +02:00
..
testdata hscontrol/db: add migration setting non existing pak on nodes to null (#2412) 2025-02-07 10:22:23 +01:00
api_key_test.go Replace the timestamp based state system 2023-09-19 10:20:21 -05:00
api_key.go Replace database locks with transactions (#1701) 2024-02-08 17:28:19 +01:00
db_test.go Redo route code (#2422) 2025-02-26 16:22:55 +01:00
db.go Drop routes table 2025-03-10 16:52:29 +01:00
ip_test.go Redo route code (#2422) 2025-02-26 16:22:55 +01:00
ip.go use tsaddr library and cleanups (#2150) 2024-10-02 09:06:09 +02:00
node_test.go Only read relevant nodes from database in PeerChangedResponse (#2509) 2025-04-08 14:56:44 +02:00
node.go Only read relevant nodes from database in PeerChangedResponse (#2509) 2025-04-08 14:56:44 +02:00
policy.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
preauth_keys_test.go Return better web errors to the user (#2398) 2025-02-01 15:25:18 +01:00
preauth_keys.go Return better web errors to the user (#2398) 2025-02-01 15:25:18 +01:00
suite_test.go fix postgres migration issue with 0.24 (#2367) 2025-01-23 14:58:42 +01:00
text_serialiser.go use gorm serialiser instead of custom hooks (#2156) 2024-10-02 11:41:58 +02:00
users_test.go fix tags not resolving to username if email is present (#2309) 2024-12-19 13:10:10 +01:00
users.go no edit of oidc users, minimum hostname length (#2393) 2025-02-01 09:40:37 +00:00