9c5de77f12 
								
									
								
							
								 
							
						 
						
							
							
								
								os: ext => file_ext  
							
							
							
						 
						
							2020-03-26 14:18:08 +01:00  
				
					
						
							
							
								 
						
							
							
								93920a4bb0 
								
									
								
							
								 
							
						 
						
							
							
								
								vweb: set request data with body text to allow use in actions  
							
							
							
						 
						
							2020-03-16 14:30:55 +01:00  
				
					
						
							
							
								 
						
							
							
								c731615dbb 
								
									
								
							
								 
							
						 
						
							
							
								
								vweb: cater for trailing slashes being used in handle_static call  
							
							
							
						 
						
							2020-03-08 15:41:59 +01:00  
				
					
						
							
							
								 
						
							
							
								783dee1f48 
								
									
								
							
								 
							
						 
						
							
							
								
								os: merge with filepath  
							
							
							
						 
						
							2020-03-07 22:26:26 +01:00  
				
					
						
							
							
								 
						
							
							
								750f37fde7 
								
									
								
							
								 
							
						 
						
							
							
								
								vweb: fix serving static files  
							
							
							
						 
						
							2020-03-07 14:16:03 +01:00  
				
					
						
							
							
								 
						
							
							
								ef8c1203b4 
								
									
								
							
								 
							
						 
						
							
							
								
								cleanup: replace C for loops with range  
							
							
							
						 
						
							2020-02-24 17:55:16 +01:00  
				
					
						
							
							
								 
						
							
							
								7f709c3285 
								
									
								
							
								 
							
						 
						
							
							
								
								update copyright years  
							
							
							
						 
						
							2020-02-03 05:00:36 +01:00  
				
					
						
							
							
								 
						
							
							
								63b70ddb06 
								
							
								 
							
						 
						
							
							
								
								move http module to net.http  
							
							
							
						 
						
							2019-12-30 05:42:23 +01:00  
				
					
						
							
							
								 
						
							
							
								b1013697d1 
								
							
								 
							
						 
						
							
							
								
								vlib/vweb.v: add public const and functions  
							
							
							
						 
						
							2019-12-23 13:24:53 +03:00  
				
					
						
							
							
								 
						
							
							
								61bfecfa09 
								
							
								 
							
						 
						
							
							
								
								vweb: minor fixes  
							
							
							
						 
						
							2019-12-21 05:19:26 +03:00  
				
					
						
							
							
								 
						
							
							
								45695543ba 
								
							
								 
							
						 
						
							
							
								
								tutorial: minor fixes  
							
							
							
						 
						
							2019-12-14 18:59:02 +03:00  
				
					
						
							
							
								 
						
							
							
								797d4364e7 
								
							
								 
							
						 
						
							
							
								
								vweb: fix reading request's body/headers  
							
							
							
						 
						
							2019-12-13 23:46:11 +03:00  
				
					
						
							
							
								 
						
							
							
								fb3da327d6 
								
							
								 
							
						 
						
							
							
								
								vweb: fix a cookie bug  
							
							
							
						 
						
							2019-12-13 21:11:40 +03:00  
				
					
						
							
							
								 
						
							
							
								28f76f10db 
								
							
								 
							
						 
						
							
							
								
								vweb: fix empty post request blocking  
							
							
							
						 
						
							2019-12-11 19:20:46 +03:00  
				
					
						
							
							
								 
						
							
							
								13769f440f 
								
							
								 
							
						 
						
							
							
								
								vweb: continue after bad http client connection; performance fixes  
							
							... 
							
							
							
							* Enable compiling vweb with -prod (by supressing 'declared and not used' warning about 'reset') .
* Fix http responses (now wrk is happy and shows no errors) by adding a Content-Length header.
* Fix -g compilation for urllib.v .
* vweb: println action= only in debug mode.
* vweb: max request headers counting fix.
* Make vweb.html get a 'ctx mut Context' param, just like the other methods.
* vweb: simplify add_header.
* Use a string builder for the most common html case so that the response http text can be send in one go.
* vweb: reduce _STR/string interpolation usage in the most common html response case.
* vweb: refactor common http response formatting into Context.send_response_to_client/2 method. 
							
						 
						
							2019-12-11 17:32:54 +03:00  
				
					
						
							
							
								 
						
							
							
								f286387647 
								
							
								 
							
						 
						
							
							
								
								vweb: secure HttpOnly cookies  
							
							
							
						 
						
							2019-12-11 03:20:30 +03:00  
				
					
						
							
							
								 
						
							
							
								cdfbb2978d 
								
							
								 
							
						 
						
							
							
								
								strings: replace_each([]); orm: update  
							
							
							
						 
						
							2019-12-10 23:57:49 +03:00  
				
					
						
							
							
								 
						
							
							
								6f49d4c1d2 
								
							
								 
							
						 
						
							
							
								
								orm: bool support; vweb fixes  
							
							
							
						 
						
							2019-12-09 23:20:29 +03:00  
				
					
						
							
							
								 
						
							
							
								d58982a6f6 
								
							
								 
							
						 
						
							
							
								
								vweb: fix tests  
							
							
							
						 
						
							2019-12-08 18:07:04 +03:00  
				
					
						
							
							
								 
						
							
							
								1c6f7180b2 
								
							
								 
							
						 
						
							
							
								
								vweb: fix form parsing  
							
							
							
						 
						
							2019-12-08 17:37:23 +03:00  
				
					
						
							
							
								 
						
							
							
								7adda3b71a 
								
							
								 
							
						 
						
							
							
								
								vweb: fix get_cookie()  
							
							
							
						 
						
							2019-12-08 01:48:49 +03:00  
				
					
						
							
							
								 
						
							
							
								b1174428a5 
								
							
								 
							
						 
						
							
							
								
								vweb: fix redirect()  
							
							
							
						 
						
							2019-12-08 01:05:57 +03:00  
				
					
						
							
							
								 
						
							
							
								329485d4b6 
								
							
								 
							
						 
						
							
							
								
								vweb: fix headers and cookies  
							
							
							
						 
						
							2019-12-07 15:04:05 +03:00  
				
					
						
							
							
								 
						
							
							
								c8d111924d 
								
							
								 
							
						 
						
							
							
								
								check unused and unmodified vars in all modules, not just main  
							
							
							
						 
						
							2019-12-06 18:43:56 +03:00  
				
					
						
							
							
								 
						
							
							
								a3b14e00a2 
								
							
								 
							
						 
						
							
							
								
								vweb fixes  
							
							
							
						 
						
							2019-11-26 16:08:16 +03:00  
				
					
						
							
							
								 
						
							
							
								ab91733a28 
								
							
								 
							
						 
						
							
							
								
								small optimization with generics and use os.is_dir in vweb again  
							
							
							
						 
						
							2019-11-22 10:55:20 +03:00  
				
					
						
							
							
								 
						
							
							
								8fbfceed30 
								
							
								 
							
						 
						
							
							
								
								compiler: generics - support across modules/files  
							
							
							
						 
						
							2019-11-22 08:22:11 +03:00  
				
					
						
							
							
								 
						
							
							
								59378dce46 
								
							
								 
							
						 
						
							
							
								
								compiler/vlib: replace substr/left/right with `[start..end]` everywhere  
							
							
							
						 
						
							2019-10-27 10:03:15 +03:00  
				
					
						
							
							
								 
						
							
							
								892d1c6aab 
								
							
								 
							
						 
						
							
							
								
								vweb: first step to revive it  
							
							
							
						 
						
							2019-10-24 22:46:58 +03:00  
				
					
						
							
							
								 
						
							
							
								270934441c 
								
							
								 
							
						 
						
							
							
								
								os: make ls() return an optional  
							
							
							
						 
						
							2019-10-17 14:30:05 +03:00  
				
					
						
							
							
								 
						
							
							
								23c84516e2 
								
							
								 
							
						 
						
							
							
								
								compiler: error on unused imports  
							
							
							
						 
						
							2019-09-23 13:42:20 +03:00  
				
					
						
							
							
								 
						
							
							
								8a77d4482c 
								
							
								 
							
						 
						
							
							
								
								vweb: fix headers  
							
							
							
						 
						
							2019-09-05 15:46:24 +03:00  
				
					
						
							
							
								 
						
							
							
								4f0f99e663 
								
							
								 
							
						 
						
							
							
								
								parser: fix mutability with chained fields  
							
							
							
						 
						
							2019-08-30 20:19:06 +03:00  
				
					
						
							
							
								 
						
							
							
								cf23c289ec 
								
							
								 
							
						 
						
							
							
								
								tests: cleanup  
							
							
							
						 
						
							2019-08-20 11:18:12 +03:00  
				
					
						
							
							
								 
						
							
							
								49205dcce3 
								
							
								 
							
						 
						
							
							
								
								examples: fix maps warnings  
							
							
							
						 
						
							2019-08-17 02:55:11 +03:00  
				
					
						
							
							
								 
						
							
							
								c156cef972 
								
							
								 
							
						 
						
							
							
								
								vweb: fix the test  
							
							
							
						 
						
							2019-08-16 09:58:27 +03:00  
				
					
						
							
							
								 
						
							
							
								dc9cebe26c 
								
							
								 
							
						 
						
							
							
								
								orm fixes; glfw: remove C code  
							
							
							
						 
						
							2019-08-16 09:10:03 +03:00  
				
					
						
							
							
								 
						
							
							
								a11961b0d3 
								
							
								 
							
						 
						
							
							
								
								vweb: make mime_types a const  
							
							
							
						 
						
							2019-08-13 01:04:26 +03:00  
				
					
						
							
							
								 
						
							
							
								ef2ab31e88 
								
							
								 
							
						 
						
							
							
								
								sql: only accept strings and ints for now  
							
							
							
						 
						
							2019-08-12 21:07:03 +03:00  
				
					
						
							
							
								 
						
							
							
								d526cfc205 
								
							
								 
							
						 
						
							
							
								
								vweb: fix V panic: array index out of range: 1/0  
							
							
							
						 
						
							2019-08-11 14:07:22 +02:00  
				
					
						
							
							
								 
						
							
							
								5a76255297 
								
							
								 
							
						 
						
							
							
								
								Allow extra http methods with form: PUT, PATCH  
							
							... 
							
							
							
							- Allow extra http methods with form: PUT, PATCH
- Rename `post_form` to `form` 
							
						 
						
							2019-08-10 11:44:54 +02:00  
				
					
						
							
							
								 
						
							
							
								1864e92ff4 
								
							
								 
							
						 
						
							
							
								
								parser: disallow statements after a return, branch check $if, $else, switch, and loops correctly  
							
							
							
						 
						
							2019-08-10 10:26:42 +02:00  
				
					
						
							
							
								 
						
							
							
								34a98e3df0 
								
							
								 
							
						 
						
							
							
								
								vweb fixes  
							
							
							
						 
						
							2019-08-03 02:27:56 +02:00  
				
					
						
							
							
								 
						
							
							
								9e380e2886 
								
							
								 
							
						 
						
							
							
								
								vweb: clean up  
							
							
							
						 
						
							2019-08-02 23:45:36 +02:00  
				
					
						
							
							
								 
						
							
							
								b2874f1200 
								
							
								 
							
						 
						
							
							
								
								vweb: fix get_cookie() and redirect()  
							
							
							
						 
						
							2019-08-02 23:41:02 +02:00  
				
					
						
							
							
								 
						
							
							
								ed3f1d315b 
								
							
								 
							
						 
						
							
							
								
								vweb: remove favicon hack  
							
							
							
						 
						
							2019-08-02 10:15:20 +00:00  
				
					
						
							
							
								 
						
							
							
								81da1f1ab2 
								
							
								 
							
						 
						
							
							
								
								vweb: run app.init() once  
							
							
							
						 
						
							2019-08-02 05:54:40 +02:00  
				
					
						
							
							
								 
						
							
							
								f81562ee7e 
								
							
								 
							
						 
						
							
							
								
								vweb: 404  
							
							
							
						 
						
							2019-08-02 04:11:42 +02:00  
				
					
						
							
							
								 
						
							
							
								b57752e67e 
								
							
								 
							
						 
						
							
							
								
								vweb: parse request headers  
							
							
							
						 
						
							2019-08-01 18:51:21 +02:00  
				
					
						
							
							
								 
						
							
							
								3580179602 
								
							
								 
							
						 
						
							
							
								
								vweb: fix actions with ?  
							
							
							
						 
						
							2019-08-01 17:57:06 +02:00