mathieui
c8b4d20a14
Update stuff to say 1.0-dev
2015-08-01 20:32:21 +02:00
mathieui
6820743033
0.9 Release
2015-07-31 21:35:02 +02:00
mathieui
3633072b36
Fix #3105 (/message completion is slow)
...
sorting things several times is slow, and our roster wrapper is even
slower. remove the overly slow code until the roster wrapper is
rewritten (do we even need this level of detailed sorting in the first place?)
2015-07-31 20:47:01 +02:00
Florent Le Coz
d226c60997
Only reset the self-ping event timer if there was already an enabled timer
...
Otherwise we could, for example, enable a self-ping event on non-joined
rooms where we just displayed an error message. And that’s bad.
2015-07-31 16:49:50 +02:00
mathieui
f2c8c328e6
Add a selected_row attribute to the roster tab
...
(for easier API access)
2015-07-30 21:12:47 +02:00
Florent Le Coz
9a4dc50078
Fix some display issue in the rostertab
...
fix #3076
2015-07-24 02:35:22 +02:00
mathieui
ce854e1712
Schedule a resize when hide_user_list changes
2015-07-22 20:04:29 +02:00
Georg Lukas
65c6d600df
/cycle: explicitly set MUC JID and nick
2015-07-21 19:43:21 +02:00
Georg Lukas
304801ebe0
self-ping: increase timeout to 60s
2015-07-21 19:43:21 +02:00
Georg Lukas
a3cefc7af3
self-ping: /cycle instead of /part
2015-07-21 19:43:21 +02:00
Georg Lukas
4e8cef2a77
reset self-ping timer on every MUC message
2015-07-21 19:43:17 +02:00
Florent Le Coz
1f47557e98
Disable/enable carbons immediately when we change the enable_carbons option
2015-07-21 18:04:18 +02:00
Florent Le Coz
729bed7aec
Always register the handlers for carbon, and only once
...
The handlers are always there, but we only get carbons events when the
server sends them to us, which is only when we enabled them.
fix #3104
2015-07-21 18:02:37 +02:00
mathieui
1d74d67c1e
Fix wrong DNS resolution when reconnecting
...
even if custom_host was set, poezio would use the dns records for the
reconnection
2015-07-20 23:55:10 +02:00
mathieui
f9bb45f6e5
Fix an ordering issues in the MUC userlist
...
users changing affiliations or roles weren’t moved around properly
2015-07-17 22:17:49 +02:00
mathieui
007459810a
Add a missing nick size bound, which caused text to overflow
...
for nicks with length > 10 and messages longer than one line, it would
overflow on the line below everytime.
2015-07-16 23:36:16 +02:00
mathieui
310d6630dc
Fix the initial help message
2015-07-14 16:00:01 +02:00
Eijebong
c62c5b2da7
Fix a traceback in the bookmarks tab when we do not set a nickname
...
explicitly.
2015-07-06 17:06:45 +02:00
mathieui
3b0cddd368
Micro-optimize the roster refresh
...
The roster wrapper sucks and is way too slow. Halve refresh time by more
than 50% using manually managed counters.
2015-06-27 22:39:15 +02:00
mathieui
c9aa439bbb
Add slots to the User object
...
(we can have thousands of these)
2015-06-22 00:59:06 +02:00
mathieui
79644da690
Improve the performance of the userlist refresh
...
Also only run one regex on search_for_color()
2015-06-22 00:55:21 +02:00
mathieui
0627a85483
Fix #3051 (always add an id attribute to rawxml IQ set/get)
2015-06-21 17:03:28 +02:00
mathieui
ce53874927
Call update_caps() asynchronously
...
(API changes in slixmpp)
2015-06-21 16:28:22 +02:00
mathieui
1efc45f882
Do not beep on outgoing carbons ( fix #3049 , fix #3091 )
2015-06-21 15:38:33 +02:00
mathieui
d9050e9565
Add a show_jid_in_conversations option
...
To hide or show the JID of the contact in conversation tabs.
2015-06-18 21:11:58 +02:00
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
mathieui
3c46d49704
Minor fixes to the certificate warning prompt ( #2949 )
...
- slightly lower the CPU usage (callback instead of active waiting w/ sleep)
- make the terminal beep so the user knows something happened
- prevent the user “escaping” the prompt by pressing /, s, or S
2015-01-28 09:54:30 +01:00
mathieui
eb6309da75
Remove another snippet of pre-3.4 compatibility
2015-01-21 14:19:02 +01:00
mathieui
1c5589bbd3
Make the ncurses unicode check earlier
...
and improve the message.
2015-01-20 20:35:25 +01:00
mathieui
a2678b02d9
Add a check for python ncurses unicode support
...
Exit almost gracefully instead of generating gigabytes of error logs.
TODO: pressure the python maintainers into dropping ncurses and curses
support, and use ncursesw only instead.
2015-01-20 00:57:26 +01:00
Florent Le Coz
c580840d77
Properly ignore stderr and redirect stdout when execute a command
...
fix #2933
2015-01-19 17:50:05 +01:00
mathieui
889eea463d
Fix a fallback path in bookmarks.py and use a single-dispatch function
...
(if we gave parse_from_element an Element instead of a Conference object,
it would crash)
2015-01-15 21:45:57 +01:00
Florent Le Coz
b02716ffbd
Remove the annoying (and pretty useless) warning about psi+ users
2015-01-08 16:38:11 +01:00
Florent Le Coz
b6019edfa2
Trigger a /recolor when we set deterministic_nick_colors=true
2015-01-06 01:08:05 +01:00
mathieui
741ea61454
Log the plugin errors too
2015-01-05 16:57:28 +01:00
mathieui
70536f4f0b
Fix #2578 (disable roster features with anonymous connections)
2015-01-04 15:13:38 +01:00
mathieui
d809ba05bf
Do not trigger the “tab_change” event when going over a gaptab
2015-01-03 21:06:56 +01:00
Célestin Matte
8e575de52c
Fix broken CTRL+arrow key shortcuts under some terms
2014-12-31 00:06:41 +01:00
mathieui
cf04e65983
Add a callback on enable_vertical_tab_list change
2014-12-30 23:55:31 +01:00
Eijebong
71f3848706
Add a command to reload the config.
2014-12-30 22:58:22 +01:00
Célestin Matte
2a376cf419
Update color in all tabs with /color
2014-12-30 19:57:32 +01:00
mathieui
25d2bcbbff
Only graphically ack a message if it was sent by us
2014-12-30 19:54:04 +01:00
Célestin Matte
9da530f854
Make it possible to change the nick of a user not in the room, and change color of its aliases
2014-12-24 00:30:52 +01:00
Célestin Matte
0ae1ee2fbf
Add nick_color_aliases (default: true), to look for color of aliases
2014-12-24 00:29:41 +01:00
Célestin Matte
1bbdab7f12
Unset color with /color <nick> unset
2014-12-24 00:29:39 +01:00
Célestin Matte
251a10ab0d
Add a muc_color section in the config file to permanently fix a color to a nick
2014-12-24 00:28:22 +01:00
Célestin Matte
f7e7836f97
Add a /color command to fix color for a nick
2014-12-24 00:27:38 +01:00
mathieui
3c195dd9cc
Remove the remaining pre-3.4 compatibility hacks
2014-12-20 23:32:56 +01:00
mathieui
2452706b90
Add a deterministic_nick_colors option (default: true)
2014-12-20 23:13:26 +01:00
mathieui
030b4d7bcd
Do not assign the result of get_room_form because it does not return anything
2014-12-19 22:28:51 +01:00
mathieui
9acca77e12
Fix /info (9/78)
2014-12-19 22:28:36 +01:00