netbird/management/server
Bethuel Mmbaga 96d2207684
Fix JSON function compatibility for SQLite and PostgreSQL (#2746)
resolves the issue with json_array_length compatibility between SQLite and PostgreSQL. It adjusts the query to conditionally cast types:

PostgreSQL: Casts to json with ::json.
SQLite: Uses the text representation directly.
2024-10-16 17:55:30 +02:00
..
account Feature/peer validator (#1553) 2024-03-27 18:48:48 +01:00
activity Add session expire functionality based on inactivity (#2326) 2024-10-13 14:52:43 +02:00
context Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
geolocation [management] Auto update geolite (#2297) 2024-09-09 18:27:42 +02:00
group Feature/peer validator (#1553) 2024-03-27 18:48:48 +01:00
http Add session expire functionality based on inactivity (#2326) 2024-10-13 14:52:43 +02:00
idp [management] improve zitadel idp error response detail by decoding errors (#2634) 2024-09-27 22:21:34 +03:00
integrated_validator Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
integration_reference Feature/peer validator (#1553) 2024-03-27 18:48:48 +01:00
jwtclaims [management] Add support to ECDSA public Keys (#2461) 2024-08-27 16:37:55 +02:00
metrics Fix issue with canceled context before pushing metrics and decreasing pushing interval (#2235) 2024-07-04 19:15:59 +02:00
migration Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
mock_server fix wrong reference (#2695) 2024-10-04 18:55:25 +03:00
peer Add session expire functionality based on inactivity (#2326) 2024-10-13 14:52:43 +02:00
posture Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
status [management] Propagate error in store errors (#2709) 2024-10-09 14:33:58 +02:00
telemetry [management] Refactor HTTP metrics (#2476) 2024-08-23 19:42:55 +03:00
testdata [management] Move testdata to sql files (#2693) 2024-10-10 12:35:03 +02:00
testutil Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
account_request_buffer.go rename request buffer and update default interval (#2459) 2024-08-21 11:44:52 +02:00
account_test.go Add session expire functionality based on inactivity (#2326) 2024-10-13 14:52:43 +02:00
account.go Add session expire functionality based on inactivity (#2326) 2024-10-13 14:52:43 +02:00
config.go [relay] Feature/relay integration (#2244) 2024-09-08 12:06:14 +02:00
dns_test.go [management] Move testdata to sql files (#2693) 2024-10-10 12:35:03 +02:00
dns.go [management] Remove redundant get account calls in GetAccountFromToken (#2615) 2024-09-27 17:10:50 +03:00
ephemeral_test.go [management] Add transaction to addPeer (#2469) 2024-09-16 15:47:03 +02:00
ephemeral.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
event_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
event.go Add write lock for peer when saving its connection status (#2359) 2024-07-31 14:53:32 +02:00
file_store.go Add session expire functionality based on inactivity (#2326) 2024-10-13 14:52:43 +02:00
group_test.go Add batch delete for groups and users (#2370) 2024-08-08 18:01:38 +03:00
group.go [management] Remove redundant get account calls in GetAccountFromToken (#2615) 2024-09-27 17:10:50 +03:00
grpcserver.go [management, client] Add access control support to network routes (#2100) 2024-10-02 13:41:00 +02:00
integrated_validator.go Add write lock for peer when saving its connection status (#2359) 2024-07-31 14:53:32 +02:00
management_proto_test.go [management] Move testdata to sql files (#2693) 2024-10-10 12:35:03 +02:00
management_suite_test.go Move management server to a separate directory (#67) 2021-07-24 16:14:29 +02:00
management_test.go [management] Move testdata to sql files (#2693) 2024-10-10 12:35:03 +02:00
nameserver_test.go [management] Move testdata to sql files (#2693) 2024-10-10 12:35:03 +02:00
nameserver.go [management] Remove redundant get account calls in GetAccountFromToken (#2615) 2024-09-27 17:10:50 +03:00
network_test.go Exclude second last IP from allocation to use it in the Fake DNS (#912) 2023-05-30 18:26:44 +04:00
network.go [management, client] Add access control support to network routes (#2100) 2024-10-02 13:41:00 +02:00
peer_test.go Add session expire functionality based on inactivity (#2326) 2024-10-13 14:52:43 +02:00
peer.go Add session expire functionality based on inactivity (#2326) 2024-10-13 14:52:43 +02:00
personal_access_token_test.go move into separate package 2023-05-16 12:57:56 +02:00
personal_access_token.go Implement SQLite Store using gorm and relational approach (#1065) 2023-10-12 15:42:36 +02:00
policy_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
policy.go [management, client] Add access control support to network routes (#2100) 2024-10-02 13:41:00 +02:00
posture_checks_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
posture_checks.go [management] Remove redundant get account calls in GetAccountFromToken (#2615) 2024-09-27 17:10:50 +03:00
route_test.go [management] Move testdata to sql files (#2693) 2024-10-10 12:35:03 +02:00
route.go [management, client] Add access control support to network routes (#2100) 2024-10-02 13:41:00 +02:00
scheduler_test.go Reduce test logs (#2550) 2024-09-06 16:28:19 +02:00
scheduler.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
setupkey_test.go [management] Prevent removal of All group from peers during user groups propagation (#2410) 2024-08-12 13:48:05 +03:00
setupkey.go [management] Remove redundant get account calls in GetAccountFromToken (#2615) 2024-09-27 17:10:50 +03:00
sql_store_test.go Fix JSON function compatibility for SQLite and PostgreSQL (#2746) 2024-10-16 17:55:30 +02:00
sql_store.go Fix JSON function compatibility for SQLite and PostgreSQL (#2746) 2024-10-16 17:55:30 +02:00
store_test.go [management] Remove file store (#2689) 2024-10-03 15:50:35 +02:00
store.go [management] Refactor getAccountIDWithAuthorizationClaims (#2715) 2024-10-12 08:35:51 +02:00
token_mgr_test.go [relay] Improve relay messages (#2574) 2024-09-11 16:20:30 +02:00
token_mgr.go [relay] Improve relay messages (#2574) 2024-09-11 16:20:30 +02:00
updatechannel_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
updatechannel.go Reduce test logs (#2550) 2024-09-06 16:28:19 +02:00
user_test.go [management] Refactor User JWT group sync (#2690) 2024-10-04 17:17:01 +03:00
user.go Add billing user role (#2714) 2024-10-10 14:14:56 +02:00