poljar (Damir Jelić)
|
c967731c0f
|
events: Make sync event execution batched.
|
2018-03-19 14:55:48 +01:00 |
|
poljar (Damir Jelić)
|
996270df0d
|
server: Only limit the sync if we don't have a next batch.
|
2018-03-06 13:53:34 +01:00 |
|
Denis Kasak
|
7434285ffb
|
Support weechat proxies.
|
2018-03-03 23:56:51 +01:00 |
|
poljar (Damir Jelić)
|
d1869cd5d6
|
server: Store the device id.
The device id now gets saved and reused for logins.
|
2018-03-01 13:58:33 +01:00 |
|
poljar (Damir Jelić)
|
f9971ce443
|
Print out a message when logging in.
|
2018-02-27 19:56:02 +01:00 |
|
poljar (Damir Jelić)
|
1ec7c8f190
|
Remove unused ignore_event_list.
|
2018-02-25 18:12:23 +01:00 |
|
poljar (Damir Jelić)
|
bf0bffc879
|
Remove the message type enum.
|
2018-02-25 18:09:05 +01:00 |
|
poljar (Damir Jelić)
|
efa663133b
|
Move message handling function into the server class.
|
2018-02-25 18:01:14 +01:00 |
|
poljar (Damir Jelić)
|
9b25026a3a
|
Don't reconnect on a timeout, disconnect does this already.
|
2018-02-21 17:07:57 +01:00 |
|
poljar (Damir Jelić)
|
2f4137933f
|
Reformat the source tree using yapf.
|
2018-02-21 17:04:03 +01:00 |
|
poljar (Damir Jelić)
|
2741a7807d
|
Reset the send/receive buffers and the http parser on disconnects.
|
2018-02-20 10:12:14 +01:00 |
|
poljar (Damir Jelić)
|
afd595b780
|
Clear the send queue when disconnected as well.
|
2018-02-15 15:28:01 +01:00 |
|
poljar (Damir Jelić)
|
7da03db7c1
|
Return from the timer callback if we're scheduling a reconnect.
|
2018-02-13 10:15:05 +01:00 |
|
poljar (Damir Jelić)
|
f85a5df052
|
Reset the lag if we're disconnecting.
|
2018-02-13 10:14:43 +01:00 |
|
poljar (Damir Jelić)
|
390d08b229
|
Move the sync and login functions into the server class.
|
2018-02-12 14:53:19 +01:00 |
|
poljar (Damir Jelić)
|
b22deceb00
|
Mypy fixes.
|
2018-02-12 10:56:28 +01:00 |
|
poljar (Damir Jelić)
|
9af4d65b67
|
Catch the socket error upon socket shutdown.
|
2018-02-10 15:36:31 +01:00 |
|
poljar (Damir Jelić)
|
5c2c5a655c
|
Improve lag handling.
|
2018-02-08 10:58:33 +01:00 |
|
poljar (Damir Jelić)
|
ce718a9259
|
Style fixes.
|
2018-02-07 12:42:33 +01:00 |
|
poljar (Damir Jelić)
|
e02a731809
|
Fix global config handling.
|
2018-02-05 12:47:40 +01:00 |
|
poljar (Damir Jelić)
|
41c96fd332
|
Catch exceptions while trying to close the socket.
|
2018-02-03 12:51:13 +01:00 |
|
poljar (Damir Jelić)
|
475feaa93a
|
Start some refactoring work on the api.
Only login and sync are so far done.
|
2018-02-02 15:03:52 +01:00 |
|
poljar (Damir Jelić)
|
b9fd3869f4
|
Move the socket closing function into the server class.
|
2018-02-02 10:37:06 +01:00 |
|
poljar (Damir Jelić)
|
e7f229e4a2
|
Mark some server methods as private.
|
2018-02-02 10:36:54 +01:00 |
|
poljar (Damir Jelić)
|
f9df032667
|
Move the connection functions to the server class.
|
2018-02-02 10:29:59 +01:00 |
|
poljar (Damir Jelić)
|
c63551d37e
|
Make the send functions methods of the server class.
|
2018-02-02 10:29:16 +01:00 |
|
poljar (Damir Jelić)
|
007b2b5cad
|
Only try to close the socket if it exists.
|
2018-02-02 09:51:04 +01:00 |
|
poljar (Damir Jelić)
|
f4c8f1ee29
|
Better error messages for socket errors.
|
2018-02-02 09:50:08 +01:00 |
|
poljar (Damir Jelić)
|
e9c027f131
|
Fix the ssl_verify config option description.
|
2018-02-01 19:15:55 +01:00 |
|
poljar (Damir Jelić)
|
b32baa65b1
|
Fix some style issues.
|
2018-02-01 18:02:58 +01:00 |
|
poljar (Damir Jelić)
|
a7531839d1
|
Fix the send callback using a undefined variable.
|
2018-02-01 15:02:50 +01:00 |
|
poljar (Damir Jelić)
|
57cc1b3e88
|
Rename disconnect calls in the send function.
|
2018-02-01 14:58:13 +01:00 |
|
poljar (Damir Jelić)
|
59feac395f
|
Fix reconnection handling and refactor the server commands.
|
2018-02-01 13:20:52 +01:00 |
|
poljar (Damir Jelić)
|
484d91b166
|
Make the message sending non blocking.
|
2018-01-31 13:55:55 +01:00 |
|
poljar (Damir Jelić)
|
d83c25e709
|
Make the ssl handshake non blocking.
|
2018-01-31 09:57:13 +01:00 |
|
poljar (Damir Jelić)
|
0fbecf6bdb
|
Add missing str import.
|
2018-01-30 14:21:59 +01:00 |
|
poljar (Damir Jelić)
|
a4d4e56919
|
Add lag bar item.
|
2018-01-30 12:58:16 +01:00 |
|
poljar (Damir Jelić)
|
bb5b90691e
|
Move connection handling to server.py.
|
2018-01-30 11:46:29 +01:00 |
|
poljar (Damir Jelić)
|
4eb7e887e8
|
Move server config out of the main file.
|
2018-01-29 18:11:45 +01:00 |
|
poljar (Damir Jelić)
|
44fb7a1913
|
More split work for the config.
|
2018-01-29 17:50:59 +01:00 |
|
poljar (Damir Jelić)
|
3f2559adeb
|
Evaluate the string for the server password.
This enables us to use weechat secured data feature.
|
2018-01-28 11:44:57 +01:00 |
|
poljar (Damir Jelić)
|
937ad993c5
|
Apply PEP8 fixes to the source tree.
|
2018-01-27 18:15:18 +01:00 |
|
poljar (Damir Jelić)
|
0e4c29b0c6
|
Fix the ssl verification turn on code.
|
2018-01-27 14:40:01 +01:00 |
|
poljar (Damir Jelić)
|
5efea04b64
|
Change the licence to ISC and add license headers.
|
2018-01-26 18:22:06 +01:00 |
|
poljar (Damir Jelić)
|
27c0836eb5
|
Move the weechat command setup and some commands.
|
2018-01-26 17:57:42 +01:00 |
|
poljar (Damir Jelić)
|
be48b73395
|
Move the server option update code.
|
2018-01-26 17:44:17 +01:00 |
|
poljar (Damir Jelić)
|
7328dcf7ab
|
More splitting.
|
2018-01-26 17:44:17 +01:00 |
|