Support for pushing audio message transcriptions back into database & fix for Windows WhatsApp DSN handling#22
Open
chz160 wants to merge 34 commits into
Open
Support for pushing audio message transcriptions back into database & fix for Windows WhatsApp DSN handling#22chz160 wants to merge 34 commits into
chz160 wants to merge 34 commits into
Conversation
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/4500974b-9ba5-4885-ad0a-fa7bb708545a Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/4500974b-9ba5-4885-ad0a-fa7bb708545a Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/4500974b-9ba5-4885-ad0a-fa7bb708545a Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/4500974b-9ba5-4885-ad0a-fa7bb708545a Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/4500974b-9ba5-4885-ad0a-fa7bb708545a Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/4500974b-9ba5-4885-ad0a-fa7bb708545a Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/4500974b-9ba5-4885-ad0a-fa7bb708545a Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
…init Fix Windows WhatsApp session-store DSN handling for SQLite init and lookup paths
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/86acf90b-56f8-45a6-934b-c55cd4979791 Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/86acf90b-56f8-45a6-934b-c55cd4979791 Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/86acf90b-56f8-45a6-934b-c55cd4979791 Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
…-platform warnings Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/86acf90b-56f8-45a6-934b-c55cd4979791 Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
…ning Gate iMessage local sync to macOS in `serve` to eliminate unsupported-platform warnings
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/6b76c7c4-32a9-4608-9343-1576c96fec7b Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/566bed26-96d9-4931-8e74-35fb9c720d7f Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Keep existing Platforms entrypoint accessible in web UI
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/5ce3edad-a20b-4601-8a37-c167966a2eba Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
…strings.HasPrefix Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/5ce3edad-a20b-4601-8a37-c167966a2eba Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
…d phone heuristic Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/f3a6bd74-3849-43d3-9685-c22fc5f120ce Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
…ormat fix: WhatsApp group conversations showing raw JID as name
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/a58e6320-ec26-4c07-8b30-972656dcbd8a Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/1c368499-860a-4116-846b-1c47ced45e1d Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/1c368499-860a-4116-846b-1c47ced45e1d Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/1c368499-860a-4116-846b-1c47ced45e1d Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/7856c62b-249f-43c0-b96d-e01676aba727 Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/7856c62b-249f-43c0-b96d-e01676aba727 Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/b7edb072-e887-4999-9c89-742a5ce51124 Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/b7edb072-e887-4999-9c89-742a5ce51124 Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/fc52076c-104f-4f2a-9ed1-b90d40a52e69 Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/33e37296-e1f2-4d84-9338-f6249ac2433a Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/33e37296-e1f2-4d84-9338-f6249ac2433a Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Agent-Logs-Url: https://github.com/chz160/openmessage/sessions/a8d8a620-8381-49bf-a5ab-20366d4353c9 Co-authored-by: chz160 <3420276+chz160@users.noreply.github.com>
Add voice-message transcript persistence and fix newest-N conversation range queries
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.
This pull request introduces support for message transcription metadata in the database, improves message retrieval ordering, and enhances WhatsApp group chat name handling. It also adds related tests and minor platform detection improvements.
Database and Message Model Enhancements:
transcript,transcribed_at_ms, andtranscript_modelfields to theMessagestruct and database schema to store transcription metadata for messages. Includes migration logic and ensuresUpsertMessagedoes not overwrite these fields. [1] [2] [3] [4] [5]SetMessageTranscriptmethod inStoreto safely update transcription metadata for messages, with comprehensive unit tests covering edge cases and idempotency. [1] [2]Message Query and Ordering Improvements:
GetMessagesByConversationsandGetMessagesByConversationsRangeto always return the newest N messages, ordered ascending by timestamp and message ID (for tie-breaking), improving pagination consistency. Added tests to verify ordering and tie-breaking. [1] [2] [3]WhatsApp Group Chat Name Derivation:
Platform and Dependency Updates:
iMessageSyncSupported,isDarwin) and corresponding tests to conditionally enable iMessage sync and macOS notifications only on Darwin (macOS) systems. [1] [2] [3]go.mod, promoting some packages from indirect to direct dependencies. [1] [2]