Commit graph

227 commits

Author SHA1 Message Date
Bradley Shellnut
bf55b04de6 Converting everything to the tsyringe IoC pattern. 2024-07-30 18:50:46 -07:00
Bradley Shellnut
3190e9601e Creating controllers, updating deps, and adding more repositories. 2024-07-28 18:39:42 -07:00
Bradley Shellnut
d70b3061b5 Moving a lot around for hono 2024-07-21 12:05:48 -07:00
Bradley Shellnut
388f9a399d Adding arctic for future OAuth. 2024-07-19 11:38:20 -07:00
Bradley Shellnut
70b4407637 Remove auth page transition and add crossfade to the auth cards, change error messages, and fix auth buttons when showing reset page. 2024-07-18 16:52:11 -07:00
Bradley Shellnut
ac8721d264 Adding docker-compose for future use, using Card on all auth pages, adding start of reset password. 2024-07-16 14:54:32 -07:00
7883ac9184 Updating dependencies. 2024-07-13 20:42:16 -07:00
Bradley Shellnut
42292c15b2 Using Svelte 5, refactor to use a separate table for user two factor details, and update the whole application to use the new table. 2024-07-11 15:53:56 -07:00
5c3349ca42 Adding dialog from shadcn svelte, fixing recovery codes rendering, fixing more Svelte 5 migrations, and adding pin input onto totp. 2024-07-07 17:41:08 -07:00
63ac7dfd76 Updating dependencies, upgrade latest svelte 5, and updating to use svelte 5 in most places. 2024-07-06 23:12:36 -07:00
Bradley Shellnut
ad20f88b84 Fixing seeding and migrations. Fixing other login flows and the check for being fully authenticated. Still need to refactor landing page to mitigate bypassing 2FA. 2024-06-14 19:11:18 -07:00
Bradley Shellnut
43877868a4 Fixing env.ts to look for env variables, fix seeding data, adding dependencies needed for this. 2024-06-13 17:32:09 -07:00
Bradley Shellnut
e4ff068fe1 Starting over migrations, revert schema date string type, using two variables in session for knowing if 2FA is valid, adding checks everywhere on protected routes and APIs. 2024-06-11 19:12:12 -07:00
Bradley Shellnut
36aa0636a3 Adding not null to games columns, fixing TOTP form, and fixing TOTP verifying. 2024-06-08 17:25:01 -07:00
Bradley Shellnut
2609c28619 Adding totp enabled to session, restarting migrations, updating many Shadcn svelte components, and refactoring to move 2FA to its own page. 2024-06-08 15:09:21 -07:00
Bradley Shellnut
a8eed0d86d Moving drizzle into it's own DB folder and moving all the table types to separate files. 2024-05-07 17:19:13 -07:00
Bradley Shellnut
45e9e5adb7 chore: Updating dependencies 2024-04-26 17:56:59 -07:00
Bradley Shellnut
a7474cbbbd Update dependencies, change generate token based on new lucia method, and replace fails. 2024-04-25 11:26:05 -07:00
Bradley Shellnut
085cb2ef27 Update dependencies, fix dropdown links to collections and wishlists, and fix error 404 page. 2024-04-23 14:35:51 -07:00
Bradley Shellnut
53fdc51ee7 Creating specific id collection and wishlist pages as well as name to both. 2024-04-16 18:38:43 -07:00
Bradley Shellnut
524f3bbe8b Update svelte vite plugin. 2024-04-12 10:24:54 -07:00
5fb8c17086 Remove sentry and planetscale. 2024-04-11 22:42:26 -07:00
0a356c9863 Remove sentry. 2024-04-11 22:05:26 -07:00
df15b4c3a7 Just revert back. 2024-04-11 21:54:49 -07:00
e45cb8d26b Remove engines. 2024-04-11 21:49:15 -07:00
21bd503aa2 Downgrade vite. 2024-04-11 21:47:02 -07:00
b7b7e2cb3b Remove pnpm version. 2024-04-11 21:21:13 -07:00
97acc7ece6 Trying to revert package. 2024-04-11 21:08:59 -07:00
Bradley Shellnut
3eaa2e096c Revert vite plugin svelte. 2024-04-11 18:52:45 -07:00
Bradley Shellnut
33b8b8262c Update latest dependencies. 2024-04-11 18:47:32 -07:00
Bradley Shellnut
89f5d345c3 Update dependencies. 2024-04-11 17:38:39 -07:00
Bradley Shellnut
53f3b99133 Usage of TOTP Code or Recovery code on login. If recovery code then mark that code as used. Setup disabling of 2FA if a current password is entered. 2024-04-11 17:17:45 -07:00
826d06113d Separate page for two factory recovery codes. 2024-04-06 23:59:59 -07:00
Bradley Shellnut
4880b87922 Writing code to send recovery to it's own page. 2024-04-05 16:10:12 -07:00
564c58a2c6 Creating recovery codes and starting to return to UI, adding seed data for initial admin user, and update dependencies. 2024-04-04 15:08:18 -07:00
Bradley Shellnut
8c5cda1ebc Adding two factor code generation. 2024-03-29 17:40:02 -07:00
f729becade Starting 2FA flow. 2024-03-24 23:11:25 -07:00
Bradley Shellnut
c01418805b Updating dependencies and fixing mobile issues. 2024-03-21 12:27:32 -07:00
Bradley Shellnut
5e174c875f Updating schema, adding admin pages, adding page for adding roles to admin on viewing user, block only admin to reach admin page. 2024-03-15 12:05:47 -07:00
Bradley Shellnut
ed36285c2f Removing nanoid, changing main id to uuid for all schemas, adding display cuid2, and adding rate limiter to login and signup. 2024-03-12 11:34:39 -07:00
a267cb5193 Removing the rest of prisma from files. 2024-03-10 00:02:17 -08:00
bd7d944ad1 Cleaning up and removing prisma. 2024-03-08 11:03:34 -08:00
Bradley Shellnut
d86b975b4e Removing prisma. 2024-03-06 20:37:05 -08:00
Bradley Shellnut
da418bd4fa Upgrading dependencies. 2024-03-04 22:22:20 -08:00
Bradley Shellnut
8185bb76f6 Fixing update password and sign out redirect. 2024-03-01 17:17:13 -08:00
Bradley Shellnut
bc95947fd1 Adding flash message to login redirects. 2024-02-29 17:11:07 -08:00
Bradley Shellnut
3596a5dcd6 Fix profile update and toast works now. 2024-02-27 22:49:21 -08:00
d9c1f55071 Update email action flow. 2024-02-27 09:27:26 -08:00
8f9db3fea5 Moving validations to separate folder, upgrading superforms v2, and shadcn components. 2024-02-25 22:59:29 -08:00
Bradley Shellnut
becf1d8349 Fix text search. 2024-02-22 19:13:04 -08:00
Bradley Shellnut
c472f43b9e Removing external id from some schemas, creating APIs for different schemas, and creating DB utils for the schemas. 2024-02-20 17:47:37 -08:00
bbb6df0fec Change prisma to drizzle in password change, profile update, collection page, and wishlist page. 2024-02-18 00:03:08 -08:00
Bradley Shellnut
858a356ddf Updating external id schema types and password validation. 2024-02-16 16:38:02 -08:00
Bradley Shellnut
0c4f93e39c Update dependencies, fix logo on landing and auth. 2024-02-15 17:18:37 -08:00
Bradley Shellnut
2b3d037861 Creating new landing page, starting a different flow of managing your games, updating the schema for external ids, and adding different logo. 2024-02-14 17:48:47 -08:00
Bradley Shellnut
ec5f1ed93b Creating external ids table and join tables. 2024-02-14 09:42:29 -08:00
Bradley Shellnut
eac53a993b Update dependencies, custom tsVector type for drizzle, and adding vector column on game for name and slug, and adding index on the search vector column. 2024-02-09 17:01:54 -08:00
Bradley Shellnut
baafd75839 Moving drizzle from MySQL to Postgres because more features exist there I like and am used to. 2024-02-08 18:56:09 -08:00
Bradley Shellnut
e91b308f97 Update dependencies and fix username taken. 2024-02-07 17:53:02 -08:00
Bradley Shellnut
049a9536c4 Update dependencies, fix most of signup, add seed file for Drizzle and command. 2024-02-07 17:16:17 -08:00
3663fc328e Fix connecting to localhost mysql version and not use planetscale adapters. 2024-02-05 23:18:13 -08:00
30cd8ceb97 Updating schema for drizzle, adding migrate and push. 2024-02-03 18:21:32 -08:00
Bradley Shellnut
3494876abb Migrating to drizzle schemas. 2024-02-02 17:56:31 -08:00
Bradley Shellnut
354838f4f6 Migrating to Drizzle. 2024-01-30 18:19:51 -08:00
Bradley Shellnut
6a66a51085 Comment out Sentry since it doesn't work on v2 and adding pagination. 2024-01-30 17:57:36 -08:00
Bradley Shellnut
386d4e7e3a Updating og image generation, updating Lucia Beta, and using Shadcn Form for the search form. 2024-01-26 16:35:02 -08:00
Bradley Shellnut
9f4aafe658 Adding ip country and address to the session DB, updating libraries and Lucia beta, updating auth flows for newest lucia changes. 2024-01-18 16:57:15 -08:00
Bradley Shellnut
994d1d462c Refactor component names, add api for random games, and use on main page. 2023-12-28 12:16:36 -08:00
Bradley Shellnut
daa9a628d1 Upgrading to SvelteKit v2, fixing headers render, and adding random games search. Also add badge component and put in the Game details page. 2023-12-26 17:26:39 -08:00
Bradley Shellnut
c91cb72b38 Adding exact search checkbox. 2023-12-26 16:42:06 -08:00
Bradley Shellnut
527866b1d2 Updating auth logic for v3 lucia, fixing types, upgrading dependencies. 2023-12-19 17:54:39 -08:00
Bradley Shellnut
b290f3092f Upgrade to v3 Lucia, change all auth layers, upgrade all dependencies, and update eslint. 2023-12-14 17:53:15 -08:00
Bradley Shellnut
d13484a105 Updating all dependencies and moving throw errors outside try catches. 2023-12-04 22:25:43 -08:00
3997e4e49b Manipulating logo on auth screen for different sizes. 2023-11-12 22:04:44 -08:00
a3d0c6757f Fixing roles seed file. 2023-11-04 17:11:58 -07:00
4e300a72a1 Fixing prisma issues by removing from locals and just using as singleton import. Upgrading libraries. 2023-11-04 17:03:28 -07:00
7d334f9cb7 Big changes. Added Sentry at least for now for error tracking to get this up. Moved prisma client generation to the server hooks and passing in locals. Refactor to use prisma in locals. Creating expansions and linking while displaying on Game page. 2023-10-17 22:28:53 +13:00
9ce5458dc8 Change prisma version and remove imports in seeder. 2023-10-16 15:59:30 +13:00
bd853cf1dc Change prisma. 2023-10-16 15:48:45 +13:00
75aa901a24 Updating dependencies. 2023-10-14 22:03:34 +13:00
2a640ffd90 Update external API, add HTML entity package to convert from external API, and update schema. 2023-09-30 22:46:05 +13:00
e69ed91e2c Updating MeltUI and adding APIs for external searching games on BGG. 2023-09-29 21:06:46 +13:00
b25af709e2 Update dependencies. 2023-09-25 17:58:20 +13:00
31db84c371 Update prisma and svelte. 2023-09-21 21:29:32 +12:00
f84f2ecbe8 Adding start of dynamic og image. 2023-09-13 18:43:22 -07:00
7b858dfb2c Adding privacy and terms pages, adding svelte meta tags package, and adding defaults for meta tags. 2023-09-13 17:08:54 -07:00
2781774758 Update prisma fix landing. 2023-09-12 10:56:58 -07:00
13162f8270 Updating shadcn files, moving routes around. 2023-09-08 16:30:32 -07:00
ea9a0f60a8 Updating to the newest melt-ui and shadcn-svelte. Move util to utils. Change theme to purple. Start using newer Shadcn components. 2023-08-20 22:54:04 -07:00
af475071eb Update lucia, super form, and flash message. Fix get game by id when no user is signed in. 2023-08-20 14:58:04 -07:00
1a8ec5b905 Remove unique on wishlist and collection ids. Only show add to buttons for now. 2023-08-14 11:48:07 -07:00
bdfc1dfd3f Updating dependencies, fixing search, fixing wishlist add and remove, fixing game page, not showing buttons on list of games, and adding helper components. 2023-08-13 22:12:02 -07:00
c4a141a1ff Moving collection and wishlist to the protected route, adding sheet with list options for profile on avatar click, adding show and update user profile. 2023-08-04 16:40:22 -07:00
49b7ad0d6f Adding Melt-ui until it gets integrated into Shadcn-svelte and using for header avatar dropdown. Upgrading to Prisma 5 and other dependencies. Adding profile and protected routes. 2023-08-01 14:01:24 -07:00
a32adc3ae8 Rename db folder to server, remove levelup dependencies, add sveltekit flash message, add toast library, and use both on signup. 2023-07-30 16:31:39 -07:00
1f1d9d7838 Update Lucia to V2, add APIs for user interactions, and fix anything to get the build working. 2023-07-29 22:00:51 -07:00
4905ee152c Update to Svelte 4. 2023-07-18 14:26:41 -07:00
b6b9c36466 Adding APIs for different actions to consume down the line in refactor. 2023-07-18 14:23:45 -07:00
4a803998c6 Adding card and radio-group, update deps, remove all custom css for now, add in theme from user and in layout, and change game to shad card. 2023-07-02 23:04:33 -07:00
3d99710eb8 Adding shadcn-svelte, updating to tailwind, using tailwind in postcss, removing headless-ui references, comment out custom css, and adding UI comonents to signup / signing. 2023-06-30 15:08:45 -07:00