Skip to content

merge#30

Open
Abdulmuiz44 wants to merge 42 commits into
codex/nextauth-google-auth-flowfrom
main
Open

merge#30
Abdulmuiz44 wants to merge 42 commits into
codex/nextauth-google-auth-flowfrom
main

Conversation

@Abdulmuiz44
Copy link
Copy Markdown
Collaborator

No description provided.

Abdulmuiz44 and others added 23 commits April 8, 2026 00:07
…nchpix-mvp

Codex/build foundation for launchpix mvp
…nchpix-mvp

Relax project website URL validation
…nchpix-mvp

Redesign app UI with sleek shadcn style
…unchpix-mvp

Refine landing page structure and CTAs
…unchpix-mvp

Harden dashboard runtime and prevent client-side crash
…unchpix-mvp

Clean up LaunchPix dashboard layout
…unchpix-mvp

Stabilize LaunchPix generation flow
…n-fix

Improve design system and generation fallback
…n-fix

[codex] Create professional LaunchPix demo video
…n-fix

[codex] Polish responsive dashboard sidebar
…n-fix

[codex] Tighten dashboard header and generation layout
…n-fix

[codex] Refine professional dark interface
…n-fix

Codex/design system generation fix
…me-refresh

Improve frontend conversion layout and theme
…me-refresh

Add LaunchPix logo and richer preview visuals
…me-refresh

Codex/frontend conversion theme refresh
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 29, 2026

Deploy Preview for launchpix ready!

Name Link
🔨 Latest commit 004b1a4
🔍 Latest deploy log https://app.netlify.com/projects/launchpix/deploys/6a06072031e6390007b1acf8
😎 Deploy Preview https://deploy-preview-30--launchpix.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3f4e3ab513

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/api/billing/checkout/route.ts Outdated
Comment on lines +40 to +41
if (message.includes("is not configured")) {
return NextResponse.json({ error: message }, { status: 500 });
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Stop exposing internal config errors to checkout clients

The new "is not configured" branch returns the raw exception text to the browser, which can leak internal environment variable names (for example missing LEMON_SQUEEZY_* keys) to any authenticated user triggering checkout. This is a security disclosure regression compared with the previous generic 500 response and should be replaced with a sanitized user-facing message while keeping full details only in server logs.

Useful? React with 👍 / 👎.

Test and others added 2 commits April 29, 2026 16:44
Test and others added 2 commits May 1, 2026 05:26
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c6d7180dae

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

)
returns boolean
language plpgsql
security definer
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restrict execution of atomic credit grant RPC

This function runs as security definer and trusts caller-supplied p_user_id/p_credits without any authorization check, so any role that can execute the RPC can mint credits outside the signed webhook flow (including granting credits to arbitrary users). Because this migration does not add an auth guard or revoke execute privileges, credit balances can be modified by direct RPC calls instead of only by trusted backend code.

Useful? React with 👍 / 👎.

last_payment_at: new Date().toISOString()
})
.eq("id", current.id);
.update({ credits_remaining: current.credits_remaining + 1 })
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Make refund credit increment atomic

The refund path reads current.credits_remaining and then writes current + 1 as an absolute value, which can drop refunds under concurrency: if two generations for the same user fail at nearly the same time, both requests can read the same balance and both write the same incremented value, so only one credit is actually restored. This should use an atomic increment/CAS pattern (as done in consume) to avoid lost updates.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: adf76d5a57

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread lib/ai/mistral-image.ts

try {
const stream = await client.files.download({ fileId });
return assertUsablePng(await streamToBuffer(stream));
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Validate generated PNG dimensions before saving

When the Mistral image tool returns a valid PNG at a different size than the requested asset.width/asset.height, this path accepts it solely based on byte count/signature and the generation later stores/exports it as if it matched the required app-listing or hero dimensions. Because those exports need exact pixel sizes, decode the PNG dimensions and resize/crop or fall back to the deterministic renderer before returning it.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant