Commit Graph

423 Commits

Author SHA1 Message Date
Alessandro Autiero f498e1e56c Added requestPairingCode method and handler
Fixed typo (trimUndefineds)
Added bytesToCrockford
Replaced advSecretKey with advKeyPair
Added pairingCode prop
Fixed formatting
Added pairing code example
2023-07-16 18:44:17 +02:00
programadorbob c2d88fddc6 fix: Added jid of people who added to the group (#223)
Co-authored-by: DeveloperNewton <116108544+DeveloperNewton@users.noreply.github.com>
Co-authored-by: Edgard <edgardmessias@gmail.com>
2023-07-08 18:32:58 -03:00
Neguin 1ef0ab01aa fix: added invite property (#218)
If the user does not allow to be added directly, it will be possible to get the invite code and create an invitation message for the user to join the group
2023-07-08 18:07:05 -03:00
BochilGaming 8e1e9b9386 fix: fix edit message (#192) 2023-06-30 18:19:34 -03:00
Edgard Lorraine Messias 54f8215eef fix: Re-added the option to use proxy agent forn non-mobile api (#148) 2023-06-15 21:46:43 -03:00
aqulzz 7dc1cd6476 feat: approve, reject, list request join (#117) 2023-06-12 09:34:50 -03:00
Samuel Scheit d570da19a4 Merge branch 'WhiskeySockets:master' into master 2023-05-31 18:12:43 +02:00
Adrien bb25723b6a fix: onWhatsApp query for multiple jids (#85) 2023-05-26 08:12:58 -03:00
SamuelScheit c2bff56054 feat: use axios and config.options for registration 2023-05-22 18:04:24 +02:00
SamuelScheit d713e2314d remove wip two factor 2023-05-19 10:24:55 +02:00
SamuelScheit 90fe440f9a chore: remove console.logs 2023-05-19 10:15:40 +02:00
SamuelScheit e98e309b0d wip: two factor auth 2023-05-19 10:15:40 +02:00
Samuel Scheit d60f84a683 Merge branch 'master' into master 2023-05-19 10:13:54 +02:00
Rafael Garcia 3ac29e131d Slint fixes applied 2023-05-15 09:41:33 -05:00
Rafael Garcia 38f285760d feat(labels): modify chat utils 2023-05-14 12:44:19 -05:00
SamuelScheit a6640bb0f6 fix: mobile app state key + message events 2023-05-14 17:45:20 +02:00
SamuelScheit 07562c2204 feat: fetch groups if ib:dirty 2023-05-14 17:45:20 +02:00
Samuel Scheit 661a502f97 Merge branch 'master' into master 2023-05-12 18:06:19 +02:00
SamuelScheit 6ecc5a8757 fix: socket options 2023-05-12 18:02:41 +02:00
✬Ravindu Manoj✬ ✓ 13810ec7ea feat: privacy settings update functions and profile pic remove function (#5) 2023-05-06 15:10:43 -03:00
SamuelScheit 470e19d3fc auto connect socket 2023-04-30 12:33:20 +02:00
SamuelScheit 65aa4a7d99 unify web + mobile and use tcp socket 2023-04-30 12:30:30 +02:00
Edgard b313e2a902 style: fixed and relaxed style lint 2023-04-30 12:30:30 +02:00
Edgard 26d5dddf5d style: fixed and relaxed style lint 2023-04-21 17:12:47 -03:00
SamuelScheit ef673f62ca feat: native-mobile-api 2023-04-20 13:01:11 +02:00
Alessandro Autiero 28be45a9b4 Fixed all buttons except templates 2023-03-30 20:12:43 +02:00
Adhiraj Singh 5b2b037c76 chore: log full decrypt trace 2023-03-18 17:40:11 +05:30
Adhiraj Singh fe1d0649b5 feat: add signal repository + tests 2023-03-18 12:25:47 +05:30
Adhiraj Singh a4ecac788c feat: handle failed msgs 2023-03-09 16:12:40 +05:30
Adhiraj Singh 9d8aa67f22 feat: process pollupdate automatically 2023-03-02 22:43:31 +05:30
Adhiraj Singh 7d5aca54e9 chore: lint 2023-03-02 17:41:56 +05:30
Adhiraj Singh 30328eebe1 chore: cleaner user device cache check 2023-02-21 11:56:16 +05:30
Adhiraj Singh 090c916f9f feat: define DEFAULT_CACHE_TTLS 2023-02-21 11:44:11 +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
Adhiraj Singh f013b61e35 chore: update axios 2023-02-18 12:34:04 +05:30
Adhiraj Singh b2c1cfbf9c fix: timeout send call 2023-02-01 14:33:14 +05:30
Adhiraj Singh 4f27a2b3f4 feat: add "decodeMessageNode" util 2023-01-18 13:43:13 +05:30
Adhiraj Singh c24ffc1bed feat: better mapping for WS errors 2023-01-17 22:01:51 +05:30
Adhiraj Singh 572d0f1dd6 feat: implement tc token handling
TC token is required in certain cases to receive presence updates on chats
2022-12-11 15:48:26 +05:30
Adhiraj Singh a5d263d31b fix: correctly sync app state 2022-12-09 10:15:58 +05:30
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 30e2cb5c4c refactor: impl counter based event buffer
1. counter based event buffer keeps track of the number of blocks that request event processing in buffer
2. event buffer only releases events when the last block completes (i.e. counter = 0)

this approach is far simpler than the promised based garbled crap I wrote, should also prevent the deadlock issues it introduced 🙏
2022-12-02 11:31:42 +05:30
Adhiraj Singh b141ac2c00 chore: only buffer if logged in 2022-11-25 10:17:47 +05:30
Leonardo Bein 704aa1e434 feat: Add notification group: change inviteCode 2022-11-22 12:02:31 +05:30
Adhiraj Singh b33c753928 feat: add url options to link preview gen 2022-11-17 11:08:01 +05:30
Adhiraj Singh 00d8cf4270 chore: mutex upsertMessage call from sendMessage 2022-11-14 16:47:13 +05:30
Adhiraj Singh 01a641d3bd fix: decrypt race condition 2022-11-13 11:08:32 +05:30
Adhiraj Singh b2aa51a13d feat: add custom patchMsg function + remove patch for btns 2022-11-12 19:31:11 +05:30