Daniel Hiepler
0574044472
more fixes - give protobuf the types it wants
2016-04-12 17:13:18 +02:00
Daniel Hiepler
60480d02ea
always hand bytes() to protobuf
2016-04-12 17:01:28 +02:00
Daniel Hiepler
47dd2a0bdf
some more encoding fixes
2016-04-12 14:53:15 +02:00
Daniel Hiepler
c8d6d95d9e
use bytes() for data
2016-04-10 23:54:50 +02:00
Daniel Hiepler
6107e38a69
use bytes() not unicode() for buffer
2016-04-10 22:48:04 +02:00
Daniel Hiepler
f25046de2d
fix encoding issues
2016-04-10 00:21:58 +02:00
Steffen Vogel
417465789f
Merge remote-tracking branch 'gh/moyamo/develop' into develop
2016-04-06 14:42:18 +02:00
DaZZZl
d6f0f11efc
add support for participant VCards
2016-02-11 00:46:53 +01:00
moyamo
502077dc51
Send residential memory usage to spectrum server
2016-01-10 00:02:19 +02:00
moyamo
aeb43dff55
Add ability to request password after receiving sms code
2016-01-07 21:11:54 +02:00
moyamo
ee743ac327
Remove superfluous error messages and handle uncaught exceptions
2016-01-02 22:41:05 +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
fae4c648ee
Use unicode string literals
2015-12-29 21:46:29 +02:00
moyamo
3c16f39479
Send 'muc = true' to spectrum backend
2015-12-18 20:52:23 +02:00
moyamo
8385888e97
Minor bug fixes
2015-12-01 23:21:38 +02:00
moyamo
06388685d4
Update SpectrumBackend and build protocol buffers
...
This is to use the new handleBuddies feature.
2015-12-01 20:07:57 +02:00
moyamo
03d4a98fc7
Change error messages is backend.py to debug messages
2015-11-23 15:34:37 +02: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
moyamo
dbb66e0381
Prevent no caption in an image from crashing transwhat
2015-11-05 17:57:16 +02:00
moyamo
a5877bc1a9
Try to prevent transwhat from crashing on malformed protobuf
2015-10-09 18:45:17 +02:00
moyamo
29d92b456e
Shorten the name of groupchats to overcome truncation bug
...
The names of groupchats are truncated internally to 22 characters.
This causes many problems with groupchats, since spectrum incorrectly
identifies the chat by the long name.
To overcome this the phoneNumber-unixTime is converted to hexadecimal,
to shorten the groupchat below 22 characters
2015-10-09 18:42:59 +02:00
moyamo
ecfa2d7f85
Attempt to fix groupchats
2015-10-09 18:42:59 +02:00
moyamo
f1a6b109f7
Regenerate protocol buffers
2015-10-09 18:42:59 +02:00
moyamo
652a9f0463
Pass only expected data to parseFromString
...
Spectrum2/backend.py:handleDataRead is called when transwhat receives
data from Spectrum. The parameter `data' contains multiple (or pieces
of) WrapperMessages. Instead of passing all the data to
wrapper.ParseFromString. We should only pass a single WrapperMessage.
2015-10-09 18:31:57 +02:00
moyamo
f4e85f7689
Try to prevent transwhat from crashing on malformed protobuf
2015-09-21 21:45:18 +02:00
moyamo
7f1c9cd0db
Shorten the name of groupchats to overcome truncation bug
...
The names of groupchats are truncated internally to 22 characters.
This causes many problems with groupchats, since spectrum incorrectly
identifies the chat by the long name.
To overcome this the phoneNumber-unixTime is converted to hexadecimal,
to shorten the groupchat below 22 characters
2015-09-21 20:30:11 +02:00
moyamo
6c12956dd6
Attempt to fix groupchats
2015-09-15 21:29:26 +02:00
moyamo
e92d36a240
Regenerate protocol buffers
2015-09-14 19:55:53 +02:00
moyamo
4c365e3f81
Add receiveing of images, videos and sound files
...
When a whatsapp buddy sends an image, video or sound to the spectrum
user, the spectrum user will receive a URL that links to the media.
FileTranfer in spectrum is not working, apparently. Thus media cannot be
sent yet.
2015-09-05 22:05:34 +02:00
moyamo
e43aeedd9d
Add presence and chatstate
...
* Chatstate typing and typing stop is sent and received
* Presence is received and presence is sent when user types
2015-09-03 20:04:29 +02:00
moyamo
e94aa383bf
Remove redundent debug logs
2015-06-21 15:20:22 +02:00
moyamo
c06bfac0a9
Add logging to IOChannel
2015-02-27 18:06:30 +02:00
Steffen Vogel
111050fb22
added handleBuddyRemoved
2013-06-28 19:44:29 +02:00
Steffen Vogel
528d4ed759
initial code commit
2013-05-31 20:53:21 +02:00