getRenewalDate now returns { renewsAt, trialing }: while the Stripe
subscription is trialing, renewsAt is its trial_end and the card says
the free trial ends and the first payment is charged on that date.
After an in-place plan change the renewal date and the credits are
revalidated together with the invoices, so the counters don't mix the
new plan's totals with the old plan's remaining credits.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds a Billing cycle card between the plans and the payment method card:
the next renewal date from the payment provider (new getRenewalDate on the
provider interface, null by default, Stripe reads current_period_end of the
live subscription) via GET /billing/renewal, and the remaining AI images,
AI videos and clipping minutes of the current month from the existing
/copilot/credits endpoint.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The provider lookup had no APPLE entry, so the Authentication section
rendered nothing for users who sign in with Apple. Adds the entry (label
and email) and the auth_method_apple translation for all locales.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The calendar's delete icon sits right next to Preview and its confirmation
looks like any other dialog, so a mis-click is easy to confirm unnoticed.
The delete icon is now red, the Delete and Preview icons swap places so they
are no longer adjacent, and the confirmation opens with a red frame and a red
approve button. The red styling is opt-in through a new destructive flag on
deleteDialog / areYouSure / the modal shell, passed only by the calendar post
delete, so every other confirmation keeps its current look.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Adds an Authentication section at the top of Global Settings that shows
how the user logs in, read from the existing User columns (providerName,
email). Password and GitHub/Google logins show the email; Farcaster,
Wallet and generic SSO show the label only. Translations added for all
locales.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The early return on a failed invite left the modal open with no
feedback for non-402 failures. Show the server's message, or a generic
fallback, as a warning toast, matching the other failed-request
handlers in the frontend. Adds the could_not_send_invitation key and
its translations.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Adds a hover-only globe icon to calendar items that opens the post's
releaseURL in a new tab. Shown only for non-recurring PUBLISHED posts
with a valid http URL, so rescheduled/re-drafted and failed posts hide it.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Adds a nullable customName column on Integration, PUT /integrations/:id/custom-name, and Rename channel / Reset to original name options in the channel menu. Channel lists (app, public API, agent) return the custom name when set.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0153xf1m3VSQnd9QrMLhDikq
fetchUploadApiEndpoint returned res.json() for every response. The app's
fetch wrapper never throws on HTTP errors, and @uppy/aws-s3 treats
whatever the completeMultipartUpload callback returns as a successful
upload (it emits upload-success with status 200). So when
/media/complete-multipart-upload answered 400 or 500, the error body
became a "successful" file without `saved`, the uploader handed
`undefined` to the editor, and the post preview crashed reading `.path`
of it (seen in production on 2026-09-29 as "Cannot read properties of
undefined (reading 'path')" and "(reading 'id')" in the post editor).
The helper now throws on a non-OK response, as impersonate.tsx already
does for the same reason. Uppy then marks the file as failed and aborts
its multipart upload, the uploader's complete handler drops it and shows
the "Some files failed to upload" warning, and the other files of the
batch are still attached. This applies to all five multipart callbacks;
none of them relied on reading an error body.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Tag events whose throwing callback has no frame from our /_next/ bundle as
third_party_code and do not open the report dialog for them. Frames of Sentry's
own callback wrapper are skipped, and frameless "Could not establish connection"
rejections are treated as extension noise.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#2147 ignored the Safari wording of the @uppy/aws-s3 4.3.2 progress
callback crash ("undefined is not an object (evaluating 'r.progress')"),
but Chrome and Edge report the same throw as "Cannot read properties of
undefined (reading 'progress')", which the pattern does not match, so
those users still get the "Something broke" report dialog.
The throw is in the plugin's own onProgress (getFile(id).progress on a
file that is no longer in state), fired from the part request's load
handler after our error handler cancels the remaining files. #2145
guarded our upload-success handler, not this plugin line.
Sentry CLOUD-20X, 1054 events / 33 users since 2026-09-16.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Check the POST /posts response; on failure keep the editor open and show the server message (402 stays silent, the payment dialog already explained it).
loadStripe() rejects when js.stripe.com is blocked (ad blockers, privacy
extensions, corporate proxies). The promise was stored in state with no
handler, so the rejection surfaced as an unhandled
"Error: Failed to load Stripe.js", popped the Sentry report dialog, and
the billing page stayed on the loading spinner forever.
The promise now has a catch that flips a stripeFailed state, and the page
renders an explanation in the same bordered box used for the
"another account already subscribed" case. New translation key
billing_stripe_load_failed added to all locales via lingo.dev.
Sentry CLOUD-SJ: 185 events / 27 users in the last 30 days, 338 / 75
lifetime.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The @uppy/aws-s3 4.3.2 progress callback reads uppy.getFile(id).progress
from the S3 part PUT load handler without a null check, so when the file
has already left uppy's state it throws "undefined is not an object
(evaluating 'r.progress')" (Sentry CLOUD-211). beforeSend shows the report
dialog for every captured exception, so the throw surfaced as a
"Something broke" popup for users on Safari. The upload itself is done or
cancelled by the time this fires, so the error is ignored like the
posthog recorder one.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
MetaMask's injected inpage.js throws "Failed to connect to MetaMask"
(linked: "MetaMask extension not found") as Error instances, so the
existing plain-object wallet filter does not catch them and beforeSend
opens the user-report dialog. Both messages are added to ignorePatterns.
Sentry CLOUD-C: 860 events / 166 users in the last 30 days, 2270 events
/ 305 users lifetime, no Postiz frames in the stack.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
posthog-js throws "Called on script loaded before session recording is
available" when its session-recording script's load event fires before the
recorder extension is registered. The frontend beforeSend hook shows the
Sentry user-report dialog for every captured exception, so users hit the
"Something broke!" form on ordinary page loads (login, launches, channel
connect) with nothing actually wrong. Sentry issue CLOUD-QP: 656 events,
91 users since March 2026; three user-feedback reports in one week.
Add the message to ignorePatterns so the event is dropped before the
dialog branch, matching the existing network-error entries.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
- createClips takes the row of the clipping before looking for clips, so a
timed out attempt and its retry can no longer both store a set
- a clip is claimed (draftedAt off null) before its draft is created and
released when creation fails, so a retry cannot draft it twice
- urls are stripped from the logged processor failure
- Turkish billing label reads correctly after the number
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Turns a YouTube video into captioned vertical clips that land in the media
library and as draft posts. Adds the Clipping / ClippingClip models, the
clipping_minutes credit type, clippingWorkflow + per-clip child workflows,
the /clipping REST routes, the MCP clipping tools and the ui://postiz/clipping
status widget.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>