Commit graph

382 commits

Author SHA1 Message Date
552d338257 Delete lock. 2024-04-11 21:19:14 -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
2f08b713ef Remove random file. 2024-04-11 18:43:07 -07:00
Bradley Shellnut
89f5d345c3 Update dependencies. 2024-04-11 17:38:39 -07:00
Bradley Shellnut
f9123eea53
Merge pull request #16 from BradNut/two-factor
Two factor
2024-04-11 17:27:10 -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
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
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
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
20c59d7ee5 Adding primary boolean to user roles and setting the value to true for 'user' role creation on signup etc. 2024-03-19 20:37:01 -07:00
Bradley Shellnut
82de351c03 Adding flash message on role add and remove. Protecting routes with flash messages. 2024-03-19 20:09:25 -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
c1aaad7f6c Fixing use of nanoid. 2024-03-12 12:28:54 -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
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
6503659352
Merge pull request #15 from BradNut/shadcn-svelte
Move to Shadcn Svelte and Drizzle
2024-03-05 06:26:21 +00:00
Bradley Shellnut
196dfd48f6
Merge pull request #14 from BradNut/drizzle
Merge Drizzle to shadcn
2024-03-05 06:24:26 +00:00
Bradley Shellnut
da418bd4fa Upgrading dependencies. 2024-03-04 22:22:20 -08:00
Bradley Shellnut
8069db626f Fixing search form. 2024-03-03 11:32:36 -08:00
Bradley Shellnut
b25be86d32 Merge branch 'shadcn-svelte' into drizzle 2024-03-02 20:31:46 -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
24004c4533 Adding relations for reset tokens. 2024-03-01 18:01:45 -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
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
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