Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							ca2bb94200 
							
						 
					 
					
						
						
							
							refactor(server/utils): isElectron - replace fn with boolean  
						
						... 
						
						
						
						this values cannot change during runtime,
=> there is no need to have these checks
as dynamic function, instead just
export the boolean value directly 
						
						
					 
					
						2025-01-29 10:55:53 +01:00 
						 
				 
			
				
					
						
							
							
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							e3d89ce2a5 
							
						 
					 
					
						
						
							
							refactor(csrf): move csrf to own file  
						
						
						
						
					 
					
						2025-01-16 20:14:23 +01:00 
						 
				 
			
				
					
						
							
							
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							ea621ef8e1 
							
						 
					 
					
						
						
							
							chore(prettier): fix code style  
						
						
						
						
					 
					
						2025-01-12 13:30:02 +01:00 
						 
				 
			
				
					
						
							
							
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							d20a3bab2a 
							
						 
					 
					
						
						
							
							fix(csrfMiddleware): use sessionSecret instead  
						
						... 
						
						
						
						since `cookie-parser` is not configured with a secret,
req.secret is not set and hence is `undefined`,
which then is used as literal 'undefined' in the hashing function – making it less secure.
Instead we can use the existing sessionSecret:
the `csrf-csrf` developer confirmed in their Discord chat,
that it would be ok to use the same secret here. 
						
						
					 
					
						2025-01-12 10:22:05 +01:00 
						 
				 
			
				
					
						
							
							
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							b787610717 
							
						 
					 
					
						
						
							
							refactor: replace csurf with csrf-csrf  
						
						... 
						
						
						
						I've kept the identical same settings as before –
however they are not *ideal* from what I read.
More secure settings will need to be tested a bit more thoroughly first and will be a separate PR. 
						
						
					 
					
						2025-01-12 10:22:05 +01:00 
						 
				 
			
				
					
						
							
							
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4cbb529fd4 
							
						 
					 
					
						
						
							
							chore(prettier): fix all files  
						
						
						
						
					 
					
						2025-01-09 18:07:02 +02:00 
						 
				 
			
				
					
						
							
							
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f96a3ce32e 
							
						 
					 
					
						
						
							
							fix(server): HTTP streaming notes with unicode names ( closes   #757 )  
						
						
						
						
					 
					
						2024-12-13 22:05:05 +02:00 
						 
				 
			
				
					
						
							
							
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5190b28d3c 
							
						 
					 
					
						
						
							
							chore(types): adapt to new express type definitions  
						
						
						
						
					 
					
						2024-12-10 22:35:23 +02:00 
						 
				 
			
				
					
						
							
							
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e65d4cdfbf 
							
						 
					 
					
						
						
							
							client: Rename endpoint to codeblock-themes  
						
						
						
						
					 
					
						2024-10-27 21:40:22 +02:00 
						 
				 
			
				
					
						
							
							
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7354fb5b4a 
							
						 
					 
					
						
						
							
							client,server: List syntax highlighting themes  
						
						
						
						
					 
					
						2024-10-27 12:41:53 +02:00 
						 
				 
			
				
					
						
							
							
								SiriusXT 
							
						 
					 
					
						
						
						
						
							
						
						
							898afb7ed7 
							
						 
					 
					
						
						
							
							Add revision number limit  
						
						
						
						
					 
					
						2024-09-04 08:41:17 +00:00 
						 
				 
			
				
					
						
							
							
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							317505484e 
							
						 
					 
					
						
						
							
							integration-test: Set up system for resetting in-memory DB  
						
						
						
						
					 
					
						2024-08-15 00:06:37 +03:00 
						 
				 
			
				
					
						
							
							
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							51afb63e25 
							
						 
					 
					
						
						
							
							server: Add endpoint to get list of locales  
						
						
						
						
					 
					
						2024-08-11 07:36:09 +03:00 
						 
				 
			
				
					
						
							
							
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							212d61c1d2 
							
						 
					 
					
						
						
							
							server: Fix missing .js import for route-interface  
						
						
						
						
					 
					
						2024-07-24 20:23:05 +03:00 
						 
				 
			
				
					
						
							
							
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1dc894e279 
							
						 
					 
					
						
						
							
							server-esm: Fix the remaining compilation errors  
						
						
						
						
					 
					
						2024-07-18 21:56:20 +03:00 
						 
				 
			
				
					
						
							
							
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							55eecb0f61 
							
						 
					 
					
						
						
							
							server-esm: Change export object to export default object  
						
						
						
						
					 
					
						2024-07-18 21:42:44 +03:00 
						 
				 
			
				
					
						
							
							
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2750df04a3 
							
						 
					 
					
						
						
							
							server-esm: Change simple library import statements  
						
						
						
						
					 
					
						2024-07-18 21:37:45 +03:00 
						 
				 
			
				
					
						
							
							
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							35d11cc0d2 
							
						 
					 
					
						
						
							
							server-esm: Change simple local import statements  
						
						
						
						
					 
					
						2024-07-18 21:35:17 +03:00 
						 
				 
			
				
					
						
							
							
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8fb67c9766 
							
						 
					 
					
						
						
							
							server-esm: Normalize quotes in require imports  
						
						
						
						
					 
					
						2024-07-18 21:28:51 +03:00 
						 
				 
			
				
					
						
							
							
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0d700d6951 
							
						 
					 
					
						
						
							
							server-ts: Address review  
						
						
						
						
					 
					
						2024-04-17 23:00:02 +03:00 
						 
				 
			
				
					
						
							
							
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							dededcd303 
							
						 
					 
					
						
						
							
							server-ts: Port routes/routes  
						
						
						
						
					 
					
						2024-04-11 23:00:24 +03:00