Commit Graph

161 Commits

Author SHA1 Message Date
Adhiraj Singh fe1d0649b5 feat: add signal repository + tests 2023-03-18 12:25:47 +05:30
Adhiraj Singh cd42881201 feat: allow messageSecret as param to poll create 2023-03-02 17:42:34 +05:30
Adhiraj Singh 3052398cd0 Merge branch 'master' into pr/2472 2023-03-02 15:22:46 +05:30
Adhiraj Singh 06f2d354bf chore: lint files 2023-03-02 15:22:43 +05:30
Adhiraj Singh 79aa2e5176 feat: narrower definition of cachestore 2023-02-21 11:56:27 +05:30
Adhiraj Singh 34f8f60d31 chore: lint 2023-02-21 11:49:59 +05:30
Adhiraj Singh 5fb9f12b31 chore: use cache instead of permanent maps 2023-02-21 11:35:32 +05:30
Adhiraj Singh ca24608dc8 chore: pass axios options to downloading remote media 2023-02-18 13:03:47 +05:30
Alan Mosko 05dd53e2ce wip 2023-01-17 11:29:10 -03:00
Alan Mosko 78f04d8714 wip 2023-01-11 23:58:29 -03:00
Adhiraj Singh bed4f7f524 chore: add GetCatalogOptions type
!BREAKING_CHANGE
2022-12-08 13:32:10 +05:30
Adhiraj Singh c96a7652d9 feat: add nextPageCursor 2022-12-08 13:30:31 +05:30
Adhiraj Singh 7f2384a058 feat: support caption in document 2022-11-22 17:18:37 +05:30
Leonardo Bein 704aa1e434 feat: Add notification group: change inviteCode 2022-11-22 12:02:31 +05:30
Adhiraj Singh 47900eae14 feat: add listReply 2022-11-13 12:23:22 +05:30
Adhiraj Singh b2aa51a13d feat: add custom patchMsg function + remove patch for btns 2022-11-12 19:31:11 +05:30
Adhiraj Singh a58b73fba5 feat: allow ignoring jids 2022-11-11 09:31:49 +05:30
Adhiraj Singh 4aadc9dc6c fix: add option for appStateMacVerification 2022-11-08 22:33:53 +05:30
Adhiraj Singh 6663357a37 feat: handle default disappearing mode change notifications 2022-10-12 19:11:14 +05:30
Adhiraj Singh 7736114fab chore: remove pre-fetch from transaction store 2022-10-09 12:19:33 +05:30
Adhiraj Singh d0330d1863 refactor!: cleaner message history sync
This is a breaking change,
1. three events (chats.set, contacts.set, messages.set) are now just one `messaging-history.set` event
2. no need to debounce for app state sync
3. added a new "conditional" chat update to allow for correct app state sync despite not having the chat available on hand
2022-09-29 16:32:57 +05:30
Adhiraj Singh e08dd10198 refactor!: use proto.Conversation's own chat mutation fields instead of baileys added 2022-09-29 11:06:09 +05:30
Adhiraj Singh b329c73b20 feat: handle picture change events 2022-09-27 11:28:41 +05:30
Adhiraj Singh 6735263696 feat: add makeCacheableSignalKeyStore util 2022-09-20 12:16:05 +05:30
Adhiraj Singh 116b30dff0 feat: expose axios options 2022-09-19 17:25:54 +05:30
Adhiraj Singh e7f6838fa4 chore: remove legacy code 2022-09-19 14:59:35 +05:30
Adhiraj Singh 586db48d2b feat: pass original thumbnail url in WAUrlInfo 2022-09-15 18:50:23 +05:30
Adhiraj Singh f0bdb12e56 feat: generate high quality thumbs on link preview 2022-09-15 18:40:22 +05:30
Adhiraj Singh 3a891e071e feat: map all WA media types 2022-09-15 15:09:51 +05:30
Adhiraj Singh c20865dff1 fix: correctly set latest message in chat + lastMsgRecvTimestamp 2022-09-11 11:07:12 +05:30
Adhiraj Singh 765dcc1d1f fix: upload for product 2022-09-02 20:10:13 +05:30
Adhiraj Singh c76c2afa0c feat: add "receivedInitialSync" connection update 2022-08-19 10:48:27 +05:30
Adhiraj Singh c5917364ba chore: add stronger lint rules 2022-08-18 10:37:40 +05:30
Adhiraj Singh 19484e5cfc fix: fire init queries toggle 2022-08-12 09:05:58 +05:30
Adhiraj Singh 1550fc5ce6 fix: error in type 2022-08-08 16:55:47 +05:30
Adhiraj Singh 8a234e1073 feat: implement product message sending 2022-08-08 16:25:20 +05:30
Adhiraj Singh bed9e384ba feat: added played receipt 2022-08-04 11:55:35 +05:30
Rajeh Taher fdb1b9e89b Implementing Delete messages for everyone (group) 2022-08-04 08:04:12 +05:30
Adhiraj Singh 2549d10be9 feat: update proto
The new proto extract has a bunch of breaking changes, so if you were using the raw proto in your code somewhere -- then you may have to update your code to make it work with the new proto

!BREAKING_CHANGE
2022-08-01 10:43:04 +05:30
fadiinho f2917f0a6d feat: add option to set timeout between each qr generation 2022-07-30 14:12:50 +05:30
Adhiraj Singh d04718e27a feat: add desktop + full history sync opts 2022-07-26 13:30:01 +05:30
LeonardoBein b42be6bce4 Change profile name for yourself (#1913)
* feat: change profile name

* fix: unnecessary return
2022-07-21 15:56:51 +05:30
Adhiraj Singh 4c60e311f4 feat: correctly send retry messages w count 2022-07-13 10:34:13 +05:30
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 eaf0f37d24 refactor: use event-buffer for state sync resyncs 2022-06-27 14:51:26 +05:30
Adhiraj Singh 7421f55daa feat: implement event buffer for offline msgs
!BREAKING_CHANGE

1. this allows all offline notifications to be combined into a batch -- to reduce the number of events being sent out
2. to enable the above, the "message.reaction" event has been made an array. Also removes the need for the "operation" field
3. have also now started processing all events under a single queue to prevent state sync problems
2022-06-27 13:38:29 +05:30
Adhiraj Singh baa3919a17 chore: add back "messages" to chat 2022-06-24 12:23:50 +05:30
Adhiraj Singh 721d0f32d6 feat: handle bad message acks + send retry to all correctly 2022-06-22 14:50:48 +05:30
4l3dx 084c39ca73 fix: add missing isAnimated flag (#1767) 2022-06-22 10:44:16 +05:30