Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								5d1cbba1c0 
								
							 
						 
						
							
							
								
								feat(server.c): add newline to pastes  
							
							
							
						 
						
							2022-11-28 14:25:43 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								6920f38942 
								
							 
						 
						
							
							
								
								chore: bump version to 1.6.20  
							
							
							
						 
						
							2022-11-23 10:13:35 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								f6bff69b33 
								
							 
						 
						
							
							
								
								fix: add config.mk to feuille.1 dependencies  
							
							
							
						 
						
							2022-11-23 10:12:39 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								ae746f24b1 
								
							 
						 
						
							
							
								
								chore(feuille.1): update manpage  
							
							
							
						 
						
							2022-11-23 10:07:11 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								4c4b51d3a9 
								
							 
						 
						
							
							
								
								feat(cron/startup.cron): add example setting  
							
							... 
							
							
							
							...and update README.md accordingly 
							
						 
						
							2022-11-23 10:07:11 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								6c57a4d03c 
								
							 
						 
						
							
							
								
								feat: safer `free()'s  
							
							... 
							
							
							
							`free' allocated buffers only on success inside the main loop, and
`free' them on error inside their respective functions
(fixes an UB where an already freed buffer is freed again in the main
loop) 
							
						 
						
							2022-11-23 10:07:11 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								be74fa43cc 
								
							 
						 
						
							
							
								
								fix(server.c): remove debug printf  
							
							
							
						 
						
							2022-11-23 10:07:11 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								24da772e56 
								
							 
						 
						
							
							
								
								feat: dissociate timeouts and empty pastes  
							
							... 
							
							
							
							feuille was handling those two errors the same way, by sending
`Timeout'd.' even if the client just sent an EOF. 
							
						 
						
							2022-11-23 10:07:11 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								6a20fa7e61 
								
							 
						 
						
							
							
								
								doc(server.c): typo  
							
							
							
						 
						
							2022-11-23 10:07:11 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								7904d4dfc4 
								
							 
						 
						
							
							
								
								fix: use port 9999 instead of port 8888  
							
							... 
							
							
							
							web crawlers were creating a shit-ton of pastebins while trying to
connect to feuille. 
							
						 
						
							2022-11-22 20:36:45 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								10ca071b99 
								
							 
						 
						
							
							
								
								fix(README.md): web/cgi/ → cgi/  
							
							
							
						 
						
							2022-11-22 20:15:21 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								e0b3cf4e82 
								
							 
						 
						
							
							
								
								chore: bump version  
							
							
							
						 
						
							2022-11-22 06:52:22 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								d453de5108 
								
							 
						 
						
							
							
								
								fix(feuille.c): print non-root warning before running in background  
							
							
							
						 
						
							2022-11-22 06:48:00 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								58db0b6b33 
								
							 
						 
						
							
							
								
								fix(feuille.c): don't check user if not running as root  
							
							
							
						 
						
							2022-11-22 06:45:46 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								ef6d5debfb 
								
							 
						 
						
							
							
								
								fix(README.md): use nc instead of $NC  
							
							... 
							
							
							
							I have absolutely no idea why that was there. 
							
						 
						
							2022-11-21 21:01:03 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								d2c3270b4b 
								
							 
						 
						
							
							
								
								fix(feuille.c): added some space around important blocks  
							
							
							
						 
						
							2022-11-21 20:57:59 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								e9009b9198 
								
							 
						 
						
							
							
								
								fix(feuille.c): background mode wasn't working when chrooted  
							
							... 
							
							
							
							freopen() could not find /dev/null but still closed std(in|out|err).
New sockets took the stdin file descriptor and broke everything.
Now it's fixed, and I even discovered the daemon() function. 
							
						 
						
							2022-11-21 20:53:55 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								7781c2b960 
								
							 
						 
						
							
							
								
								fix(feuille.c): pledge indentation  
							
							
							
						 
						
							2022-11-21 19:44:41 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								01057061f9 
								
							 
						 
						
							
							
								
								fix: use /var/www/feuille instead of /var/www/htdocs/feuille  
							
							
							
						 
						
							2022-11-21 19:33:09 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								de51c9830a 
								
							 
						 
						
							
							
								
								fix(bin.c): safer generate_id()  
							
							... 
							
							
							
							set next byte of ID to zero each time a new character is appended to
prevent undefined behaviours. 
							
						 
						
							2022-11-21 19:31:20 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								fdf588e523 
								
							 
						 
						
							
							
								
								fix(feuille.c): pledge promises  
							
							
							
						 
						
							2022-11-21 19:30:09 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								7c4aaf95ea 
								
							 
						 
						
							
							
								
								fix(feuille.1): re-add manpage  
							
							... 
							
							
							
							I accidentally removed it. 
							
						 
						
							2022-11-21 14:50:53 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								87fcd5a435 
								
							 
						 
						
							
							
								
								fix(bin.c): remove trailing line in description  
							
							
							
						 
						
							2022-11-21 14:44:55 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								601f8e4c24 
								
							 
						 
						
							
							
								
								fix(feuille.c): remove pledge stages 1 and 3  
							
							... 
							
							
							
							Stage 1 was causing issues with the chroot syscall, and, since stage
3 was causing more harm than security in terms of readability, I also
removed it. 
							
						 
						
							2022-11-21 14:40:51 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								8f75f88950 
								
							 
						 
						
							
							
								
								fix(Makefile): copy manpage instead of moving it  
							
							
							
						 
						
							2022-11-21 14:23:56 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								236b8a0545 
								
							 
						 
						
							
							
								
								fix: remove built cgi/feuille.cgi  
							
							
							
						 
						
							2022-11-21 10:56:04 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								2abefcda5c 
								
							 
						 
						
							
							
								
								fix(Makefile): CGI script path  
							
							
							
						 
						
							2022-11-21 10:54:53 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								99b8f81f67 
								
							 
						 
						
							
							
								
								fix(cgi/form.html): more polished form  
							
							
							
						 
						
							2022-11-21 10:52:06 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								cf75b2b989 
								
							 
						 
						
							
							
								
								feat: cron jobs  
							
							
							
						 
						
							2022-11-21 10:44:16 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								ae31b046ae 
								
							 
						 
						
							
							
								
								feat: miscellaneaous files  
							
							
							
						 
						
							2022-11-21 10:44:02 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								4c6a60f7c0 
								
							 
						 
						
							
							
								
								feat: CGI script and sample HTML form  
							
							
							
						 
						
							2022-11-21 10:43:47 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								8453d41a00 
								
							 
						 
						
							
							
								
								feat: First stable release  
							
							
							
						 
						
							2022-11-21 10:43:22 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								845677abe1 
								
							 
						 
						
							
							
								
								feat: Makefile  
							
							
							
						 
						
							2022-11-21 10:43:01 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								ca9f8261bf 
								
							 
						 
						
							
							
								
								feat: Manpage  
							
							
							
						 
						
							2022-11-21 10:42:34 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tom MTT 
								
							 
						 
						
							
							
							
							
								
							
							
								146b2241f5 
								
							 
						 
						
							
							
								
								feat: README and LICENSE  
							
							
							
						 
						
							2022-11-21 10:41:53 +01:00