Chris Coutinho
|
dfc81923ba
|
fix: resolve CI linting issues for Astroglobe
Fix all ESLint, Stylelint, PHP CS Fixer, and Psalm workflow errors.
Changes:
- ESLint fixes:
- Remove unused APP_NAME constant
- Remove unused TextBoxOutline and TextBoxRemoveOutline components
- Remove unused container variable in adminSettings.js
- Auto-fix trailing commas, line breaks, attribute ordering
- PHP CS Fixer:
- Add trailing commas after last function parameters
- Convert double quotes to single quotes in log messages
- Remove unused NoCSRFRequired import
- Fix arrow function formatting
- Stylelint:
- Update config to use @nextcloud/stylelint-config
- Fix extends directive (was using non-existent package)
- Psalm workflow:
- Fix jq object indexing (.include[0] instead of .[0])
- Correctly extract OCP version from matrix output
All checks now pass locally.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2025-12-18 00:01:54 +01:00 |
|
Chris Coutinho
|
0f7e87a91c
|
feat(astrolabe): add OAuth token refresh and webhook presets
Implement automatic token refresh and pre-configured webhook bundles
to simplify vector sync configuration.
Changes:
- Add IdpTokenRefresher service for automatic OAuth token renewal
- Works with both Nextcloud OIDC and external IdPs (Keycloak)
- Uses OIDC discovery for automatic endpoint detection
- Supports confidential clients with client_secret
- Add WebhookPresets service with pre-configured bundles:
- Notes sync (file created/written/deleted in Notes folder)
- Calendar sync (calendar object created/updated/deleted)
- Tables sync (row added/updated/deleted, Nextcloud 30+)
- Forms sync (form submitted, Nextcloud 30+)
- Update ApiController to use automatic token refresh
- Pass refresh callback to McpTokenStorage
- Add getWebhookPresets endpoint (admin-only)
- Add configureWebhooks endpoint for bulk setup
- Update OAuthController for webhook management
- Add new API routes for webhook configuration
Benefits:
- Eliminates manual token refresh
- Simplifies webhook setup with one-click presets
- Provides app-aware filtering (only shows presets for installed apps)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2025-12-18 00:01:35 +01:00 |
|