Phase 121 — SMSPLANET Conversation + Notifications:
- migration 20260512_000110 adds smsplanet conversation + notifications tables
- src/Modules/Sms (SmsConversationService, SmsMessageRepository, SmsplanetWebhookController)
- src/Modules/Notifications (Repository, Controller, ApiController)
- order SMS tab, notification center, sender mode, inbound webhook
- public notifications.js + layouts/app.php integration
Phase 122 — SMSPLANET Default SMS Footer:
- migration 20260512_000111 adds smsplanet_integration_settings.default_footer
- footer appended to test SMS and order SMS, validated against 918 char limit
- settings textarea + compact order SMS note when footer configured
Bundled (could not split per-phase without hunk staging):
- routes/web.php (also carries Phase 118 fakturownia redirects)
- DOCS/{ARCHITECTURE,DB_SCHEMA,TECH_CHANGELOG}.md (118 + 121 + 122 entries)
- .paul/codebase/{architecture,db_schema,tech_changelog}.md (118 + 121 + 122)
- .paul/STATE.md, ROADMAP.md, changelog/2026-05-12.md (UNIFY closure)
Co-Authored-By: Claude <noreply@anthropic.com>
51 lines
2.4 KiB
Markdown
51 lines
2.4 KiB
Markdown
# 2026-05-12
|
|
|
|
## Co zrobiono
|
|
|
|
- [Phase 121, Plan 01] Wdrożono dwukierunkową komunikację SMSPLANET: sender mode, webhook inbound, zakładkę SMS w zamówieniu oraz centrum powiadomień.
|
|
- [Phase 121, Plan 01] Poprawiono migrację po realnym błędzie FK: `orders.id` na bazie ma typ `BIGINT UNSIGNED`, więc referencje SMS/notifications używają tego samego typu.
|
|
- [Phase 121, Plan 01] Zamknięto UNIFY; manualne smoke testy SMSPLANET/browser notifications i SonarQube pozostają zależne od środowiska.
|
|
|
|
## Zmienione pliki
|
|
|
|
- `database/migrations/20260512_000110_smsplanet_conversation_notifications.sql`
|
|
- `src/Modules/Sms/SmsMessageRepository.php`
|
|
- `src/Modules/Sms/SmsConversationService.php`
|
|
- `src/Modules/Sms/SmsplanetWebhookController.php`
|
|
- `src/Modules/Notifications/NotificationRepository.php`
|
|
- `src/Modules/Notifications/NotificationController.php`
|
|
- `src/Modules/Notifications/NotificationApiController.php`
|
|
- `src/Modules/Settings/SmsplanetIntegrationRepository.php`
|
|
- `src/Modules/Settings/SmsplanetIntegrationController.php`
|
|
- `src/Modules/Orders/OrdersController.php`
|
|
- `routes/web.php`
|
|
- `resources/views/settings/smsplanet.php`
|
|
- `resources/views/orders/show.php`
|
|
- `resources/views/notifications/index.php`
|
|
- `resources/views/layouts/app.php`
|
|
- `resources/lang/pl.php`
|
|
- `resources/scss/app.scss`
|
|
- `public/assets/css/app.css`
|
|
- `public/assets/js/modules/notifications.js`
|
|
- `DOCS/DB_SCHEMA.md`
|
|
- `DOCS/ARCHITECTURE.md`
|
|
- `DOCS/TECH_CHANGELOG.md`
|
|
- [Phase 122, Plan 01] Dodano konfigurowalny domyślny stopkę SMS w SMSPLANET — kolumna `default_footer` w `smsplanet_integration_settings`, doklejanie do test SMS i wiadomości z zamówienia, walidacja 918 znaków, UI textarea i podgląd w zamówieniu.
|
|
- [Phase 122, Plan 01] Zamknięto UNIFY; manualne smoke testy (test SMS i SMS z zamówienia z/bez stopki, over-limit) oraz SonarQube zależne od środowiska.
|
|
|
|
## Zmienione pliki (Phase 122)
|
|
|
|
- `database/migrations/20260512_000111_smsplanet_default_footer.sql`
|
|
- `src/Modules/Settings/SmsplanetIntegrationRepository.php`
|
|
- `src/Modules/Settings/SmsplanetIntegrationController.php`
|
|
- `src/Modules/Sms/SmsConversationService.php`
|
|
- `src/Modules/Orders/OrdersController.php`
|
|
- `resources/views/settings/smsplanet.php`
|
|
- `resources/views/orders/show.php`
|
|
- `resources/lang/pl.php`
|
|
- `resources/scss/app.scss`
|
|
- `public/assets/css/app.css`
|
|
- `DOCS/DB_SCHEMA.md`
|
|
- `DOCS/ARCHITECTURE.md`
|
|
- `DOCS/TECH_CHANGELOG.md`
|