Commit Graph

452 Commits

Author SHA1 Message Date
Rajeh Taher
020add8b9b feature(feature/pin-message): initial/final commit (#959) 2024-08-14 12:09:29 +03:00
Rajeh Taher
1f9cfb1cba PDO protocol (peer data operation): Get more history sync + better message retry mechanism (#919)
* feat(feature/pdo-sync): initial commit

* feat(feature/pdo-sync): Moved to conventional send functions, exported, patched some errors

* fix(feature/pdo-sync): Linting and more bugsquatting

* chore(feature/pdo-sync): linting done

* feat/fix(feat/pdo-sync): Newsletter decrypt + ack

* merge (#946)

* fix: profilePictureUrl (#901)

* Update module to latest version  (#926)

* Update package.json

Update the module to the latest

* Add files via upload

* Fix: Readme use upsert events (#908)

* Fix: getUSyncDevices (#862)

* Update messages-send.ts

* Update messages-send.ts

* Update messages-send.ts

* Fix lint

* Fix lint

* fix(master): update linting workflow to node 20 (current LTS)

---------

Co-authored-by: Akhlaqul Muhammad Fadwa <75623219+zennn08@users.noreply.github.com>
Co-authored-by: Rizz2Dev <muhamad.rizki27483@smp.belajar.id>
Co-authored-by: Oscar Guindzberg <oscar.guindzberg@gmail.com>
Co-authored-by: Bob <115008575+bobslavtriev@users.noreply.github.com>

* chore(feature/pdo-sync): final linting

* fix(feature/pdo-sync): make replies optional

* feat(feat/pdo-sync): add <unavailable> handle

* feat(feature/pdo-sync): Fixed the issues with peer messages and implemented some more logic

* fix(feature/pdo-sync): Make progress optional

* fix(feature/pdo-sync): Nullify and defeat Message absent from node if it is resolved immediately

* feat(feature/pdo-sync): Export message absent from node and export PDO request ID with it

---------

Co-authored-by: Akhlaqul Muhammad Fadwa <75623219+zennn08@users.noreply.github.com>
Co-authored-by: Rizz2Dev <muhamad.rizki27483@smp.belajar.id>
Co-authored-by: Oscar Guindzberg <oscar.guindzberg@gmail.com>
Co-authored-by: Bob <115008575+bobslavtriev@users.noreply.github.com>
2024-08-14 12:07:27 +03:00
Rajeh Taher
35f6d75cf8 fix(fix/buttons-deprecation): initial/final commit (#956) 2024-08-14 12:07:12 +03:00
Rajeh Taher
e91501026c feat(feature/poll-v3): initial/final commit (#957) 2024-08-14 12:06:32 +03:00
Ericky Thierry
abafce525c stream to buffer conversion for no apparent need 2024-07-12 20:54:22 -03:00
Bob
baf8b3df00 Feat: Modified number action in group-participants.update (#858)
* Update GroupMetadata.ts

* Update messages-recv.ts

* Update process-message.ts
2024-07-03 10:34:06 +03:00
vini
dbf25771a1 refactor: Change Sync Functions to Promises to Prevent Blocking Event Loop (#896)
* initial commit

* lint

* lint 2
2024-07-03 10:29:16 +03:00
LightningNeko
fdf9d48162 fix: invalid children for header "companion_platform_id": 49 (number) (#897) 2024-07-03 10:28:15 +03:00
Bob
13be112b18 Feat: others browsers in requestPairingCode() (#879)
* update

* l

* string

* added Safari

* Update getPlatformId

* Update getPlatformId (fix)
2024-06-30 06:10:50 +03:00
devlikeapro
bd20fb631b Run repository.injectE2ESession in chunks (#881) 2024-06-30 06:06:42 +03:00
Rajeh Taher
c8aab8d03f fix(master): yarn lock and axios error + move to WhiskeySockets libsignal 2024-06-16 17:11:17 +03:00
Bob
61afe1cdc1 Fix linting generateMessageIDV2 (#871)
* Update messages-send.ts

* Update generics.ts
2024-06-16 15:33:01 +03:00
Rajeh Taher
0cc888e87b fix(master): generate new message id 2024-06-12 23:12:59 +03:00
Rajeh Taher
e91f9e05c5 fix(master): prevent detection 2024-06-12 15:08:30 +03:00
azudin
6af6bffe31 Fix: sending ptv if true (#856) 2024-06-10 20:00:23 +03:00
azudin
8076745abf Video Note (ptvMessage) support (#840)
* Update messages-recv.ts

revert back jid to from

* fix productMessage

fixed sending catalog

* Update messages-recv.ts

* Update messages-recv.ts

* Update messages.ts

* Update ptvMessage

* Update messages.ts

* Update README.md

* Update src/Socket/messages-recv.ts

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-06-10 14:01:13 +03:00
Bob
b8900639e9 update uuid to v10 (#847)
* Update auth-utils.ts

* uuid removed from package.json

* fix(uuid): update to v10

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-06-09 22:10:27 +03:00
vini
ffec4af454 feat: add event that handles join approval requests (#802)
* initial commit

* lint

* add type in method

* add more actions / fixes participant jid / rename event

* fixes

* more fixes

* fix typing

* change 'reject' to 'rejected'

* chore:linting

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-06-03 00:10:36 +03:00
allburov
9065ab690f Lock file on save and read (#824)
Fix #794
2024-06-01 10:32:19 +03:00
Rajeh Taher
0eaa5af909 feat(add-routing-info): initial commit (#773) 2024-05-15 18:34:37 +03:00
arthur simas
2ae664c655 fix: downloadMediaMessage return type matched parameter (#757)
* fix: downloadMediaMessage return type matched parameter

* chore: keyword-spacing eslint rule warn instead of error

* chore: linting

aaaaaaaaaaaaaaaaaaaa
2024-05-15 18:34:06 +03:00
Rajeh Taher
fbbb511fb8 fix(master): error in init queries 2024-05-06 18:18:15 +03:00
Rajeh Taher
6fe7401337 Update make-in-memory-store.ts (#755)
* Update make-in-memory-store.ts

* fix logger error (#754)

* Update make-in-memory-store.ts

* Update make-in-memory-store.ts

* fix linting

* will we ever fix linting?

* final change

* test

* simplified

* final fix

* comments

* linting
2024-05-06 17:41:43 +03:00
Rajeh Taher
3967e5b2a6 chore: linting 2024-04-29 10:45:31 +03:00
arthur simas
d91967aa1c Revert "fix: inefficient method of extracting url from text (#741)" (#748)
* Revert "fix: inefficient method of extracting url from text (#741)"

This reverts commit f5c1affc4d.

* fix: link preview should follow redirects

* fix: allow link preview of URLs with @ sign

---------

Co-authored-by: Ezequiel Moraes <ezequielmoraesdev@gmail.com>
2024-04-29 10:44:42 +03:00
arthur simas
03f82f599e fix: enable viewOnce messages to quote (#736) 2024-04-28 14:18:29 +03:00
felipealvesbezerra
b55749f694 hotfix message in group (#622)
hotfix message in group, decrypt error.
Tray cath correction because some events require this function.
2024-04-28 14:13:05 +03:00
Lucas Maia
9075086be4 Show jid of people who changed some setting in group. (#688)
* JId of people who changed settings in group.

* Show jid of people who changed some setting in group.

* fix lint
2024-04-28 14:06:38 +03:00
Davidson Gomes
495bb6775a fix: old_version in mobile connection (#722)
* mobile version

* mobile version

* mobile version
2024-04-28 14:02:41 +03:00
arthur simas
111601bc73 feat: add support to ptvMessage in sendMessage method (#738)
* add support to ptvMessage in sendMessage method

* fix(ptv-sendmessage): Eslint

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-04-28 14:00:49 +03:00
Ezequiel Moraes
f5c1affc4d fix: inefficient method of extracting url from text (#741)
* fix: inefficient method of extracting url from text
This fixes the thumbnail error when submitting a
Google Maps link.

* fix: link preview with redirects
2024-04-28 13:48:25 +03:00
Rajeh Taher
9d2f9ed4e3 fix(missing messages): revert to normal (#732)
* revert to normal

* International community, please do not condemn me for this

* Update decode-wa-message.ts

* Update src/Utils/decode-wa-message.ts
2024-04-28 13:39:24 +03:00
ShellTear
6ad0674156 Fix platform types
Fixes #701 and #702.
2024-04-02 22:40:01 +03:00
Timothy Dillan
5b02715fb0 chore: fix audio decode error due to passing spread argument 2024-01-21 13:28:10 +08:00
Javier Cuevas
af4251953b Support for receiving "view once" audio messages (#595) 2024-01-19 18:30:20 +02:00
Bob
985fd3b94d Update getDevice (#569)
Co-authored-by: Bob <115008575+bobpetrov@users.noreply.github.com>
2024-01-19 18:01:32 +02:00
Ashary Vermaysha
3fc5d4b803 feat: add option for Windows browser (#303) 2024-01-19 18:00:18 +02:00
Alex
4ff3b329b8 Use senderTimestampMs instead of messageTimestamp (#348)
* Use senderTimestampMs instead of messageTimestamp

* Add .toNumber(), because senderTimestampMs is Long

* chore: Fix linting

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-01-19 18:00:12 +02:00
Bob
3efd3e00ca feat: memberAddMode and joinApprovalMode in groups.update (#532)
* feat: memberAddMode and joinApprovalMode

* feat: memberAddMode and joinApprovalMode

* Update process-message.ts

* fix lint

* Update messages-recv.ts

* Update GroupMetadata.ts

* Update messages-recv.ts

* Update messages-recv.ts

* chore: fix linting and code efficiency

* fix lint

* Fix lint

* Update process-message.ts

* Update process-message.ts

---------

Co-authored-by: Bob <115008575+FortisEtMagnus@users.noreply.github.com>
Co-authored-by: Bob <115008575+bobpetrov@users.noreply.github.com>
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-01-19 17:59:57 +02:00
ShellTear
9e52fc63f0 Merge pull request #504 from cristiano-linvix/master
fix: fix message content type detection
2024-01-03 00:10:10 +02:00
Rajeh Taher
2fd16358c0 Merge pull request #485 from allburov/get-browser-logo-back
fix: find platform type based on browser second argument
2024-01-02 03:55:01 +02:00
Rajeh Taher
97dd960d01 Merge pull request #363 from aliazhar-id/aliazhar-patch-2
Feat: add authors who perform participant updates
2024-01-01 01:28:07 +02:00
Rajeh Taher
1af26c7c16 Merge pull request #451 from andresayac/master
proposal: detect desktop and fix device identification using message
2024-01-01 01:27:34 +02:00
Rajeh Taher
ca36f15059 Merge branch 'master' into patch-1 2024-01-01 01:02:48 +02:00
ShellTear
b7463ea6c4 Merge pull request #554 from WhiskeySockets/fix-message-retry
Fix message retry for incoming "ciphertext" messages
2023-12-27 03:15:29 +02:00
Rajeh Taher
b914a1f52a Initial commit 2023-12-18 16:31:41 +02:00
azudin
d3cf789f82 Update chat-utils.ts 2023-12-07 23:11:07 +08:00
azudin
ece99eab23 Fixed star message 2023-12-02 07:26:09 +08:00
allburov
32533ed7f6 fix: find platform type based on browser second argument
fix #481 #228
2023-11-20 14:57:41 +07:00
Cristiano Cruz
a07922b136 fix: fix message content type detection 2023-11-16 16:18:13 -03:00