h44z
be29abd29a
add webhook event for peer state change ( #444 ) ( #468 )
...
* add webhook event for peer state change (#444 )
new event types: connect and disconnect
example payload:
```json
{
"event": "connect",
"entity": "peer",
"identifier": "Fb5TaziAs1WrPBjC/MFbWsIelVXvi0hDKZ3YQM9wmU8=",
"payload": {
"PeerId": "Fb5TaziAs1WrPBjC/MFbWsIelVXvi0hDKZ3YQM9wmU8=",
"IsConnected": true,
"IsPingable": false,
"LastPing": null,
"BytesReceived": 1860,
"BytesTransmitted": 10824,
"LastHandshake": "2025-06-26T23:04:33.325216659+02:00",
"Endpoint": "10.55.66.77:33874",
"LastSessionStart": "2025-06-26T22:50:40.10221606+02:00"
}
}
```
* add webhook docs (#444 )
2025-06-27 12:37:10 +02:00
Christoph Haas
61d8aa6589
fix self-provisioned peer-generation ( #452 )
2025-06-08 11:17:04 +02:00
Christoph Haas
e9005b1b90
add minimum password length check
2025-05-16 09:55:35 +02:00
Christoph Haas
1394be2341
add webauthn (passkey) support
2025-05-12 22:53:43 +02:00
Christoph Haas
b9c4ca04f5
allow to encrypt keys in db, add browser-only key generator, add hints that private keys are stored on the server ( #420 )
2025-05-02 18:48:35 +02:00
Vladimir Dombrovski
62f3c8d4a1
Implement EditableKeys parameter ( #417 )
...
Signed-off-by: Vladimir DOMBROVSKI <vladimir.dombrovski@bso.co>
2025-04-30 22:05:40 +02:00
Christoph
e2966d32ea
fix user creation ( #411 )
2025-04-21 15:29:53 +02:00
Christoph
6681dfa96f
generate interface and peer configuration filenames in backend only ( #395 )
2025-04-19 13:12:31 +02:00
Christoph Haas
6cbccf6d43
feat: add simple audit ui
2025-03-29 16:42:31 +01:00
Christoph Haas
7d0da4e7ad
chore: use interfaces for all other services
2025-03-23 23:09:47 +01:00
Christoph Haas
0206952182
chore: replace gin with standard lib net/http
2025-03-09 21:16:42 +01:00
Christoph Haas
7473132932
chore: replace logrus with standard lib log/slog
2025-03-02 08:51:13 +01:00
Christoph Haas
fdb436b135
chore: get rid of static code warnings
2025-02-28 16:11:55 +01:00
Christoph Haas
e24acfa57d
chore: cleanup code formatting
2025-02-28 08:37:55 +01:00
Christoph Haas
f6d7a851d1
frontend: fix locked user display ( #367 )
Docker / Build and Push (push) Waiting to run
Docker / release (push) Blocked by required conditions
github-pages / deploy (push) Waiting to run
2025-02-17 08:18:36 +01:00
Christoph Haas
d01d865b4d
fix self provisioning feature ( #272 )
Docker / Build and Push (push) Has been cancelled
github-pages / deploy (push) Has been cancelled
Docker / release (push) Has been cancelled
2025-01-26 11:35:24 +01:00
Christoph Haas
1b8cdc3417
automatically append listening port to endpoint address ( #352 )
2025-01-26 09:52:09 +01:00
Christoph Haas
c73ce0288e
fix disabling of missing ldap users ( #344 ) and allow deletion of all user types
2025-01-18 17:39:18 +01:00
Christoph Haas
63d85d8123
code cleanup
2025-01-11 22:56:25 +01:00
h44z
d596f578f6
API - CRUD for peers, interfaces and users ( #340 )
...
Public REST API implementation to handle peers, interfaces and users. It also includes some simple provisioning endpoints.
The Swagger API documentation is available under /api/v1/doc.html
2025-01-11 18:44:55 +01:00
Christoph Haas
6d86f15ff8
implement/fix peer and user disable event ( #337 , #273 )
Docker / Build and Push (push) Waiting to run
Docker / release (push) Blocked by required conditions
github-pages / deploy (push) Waiting to run
2025-01-05 10:06:34 +01:00
Dmytro Bondar
90a570bd66
fix: enhance PrivateString Scan method to support []byte input ( #324 )
...
Docker / Build and Push (push) Waiting to run
Docker / release (push) Blocked by required conditions
github-pages / deploy (push) Waiting to run
Signed-off-by: Dmytro Bondar <git@bonddim.com>
2024-11-26 21:09:39 +01:00
Christoph
bf9183256a
chore: update dependencies, refactor option types
Docker / Build and Push (push) Has been cancelled
github-pages / deploy (push) Has been cancelled
Docker / release (push) Has been cancelled
2024-10-15 15:44:47 +02:00
Christoph Haas
288b7794ca
fix default peer creation on login ( #189 )
2024-04-02 22:29:10 +02:00
Ruoxi Wang
1d862c01d5
Implement custom Value and Scan methods for PrivateString type ( #231 )
2024-03-29 15:52:14 +01:00
Christoph Haas
1b4b5ff161
fix REST API permission checks ( #209 )
2024-01-31 21:14:36 +01:00
guangwu
6284bc8a01
chore: no need to use fmt.Sprintf ( #190 )
2023-10-22 18:40:54 +02:00
Christoph Haas
b49ff66c41
fix invalid ip suggestions ( #185 )
2023-10-20 12:13:39 +02:00
Ruoxi Wang
4c061a1aa9
Peer interface address should match server's prefix length ( #177 )
2023-10-19 22:53:51 +02:00
h44z
8b820a5adf
V2 alpha - initial version ( #172 )
...
Initial alpha codebase for version 2 of WireGuard Portal.
This version is considered unstable and incomplete (for example, no public REST API)!
Use with care!
Fixes/Implements the following issues:
- OAuth support #154 , #1
- New Web UI with internationalisation support #98 , #107 , #89 , #62
- Postgres Support #49
- Improved Email handling #47 , #119
- DNS Search Domain support #46
- Bugfixes #94 , #48
---------
Co-authored-by: Fabian Wechselberger <wechselbergerf@hotmail.com>
2023-08-04 13:34:18 +02:00