trypost/database/factories
Paulo Castellano c2dd4515b2 feat(channels): add Discord as a social channel
Connect a Discord server via OAuth (bot authorization) and schedule/publish
messages to its channels, with mentions and rich embeds.

- Connect: custom Socialite Discord provider (bot scope) maps the authorized
  guild to a SocialAccount; throws if no server was authorized.
- Publish: DiscordPublisher posts via the global bot token, validates the chosen
  channel belongs to the connected guild (anti cross-guild), optimizes media,
  builds allowed_mentions only from explicit mention chips (no accidental pings),
  and renders rich embeds.
- Compose: per-post channel picker (live lookup), mention autocomplete and an
  embed editor, gated by a required-channel compliance rule; Discord post preview.
- Enum/config/content-type wiring, ConnectionVerifier health check, throttled
  lookup endpoints, i18n (en/es/pt-BR), and tests.

Operators must create a Discord application and set DISCORD_CLIENT_ID,
DISCORD_CLIENT_SECRET, DISCORD_BOT_TOKEN and DISCORD_CLIENT_REDIRECT.
2026-06-16 14:44:00 -03:00
..
AccountFactory.php feat: introduce Account entity as billing owner and refactor architecture 2026-04-14 22:22:04 -03:00
AiUsageLogFactory.php feat: transition AI usage from feature-based limits to a centralized monthly credit system with token tracking. 2026-05-03 19:36:26 -03:00
AutomationFactory.php Add strict_types to automation files and AutomationNodeState factory 2026-06-10 17:26:50 -03:00
AutomationNodeRunFactory.php Add strict_types to automation files and AutomationNodeState factory 2026-06-10 17:26:50 -03:00
AutomationNodeStateFactory.php Add strict_types to automation files and AutomationNodeState factory 2026-06-10 17:26:50 -03:00
AutomationRunFactory.php Add strict_types to automation files and AutomationNodeState factory 2026-06-10 17:26:50 -03:00
AutomationTriggerItemFactory.php Add strict_types to automation files and AutomationNodeState factory 2026-06-10 17:26:50 -03:00
InviteFactory.php feat: introduce Account entity as billing owner and refactor architecture 2026-04-14 22:22:04 -03:00
MediaFactory.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
NotificationFactory.php feat: notification system with SendNotification job, dialog UI, tests 2026-03-30 16:47:03 -03:00
PlanFactory.php feat: transition AI usage from feature-based limits to a centralized monthly credit system with token tracking. 2026-05-03 19:36:26 -03:00
PostCommentFactory.php feat: add post_comments table, model, and factory 2026-04-15 20:08:16 -03:00
PostFactory.php feat: add PostCommentCreated broadcast event 2026-04-15 20:11:36 -03:00
PostPlatformFactory.php feat(tiktok): photo carousel support + UX Content Sharing API compliance 2026-05-09 12:47:49 -03:00
SocialAccountFactory.php feat(channels): add Discord as a social channel 2026-06-16 14:44:00 -03:00
UserFactory.php feat: capture signup UTMs/IP and add GitHub OAuth login 2026-05-04 18:42:25 -03:00
WorkspaceFactory.php Structure brand voice and make generated copy platform-aware 2026-06-12 17:09:39 -03:00
WorkspaceInviteFactory.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
WorkspaceLabelFactory.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
WorkspaceSignatureFactory.php chore: remove deprecated localization files 2026-05-03 15:23:25 -03:00