Commit Graph

48 Commits

Author SHA1 Message Date
Adhiraj Singh
d15dd6e1d2 feat: add "direct_path" to media messages 2021-12-13 17:31:20 +05:30
Adhiraj Singh
f284217d35 feat: implement transactions on auth state 2021-12-11 18:28:07 +05:30
Adhiraj Singh
2b8256d56b feat: cleaner auth state management + store SK keys
!BREAKING_CHANGE
2021-12-11 17:54:38 +05:30
Adhiraj Singh
792c4bf0a4 feat: add custom host names 2021-12-11 11:32:12 +05:30
Guilherme França
b68ab8b8ac refactor: change pttAudio param to ptt in send audio message as a voice note (#1002) 2021-12-11 00:13:03 +05:30
Adhiraj Singh
49e7ad4b25 fix: typeerror on some group create 2021-12-07 22:09:18 +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
b5ac28d426 feat: implement partial media downloads 2021-12-02 11:38:24 +05:30
Rajeh Taher
cd9c313e47 [MD] Added template support and footers for buttons & templates (#942)
* Added template support and footers for buttons & templates

* Template message readme
2021-11-30 10:40:54 +05:30
Maurilho Batista
e810f2dec5 Add support for stream as media message input (#905)
* Add support for stream as media message input

* refactor: use async/await on readable toBuffer

* refactor: be more explicit about using a readable stream

Co-authored-by: Adhiraj Singh <adhirajsingh1001@gmail.com>
2021-11-26 10:30:15 +05:30
Adhiraj Singh
6e830c1e1b feat: enforce default timeout to prevent any hanging promises 2021-11-25 19:54:56 +05:30
Adhiraj Singh
f5fcaa36f3 feat: (hopefully) correctly implement account timestamp sync 2021-11-25 13:52:18 +05:30
Adhiraj Singh
c07c013a90 refactor: specify pin mutation with boolean 2021-11-25 13:51:43 +05:30
Adhiraj Singh
032b2a314b refactor: include full sync action in chatmutation 2021-11-25 13:37:05 +05:30
Adhiraj Singh
7b42fa5a54 fix: correct operation type on chat patch 2021-11-25 00:37:44 +05:30
Adhiraj Singh
efc7dffbeb refactor: cleaner & faster app state sync management
1. Is orders of magnitude faster than the previous edition
2. Stores lesser data, so more memory efficient
3. This breaks the current app state in baileys, but baileys will auto-resync & update the state
2021-11-24 20:04:36 +05:30
Adhiraj Singh
d523bf8981 feat: detect when multi-device beta not joined 2021-11-20 17:20:06 +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
3adeb2ed6b chore: use interface instead of full type in auth 2021-11-19 21:46:48 +05:30
Adhiraj Singh
9ed4c28b8e fix: minor retry logic cleanup 2021-11-15 09:09:55 +05:30
Adhiraj Singh
469f3451d2 feat: catch groups create notification 2021-11-10 19:46:25 +05:30
Adhiraj Singh
3e54741042 feat: cache media uploads 2021-11-10 19:22:00 +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
dee815448b feat: cache user devices 2021-11-07 19:51:14 +05:30
Adhiraj Singh
91bbf575ec implement recent history sync 2021-10-08 10:50:55 +05:30
Adhiraj Singh
063803ae1b delete message fix 2021-10-05 15:51:14 +05:30
Adhiraj Singh
e84002d807 add emitOwnEvents 2021-10-01 13:46:19 +05:30
Adhiraj Singh
173d1ddf8b implement chat modifications 2021-09-29 12:31:22 +05:30
Adhiraj Singh
1a83a4c6d4 nicer patch API 2021-09-28 19:33:21 +05:30
Adhiraj Singh
fdfe310fdf implement encrypting app patches 2021-09-28 19:22:39 +05:30
Adhiraj Singh
4aaf7b6a48 fix group metadata fetch 2021-09-26 23:15:57 +05:30
Adhiraj Singh
23101f87a1 move appstatesynckey to keys 2021-09-26 12:35:56 +05:30
Adhiraj Singh
f267f27ada finalize multi-device 2021-09-22 22:19:53 +05:30
Adhiraj Singh
8a014df1c5 separate data structure for presence 2021-08-24 11:00:37 +05:30
Adhiraj Singh
acc551a3f1 add media cache option 2021-08-22 14:30:48 +05:30
Adhiraj Singh
77fb0322fd Update Message.ts 2021-08-22 14:17:11 +05:30
Adhiraj Singh
96cd3b985e add image+video+sticker dimensions 2021-08-15 13:19:54 +05:30
Adhiraj Singh
75c15e7767 generic media uploads 2021-08-06 18:41:07 +05:30
Adhiraj Singh
0a746b9f53 add viewOnce + buttons 2021-08-06 11:55:09 +05:30
Adhiraj Singh
39a6d804e1 group disappearing messages fix + state maintain 2021-08-04 17:19:28 +05:30
Adhiraj Singh
b5ee036ae9 update proto 2021-07-29 20:33:19 +05:30
Adhiraj Singh
5c4a317213 update proto + message info 2021-07-29 13:34:02 +05:30
Adhiraj Singh
8a5e6489c0 patch messages.update 2021-07-18 21:41:50 +05:30
Adhiraj Singh
6751b5cc73 make deps optional + bug fixes 2021-07-18 17:27:23 +05:30
Adhiraj Singh
e65f060664 update broadcast lists 2021-07-16 23:48:43 +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