1
0
Fork 0
mirror of https://github.com/mautrix/whatsapp.git synced 2026-07-07 06:43:20 -04:00

Commit graph

  • f91812f3e9 Fix membership db scan error message Tulir Asokan 2019-08-25 21:53:09 +03:00
  • 85d57d52bb Log better error when parsing message fails Tulir Asokan 2019-08-25 19:41:46 +03:00
  • 0f36ee0168 Add way to migrate database Tulir Asokan 2019-08-25 19:26:04 +03:00
  • 3be9aa2319 Improve errors in state store migration edge cases Tulir Asokan 2019-08-25 17:25:19 +03:00
  • ab91d326fd Move Matrix state store to main database. Fixes #64 Tulir Asokan 2019-08-25 16:29:35 +03:00
  • 15b0798cdd Check connection to homeserver before starting. Fixes #15 Tulir Asokan 2019-08-25 00:34:58 +03:00
  • 1490830be2 Use handlers instead of sleeping for startup chat/contact sync Tulir Asokan 2019-08-25 00:25:29 +03:00
  • f28322d1f7 Send error message if downloading media from WhatsApp fails Tulir Asokan 2019-08-24 23:08:45 +03:00
  • 2c89089650 Update deps Tulir Asokan 2019-08-24 22:56:29 +03:00
  • 18724cde6e Don't open log file if file name format is unset Tulir Asokan 2019-08-24 22:45:16 +03:00
  • 80a0edd855 Add option to disable call start/end notifications. Fixes #68 Tulir Asokan 2019-08-24 22:42:03 +03:00
  • 07d43c4825 Send call notifications as notices. Fixes #82 Tulir Asokan 2019-08-24 22:40:09 +03:00
  • 44a0fc65b8 Handle 400 init response and add ping command. Fixes #87 Tulir Asokan 2019-08-24 22:39:12 +03:00
  • b9ce4d7ab4 Update mautrix-appservice-go Tulir Asokan 2019-08-23 00:02:04 +03:00
  • eb3595bd39 Add newly created portals to personal filtering community Tulir Asokan 2019-08-10 15:44:05 +03:00
  • 64e517da25 Fix some logger calls Tulir Asokan 2019-08-10 15:35:34 +03:00
  • 1119587b59 Fix setting metadata of personal filtering community Tulir Asokan 2019-08-10 15:33:13 +03:00
  • 7bf470d69e Add portal rooms to user-specific community for filtering Tulir Asokan 2019-08-10 15:24:53 +03:00
  • 07b8936985
    Change default port to 29318 Tulir Asokan 2019-07-28 18:29:30 +03:00
  • 1474288b82 Cache modules when building and include example config in artifacts Tulir Asokan 2019-07-27 17:15:45 +03:00
  • d59d2c61ee Add .gitlab-ci.yml Tulir Asokan 2019-07-27 17:03:05 +03:00
  • 5d0b15f7f7 Remove command prefix from reconnect prompt (#81) Andrew Morgan 2019-07-17 22:22:00 +01:00
  • 0a0b182b35
    Remove extra fmt.Sprintf's Tulir Asokan 2019-07-18 00:21:46 +03:00
  • 35e28feb7c Update deps Tulir Asokan 2019-07-18 00:15:55 +03:00
  • 91e8000c14 Edit message with regenerated QR code when logging in Tulir Asokan 2019-07-18 00:14:04 +03:00
  • 7f0a0df7de Convert newlines to <br> in whatsapp->matrix formatted messages Tulir Asokan 2019-07-18 00:07:44 +03:00
  • 921c1209ea Enable foreign keys in SQLite Tulir Asokan 2019-07-18 00:06:50 +03:00
  • 92958343dd Add option to allow inviting other users in portal rooms (#77) progserega 2019-07-16 19:16:17 +10:00
  • be0e471f26 Remove command prefix from reconnect prompt Andrew Morgan 2019-07-16 10:01:56 +01:00
  • 29e8aa50dd change default progserega 2019-07-10 00:13:41 +10:00
  • 537c086a5e options for invite permission progserega 2019-07-09 23:58:26 +10:00
  • 717447e451 Merge remote-tracking branch 'tulir_main/master' progserega 2019-07-04 23:51:31 +10:00
  • 29f5ae45c4 Print clean websocket disconnections if they weren't announced by the server beforehand Tulir Asokan 2019-07-04 15:08:58 +03:00
  • 12dfd48134 set default permission to invite bots to matrix room of whatsapp-bridge progserega 2019-07-02 23:49:17 +10:00
  • 2023f55f32 Recover from panics in event handlers Tulir Asokan 2019-06-18 08:24:17 +03:00
  • 45e60c2510 Update go-whatsapp Tulir Asokan 2019-06-16 23:00:45 +03:00
  • 5be78dd978 Fix the crash in #69 Tulir Asokan 2019-06-13 21:30:38 +03:00
  • 2bc0e52250 Fix puppet db inserts. Fixes #69 Tulir Asokan 2019-06-13 21:28:14 +03:00
  • 21673fc83d
    Fixed [Database/Puppet/WARN] Failed to insert <jid>: pq: invalid input syntax for integer: Ankur Agarwal 2019-06-13 03:58:18 +05:30
  • d270c86709 Update go-whatsapp Tulir Asokan 2019-06-12 12:38:07 +03:00
  • c4186c9029 Update deps and add real version for go-whatsapp dep Tulir Asokan 2019-06-01 20:18:24 +03:00
  • e124641107 Add option to set private chat portal rooms' name/avatar explicitly Tulir Asokan 2019-06-01 20:03:29 +03:00
  • 9fa0ad923d Fix potential nil pointer crash Tulir Asokan 2019-06-01 19:20:06 +03:00
  • 4a13ae731a Fix custom puppet start loop Tulir Asokan 2019-05-31 23:07:33 +03:00
  • 3345615fc0 Fix indentation in filter json Tulir Asokan 2019-05-31 23:03:09 +03:00
  • 2bf3edda16 Add logout-matrix command Tulir Asokan 2019-05-31 23:02:00 +03:00
  • 1285aa4327 Fix fetching more than one chunk of initial history Tulir Asokan 2019-05-31 22:30:57 +03:00
  • 37fd5dba2c Fix syncing chats for users with old chats Tulir Asokan 2019-05-31 21:59:23 +03:00
  • 83f4cf2811 Fix crash and add more logging Tulir Asokan 2019-05-31 20:51:16 +03:00
  • a40584db41 Add command to delete all own portals for a fresh start Tulir Asokan 2019-05-31 19:33:18 +03:00
  • 720f0b85e2
    Fix go.mod by removing inexistent version Duco van Amstel 2019-05-31 15:07:57 +02:00
  • 37cd34e4bf Make contact wait delay configurable and fix nil pointer usage Tulir Asokan 2019-05-30 20:25:04 +03:00
  • 02f78155b5 Only invite default puppet for backfilling when needed Tulir Asokan 2019-05-30 17:48:22 +03:00
  • 521a8b74aa Share backfill start/end code between initial and recovery fills Tulir Asokan 2019-05-30 17:25:56 +03:00
  • c4751f4953 Use default puppet when backfilling to avoid rate limits Tulir Asokan 2019-05-30 17:22:03 +03:00
  • a9fd97932b Send alerts about incoming calls Tulir Asokan 2019-05-30 17:00:36 +03:00
  • 1c009b96fe Only load 50 messages per request in initial fill Tulir Asokan 2019-05-28 21:48:37 +03:00
  • dce08b1422 Add user-portal mapping to database Tulir Asokan 2019-05-28 21:31:25 +03:00
  • 666194b066 Possibly fix and/or break missed message backfilling Tulir Asokan 2019-05-28 21:30:39 +03:00
  • 063ec7873d Don't allow unsupported database versions without flag Tulir Asokan 2019-05-28 21:29:43 +03:00
  • 1d43aeca2f Remove message locking as message handling is synchronous per-portal Tulir Asokan 2019-05-28 14:12:35 +03:00
  • 7f0c67168c Fix potential autoreconnect problem and add exponential backoff Tulir Asokan 2019-05-28 14:09:49 +03:00
  • 498c0e4130 Ignore invalid data received errors Tulir Asokan 2019-05-27 14:15:45 +03:00
  • 3f13e13d36 Make not connected errors in sync handling non-fatal Tulir Asokan 2019-05-27 14:01:30 +03:00
  • 402f482db3 Update deps Tulir Asokan 2019-05-27 13:48:11 +03:00
  • bfe5af7edc Add Matrix->WhatsApp EDU bridging Tulir Asokan 2019-05-27 13:46:04 +03:00
  • 5346e01d2a Add logging for custom puppets and save next batch properly Tulir Asokan 2019-05-24 14:09:48 +03:00
  • 0db44d4cc7 Remove dev replaces in go.mod again Tulir Asokan 2019-05-24 02:36:59 +03:00
  • 2c9c473040 Add basic Matrix puppeting support Tulir Asokan 2019-05-24 02:33:26 +03:00
  • 95e62fae77 Upgrade message content in db to new protocol schema Tulir Asokan 2019-05-24 01:09:42 +03:00
  • 8d0d5ff504 Switch sync command to use syncPortals and syncPuppets methods used at startup Tulir Asokan 2019-05-23 22:57:52 +03:00
  • 5eb06ee43c Update go-whatsapp with new proto version Tulir Asokan 2019-05-23 22:57:19 +03:00
  • 0408db5c07 Add config option for max age of chats to sync Tulir Asokan 2019-05-23 20:25:46 +03:00
  • 239de25bf0 Don't connect in reconnect command if the user is not logged in Tulir Asokan 2019-05-23 20:11:55 +03:00
  • f9c3e99d10 Fix/change things Tulir Asokan 2019-05-23 20:09:13 +03:00
  • 94ba2244b0 Disconnect clients when stopping bridge Tulir Asokan 2019-05-23 19:16:29 +03:00
  • d7b36d55d7 Handle puppet avatar fetch errors properly Tulir Asokan 2019-05-23 19:07:34 +03:00
  • 2f78d803c2 Update deps Tulir Asokan 2019-05-23 18:24:58 +03:00
  • 7b067b4737 Set avatar in room create request and sync participants before filling history Tulir Asokan 2019-05-22 23:27:58 +03:00
  • 14f96bd96f Fix some bugs in missed message and initial history filling Tulir Asokan 2019-05-22 23:05:58 +03:00
  • 4db9777b9a Fetch initial history in chunks to allow fetching more history Tulir Asokan 2019-05-22 22:05:28 +03:00
  • 015e42279d Fix handleMessage call in handleHistory Tulir Asokan 2019-05-22 17:39:27 +03:00
  • b363547bdf Possibly significantly improve how portals are created and synced Tulir Asokan 2019-05-22 16:46:18 +03:00
  • 6f2a51410f Make message handling more synchronous and fill history on portal create Tulir Asokan 2019-05-21 23:44:14 +03:00
  • adc7257490 Add admin command to delete portal and fix some other things Tulir Asokan 2019-05-21 21:06:27 +03:00
  • 9c8a75583e Update deps Tulir Asokan 2019-05-20 18:46:18 +03:00
  • bd1d60639c Switch to go-whatsapp fork to test json parse error fix Tulir Asokan 2019-05-20 18:45:16 +03:00
  • 23747d4917 Add automatic connection retries Tulir Asokan 2019-05-17 23:53:57 +03:00
  • 38540d8efb Make max database connection count configurable and default to 20 Tulir Asokan 2019-05-17 23:33:27 +03:00
  • 6cda7ab549 Add ON DELETE CASCADE for future sqlite databases too Tulir Asokan 2019-05-17 13:10:46 +03:00
  • 33148909d6 Remove dev replaces in go.mod again Tulir Asokan 2019-05-17 02:33:49 +03:00
  • b0d774a5a5 Add database migrations and handle leaving private chat portals. Fixes #7 Tulir Asokan 2019-05-16 20:14:32 +03:00
  • 97e740d93d Maybe improve connecting errors Tulir Asokan 2019-05-16 18:24:54 +03:00
  • 2381eb029b Report WhatsApp server connection errors to user too. Fixes #18 Tulir Asokan 2019-05-16 18:18:11 +03:00
  • b5af35684d Make connection timeout configurable Tulir Asokan 2019-05-16 18:08:30 +03:00
  • 5d0edda04a Add command to delete session information to force logout when the bridge gets stuck Tulir Asokan 2019-05-16 18:00:46 +03:00
  • c1e1964fc5 Add WhatsApp<->Matrix redaction bridging Tulir Asokan 2019-05-16 01:59:36 +03:00
  • ae92d71d5a Handle connection failures like disconnections Tulir Asokan 2019-05-16 01:56:33 +03:00
  • f39fd0ac46 Update mautrix-go Tulir Asokan 2019-05-16 00:51:45 +03:00
  • e5085b87c7 Log message ID when failing to download media Tulir Asokan 2019-05-16 00:35:04 +03:00