Alexander Beck
2f194884d3
user can manage own peers on default device ( #82 )
...
Co-authored-by: GitHubActionRunner <knm@knm.io>
2022-05-26 23:10:17 +02:00
Christoph Haas
83271b5d34
fix user edit bug, allow to delete users from the database ( #40 )
2022-03-15 23:34:55 +01:00
commonism
19c58fb5af
Fixes & API unit testing ( #58 )
...
* api - add OperationID
helps when using pyswagger and is visible via
http://localhost:8123/swagger/index.html?displayOperationId=true
gin-swagger can not set displayOperationId yet
* api - match paramters to their property equivalents
pascalcase & sometimes replacing the name (e.g. device -> DeviceName)
* api - use ShouldBindJSON instead of BindJSON
BindJSON sets the content-type text/plain
* api - we renamed, we regenerated
* device - allow - in DeviceName wg-example0.conf etc
* api - more pascalcase & argument renames
* api - marshal DeletedAt as string
gorm.DeletedAt is of type sql.NullTime
NullTime declares Time & Valid as properties
DeletedAt marshals as time.Time
swaggertype allows only basic types
-> string
* Peer - export UID/DeviceType in json
UID/DeviceType is required, skipping in json, skips it in marshalling,
next unmarshalling fails
* assets - name forms for use with mechanize
* api - match error message
* add python3/pyswagger based unittesting
- initializes a clean install by configuration via web service
- tests the rest api
* tests - test address exhaustion
* tests - test network expansion
Co-authored-by: Markus Koetter <koetter@cispa.de>
2021-09-29 18:41:13 +02:00
The one with the braid (she/her) | Dфҿ mit dem Zopf (sie/ihr)
9147fe33cb
Added some more customization options ( #43 )
...
* Added some more customization options
* Fixed inconsistent height of custom logos
* Extended navbar style to login page
2021-09-12 10:17:13 +02:00
Christoph Haas
fbc0b26631
sendall button for mails, update icons for peer creation buttons ( #35 )
2021-07-30 13:43:39 +02:00
Christoph Haas
e6ad82ec6e
changed headline to avoid confusion ( #33 )
2021-07-30 12:32:10 +02:00
Christoph Haas
400259a0be
convert input to email-token on focus loss ( #28 )
2021-06-30 17:36:39 +02:00
Christoph Haas
96c713a513
update bootstrap-tokenfield lib, fix enter bug ( #27 )
...
related: https://github.com/sliptree/bootstrap-tokenfield/issues/308
2021-06-30 17:28:25 +02:00
Christoph Haas
e0968b3239
support AllowIPs for peers in server config ( #24 )
2021-06-18 14:13:44 +02:00
Christoph Haas
96215c4f0e
version 1.0.6, show version in footer
2021-04-07 20:07:40 +02:00
Christoph Haas
afbe36d289
fix client edit layout
2021-04-06 00:33:51 +02:00
Christoph Haas
b4f3228bec
more ui improvements, fix peer template for clients
2021-04-05 23:18:02 +02:00
Christoph Haas
ba768dd2c3
improve client mode, todo: migrate peers (new db schema)
2021-04-05 20:00:11 +02:00
Christoph Haas
39166250ea
fix some bugs in client mode, improve login ui
2021-04-05 19:12:27 +02:00
Christoph Haas
94ca177884
support different interface types: client and server mode
2021-04-05 18:38:38 +02:00
Christoph Haas
39903922dd
WIP: support different interface types: improve placeholder values, allow bulk user creation for external email addresses
2021-04-04 00:04:59 +02:00
Christoph Haas
647fe92a03
WIP: support different interface types: many fixes and improvements...
2021-04-03 23:54:35 +02:00
Christoph Haas
3bfcbe0209
WIP: support different interface types: update config templates
2021-04-03 22:38:22 +02:00
Christoph Haas
aa17303cec
WIP: support different interface types: server, client and custom. Show different UI for each type.
2021-04-03 19:11:05 +02:00
Christoph Haas
116a86c5e7
WIP: support different interface types: server, client and custom. Show different UI for each type.
2021-04-02 23:48:30 +02:00
Christoph Haas
588f8c7c70
add csrf
2021-03-22 22:51:37 +01:00
Christoph Haas
1e9f845457
fix user_edit template
2021-03-22 13:42:28 +01:00
Christoph Haas
f4edc55851
fix mail template ( #3 ) and rename some variables, also change default ordering (latest handshake first)
2021-03-22 12:39:50 +01:00
Christoph Haas
6ab00ef567
WIP: support for multiple WireGuard devices ( #2 )
2021-03-21 12:36:11 +01:00
Christoph Haas
5f4c041ee7
fix potentially unsafe external link
2021-02-27 00:19:47 +01:00
Christoph Haas
e1c7a43496
fix ldap sync for disabled users, check if admin username is an email address, rename username to email
2021-02-26 23:43:52 +01:00
Christoph Haas
9b10d099b6
WIP: new user management and authentication system, use go 1.16 embed
2021-02-24 21:24:45 +01:00
Christoph Haas
53814dbc27
cleanup, typos, ...
2021-02-08 22:56:02 +01:00
Christoph Haas
d978fd560d
add asterisk to required fields, allow editing of device keys
2020-12-18 22:26:36 +01:00
Christoph Haas
262e8e2047
fix a few bugs, add instructions for raspberry pi
2020-12-17 16:10:05 +01:00
Christoph Haas
793c2fc27e
remove unnecessary script and css files
2020-12-02 19:26:18 +01:00
Christoph Haas
a4052b19d6
improve admin index template
2020-11-17 08:01:03 +01:00
Christoph Haas
d63ed2c01c
fix admin index template
2020-11-16 23:20:41 +01:00
Christoph Haas
7b651da1d7
auto create account, sync ldap disabled flag
2020-11-16 22:39:41 +01:00
Christoph Haas
eb51c2dd74
many small improvements
2020-11-10 22:23:05 +01:00
Christoph Haas
07e7d1d6e9
wip: cleanup
2020-11-10 09:31:02 +01:00
Christoph Haas
c9a9c5b393
wip: many small fixes and improvements...
2020-11-09 23:24:14 +01:00
Christoph Haas
e8e8d08d98
wip: mail...
2020-11-09 20:26:34 +01:00
Christoph Haas
2e61b8c8bd
wip: create/update/delete...
2020-11-09 14:32:20 +01:00
Christoph Haas
5a933f20c9
wip: create/update/...
2020-11-09 11:06:02 +01:00
Christoph Haas
a617cb1059
wip: create/update/...
2020-11-08 10:26:18 +01:00
Christoph Haas
3e92cc8551
wip: create/update/...
2020-11-07 20:32:25 +01:00
Christoph Haas
cc06019738
wip: create/update/...
2020-11-07 18:36:23 +01:00
Christoph Haas
e084a8aa66
wip: create/update/...
2020-11-07 10:31:48 +01:00
Christoph Haas
461a339ada
switch to bootstrap 4
2020-11-06 12:21:47 +01:00
Christoph Haas
93f7335b6e
initial commit
2020-11-05 19:37:51 +01:00