Commit graph

90 commits

Author SHA1 Message Date
Paulo Castellano
0544259f93 chore: small improvement on facebook profile link 2026-03-29 12:36:54 -03:00
Paulo Castellano
516cc9ee1e chore: updating facebook permissions 2026-03-29 11:51:00 -03:00
Paulo Castellano
e586021171 chore: updating sender email. 2026-03-16 13:18:33 -03:00
Paulo Castellano
e46aee5584 chore: change email provider to sendkit 2026-03-16 13:14:37 -03:00
Paulo Castellano
8776a3233f chore: change email provider to sendkit 2026-03-16 13:14:22 -03:00
Paulo Castellano
2e7ea05a97 refactor: remove icons from buttons and cleanup
- Remove IconPlus from hashtags and labels buttons
- Remove unused lang/php_*.json files
- Format cleanup

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 18:13:31 -03:00
Paulo Castellano
0e6540bda0 refactor: remove duplicate translation keys
- Remove create_post (use new_post instead)
- Remove no_posts_status (simplify empty state)
- Show create button on all empty states
- Hide plus icon on desktop calendar button

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 18:11:45 -03:00
Paulo Castellano
93c245989a feat: add daily view to calendar for mobile
- Add day view support in PostController with day parameter
- Implement day view UI with posts list, time display, and navigation
- Force day view on mobile devices (< 1024px)
- Add day/week/month view selector with all three options
- Use date.formatTime() from @/date.ts for consistent time formatting
- Clean up unused translations (add_post, no_posts_day)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 18:03:35 -03:00
Paulo Castellano
06b7d2928c feat: improve post edit page for mobile
- Hide phone preview on mobile (only show on lg: screens)
- Form takes full width on mobile
- Add mobile actions sheet with settings, date picker, labels, hashtags, platforms and delete
- Reorganize top bar: show publish button + settings icon on mobile
- Make read-only info responsive
2026-01-26 16:16:34 -03:00
Paulo Castellano
0cd5e8f744 fix: update scheduled_at to current time when publishing immediately
When clicking "Publish Now", the scheduled_at was keeping the original
scheduled time while published_at was set to the actual publish time.
This caused confusion in the UI showing different dates.

Now when status is 'publishing', scheduled_at is updated to now() before
dispatching the PublishPost job.
2026-01-26 16:01:14 -03:00
Paulo Castellano
5f5dd0c7e7 chore: update composer.lock 2026-01-26 15:22:08 -03:00
Paulo Castellano
c0886737c4 feat: add labels and hashtags to posts
- Add many-to-many relationship between posts and workspace labels
- Add label selector in post edit page with autosave
- Display labels in posts list
- Add hashtags modal with search for appending hashtags to post content
- Fix sidebar active state for posts edit page
- Fix AvatarImage null src warning in SocialAccountsGrid
- Fix new post state by using Inertia::location for full page reload
- Hide close button on CommandDialog by default
2026-01-26 15:18:35 -03:00
Paulo Castellano
6fc9defb89 test: add destroy post tests for status filters and redirect param 2026-01-26 14:00:37 -03:00
Paulo Castellano
44f9f67b7d fix: redirect to posts list when deleting post from edit page 2026-01-26 13:57:48 -03:00
Paulo Castellano
4fa1cb32dc feat: add include_granted_scopes to Google OAuth
Enables incremental authorization so previously granted scopes
are preserved when requesting new permissions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 13:41:15 -03:00
Paulo Castellano
3f5411e73c chore: add author to composer.json
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 12:15:21 -03:00
Paulo Castellano
366bf51d0a chore: update composer.json with proper project metadata
- Update name to trypost-it/trypost
- Add description and keywords for discoverability
- Add homepage and support links

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 12:14:41 -03:00
Paulo Castellano
47a924081c docs: expand SELF_HOSTED mode documentation
- Clarify what changes in self-hosted mode
- Mention unlimited workspaces feature
- Note about SaaS mode with Stripe

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 12:09:09 -03:00
Paulo Castellano
d598783d65 docs: add Horizon configuration documentation
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 12:07:16 -03:00
Paulo Castellano
8289e11128 feat: use environment variable for Horizon access control
- Add HORIZON_ALLOWED_EMAILS env variable support
- Comma-separated list of emails allowed to access Horizon in production

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 12:06:00 -03:00
Paulo Castellano
9dc04c28dc chore: update config files and remove unused translation files
- Update composer.lock dependencies
- Update .mcp.json and boost.json config
- Remove unused lang/php_*.json translation files
- Update CLAUDE.md and GEMINI.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 12:02:24 -03:00
Paulo Castellano
2239d2480c feat: translate billing page and fix flash messages
- Move billing routes from /billing to /settings/billing
- Add billing translations (en/pt-br)
- Update billing/Index.vue to use $t() for all strings
- Fix all controllers using route('dashboard') to use route('calendar') or route('accounts')
- Replace ->with('error', ...) pattern with session()->flash('flash.banner', ...)
- Add self-hosted mode support for hasActiveSubscription() and workspace methods
- Add flash translations for account connection errors

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 12:01:53 -03:00
Paulo Castellano
1d056f426f feat: sync LinkedIn tokens between personal and page accounts
- Create LinkedInTokenSynchronizer service
- Sync tokens when connecting LinkedIn personal or page
- Sync tokens when refreshing tokens in publishers
- Sync tokens when verifying connections
- Prevents token invalidation when connecting both accounts
2026-01-26 11:15:29 -03:00
Paulo Castellano
06c8455e19 chore: renaming to fix git 2026-01-26 10:55:27 -03:00
Paulo Castellano
4003340083 chore: renaming to fix git 2026-01-26 10:55:18 -03:00
Paulo Castellano
47a3788adb chore: renaming to fix git 2026-01-26 10:54:55 -03:00
Paulo Castellano
b9443d33ce refactor: use i18n for disconnected account error message 2026-01-26 10:54:29 -03:00
Paulo Castellano
39302564de fix: skip publishing when social account is disconnected 2026-01-26 10:52:25 -03:00
Paulo Castellano
e1ac9f87f8 fix: retry LinkedIn publish with token refresh when token is revoked 2026-01-26 10:48:20 -03:00
Paulo Castellano
a976e11263 fix: refresh tokens before verifying social connections and fix dark mode
- ConnectionVerifier now refreshes expired/expiring tokens before verification
- Prevents false disconnection emails when tokens are expired but refreshable
- Added refresh methods for LinkedIn, X, Bluesky, YouTube, TikTok, Pinterest, Threads
- Fixed dark mode for calendar post items (status colors)
- Fixed dark mode for platform tabs in post editor
- Added tests for token refresh behavior
2026-01-26 10:06:54 -03:00
Paulo Castellano
cd22260333 fix: resolve eslint errors for unused variables and imports 2026-01-25 19:06:44 -03:00
Paulo Castellano
caab35b678 Revert "fix: refresh postPlatform before broadcasting to ensure fresh post status"
This reverts commit 8eaa6fba4c.
2026-01-25 18:59:00 -03:00
Paulo Castellano
8eaa6fba4c fix: refresh postPlatform before broadcasting to ensure fresh post status 2026-01-25 18:46:29 -03:00
Paulo Castellano
3b8313e804 fix: use Basic Auth for X OAuth refresh token endpoint 2026-01-25 18:37:54 -03:00
Paulo Castellano
37d0838571 feat: Implement social connection verification with a new command, job, and service, while removing unused language files and updating Cashier configuration. 2026-01-25 17:28:01 -03:00
Paulo Castellano
59e837fd47 feat: add i18n support for workspace connections disconnected email 2026-01-25 17:23:16 -03:00
Paulo Castellano
1aba8792ec chore: added i18n to auth pages 2026-01-22 09:30:13 -03:00
Paulo Castellano
69af2d0b4b fix: tests and improvements on ui 2026-01-21 22:14:35 -03:00
Paulo Castellano
af45d4586f feat: refactory post controlller. 2026-01-21 22:08:18 -03:00
Paulo Castellano
e6ac6c1392 feat: improvements on ui and i18n 2026-01-21 21:49:45 -03:00
Paulo Castellano
20a6c78804 feat: improvements on ui and i18n 2026-01-21 21:46:27 -03:00
Paulo Castellano
2834fdd81a feat: improvements on ui and i18n 2026-01-21 21:33:31 -03:00
Paulo Castellano
24b363a091 feat: working on i18n 2026-01-21 20:58:08 -03:00
Paulo Castellano
b8071e775b feat: improvements on ui 2026-01-21 20:50:57 -03:00
Paulo Castellano
38774aaaa6 feat: working on i18n 2026-01-21 19:35:49 -03:00
Paulo Castellano
f0ffe83f83 feat: improvements on deleting account. 2026-01-21 19:22:45 -03:00
Paulo Castellano
b03ff582c0 feat: improvements on ui 2026-01-21 18:55:33 -03:00
Paulo Castellano
1b7e161daa feat: improvements on ui 2026-01-21 18:42:37 -03:00
Paulo Castellano
9f67f4042d feat: improvements on ui 2026-01-21 17:57:15 -03:00
Paulo Castellano
925540b93e feat: improvements on ui 2026-01-20 19:42:50 -03:00