e8e733046c 
								
							
								 
							
						 
						
							
							
								
								📝  docs: trying to figure how I can keep the client stream open  
							
							
							
						 
						
							2021-04-27 22:36:44 -05:00  
				
					
						
							
							
								 
						
							
							
								3240ad72b2 
								
							
								 
							
						 
						
							
							
								
								♻️  refactor: error handling  
							
							
							
						 
						
							2021-04-27 21:39:42 -05:00  
				
					
						
							
							
								 
						
							
							
								33d07c45a8 
								
							
								 
							
						 
						
							
							
								
								♻️  refactor: use `tokio::time::timeout`  
							
							
							
						 
						
							2021-04-27 20:15:21 -05:00  
				
					
						
							
							
								 
						
							
							
								a661ce02ea 
								
							
								 
							
						 
						
							
							
								
								♻️  refactor: extract park_client function  
							
							
							
						 
						
							2021-04-27 20:10:32 -05:00  
				
					
						
							
							
								 
						
							
							
								6990be48d6 
								
							
								 
							
						 
						
							
							
								
								add config for relay listen address  
							
							... 
							
							
							
							this will make it easier to run on Wireguard or LANs or whatever 
							
						 
						
							2021-04-27 18:48:22 -05:00  
				
					
						
							
							
								 
						
							
							
								522cbc5991 
								
							
								 
							
						 
						
							
							
								
								add server count and current time to server list page  
							
							
							
						 
						
							2021-04-27 18:12:37 -05:00  
				
					
						
							
							
								 
						
							
							
								5ebdbaa225 
								
							
								 
							
						 
						
							
							
								
								🚧  wip: machine-editable config  
							
							
							
						 
						
							2021-04-27 17:22:07 -05:00  
				
					
						
							
							
								 
						
							
							
								c361ecd806 
								
							
								 
							
						 
						
							
							
								
								♻️  refactor: extract builder for Relay  
							
							
							
						 
						
							2021-04-27 15:05:27 -05:00  
				
					
						
							
							
								 
						
							
							
								cfc2228491 
								
							
								 
							
						 
						
							
							
								
								add relay builder  
							
							
							
						 
						
							2021-04-27 14:55:08 -05:00  
				
					
						
							
							
								 
						
							
							
								7c9238527f 
								
							
								 
							
						 
						
							
							
								
								✅  tests: add test for serializing tripcodes  
							
							
							
						 
						
							2021-04-27 14:36:05 -05:00  
				
					
						
							
							
								 
						
							
							
								8f334f57a3 
								
							
								 
							
						 
						
							
							
								
								add serialize for server config structs  
							
							
							
						 
						
							2021-04-27 14:31:58 -05:00  
				
					
						
							
							
								 
						
							
							
								4a73f48c68 
								
							
								 
							
						 
						
							
							
								
								✅  tests: fix tests  
							
							
							
						 
						
							2021-04-27 14:31:32 -05:00  
				
					
						
							
							
								 
						
							
							
								b659d6b74f 
								
							
								 
							
						 
						
							
							
								
								➕  add "news" URL to server list page  
							
							
							
						 
						
							2021-04-27 14:10:11 -05:00  
				
					
						
							
							
								 
						
							
							
								9eb470963c 
								
							
								 
							
						 
						
							
							
								
								make an error transparent so it's more meaningful  
							
							
							
						 
						
							2021-04-18 13:51:27 -05:00  
				
					
						
							
							
								 
						
							
							
								d001d9efe5 
								
							
								 
							
						 
						
							
							
								
								📝  docs: add README to `ptth_relay` before publishing  
							
							
							
						 
						
							2021-04-18 13:06:01 -05:00  
				
					
						
							
							
								 
						
							
							
								2c4d46388a 
								
							
								 
							
						 
						
							
							
								
								📝  docs: update README before publishing to crates.io  
							
							
							
						 
						
							2021-04-18 12:56:36 -05:00  
				
					
						
							
							
								 
						
							
							
								c3858ec8bf 
								
							
								 
							
						 
						
							
							
								
								📝  docs: fix code highlighting in docs, patch bump  
							
							
							
						 
						
							2021-04-18 12:41:16 -05:00  
				
					
						
							
							
								 
						
							
							
								27b75fe424 
								
							
								 
							
						 
						
							
							
								
								📝  docs: update README for bottom crates  
							
							
							
						 
						
							2021-04-18 12:37:37 -05:00  
				
					
						
							
							
								 
						
							
							
								67975d9b11 
								
							
								 
							
						 
						
							
							
								
								📝  docs: done with ptth_relay for now  
							
							
							
						 
						
							2021-04-18 08:51:36 -05:00  
				
					
						
							
							
								 
						
							
							
								c75448fe2c 
								
							
								 
							
						 
						
							
							
								
								♻️  refactor: remove un-needed muts  
							
							
							
						 
						
							2021-04-18 08:33:07 -05:00  
				
					
						
							
							
								 
						
							
							
								146c91f2be 
								
							
								 
							
						 
						
							
							
								
								♻️  refactor: rename `RelayState` to `Relay` and privatize `load_templates`  
							
							
							
						 
						
							2021-04-18 08:28:07 -05:00  
				
					
						
							
							
								 
						
							
							
								c6f651387e 
								
							
								 
							
						 
						
							
							
								
								♻️  refactor: make `load_templates` private  
							
							
							
						 
						
							2021-04-17 20:50:48 -05:00  
				
					
						
							
							
								 
						
							
							
								ae4f102bdf 
								
							
								 
							
						 
						
							
							
								
								♻️  refactor: make git_version module private  
							
							
							
						 
						
							2021-04-17 19:26:05 -05:00  
				
					
						
							
							
								 
						
							
							
								fd238d8c2b 
								
							
								 
							
						 
						
							
							
								
								♻️  refactor: rename file_server::State to file_server::FileServer  
							
							
							
						 
						
							2021-04-17 19:10:52 -05:00  
				
					
						
							
							
								 
						
							
							
								ae33337156 
								
							
								 
							
						 
						
							
							
								
								♻️  refactor: clean up ptth_server  
							
							... 
							
							
							
							- Found I was passing the file server root twice
- Removed handlebars from the public API. The templates are fixed
when ptth_server ships, so I don't think users of the lib should
care what handlebars is.
- Making other stuff private where possible 
							
						 
						
							2021-04-17 18:59:59 -05:00  
				
					
						
							
							
								 
						
							
							
								86af3194e5 
								
							
								 
							
						 
						
							
							
								
								💥  breaking: remove password_is_bad from ptth_server  
							
							... 
							
							
							
							The password checking is not necessary with the new process of generating
high-entropy Base64 passwords and then approving them on the relay.
The password file takes a lot of space and this doesn't need to be part
of ptth_server's public API, if there is one, anyway. 
							
						 
						
							2021-04-17 17:47:01 -05:00  
				
					
						
							
							
								 
						
							
							
								d457feb35f 
								
							
								 
							
						 
						
							
							
								
								📝  docs: document ptth_core  
							
							
							
						 
						
							2021-04-17 17:47:01 -05:00  
				
					
						
							
							
								 
						
							
							
								a911e53e48 
								
							
								 
							
						 
						
							
							
								
								📝  docs: finish some basic docs for always_equal  
							
							
							
						 
						
							2021-04-17 17:47:01 -05:00  
				
					
						
							
							
								 
						
							
							
								e02dbf6e31 
								
							
								 
							
						 
						
							
							
								
								♻️  refactor: alphabetize  
							
							
							
						 
						
							2021-04-17 17:47:01 -05:00  
				
					
						
							
							
								 
						
							
							
								b975e463e8 
								
							
								 
							
						 
						
							
							
								
								📝  docs: start writing docs in `cargo doc` format  
							
							
							
						 
						
							2021-04-17 14:57:30 -05:00  
				
					
						
							
							
								 
						
							
							
								d16b0c4c61 
								
							
								 
							
						 
						
							
							
								
								🚨  `cargo check` pass  
							
							
							
						 
						
							2021-04-10 09:41:21 -05:00  
				
					
						
							
							
								 
						
							
							
								6b71b32cf5 
								
							
								 
							
						 
						
							
							
								
								♻️  refactor: extract routing module  
							
							
							
						 
						
							2021-04-10 09:38:53 -05:00  
				
					
						
							
							
								 
						
							
							
								6a84d2dbd5 
								
							
								 
							
						 
						
							
							
								
								🚧  start moving routing to its own module  
							
							
							
						 
						
							2021-04-10 09:17:52 -05:00  
				
					
						
							
							
								 
						
							
							
								29eafb3ce7 
								
							
								 
							
						 
						
							
							
								
								add placeholder for generating scraper keys  
							
							
							
						 
						
							2021-04-09 20:00:08 -05:00  
				
					
						
							
							
								 
						
							
							
								3408feb619 
								
							
								 
							
						 
						
							
							
								
								♻️  refactor: move gen_key up to ptth_core  
							
							
							
						 
						
							2021-04-09 19:43:15 -05:00  
				
					
						
							
							
								 
						
							
							
								240cd8dff1 
								
							
								 
							
						 
						
							
							
								
								♻️  refactor: extract gen_key pure function  
							
							
							
						 
						
							2021-04-09 19:30:45 -05:00  
				
					
						
							
							
								 
						
							
							
								d9669a7073 
								
							
								 
							
						 
						
							
							
								
								proof of concept for private browser cache based on etag and if-none-match  
							
							
							
						 
						
							2021-04-03 17:26:53 +00:00  
				
					
						
							
							
								 
						
							
							
								1df0f0f677 
								
							
								 
							
						 
						
							
							
								
								♻️  refactor: extract stream_file  
							
							
							
						 
						
							2021-04-03 16:27:31 +00:00  
				
					
						
							
							
								 
						
							
							
								ff73f501a4 
								
							
								 
							
						 
						
							
							
								
								🚧  
							
							
							
						 
						
							2021-04-03 16:21:59 +00:00  
				
					
						
							
							
								 
						
							
							
								3389292457 
								
							
								 
							
						 
						
							
							
								
								placeholder for caching - Always returns a random ETag header.  
							
							... 
							
							
							
							So the browser-side cache will always miss, but I tested that Firefox will at
least send us If-None-Match with the last ETag it saw. 
							
						 
						
							2021-04-03 15:53:59 +00:00  
				
					
						
							
							
								 
						
							
							
								6e24983ad7 
								
							
								 
							
						 
						
							
							
								
								🚨  refactor: cargo clippy  
							
							
							
						 
						
							2021-04-03 15:30:32 +00:00  
				
					
						
							
							
								 
						
							
							
								5a6d9314cc 
								
							
								 
							
						 
						
							
							
								
								🚨  refactor: appease clippy  
							
							
							
						 
						
							2021-04-03 15:23:03 +00:00  
				
					
						
							
							
								 
						
							
							
								0821ccaac6 
								
							
								 
							
						 
						
							
							
								
								♻️  refactor: move Markdown support in ptth_server out to a feature.  
							
							... 
							
							
							
							It may be removed in the future. 
							
						 
						
							2021-04-03 15:17:28 +00:00  
				
					
						
							
							
								 
						
							
							
								e5bf5f7d1f 
								
							
								 
							
						 
						
							
							
								
								♻️  refactor: flatten out indentation  
							
							
							
						 
						
							2021-04-03 14:27:17 +00:00  
				
					
						
							
							
								 
						
							
							
								832794f844 
								
							
								 
							
						 
						
							
							
								
								➕  in-memory audit logging  
							
							
							
						 
						
							2021-04-02 23:19:33 -05:00  
				
					
						
							
							
								 
						
							
							
								6927707501 
								
							
								 
							
						 
						
							
							
								
								♻️  refactor: use BoundedVec for unregistered_servers  
							
							
							
						 
						
							2021-04-02 22:30:22 -05:00  
				
					
						
							
							
								 
						
							
							
								2c4d3cf534 
								
							
								 
							
						 
						
							
							
								
								add BoundedVec generic struct  
							
							
							
						 
						
							2021-04-02 22:14:23 -05:00  
				
					
						
							
							
								 
						
							
							
								6ee9b6e7c9 
								
							
								 
							
						 
						
							
							
								
								🐛  bug: ptth_server: add 30-second timeout for _only_ http_listen requests  
							
							
							
						 
						
							2021-04-02 20:58:19 -05:00  
				
					
						
							
							
								 
						
							
							
								4dd08bdbb1 
								
							
								 
							
						 
						
							
							
								
								✨  bump ptth_server to 1.2.1 for the Windows patch  
							
							
							
						 
						
							2021-03-21 19:10:40 +00:00  
				
					
						
							
							
								 
						
							
							
								02d4362c3b 
								
							
								 
							
						 
						
							
							
								
								🏁  build: fix Windows build for ptth_server  
							
							
							
						 
						
							2021-03-21 14:07:09 -05:00