Commit graph

3713 commits

Author SHA1 Message Date
mathieui
7946190019 Fix #3205 (doubled notification in simple_notify) 2016-08-26 21:33:19 +02:00
mathieui
ad7b724690 Fix #3179 (/join completion broken) 2016-08-26 19:26:14 +02:00
mathieui
d36ecbd7b4 Remove walls of text from the main body of core.handlers
It’s not pleasant to read
2016-08-26 19:12:49 +02:00
mathieui
01e8f9ee76 Update docs for /groupadd
and changelog
2016-08-26 18:53:17 +02:00
mathieui
b7c23313b6 Fix #3217 (allow /groupadd "group" with selected row in the roster) 2016-08-25 20:22:01 +02:00
mathieui
e8aa89687f Fix #3223 (close privatetab logfiles properly)
It wasn’t applying the transformation jid→filename used in log_message
2016-08-25 20:11:12 +02:00
mathieui
24a10df164 Add a small poezio_logs script to parse logfiles 2016-08-24 23:20:57 +02:00
mathieui
4f942bd48f Make log parsing a little better
Separate log items in two different classes instead of just trying the
length of a tuple
2016-08-24 23:14:34 +02:00
mathieui
ec04070611 Don’t traceback in theming if called without poezio installed
If we just want to see the color list, we shouldn’t need to be able to
import poezio.config
2016-08-24 23:13:21 +02:00
mathieui
3ed31ed282 Don’t use camelcase for accessing data forms
(except with getXML that will need more work)
2016-08-22 20:23:27 +02:00
mathieui
ca682cf23d Muctab: Only search for matching colors on user join
this call is actually quite expensive, so it will help in specific cases
where we receive a lot of presence stanzas (e.g. a netsplit in an irc
gateway, or a +vvvvvvvvvvvvvvvvvvvvvvvvv, etc) that are not joins
2016-08-22 19:55:17 +02:00
mathieui
5f0c0fbb0a Update tests 2016-08-21 15:58:07 +02:00
mathieui
84e59b05ff Don’t call input completion() functions inside completion methods
Use a placeholder object that can run it afterwards, so that we don’t
have side effects inside those functions.
2016-08-21 15:39:30 +02:00
mathieui
6c270b363a Update the tls warning doc
and remove the image
2016-08-21 00:20:17 +02:00
mathieui
ec60c33400 Update /bookmarks help 2016-08-21 00:19:12 +02:00
mathieui
8e3cfdaca8 Document the bookmarks tab 2016-08-21 00:13:32 +02:00
mathieui
9792a2db2a Optimize pngs 2016-08-21 00:00:22 +02:00
mathieui
a5b8ef1070 Document the confirm tab 2016-08-20 23:57:26 +02:00
mathieui
11b193fb36 Fix #3219, Fix #3220 (no connection loops on some stream errors)
Do not reconnect if the stream error is a conflict or an host-unknown;
also add a sleep(1) in order to not DoS the server if it loops on other
conditions.
2016-08-20 13:13:23 +02:00
mathieui
04939cc6c3 Fix a typo in the httpauth dialog 2016-08-20 00:56:40 +02:00
mathieui
9cd8788400 Implement XEP-0070 using the confirmtab 2016-08-20 00:12:59 +02:00
mathieui
9230126a89 Remove unused leftover imports 2016-08-19 01:15:32 +02:00
mathieui
0c21af12b0 Use the confirmtab for TLS cert validation
And wipe the YesNoInput from the codebase
2016-08-19 01:04:43 +02:00
mathieui
82d00d495b Add a "confirm" tab type
This tab will be used when an external events prompts a boolean choice
to a user, like a new ssl cert, or a XEP (e.g. 0070) that needs an
answer, and for which a command-line interface with an info message
would be a pain.
2016-08-19 01:00:06 +02:00
Eijebong
c94df86b2c Use conversation.get_nick() instead of conversation.nick when adding a
message to a conversation tab.

When you rename one of your contact and have a conversation opened, the
nickname wasn't updated when you received new messages.
2016-08-18 21:21:08 +02:00
Luke Marlin
ec077496ba fixes #3147 (/message auto-complete misses offline users) by adding every jids to the completion list 2016-08-13 19:40:49 +02:00
mathieui
d7ffaa44a2 Fix /help 2016-08-11 22:38:00 +02:00
Emmanuel Gil Peyrot
ae51999a6f Disable unused logging levels, makes logging.debug about 25 times faster. 2016-07-30 12:59:58 +01:00
Emmanuel Gil Peyrot
aed82a0e3b Advertise us as a console client, not as a pc one. 2016-07-29 23:18:06 +01:00
mathieui
f6960d09f0 Fix doc building
Broken by the namespace change
2016-07-27 19:05:27 +02:00
louiz’
15bef8d752 Make sure the color values are integers, in xhtml.py 2016-07-26 11:12:37 +02:00
mathieui
8634b5ea66 Fix a bug with the _close_tab shortcut
on_close wasn’t used correctly everywhere.
Also make the "close" commands for each tab specific to themselves,
rather than taking the current tab for closure.
2016-07-22 19:56:07 +02:00
mathieui
89194356ee Fix /list 2016-07-22 19:44:25 +02:00
mathieui
0a3738fd66 Improve the topic display
More colors, show an indicator if we changed it
2016-07-14 14:33:27 +02:00
mathieui
4b3dde2a27 Improve /topic display 2016-07-14 12:29:42 +02:00
mathieui
275a67864d Fix a bug in multiline colored text
if the first, attribute color was negative, the color wasn’t passed on
to the next line.
2016-07-14 12:26:31 +02:00
mathieui
05fa56aea5 Next version is 0.10, not 1.0
1.0 is still a long way off
2016-07-14 11:07:56 +02:00
Eijebong
c702fb147b Fix daemon.py shebang. 2016-07-13 18:51:08 +02:00
mathieui
a548e2ff6d Improve refresh performance in big rooms
going through a list with more than 1000 elements, one at a time, can be
a bit tedious. Especially if you go through it every time you receive
one of those elements.
2016-07-12 21:05:46 +02:00
Emmanuel Gil Peyrot
d19f53c3e9 Remove unused SizeManager argument, and simplify its import. 2016-07-07 21:34:10 +01:00
mathieui
968ed665f6 Fix the configure and bookmark tab 2016-07-07 20:09:37 +02:00
mathieui
dae641412e Fix a circular import introduced in 409b1513
It breaks python 3.4 which is touchy about them, https://bugs.python.org/issue17636
2016-07-07 19:51:53 +02:00
louiz’
3dcb04992d Don't use a list (that we modify) as a default argument 2016-07-06 10:08:23 +02:00
louiz’
96a9fb699f Refactor a little thing in /version code 2016-07-06 10:01:07 +02:00
louiz’
059799bb2d Remove some unused things 2016-07-06 09:52:19 +02:00
louiz’
e397f38b47 Merge remote-tracking branch 'linkmauve/big-performances-improvement' 2016-07-06 09:26:03 +02:00
Emmanuel Gil Peyrot
69b4480e9e Make UserList.refresh_if_possible not hyper dumb.
This function was actually calling refresh for every single item that
was different from the cached version.
2016-07-06 04:32:23 +01:00
Emmanuel Gil Peyrot
a47e18e873 Cache results in poezio.theming.to_curses_attr.
This increases performances a *lot* compared to the previous uncached
version.
2016-07-06 04:32:15 +01:00
Emmanuel Gil Peyrot
409b1513ce Move Win._tab_win into poezio.windows.TAB_WIN. 2016-07-06 00:25:13 +01:00
Emmanuel Gil Peyrot
4ffe32ac64 Always use the same argument name in Input.do_command. 2016-07-06 00:25:12 +01:00