Commit graph

105 commits

Author SHA1 Message Date
Steffen Vogel 86b81b60a8 Merge remote-tracking branch 'gh/kiv1in/yowsup-2' into develop 2016-10-07 21:31:50 -04:00
Steffen Vogel ce2419ba27 Merge branch 'develop' of github.com:stv0g/transwhat into develop 2016-10-07 21:24:06 -04:00
kiv1n 8e92eaedc2 Add feature for send data for decrypt image on onImage() method 2016-08-24 20:52:02 +03:00
kiv1n c12b136b76 Fix text encode for cyrillic 2016-08-10 22:08:00 +03:00
kiv1n 118d65cbd8 Fix Yowsup stack and env 2016-08-10 16:14:46 +03:00
git-o-bot e0d25122bd fix typo (use result of method, not method itself) 2016-04-29 15:01:50 +02:00
Daniel Hiepler 5b7f8c9646 added unicode-literals forward-compatibility module 2016-04-12 17:24:57 +02:00
git-o-bot c2ea9311fc removed leftover .format() (python3?) 2016-04-10 02:47:53 +02:00
Daniel Hiepler f25046de2d fix encoding issues 2016-04-10 00:21:58 +02:00
Steffen Vogel 22725c042f lots of whitespace cleanups 2016-04-06 22:02:40 +02:00
DaZZZl 2683b774f0 read receipts: fix group receipts 2016-02-19 18:12:47 +01:00
DaZZZl 4191c2864d sending read receipts 2016-02-19 17:31:34 +01:00
moyamo df305b8491 Allow multiple pictures to be sent in a short period of time
Picture data was stored in the session object. This means that if you
send multiple pictures within a short period of time the last picture
would overwrite the data of the other pictures. This would cause
pictures to be lost. Now picture data is stored in closures
2016-01-09 17:12:59 +02:00
moyamo 3fba33ac8b Fully intialise with whatsapp on every login 2016-01-08 15:30:47 +02:00
moyamo 026f21f43e Send image and caption in two different messages
This allows conversations to autodownload the images.
2016-01-07 21:12:16 +02:00
moyamo 9c32dfbb38 Update group subject when notification received 2016-01-07 12:58:03 +02:00
moyamo f57b276665 Update buddies when contact notification is received 2016-01-07 12:27:40 +02:00
moyamo 59f0af9f8d Request new profile picture on profile picture changed notification 2016-01-07 11:47:33 +02:00
moyamo 16bdc85471 Update buddies status when a notification is received 2016-01-06 19:50:13 +02:00
moyamo 7b327c2d0f Add functionality to receive broadcast messages 2016-01-06 19:39:09 +02:00
moyamo e32365a065 Send xhtml on group message to XMPP MUC 2016-01-06 16:57:17 +02:00
moyamo 5cd4442ddc Add better logging to onReceipt 2016-01-06 16:34:39 +02:00
moyamo 7ff39317cd Clean up \leave room code 2016-01-06 16:33:28 +02:00
moyamo 2d9ac3037e See https://github.com/stv0g/transwhat/issues/37 2016-01-05 15:46:32 +02:00
moyamo ee743ac327 Remove superfluous error messages and handle uncaught exceptions 2016-01-02 22:41:05 +02:00
moyamo ef04f49152 Move requestVCard to BuddyList and send image_hash of new contact 2016-01-02 22:39:42 +02:00
moyamo 0b4e2f13d4 Add call function to use for deferreds 2016-01-02 22:24:32 +02:00
moyamo 03e56a4c07 Add Deferreds 2016-01-02 22:24:32 +02:00
moyamo 5fb84bca4f Allow the user to request their own profile image 2016-01-02 22:24:32 +02:00
moyamo d4a0593874 Replay changes from c40d477667 excluding fae4c648e
fae4c648e was causing encoding errors. It's changes have been reverted.
2016-01-01 11:42:11 +02:00
moyamo 22cebef457 Revert upto c40d477667
Hard to find connection bugs are occuring. Reverting changes for now
2015-12-31 21:43:10 +02:00
moyamo bbf5a08697 Update nickname in groups if nickname is unset. 2015-12-30 09:46:39 +02:00
moyamo fae4c648ee Use unicode string literals 2015-12-29 21:46:29 +02:00
moyamo eba8d24a92 Rework groupchats to support sending private messages 2015-12-28 19:03:09 +02:00
moyamo 9434b1db6f Request contacts' statuses when user logs in 2015-12-14 20:14:20 +02:00
Steffen Vogel df773a9670 updated file headers 2015-12-03 13:53:21 +01:00
Steffen Vogel 75a0f310e3 removed transWhat config file (closes #23) 2015-12-03 13:49:44 +01:00
moyamo 17c8057db7 Remove all mention of MySQL database 2015-12-02 23:08:09 +02:00
moyamo 5a8874c9b9 Subscribe to presence only after user has logged in
Buddy.py would try to subscribe to presence before the user had logged
in to whatsapp. A loginQueue was added, so that functions could be
deferred to login.
2015-12-02 19:32:55 +02:00
moyamo 8385888e97 Minor bug fixes 2015-12-01 23:21:38 +02:00
moyamo 107354af81 Move updateRoster code to BuddyList 2015-12-01 21:57:53 +02:00
moyamo da8a415d32 Remove MySQL from Buddy.py 2015-12-01 21:33:02 +02:00
moyamo e111b0fcff If an image download fails, just send the link. 2015-11-29 17:08:59 +02:00
moyamo b34643a756 Handle a user leaving a group chat. 2015-11-29 16:32:33 +02:00
moyamo bd74021ca6 Typing \leave in a MUC will leave the group chat 2015-11-27 22:01:16 +02:00
moyamo 8e08efabc9 Notify user when a group message is sent to a group they have not yet joined
Before messages sent to groups the user had not joined were lost. Now
the message is sent via the bot to the user. The bot suggests that the
user join the group and also relays the contents of the message.
2015-11-23 17:07:18 +02:00
DaZZZl f269bf5be7 fix presence 2015-11-10 17:04:20 +01:00
DaZZZl bcd5e7e541 do not send messages on every login 2015-11-10 14:00:38 +01:00
root c5b42044b2 Merge branch 'groupchat-fix' of https://github.com/moyamo/transwhat into moyamo-groupchat-fix
Conflicts:
	Spectrum2/backend.py
	session.py
	yowsupwrapper.py
2015-11-10 13:24:40 +01:00
root 98b9487c7f send imgaes, locations, ...
fix presence
2015-11-09 23:09:12 +01:00