trypost/config
Falconiere Barbosa a2a7f44c9a
refactor(linkedin): drive OAuth scopes from LINKEDIN_SCOPES env via config
Replace the additive LINKEDIN_EXTRA_SCOPES approach with a single
full-override env var per flow, exploded into an array at the config
layer (config/trypost.php -> platforms.linkedin{,-page}.scopes). This
keeps env values as plain comma-separated strings, lets self-hosters
override the entire set in one place, and removes the controller-side
scope-merge logic.

- config/trypost.php: explode LINKEDIN_SCOPES / LINKEDIN_PAGE_SCOPES
  into the scopes arrays (deprecated r_basicprofile stays out of the
  personal default)
- LinkedInController: drop resolveScopes(), read config scopes directly
- LinkedInPageController: drop the hardcoded $scopes property, read
  config scopes at both call sites
- tests: drive the connect scope assertions from config overrides
- .env.example, docker/.env.docker.example: document LINKEDIN_SCOPES
  and LINKEDIN_PAGE_SCOPES
2026-06-10 15:04:57 -03:00
..
ai-credits.php feat: AI image generation pipeline and post creation overhaul 2026-05-08 13:38:30 -03:00
ai.php refactor(mcp): move upload config from trypost.mcp to ai.mcp 2026-05-15 16:25:26 -03:00
app.php chore: reverting domains 2026-03-31 11:35:49 -03:00
auth.php feat: migrate custom API token implementation to Laravel Passport for authentication and token management 2026-05-03 18:38:17 -03:00
broadcasting.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
cache.php fix: cast cached post count to int and align local cache default to redis 2026-05-07 14:31:07 -03:00
cashier.php fix(billing): update default trial days to 8 in cashier config 2026-05-21 20:04:16 -03:00
chunk-upload.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
cors.php refactor: standardize MCP tool responses using API resources and enforce strict structural validation in feature tests 2026-05-03 21:34:20 -03:00
database.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
filesystems.php feat(storage): DigitalOcean Spaces disk + env documentation 2026-05-19 12:38:29 -03:00
horizon.php feat: workspace-scoped broadcast channel and post lifecycle events 2026-05-07 16:02:22 -03:00
inertia.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
languages.php refactor: auth split layout, subscribe redesign, onboarding, i18n, cookie locale 2026-03-30 11:53:42 -03:00
logging.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
mail.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
passport.php feat: add Passport configuration file with default authentication settings 2026-05-03 20:06:13 -03:00
queue.php fix: overhaul social publishing — validation, uploads, token refresh 2026-03-31 19:25:19 -03:00
reverb.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
services.php refactor(linkedin): move OAuth scopes into config/trypost.php platforms 2026-06-10 15:04:57 -03:00
session.php fix: increase OAuth callback close delay to 5s 2026-04-01 14:55:45 -03:00
telescope.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
trypost.php refactor(linkedin): drive OAuth scopes from LINKEDIN_SCOPES env via config 2026-06-10 15:04:57 -03:00