Age | Commit message (Collapse) | Author |
|
(notably, the /message one)
All JID calls in poezio’s code were already covered, but sleekxmpp does
that, too, so each jid given to sleek must be validated, otherwise an
unwanted exception may occur.
|
|
- get rid of the ugly blacklist thing that didn’t work sometimes
|
|
|
|
|
|
|
|
(sleekxmpp added JID validation, which means that JID(something) now
raises an exception if the jid is invalid, instead of failing silently and
having JID('') as a default)
|
|
- This option takes a list of words separated by colons
- All the messages containing those words will not be shown
|
|
|
|
|
|
|
|
|
|
|
|
- Add a /activity command
- Load xep_0012 on start
- Add a 'l' shortcut in the roster to get the last activity
- Using "/activity" in a direct conversation will add a message in the
conversation, and not in the info buffer.
|
|
|
|
- Add /block, /unblock, and /list_blocks commands
- Enable the commands only if the server advertises the feature
- http://xmpp.org/extensions/xep-0191.html#example-9 was not tested, but
should work (could not find a server to test with)
- Add documentation for the commands
|
|
This is in prevision of a sleekxmpp update with JID validation.
Also, comment the “server” option in the config file a bit better.
|
|
- Previously it was from lowest to highest
- Add the “Priority:” info to the “i” key in the roster
|
|
- Change the separator from _ to :
- Move the functions away in another module to avoir cluttering the
roster code
- Add a case-sensitive sort (“sname”)
|
|
- put the online contacts at the beginning of the list
- allows, e.g. jid_reverse_online_reverse, to put offline contacts at
the start of the group, in alphabetical order
|
|
|
|
- defaults to "name" (sort by group name)
- document it
- also, micro-optimize get_nb_connected_contacts()
|
|
- defaults to jid_show (which means that they are sorted into sub-groups
by show and are sorted by JID inside those)
- See the default config file or the documentation for details
|
|
Contacts are first sorted alphabetically, and then sorted again
depending on their show; since the python sorts are stable, the order
will remain and the sub-groups (corresponding to one show type) will be
sorted alphabetically too.
|
|
|
|
|
|
|
|
- document it
- works in per-tab config too
|
|
|
|
|
|
Note that a portion of text can NOT have a color AND be underlined at the
same time, but it's not really tragic (see comment in source code).
|
|
|
|
|
|
|
|
|
|
|
|
This allows the user to run the action defined on a key without having
to press that key. The completion completes all the available keys that
will have an effect.
|
|
- All functions involved return a boolean, and the core function use
that value to determine if a refresh is needed or not. (avoids useless
refreshs)
- Scrolling with PGUP/DOWN on the roster now only does _one_ action, an
not a range corresponding to the screen size (should be way faster)
|
|
- get_conversation_by_jid() now behaves like the removed name
|
|
- Put the commands and the related completions together
- Put the xmpp handlers together
- Put the curses-using functions together
|
|
- Write the config with “option = value” instead of “option= value”
- Docstring for sighup_handler
- Optimize a join() in the main loop
- Rename the verbose get_error_message_from_error_stanza() with
get_error_message()
- Remove the unused Tab.just_before_refresh() which is litterally used
nowhere in poezio
|
|
(upstream works, now)
|
|
- completion is normal with no way to change it
(shell_completion was buggy)
- remove it in the default config and in the doc too
|
|
|
|
|
|
And improve the completion in the roster (go to the resources)
|
|
- with reattempt = True & max_attempts = 0
|
|
|
|
|
|
|
|
Do not traceback when:
- The song has no album
- the song has no title
- the song has no artist
- the playlist is empty
- mpd is not playing
|