Commit Graph
22 Commits
Author SHA1 Message Date
copilot-swe-agent[bot] 4f331d5411 Initial plan 2026-03-04 21:09:51 +00:00
copilot-swe-agent[bot]andxCyanGrizzly b53934ebf2 Make all users admins: update schema default, add migration, simplify registration and OAuth flows
Co-authored-by: xCyanGrizzly <53275238+xCyanGrizzly@users.noreply.github.com>
2026-03-04 20:23:54 +00:00
copilot-swe-agent[bot] 464c86b32a Initial plan 2026-03-04 20:16:22 +00:00
copilot-swe-agent[bot]andxCyanGrizzly 0c0c9c7f23 Fix first user not getting ADMIN role when signing up via OAuth
The createUser event in auth.ts now promotes the first user to ADMIN
if no admin exists yet. The JWT callback also fetches the role from the
database on sign-in to pick up the freshly assigned ADMIN role.

Co-authored-by: xCyanGrizzly <53275238+xCyanGrizzly@users.noreply.github.com>
2026-03-04 19:21:25 +00:00
copilot-swe-agent[bot] 82d5fc1812 Initial plan 2026-03-04 19:15:27 +00:00
copilot-swe-agent[bot]andxCyanGrizzly 5d88f9beb3 Wrap first-user admin check in transaction to prevent race condition
Co-authored-by: xCyanGrizzly <53275238+xCyanGrizzly@users.noreply.github.com>
2026-03-04 18:55:41 +00:00
copilot-swe-agent[bot]andxCyanGrizzly 3704708970 Fix telegram page redirect: make first user admin and hide admin-only nav items from non-admins
Co-authored-by: xCyanGrizzly <53275238+xCyanGrizzly@users.noreply.github.com>
2026-03-04 18:55:02 +00:00
copilot-swe-agent[bot] 0c789eabd6 Initial plan 2026-03-04 18:24:56 +00:00
copilot-swe-agent[bot]andxCyanGrizzly 6cc8e1185a Fix: Copy full node_modules to production image to prevent missing module errors
Co-authored-by: xCyanGrizzly <53275238+xCyanGrizzly@users.noreply.github.com>
2026-03-04 15:31:01 +00:00
copilot-swe-agent[bot]andxCyanGrizzly 066fb5a046 Fix: Copy valibot to production Docker image for Prisma CLI
Co-authored-by: xCyanGrizzly <53275238+xCyanGrizzly@users.noreply.github.com>
2026-03-04 15:22:59 +00:00
copilot-swe-agent[bot] bed99f8167 Initial plan 2026-03-04 15:20:17 +00:00
copilot-swe-agent[bot]andxCyanGrizzly 7303d5c6d3 Fix missing prisma_schema_build_bg.wasm by using symlink for .bin/prisma in Dockerfile
Co-authored-by: xCyanGrizzly <53275238+xCyanGrizzly@users.noreply.github.com>
2026-03-04 14:37:15 +00:00
copilot-swe-agent[bot] c5ca9a7460 Initial plan 2026-03-04 14:31:43 +00:00
copilot-swe-agent[bot]andxCyanGrizzly df006636de fix: change pull_policy from build to never; remove dead fonts.ts
Co-authored-by: xCyanGrizzly <53275238+xCyanGrizzly@users.noreply.github.com>
2026-03-04 14:21:46 +00:00
copilot-swe-agent[bot] 373f1f2f08 Initial plan 2026-03-04 14:01:13 +00:00
copilot-swe-agent[bot]andxCyanGrizzly 48829e2efc fix: switch to local geist fonts and use direct prisma binary in entrypoint
- Replace next/font/google Geist imports with geist npm package to eliminate
  Google Fonts CDN network dependency during Docker image builds (was causing
  intermittent build failures → redeployment errors)
- Use ./node_modules/.bin/prisma directly in docker-entrypoint.sh instead of
  npx for both migrate deploy and db seed commands

Co-authored-by: xCyanGrizzly <53275238+xCyanGrizzly@users.noreply.github.com>
2026-03-04 13:51:28 +00:00
copilot-swe-agent[bot]andxCyanGrizzly b11948d3b3 Initial plan
Co-authored-by: xCyanGrizzly <53275238+xCyanGrizzly@users.noreply.github.com>
2026-03-04 13:48:30 +00:00
copilot-swe-agent[bot] ba6bad58fa Initial plan 2026-03-04 13:34:56 +00:00
copilot-swe-agent[bot]andxCyanGrizzly 2e1142dba5 fix: resolve Portainer redeployment issues
Co-authored-by: xCyanGrizzly <53275238+xCyanGrizzly@users.noreply.github.com>
2026-03-04 13:26:13 +00:00
copilot-swe-agent[bot] 13fa559f51 Initial plan 2026-03-04 13:16:37 +00:00
copilot-swe-agent[bot]andxCyanGrizzly b9eb6b6a2b fix: copy node_modules/.bin/prisma in production Docker image
Co-authored-by: xCyanGrizzly <53275238+xCyanGrizzly@users.noreply.github.com>
2026-03-04 13:07:29 +00:00
copilot-swe-agent[bot] 26ef3e6649 Initial plan 2026-03-04 13:05:33 +00:00