Commit Graph
588 Commits
Author SHA1 Message Date
bcmmbaga ccbe2e0100 Merge branch 'refs/heads/migrate-with-json-serializer' into deploy/peer-performance 2024-05-03 14:11:23 +03:00
bcmmbaga 5b042eee74 migrate null blob values 2024-05-03 14:07:54 +03:00
Pascal Fischer 125c418d85 add debug to GetAccount sqlite store 2024-04-30 13:52:19 +02:00
Pascal Fischer 9f607029c0 add debug to GetAccount sqlite store 2024-04-30 13:35:04 +02:00
bcmmbaga 4df1d556c8 fix tests 2024-04-30 13:35:49 +03:00
bcmmbaga acaf315152 Merge branch 'refs/heads/migrate-with-json-serializer' into deploy/peer-performance 2024-04-30 13:32:48 +03:00
bcmmbaga 81b6f7dc56 Merge remote-tracking branch 'refs/remotes/origin/test/add-stopwatch' into deploy/peer-performance 2024-04-30 13:32:37 +03:00
bcmmbaga cb9a8e9fa4 Add tests 2024-04-30 13:27:14 +03:00
Pascal Fischer f68d9ce042 fix linter 2024-04-30 12:03:59 +02:00
Pascal Fischer 1f182411c6 update store 2024-04-30 11:43:48 +02:00
Pascal Fischer 68e971cb82 Merge remote-tracking branch 'origin/test/add-stopwatch' into test/add-stopwatch 2024-04-30 11:29:08 +02:00
Pascal Fischer f4a464fb69 update account manager mock 2024-04-30 11:28:57 +02:00
bcmmbaga 7aff0e828b Refactor 2024-04-30 10:07:40 +03:00
bcmmbaga 90ebf0017b remove duplicate index 2024-04-29 23:21:00 +03:00
bcmmbaga bf8c6b95de run net ip migration 2024-04-29 23:20:43 +03:00
bcmmbaga 8415064758 migrate net ip field from blob to json 2024-04-29 23:20:22 +03:00
Pascal Fischer 809f6cdbc7 add stacktrace for get network map 2024-04-29 18:56:58 +02:00
Maycon Santos fd26e989e3 Check if channel exist before sending network map (#1894)
Check for connection channel before calculating and sending the network map
2024-04-29 18:31:52 +02:00
Pascal Fischer 7474876d6a add stacktrace for get network map 2024-04-29 18:12:22 +02:00
Pascal Fischer 2095e35217 remove stopwatches + logs 2024-04-29 16:26:44 +02:00
Pascal Fischer 02537e5536 remove stopwatches 2024-04-29 14:57:57 +02:00
bcmmbaga f99477d3db serialize net.IP as json 2024-04-29 15:45:46 +03:00
Pascal Fischer 3085383729 introduce RWLocks 2024-04-29 14:03:33 +02:00
Pascal Fischer 07bdf977d0 update db access 2024-04-26 18:05:41 +02:00
Pascal Fischer 4a147006d2 add table 2024-04-26 17:45:10 +02:00
Pascal Fischer 480192028e try improving Sync method 2024-04-26 17:18:24 +02:00
Bethuel Mmbaga 71c6437bab add content type before writing header (#1887) 2024-04-25 21:20:24 +02:00
Pascal Fischer 027c0e5c63 update 2024-04-25 15:47:32 +02:00
Pascal Fischer fbb1181b64 update 2024-04-25 15:44:06 +02:00
Pascal Fischer e50ed290d9 update 2024-04-25 15:17:57 +02:00
Pascal Fischer 8f8cfcbc20 add method timing logs 2024-04-25 14:15:36 +02:00
pascal-fischer 8f3a0f2c38 Add retry to IdP cache lookup (#1882) 2024-04-23 19:23:43 +02:00
pascal-fischer 1e6addaa65 Add account locks to getAccountWithAuthorizationClaims method (#1847) 2024-04-23 19:09:58 +02:00
Maycon Santos a80c8b0176 Redeem invite only when incoming user was invited (#1861)
checks for users with pending invite status in the cache that already logged in and refresh the cache
2024-04-22 11:10:27 +02:00
Misha Bragin b74078fd95 Use a better way to insert data in batches (#1874) 2024-04-20 22:04:20 +02:00
Viktor Liu 77488ad11a Migrate serializer:gob fields to serializer:json (#1855) 2024-04-18 18:14:21 +02:00
Viktor Liu e0de86d6c9 Use fixed activity codes (#1846)
* Add duplicate constants check
2024-04-15 14:15:46 +02:00
Zoltan Papp 5204d07811 Pass integrated validator for API (#1814)
Pass integrated validator for API handler
2024-04-15 12:08:38 +02:00
Zoltan Papp 9505805313 Rename variable (#1829) 2024-04-11 14:08:03 +02:00
Maycon Santos 704c67dec8 Allow owners that did not create the account to delete it (#1825)
Sometimes the Owner role will be passed to new users, and they need to be able to delete the account
2024-04-11 10:02:51 +02:00
verytrap c28657710a Fix function names in comments (#1816)
Signed-off-by: verytrap <wangqiuyue@outlook.com>
2024-04-09 13:18:38 +02:00
Maycon Santos 3875c29f6b Revert "Rollback new routing functionality (#1805)" (#1813)
This reverts commit 9f32ccd453.
2024-04-08 18:56:52 +02:00
Viktor Liu 9f32ccd453 Rollback new routing functionality (#1805) 2024-04-05 20:38:49 +02:00
rqi14 9af532fe71 Get scope from endpoint url instead of hardcoding (#1770) 2024-04-02 13:43:57 +02:00
Misha Bragin 22beac1b1b Fix invalid token due to the cache race (#1763) 2024-03-28 12:33:56 +01:00
Zoltan Papp 2d76b058fc Feature/peer validator (#1553)
Follow up management-integrations changes

move groups to separated packages to avoid circle dependencies
save location information in Login action
2024-03-27 18:48:48 +01:00
pascal-fischer ea2d060f93 Add limited dashboard view (#1738) 2024-03-27 16:11:45 +01:00
pascal-fischer af50eb350f Change log level for JWT override message of single account mode (#1747) 2024-03-25 14:25:26 +01:00
Viktor Liu 2475473227 Support client default routes for Linux (#1667)
All routes are now installed in a custom netbird routing table.
Management and wireguard traffic is now marked with a custom fwmark.
When the mark is present the traffic is routed via the main routing table, bypassing the VPN.
When the mark is absent the traffic is routed via the netbird routing table, if:
- there's no match in the main routing table
- it would match the default route in the routing table

IPv6 traffic is blocked when a default route IPv4 route is configured to avoid leakage.
2024-03-21 16:49:28 +01:00
Maycon Santos f0672b87bc Add missing dns domain to tests to avoid verbose test logs (#1724) 2024-03-18 12:25:01 +01:00