commonism 
							
						 
					 
					
						
						
							
						
						d7b52eba1c 
					 
					
						
						
							
							ldap - compare DNs using DN.Equal ( #60 )  
						
						 
						
						... 
						
						
						
						* ldap - compare DNs using DN.Equal
* ldap/isAdmin- restructure & remove code duplication
Co-authored-by: Markus Koetter <koetter@cispa.de > 
						
						
					 
					
						2021-10-14 08:57:03 +02: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  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								commonism 
							
						 
					 
					
						
						
							
						
						93db475eee 
					 
					
						
						
							
							swag - use pascalcase for properties ( #54 )  
						
						 
						
						... 
						
						
						
						Co-authored-by: Markus Koetter <koetter@cispa.de > 
						
						
					 
					
						2021-09-27 20:28:03 +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 
							
						 
					 
					
						
						
							
						
						b4bd2b35e2 
					 
					
						
						
							
							add HttpOnly and Secure flag to cookie store ( #39 )  
						
						 
						
						
						
						
					 
					
						2021-08-24 21:26:16 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christoph Haas 
							
						 
					 
					
						
						
							
						
						57b57931b2 
					 
					
						
						
							
							validate user in session ( #32 )  
						
						 
						
						
						
						
					 
					
						2021-07-30 13:56:21 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christoph Haas 
							
						 
					 
					
						
						
							
						
						fbc0b26631 
					 
					
						
						
							
							sendall button for mails, update icons for peer creation buttons ( #35 )  
						
						 
						
						
						
						
					 
					
						2021-07-30 13:43:39 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								h44z 
							
						 
					 
					
						
						
							
						
						16a373f1eb 
					 
					
						
						
							
							Fix typo  
						
						 
						
						
						
						
					 
					
						2021-07-20 11:02:17 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								h44z 
							
						 
					 
					
						
						
							
						
						91b83d7882 
					 
					
						
						
							
							Log number of ldap users ( #36 )  
						
						 
						
						
						
						
					 
					
						2021-07-20 11:01:03 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christoph Haas 
							
						 
					 
					
						
						
							
						
						3645d75d8d 
					 
					
						
						
							
							fix auto-creation of peers on login ( #30 )  
						
						 
						
						
						
						
					 
					
						2021-06-30 17:03:16 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christoph Haas 
							
						 
					 
					
						
						
							
						
						e0968b3239 
					 
					
						
						
							
							support AllowIPs for peers in server config ( #24 )  
						
						 
						
						
						
						
					 
					
						2021-06-18 14:13:44 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								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  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								h44z 
							
						 
					 
					
						
						
							
						
						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  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Santiago De la Cruz 
							
						 
					 
					
						
						
							
						
						5ac45b7a4f 
					 
					
						
						
							
							Fix email encryption type SSL/TLS  
						
						 
						
						... 
						
						
						
						mail.EncryptionTLS is deprecated and is the same like mail.EncryptionSTARTTLS
The correct here is mail.EncryptionSSLTLS 
						
						
					 
					
						2021-04-29 12:53:03 -04: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 
							
						 
					 
					
						
						
							
						
						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 
							
						 
					 
					
						
						
							
						
						2caa64571b 
					 
					
						
						
							
							fix duplicate configuration tag ( #6 )  
						
						 
						
						
						
						
					 
					
						2021-04-06 23:01:50 +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