Commit Graph

104 Commits

Author SHA1 Message Date
Pedro Lopez
1ebaf56617 Merge branch 'master' of https://github.com/pedroslopez/whatsapp-web.js 2020-02-26 00:40:51 -04:00
Pedro Lopez
60ee2ca522 feat: delete chat, clear chat 2020-02-26 00:39:33 -04:00
Aliyss Snow
132424ea08 feat: archive chats (#63) 2020-02-25 20:06:46 -04:00
sahalMoidu
5c9e76e23f feat: refresh qr code (#68)
close #60
2020-02-23 12:20:11 -04:00
Pedro S. Lopez
37932d9a69 Update README.md 2020-02-22 17:43:57 -04:00
Pedro Lopez
3c500a6474 Merge branch 'master' of https://github.com/pedroslopez/whatsapp-web.js 2020-02-22 17:28:15 -04:00
Pedro Lopez
1c60c83e80 feat: Delete messages 2020-02-22 17:28:03 -04:00
Pedro S. Lopez
69d7b3e50b update supported whatsapp web version 2020-02-22 16:12:13 -04:00
Pedro S. Lopez
0b1f06a932 update supported whatsapp web version 2020-02-22 16:11:51 -04:00
sahalMoidu
1840826e2b feat : Check if the given number is a whatsapp number (#54)
* feat : Check if the given number is a whatsapp number

- Avoids sending message to non whatsapp number
- Gets the id of the user from whatsapp server rather than generating on client
2020-02-17 09:10:07 -04:00
sahalMoidu
6ade08e814 Implemented changes mentioned in SimiPrambos PR#28 (#52)
* Implemented changes mentioned in SimiPrambos PR#28
To reflect new code structure
2020-02-14 17:53:28 -04:00
Pedro S. Lopez
9891d85b35 Update README.md 2020-02-13 20:10:51 -04:00
Pedro Lopez
67784bc797 feat: get current connection state
Note: This only partly works, since the state may not be updated on WhatsApp's end. In the case of not being able to reach the phone, the state is only updated when the user performs an action, such as sending a message. This means that the state may be CONNECTED when we check, but the phone's really not connected.

ref #43
2020-02-11 22:26:33 -04:00
Fernando Cardoso
e385563883 Initialize the Script with the first browser tab (#47)
Suggestion for the script to start under the first tab of the browser, in order to reduce memory consumption.
2020-02-11 13:53:18 -04:00
Pedro Lopez
d5a26add20 chore: bump version v1.0.2-post 2020-02-10 21:56:21 -04:00
Pedro Lopez
4bc67b0f99 chore: mark version v1.0.2 v1.0.2 2020-02-10 21:53:33 -04:00
Pedro Lopez
d44fd5d76a new event on connection state changed 2020-02-10 21:51:58 -04:00
Pedro Lopez
a293146ed8 fix: added timeout to accepted states
This makes the client more reliable since it doesn't quit as soon as it looses conection from the phone for a second. Messages should be queued by WhatsApp Web.
2020-02-10 21:44:56 -04:00
Pedro Lopez
3c774d6553 chore: bump version to v1.0.1-post 2020-02-09 21:35:47 -04:00
Pedro Lopez
dd0a4c6cc3 chore: mark version v1.0.1 v1.0.1 2020-02-09 21:33:27 -04:00
Pedro Lopez
ffe803306e fix: send message media
In some cases, the mediaBlob was not resolved correctly

ref: #38
2020-02-09 21:30:28 -04:00
Pedro Lopez
74cfc69367 fix location example 2020-02-09 20:10:56 -04:00
Pedro Lopez
2607e6df3a fix: send message media in options object
An inconsistency in variable names was preventing media sent through the options object from being processed
2020-02-09 02:49:21 -04:00
Pedro Lopez
5fbd8ddf68 feat(example): auto restore session
This is as suggested in #29. Mainly implemeted to ease work while developing, but also serves as an example.
2020-02-09 01:52:38 -04:00
Pedro Lopez
6f44fc586b chore: mark post release 2020-02-09 01:16:28 -04:00
Pedro Lopez
7deef27800 chore: mark version v1.0.0 v1.0.0 2020-02-09 00:58:10 -04:00
Pedro Lopez
f947f75725 docs: add location to supported content types 2020-02-09 00:53:43 -04:00
Pedro Lopez
d1dba0f4c0 add disconnect reason 2020-02-09 00:53:00 -04:00
Pedro Lopez
64ed2c125b more message types 2020-02-09 00:46:00 -04:00
Pedro Lopez
5616613807 feat: Mention users, get user number from Contact model 2020-02-08 03:19:51 -04:00
Pedro Lopez
ef80f966ea fix: correctly get message contact in group chats 2020-02-08 03:18:32 -04:00
Pedro Lopez
edc2c7022d feat: change status message 2020-02-08 01:32:15 -04:00
Pedro Lopez
f2b286a319 feat: get contact's profile picture 2020-02-08 01:23:29 -04:00
Pedro Lopez
004312a99f expose some more fields on contacts 2020-02-08 01:17:06 -04:00
Pedro Lopez
2896aeb382 fix some doc related stuff 2020-02-08 01:01:33 -04:00
Pedro Lopez
065a9212ba add another location example 2020-02-08 00:54:21 -04:00
Pedro Lopez
7b229a39a4 feat: Send and receive location 2020-02-08 00:46:55 -04:00
Aliyss Snow
4b1768450f Get Mentions (#35) 2020-02-06 15:47:46 -04:00
depfu[bot]
0cbc24fc6c Update puppeteer to version 2.1.1 (#36) 2020-02-06 11:51:11 -04:00
Pedro Lopez
a247b39f81 docs(readme): add whatsapp web version tested 2020-02-05 02:22:02 -04:00
Pedro Lopez
bf70eb1b87 docs: regenerate docs 2020-02-05 02:17:19 -04:00
Pedro Lopez
1ad9cac682 docs: better readme 2020-02-05 02:16:49 -04:00
Pedro Lopez
4c05e47027 mark post release 2020-02-05 01:43:11 -04:00
Pedro Lopez
62e264231d docs: add generated docs 2020-02-05 01:07:56 -04:00
Pedro Lopez
2f0480c80e docs: add more documentation 2020-02-04 23:04:51 -04:00
Pedro Lopez
a098d61b03 feat: send messages with attachments
close #3
2020-02-04 21:11:20 -04:00
Pedro Lopez
e717915f94 fix: don't get chat after accepting invite
This will now only return the chatId, since getting the chat at this point is unreliable.
2020-02-02 20:37:51 -04:00
Aliyss Snow
e2351db722 Added Contact Model (#34) 2020-02-02 19:08:36 -04:00
Aliyss Snow
b597e4a504 Added delete event message(#33)
* A hacky way of doing things but seems to work. Also after client restart.
2020-02-02 19:00:23 -04:00
Pedro S. Lopez
b99744afa2 Create lint.yml 2020-02-02 14:52:49 -04:00