Rajeh Taher
447c3c2a0f
Merge branch 'main' into fix-buttons-list
2022-10-28 01:31:19 +03:00
Pedro Lopez
6f7c5c2dd9
chore: mark version v1.18.2
v1.18.2
2022-10-26 23:32:56 -04:00
Pedro S. Lopez
9981723505
fix: message replies compatible with WhatsApp Web v2.2241.6 ( #1765 )
...
* fix message replies
* fix up some tests
2022-10-26 23:32:06 -04:00
Pedro Lopez
7bb7f13f07
bump supported version
v1.18.1
2022-10-26 22:45:05 -04:00
Pedro Lopez
7d672078cd
chore: mark version v1.18.1
2022-10-26 22:44:05 -04:00
Pedro S. Lopez
088ec32b7b
Support for WhatsApp Web 2.2241.6 ( #1762 )
...
* proposed fix
* Fixes
* Add condition for older versions of WA
* fix for old node version support
* fix: default to mdbackend = true
Co-authored-by: purpshell <rajeh@reforward.dev >
2022-10-26 22:43:19 -04:00
Rajeh Taher
23d71e9f3b
Update Buttons.js
2022-10-22 22:01:37 +03:00
Rajeh Taher
60fbd03256
Merge branch 'main' into fix-buttons-list
2022-10-22 21:34:23 +03:00
Pedro Lopez
ef3eadc6e5
chore: mark version 1.18.0
v1.18.0
2022-10-21 00:25:57 -04:00
github-actions[bot]
ab87fecfd9
Update supported WhatsApp Web version to v2.2240.7 ( #1592 )
...
Co-authored-by: pedroslopez <pedroslopez@users.noreply.github.com >
2022-10-21 00:22:56 -04:00
Pedro S. Lopez
36aa37f1ac
fix: set ephemeral fields and get links from messages ( #1752 )
...
* fix setting ephemeral fields
* fix missing links method
2022-10-21 00:12:02 -04:00
tuyuribr
45972fb47e
Create pull_request_template ( #1632 )
...
Any Ideas on how to improve this template?
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
Co-authored-by: Aliyss Snow <33941859+Aliyss@users.noreply.github.com >
2022-10-10 22:45:48 +02:00
Rajeh Taher
d61a1c17d5
Merge branch 'main' into fix-buttons-list
2022-10-10 01:58:05 +03:00
stefanfuchs
55f75b8f69
fix: typescript compilation ( #1693 )
...
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
2022-10-04 14:24:03 +02:00
tuyuribr
ceb83cbdec
Merge branch 'main' into fix-buttons-list
2022-09-27 12:41:15 -03:00
blox
b1e0fce504
Allow the deletion of others' messages ( #1688 )
2022-09-18 16:33:43 -03:00
purpshell
9bfea7847e
types
2022-08-23 20:54:01 +03:00
purpshell
045e7bd414
Merge branch 'fix-buttons-list' of https://github.com/pedroslopez/whatsapp-web.js into fix-buttons-list
2022-08-23 20:47:22 +03:00
purpshell
4c72c83dcd
example update
2022-08-23 20:43:36 +03:00
purpshell
dfb862614c
Types, disabling of templates and example update
2022-08-23 20:43:15 +03:00
Rajeh Taher
9184eca944
Merge branch 'main' into fix-buttons-list
2022-08-18 20:27:04 +03:00
༺ LᴇG̸ᴇɴD ༻
62623347e8
[Update] - adding catch block on promise for windows error ( #1659 )
2022-08-18 20:26:46 +03:00
Shir Serlui
705d4d31fd
Use getCommonGroups not contact ( #1623 )
2022-08-18 13:20:30 -03:00
Sergio Carvalho
617ea37b71
Fix buttons list ( #1656 )
...
* fix: change the individual buttons limti to 3, still 5 on total
* docs: Change buttons example to include clipboard
2022-08-15 21:04:12 +03:00
Shir Serlui
aba0f3c3c9
Fix buttons sending ( #1655 )
...
* Fix buttons sending
* Quick reply id must be a string
* Update src/util/Injected.js
* Update src/structures/Buttons.js
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
2022-08-15 18:53:28 +03:00
Rajeh Taher
48c8a498fa
Merge branch 'main' into fix-buttons-list
2022-08-15 17:21:44 +03:00
Shir Serlui
c32348d3cc
Use quick reply ( #1651 )
...
* Use template only if url or call buttons exist
* fix typo
* fix for tests
* fix for test
* Update src/util/Injected.js
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
* Add quick reply models
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
2022-08-15 16:11:29 +03:00
Shir Serlui
4e324b140f
Use JSON parse and stringify instead of serialize ( #1653 )
...
When puppeteer try to return serialized message with buttons, we get undefined instead of the message object, because the message serialized is not a JSON compatible (because of the buttons class)
2022-08-15 12:08:32 +03:00
Shir Serlui
4fe001f32f
List work now for bussines accounts ( #1652 )
2022-08-15 12:03:10 +03:00
WWebJS Bot
bd4df4cf75
1.18.0-alpha.1
v1.18.0-alpha.1
2022-08-15 07:54:39 +00:00
Pedro S. Lopez
7fe3574730
fix(release): try setting PAT to push to main
2022-08-15 03:53:57 -04:00
Pedro Lopez
09a81d0e1e
v1.18.0-alpha.0
2022-08-15 03:47:51 -04:00
Pedro S. Lopez
c09a22c533
fix(publish): exit if pushing to github failed
2022-08-15 03:42:06 -04:00
Pedro S. Lopez
bb09bb74e7
fix(publish): add git user
v1.18.0-alpha.0
2022-08-15 03:32:40 -04:00
Pedro Lopez
694a52bf26
fix(publish): ouput, remove message
2022-08-15 03:22:43 -04:00
Pedro Lopez
c459eca799
add release action
2022-08-15 02:52:17 -04:00
purpshell
9ae8f44abc
Cleanup
2022-08-15 00:26:00 +03:00
purpshell
6de1ede32b
Fixes, and cleanup
2022-08-15 00:16:55 +03:00
Rajeh Taher
19273a434e
Merge branch 'main' into fix-buttons-list
2022-08-14 22:36:50 +03:00
Sergio Carvalho
ef68f2f156
Fix buttons list ( #1649 )
...
* DOCS: Buttons usage
* FIX: Limit buttons amount to avoid crashes
* STYLE: Fix for ESLINT test
2022-08-14 22:12:01 +03:00
Roi Greenberg
b74246d69a
Add "fromMe" option to fetchMessages ( #1444 )
2022-08-14 12:30:14 -03:00
Yuri
ab7ee0eb4f
Fixing remote auth optional depencies error ( #1640 )
...
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
2022-08-10 19:46:43 +03:00
jurajmatus
537e843a49
Async buffer->BASE64 conversion ( #1481 )
...
* Async buffer->BASE64 conversion
* ESLint fixes
2022-08-10 16:31:04 +00:00
purpshell
627b245143
Merge branch 'fix-buttons-list' of https://github.com/pedroslopez/whatsapp-web.js into fix-buttons-list
2022-08-10 18:11:52 +03:00
purpshell
aee6f057c1
a
2022-08-10 18:11:44 +03:00
Rajeh Taher
383870184f
Merge branch 'main' into fix-buttons-list
2022-08-10 17:52:51 +03:00
༺ LᴇG̸ᴇɴD ༻
76f7a6e279
feat: RemoteAuth Strategy ( #1450 )
...
* index.js
* [authReady] - new BaseAuthStrategy function
* [RemoteAuth] - new Class RemoteAuth added
* Eslint Fixes
* Eslint Fixes
* Added types for RemoteAuth (mostly assumed types from PR message and src/authStrategies/RemoteAuth.js)
* [dependency updates] - added unzipper & archiver
* [Types] - Fixing typescript declarations
* Renaming Base Class Hook
* auth hook rename on client
* [Error Handling] - Delegate responsability to end users
* [Refactor] - deletemetadata code refactor
* [Refactor] - backupSyncIntervalMs renamed
* [Refactor] - Minor improvement on deleteMetadata
* [Refactor] - backupSyncIntervalMs rename on index.d.ts
* [Update] - Fix for Ubuntu crahsing on extractSession
* [Update] - Delegate responsability to stores of making sure the previous session is deleted strictly only after the new one is saved
* [Update] - Improve file paths handling & naming (reduce assumptions between RemoteAuth and stores)
* [Update] - Adding new event <REMOTE_SESSION_SAVED> on Constants.js
* [Update] - Adding new authHooks <destroy> & <disconnect>
* [Update] - Adding <destroy> & <disconnect> hooks on Client.js
* [Update] - Adding new features to index.d.ts
* [RemoteAuth] - New Features added to RemoteAuth Class
* [dependency updates] - added fs-extra
* [Cross Platform] - Windows is now compatible with RemoteAuth
* [optionalDependencies] - moved archiver, fs-extra & unzipper to optional dependencies on package.json
* [optionalDependencies] - adding validation for when optional dependencies are missing
* [Update] - Node Deprecation warining for rmdir changed for rm instead
Co-authored-by: h110m <nichtwitzig228@gmail.com >
2022-08-10 13:03:07 +02:00
Rajeh Taher
6b98de9f4f
Merge branch 'main' into fix-buttons-list
2022-08-10 13:55:24 +03:00
purpshell
81111faa05
attempted fix. Buttons are broken, lists are working
2022-08-10 13:54:27 +03:00
Rajeh Taher
b1693b49e0
merge ( #1635 )
...
* updating forward documentation. (#1624 )
* updating forward documentation.
* Update Message.js
* Update index.d.ts
* Update docs/Message.html
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
* fix: `star` Error: Evaluation failed: TypeError: msg.chat.sendStarMsgs is not a function (#1598 )
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
* Update User agent (#1470 )
I encountered errors because of this (it says that the chrome version needs to be updated)
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
* feat: [Updated] Loading screen listener with percent and message (#1563 )
* last update
* eslint fix
* headless fix
* Update index.d.ts
Co-authored-by: stefanfuchs <stefan1234@gmail.com >
* Update index.d.ts - Add 'LOADING_SCREEN' type to Enum
Co-authored-by: stefanfuchs <stefan1234@gmail.com >
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
* feat: Adding file size by bytes to MessageMedia (#1273 )
* Update index.d.ts
* Update Message.js
* Update Message.js
* Update MessageMedia.js
* Update MessageMedia.js
* Fix: Cannot read properties of undefined (reading 'id') (#1604 )
This change fix `react` evaluation:
```
Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'id')
at Object.<anonymous> (https://web.whatsapp.com/bootstrap_main.44dc3fdf06d9bb8b053d.js:2:103021 )
at Generator.next (<anonymous>)
at t (https://web.whatsapp.com/vendor1~bootstrap_qr.5922e52928d864c0918c.js:2:66483 )
at s (https://web.whatsapp.com/vendor1~bootstrap_qr.5922e52928d864c0918c.js:2:66694 )
at https://web.whatsapp.com/vendor1~bootstrap_qr.5922e52928d864c0918c.js:2:66753
at Y (https://web.whatsapp.com/bootstrap_qr.f74b98c729dd38392a5f.js:37:128505 )
at new y (https://web.whatsapp.com/bootstrap_qr.f74b98c729dd38392a5f.js:37:121072 )
at Object.<anonymous> (https://web.whatsapp.com/vendor1~bootstrap_qr.5922e52928d864c0918c.js:2:66634 )
at Object.k (https://web.whatsapp.com/bootstrap_main.44dc3fdf06d9bb8b053d.js:2:105511 )
at Object.t.sendReactionToMsg (https://web.whatsapp.com/bootstrap_main.44dc3fdf06d9bb8b053d.js:2:102647 )
at ExecutionContext._evaluateInternal (/app/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:221:19)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async ExecutionContext.evaluate (/app/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:110:16)
at async Message.react (/app/node_modules/whatsapp-web.js/src/structures/Message.js:344:9)
```
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
* Feat: add message_reaction event (#1619 )
* Add 'message_reaction' event
Co-authored-by: Nowbie S <33182389+NowDev@users.noreply.github.com >
Co-authored-by: Ruvian S <12111730+matricce@users.noreply.github.com >
Co-authored-by: Yehuda Eisenberg <32451776+YehudaEi@users.noreply.github.com >
Co-authored-by: tonbotfy <106827778+tonbotfy@users.noreply.github.com >
Co-authored-by: stefanfuchs <stefan1234@gmail.com >
Co-authored-by: Jeremy Andes <73316325+jeremyandes@users.noreply.github.com >
Co-authored-by: Wictor Nogueira <57378387+wictornogueira@users.noreply.github.com >
2022-08-10 13:46:16 +03:00