Commit graph

230 commits

Author SHA1 Message Date
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
389fddc32e Manually adding totp error and converting to use shadcn form on login. 2024-04-08 17:47:54 -07:00
8b48466c7e Adding show 2FA on login if it is enabled on the user. 2024-04-07 22:11:52 -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
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
c01418805b Updating dependencies and fixing mobile issues. 2024-03-21 12:27:32 -07:00
Bradley Shellnut
66eb09b237 Blocking admin pages if you don't already have an admin role. Adding add and remove roles to admin page. 2024-03-19 12:01:15 -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
527906b451 Fixing linting issues. 2024-03-10 23:19:55 -07:00
e7d1df356e Removing hopefully that last of prisma, convert the files to use drizzle, and fix shadcn-svelte pagination with newer lucide icon. 2024-03-10 12:09:37 -07: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
8069db626f Fixing search form. 2024-03-03 11:32:36 -08:00
Bradley Shellnut
9324de4e74 Adding favicon, restrict signup for now, fix seed and migration, and do not set email to empty string on signup. 2024-03-02 15:53:02 -08: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
bc95947fd1 Adding flash message to login redirects. 2024-02-29 17:11:07 -08:00
f5c486e837 Creating two schemas and forms for profile update. 2024-02-26 08:41:24 -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
39ecce591a Adding more game util methods and add game pages. 2024-02-20 23:31:05 -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
b7d7113262 Updating schema to have more foreign key constraints in line with prisma migration and primary key on join tables. 2024-02-19 00:22:05 -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
9a87af4c3c Fix seeder and fix the schema for password and confirm password. 2024-02-17 00:10:19 -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
b7d7f298bc Starting transactions for games. 2024-02-09 17:49:39 -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
049a9536c4 Update dependencies, fix most of signup, add seed file for Drizzle and command. 2024-02-07 17:16:17 -08:00
Bradley Shellnut
8e1d453c13 Starting signup creation of user. MySQL cannot return after insert and requerying with username. 2024-02-06 17:08:03 -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
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
3997e4e49b Manipulating logo on auth screen for different sizes. 2023-11-12 22:04:44 -08:00
229d84df40 Updating shadcn files (Uses bits-ui), moving text search to just search page. 2023-11-06 16:36:51 -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
a3d0c6757f Fixing roles seed file. 2023-11-04 17:11:58 -07:00