hasecilu 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4ed71f30f2 
							
						 
					 
					
						
						
							
							chore(i18n): update Spanish translation  
						
						 
						
						
						
						
					 
					
						2025-02-13 09:39:04 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							b692c00b8d 
							
						 
					 
					
						
						
							
							feat(config): improve typesafety by definitely returning a number  
						
						 
						
						... 
						
						
						
						previously it was either a number like string (in case env or config.ini was used) or a number (the fallback value)
we now parseInt the value -> if any value is NaN (e.g. because it was incorrectly set) it will try with the next, before it uses the fallback value
the strange looking `parseInt(String(process.env.TRILIUM_SESSION_COOKIEMAXAGE))` is required to make TypeScript happy, other variants of trying to get the value into a string were not good enough for typescript :-)
The `String(process.env.TRILIUM_SESSION_COOKIEMAXAGE)` will now either return a number like value or 'undefined' (as string), which parseInt parses into NaN, which is falsy. 
						
						
					 
					
						2025-02-13 09:46:49 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							201663d9ec 
							
						 
					 
					
						
						
							
							chore(prettier): fix prettier issues  
						
						 
						
						
						
						
					 
					
						2025-02-13 09:07:25 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							38215c46ae 
							
						 
					 
					
						
						
							
							feat(login): make use of default maxAge by sessionParser  
						
						 
						
						... 
						
						
						
						cookie will use the default value set in sessionParser middleware, which is controlled by
config.Session.cookieMaxAge
if rememberMe is not set -> the value is unset and the cookie becomes a non-persistent cookie,
which the browser delete after the current session (e.g. when you close the browser) 
						
						
					 
					
						2025-02-13 09:04:34 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							2a740781cb 
							
						 
					 
					
						
						
							
							feat(session_parser): use seconds for setting maxAge and update default value to 21 days  
						
						 
						
						... 
						
						
						
						21 days was used in the login route previously, when "remember me" was set 
						
						
					 
					
						2025-02-13 08:52:05 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							04827c0ce1 
							
						 
					 
					
						
						
							
							fix(session_parser): FileStore ttl should be ideally the same as session cookies maxAge  
						
						 
						
						... 
						
						
						
						this avoids having "unused" dead session on the filesystem 
						
						
					 
					
						2025-02-13 08:21:29 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							4e23b5193d 
							
						 
					 
					
						
						
							
							feat(session_parser): use Session.cookieMaxAge from config  
						
						 
						
						
						
						
					 
					
						2025-02-13 08:21:29 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							53576f5578 
							
						 
					 
					
						
						
							
							feat(config): add Session.cookieMaxAge  
						
						 
						
						... 
						
						
						
						allows users to control how long their session will be live, before it expires and they are forced to login again
defaults to 1 day  ("24 * 60 * 60 * 1000") as previously set in sessionParser 
						
						
					 
					
						2025-02-13 08:21:29 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e7f5d1d280 
							
						 
					 
					
						
						
							
							fix(client/ts): load only needed CodeMirror plugins  
						
						 
						
						
						
						
					 
					
						2025-02-12 22:49:47 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							75afdbe093 
							
						 
					 
					
						
						
							
							chore(client/ts): port editable_code  
						
						 
						
						
						
						
					 
					
						2025-02-12 21:56:58 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Adorian Doran 
							
						 
					 
					
						
						
						
						
							
						
						
							9c4aa4f220 
							
						 
					 
					
						
						
							
							style(next): tweak the "Change note icon" button  
						
						 
						
						
						
						
					 
					
						2025-02-12 01:55:56 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Adorian Doran 
							
						 
					 
					
						
						
						
						
							
						
						
							fc1e5ce23b 
							
						 
					 
					
						
						
							
							style(next): fix comment  
						
						 
						
						
						
						
					 
					
						2025-02-12 01:46:17 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Adorian Doran 
							
						 
					 
					
						
						
						
						
							
						
						
							faabec5360 
							
						 
					 
					
						
						
							
							style(next): tweak the note icon popup  
						
						 
						
						
						
						
					 
					
						2025-02-12 01:45:26 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Adorian Doran 
							
						 
					 
					
						
						
						
						
							
						
						
							202bb9e126 
							
						 
					 
					
						
						
							
							style(next): combo boxes: fix the dropdown arrow disappearing in certain situations while in the focused state  
						
						 
						
						
						
						
					 
					
						2025-02-12 01:29:50 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Adorian Doran 
							
						 
					 
					
						
						
						
						
							
						
						
							2f00839f52 
							
						 
					 
					
						
						
							
							Merge branch 'develop' of  https://github.com/TriliumNext/Notes  into develop  
						
						 
						
						
						
						
					 
					
						2025-02-12 01:17:02 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Adorian Doran 
							
						 
					 
					
						
						
						
						
							
						
						
							d8962393af 
							
						 
					 
					
						
						
							
							style(next): combo boxes: prevent the text overlapping the dropdown arrow  
						
						 
						
						
						
						
					 
					
						2025-02-12 01:16:57 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d9e39fa792 
							
						 
					 
					
						
						
							
							Merge branch 'develop' of ssh://github.com/TriliumNext/Notes into develop  
						
						 
						
						
						
						
					 
					
						2025-02-11 22:20:38 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0ca9809457 
							
						 
					 
					
						
						
							
							feat(client,server): support mid: links  
						
						 
						
						
						
						
					 
					
						2025-02-11 22:18:29 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4d0969da0a 
							
						 
					 
					
						
						
							
							refactor(client,server): support for URL schemes  
						
						 
						
						
						
						
					 
					
						2025-02-11 22:14:44 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f517e4a37a 
							
						 
					 
					
						
						
							
							refactor(editor): move all options into this repo  
						
						 
						
						
						
						
					 
					
						2025-02-11 20:34:49 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0d26446262 
							
						 
					 
					
						
						
							
							refactor(editor): move all options into this repo  
						
						 
						
						
						
						
					 
					
						2025-02-11 20:23:48 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							aad38fdd21 
							
						 
					 
					
						
						
							
							refactor(editor): move floating toolbar config into this repo  
						
						 
						
						
						
						
					 
					
						2025-02-11 20:17:02 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2ac5e860b1 
							
						 
					 
					
						
						
							
							refactor(editor): move classic toolbar config into this repo  
						
						 
						
						
						
						
					 
					
						2025-02-11 19:48:26 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bd5232ed14 
							
						 
					 
					
						
						
							
							feat(mobile): add recent changes dialog  
						
						 
						
						
						
						
					 
					
						2025-02-11 19:38:06 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							11e2dcfc64 
							
						 
					 
					
						
						
							
							refactor(client/ts): port a few small files  
						
						 
						
						
						
						
					 
					
						2025-02-11 19:29:53 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							44811f4f4b 
							
						 
					 
					
						
						
							
							refactor(client/ts): port two containers  
						
						 
						
						
						
						
					 
					
						2025-02-11 19:09:04 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							13f7129717 
							
						 
					 
					
						
						
							
							refactor(client/ts): port a few more widgets  
						
						 
						
						
						
						
					 
					
						2025-02-11 19:04:27 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b69641c0e9 
							
						 
					 
					
						
						
							
							refactor(client): remove abstract doRefresh  
						
						 
						
						
						
						
					 
					
						2025-02-11 18:59:35 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8b9b843c2d 
							
						 
					 
					
						
						
							
							Merge pull request  #1140  from dousha/bugfix-protection-box  
						
						 
						
						... 
						
						
						
						Fix the password box not removed after entering protected mode 
						
						
					 
					
						2025-02-11 18:57:41 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							a5cb78c5ec 
							
						 
					 
					
						
						
							
							i18n: adjust note_erasure_timeout.erase_notes_after  
						
						 
						
						... 
						
						
						
						since we now don't erase after "x" seconds, we need to change the message 
						
						
					 
					
						2025-02-11 09:07:46 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							8b066b1fc8 
							
						 
					 
					
						
						
							
							chore: add i18n TODO  
						
						 
						
						... 
						
						
						
						(it does not make sense yet, to expose these as i18n, as I will be refactoring this whole thing into a standalone widget) 
						
						
					 
					
						2025-02-11 09:07:46 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							2bb79c4209 
							
						 
					 
					
						
						
							
							feat: "friendly number handling" for note erasure timeouts  
						
						 
						
						
						
						
					 
					
						2025-02-11 09:06:29 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b1bf6931f2 
							
						 
					 
					
						
						
							
							Merge pull request  #1162  from TriliumNext/refactor_routes-login  
						
						 
						
						... 
						
						
						
						refactor(routes/login): simplify login function and get rid of deprecated usage of expires 
						
						
					 
					
						2025-02-11 10:03:09 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							e3b7ae018f 
							
						 
					 
					
						
						
							
							refactor(routes/login): refactor login fn  
						
						 
						
						... 
						
						
						
						I also got rid of the deprecated use of "expires" - setting maxAge to undefined is the preferred way 
						
						
					 
					
						2025-02-11 07:55:18 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d0399c173e 
							
						 
					 
					
						
						
							
							Merge pull request  #1144  from TriliumNext/feature/swagger-ui-in-server  
						
						 
						
						... 
						
						
						
						Add Swagger UI endpoint 
						
						
					 
					
						2025-02-10 23:46:18 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							905983e794 
							
						 
					 
					
						
						
							
							Merge pull request  #1155  from TriliumNext/feat_custom-cookie-path  
						
						 
						
						... 
						
						
						
						feat: allow setting custom cookiePath 
						
						
					 
					
						2025-02-10 23:42:08 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							c8f5f8dfcc 
							
						 
					 
					
						
						
							
							fix(ui): disallow text selection in dropdown-menus  
						
						 
						
						
						
						
					 
					
						2025-02-10 20:18:35 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							62f8f8f1a7 
							
						 
					 
					
						
						
							
							refactor(config): rename Cookies to Session  
						
						 
						
						... 
						
						
						
						as requested in PR #1155  
						
						
					 
					
						2025-02-10 19:44:19 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							b6d73df92e 
							
						 
					 
					
						
						
							
							feat(csrf_protection): use cookiePath from config  
						
						 
						
						
						
						
					 
					
						2025-02-10 19:03:10 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								perf3ct 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9c86a03acc 
							
						 
					 
					
						
						
							
							Do this thing to make Pano happy :)  
						
						 
						
						
						
						
					 
					
						2025-02-10 16:03:01 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							a600568ab8 
							
						 
					 
					
						
						
							
							feat(session_parser): use cookiePath from config  
						
						 
						
						
						
						
					 
					
						2025-02-10 08:35:01 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							3c8723a404 
							
						 
					 
					
						
						
							
							feat(config): add Cookies.cookiePath option to config  
						
						 
						
						... 
						
						
						
						defaults to "/" as previously set by default options 
						
						
					 
					
						2025-02-10 08:33:31 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							6c4c9785ff 
							
						 
					 
					
						
						
							
							fix(protected_session): fix input->label association  
						
						 
						
						
						
						
					 
					
						2025-02-10 07:16:36 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							f657b9dec1 
							
						 
					 
					
						
						
							
							feat(protected_session): set autofocus to password field  
						
						 
						
						
						
						
					 
					
						2025-02-10 07:15:14 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								perf3ct 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							57a34e5c02 
							
						 
					 
					
						
						
							
							use fs/promises instead of fs  
						
						 
						
						
						
						
					 
					
						2025-02-10 00:50:43 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								perf3ct 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d859f50c98 
							
						 
					 
					
						
						
							
							Change Swagger endpoint and site title  
						
						 
						
						
						
						
					 
					
						2025-02-09 22:17:31 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								perf3ct 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							18f5f1b759 
							
						 
					 
					
						
						
							
							add Swagger UI endpoint and add to router  
						
						 
						
						
						
						
					 
					
						2025-02-09 21:15:12 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Elian Doran 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							48d4093274 
							
						 
					 
					
						
						
							
							Merge pull request  #1143  from TriliumNext/fix_ts-file-mime-import  
						
						 
						
						... 
						
						
						
						fix(import/mime): fix ts file mime import handling 
						
						
					 
					
						2025-02-09 23:07:49 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							2d1381b4f8 
							
						 
					 
					
						
						
							
							fix(import/mime): fix TypeScript handling  
						
						 
						
						... 
						
						
						
						.ts file are now treated as code type with text/x-typescript as MIME type
fixes  #1142  
						
						
					 
					
						2025-02-09 17:45:15 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Panagiotis Papadopoulos 
							
						 
					 
					
						
						
						
						
							
						
						
							5d019137fa 
							
						 
					 
					
						
						
							
							test: add test for .ts file  
						
						 
						
						
						
						
					 
					
						2025-02-09 17:43:25 +01:00