1
0
Fork 0
mirror of https://github.com/mautrix/signal.git synced 2026-05-15 21:56:53 -04:00

Commit graph

  • bdc2fec369 Refactor for code reuse Andrew Ferrazzutti 2023-11-29 15:32:36 -05:00
  • dd48c404c2 Bridge descriptions from Signal Andrew Ferrazzutti 2023-11-29 14:02:23 -05:00
  • 0ce75e293e Expose debug API with pprof Toni Spets 2023-12-05 12:24:19 +02:00
  • 7b674397e3 Revert "Clean up extra ghosts that may be left from double puppetting problems" Scott Weber 2023-12-01 14:52:26 -05:00
  • 5d74b17856 Run CleanUpExtraGhosts outside of the user lock Scott Weber 2023-12-01 12:30:40 -05:00
  • 3c0129cb38 Clean up extra ghosts that may be left from double puppetting problems Scott Weber 2023-12-01 12:11:23 -05:00
  • 7d487dbd2f Hack to fix bridging multiple images from Signal Scott Weber 2023-11-28 23:09:45 -05:00
  • 068af1df27 Don't crash on messages from Signal with formatting Scott Weber 2023-11-28 20:09:39 -05:00
  • 6f378d1b99 Upgrade only for postgres Andrew Ferrazzutti 2023-11-24 11:41:24 -05:00
  • afab8bf265 Set contact table profile key type to bytea Andrew Ferrazzutti 2023-11-24 01:40:31 -05:00
  • 468f655a6f Ensure user is invited to portals on update Andrew Ferrazzutti 2023-11-23 15:52:37 -05:00
  • 8f3f50eb87 Handle ws == nil, and ws reconnect loops Scott Weber 2023-11-22 23:06:41 -05:00
  • e20d746376 Increase WS read limit to 1MB from default of 32KB Scott Weber 2023-11-22 21:59:55 -05:00
  • 6068d25fc9 Ensure double puppetting is started for incoming messages (if enabled) Scott Weber 2023-11-21 18:17:07 -05:00
  • fa7a34ac15
    Scope reply events to current portal & quoted user (#17) Andrew Ferrazzutti 2023-11-21 15:09:12 -05:00
  • d03b07448f nil check in resolveIdentifier Scott Weber 2023-11-21 14:53:31 -05:00
  • b2da336627 Perform "ClearKeysAndDisconnect" on prekey decryption errors Scott Weber 2023-11-20 22:28:49 -05:00
  • cef8e3049a Got my logic backwards Scott Weber 2023-11-19 20:22:35 -05:00
  • 62274973fb Ignore contact if it doesn't have a valid UUID Scott Weber 2023-11-19 10:48:51 -05:00
  • ece2eed474 Make provisioning API safer and clear device keys before storing prekeys Scott Weber 2023-11-17 16:25:43 -05:00
  • 16787a28b5 Don't try to save contact with no UUID Scott Weber 2023-11-17 12:01:35 -05:00
  • ae8de47390 Serialize access to encryption per bridge user Scott Weber 2023-11-15 13:41:11 -05:00
  • d308f27e61 Request contacts from Signal device when creating new Matrix room Scott Weber 2023-11-15 10:58:42 -05:00
  • 1ffe5eaa26
    Always bridge own inbound group messages (#10) Andrew Ferrazzutti 2023-11-14 16:15:32 -05:00
  • edf04da7fc
    Allow debug build & remote debugging (#13) Andrew Ferrazzutti 2023-11-14 16:03:17 -05:00
  • 7f91feacf3
    Use filename title as body if caption is empty (#16) Andrew Ferrazzutti 2023-11-14 15:54:50 -05:00
  • 1f49819b85 Clean up some references to Whatsapp Scott Weber 2023-11-14 15:51:45 -05:00
  • fa6a17ed58
    Clean up notice for login timeouts (#12) Andrew Ferrazzutti 2023-11-14 15:48:40 -05:00
  • 353d6c1b7c
    Don't break inbound bridging on DMing own account (#11) Andrew Ferrazzutti 2023-11-14 15:43:37 -05:00
  • 9df4ed6ed3 Make error more generic to not break error reporting Scott Weber 2023-11-14 15:09:59 -05:00
  • 1dfd08f166
    Deduplicate inbound messages (#15) Andrew Ferrazzutti 2023-11-14 14:37:33 -05:00
  • 20cc27a297
    Add Prometheus metrics (#8) Andrew Ferrazzutti 2023-11-14 14:27:56 -05:00
  • 8c11301398 Remove warning Scott Weber 2023-11-14 14:25:00 -05:00
  • 79047202e7 Basic support for receiving Signal contact cards Scott Weber 2023-11-13 14:33:26 -05:00
  • 71254782af
    Fix nil dereferences (#14) Andrew Ferrazzutti 2023-11-13 09:24:10 -05:00
  • 46d5b4e03c If bridge has upgraded and user tries to send a message before logging back in, send BAD_CREDENTIALS Scott Weber 2023-11-10 14:05:09 -05:00
  • aeaec30086 Always store the same timestamp in the DB as was sent to Signal Scott Weber 2023-11-09 13:37:31 -05:00
  • dba988356b Include the RoomID of the room we just created Scott Weber 2023-11-09 12:25:56 -05:00
  • 18f4676403 Implement SNC API for starting chats with people the bridge knows Scott Weber 2023-11-09 09:58:14 -05:00
  • c0bd0710c5 PM bridgebot command that just looks up phone numbers that the bridge has already seen Scott Weber 2023-11-08 16:24:45 -05:00
  • b7bcdfdd39 Sender envelopes include the sender e164!!! KEEP THEM Scott Weber 2023-11-08 15:54:18 -05:00
  • 7007a36c90 Handle updating puppet with contact info even if profile fetch fails Scott Weber 2023-11-08 12:08:40 -05:00
  • aee115d81f Add "contacts", and layer on top of profiles Scott Weber 2023-11-07 23:08:31 -05:00
  • dffed61b1d Fix comments Scott Weber 2023-11-05 10:15:29 -05:00
  • da5eb0c8e7 Add TransientDisconnect debouncing, and fix BridgeState sending bug Scott Weber 2023-11-03 16:55:02 -04:00
  • ccd48585f0 Don't send CONNECTING/BAD_CREDS if bridge has no SignalDevice Scott Weber 2023-11-02 09:48:39 -04:00
  • 870e776422 Don't crash when sending in a group by myself Scott Weber 2023-11-01 11:57:16 -04:00
  • db01419c8c Now try sending 400, just like the old bridge (and the old CND would accept quietly) Scott Weber 2023-11-01 10:58:02 -04:00
  • 8850c90738 Try being chill Scott Weber 2023-11-01 09:59:49 -04:00
  • e5095e5419 Tweak wait timeout to 45s (desktop retries at 30s) Scott Weber 2023-11-01 00:42:55 -04:00
  • c7b23b8174 Fix waitForScan error, and more error messages Scott Weber 2023-11-01 00:34:07 -04:00
  • 36da9e6e3b Fix up contexts and error messages Scott Weber 2023-11-01 00:23:14 -04:00
  • b04a919c65 Handle restarting provisioning session Scott Weber 2023-11-01 00:10:36 -04:00
  • 89c540496c Initialize our map Scott Weber 2023-10-31 23:44:54 -04:00
  • 4064dba3f5 Provisioning API fixes Scott Weber 2023-10-31 23:31:18 -04:00
  • a09cec4a81
    Update go.yml to fix test build Scott Weber 2023-10-30 12:28:51 -04:00
  • 8ba1cd8a1e
    Update go.yml with protobuf-compiler Scott Weber 2023-10-30 12:21:50 -04:00
  • 3108b99208 Fix captions signal -> matrix (need a filename set) Scott Weber 2023-10-29 09:32:54 -04:00
  • d9cb00f9ff Fix outgoing videos, voice notes and files Scott Weber 2023-10-26 14:39:27 -04:00
  • cffb67c4af Add BadCredentials error message Scott Weber 2023-10-26 14:26:24 -04:00
  • c466fd9032 Handle unhandled messages with notice Scott Weber 2023-10-26 13:47:36 -04:00
  • f54556b96f Small tidy Scott Weber 2023-10-22 23:47:09 -04:00
  • 4966bda94a Disappearing messages! Scott Weber 2023-10-22 20:26:56 -04:00
  • 906d0c82c9 Add logging to try and figure out why CONNECTED state wasn't sent Scott Weber 2023-10-19 09:39:03 -04:00
  • e4f386b54b Fix AllLoggedIn() to use user.Scan() Scott Weber 2023-10-18 13:12:20 -04:00
  • 8b991e0ad6 Stop trying to handle SS plaintext Scott Weber 2023-10-11 18:14:42 -04:00
  • 984699760f Try unmarshalling SS plaintext message again Scott Weber 2023-10-11 14:55:04 -04:00
  • 58b92be3ca Don't send delivered receipts so aggressively, and try parsing SS plaintext Scott Weber 2023-10-11 14:47:11 -04:00
  • f6652b3509 Fix scanning non-logged-in users from db Tulir Asokan 2023-10-06 16:16:35 +03:00
  • ab22788a26 Use bash for default docker run Tulir Asokan 2023-10-04 12:41:56 +03:00
  • 0e518f777f Fix inserting users on postgres Tulir Asokan 2023-09-30 18:03:07 +03:00
  • a0110915d5 Remove redundant notice_room column Tulir Asokan 2023-09-30 18:01:24 +03:00
  • b308af43c4 Fix TRANSIENT_DISCONNECT on shutdown again Scott Weber 2023-10-02 00:30:09 -04:00
  • 5d00781973 Handle delivery receipts and forward to matrix as MSS Scott Weber 2023-10-02 00:18:36 -04:00
  • 810c83234f Handle sync read messages from other signal devices Scott Weber 2023-10-01 23:30:12 -04:00
  • cb905c07c4 Send read syncs to other signal devices Scott Weber 2023-10-01 23:06:27 -04:00
  • 48f48ab02b Bridge read receipts matrix -> signal Scott Weber 2023-10-01 22:34:12 -04:00
  • 278343049b Gotta send the receipt to Matrix from the right intent Scott Weber 2023-10-01 12:07:26 -04:00
  • 8c03c759b6 Bridging read receipts signal -> matrix Scott Weber 2023-10-01 12:00:30 -04:00
  • c9d7dcd9e3 Update README.md Tulir Asokan 2023-09-30 16:50:41 +03:00
  • 021b5ca929 Switch to ON CONFLICT DO UPDATE instead of INSERT OR REPLACE Tulir Asokan 2023-09-30 16:23:20 +03:00
  • 2ca4e2bbcd Mention precompiled libsignals in readme Tulir Asokan 2023-09-30 15:15:43 +03:00
  • 60fc9aece9 Sync go mod and sum files Tulir Asokan 2023-09-30 14:50:48 +03:00
  • db656d4890 Fix incorrect usage of legacy pkg/errors Tulir Asokan 2023-09-30 14:39:26 +03:00
  • ce884a4061 Fix postgres migration from legacy signal Tulir Asokan 2023-09-30 14:34:29 +03:00
  • bb1cd0bba7 Fix default port Tulir Asokan 2023-09-30 14:24:27 +03:00
  • ad920a6d6d Build nearly static binaries in CI Tulir Asokan 2023-09-22 17:11:53 -04:00
  • d672272cad Lowercase incoming reaction target author UUID Scott Weber 2023-09-28 19:41:10 -04:00
  • d22ffc00f6 Send delivery receipts Scott Weber 2023-09-28 00:19:22 -04:00
  • 5ebb5ff817 Handle incoming calls with a notice Scott Weber 2023-09-27 23:31:24 -04:00
  • a648f79eaf Group avatars Scott Weber 2023-09-27 21:44:37 -04:00
  • 310989d662 Refactor decrypting attachments into it's own function Scott Weber 2023-09-27 16:38:08 -04:00
  • 4f4aa4810b Bridge typing notification for matrix -> signal (DMs only) Scott Weber 2023-09-27 16:01:55 -04:00
  • dad2211541 Refactor sending to pass around Content instead of DataMessage Scott Weber 2023-09-27 15:46:32 -04:00
  • 11bc54e976 Bridge typing notification signal -> matrix Scott Weber 2023-09-27 15:05:18 -04:00
  • 2142a9b3c2 Don't emit bridge state during clean shutdown Scott Weber 2023-09-27 14:25:02 -04:00
  • 7985b8ea81 Mentions from matrix -> signal Scott Weber 2023-09-27 14:05:58 -04:00
  • df41afcfd8 Merge remote-tracking branch 'upstream/master' Tulir Asokan 2023-09-22 13:54:10 -04:00
  • 125c686eaa Improve logging for HTTP requests Scott Weber 2023-09-22 10:29:14 -04:00
  • 1b55692243 Fix displaying mention names (signal -> matrix) Scott Weber 2023-09-22 10:18:14 -04:00