Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Clean up some leftover debug messages | Miklos Vajna | 2010-12-29 | -10/+9 |
| | ||||
* | Close connection when going offline | Philippe Crama | 2010-12-28 | -1/+4 |
| | | | | | | | | | | | | When the user disconnects from bitlbee (either by quitting or by logging out "account skype off"), skyped should close its connection and wait for a new connection. This change is useful to make the test cases pass as otherwise, skyped would not notice that the first test was done and that the second test was trying to connect, thus leading to a failure in the second test. | |||
* | Check that connection is still valid before sending/retrying | Philippe Crama | 2010-12-28 | -2/+3 |
| | | | | | | | | Since another thread might close the socket, make sure after the lock is acquired that the connection is still valid. Add global declaration for completeness | |||
* | Add locking to ensure only one thread accesses the socket | unknown | 2010-12-24 | -16/+45 |
| | | | | | | | | The Skype API calls the OnNotify callback in a separate thread: see http://skype4py.sourceforge.net/doc/html/Skype4Py.utils.EventHandlingBase-class.html Tested informally (chatting with another person for > 15 min) | |||
* | Bugfixes: when skipping PINGing bitlbee, update PONG timestamp, watch input ↵ | Philippe Crama | 2010-12-22 | -3/+6 |
| | | | | socket for exceptional situations | |||
* | Make skyped restart itself | Philippe Crama | 2010-12-20 | -19/+53 |
| | | | | | | | Now skyped.py detects broken sockets and restarts itself waiting for a new connection: this sould help with passing the tests (see branch NetBSD-test-suite) | |||
* | More debugging ouput to make sure the skype daemon is not dead | Philippe Crama | 2010-12-19 | -0/+2 |
| | ||||
* | Remove dependency on gobject and use select standard module | Philippe Crama | 2010-12-17 | -10/+31 |
| | | | | | | | | This is a restart of the windows-skyped branch based on the updated bitlbee-skype using the builtin SSL libs of Python. This version connects, but hangs for long times... to be continued | |||
* | new testcase | Miklos Vajna | 2010-12-13 | -2/+21 |
| | ||||
* | Use internal ssl module instead of pyopenssl or python-gnutls | Miklos Vajna | 2010-12-11 | -16/+8 |
| | | | | | This results in shorter code and is available on Windows as well. | |||
* | skyped: change it to python2.7 just in case python would be python3k already | Miklos Vajna | 2010-10-25 | -1/+1 |
| | ||||
* | Typo fix: --debug was --daemon | Miklos Vajna | 2010-06-25 | -1/+1 |
| | | | | | From: Arthaey Angosii <arthaey@gmail.com> | |||
* | copyright | Miklos Vajna | 2010-04-18 | -1/+1 |
| | ||||
* | skyped: use os.path.expanduser for file paths in config | Miklos Vajna | 2010-04-12 | -2/+2 |
| | | | | | Requested-by: ilf <ilf@gmx.net> | |||
* | skyped: fix a typeerror | Miklos Vajna | 2010-03-08 | -1/+1 |
| | ||||
* | skyped: cleanup | Miklos Vajna | 2009-12-09 | -2/+0 |
| | ||||
* | skyped: let the error message suggest placing the config file under ~/.skyped | Miklos Vajna | 2009-08-31 | -2/+4 |
| | | | | | | | | | so the new error message will be like: $ python skyped.py -d -n Can't find configuration file at '/home/vmiklos/.skyped/skyped.conf'. Use the -c option to specify an alternate one. | |||
* | dprint() now timestamps debug messages | Leho Kraav | 2009-08-18 | -2/+5 |
| | | | | | | | | it's good to know when exactly a problem occurs. [ mv: minor rewording of the commit message and filter pointless mode change ] | |||
* | add support for user-wide config files | Miklos Vajna | 2009-04-29 | -1/+3 |
| | | | | | | | in the past the config file was expected in /etc/skyped, change this to ~/.skyped, and just fall back to the previous path if it's not available. | |||
* | skyped: add logfile option | Miklos Vajna | 2009-02-18 | -2/+10 |
| | | | | | | using this option messages are not lost when not running in foreground mode | |||
* | skyped: handle the case when LANG and LC_ALL env vars are empty | Miklos Vajna | 2009-02-17 | -1/+4 |
| | ||||
* | skyped: use hashlib instead of sha (python2.6 warning) | Miklos Vajna | 2008-12-30 | -2/+2 |
| | ||||
* | fix typo in skyped -h | Miklos Vajna | 2008-12-22 | -1/+1 |
| | ||||
* | replace /dev/null with os.devnull in skyped | Miklos Vajna | 2008-12-21 | -2/+2 |
| | ||||
* | skyped: handle the case when even reading the user/pass fails | Miklos Vajna | 2008-11-16 | -6/+11 |
| | | | | | | ideally this is rare, i never got a network error right after connect, but you can never be sure.. ;) | |||
* | skyped: when sending, encode using utf8 if we can't get the system default | Miklos Vajna | 2008-09-08 | -1/+4 |
| | | | | | this fixes a runtime error on osx | |||
* | ignore error if not yet started skyped fails to shut down | Miklos Vajna | 2008-09-06 | -1/+5 |
| | | | | | at this points skyped runs fine for me on osx (plugin is not yet tested) | |||
* | skyped: send periodically a 'PING' to the client | Miklos Vajna | 2008-07-12 | -3/+14 |
| | | | | | also ignore the 'PONG' output from it (so don't forward it to skype) | |||
* | remove no longer used CLIENT_NAME | Miklos Vajna | 2008-05-19 | -1/+0 |
| | ||||
* | allow setting the port from the config file | Miklos Vajna | 2008-05-19 | -3/+16 |
| | ||||
* | don't die on failed handshake | Miklos Vajna | 2008-05-19 | -1/+5 |
| | ||||
* | skyped: close the socket on read/write error | Miklos Vajna | 2008-05-16 | -1/+3 |
| | | | | | | - it turns out that once we have a read/write error we can never use the socket again so just close it then bitlbee will reconnect properly | |||
* | add python-gnutls support and make it default if available | Miklos Vajna | 2008-05-01 | -7/+17 |
| | | | | | | | | - this change in general should be ok, since openssl has problems when using it from gpl software which is distributed as a binary. - anyway, i hope that this will solve that magic "Fatal Python error: PyEval_RestoreThread: NULL tstate" error. at least it worth a try. | |||
* | modularize openssl code | Miklos Vajna | 2008-05-01 | -1/+2 |
| | | | | | - so that later we may use gnutls as well (or other ssl implementations) | |||
* | and same for receive: catch any error | Miklos Vajna | 2008-05-01 | -1/+2 |
| | ||||
* | catch any error on send (ie SysCallError as well) | Miklos Vajna | 2008-04-28 | -1/+1 |
| | ||||
* | skyped: use gobject.timeout_add() to make it more responsive | Miklos Vajna | 2008-04-20 | -2/+1 |
| | ||||
* | a fix for python-2.4 compatibility | Miklos Vajna | 2008-04-06 | -1/+1 |
| | | | | | | - interesting, it has been reported this is the only problem, though ideally skype4py doesn't work with python-2.4 either ;) | |||
* | skyped: don't exit when bitlbee disconnects | Miklos Vajna | 2008-02-29 | -1/+1 |
| | ||||
* | add support for account set -del skype/call | Miklos Vajna | 2008-02-29 | -1/+4 |
| | | | | | to finish an outgoing call | |||
* | skyped: remove comment, we use skype4py already | Miklos Vajna | 2008-02-23 | -4/+0 |
| | ||||
* | kill skype on shutdown | Miklos Vajna | 2008-02-23 | -4/+5 |
| | ||||
* | small cleanup | Miklos Vajna | 2008-02-23 | -1/+0 |
| | ||||
* | skyped: automatically start skype if necessary | Miklos Vajna | 2008-02-23 | -2/+3 |
| | ||||
* | remove unnecessary import of threading from skyped | Miklos Vajna | 2008-02-19 | -1/+0 |
| | ||||
* | skyped: catch KeyboardInterrupts everywhere | Miklos Vajna | 2008-01-12 | -3/+10 |
| | ||||
* | skyped: update copyright year | Miklos Vajna | 2008-01-12 | -1/+1 |
| | ||||
* | auth via ssl | Miklos Vajna | 2008-01-12 | -14/+18 |
| | | | | | | | | - move the config file to sysconfdir/skyped/skyped.conf as there will other config files there, too - autogenerate the ssl paths in skyped.conf.dist - skype plugin: connect via ssl - skyped: listen via ssl | |||
* | skyped: add authentication support | Miklos Vajna | 2008-01-12 | -20/+61 |
| | | | | | this is not yet ssl, but better than nothing | |||
* | skyped: allow overwriting the host '0.0.0.0' | Miklos Vajna | 2008-01-11 | -3/+7 |
| |