272 Commits

Author SHA1 Message Date
Nevo David
ef8c7b8c44 feat(hubspot): explain the HubSpot install on the calendar
The HubSpot app's redirect URL (/oauth/hubspot/callback) dropped people on
the bare calendar, so nothing said the install worked or what to do next.
It now lands on /launches?hubspot=installed, where HubspotInstalled opens a
modal with the next steps in HubSpot (Agent Builder > MCP Servers > Postiz
MCP) and then clears the param. returnUrl brings someone who has to sign in
first back to it. Two new strings in en and the 14 Lingo locales.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 13:40:07 +03:00
Gilad Resisi
7e6b155147 feat(billing): trial-aware renewal sentence, refresh the card after a plan change
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>
2026-10-14 15:34:18 +07:00
Gilad Resisi
51795629ec feat(billing): show the renewal date and remaining AI credits on the billing page
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>
2026-10-14 14:57:16 +07:00
Nevo David
8f3c38ab15 feat: fix invoices 2026-10-08 19:03:07 +07:00
Nevo David
3bd88cee91 feat: professional billing 2026-10-08 18:27:50 +07:00
Nevo David
5ac6e10f5e feat: fix icon 2026-10-08 17:00:50 +07:00
Nevo David
7b29d401dc feat: move menu items 2026-10-08 16:47:20 +07:00
Nevo David
003a77eb2e feat: fix settings 2026-10-08 15:43:17 +07:00
Nevo David
e756fa5743 fix: responsive 2026-10-07 23:31:48 +07:00
Nevo David
a194e3f487 feat: group schedules 2026-10-07 21:30:14 +07:00
Gilad Resisi
00ff699159
Merge pull request #2211 from gitroomhq/fix/open-post-pending-and-photo-url
fix(calendar): open-post icon handles TikTok photo posts and links that are not ready
2026-10-07 05:57:59 +00:00
Gilad Resisi
506d9a03db chore(i18n): translations for the open-post link toasts
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-06 17:47:25 +07:00
Nevo David
c3743d9e79 feat: creation modal 2026-10-06 15:03:41 +07:00
Nevo David
48aa7e2cce feat: new creation modal 2026-10-06 15:01:54 +07:00
Gilad Resisi
86ba0f47b6
Merge pull request #2205 from gitroomhq/feat/calendar-channel-filter
feat(calendar): channel multi-select filter above the calendar
2026-10-06 06:56:08 +00:00
Gilad Resisi
f05a0498b5
Merge pull request #2204 from gitroomhq/fix/calendar-delete-red
fix(calendar): make the post delete icon and confirmation red, swap Delete and Preview
2026-10-06 06:55:54 +00:00
Gilad Resisi
f0113c7424 chore(i18n): translations for the channel filter keys
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-06 12:43:43 +07:00
Gilad Resisi
743b996924 fix: show Apple login in Authentication settings
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>
2026-10-06 10:56:10 +07:00
Gilad Resisi
169c66aaeb fix(calendar): make the post delete icon and confirmation red, swap Delete and Preview
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>
2026-10-06 10:31:51 +07:00
Gilad Resisi
b95168ff1a feat: show login method in Global Settings
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>
2026-10-05 17:25:20 +07:00
Gilad Resisi
2917384a9b Merge remote-tracking branch 'origin/main' into fix/enable-channels-on-upgrade-main
# Conflicts:
#	i18n.lock
#	libraries/react-shared-libraries/src/translation/locales/ar/translation.json
#	libraries/react-shared-libraries/src/translation/locales/bn/translation.json
#	libraries/react-shared-libraries/src/translation/locales/de/translation.json
#	libraries/react-shared-libraries/src/translation/locales/en/translation.json
#	libraries/react-shared-libraries/src/translation/locales/es/translation.json
#	libraries/react-shared-libraries/src/translation/locales/fr/translation.json
#	libraries/react-shared-libraries/src/translation/locales/he/translation.json
#	libraries/react-shared-libraries/src/translation/locales/it/translation.json
#	libraries/react-shared-libraries/src/translation/locales/ja/translation.json
#	libraries/react-shared-libraries/src/translation/locales/ko/translation.json
#	libraries/react-shared-libraries/src/translation/locales/pt/translation.json
#	libraries/react-shared-libraries/src/translation/locales/ru/translation.json
#	libraries/react-shared-libraries/src/translation/locales/tr/translation.json
#	libraries/react-shared-libraries/src/translation/locales/vi/translation.json
#	libraries/react-shared-libraries/src/translation/locales/zh/translation.json
2026-10-05 12:45:31 +07:00
Nevo David
1af2885b10
Merge pull request #2190 from gitroomhq/feat/rename-channel
feat(channels): rename a channel in Postiz while keeping its original name
2026-10-05 05:26:21 +00:00
Nevo David
b3b074a500
Merge pull request #2165 from gitroomhq/fix/sentry-third-party-tag
fix(frontend): skip the Sentry report dialog for errors from browser extensions
2026-10-05 05:11:59 +00:00
Gilad Resisi
9e6b99c66a
Merge pull request #2194 from gitroomhq/feat/calendar-open-post-link-main
feat(calendar): open-post link icon that resolves the release URL on click
2026-10-05 02:57:45 +00:00
Gilad Resisi
8630c48750
Merge pull request #1828 from gitroomhq/feat/tag-edit-rewire
feat(tags): expose tag editing in the tags dropdown
2026-10-05 02:55:30 +00:00
Gilad Resisi
8c5f356562 fix(settings): show a warning toast when the invite request fails
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>
2026-10-05 09:13:04 +07:00
Nevo David
2aae02fe03 feat: inline picture 2026-10-03 15:40:20 +07:00
Nevo David
876ab9e6d9 feat: self hosting connector 2026-10-02 18:17:21 +07:00
Gilad Resisi
e70110fe1e feat(calendar): add an open-post link icon for published posts
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>
2026-10-02 16:21:54 +07:00
Gilad Resisi
9aa7c88acc Merge remote-tracking branch 'origin/main' into feat/rename-channel
# Conflicts:
#	apps/backend/src/api/routes/integrations.controller.ts
2026-10-01 10:15:49 +07:00
Gilad Resisi
fa4722990e fix(frontend): classify third-party errors only in the browser
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 15:32:54 +07:00
Gilad Resisi
5a1e92b4c0 feat(channels): rename a channel in Postiz while keeping its original name
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
2026-09-30 14:33:05 +07:00
Gilad Resisi
80dacd71e0 feat(groups): rename a channel group from the channel menu
Hover pencil on the group header opens a small rename modal backed by a new PUT /integrations/customers/:id (org-scoped, duplicate name rejected).
2026-09-30 12:28:22 +07:00
Gilad Resisi
22f266aa24 fix(media): fail the upload step when the backend returns an error
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>
2026-09-29 19:58:59 +07:00
Gilad Resisi
277d3620ac fix(frontend): record the Sentry wrapper location synchronously at init
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 17:10:27 +07:00
Gilad Resisi
0cf459623f fix(frontend): skip the Sentry report dialog for errors from browser extensions
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>
2026-09-28 16:34:14 +07:00
Gilad Resisi
3b36d5ed24 chore(i18n): translate the partial upload failure toast
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 15:15:53 +07:00
Gilad Resisi
935e069416
Merge pull request #2162 from gitroomhq/fix/sentry-ignore-uppy-progress-chrome
fix(frontend): stop the Sentry report dialog on the Chrome wording of the uppy progress error
2026-09-28 07:44:33 +00:00
Gilad Resisi
cab42b13f5 fix(frontend): stop the Sentry report dialog on the Chrome wording of the uppy progress error
#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>
2026-09-28 14:03:10 +07:00
Gilad Resisi
9dbebc2ef4 fix(frontend): don't report a failed post save as successful
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).
2026-09-28 13:57:34 +07:00
Gilad Resisi
70911f8698 chore(i18n): translate the post-checkout channel notices
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 13:10:55 +07:00
Gilad Resisi
cdaf61d638 fix(billing): show a message when Stripe.js fails to load instead of crashing
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>
2026-09-25 12:23:38 +07:00
Gilad Resisi
f0f3df652e fix(frontend): stop the Sentry report dialog on the uppy aws-s3 progress error
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>
2026-09-25 11:23:20 +07:00
Gilad Resisi
0f59347cc0 fix(frontend): stop the Sentry report dialog on MetaMask injected-script errors
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>
2026-09-25 09:16:30 +07:00
Nevo David
33e126a9e2
Merge pull request #2079 from gitroomhq/feat/preview-inline-comments
feat(preview): inline comments, replies, resolve and anonymous commenting
2026-09-24 03:40:52 +00:00
Nevo David
54fad3b7c7 Merge remote-tracking branch 'origin/main' into feat/preview-inline-comments 2026-09-24 10:20:45 +07:00
Gilad Resisi
fa93effac5 fix(frontend): stop the Sentry report dialog on the posthog-js recorder error
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>
2026-09-23 11:12:25 +07:00
Enno Gelhaus
450f0b4486
fix(sentry): reduce tracesSampleRate to 0.1 for better performance 2026-09-21 06:35:36 +02:00
Nevo David
f5d83b19f6 fix(clipping): close the clip and draft creation races from review
- 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>
2026-09-19 14:22:48 +07:00
Nevo David
9aad99cde1 feat(clipping): YouTube video clipping workflow with REST, MCP tools and widget
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>
2026-09-19 13:58:02 +07:00