Commit graph

157 commits

Author SHA1 Message Date
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
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
mathieui
2452706b90
Add a deterministic_nick_colors option (default: true) 2014-12-20 23:13:26 +01:00
mathieui
00396c158a
Fix #2847 (SASL External support)
- Add two new options, keyfile and certfile, which must be both set for
  the auth to work.
- if both are set, then poezio doesn’t force-prompt a password if there
  is none specified
- add /cert_add, /cert_fetch, /cert_disable, /cert_revoke and /certs
  commands.
- add a page of documentation on the process
2014-12-11 22:28:44 +01:00
mathieui
5b7606722e
Fix the comment on auto_reconnect too 2014-12-05 20:20:17 +01:00
Florent Le Coz
0800c666eb Set auto_reconnect to True by default 2014-12-04 15:30:18 +01:00
mathieui
a9f642f743
Extract XHTML-IM inline imags by default
- Add two new options: tmp_image_dir and extract_inline_images
- tmp_image_dir is $XDG_CACHE_HOME(usually ~/.cache)/poezio/images if unset
- Name the images from a SHA-1 of their data and their mimetype
- Output file:// links inside the message
2014-10-16 18:56:12 +02:00
mathieui
5a5d5812ed
Add an open_all_bookmarks option
this option determines if the non-autojoin bookmarks will
be opened on startup or not.

It is false by default.
2014-10-12 23:06:44 +02:00
mathieui
d95ec953c3
Fix the doc for remote_fifo_path (fixes #2584) 2014-09-17 17:17:47 +02:00
mathieui
5999b71c41 Fix #2106 (implement message delivery receipts)
- two options request/ack_message_receipts
- two new theme parameters : CHAR_ACK_RECEIVED and COLOR_CHAR_ACK
- if a message has a receipt, the character is displayed between the
  timestamp and the nick, using the color
2014-04-27 16:32:03 +02:00
mathieui
a511d5a84d Document the create_gaps option
and sets the default value to false, to keep coherent with the code.
2014-04-15 23:05:33 +02:00
mathieui
a784216196 Fix #2440 (highlight composing tabs)
- add a show_composing_tabs option, default value: "direct"
- todo: find a nice different color for this
2014-04-15 22:57:44 +02:00
mathieui
f165d3a4a0 Set display_user_color_in_join_part to true by default 2014-04-09 01:45:02 +02:00
mathieui
fe072a847b Fix the dark theme with the new “non-empty-input tabs”
that was ugly
2014-04-09 00:26:31 +02:00
mathieui
1ce485c6fa Fix #2354 (logs are badly colored with xhtml history)
- now it should work properly
- add a COLOR_LOG_MSG theming option, used both for local and remote
  history
2014-04-07 01:25:30 +02:00
mathieui
bb00727e78 Update setup.py (from what was changed for the pypi release)
also remove old stuff from the default config
2014-03-21 00:54:46 +01:00
Mathieu Pasquet
05a9e03d53 Add a configurable way of setting cipher suites
And put reasonable defaults
2014-02-13 00:50:32 +01:00
mathieui
7e3efccb53 Fix #2407 (unencrypted connections)
Add a force_encryption option set to true by default.
2014-02-13 00:48:19 +01:00
mathieui
a3a4bb34dd Forgot the __init__.py for the poezio_themes package 2013-08-10 20:40:58 +02:00
mathieui
a50b32896d Move the most relevant options to the top of the default config file
(people may not want to read the whole file to setup their account)
2013-08-09 23:26:23 +02:00
mathieui
31c2e23c4c Logs errors by default, in a dedicated file
- log_errors option, true by default
- errors go in log_dir/errors.log (so $XDG_DATA_HOME/errors.log
    by default)

This should help a lot for debugging, and provide a way for people
to easily give debug traces without useless or personal infos.
2013-08-03 19:27:25 +02:00
mathieui
2b4c06b6f8 Fix #2315 (send pings to the server every minute to check the connection)
add two new options:
connection_timeout_delay and connection_check_interval
2013-06-11 00:03:48 +02:00
mathieui
97d3690aea Implement Message Carbons (XEP-280)
- Add an option enable_carbons (defaults to false)
- Make a disco on non-roster entites to determine if the message
  commes from a muc private chat or not.
2013-06-10 23:49:10 +02:00
mathieui
e6d116ade5 Update manpage 2013-05-26 21:02:10 +02:00
mathieui
48614d6cf0 Fix #2286
Also fix the copy of the default config if -f is used
2013-05-06 20:23:33 +02:00
mathieui
26fa83dd9a Add an option to choose between shared and separate input history
- separate_history, defaults to false
2013-04-04 01:11:56 +02:00
mathieui
4fe05f3c84 Set the default anonymous server to a working one 2013-03-18 16:49:07 +01:00
mathieui
d797b1fd65 Implement user gaming (xep-0196)
- configuration options
- theming options
- /gaming
2013-03-12 16:12:47 +01:00
mathieui
cec1151ecb Fix #1839 (User mood/activity)
- Added as always new theming variables:
    CHAR_ROSTER_MOOD, CHAR_ROSTER_ACTIVITY (a SNOWMAN!)
    COLOR_ROSTER_MOOD, COLOR_ROSTER_ACTIVITY
- Added two new notification types in Theme.INFO_COLORS (mood/activity)
- Added new configuration options:
    display_mood/activity/tune_notifications (those can be set for a
    specific JID)
    enable_user_tune/nick/activity/mood
- Added /activity and /mood commands, with completions
- Moved the old /activity to /last_activity
- Details are show in the ContactInfoWin if there is room, or with "i"
  on a contact in the roster.
2013-03-11 23:06:52 +01:00
mathieui
d2d0416214 Fix #1841 (User nickname)
- add a use_pep_nick boolean option
- use it as a nickname for roster contacts, but it does not
    supercede the user-defined handle
- send a <nick/> at the beginning of a normal chat
- not implemented in MUC (wontfix)
2013-03-11 17:54:29 +01:00
mathieui
34af8f69c7 Add a receive_user_tune option (fix #2261) 2013-03-11 11:43:32 +01:00
mathieui
71c35eb279 Implement XEP-0118 (Fix #1840)
- Add new theming options
- Show the tune in the roster (both in contact line and infowin)
- add an option to show tunes as info messages
2013-03-11 02:04:20 +01:00
mathieui
af22dd53bb fix the color of the scrolled tab with the dark theme 2013-03-10 15:35:32 +01:00
mathieui
9885203c67 Update the plugins to use the PluginAPI
Also:
- Add get_conversation_messages() to PluginAPI
- Make plugins_autoload colon-separated instead of space-separated
    (for consistency)
- Replace a JID() with a safeJID() in the uptime plugin
2013-03-08 22:53:35 +01:00
mathieui
f40cfe2669 Add a show_s2s_errors config option (cf #2182) 2013-03-04 16:01:35 +01:00
mathieui
e861290d10 Add a plugins_conf_dir option 2013-03-03 00:24:18 +01:00
Florent Le Coz
1e60dc2cea Add the color of the resource (for dynamic conversations) in the dark theme. 2013-01-26 05:44:08 +01:00
mathieui
d0a8304e55 Add the save_status, status, and status_message options
(the name show is not intuitive, so I used status and status_message)
- The status is send when connecting, and is the same used when joining
  rooms
- save_status is true by default, and will make poezio save the status
  whenever it changes
- status and status_message are empty by default
2013-01-02 19:07:36 +01:00
mathieui
a1607c4c6e Fix #2082 (xml:lang)
This is now already done in sleekxmpp, so I added a “lang” configuration
option. TODO: use the locale of the system.
2012-12-31 14:00:09 +01:00
Florent Le Coz
e52992cb6c Fix the color of the information text in the dark plugin. 2012-12-17 05:10:43 +01:00
mathieui
08ca9bd5c5 Sort the configurations options by name in the documentation
(instead of chaos)
2012-12-15 22:57:57 +01:00
Florent Le Coz
786f0e7222 Introduce a special "reverse" value for the COLOR_HIGHLIGHT_NICK theme option.
If COLOR_HIGHLIGHT_NICK = "reverse", the highlight nick will be in reverse
mode.
fix #2165
2012-12-15 02:42:30 +01:00
Florent Le Coz
e2592f5cdf Add a new show_timestamps option to hide/show timestamps in text buffers. 2012-12-07 23:39:49 +01:00
Florent Le Coz
14cb5128b3 Fix a typo in the default conf 2012-11-30 15:14:47 +01:00
Florent Le Coz
5bfbbb2c24 Add a hide_user_lits option that does what it says.
fix #2170
2012-11-30 15:14:47 +01:00
mathieui
6781f67e80 Preload history into discussion windows (à la mcabber)
- New option load_log defaulting to 200 to indicate the number of lines
  to be loaded
- It’s still very raw, and the format of the message does not match the
  format of the normal room history, for example
- Works in the Private chat, MUC, and Conversation tabs

Thanks to labedz <github@labedz.org> for the original code
2012-11-11 16:01:53 +01:00
Florent Le Coz
7f7ec57f40 Add a add_space_after_completion bool option.
fix #2150
2012-11-06 18:02:31 +00:00
mathieui
09ff076bc4 Rewrite the tab number handling
- Now the tab number is computed instead of assigned and fixed
- Added tabs.GapTab to keep the old behaviour
- Added a create_gaps option, defaults to true (may change in the
  future)
- If there are gaps before using /set to change the option to false,
  they will be removed.
(this is a preparation for the move_tab command)
2012-09-26 01:54:20 +02:00
Johannes Krude
affdcb07b4 added muc_history_length support 2012-09-02 14:06:04 +02:00
mathieui
8c0b3f8ae5 Add a filter_info_messages option
- This option takes a list of words separated by colons
- All the messages containing those words will not be shown
2012-08-05 13:08:06 +02:00