Commit graph

295 commits

Author SHA1 Message Date
moyamo a496e01967 Handle disconnect from Yowsup 2015-02-27 18:40:27 +02:00
moyamo c06bfac0a9 Add logging to IOChannel 2015-02-27 18:06:30 +02:00
moyamo 467cc80b0d Catch AuthError
When authentication fails, yowsup throws and AuthError.
2015-02-27 17:40:34 +02:00
moyamo 9e35017523 Fix bug 2015-02-27 17:35:32 +02:00
moyamo b651ba8c37 Stop Start-Event from propogating 2015-02-27 17:33:08 +02:00
moyamo 479efedc26 Add logger remove calls 2015-02-27 17:25:45 +02:00
moyamo 05525a8a3a Fix bugs 2015-02-27 17:13:48 +02:00
moyamo ae826b1341 Use YowLayerEvent instead of Prop
We cannot use Prop in the __init__ of a YowLayer, since Prop is
initialised only after all the YowLayers are initialized.

Instead, we send a YowLayerEvent containing the values.
2015-02-27 17:09:39 +02:00
moyamo 74a09ad07f Fix typo 2015-02-27 16:19:51 +02:00
moyamo 1ebf4e5cc9 Add SpectrumLayer to YowStack and handle Auth
Things that Session handled should be handled by a YowInterfaceLayer.
SpectrumLayer is such a layer. Paramaters that Session's __init__ is
passed into SpectrumLayer via Props.
2015-02-27 16:14:01 +02:00
moyamo 9fc0dc7333 Add logout event and disable call 2015-02-27 14:59:35 +02:00
moyamo 1878a30fb6 Authenticate user with legacyName and password
I forgot to send the legacyName with the password when authenticating.
2015-02-27 14:33:55 +02:00
moyamo 8dcc028548 Add Yowsup stack to session
Try to replace the old yowsup library by using a yowsup 2 stack.
2015-02-26 22:52:29 +02:00
moyamo 886b8ce988 Add more dependencies to README 2015-02-26 20:58:25 +02:00
Steffen Vogel 737d2c55b4 Merge pull request #6 from vitalyster/empty_status
Transport was not initialized if user have no status message
2013-08-06 12:46:28 -07:00
Vitaly Takmazov 8e2c03aaae Transport was not initialized if user have no status message 2013-08-06 23:21:37 +04:00
Steffen Vogel 7c7a8737a0 added mysql schema 2013-08-06 13:58:57 +02:00
Steffen Vogel 2955079bc2 fixed markdown formatting 2013-08-02 02:18:04 +02:00
Steffen Vogel 92fc0b3fb9 updated readme: added dependencies 2013-08-02 02:14:52 +02:00
Steffen Vogel 44706ebdf0 updated gitignore 2013-08-02 01:50:09 +02:00
Steffen Vogel d9ccfa9c5f added example configuration 2013-08-02 01:49:31 +02:00
Steffen Vogel afc334ec14 added GPL v3 licence 2013-08-02 01:46:11 +02:00
Steffen Vogel 5fb1934cc5 added copyright and author infos 2013-08-02 01:45:51 +02:00
Steffen Vogel bef9d3ea3d added tranwhat.py 2013-06-28 23:10:28 +02:00
Steffen Vogel 5d41cd712f changed a lot 2013-06-28 22:46:56 +02:00
Steffen Vogel a7e9cf853f cleaned up imports 2013-06-28 22:45:38 +02:00
Steffen Vogel 8da44e402f added reader.py and utils.py 2013-06-28 22:37:47 +02:00
Steffen Vogel 1fde38b979 added missing import 2013-06-28 22:37:23 +02:00
Steffen Vogel ea47ddb0c6 fixed rewrite rule 2013-06-28 22:36:03 +02:00
Steffen Vogel 494a76ae54 added cgi scripts 2013-06-28 22:35:34 +02:00
Steffen Vogel 0fb457da95 fixed typo 2013-06-28 21:43:39 +02:00
Steffen Vogel 638822c522 added googleclient.py to import contacts from google 2013-06-28 21:42:49 +02:00
Steffen Vogel 1f93bda06c added group.py 2013-06-28 21:40:45 +02:00
Steffen Vogel dfadbe62e4 added motd and apache vhost config file 2013-06-28 21:40:21 +02:00
Steffen Vogel c99cb88c2b updated gitignore 2013-06-28 21:39:41 +02:00
Steffen Vogel 61936d7b1f added bot.py 2013-06-28 21:38:19 +02:00
Steffen Vogel cb88abbdd7 added logging 2013-06-28 21:37:39 +02:00
Steffen Vogel e085abddb9 moved spectrum configs to conf directory 2013-06-28 21:35:56 +02:00
Steffen Vogel fc75a626cb renamed roster.py to buddy.py 2013-06-28 19:46:25 +02:00
Steffen Vogel 686d9e2d1f added subjectOwner to group class 2013-06-28 19:45:34 +02:00
Steffen Vogel 111050fb22 added handleBuddyRemoved 2013-06-28 19:44:29 +02:00
Steffen Vogel c8121e9ff4 added config files 2013-05-31 21:21:34 +02:00
Steffen Vogel e20892aecd updated gitignore 2013-05-31 21:21:18 +02:00
Steffen Vogel 528d4ed759 initial code commit 2013-05-31 20:53:21 +02:00
Steffen Vogel 80938a3329 created repo 2013-05-31 20:50:58 +02:00