Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							86b2b5148d 
							
						 
					 
					
						
						
							
							server: remove default value for SMTP user  
						
						 
						
						... 
						
						
						
						Otherwise, not setting the user would default to "admin", which breaks
the unauthenticated workflow. No user specified should mean unauthenticated.
Fixes  #520 . 
						
					 
					
						2023-04-04 16:27:44 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Austin Alvarado 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c4b8621e2a 
							
						 
					 
					
						
						
							
							app: Fix password reset redirection ( #513 )  
						
						 
						
						... 
						
						
						
						* Fix password reset redirection
* Add password reset enable flag 
						
					 
					
						2023-03-30 09:47:41 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							aad4711056 
							
						 
					 
					
						
						
							
							app: server uncompressed WASM to webkit browsers  
						
						 
						
						
						
					 
					
						2023-03-28 17:33:13 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Austin Alvarado 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							05dbe6818d 
							
						 
					 
					
						
						
							
							server: Create schema command  
						
						 
						
						
						
					 
					
						2023-03-21 14:16:19 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							46b8f2a8a5 
							
						 
					 
					
						
						
							
							server: return groups in memberof by cn instead of uid  
						
						 
						
						... 
						
						
						
						Fixes  #468 . 
						
					 
					
						2023-03-20 22:10:38 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							9e479d38fe 
							
						 
					 
					
						
						
							
							app: get rid of rollup, gzip the wasm  
						
						 
						
						
						
					 
					
						2023-03-05 16:31:56 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							1b91cc8ac2 
							
						 
					 
					
						
						
							
							server: update clap and mockall  
						
						 
						
						
						
					 
					
						2023-03-02 10:51:38 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							28607c4744 
							
						 
					 
					
						
						
							
							server: update various dependencies  
						
						 
						
						
						
					 
					
						2023-03-02 10:51:38 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							dce73f91ef 
							
						 
					 
					
						
						
							
							server: update actix, inline juniper-actix  
						
						 
						
						
						
					 
					
						2023-03-02 10:51:38 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							07de6062ca 
							
						 
					 
					
						
						
							
							server: update tokio  
						
						 
						
						
						
					 
					
						2023-03-02 10:51:38 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							c9997d4c17 
							
						 
					 
					
						
						
							
							server: statically enforce access control  
						
						 
						
						
						
					 
					
						2023-03-01 11:28:04 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Luca Tagliavini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							322bf26db5 
							
						 
					 
					
						
						
							
							server: allow non authenticated smtp connections  
						
						 
						
						
						
					 
					
						2023-02-25 18:56:49 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							bebb00aa2e 
							
						 
					 
					
						
						
							
							app: improve error message for wrong/expired reset token  
						
						 
						
						
						
					 
					
						2023-02-15 14:43:26 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							193a0fd710 
							
						 
					 
					
						
						
							
							server: Remove trailing / from the domain URL  
						
						 
						
						
						
					 
					
						2023-02-15 14:43:26 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							672dd96e7e 
							
						 
					 
					
						
						
							
							server: add content-type header to the email  
						
						 
						
						
						
					 
					
						2023-02-14 11:22:22 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							562ad524c4 
							
						 
					 
					
						
						
							
							server: only add password reset routes if they are enabled  
						
						 
						
						
						
					 
					
						2023-02-13 20:24:20 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							ea498df78b 
							
						 
					 
					
						
						
							
							server: add a test for compare with uniqueMember  
						
						 
						
						
						
					 
					
						2023-02-13 19:31:12 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							1ce239103c 
							
						 
					 
					
						
						
							
							server: removed dbg  
						
						 
						
						
						
					 
					
						2023-02-13 16:14:52 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							81036943c2 
							
						 
					 
					
						
						
							
							server: Add support for SubString ldap filter  
						
						 
						
						
						
					 
					
						2023-02-13 16:10:14 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							21e51c3d38 
							
						 
					 
					
						
						
							
							server: Add support for LdapCompare op  
						
						 
						
						
						
					 
					
						2023-02-13 12:59:53 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							d04305433f 
							
						 
					 
					
						
						
							
							server: use the new into_tuple from sea_orm  
						
						 
						
						
						
					 
					
						2023-02-10 12:57:38 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							63cbf30dd7 
							
						 
					 
					
						
						
							
							server: upgrade sea-orm to 0.11  
						
						 
						
						
						
					 
					
						2023-02-10 12:57:38 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Igor Rzegocki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d722be8896 
							
						 
					 
					
						
						
							
							server: add option to use insecure SMTP connection  
						
						 
						
						
						
					 
					
						2023-01-19 11:30:25 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							9018e6fa34 
							
						 
					 
					
						
						
							
							server, refactor: Add a conversion from bool for the filters  
						
						 
						
						
						
					 
					
						2023-01-17 15:09:06 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Luca Tagliavini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							807fd10d13 
							
						 
					 
					
						
						
							
							server: Add support for DN filters  
						
						 
						
						
						
					 
					
						2023-01-17 14:21:57 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							f979e16b95 
							
						 
					 
					
						
						
							
							server: Fix healthcheck return code  
						
						 
						
						... 
						
						
						
						The healthcheck was not returning a non-zero code when failing, due to
an extra layer of Results 
						
					 
					
						2023-01-16 17:35:08 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							e458aca3e3 
							
						 
					 
					
						
						
							
							db: Change the DB storage type to NaiveDateTime  
						
						 
						
						... 
						
						
						
						The entire internals of the server now work using only NaiveDateTime,
since we know they are all UTC. At the fringes (LDAP, GraphQL, JWT
tokens) we convert back into UTC to make sure we have a clear API.
This allows us to be compatible with Postgres (which doesn't support
DateTime<UTC>, only NaiveDateTime).
This change is backwards compatible since in SQlite with
Sea-query/Sea-ORM, the UTC datetimes are stored without a timezone, as
simple strings. It's the same format as NaiveDateTime.
Fixes  #87 . 
						
					 
					
						2023-01-13 15:50:03 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							09a0522e2d 
							
						 
					 
					
						
						
							
							server: move domain types to a separate file  
						
						 
						
						
						
					 
					
						2022-11-25 15:35:48 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							e89b1538af 
							
						 
					 
					
						
						
							
							server,app: migrate to sea-orm  
						
						 
						
						
						
					 
					
						2022-11-25 15:35:48 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Waldemar Heinze 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a4408cfacc 
							
						 
					 
					
						
						
							
							server: prefer immutable path  
						
						 
						
						
						
					 
					
						2022-11-25 00:14:29 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Waldemar Heinze 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a3216a4550 
							
						 
					 
					
						
						
							
							server: fix clippy's suggestions  
						
						 
						
						
						
					 
					
						2022-11-24 23:52:57 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Waldemar Heinze 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2668ea4553 
							
						 
					 
					
						
						
							
							server: make host configurable to enable IPv6 support  
						
						 
						
						... 
						
						
						
						This change also separates the API host and the LDAP host for further customization. 
						
					 
					
						2022-11-24 23:39:11 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Michał Mrozek 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							dd7e392626 
							
						 
					 
					
						
						
							
							server: use async api for email sending  
						
						 
						
						... 
						
						
						
						Fixes  #378  
						
					 
					
						2022-11-24 14:47:56 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							e81c87f288 
							
						 
					 
					
						
						
							
							server,app: Add support for resetting your password with email  
						
						 
						
						... 
						
						
						
						Instead of just username
Fixes  #267  
						
					 
					
						2022-10-29 15:04:45 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							234cb70b97 
							
						 
					 
					
						
						
							
							server: fix handling of present filters  
						
						 
						
						... 
						
						
						
						If the filter name was not in the list of attributes to return, it
wouldn't be counted as a valid attribute, meaning that the aliases of
attributes were not recognized.
Fixes  #351  
						
					 
					
						2022-10-26 09:29:02 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							27144ee37e 
							
						 
					 
					
						
						
							
							server: Add support for creating a user through LDAP  
						
						 
						
						
						
					 
					
						2022-10-20 10:09:17 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							2477439ecc 
							
						 
					 
					
						
						
							
							server: Improve rootDSE  
						
						 
						
						... 
						
						
						
						Matches the case-insensitive "objectclass" filter, fix the reported
version, and declares the name context and some other attributes.
Potential fix to #330 . 
						
					 
					
						2022-10-19 17:35:45 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							ff66e918cf 
							
						 
					 
					
						
						
							
							server: increase max payload size to 16MB  
						
						 
						
						... 
						
						
						
						Fixes  #337  
						
					 
					
						2022-10-19 17:28:25 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							4c69f917e7 
							
						 
					 
					
						
						
							
							server: Improve equality handling in filters  
						
						 
						
						... 
						
						
						
						Now the columns are checked and mapped to user columns, to avoid any
ambiguity.
Fixes  #341 . 
						
					 
					
						2022-10-19 08:43:38 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							8d19678e39 
							
						 
					 
					
						
						
							
							server: refactor sql backend handler  
						
						 
						
						... 
						
						
						
						And add some missing tests 
						
					 
					
						2022-10-18 13:04:59 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							35aa656677 
							
						 
					 
					
						
						
							
							server: refactor ldap_handler  
						
						 
						
						... 
						
						
						
						Split it into several files, move them into the domain folder, introduce
`LdapError` for better control flow. 
						
					 
					
						2022-10-17 14:39:44 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							32850d4ff9 
							
						 
					 
					
						
						
							
							ldap: add entryUUID to the default fields  
						
						 
						
						... 
						
						
						
						It should help with #293 . 
						
					 
					
						2022-10-12 18:35:40 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							3aaf53442b 
							
						 
					 
					
						
						
							
							server: implement healthcheck  
						
						 
						
						
						
					 
					
						2022-10-12 16:44:52 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							8069516283 
							
						 
					 
					
						
						
							
							server: Add support for PKCS1 keys  
						
						 
						
						... 
						
						
						
						Fixes  #288  
						
					 
					
						2022-09-30 13:56:03 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							6c21f2ef4b 
							
						 
					 
					
						
						
							
							clippy: fix warning by implementing Eq  
						
						 
						
						
						
					 
					
						2022-09-27 06:54:29 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							7e1ce10df1 
							
						 
					 
					
						
						
							
							server: allow every config value to be specified as a file  
						
						 
						
						... 
						
						
						
						By using https://crates.io/crates/figment_file_provider_adapter 
Fixes https://github.com/nitnelave/lldap/issues/263  
						
					 
					
						2022-09-14 11:16:50 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							60c594438c 
							
						 
					 
					
						
						
							
							ldap: Stop returning empty attributes  
						
						 
						
						
						
					 
					
						2022-08-09 13:03:28 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							b130965264 
							
						 
					 
					
						
						
							
							ldap: return user's avatar  
						
						 
						
						
						
					 
					
						2022-08-09 13:03:28 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							697a64991d 
							
						 
					 
					
						
						
							
							server: Change attribute values to bytes  
						
						 
						
						
						
					 
					
						2022-08-09 13:03:28 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Valentin Tolmer 
							
						 
					 
					
						
						
						
						
							
						
						
							3acc448048 
							
						 
					 
					
						
						
							
							server: Add support for users' avatars in GrahpQL  
						
						 
						
						
						
					 
					
						2022-08-09 13:03:28 +02:00