Daniel García
							
						 
						
							
							
							
								
							
								d70864ac73 
								
							
								 
							
						 
						
							
							
								
								Initial version of websockets notification support.  
							
							 
							
							 
							
							
								
 
							
							
							For now only folder notifications are sent (create, rename, delete).
The notifications are only tested between two web-vault sessions in different browsers, mobile apps and browser extensions are untested.
The websocket server is exposed in port 3012, while the rocket server is exposed in another port (8000 by default). To make notifications work, both should be accessible in the same port, which requires a reverse proxy.
My testing is done with Caddy server, and the following config:
```
localhost {
    # The negotiation endpoint is also proxied to Rocket
    proxy /notifications/hub/negotiate 0.0.0.0:8000 {
        transparent
    }
    # Notifications redirected to the websockets server
    proxy /notifications/hub 0.0.0.0:3012 {
        websocket
    }
    # Proxy the Root directory to Rocket
    proxy / 0.0.0.0:8000 {
        transparent
    }
}
```
This exposes the service in port 2015. 
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Daniel García
							
						 
						
							
							
								
								
							
							
								
							
								f94e626021 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #166  from mprasil/alpine  
							
							 
							
							 
							
							
								
 
							
							
							Alpine 
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Daniel García
							
						 
						
							
							
								
								
							
							
								
							
								0a3b84b815 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #165  from mprasil/shared_edit_fix  
							
							 
							
							 
							
							
								
 
							
							
							Fix editing shared cipher (fixes  #164 ) 
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								d336d89b83 
								
							
								 
							
						 
						
							
							
								
								Fix editing shared cipher ( fixes   #164 )  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								1a5c1979e3 
								
							
								 
							
						 
						
							
							
								
								Move Alpine Dockerfile to separate file  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								cec9566d2a 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into alpine  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Baelyk
							
						 
						
							
							
							
								
							
								fe473b9e75 
								
							
								 
							
						 
						
							
							
								
								`Attachment::save()` returns Result instead of bool ( #161 )  
							
							 
							
							 
							
							
								
 
							
							
							Returning a result instead of a bool as per #6  
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								mprasil
							
						 
						
							
							
							
								
							
								062ae4dd59 
								
							
								 
							
						 
						
							
							
								
								Allow non-Admin user to share to collection ( fixes   #157 ) ( #159 )  
							
							 
							
							 
							
							
								
 
							
							
							* Allow non-Admin user to share to collection (fixes  #157 )
* Better handling of collection sharing 
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								45d676eb10 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into alpine  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								mprasil
							
						 
						
							
							
							
								
							
								3cfdf9b585 
								
							
								 
							
						 
						
							
							
								
								Add DELETE handlers fo cipher and attachment deletion ( fixes   #158 ) ( #160 )  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								08b551624c 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into alpine  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Daniel García
							
						 
						
							
							
							
								
							
								761a0a3393 
								
							
								 
							
						 
						
							
							
								
								Removed accidental change to Dockerfile  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Daniel García
							
						 
						
							
							
							
								
							
								6660b0aef3 
								
							
								 
							
						 
						
							
							
								
								Updated web vault to version 2.2  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Kumar Ankur
							
						 
						
							
							
							
								
							
								781056152a 
								
							
								 
							
						 
						
							
							
								
								Support password history  #155  ( #156 )  
							
							 
							
							 
							
							
								
 
							
							
							* Password History Support (#155 )
* down.sql logic not required as per review comments 
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								6822bb28a0 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into alpine  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Daniel García
							
						 
						
							
							
								
								
							
							
								
							
								b82710eecf 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #152  from Baelyk/master  
							
							 
							
							 
							
							
								
 
							
							
							Add ip and username to failed login attempts 
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Baelyk
							
						 
						
							
							
							
								
							
								c386b3bcf7 
								
							
								 
							
						 
						
							
							
								
								Add IP and Username to failed login attempts  
							
							 
							
							 
							
							
								
 
							
							
							Resolves  #119  
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								ffec0b065b 
								
							
								 
							
						 
						
							
							
								
								Updated build image version  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								5b7fe9f155 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into alpine  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Daniel García
							
						 
						
							
							
							
								
							
								8d1ee859f2 
								
							
								 
							
						 
						
							
							
								
								Implemented basic support for prelogin and notification negotiation  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Daniel García
							
						 
						
							
							
							
								
							
								c91f80c456 
								
							
								 
							
						 
						
							
							
								
								Fixed rust toolchain date  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Daniel García
							
						 
						
							
							
							
								
							
								39891e86a0 
								
							
								 
							
						 
						
							
							
								
								Updated dependencies, added Travis CI integration and some badges  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								575f701390 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into alpine  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Daniel García
							
						 
						
							
							
								
								
							
							
								
							
								335099cd30 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #150  from mprasil/build_instructions  
							
							 
							
							 
							
							
								
 
							
							
							Update the build instruction for new Vault 
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								9fad541c87 
								
							
								 
							
						 
						
							
							
								
								Clone repository instead of downloading as suggested by  @mqus  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								007e053e2f 
								
							
								 
							
						 
						
							
							
								
								Update the build instruction for new Vault  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								ef2413a5aa 
								
							
								 
							
						 
						
							
							
								
								Fix SSL issue, rm cache  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								ca8e1c646d 
								
							
								 
							
						 
						
							
							
								
								Update build image  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								346c7630c9 
								
							
								 
							
						 
						
							
							
								
								Initial implementation of musl build on top of Alpine  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Daniel García
							
						 
						
							
							
								
								
							
							
								
							
								1c57c9d8e0 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #148  from mprasil/beta  
							
							 
							
							 
							
							
								
 
							
							
							Merge Beta to master 
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Daniel García
							
						 
						
							
							
								
								
							
							
								
							
								bd20d8724b 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #147  from mprasil/master  
							
							 
							
							 
							
							
								
 
							
							
							Bump version to 0.13.0 - latest Vault v1 
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								69a18255c6 
								
							
								 
							
						 
						
							
							
								
								Bump up version to 1.0.0  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								c40baf5e17 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into beta  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								df041108f6 
								
							
								 
							
						 
						
							
							
								
								Bump version to 0.13.0 - latest Vault v1  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Daniel García
							
						 
						
							
							
								
								
							
							
								
							
								ee10d278a7 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #146  from mprasil/cipher_folder_revision  
							
							 
							
							 
							
							
								
 
							
							
							Update affected users revision on cipher and folder change 
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								2b2401be19 
								
							
								 
							
						 
						
							
							
								
								Update affected users revision on cipher and folder change  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Daniel García
							
						 
						
							
							
								
								
							
							
								
							
								4f58d07c83 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #145  from mprasil/org_user_revision  
							
							 
							
							 
							
							
								
 
							
							
							Organization update improvements 
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								9eea0151ba 
								
							
								 
							
						 
						
							
							
								
								Update user revision timestamp on Organization changes  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								40d09ddd2a 
								
							
								 
							
						 
						
							
							
								
								Add PUT alias for Organization updates  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Daniel García
							
						 
						
							
							
								
								
							
							
								
							
								d332e87655 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #144  from mprasil/collection_revision  
							
							 
							
							 
							
							
								
 
							
							
							Update affected users revision when there are collection changes 
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Daniel García
							
						 
						
							
							
								
								
							
							
								
							
								0fa48a749f 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #143  from mprasil/update_revision_fix  
							
							 
							
							 
							
							
								
 
							
							
							Actually update the revision date for user struct, not just in DB 
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								a5ef8aef0f 
								
							
								 
							
						 
						
							
							
								
								Update affected users revision when there are collection changes  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								4fb09c5b4d 
								
							
								 
							
						 
						
							
							
								
								Actually update the revision date for user struct, not just in DB  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Daniel García
							
						 
						
							
							
								
								
							
							
								
							
								6fdeeb56ce 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #140  from mprasil/error_format  
							
							 
							
							 
							
							
								
 
							
							
							Update the error format to show message in new Vault 
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Daniel García
							
						 
						
							
							
								
								
							
							
								
							
								b002d34cd4 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #139  from mprasil/edit_shared_fix  
							
							 
							
							 
							
							
								
 
							
							
							Add PUT alias for editing cipher 
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Daniel García
							
						 
						
							
							
								
								
							
							
								
							
								e46fc62b78 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #141  from mprasil/profile_update  
							
							 
							
							 
							
							
								
 
							
							
							Add PUT alias for profile update 
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								12a2dc0901 
								
							
								 
							
						 
						
							
							
								
								Add PUT alias for profile update  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								b3f3fd81ac 
								
							
								 
							
						 
						
							
							
								
								Update theerror format to show message in new Vault  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Miroslav Prasil
							
						 
						
							
							
							
								
							
								f2fec345ec 
								
							
								 
							
						 
						
							
							
								
								Add PUT alias for editing cipher  
							
							 
							
							
								
 
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								 
								Daniel García
							
						 
						
							
							
								
								
							
							
								
							
								b6312340b6 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #138  from mprasil/readme_updates  
							
							 
							
							 
							
							
								
 
							
							
							Cleaned up HTTPS example 
							
						 
						7 years ago