eab4d5eb8b 
							
						 
					 
					
						
						
							
							feat(client-side): add function to update view count to clientside  
						
						
						
						
					 
					
						2024-01-04 20:55:37 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							8f24c9ff3d 
							
						 
					 
					
						
						
							
							refactor(components): create story actions component and related functions  
						
						
						
						
					 
					
						2023-12-31 01:50:35 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							bd06f7d4b3 
							
						 
					 
					
						
						
							
							fix(config): set hasmigrated to false  
						
						
						
						
					 
					
						2023-12-30 17:43:28 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							08ce2175cd 
							
						 
					 
					
						
						
							
							refactor(client-side): make autoEdit and autoSave functions fully async  
						
						
						
						
					 
					
						2023-12-30 17:20:32 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							242ad9ce09 
							
						 
					 
					
						
						
							
							refactor(server/utils): split stringifyStream function into two reusable functions  
						
						... 
						
						
						
						- bufferizeStream
  this concatenates stream data into a buffer
- stringifyStream
  this invokes `bufferizeStream` and converts the return value to a string 
						
						
					 
					
						2023-12-30 17:01:43 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							51dfaef149 
							
						 
					 
					
						
						
							
							fix(client-side): fix element being removed for EVERY type of list actoin  
						
						... 
						
						
						
						only splice/remove element if a `hide` action has been executed 
						
						
					 
					
						2023-12-30 16:03:39 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							ae10a295d4 
							
						 
					 
					
						
						
							
							refactor(server/middleware): log model names twice (before and after connection)  
						
						
						
						
					 
					
						2023-12-30 15:59:27 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							c467afc0c8 
							
						 
					 
					
						
						
							
							fix(config): only connect in dbconfig if hasMigrated is false  
						
						
						
						
					 
					
						2023-12-30 15:58:14 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							8f45dbe563 
							
						 
					 
					
						
						
							
							style(*): edit indents  
						
						
						
						
					 
					
						2023-12-29 20:53:29 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							c8e84c909e 
							
						 
					 
					
						
						
							
							style(*): cleanup unused imports  
						
						
						
						
					 
					
						2023-12-29 20:11:07 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							dba62b4677 
							
						 
					 
					
						
						
							
							refactor(client-side): add debounced versions of functions  
						
						... 
						
						
						
						split autoEdit and autoSave into debounced and non-debounced versions 
						
						
					 
					
						2023-12-29 19:47:21 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							1447960b1a 
							
						 
					 
					
						
						
							
							refactor(db/models): update populatedDoc types  
						
						... 
						
						
						
						- remove `& Document` qualifier
- cast `T | number` to T with the `as` keyword 
						
						
					 
					
						2023-12-29 19:06:55 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							f611c56c39 
							
						 
					 
					
						
						
							
							fix(server/utils): update recaptcha guard  
						
						... 
						
						
						
						- use actual form field (it's not "g-recaptcha-response")
- switch from useFetch to axios
- use "application/x-www-form-urlencoded" as content type 
						
						
					 
					
						2023-12-29 18:04:33 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							e62924f6ec 
							
						 
					 
					
						
						
							
							refactor(server/utils): update storyQuerier.ts  
						
						... 
						
						
						
						make paths and imports more concise and correct 
						
						
					 
					
						2023-12-29 16:39:41 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							1a99cf6fb5 
							
						 
					 
					
						
						
							
							refactor(api/utils): populate coAuthor in helpers  
						
						
						
						
					 
					
						2023-12-29 16:38:30 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							922807ba6a 
							
						 
					 
					
						
						
							
							refactor(server/utils): make paths and imports more concise and correct  
						
						
						
						
					 
					
						2023-12-29 16:34:00 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							9f0a76e2b0 
							
						 
					 
					
						
						
							
							refactor(server/utils): remove env logging  
						
						
						
						
					 
					
						2023-12-29 12:45:15 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							cc17d98fe4 
							
						 
					 
					
						
						
							
							style(client-side): update indentation in storyFormSchema  
						
						
						
						
					 
					
						2023-12-28 20:05:16 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							696ce44290 
							
						 
					 
					
						
						
							
							refactor(server/plugins): add user and password to mongoose connect options  
						
						
						
						
					 
					
						2023-12-28 19:58:54 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							27f476a8a7 
							
						 
					 
					
						
						
							
							refactor(db): guard connexct statement instead  
						
						
						
						
					 
					
						2023-12-28 19:58:45 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							e94c070300 
							
						 
					 
					
						
						
							
							refactor(config): connect mongoose in dbconfig  
						
						
						
						
					 
					
						2023-12-28 19:58:37 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							f01949b983 
							
						 
					 
					
						
						
							
							refactor(config): connect mongoose in dbconfig  
						
						
						
						
					 
					
						2023-12-28 19:58:36 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							d3417ae9e6 
							
						 
					 
					
						
						
							
							refactor(config): add debug statement to db config  
						
						
						
						
					 
					
						2023-12-28 19:58:35 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							38907f6bb5 
							
						 
					 
					
						
						
							
							refactor(config): add port number  
						
						
						
						
					 
					
						2023-12-28 19:58:34 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							5e8cbeecbe 
							
						 
					 
					
						
						
							
							refactor(config): add port number  
						
						
						
						
					 
					
						2023-12-28 19:58:33 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							60e564781d 
							
						 
					 
					
						
						
							
							refactor(*): use more sane path aliases  
						
						
						
						
					 
					
						2023-12-28 19:58:26 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							a0eea2cdde 
							
						 
					 
					
						
						
							
							fix(config): fix env path  
						
						
						
						
					 
					
						2023-12-28 19:58:23 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							21040955bf 
							
						 
					 
					
						
						
							
							fix(db): update env paths  
						
						
						
						
					 
					
						2023-12-28 19:58:21 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							3e5af47107 
							
						 
					 
					
						
						
							
							refactor(*): refactor tsconfig paths  
						
						... 
						
						
						
						looks/feels nicer 
						
						
					 
					
						2023-12-20 17:23:31 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							9ba432a8e0 
							
						 
					 
					
						
						
							
							fix(server/utils): add isIdNan helper function  
						
						
						
						
					 
					
						2023-12-20 17:03:58 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							088232f750 
							
						 
					 
					
						
						
							
							refactor(api & server/utils): refactor imports of db helpers  
						
						... 
						
						
						
						create an index file which exports the functions we need in one accessible place 
						
						
					 
					
						2023-12-11 21:29:46 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							0ebc25a1c8 
							
						 
					 
					
						
						
							
							refactor(server/utils): allow an IDraft to be passed to permission checker  
						
						
						
						
					 
					
						2023-12-11 21:20:06 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							fd4de6489f 
							
						 
					 
					
						
						
							
							refactor(server/utils): move html normalizer into its own importable function  
						
						
						
						
					 
					
						2023-12-11 21:13:22 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							f57fd2df84 
							
						 
					 
					
						
						
							
							chore(api/utils): remove unused import  
						
						
						
						
					 
					
						2023-12-09 17:48:07 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							7e300734d8 
							
						 
					 
					
						
						
							
							refactor(api/utils): switch to if...else if for each check  
						
						
						
						
					 
					
						2023-12-09 17:32:24 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							989fefd6e7 
							
						 
					 
					
						
						
							
							fix(pages & middleware): throw error if non-author/collaborator tries to edit a story  
						
						
						
						
					 
					
						2023-12-09 17:32:23 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							a5346e8622 
							
						 
					 
					
						
						
							
							fix(client-side): add error check to story redirect middleware  
						
						
						
						
					 
					
						2023-12-09 17:31:39 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							e8aea81b0b 
							
						 
					 
					
						
						
							
							fix(server/utils): add null check to storyQuerier  
						
						
						
						
					 
					
						2023-12-09 17:01:13 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							46c9a07b7d 
							
						 
					 
					
						
						
							
							refactor(api/utils): add isLoggedIn guard to story checks  
						
						
						
						
					 
					
						2023-12-09 17:00:22 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							fe7c452231 
							
						 
					 
					
						
						
							
							feat(client-side): create story middleware  
						
						... 
						
						
						
						redirect users to the login page if a story is restricted and they're not logged in 
						
						
					 
					
						2023-12-06 22:19:05 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							22816477eb 
							
						 
					 
					
						
						
							
							refactor(server/utils): add chapter index parameter to storyCheck function  
						
						
						
						
					 
					
						2023-12-06 22:11:41 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							c27c81f39c 
							
						 
					 
					
						
						
							
							refactor(api/utils): update isAdmin check  
						
						... 
						
						
						
						make it also check that the user is logged in; eliminates need to type `isLoggedIn()` on the previous line 
						
						
					 
					
						2023-12-06 21:37:54 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							45783c60a9 
							
						 
					 
					
						
						
							
							refactor(api/utils): update listQuerier helper  
						
						... 
						
						
						
						make it return an object containing a sliced array and a total 
						
						
					 
					
						2023-12-06 21:31:50 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							faaf385bde 
							
						 
					 
					
						
						
							
							refactor(server/utils): strengthen typing  
						
						... 
						
						
						
						mongoose middleware helper functions are now properly typed 
						
						
					 
					
						2023-12-06 21:30:22 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							3a1ddf55e4 
							
						 
					 
					
						
						
							
							refactor(server/middleware): remove mongoose debug flag, set overwriteModels to true  
						
						
						
						
					 
					
						2023-12-06 21:25:47 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							9d4af2b256 
							
						 
					 
					
						
						
							
							refactor(typing): make all fav/sub/hidden request interface fields optional  
						
						
						
						
					 
					
						2023-12-01 18:03:07 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							23a7c4d222 
							
						 
					 
					
						
						
							
							refactor(typing): add SingleChapterResult type for singular chapters fetched from the api  
						
						
						
						
					 
					
						2023-12-01 17:59:16 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							d5de2499ab 
							
						 
					 
					
						
						
							
							refactor(server/utils): make the chapter index parameter in the chapterTransformer function mandatory  
						
						
						
						
					 
					
						2023-12-01 17:57:17 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							9f180a4d30 
							
						 
					 
					
						
						
							
							refactor: create a constant to hold path to .env file (this is temporary)  
						
						... 
						
						
						
						--- REVERT THIS --- 
						
						
					 
					
						2023-10-12 23:04:25 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							20b69c82da 
							
						 
					 
					
						
						
							
							fix(server/utils): prepend . to file extension checks  
						
						
						
						
					 
					
						2023-10-12 22:58:10 -04:00