Commit graph

337 commits

Author SHA1 Message Date
poljar (Damir Jelić)
6920b463e2 Don't reset the reconnect variables when connected.
They are reset when disconnecting, no need to do it here as well.
2018-02-01 13:28:10 +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ć)
361ded2ea5 Always login on a connect. 2018-02-01 13:20:27 +01:00
poljar (Damir Jelić)
576096a70e Fix server command completion. 2018-02-01 13:19:59 +01:00
poljar (Damir Jelić)
69a6b5e40b Makefile: Mark the lib phony as well. 2018-01-31 13:56:31 +01:00
poljar (Damir Jelić)
d9ba22944b Clear the receive queue if we disconnect. 2018-01-31 13:56:16 +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ć)
ad5472d5f2 Add missing files.
Those got forgotten while splitting functions out into different files.
2018-01-30 14:25:25 +01:00
poljar (Damir Jelić)
0fbecf6bdb Add missing str import. 2018-01-30 14:21:59 +01:00
poljar (Damir Jelić)
41c694032a Connection messages. 2018-01-30 14:16:25 +01:00
poljar (Damir Jelić)
594706e0af Don't hook the timer hook before we're connected. 2018-01-30 14:08:50 +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ć)
0663fc1470 Add makefile. 2018-01-30 10:56:29 +01:00
poljar (Damir Jelić)
51308d4af0 Rename matrix.py to main.py.
Pylint can't handle packages and modules with the same name.
2018-01-30 09:34:06 +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ć)
48f17e14d4 Split out completion callbacks. 2018-01-29 14:01:58 +01:00
poljar (Damir Jelić)
3b1c95dea8 More split work. 2018-01-29 13:24:52 +01:00
poljar (Damir Jelić)
5686d1f6c1 Move more commands out of the main file. 2018-01-29 10:37:48 +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ć)
02557f67fb Clarify the comment about the callback scope for weechat. 2018-01-27 14:39:20 +01:00
poljar (Damir Jelić)
53025b596f Add pylintrc. 2018-01-26 18:52:58 +01:00
poljar (Damir Jelić)
5d651a3869 Add gitignore. 2018-01-26 18:52:46 +01:00
poljar (Damir Jelić)
849a408dfa Rename the main file to matrix.py. 2018-01-26 18:48:40 +01:00
poljar (Damir Jelić)
8e8c9c189f Add a license file. 2018-01-26 18:23:00 +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
poljar (Damir Jelić)
6e7ed8333f Split up http handling into a separate file. 2018-01-26 17:44:11 +01:00
poljar (Damir Jelić)
85f3a9eef0 Add type annotations to some functions in color.py. 2018-01-26 13:41:24 +01:00
poljar (Damir Jelić)
d5c1538db9 Split up the utf encoding handling into a separate file. 2018-01-26 13:12:57 +01:00
poljar (Damir Jelić)
62adae5aa3 Start splitting up the script into different files. 2018-01-26 12:18:52 +01:00
poljar (Damir Jelić)
704cadc5c0 Disable the error message if we get a unhandled tag for now. 2018-01-25 16:08:52 +01:00
poljar (Damir Jelić)
72221246b0 Fix some style issues. 2018-01-25 13:39:48 +01:00
poljar (Damir Jelić)
efa39f88b2 Device name setting support. 2018-01-25 13:15:21 +01:00
poljar (Damir Jelić)
7ee65a5c34 Intial invite command. 2018-01-25 13:15:01 +01:00
poljar (Damir Jelić)
555eb66c9b Pretty print the error object. 2018-01-25 12:33:50 +01:00
poljar (Damir Jelić)
918489fb1f Implement to and from html color parsing. 2018-01-25 12:33:14 +01:00
poljar (Damir Jelić)
3351e3b4dd Fix italic and underline parsing on the weechat input line. 2018-01-25 12:32:31 +01:00
poljar (Damir Jelić)
43c42b3c17 Initial html sending/receiving support. 2018-01-24 17:37:45 +01:00
poljar (Damir Jelić)
da9940ac0e Initial debugging support and sync message sending fix. 2018-01-24 12:41:01 +01:00
poljar (Damir Jelić)
40bf8e4a5b Initial part command. 2018-01-23 17:21:27 +01:00
poljar (Damir Jelić)
bee63836d3 Initial join command. 2018-01-23 16:11:42 +01:00
poljar (Damir Jelić)
af5d7a19c4 Initital input line color handling. 2018-01-23 13:53:33 +01:00
poljar (Damir Jelić)
f6e72c09c6 Add python3 compatibility. 2018-01-23 13:30:42 +01:00