[PR #81] [MERGED] peer management HTTP API #12115

Closed
opened 2026-08-05 01:32:27 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/81
Author: @braginini
Created: 8/11/2021
Status: Merged
Merged: 8/12/2021
Merged by: @braginini

Base: mainHead: mgmt-account-creation-on-new-user


📝 Commits (10+)

  • 23cb6d1 feature: create account for a newly registered user
  • 7ea9bda feature: finalize user auth flow
  • 151dffc feature: create protected API with JWT
  • b56de13 chore: cleanup http server
  • a564c7a feature: add UI assets
  • 0590a97 chore: update react UI
  • cf976ac refactor: move account not exists -> create to AccountManager
  • d192450 chore: update UI
  • 887586c chore: return only peers on peers endpoint
  • 9f02cd1 chore: add UI path to the config

📊 Changes

22 files changed (+633 additions, -394 deletions)

View changed files

📝 go.mod (+3 -3)
📝 go.sum (+15 -2)
📝 infrastructure_files/config.json (+4 -4)
📝 management/cmd/management.go (+9 -3)
📝 management/server/account.go (+90 -5)
📝 management/server/config.go (+8 -4)
📝 management/server/file_store.go (+6 -4)
📝 management/server/grpc/server.go (+2 -6)
management/server/http/handler/callback.go (+0 -96)
management/server/http/handler/dashboard.go (+0 -44)
management/server/http/handler/login.go (+0 -58)
management/server/http/handler/logout.go (+0 -48)
management/server/http/handler/peers.go (+67 -0)
management/server/http/handler/setupkeys.go (+58 -0)
management/server/http/handler/util.go (+15 -0)
management/server/http/middleware/auth.go (+0 -39)
management/server/http/middleware/authenticated.go (+0 -31)
management/server/http/middleware/handler.go (+92 -0)
management/server/http/middleware/jwtmiddleware.go (+237 -0)
📝 management/server/http/server.go (+21 -25)

...and 2 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/81 **Author:** [@braginini](https://github.com/braginini) **Created:** 8/11/2021 **Status:** ✅ Merged **Merged:** 8/12/2021 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `mgmt-account-creation-on-new-user` --- ### 📝 Commits (10+) - [`23cb6d1`](https://github.com/netbirdio/netbird/commit/23cb6d11a530fe3e5d613155e0edca0b50d1ef8e) feature: create account for a newly registered user - [`7ea9bda`](https://github.com/netbirdio/netbird/commit/7ea9bdaa2d33109426a6d58615828394d87ca436) feature: finalize user auth flow - [`151dffc`](https://github.com/netbirdio/netbird/commit/151dffcef5884dcdb64890ad70178e380609752f) feature: create protected API with JWT - [`b56de13`](https://github.com/netbirdio/netbird/commit/b56de133eb638b5ab7a18a744ce4c6fecb505d29) chore: cleanup http server - [`a564c7a`](https://github.com/netbirdio/netbird/commit/a564c7a02c39220c00a0da67dda45a4b48bef3f2) feature: add UI assets - [`0590a97`](https://github.com/netbirdio/netbird/commit/0590a97938a14617745e707bded9c1ad5d75aae0) chore: update react UI - [`cf976ac`](https://github.com/netbirdio/netbird/commit/cf976acdef6b51d5eb98db5402e224d81fea1c28) refactor: move account not exists -> create to AccountManager - [`d192450`](https://github.com/netbirdio/netbird/commit/d192450e3527ca8175e621886e53d400320e867f) chore: update UI - [`887586c`](https://github.com/netbirdio/netbird/commit/887586c396750739c9fdec93eef649fce9109b24) chore: return only peers on peers endpoint - [`9f02cd1`](https://github.com/netbirdio/netbird/commit/9f02cd1518fd3cd046af2ab1e9414804dbcde6ab) chore: add UI path to the config ### 📊 Changes **22 files changed** (+633 additions, -394 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+3 -3) 📝 `go.sum` (+15 -2) 📝 `infrastructure_files/config.json` (+4 -4) 📝 `management/cmd/management.go` (+9 -3) 📝 `management/server/account.go` (+90 -5) 📝 `management/server/config.go` (+8 -4) 📝 `management/server/file_store.go` (+6 -4) 📝 `management/server/grpc/server.go` (+2 -6) ➖ `management/server/http/handler/callback.go` (+0 -96) ➖ `management/server/http/handler/dashboard.go` (+0 -44) ➖ `management/server/http/handler/login.go` (+0 -58) ➖ `management/server/http/handler/logout.go` (+0 -48) ➕ `management/server/http/handler/peers.go` (+67 -0) ➕ `management/server/http/handler/setupkeys.go` (+58 -0) ➕ `management/server/http/handler/util.go` (+15 -0) ➖ `management/server/http/middleware/auth.go` (+0 -39) ➖ `management/server/http/middleware/authenticated.go` (+0 -31) ➕ `management/server/http/middleware/handler.go` (+92 -0) ➕ `management/server/http/middleware/jwtmiddleware.go` (+237 -0) 📝 `management/server/http/server.go` (+21 -25) _...and 2 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 01:32:27 -04:00
saavagebueno changed title from [PR #81] [MERGED] peer management HTTP API to [PR #81] peer management HTTP API 2026-08-05 02:07:46 -04:00
saavagebueno changed title from [PR #81] peer management HTTP API to [PR #81] [MERGED] peer management HTTP API 2026-08-05 02:09:39 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#12115