Feat/manager v2 request presets - #164
Open
sshturbo wants to merge 285 commits into
Open
Conversation
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.
Feat/manager v2 request presets
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.
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.
…sshturbo/evolution-go into feat/manager-v2-request-presets
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Related Issue
Closes #(issue_number)
Type of Change
Testing
Screenshots (if applicable)
Checklist
Additional Notes