15 Commits

Author SHA1 Message Date
1490e0b596 feat(ui): add message cache management page and dashboard enhancements
Some checks failed
CI / Test (1.23) (push) Failing after -30m37s
CI / Test (1.22) (push) Failing after -30m33s
CI / Build (push) Failing after -30m45s
CI / Lint (push) Failing after -30m39s
- Introduced MessageCachePage for browsing and managing cached webhook events.
- Enhanced DashboardPage to display runtime stats and message cache information.
- Added new API types for message cache events and system stats.
- Integrated SwaggerPage for API documentation and live request testing.
2026-03-05 00:32:57 +02:00
4a716bb82d feat(api): add phone number registration endpoint and update related logic
Some checks failed
CI / Test (1.23) (push) Failing after -21m47s
CI / Test (1.22) (push) Failing after -21m38s
CI / Lint (push) Failing after -21m58s
CI / Build (push) Failing after -22m23s
2026-02-21 00:04:16 +02:00
80a4c2b70a feat(accounts): sync updated WhatsApp account configs to database
Some checks failed
CI / Test (1.23) (push) Failing after -22m19s
CI / Test (1.22) (push) Failing after -22m12s
CI / Build (push) Failing after -22m19s
CI / Lint (push) Failing after -22m2s
2026-02-20 23:10:46 +02:00
Hein
a3ff2dc497 feat(swagger): add Swagger UI for API documentation
Some checks failed
CI / Test (1.23) (push) Failing after -20m40s
CI / Test (1.22) (push) Failing after -20m58s
CI / Build (push) Failing after -21m33s
CI / Lint (push) Failing after -20m51s
* Create index.html for Swagger UI integration
* Link to Swagger UI CSS and JS from CDN
* Configure Swagger UI to load API specification from api.json
2026-02-20 17:41:20 +02:00
Hein
71f26c214f feat(static): Add terms of service page and update routes
Some checks failed
CI / Test (1.22) (push) Failing after -24m33s
CI / Test (1.23) (push) Failing after -24m32s
CI / Build (push) Successful in -26m46s
CI / Lint (push) Successful in -26m38s
* Implement ServeTermsOfService handler to serve the terms of service page.
* Update index.html and privacy-policy.html to include links to the terms of service.
* Add logo1024.png for branding.
2026-02-04 19:41:11 +02:00
Hein
6d7687a311 feat(static): Add privacy policy page and route
Some checks failed
CI / Test (1.22) (push) Failing after -24m9s
CI / Test (1.23) (push) Failing after -24m10s
CI / Build (push) Successful in -26m43s
CI / Lint (push) Successful in -26m29s
- Implement ServePrivacyPolicy handler to serve the privacy policy.
- Update index.html to include a link to the privacy policy.
- Add privacy-policy.html file with content outlining data handling practices.
2026-02-04 19:19:35 +02:00
Hein
947761313b style(catalog): Format JSON struct for consistency
Some checks failed
CI / Test (1.22) (push) Failing after -24m37s
CI / Test (1.23) (push) Failing after -24m30s
CI / Build (push) Successful in -26m46s
CI / Lint (push) Successful in -26m34s
2026-02-04 11:18:50 +02:00
Hein
ecd5525430 feat(api): 🎉 Add business profile and catalog management
Some checks failed
CI / Lint (push) Has been cancelled
CI / Build (push) Has been cancelled
CI / Test (1.23) (push) Has been cancelled
CI / Test (1.22) (push) Has been cancelled
* Implement endpoints for managing business profiles:
  - Get business profile
  - Update business profile

* Add catalog management features:
  - List catalogs
  - List products in a catalog
  - Send catalog messages
  - Send single product messages
  - Send product list messages

* Introduce media upload functionality for sending media files.

* Add flow management capabilities:
  - Deprecate flows

* Update API documentation to reflect new endpoints and features.
2026-02-04 11:17:40 +02:00
Hein
a7a5831911 feat(whatsapp): 🎉 Add extended sending and template management
Some checks failed
CI / Test (1.23) (push) Failing after -24m15s
CI / Test (1.22) (push) Failing after -24m12s
CI / Build (push) Successful in -26m47s
CI / Lint (push) Successful in -26m36s
* Implemented new endpoints for sending various message types:
  - Audio
  - Sticker
  - Location
  - Contacts
  - Interactive messages
  - Template messages
  - Flow messages
  - Reactions
  - Marking messages as read

* Added template management endpoints:
  - List templates
  - Upload templates
  - Delete templates

* Introduced flow management endpoints:
  - List flows
  - Create flows
  - Get flow details
  - Upload flow assets
  - Publish flows
  - Delete flows

* Added phone number management endpoints:
  - List phone numbers
  - Request verification code
  - Verify code

* Enhanced media management with delete media endpoint.

* Updated dependencies.
2026-02-03 18:07:42 +02:00
Hein
c5e121de4a chore: 🔧 clean up code structure and remove unused files
Some checks failed
CI / Test (1.22) (push) Failing after -24m45s
CI / Test (1.23) (push) Failing after -24m42s
CI / Build (push) Successful in -26m57s
CI / Lint (push) Successful in -26m48s
* Refactored several modules for better readability
* Removed deprecated functions and variables
* Improved overall project organization
2026-01-30 16:59:22 +02:00
Hein
c4d974d6ce feat(cache): 🎉 add message caching functionality
Some checks failed
CI / Test (1.23) (push) Failing after -27m1s
CI / Lint (push) Successful in -26m31s
CI / Build (push) Successful in -27m3s
CI / Test (1.22) (push) Failing after -24m58s
* Implement MessageCache to store events when no webhooks are available.
* Add configuration options for enabling cache, setting data path, max age, and max events.
* Create API endpoints for managing cached events, including listing, replaying, and deleting.
* Integrate caching into the hooks manager to store events when no active webhooks are found.
* Enhance logging for better traceability of cached events and operations.
2026-01-30 16:00:34 +02:00
fd2527219e Server qr fixes.
Some checks failed
CI / Test (1.23) (push) Failing after -25m23s
CI / Test (1.22) (push) Failing after -25m21s
CI / Build (push) Failing after -25m59s
CI / Lint (push) Successful in -25m51s
2025-12-29 22:44:10 +02:00
94fc899bab Updated qr code events and tls server
Some checks failed
CI / Test (1.22) (push) Failing after -25m23s
CI / Test (1.23) (push) Failing after -25m25s
CI / Build (push) Failing after -25m51s
CI / Lint (push) Failing after -25m40s
2025-12-29 17:22:06 +02:00
a3eca09502 Lint fixes and testing workflow actions
Some checks failed
CI / Lint (push) Has been cancelled
CI / Build (push) Has been cancelled
CI / Test (1.23) (push) Has been cancelled
CI / Test (1.22) (push) Has been cancelled
2025-12-29 10:24:18 +02:00
767a9e211f Major refactor to library 2025-12-29 09:51:16 +02:00