Commit graph

44 commits

Author SHA1 Message Date
Bradley Shellnut
8894fbf98b Update migrations and fix seeding. 2024-08-13 17:07:21 -07:00
Bradley Shellnut
7c2105d437 Adding more tests for services. 2024-08-13 16:42:10 -07:00
Bradley Shellnut
14fe604bf4 Fix tests, write random name generator, install faker, and update dependencies. 2024-08-13 15:19:57 -07:00
426ced1373 Fixing importing db provider on repositories. 2024-08-10 10:10:57 -07:00
80b956b35c Signup flow servers and repositories for user create. 2024-08-10 10:03:30 -07:00
Bradley Shellnut
2652d4fef6 Adding controllers slowly. 2024-08-08 12:38:17 -07:00
Bradley Shellnut
049ab4ef0b Fixing migrate and seed. 2024-08-07 20:59:30 -07:00
Bradley Shellnut
488b638d16 Refactor files to export all and no default export. 2024-08-07 10:01:38 -07:00
Bradley Shellnut
4dbc93f819 Fixing build but node version 22 is needed and pre-render fails. 2024-08-01 16:46:29 -07:00
dbdac430ef Adding verify login with TOTP credentials coming from the credentials table. 2024-08-01 09:26:42 -07:00
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
16191509b4 Copying over tables, migrations, seeds, etc. Creating DTOs for future use. 2024-07-24 17:39:03 -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
7883ac9184 Updating dependencies. 2024-07-13 20:42:16 -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
95117cee21 Checking fully authenticated vs not fully authd vs not authd at all and performing select actions to login, clear cookie, etc. 2024-06-17 13:06:45 -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
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
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
a7474cbbbd Update dependencies, change generate token based on new lucia method, and replace fails. 2024-04-25 11:26:05 -07:00
f729becade Starting 2FA flow. 2024-03-24 23:11:25 -07:00
Bradley Shellnut
716e2e7d28 Trying to fix auth cookie. 2024-03-21 17:20:50 -07:00
Bradley Shellnut
e6ea744f0a Fixing auth cookie value to be vercel url or backup. 2024-03-21 15:40:21 -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
Bradley Shellnut
f3cb74ac7a Adding password reset tokens and API routes for creating and verifying token. 2024-03-01 18:00:27 -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
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
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
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
b290f3092f Upgrade to v3 Lucia, change all auth layers, upgrade all dependencies, and update eslint. 2023-12-14 17:53:15 -08:00
79fde8beb8 Adding explicit types to load and actions, adding the page indicator from Syntax.fm, and hex for that color. 2023-11-04 23:20:34 -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
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
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
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
5a8726f7f0 Update prisma models for table names, adding user roles, and updating lucia for these changes. 2023-06-20 11:54:47 -07:00
48c16d7892 Comment out collection until I can fix it. Rewrite wishlist, create users with the default role, add seed roles, update the user with the default role if they don't have it. And other things. 2023-06-15 23:28:49 -07:00
16aad6696d Fixing all the root imports, installing and adding logging based on auth example. 2023-05-28 23:34:39 -07:00
9584c708cd Adding auth to the site. 2023-05-20 22:18:04 -07:00