Commit graph

1965 commits

Author SHA1 Message Date
mathieui
43ef5fd949
Fix #3080 (show roster names instead of JIDs) 2015-06-18 21:02:13 +02:00
mathieui
5ae74e4c93
Do not log unhandled iq errors and timeouts in the error log
tends to happen quite often
2015-06-11 00:12:04 +02:00
mathieui
b7a7da12fa
Fix #3062 (mention /accept or /deny must be done in the roster tab) 2015-06-06 17:08:29 +02:00
mathieui
3077ec2bc1
Fix /list when no server is provided
(thanks eijebong)
2015-06-06 16:49:39 +02:00
Florent Le Coz
028e22b480 Save the bookmark password in the tab in the initial join, for later usage 2015-06-01 14:20:10 +02:00
Florent Le Coz
8f75e10d2f Use the password stored in the MucTab, with /join, if none is found otherwise 2015-06-01 13:50:26 +02:00
mathieui
ab3c382709
Cleanup: remove sone unused code and threading stuff 2015-05-31 23:25:26 +02:00
Florent Le Coz
39ed7e35cc Disable the MUC self ping by default
Because it doesn’t work, due to a lot of factors, and we can’t fix them.
2015-05-26 20:49:46 +02:00
Florent Le Coz
0c8fe4da30 Properly yield an error on /add without arguments 2015-05-26 14:38:22 +02:00
mathieui
03c2d2974a
Handle not-well-formed XML in the XML tab buffer
happens with whitespace keepalive at least
2015-05-21 14:29:26 +02:00
mathieui
58103b1d39
Resize after setting the vertical_tab_list_size option 2015-05-21 10:34:53 +02:00
Florent Le Coz
0d1ea0d8c3 Merge branch 'self-ping' into HEAD
Conflicts:
	src/tabs/muctab.py
2015-05-16 20:42:30 +02:00
Emmanuel Gil Peyrot
dd98aa44a5
Remove gettext support, as we don’t want to translate poezio, and it takes more than 1ms per call. 2015-05-11 22:31:12 +02:00
Florent Le Coz
861f5c4bbd The previous commit, but correctly done this time 2015-05-10 19:28:17 +02:00
Florent Le Coz
8aecdc7db7 Fix the completion of /win when a listtab is open
And probably some other things that use ListTab.matching_names()
2015-05-10 19:26:23 +02:00
mathieui
dfd60426d8
Micro-optimizations on refresh
Reduce the number of calls to config.get whenever possible. Yields a
performance improvement of at least 10% for the basic use case of
"receiving a message in the current tab". Logging stuff isn’t free
either, even when the call should be a no-op, so we should try to make
the debug log less verbose.
2015-05-08 20:37:21 +02:00
mathieui
3171c96eed
Remove an accidentally added debug log 2015-05-08 13:56:38 +02:00
mathieui
5a88bd1c89
Don’t call for resize on /set 2015-05-08 01:41:03 +02:00
Emmanuel Gil Peyrot
96fdd5e769 Remove unreachable code. 2015-05-06 01:39:22 +02:00
Emmanuel Gil Peyrot
ec40090cda Add a missing “return logs” in PrivateTab while loading the logs. 2015-05-06 00:50:59 +02:00
Emmanuel Gil Peyrot
9770a40e5f When reading logs, don’t consider a non-existing file as an error. 2015-05-06 00:49:11 +02:00
mathieui
ae7c506477
Display the MUC-related error messages inside the MUC 2015-04-28 17:44:03 +02:00
mathieui
39c01fe3b6
Fix MUC private messages
(bug introduced in 1c9257)
2015-04-16 14:06:00 +02:00
mathieui
e78ed92ba3
Fix #2714 (make bare /bookmark use the current room password if there is one) 2015-04-14 01:34:24 +02:00
mathieui
64ec234f6b
Fix #3043 (add a hint about /access when receiving a sub request) 2015-04-13 18:42:39 +02:00
Florent Le Coz
5cc714a327 “Disconnected from server” message is now an error only if we didn't ask for it 2015-04-13 18:07:58 +02:00
mathieui
91fde24388
Display error messages inside a conversation
if the error has the same id as a sent message, it will be displayed
    with a cross where there is usually a checkmark (ack), and the
    received error will be appended to the message, in red.
if it does not have a know id, it will be added as another message to
    the conversation, without a nick, and in red.
2015-04-13 17:35:40 +02:00
mathieui
1c9257b4a2
Handle error messages for real 2015-04-13 15:24:12 +02:00
mathieui
83113d42fc
Add a "." shortcut to /set in order to set the section for the current tab JID
e.g. /set . notify_messages false would set the option for a section
named after the current tab.
2015-04-13 14:31:35 +02:00
mathieui
c8caccc9a1
Fix a bug introduced in ee6c7d3
(the command args parser would never parse three args, making /set
unable to set section-specific options)
2015-04-13 14:28:52 +02:00
mathieui
8f373ccb0e
Fix #3029 (reset completion when a command is executed) 2015-04-12 18:24:21 +02:00
mathieui
abc3af1bac
Allow /set option=value
/set displays its results in the form “option=value”, so allowing the
command to interpret the same format as a valid command is only logical
(and allows quick copy/paste and edit).
2015-04-12 18:14:25 +02:00
mathieui
ee6c7d374a
Fix #3035 (display config values on empty /set) 2015-04-12 18:10:33 +02:00
mathieui
190c7a4a7b
Save the bookmarks after changing the storage method
also fix a check that would make the handler never trigger…
2015-04-10 17:19:18 +02:00
Florent Le Coz
7b05fa47c1 Do not traceback on /set without any argument 2015-03-18 14:25:24 +01:00
Florent Le Coz
1a8b4eaebe The /list command should list rooms on the given fulljid, not just the bare jid 2015-02-26 03:16:42 +01:00
mathieui
4fd222a493
Remove the unused "logfile" option and do not append 'logs' to every log path 2015-02-21 23:17:59 +01:00
mathieui
1209bd94b6
Add a -c/--check-config option to check the config file
It displays the missing options and the ones which are changed
from the default values.
2015-02-21 23:16:52 +01:00
mathieui
5fc1f9728a
Fix a bug in /bookmark 2015-02-21 22:05:32 +01:00
mathieui
2583b6a934
Add a force_remote_bookmarks option 2015-02-21 22:04:03 +01:00
Florent Le Coz
c9a89dad87 Revert the --version thing, it is not supposed to display the software version 2015-02-16 20:41:35 +01:00
Florent Le Coz
a657d472cd Remove the optparse backward compatibility, and fix the --version feature 2015-02-16 20:33:54 +01:00
mathieui
14b58c528e
Update setup files
- remove “make uninstall” target which was broken a long time ago
- move very install action to the setup.py (alias “make install” to
  “python setup.py install”
- add some stuff to “make clean”
- update the config.py to search the default config file using
  pkg_resources (more reliable than dirname(__file__))
- install the html doc only if available
- use README.rst for the setup.py long_description

- also, update the copyright notice to 2015
2015-02-10 21:08:36 +01:00
mathieui
b376cdb35e
Fix a color not going back to normal when adding a row in the BookmarksTab 2015-02-09 23:02:26 +01:00
mathieui
9141e0c4d3
Add a bookmarkstab (fixes #2004)
now we can edit stuff, save or cancel those modifications, and change
the chose storage easily
2015-02-09 22:35:41 +01:00
mathieui
2da4474d6a
Refactor /bookmark to avoid code duplication 2015-02-09 22:35:41 +01:00
mathieui
6d6c38a82a
Do not enable the cursor during full screen redraw
(and restore it afterwards)
Could take care of some refresh issues with the position of the cursor
2015-02-09 22:35:41 +01:00
mathieui
9b773e6909
Change the bookmark interface
move the modulename to bookmark → boookmarks
add a bookmarklist class with
remove module-level variables
do a features check on startup before trying to fetch
    the bookmarks
2015-02-09 22:35:41 +01:00
mathieui
235fab4e9c
Fix some docstring spelling 2015-02-08 15:04:40 +01:00
Eijebong
5da85b94b3 Add a random arg to /color 2015-02-03 20:07:13 +01:00