Emmanuel Gil Peyrot
4691f840c3
xhtml: Mark private functions with a leading underscore.
2017-10-07 12:29:41 +01:00
Emmanuel Gil Peyrot
82eb89c2e1
xhtml: Split parse_css_color out of parse_css.
2017-10-07 12:29:06 +01:00
mathieui
d19fef5e70
asyncio.async() is deprecated since python 3.5
2017-10-07 01:00:35 +02:00
mathieui
a8680cc86b
Fix #3334 (error when a service includes only the actor nick in a ban)
2017-10-07 00:56:48 +02:00
mathieui
f3a08138ce
Fix #3273 (be honest about the rainbow plugin)
2017-10-07 00:34:59 +02:00
mathieui
d603126f9b
Fix #3332 (showing a join for a type="unavailable" presence)
...
When a user isn't in a room, but due to a component bug we receive a
unavailable presence, we were showing a join.
2017-10-07 00:10:38 +02:00
mathieui
87e2c3dad9
Update the documentation for update.sh
2017-10-06 23:51:54 +02:00
mathieui
0b82033842
Use python -m venv and not pyvenv in update.sh
2017-10-06 23:45:35 +02:00
mathieui
9f1c0c3d54
Rename parse_message_line to parse_log_line
2017-09-28 00:59:45 +02:00
mathieui
377b58f1e8
Fix the poezio_logs script
2017-09-28 00:58:28 +02:00
mathieui
d886c4d3dc
Add line start/end markers on the regex
2017-09-28 00:57:54 +02:00
mathieui
444af2be6f
Add a simple test case
2017-09-28 00:57:17 +02:00
mathieui
9f7041f65e
Use match groups instead of re.split because we don't want that
2017-09-28 00:32:10 +02:00
c88459c507
Add a no-op command
2017-09-11 17:41:31 +02:00
Jonas Wielicki
ae45666ff9
irssi theme: disable yellow and bright nick colours
...
This helps with distinguishing highlights and normal messages.
2017-08-31 00:47:19 +02:00
Jonas Wielicki
c6318db8c1
start work on an irssi-like theme
2017-08-31 00:47:04 +02:00
mathieui
0f10803c4d
Remove reconnect_max_attemps (unused)
2017-08-27 16:20:01 +02:00
Georg Lukas
c57bbe256e
Fix Logging - revert NARROW NO-BREAK SPACE (U+202F) to NO-BREAK SPACE (U+A0)
2017-08-13 14:35:16 +02:00
louiz’
ef22b509df
Fix reception of private messages (variable used but not defined)
2017-08-07 19:21:15 +02:00
Emmanuel Gil Peyrot
51b908348e
Simplify double negation.
2017-07-21 16:29:07 +01:00
mathieui
93129fb064
Fix message correction
2017-07-21 15:27:22 +02:00
mathieui
90f43e2bb5
Simplify /cycle as well
2017-07-20 23:54:28 +02:00
mathieui
360b1350b6
Fix /server_cycle weirdness
...
exit the rooms properly, call functions instead of full-blown commands,
do not randomly focus stabs, etc
2017-07-20 23:50:37 +02:00
Georg Lukas
6fb3151202
Ping: properly process IQ errors, always display error condition
2017-07-20 23:28:33 +02:00
Emmanuel Gil Peyrot
12136b48a5
handlers: Stop appending <replace/> elements on incoming messages.
...
Fixes #3186 .
2017-07-18 00:04:38 +01:00
Eijebong
a07c87bcbe
Fix the resource duplication when reconnecting while auto_reconnect is true.
...
The problem is that core.legitimate_disconnect is set to True in the
on_connecting callback which is called before the session_end for some
reasons. on_connecting sets core.legitimate_disconnect back to False so
session_end thinks we've been disconnected and connects automagically
adding a resource and thus duplicating everything.
Moving the reset of legitimate_disconnect to the on_connected callback
fixes the problem.
2017-06-27 20:41:03 +02:00
mathieui
bc08858b8a
Do not end log lines with a space
...
… it's about time I fixed this
2017-06-27 20:36:56 +02:00
Emmanuel Gil Peyrot
4aa6e8eeba
Add a rstrip plugin.
2017-06-19 23:04:18 +01:00
mathieui
ffb8bbe63f
Remove extra colon
...
It creates a syntax error
2017-05-16 09:11:32 +02:00
Emmanuel Gil Peyrot
83e28a2be8
Add /add in conversation tabs.
...
This is a quick shortcut to add someone to your roster when talking
with them.
Fixes #3313 .
Also fixes typos.
2017-05-15 23:09:27 +01:00
Emmanuel Gil Peyrot
c66c5a6e27
Replace '/' with '-' in base64 hashes before saving an image.
...
Fixes #3312 .
2017-05-15 22:47:19 +01:00
Emmanuel Gil Peyrot
2419e82143
Send a <gone/> chatstate on /close.
...
Fixes #3296 .
2017-05-15 22:43:57 +01:00
Emmanuel Gil Peyrot
a3dfd55e04
Merge /unquery and /close into OneToOneTab.
2017-05-15 22:41:18 +01:00
Emmanuel Gil Peyrot
cc4132e0b4
Improve feedback from the ping plugin.
...
Always print the error-condition when the iq is of type error, also
include the error text if it is present, and set a 10s timeout before
giving up.
2017-05-15 22:22:56 +01:00
Emmanuel Gil Peyrot
95b7be7479
Fix dead link in install.
2017-05-06 16:05:25 +01:00
Emmanuel Gil Peyrot
9dc23d422b
Fix XHTML-IM, broken in the previous commit.
2017-05-03 16:08:47 +01:00
Emmanuel Gil Peyrot
7228c9cf6d
Avoid some deprecation warnings when casting raw XML into bool. (thanks pypy3)
2017-05-03 16:07:11 +01:00
mathieui
7d00b94f16
Add the XMPP classifier to setup.py
2017-04-10 02:21:51 +02:00
mathieui
e0f9de6d2f
Fix #3307 (add nickname to /join bookmark completion)
2017-04-09 21:29:47 +02:00
mathieui
f2a0caafaf
Fix #3149 (wipe xmltab messages for real with /clear)
2017-04-09 21:20:27 +02:00
mathieui
fa3e91aa6b
Fix ssl warning tab
...
It wasn’t blocking because the asyncio api slightly changed in december
which prevent us from running another event loop while a first one was
already running. This bypasses asyncio completely, thus avoiding future
problems (hopefully the select() API won’t change soon)
2017-04-09 20:26:51 +02:00
mathieui
f154dcbc82
Fix inline muc images
2017-04-06 23:26:59 +02:00
Emmanuel Gil Peyrot
2406204d1c
Add a pure-Python alternative to pooptmodule, for pypy3.
2017-04-01 19:10:33 +01:00
Emmanuel Gil Peyrot
d99558b9b8
Fix some typos in pooptmodule.
2017-04-01 19:09:53 +01:00
Georg Lukas
c8ee85cca7
self-ping: consider 'feature-not-implemented' a valid ping response
2017-03-28 10:50:46 +02:00
mathieui
e9a96470ba
Fix #3299 (/message <muc> is buggy)
...
Make /message <muc-bare-jid> send the message to the room instead of
failing.
2017-03-26 00:58:21 +01:00
mathieui
edd9b499e1
Force xmlns when parsing self-generated xhtml-im ( Fix #3274 )
2017-02-24 19:23:04 +01:00
Emmanuel Gil Peyrot
8a62ae7ad8
Make the code plugin stop using extra attributes and div.
2017-02-24 17:36:17 +00:00
mathieui
38ba859854
Fix code plugin usage help
2017-02-24 18:30:16 +01:00
Emmanuel Gil Peyrot
23927711c1
Stop using SHA-1 for generated filenames.
2017-02-24 17:05:29 +00:00