Commit Graph

43 Commits

Author SHA1 Message Date
Adhiraj Singh 40a1e268aa feat: add "strictNullChecks" 2022-07-09 10:20:07 +05:30
Adhiraj Singh 189b740ea6 chore: remove "treatCiphertextMessagesAsReal" flag
!BREAKING_CHANGE

This was generally a poor design decision on my part to add something like this -- primarily because it could increment the chat unread counter a 100 times for a single message
2022-07-04 11:38:17 +05:30
Adhiraj Singh 6824a203d0 feat: correctly handle presence being offline for receipts
When sendPresenceUpdate('unavailable') is called, it should allow notifications to be received on the phone
2022-06-01 13:20:21 +05:30
Adhiraj Singh a8e209705a feat: add retry capability to SignalKeyStore 2022-05-22 20:52:21 +05:30
Adhiraj Singh 9a39a46398 feat: add toggle to download history 2022-05-22 17:23:30 +05:30
Adhiraj Singh 47ab32f314 chore: update noise_version to 6 2022-04-25 23:15:22 +05:30
Adhiraj Singh f5f186242c chore: revert prekey count to match WA Web 2022-04-24 12:24:26 +05:30
Adhiraj Singh c138b6a82a Merge branch 'master' into invalid-qr-patch 2022-04-19 22:01:34 +05:30
Adhiraj Singh 5824a0274d chore: remove redundant override 2022-04-19 22:01:26 +05:30
Adhiraj Singh f421f5d387 feat: customize link preview image width 2022-04-19 19:12:24 +05:30
Adhiraj Singh 911c4b43b1 chore: cleaner defaults + reduce keepAliveIntervalMs to 15s 2022-04-19 18:32:13 +05:30
Adhiraj Singh 02265fd7f9 refactor: upload more pre-keys + use pure function 2022-04-13 00:02:10 +05:30
Adhiraj Singh 75c637cf6c feat: remove need for "serverHasPreKeys" 2022-04-12 18:47:18 +05:30
Adhiraj Singh 7f7ae5edbd fix: set "treatCiphertextMessagesAsReal" flag as default false 2022-04-04 23:56:04 +05:30
Adhiraj Singh 4b6e97cf93 feat: log timestamps in ISO format 2022-03-24 20:39:05 +05:30
Adhiraj Singh 8d7fde1bf4 feat: add delay between retry requests 2022-03-23 12:40:01 +05:30
Adhiraj Singh 93c8db319e feat: implement "treatCiphertextMessagesAsReal" flag 2022-03-21 14:15:22 +05:30
Adhiraj Singh 2b10b7b18f chore: minor code cleanup 2022-03-14 19:38:01 +05:30
Adhiraj Singh de7d1002a9 lint: stricter linting rules 2022-03-01 16:32:14 +05:30
Adhiraj Singh 7c5071d8d5 chore: move version to JSON file 2022-02-20 19:31:47 +05:30
ShellTear d427de0302 Update version to fix 405 response (#1247)
Fixes the issue mentioned in #1246.
Requires scanning the qr again, otherwise it'll give 401 response.
2022-02-17 10:42:34 +05:30
Adhiraj Singh 6f9a5f8f2f chore: update version 2022-02-08 11:02:14 +05:30
Adhiraj Singh 1ff4ff3aa6 chore: update version 2022-01-20 11:17:22 +05:30
Adhiraj Singh 8f11f0be76 chore: add linting 2022-01-19 15:54:02 +05:30
Adhiraj Singh f61f553e01 chore: more unification of legacy APIs
1. unify waitForConnectionUpdate
2. unify printing QR in terminal
2021-12-18 22:18:51 +05:30
Adhiraj Singh c803e22e8a feat: functional legacy socket 2021-12-17 20:58:33 +05:30
Adhiraj Singh 19a9980492 feat: add legacy connection 2021-12-17 19:27:04 +05:30
Adhiraj Singh 792c4bf0a4 feat: add custom host names 2021-12-11 11:32:12 +05:30
Adhiraj Singh 78fd72c8e5 feat: implement message retry handling
so if a message fails to decrypt on the other user's end -- it can be retried
2021-12-04 13:47:24 +05:30
Adhiraj Singh 7d89b9bb95 chore: update WA version 2021-12-03 15:17:11 +05:30
Adhiraj Singh 6e830c1e1b feat: enforce default timeout to prevent any hanging promises 2021-11-25 19:54:56 +05:30
Adhiraj Singh 3d0704a317 feat: cleaner auth state management
1. removes the "auth-state.update" event since it was bloated and fairly unnecessary
2. adds "creds.update" event that only sends the updated properties of the auth credentials
3. ensure the auth creds are not mutated anywhere, but only with the "creds.update" event
4. Separates the signal credentials from the auth credentials (kinda in progress)
5. in memory key store requires a save function to let one know when to save the keys

!BREAKING_CHANGE
2021-11-20 16:21:56 +05:30
Adhiraj Singh 40280d777d chore: update WA version 2021-11-17 15:44:22 +05:30
Adhiraj Singh ba453a588b feat: implement external patch parsing + app state sync on login 2021-11-08 15:07:25 +05:30
Adhiraj Singh 5d8b00489d chore: update version 2021-11-06 09:25:26 +05:30
Adhiraj Singh de8e281103 export WABinay in default export 2021-10-01 13:47:02 +05:30
Adhiraj Singh e84002d807 add emitOwnEvents 2021-10-01 13:46:19 +05:30
Adhiraj Singh f267f27ada finalize multi-device 2021-09-22 22:19:53 +05:30
Adhiraj Singh e09d0ba24e update version 2021-08-13 18:06:11 +05:30
Adhiraj Singh 75c15e7767 generic media uploads 2021-08-06 18:41:07 +05:30
Adhiraj Singh 71e34fc5f8 Cleanup + add remaining utils 2021-07-12 23:50:08 +05:30
Adhiraj Singh 89cf8004e9 Wrap up connection + in memory store 2021-07-09 20:35:07 +05:30
Adhiraj Singh 5be4a9cc2c remove all files 2021-07-07 23:20:11 +05:30