4b6771c0dd 
							
						 
					 
					
						
						
							
							refactor(components): update navbar  
						
						... 
						
						
						
						- unwrap add story button from div and nuxt-link
- use `onclick` handler to navigate to the "new story" page
- better align the new story button with the rest of the navbar on tablet+ viewports 
						
						
					 
					
						2024-12-09 15:43:44 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							718fcc6ff8 
							
						 
					 
					
						
						
							
							fix(components): update error boundary  
						
						... 
						
						
						
						ensure that styling is consistent by surrounding with `a-extract-style` 
						
						
					 
					
						2024-12-09 15:38:16 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							480655a0ee 
							
						 
					 
					
						
						
							
							refactor(server/middleware): update current user middleware  
						
						... 
						
						
						
						- check for titlecased version of auth header
- check for token's `sub` field as well as `id`
- ensure we don't select sensitive info when querying the user
- don't throw if there's no user logged in for that request 
						
						
					 
					
						2024-12-09 15:34:30 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							53409d12da 
							
						 
					 
					
						
						
							
							refactor(api): update session retrieval route  
						
						... 
						
						
						
						ensure we also check for the titlecased version of `authorization` header 
						
						
					 
					
						2024-12-08 23:27:47 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							26dfbda2c7 
							
						 
					 
					
						
						
							
							refactor(pages): remove bulky console.log from story page  
						
						
						
						
					 
					
						2024-12-08 23:24:19 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							e6ba48dc2f 
							
						 
					 
					
						
						
							
							refactor(client-side): update story check middleware  
						
						... 
						
						
						
						if fetching a story returns an error, check that the error code is 403 (forbidden) as well before redirecting 
						
						
					 
					
						2024-12-08 23:22:40 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							80dbd05468 
							
						 
					 
					
						
						
							
							refactor(pages): login  
						
						... 
						
						
						
						add loading indicator to button after submit 
						
						
					 
					
						2024-12-08 22:54:40 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							f0b107c2fd 
							
						 
					 
					
						
						
							
							fix(pages): bands page bug  
						
						... 
						
						
						
						fix error being thrown for unauthenticated users because of null value 
						
						
					 
					
						2024-12-08 22:49:37 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							2dde6c381b 
							
						 
					 
					
						
						
							
							refactor(dbconfig): misc changes  
						
						... 
						
						
						
						- resolve .env file through `import.meta.url`
- fix url format
- general code cleanup 
						
						
					 
					
						2024-12-08 22:46:02 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							480e0204f8 
							
						 
					 
					
						
						
							
							refactor(components): improve sidebar/mobile ux  
						
						... 
						
						
						
						make it so the trigger isn't just an out-of-place floating button
encapsulate breakpoint-dependent values in `computed` 
						
						
					 
					
						2024-12-08 22:20:32 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							8b1a5a55dd 
							
						 
					 
					
						
						
							
							chore(dependencies): bump nuxt-auth  
						
						
						
						
					 
					
						2024-11-14 21:04:38 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							37c5689f7d 
							
						 
					 
					
						
						
							
							fix(components): user profile fix  
						
						... 
						
						
						
						ensure that sidebar border goes underneath the profile administrator badge 
						
						
					 
					
						2024-11-12 17:07:57 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							7a3243be9d 
							
						 
					 
					
						
						
							
							chore(nuxt): change dev mode host to 0.0.0.0  
						
						
						
						
					 
					
						2024-11-12 16:49:37 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							c3c4ac719b 
							
						 
					 
					
						
						
							
							fix(server/utils): update spelling of db name env variable  
						
						
						
						
					 
					
						2024-11-12 16:47:16 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							fc8838fdbd 
							
						 
					 
					
						
						
							
							fix(components): update story listing item component  
						
						... 
						
						
						
						ensure that the lock icon is only shown on stories that are restricted, instead of *every* one 
						
						
					 
					
						2024-11-12 16:45:34 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							e5af6fd827 
							
						 
					 
					
						
						
							
							fix(middleware): critical security loophole  
						
						... 
						
						
						
						ensure that not logged in users can't access restricted stories via the api or regular pages 
						
						
					 
					
						2024-11-12 16:42:51 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							b2c99726bc 
							
						 
					 
					
						
						
							
							fix(api): update login endpoint  
						
						... 
						
						
						
						remove the `select` call so password validation doesn't fail 
						
						
					 
					
						2024-11-12 16:39:23 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							f049619178 
							
						 
					 
					
						
						
							
							fix(client-side): update story middleware  
						
						... 
						
						
						
						fix redirect url for unauthenticated users 
						
						
					 
					
						2024-11-11 23:02:19 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							b65f618b7e 
							
						 
					 
					
						
						
							
							fix(pages, components): update story page  
						
						... 
						
						
						
						make elements look less crowded on mobile 
						
						
					 
					
						2024-11-11 22:45:00 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							1b891c6b2c 
							
						 
					 
					
						
						
							
							fix(api): fix cache location in view counter endpoint  
						
						
						
						
					 
					
						2024-11-11 18:45:49 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							a96f924f1e 
							
						 
					 
					
						
						
							
							fix(api): update view counting endpoint  
						
						... 
						
						
						
						ensure that an `undefined` ip doesn't get added to the cache store 
						
						
					 
					
						2024-11-11 18:42:29 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							686acb595b 
							
						 
					 
					
						
						
							
							chore(nuxt): bump compatibilityDate in nuxt config  
						
						
						
						
					 
					
						2024-11-11 18:23:06 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							39fb96d547 
							
						 
					 
					
						
						
							
							fix(nuxt): update nuxt config  
						
						... 
						
						
						
						fix various imports 
						
						
					 
					
						2024-11-11 18:20:58 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							8c408e4c7d 
							
						 
					 
					
						
						
							
							fix(components): update character selector  
						
						... 
						
						
						
						ensure that `undefined` isn't passed to character option array 
						
						
					 
					
						2024-11-11 18:17:16 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							26c0352504 
							
						 
					 
					
						
						
							
							refactor(components): update band selector  
						
						... 
						
						
						
						allow for custom label to be passed to the form item 
						
						
					 
					
						2024-11-11 18:15:30 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							3afcd2b602 
							
						 
					 
					
						
						
							
							refactor(components): update pairing selector  
						
						... 
						
						
						
						- add data-testid attr
- change placement of menu popup
- allow selection clearing 
						
						
					 
					
						2024-11-11 18:12:55 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							a3fc1d0f9b 
							
						 
					 
					
						
						
							
							fix(components): update pairing selector  
						
						... 
						
						
						
						ensure that `undefined` isn't being pushed to the character options array 
						
						
					 
					
						2024-11-11 18:09:43 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							e5fad9f100 
							
						 
					 
					
						
						
							
							refactor(components): update components containing an a-select component  
						
						... 
						
						
						
						add `menuItemSelectedIcon` template with a custom icon element 
						
						
					 
					
						2024-11-11 18:06:30 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							e3293730b4 
							
						 
					 
					
						
						
							
							refactor(nuxt): disable nuxt devtools  
						
						... 
						
						
						
						they're pretty fucking useless rn 
						
						
					 
					
						2024-11-11 18:01:06 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							20089dc0cd 
							
						 
					 
					
						
						
							
							refactor(nuxt): update nuxt config  
						
						... 
						
						
						
						change auth cookie names 
						
						
					 
					
						2024-11-11 17:58:57 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							64acbb60f7 
							
						 
					 
					
						
						
							
							refactor(nuxt): update app.vue  
						
						... 
						
						
						
						wrap nuxt error boundary with `a-extract-style` component
also remove commented-out `NuxtWelcome` component 
						
						
					 
					
						2024-11-11 17:56:50 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							428023b89a 
							
						 
					 
					
						
						
							
							refactor(nuxt): update body styles in app.vue  
						
						
						
						
					 
					
						2024-11-11 17:53:09 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							1235f89163 
							
						 
					 
					
						
						
							
							chore(nuxt): update nuxt config  
						
						... 
						
						
						
						change esbuild target to `es2020` to make import.meta properties not undefined 
						
						
					 
					
						2024-11-11 17:48:50 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							cdab870cb5 
							
						 
					 
					
						
						
							
							refactor(server/utils): cleanup  
						
						... 
						
						
						
						remove unnecessary code from db connector function 
						
						
					 
					
						2024-11-11 17:46:15 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							4f1f7a9664 
							
						 
					 
					
						
						
							
							chore(dependencies): add dependencies to make migrator script work  
						
						
						
						
					 
					
						2024-11-11 17:43:35 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							82d6335aaa 
							
						 
					 
					
						
						
							
							chore(nuxt): bump nuxt  
						
						
						
						
					 
					
						2024-11-11 17:41:19 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							09762a7efb 
							
						 
					 
					
						
						
							
							fix(pages): redirect to homepage if user isn't found from api  
						
						
						
						
					 
					
						2024-11-11 17:31:05 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							40bb98eb1d 
							
						 
					 
					
						
						
							
							fix(api): fix replaceOrUpdateContent call not matching the required signature  
						
						
						
						
					 
					
						2024-11-11 17:28:18 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							b782522f33 
							
						 
					 
					
						
						
							
							fix(api): fix replaceOrUpdateContent call not matching the required signature  
						
						
						
						
					 
					
						2024-11-11 17:21:17 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							2aae7ea2c4 
							
						 
					 
					
						
						
							
							refactor(db/models): change jwt expiry time  
						
						
						
						
					 
					
						2024-11-11 17:17:46 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							05d11e0ea5 
							
						 
					 
					
						
						
							
							refactor(api): change stuff in story updating route  
						
						... 
						
						
						
						if the story doesn't exist/is null, throw
ensure chapter word count is updated (since we weren't already doing that for some reason....)
instead of clearing the original story's chapters and re-adding them one by one, update the existing ones in place, otherwise push to the array
use new signature for `replaceOrUploadContent` call
ensure chapters are sorted 
						
						
					 
					
						2024-07-09 21:10:03 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							d030346dde 
							
						 
					 
					
						
						
							
							fix(components): replace console.error -> console.warn  
						
						
						
						
					 
					
						2024-07-09 20:54:30 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							6016813f4c 
							
						 
					 
					
						
						
							
							refactor(components): update story form  
						
						... 
						
						
						
						add `draftData` prop to distinguish whether we're editing a draft or a published story
actually renumber chapter indexes after reordering
use draftData prop in form change callback 
						
						
					 
					
						2024-07-09 20:53:50 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							4838b7b624 
							
						 
					 
					
						
						
							
							fix(components): un-scope story list styles  
						
						
						
						
					 
					
						2024-07-09 20:40:24 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							5c6cb84383 
							
						 
					 
					
						
						
							
							refactor(components): sidebar looks and acts prettier now  
						
						
						
						
					 
					
						2024-07-09 20:39:49 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							25b7e723f6 
							
						 
					 
					
						
						
							
							refactor(api): actually use doNotSelect filter when querying user at login  
						
						
						
						
					 
					
						2024-07-09 20:36:41 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							609562b7fa 
							
						 
					 
					
						
						
							
							refactor(client-side): make list actions async  
						
						
						
						
					 
					
						2024-07-09 20:33:20 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							a7b8c07952 
							
						 
					 
					
						
						
							
							refactor(components): navbar updates  
						
						... 
						
						
						
						add `key` attribute to `a-menu` element
only show "new story" button to logged in users
change `data` check to check for `data.user` 
						
						
					 
					
						2024-07-09 20:31:53 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							e28f6b6974 
							
						 
					 
					
						
						
							
							refactor(pages): add title to login page  
						
						
						
						
					 
					
						2024-07-09 20:23:03 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							af1e08227d 
							
						 
					 
					
						
						
							
							refactor(pages): remove top margin from home page  
						
						
						
						
					 
					
						2024-07-09 20:20:10 -04:00