Commit graph

206 commits

Author SHA1 Message Date
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
mathieui
0cb39b32a4 Do not generate invalid jids (e.g. localpart@domainpart/)
This is in prevision of a sleekxmpp update with JID validation.
Also, comment the “server” option in the config file a bit better.
2012-08-01 20:10:00 +02:00
mathieui
9905646184 Various changes to the roster sorting
- Change the separator from _ to :
- Move the functions away in another module to avoir cluttering the
  roster code
- Add a case-sensitive sort (“sname”)
2012-08-01 14:42:02 +02:00
mathieui
c890fefbc4 Add an "online" contact sorting method
- 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
2012-08-01 01:36:18 +02:00
mathieui
71f813af28 Add a roster_group_sort option, which works like roster_sort
- defaults to "name" (sort by group name)
- document it
- also, micro-optimize get_nb_connected_contacts()
2012-08-01 01:06:57 +02:00
mathieui
1625a4f41f Add a roster_sort option to sort the contacts inside the roster groups
- 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
2012-07-31 23:40:53 +02:00
mathieui
ee97ba6b6c Make the autorejoin option work with bans, too, and fix the documentation 2012-07-31 13:38:53 +02:00
mathieui
88d32a7bc4 Add an autorejoin_delay option
- document it
- works in per-tab config too
2012-07-30 19:05:20 +02:00
mathieui
82e242305d Remove the shell_completion
- completion is normal with no way to change it
(shell_completion was buggy)
- remove it in the default config and in the doc too
2012-07-19 02:09:24 +02:00
mathieui
737c6aae43 Fix a comment in the default config file 2012-06-01 22:46:58 +02:00
mathieui
32f8ada92d Put the personal words in the last words completion (M-/)
(instead of the normal completion)
2012-05-23 16:34:07 +02:00
mathieui
12bd9b589c Add personal words completion - Fixes #1723
This commits adds a “words” variable to the configuration file. This
variable must contain a list of words, separated by colons (:).
Those words will then be completed upon tab completion in the chatrooms,
private conversations, and direct conversations.
2012-05-23 16:25:53 +02:00
mathieui
b36247e7c9 Remove the unused “port” option.
custom_port is already used instead.
2012-05-22 20:04:41 +02:00
mathieui
0f8a5abdc0 Add an option to always show the separator - Fixes #2240 2012-05-17 16:55:31 +02:00
mathieui
0c6a0abe86 Document some more options 2012-05-10 19:25:32 +02:00
mathieui
abe8c0ab71 Add a show_roster_jids option 2012-04-19 00:20:03 +02:00
mathieui
25a9a36201 Document the new options 2012-04-18 15:57:43 +02:00
mathieui
27a7bfc92c Add a whitespace_interval option 2012-03-13 18:46:02 +01:00
mathieui
5c412a66b8 Add a ca_cert_path option 2012-03-09 00:48:49 +01:00
mathieui
497e9fc685 Added doc for ignore_certificate and certificate options 2012-03-09 00:36:58 +01:00
mathieui
c7da566f0a Fixes #2324 2012-02-15 23:01:50 +01:00
mathieui
c26ff221fd Documentation update 2012-02-15 22:29:13 +01:00
Florent Le Coz
695a7ebeba Merge branch 'master' of https://git.louiz.org/poezio 2012-02-15 20:10:00 +01:00
Florent Le Coz
0606c2b351 Add the new option in the configuration file. 2012-02-15 20:09:44 +01:00
mathieui
b89cd8fd83 Fixes #2303 (add user_list_sort option) 2012-02-14 11:49:09 +01:00
Florent Le Coz
9534b5252b Add ATTENTION colors to dark theme 2012-01-27 19:35:10 +01:00
mathieui
bbcd9c631c Add an auto_reconnect option 2012-01-26 17:21:13 +01:00
mathieui
825d5a6dd1 Beep when receiving a MUC invitation (by default) 2012-01-26 10:05:34 +01:00
mathieui
8deb901253 Doc/config file for this new option 2011-11-27 13:06:49 +01:00
mathieui
d3e74edfa4 Add the new option to the default config file 2011-11-26 23:32:19 +01:00
Florent Le Coz
a40199d8ef Add an option to display vertical tabs from bottom to top. 2011-11-16 02:23:40 +01:00
Florent Le Coz
034a2bde2c Update the dark theme for the vertical tabs. 2011-11-16 02:09:31 +01:00
Florent Le Coz
1777d7414d Document the two new options. 2011-11-16 02:09:30 +01:00
mathieui
2dc4ec3bad Doc for custom_host and custom_port (config file and asciidoc) 2011-11-10 17:20:47 +01:00
Florent Le Coz
458e853874 Merge branch 'master' of https://git.louiz.org/poezio into plugins 2011-11-05 01:42:50 +01:00
Florent Le Coz
7e8ea8e47f Merge branch 'doc' 2011-11-03 03:42:19 +01:00
Florent Le Coz
ebef15ec40 Add configure and keys documentation, also edit some default configuration values. 2011-11-02 20:21:09 +01:00
Emmanuel Gil Peyrot
dac8a12abf Add a config option that display the nick in join/part/status
change/etc. in that user color. Fixes #2282.
2011-11-01 17:14:43 +01:00
Florent Le Coz
0451127ff8 Merge branch 'master' into plugins 2011-10-29 07:20:10 +02:00
mathieui
a8b3909fde French → English 2011-10-24 21:27:37 +02:00
Florent Le Coz
0764708f7b Set room to poezio@muc.poezio.eu 2011-10-16 21:55:14 +02:00
Florent Le Coz
b6cfd03300 add color for participant none in dark theme 2011-09-30 17:34:40 +02:00
Florent Le Coz
deea31d9b7 merge missing changeset from default into plugin, so both branches are up to date 2011-09-29 00:25:01 +02:00
Florent Le Coz
cb4f095291 [zorun] update man, add key bindings descriptions, etc 2011-09-29 00:18:08 +02:00
Florent Le Coz
c80022e816 merge default into plugins branch. So that branch is still up to date too 2011-09-25 20:12:43 +02:00
Florent Le Coz
fa5044f423 Create dark theme with 256 colours support 2011-09-25 20:11:10 +02:00
Florent Le Coz
674f151c38 Default theme is now ok, I think 2011-09-25 19:24:14 +02:00
Florent Le Coz
cac130e754 Autoload plugins 2011-09-24 23:44:52 +02:00
Florent Le Coz
9432c755ae Add plugins_dir to default conf 2011-09-24 22:29:02 +02:00
mathieui
2fe05e12a4 Fixes #2247 2011-09-19 01:17:01 +02:00
mathieui
7a31299292 Add a color state for disconnected rooms (Fixes #2166) 2011-09-12 10:56:02 +02:00
Florent Le Coz
eb180ed52e Add (optional) lazy resize, and also fix the screen becoming empty when resizing to a lower width. 2011-09-09 19:12:20 +02:00