Skip to content

Feat/manager v2 request presets - #164

Open
sshturbo wants to merge 285 commits into
evolution-foundation:mainfrom
sshturbo:feat/manager-v2-request-presets
Open

Feat/manager v2 request presets#164
sshturbo wants to merge 285 commits into
evolution-foundation:mainfrom
sshturbo:feat/manager-v2-request-presets

Conversation

@sshturbo

@sshturbo sshturbo commented Aug 5, 2026

Copy link
Copy Markdown

Description

Related Issue

Closes #(issue_number)

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement

Testing

  • Manual testing completed
  • Functionality verified in development environment
  • No breaking changes introduced

Screenshots (if applicable)

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have tested my changes thoroughly
  • Any dependent changes have been merged and published

Additional Notes

sshturbo and others added 30 commits August 1, 2026 16:12
sshturbo and others added 22 commits August 2, 2026 16:51
fix(call): harden bidirectional WhatsApp audio negotiation
Sync feature branch with the latest origin/main before integrating Manager V2 into main (final PR).
feat(manager-v2): integrate Manager V2 into main
Introduce managerauth package with Administrator model, JWT token service,
and login/refresh routes. Integrate with existing auth middleware to gate
protected endpoints. Add MANAGER_JWT_SECRET config option that falls back
to GLOBAL_API_KEY when unset. Update Manager V2 frontend to authenticate
against the new endpoints and manage admin sessions.
- Added `loadDotEnv` to dynamically find and load the `.env` file by traversing up parent directories. This ensures local executions and binaries work regardless of the working directory.
- Updated `.env.example` with new database configurations, WebRTC settings, and descriptive comments.
Add new runtime log entries for instance c8cdef81, including message receipts, webhook dispatching, and LID/WhatsApp JID swap handling recorded during application execution.
Remove the exposed database password from the `.env.example` file and replace it with a generic placeholder. This prevents accidental leakage of sensitive credentials in the version-controlled example configuration.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, we are unable to review this pull request

The GitHub API does not allow us to fetch diffs exceeding 20000 lines

sshturbo and others added 7 commits August 5, 2026 08:56
Remove the exposed database password from the `.env.example` file and replace it with a generic placeholder. This prevents accidental leakage of sensitive credentials in the version-controlled example configuration.
feat(manager-v2): improve incoming call handling
… offers

- Update outcome label for caller cancellation in incoming-call-overlay.
- Implement logging for already-ended call offers in runtime and registry.
- Add tests for handling preaccept events and ended offers in runtime.
- Introduce IsAlreadyEndedOffer function to identify terminal call notifications.
Introduce a `preparation` state for incoming calls to track negotiation status.
Update the UI to disable the answer button and show appropriate status labels while the call is preparing or if preparation fails, preventing users from answering too early.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant