trypost/resources/js/lib
Paulo Castellano d8149ef058
Remove the automations module (#333)
* Remove the automations module

Drops the visual workflow builder end to end: actions, node runners,
commands, jobs, models, observers, policy, resources, requests, routes,
broadcast channel, scheduler entries, Horizon supervisor, Vue pages and
components, canvas undo/redo history, CodeEditor, translations, factories
and tests.

A new migration rewrites posts.created_via = 'automation' to 'web' and
drops the five automation tables. The CreatedVia::Automation enum case is
removed. The 2026-08-21 social-account identity migration now skips its
automation node repointing when the automations table no longer exists,
so it stays re-runnable after the drop.

Orphaned dependencies removed: simplepie/simplepie, @vue-flow/*,
codemirror and @codemirror/*.

* Drop the orphaned common.beta translation key

* Remove automation leftovers: ResolvableUrl rule, feed fixtures, useShortcut, nav badge

* Drop the unused chart wrapper and @unovis packages

* Address review: keep the shipped migration untouched, drop the dead previewOnly chain

- Restore 2026_08_21 migration to exactly what production ran; the
  rehearsal test now recreates the automations table it expects instead.
- Mark the drop migration's down() irreversible like its siblings.
- Simplify DropAutomationTablesMigrationTest to the sibling shape.
- Remove previewOnly / aiGenerateVariants: the only caller that set the
  prop was the deleted automation Generate node.
- Run pint over lang/*/common.php after the beta key removal.

* Exercise the drop migration against the real automation tables and their FKs

* Drop DuplicateIdentityRehearsalTest: it re-ran a frozen migration that reads the removed automations table
2026-09-05 11:03:23 -03:00
..
contentTypeMediaRules.ts Centralize content-type media rules on the ContentType enum. 2026-07-24 22:01:48 -03:00
defuseXLinks.ts Defuse links in X posts to avoid the link-post fee (#308) 2026-08-29 15:31:05 -03:00
httpError.ts fix: subscribe to AI generation channel before dispatching the job (#269) 2026-08-10 16:06:37 -03:00
imageCrop.ts Rewrite the image cropper as a movable/resizable selection box 2026-07-04 09:56:31 -03:00
mcpClients.ts MCP: workspace settings, viewer read access, and token access (#241) 2026-08-06 09:54:51 -03:00
mediaType.ts refactor(media): centralize frontend media-type detection in lib/mediaType 2026-06-25 18:19:58 -03:00
userAgent.ts feat: implement consolidated authentication settings including session management and social provider integration 2026-05-03 17:42:44 -03:00
utils.ts Enhance automation functionality: Introduce workflow variables and improve node validation 2026-06-11 15:47:29 -03:00