Commit Graph
100 Commits
Author SHA1 Message Date
Christoph Haas 92d09535bc fix foreign key problem (#23) 2021-06-08 16:17:30 +02:00
Christoph Haas d165fc0658 ensure that email attribute is set 2021-05-17 09:06:26 +02:00
Christoph Haas cadbe4a090 fix migrations for fresh databases 2021-05-16 23:55:59 +02:00
Christoph Haas d516d74d3f ldap filter: skip empty emails by default, fix ldap sync (case insensitive email comparison, user source difference) 2021-05-16 23:43:47 +02:00
Christoph Haas c9e7145a5b add docker latest tag warning to README.md 2021-05-16 23:14:18 +02:00
h44zandGitHub 88278bf677 Merge pull request #21 from h44z/ldap_filter
use LDAP filter strings
2021-05-16 23:11:55 +02:00
Christoph Haas 1c4d47293c skip migrations for fresh databases 2021-05-16 23:11:03 +02:00
Christoph Haas 27de6e8b8c use LDAP filter strings 2021-05-10 10:31:56 +02:00
Christoph Haas 3ecb0925d6 use low error correction if qr-code content is too long (#18) 2021-05-10 09:26:36 +02:00
Christoph Haas edfecd536a use query params throughout the whole rest api (#11) 2021-05-03 11:40:06 +02:00
Christoph Haas d794f807ad use query param for public key in api requests (#11) 2021-05-03 10:44:27 +02:00
h44zandGitHub 84e5359977 Merge pull request #16 from xhit/patch-1
Fix email encryption type SSL/TLS
2021-04-30 11:00:25 +02:00
Christoph Haas ab02f656be add ServerName to TLS config 2021-04-29 18:19:41 +02:00
Christoph Haas 0d4e12a6c1 increase smtp timeout to 30 seconds 2021-04-29 17:04:26 +02:00
Christoph Haas 9a420d26e1 use html email body by default, add alternative text only body 2021-04-29 16:54:01 +02:00
Christoph Haas 19e6fa2a1a switch to another email lib to support more AUTH types 2021-04-29 16:45:28 +02:00
Christoph Haas 7b1f59d86a deployment api completed (#11) 2021-04-29 11:23:32 +02:00
Christoph Haas 9c8a1df01f Set server name in TLS config (#13) 2021-04-29 10:59:00 +02:00
Christoph Haas 87964f8ec4 RESTful API for WireGuard Portal (#11) 2021-04-26 22:00:50 +02:00
Christoph Haas 35513ae994 WIP: RESTful API for WireGuard Portal, user endpoint (#11) 2021-04-26 20:02:40 +02:00
Christoph Haas b6d9814021 use lowercase email addresses for filtering (#14) 2021-04-22 20:46:03 +02:00
Christoph Haas 97edd103be transform email addresses to lower case in ldap sync (#14) 2021-04-22 20:41:30 +02:00
Christoph Haas e052f400aa convert all email addresses to lower case (#14) 2021-04-22 20:29:37 +02:00
Christoph Haas 926733dea4 add ssl/tls option for email encryption (#13) 2021-04-22 14:11:54 +02:00
Christoph Haas 7042523c54 configurable cert-check for the ldap auth provider (#12) 2021-04-21 11:07:16 +02:00
Christoph Haas e65a4a8148 disable cert-check should also work for ldap via ssl (#12) 2021-04-21 10:04:10 +02:00
Christoph Haas 28c2494d88 cleanup import statements 2021-04-09 23:17:44 +02:00
Christoph Haas 11b9a567d1 include tag version in travis builds 2021-04-08 21:30:16 +02:00
Christoph Haas f34594f8d2 fix allowed ip's for peers in server-mode 2021-04-08 19:10:38 +02:00
Christoph Haas 46dc6dc2ad remove endpoint from peer in server-mode 2021-04-08 18:39:52 +02:00
Christoph Haas 2ca1226d50 fix .local DNS lookup (https://github.com/golang/go/issues/35067) 2021-04-08 18:37:49 +02:00
Christoph Haas 066f939294 fix version display 2021-04-08 18:10:53 +02:00
Christoph Haas 17bc297d77 WIP: smaller docker image, fix docker build 2021-04-08 17:58:25 +02:00
Christoph Haas 79e4513edb WIP: smaller docker image, sqlite needs cgo 2021-04-08 09:38:32 +02:00
Christoph Haas f793ece922 WIP: smaller docker image 2021-04-08 09:23:48 +02:00
Christoph Haas 96215c4f0e version 1.0.6, show version in footer 2021-04-07 20:07:40 +02:00
Christoph Haas 5199c8674d add configuration options and sample yaml to readme (#6) 2021-04-06 23:51:57 +02:00
Christoph Haas 2caa64571b fix duplicate configuration tag (#6) 2021-04-06 23:01:50 +02:00
Christoph Haas afbe36d289 fix client edit layout 2021-04-06 00:33:51 +02:00
h44zandGitHub e84a43cd2a Merge pull request #7 from h44z/interface_types
Interface types and more...
2021-04-06 00:15:51 +02:00
Christoph Haas 7981a3c437 update dependencies 2021-04-06 00:15:24 +02:00
Christoph Haas 8f21c12c3d simple database migration versioning, todo: implement migrations 2021-04-06 00:07:05 +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 5017fb5759 update readme, fix default env file 2021-03-22 23:05:20 +01:00
Christoph Haas 29cd73aa46 fix TLS for email sending 2021-03-22 22:53:59 +01:00
Christoph Haas 6ece6e5be9 make ldap cert check configurable, fix CodeQL warnings 2021-03-22 22:52:08 +01:00
Christoph Haas 588f8c7c70 add csrf 2021-03-22 22:51:37 +01:00
Christoph Haas 68507c3bcd fix redirect after sending the peer email 2021-03-22 13:45:35 +01:00
Christoph Haas 1e9f845457 fix user_edit template 2021-03-22 13:42:28 +01:00
Christoph Haas f95c692aed migrate peer database 2021-03-22 13:00:02 +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 9ef4200be0 fix ldap provider, disable gin logs by default 2021-02-27 00:13:48 +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
h44zandGitHub 5bc3aa0036 Create codeql-analysis.yml 2021-02-26 23:19:42 +01:00
Christoph Haas 2b77148b81 migrate old database format correctly, fix typo, update readme 2021-02-26 23:13:11 +01:00
Christoph Haas 9bd80dbd33 fix docker build 2021-02-26 22:27:48 +01:00
Christoph Haas 9faa459c44 cleanup 2021-02-26 22:17:04 +01:00
Christoph Haas 8ea82c1916 add travis token 2021-02-25 09:46:19 +01:00
Christoph Haas ca83caf357 fix travis 2021-02-24 23:01:13 +01:00
Christoph Haas 14339e72d4 WIP: dont use gox 2021-02-24 22:52:19 +01:00
Christoph Haas 6d4fcba00c WIP: use gox for cross platform compiling, try to enable cross platform cgo builds 2021-02-24 22:40:35 +01:00
Christoph Haas 4fe4d93e0d WIP: use gox for cross platform compiling 2021-02-24 22:16:03 +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 43bab58f0a WIP: context for clean shutdown 2021-02-22 22:25:08 +01:00
Christoph Haas 984f744548 rename user to peer 2021-02-21 23:23:58 +01:00
Christoph Haas 53814dbc27 cleanup, typos, ... 2021-02-08 22:56:02 +01:00
Christoph Haas dd47f84c3d use logrus for gin's log output, fix nil pointer bug 2021-01-13 17:49:52 +01:00
Christoph Haas ec752f8b08 use logrus for gin's log output 2021-01-13 17:27:01 +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 ec60dd136a fix default mtu handling 2020-12-18 22:07:55 +01:00
Christoph Haas 6fd4089766 update raspi readme 2020-12-18 22:00:01 +01:00
Christoph Haas 4dd7f7b14b fix Dockerfile 2020-12-18 21:56:54 +01:00
Christoph Haas 10defaa2ba ip and mtu updates (linux only) 2020-12-18 21:54:57 +01:00
Christoph Haas a95fe42efe fix ci and docker build 2020-12-17 16:23:55 +01:00
Christoph Haas 262e8e2047 fix a few bugs, add instructions for raspberry pi 2020-12-17 16:10:05 +01:00
Christoph Haas edd09a9e13 fix newlines in template 2020-12-17 14:01:03 +01:00
Christoph Haas 814f57d357 fix newlines in template 2020-12-17 13:47:46 +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 741f0b16c3 add README and LICENSE 2020-11-16 23:13:15 +01:00
Christoph Haas 7b651da1d7 auto create account, sync ldap disabled flag 2020-11-16 22:39:41 +01:00
Christoph Haas 1dee239f4f fix goss check 2020-11-13 09:44:25 +01:00
Christoph Haas 63e9e7a618 fix goss check 2020-11-13 09:10:21 +01:00
Christoph Haas 5261cf9140 fix goss check 2020-11-13 08:00:33 +01:00
Christoph Haas eb51c2dd74 many small improvements 2020-11-10 22:23:05 +01:00
Christoph Haas e09ef939c0 user dockerhub for image building and travis-ci for testing 2020-11-10 12:24:37 +01:00
Christoph Haas 516561445b user dockerhub for image building and travis-ci for testing 2020-11-10 12:24:18 +01:00
Christoph Haas bd3da3d6c7 wip: docker and travis 2020-11-10 11:59:02 +01:00
Christoph Haas 2448533706 wip: docker and travis 2020-11-10 11:26:30 +01:00