Commit graph

1964 commits

Author SHA1 Message Date
mathieui
f262d9f779 Add the last pages, and the plugin examples 2013-04-13 22:56:00 +02:00
mathieui
d676c2ee7b Move the plugins documentation
(use automodule directive & docstrings)
2013-04-13 22:33:06 +02:00
mathieui
e6cb43eeed Start the plugin documentation
(with admin.py)
2013-04-12 23:34:11 +02:00
mathieui
e341d1534e Add the XEP list 2013-04-12 21:21:39 +02:00
mathieui
975dcb4b6c Add the usage help 2013-04-12 20:52:28 +02:00
mathieui
fe16bd78cf Add keys 2013-04-10 20:05:47 +02:00
mathieui
a6862a7d5d Add the configuration section 2013-04-10 16:11:22 +02:00
mathieui
1d18f4f8d4 Add the separate accounts page 2013-04-10 01:49:09 +02:00
mathieui
4c2553bbed Add the message correction note 2013-04-10 01:42:34 +02:00
mathieui
bf8e2a942c Move images, and add SSL page 2013-04-10 01:37:23 +02:00
mathieui
1ec613b95c Somehow finish the migration of the command list 2013-04-09 22:49:17 +02:00
mathieui
fa4bcdc4a6 New (py3k) theme 2013-04-09 21:40:37 +02:00
mathieui
5d2a01caa7 Re-add the images 2013-04-08 19:18:06 +02:00
mathieui
662f9a7621 Start migrating the command index 2013-04-08 19:17:32 +02:00
mathieui
bd8d38d711 Beginning of the migration to reST documentation 2013-04-08 18:52:35 +02:00
mathieui
e5f219d43e Do not attempt to log things when use_log = false 2013-04-06 11:45:34 +02:00
mathieui
91b960b797 Handle I/O errors better
- Do not crash because of low disk space
- Notify the user whenever it happens
- A few functions now return a boolean instead of nothing
- Config.silent_set is Config.set_and_save without toggle and returning
  strings. It is used whenever we don’t need set_and_save
- Config.set_and_save now returns a tuple (that can be passed directly
  to core.information())

TODO: display the precise error to the user (instead of “unable to…”)
2013-04-05 23:57:53 +02:00
mathieui
16268ba964 Consistency 2013-04-05 15:24:04 +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
8a5a5bb644 Fix #2255 (search in input history)
- The input is split in two parts: on the left is what the user enters,
    on the right is the first match (the right part has a different
    color)
- Start and cancel a search with ^R
- Validate a search with enter, then press another time enter to send

- CommandInput and MessageInput now inherit from the HistoryInput class
  and share some methods
2013-04-04 01:03:18 +02:00
mathieui
1797043464 Remove the thread from the mpd_client
(it should be in an external tool, not _inside_ poezio)
2013-03-31 18:30:18 +02:00
mathieui
e8fae6f24c Fix #2275, ref #2229
- Refactor the message handlers to be more readable
- Add a group_corrections tab-specific option (#2229)
- Fix issues with /correct in private tabs and conversation tabs
2013-03-31 16:33:10 +02:00
mathieui
f58cd588c2 Fix some PEP issues 2013-03-30 02:22:36 +01:00
mathieui
3f3d1a0a54 Fix the help of /gaming 2013-03-28 10:49:44 +01:00
mathieui
098bc9028a Typo/traceback 2013-03-28 10:47:49 +01:00
Florent Le Coz
347e82b552 Add a (per-tab) notif_messages option to ignore MUC’s normal messages 2013-03-28 01:44:05 +01:00
Florent Le Coz
86d4874718 Revstr works in all conversation tabs now. 2013-03-18 23:08:42 +01:00
mathieui
4fe05f3c84 Set the default anonymous server to a working one 2013-03-18 16:49:07 +01:00
mathieui
c1ae17c3d2 Add a timeout in the select() in mpd_client 2013-03-17 18:42:33 +01:00
Florent Le Coz
bbe041fd58 Catch CorrectionError to avoid tracebacking when /correct fails 2013-03-16 12:16:11 +01:00
Florent Le Coz
ad04d32b48 On /exit, save the config earlier. 2013-03-16 11:58:47 +01:00
mathieui
c71dac0fdd Update CHANGELOG and list of XEPs 2013-03-14 01:21:22 +01:00
mathieui
57ce4b6fdf Fix #2265
also:
- fix Message.__str__/repr
- fix a traceback with user gaming
2013-03-13 22:49:19 +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
e4f72d05c3 Send the tune only if ther is a change from the previous state 2013-03-11 11:31:28 +01:00
mathieui
f11c15c0ce Stop broadcasting a tune if we are not playing (#1840) 2013-03-11 02:23:31 +01:00
mathieui
4deee7cb0b Implement user-tune publishing in the mpd plugin (#1840) 2013-03-11 02:09:04 +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
eb2e5825bc Disable plugins on exit 2013-03-10 23:58:20 +01:00
mathieui
f0fb3d5d7a missing space in the status plugin 2013-03-10 22:59:21 +01:00
mathieui
c33ee919ff Fix #2241 2013-03-10 22:58:42 +01:00
mathieui
d87834760f Fix #2122 (coloration of long messages)
- Add a “prepend” attribute to the Line tuple

I’m not sure of the impact of this on performance (we parse the message
yet another time)
2013-03-10 18:35:51 +01:00
mathieui
af22dd53bb fix the color of the scrolled tab with the dark theme 2013-03-10 15:35:32 +01:00
mathieui
f00dd1b8fe Fix #2254
(add a new theming option, too)
2013-03-09 22:38:31 +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
dbde08a526 Document with sphinx timed_events, common, and add methods to PluginAPI
- add methods related to timed events to the PluginAPI
- remove parse_command_args_to_alias because str.format does that, and
  better
→ update the alias plugin
2013-03-08 19:39:34 +01:00
mathieui
0a2bd90c6d Fix PluginAPI.run_command() 2013-03-08 16:55:27 +01:00