summaryrefslogtreecommitdiff
path: root/src/common.py
AgeCommit message (Collapse)Author
2014-04-01Fix #2462 (wrong timezone in the logs)mathieui
Now everything in the logs is in UTC time, and is converted when read (also, actually return the logs after loading them instead of not doing anything)
2014-03-23Fix formatting, some typos, and unused code, and add docstringsmathieui
- No idea why subclasses of ConversationTab were working before (info_header was overriden with None in __init__) - Or why the date parsing worked (“Exeception”) - Some more reformatting with pylint indications - Document each module in the tabs module
2014-02-23Parse message timezones correctlymathieui
2013-08-16Fix an issue with shlexmathieui
(well, sort of fix)
2013-08-15Move shlex to poezio_shlex to avoid conflicts with the stdlibmathieui
2013-08-05Fix common.shell_split with empty stringsmathieui
2013-08-01Fix #2049 (get the current completed argument)mathieui
A command argument can now be completed even if it isn’t the last one in the input. - Add a new method Input.new_completion Almost like the old auto_completion method, except taht it takes another argument: argument_position, which is the argument to be completed. - Methods using the old completion method still work - All completion methods in poezio now use the new one if necessary - Further details can be found in the docstring of new_completion
2013-05-24Fix a stupid traceback (common.datetime_tuple)Florent Le Coz
2013-03-31Fix #2275, ref #2229mathieui
- 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-12Implement user gaming (xep-0196)mathieui
- configuration options - theming options - /gaming
2013-03-11Implement XEP-0118 (Fix #1840)mathieui
- 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-08Document with sphinx timed_events, common, and add methods to PluginAPImathieui
- 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-04Fix #2126 (per-server configuration sections)mathieui
(also move replace_key_with_bound() to core.py, to prevent having common.py depending of config.py)
2012-09-13Fix TBs when the system is not in utf-8 by defaultmathieui
(force every file opening to be with the utf-8 encoding)
2012-08-06Add a common.safeJID function, and use it everywheremathieui
2012-08-02Implement XEP-0012 (last activity) ; Fixes #1870mathieui
- 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.
2012-07-30Add an autorejoin_delay optionmathieui
- document it - works in per-tab config too
2012-07-29/bind with only one argument now resets the bindingmathieui
2012-01-26Fix the alias pluginmathieui
2011-11-18Add a simple args parser for commands in common.pymathieui
2011-11-18Add some __doc__ to the parse from/to str/secs methodsmathieui
2011-11-15Add the 's' modifier (allow a string to be "50s1d1d4m1s")mathieui
2011-11-15Also parse strings with only seconds properlymathieui
2011-11-15Some utility functions to go from/to seconds/stringsmathieui
2011-11-15Fixes #2279mathieui
2011-11-06Code cleanup (unused import, variables, undefined names, etc…)mathieui
2011-09-21Handles 256 colors, easier theming and more flexible way to define colorsFlorent Le Coz
Doesn’t run yet if term doesn’t support 256 colors, I know (thus the branch "256")
2011-09-11Change license to zlib (MIT sucks :()Florent Le Coz
2011-09-06Change license to MITFlorent Le Coz
2011-07-03Key bindings \o/Florent Le Coz
2011-05-19Fix the argument split issuesFlorent Le Coz
2011-05-10Fix the /version command in mucs (and globaaly) & improve shlex parsingmathieui
2011-03-07very little cleanupFlorent Le Coz
2011-02-13Make it possible to define bold in the theme filesFlorent Le Coz
2011-02-10Make the shell split do a normal split if the syntax is wrongFlorent Le Coz
2011-01-22fix get_output_of_command. fixed #2018Florent Le Coz
2011-01-09restaure software version and local timelouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2011-01-01update copyright datelouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-12-07(link mauve) fixed #2041 use JID class everywherelouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-11-09fix some little issues. Rename gui to core, use logging lib instead of the ↵louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
custom debug option. Add a -d option
2010-10-27New and better keyboard shortcutslouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-10-04update e-mail address and READMElouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-09-26Basic implementation of the roster and one to one conversationslouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-09-12don't crash on dev version (with debug()s), by writting debug in /tmp/louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-09-03python 3 only. Fixes all EncodingError bugs :))))louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-08-31Switch to Sleekxmpp. fixed #1768louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-08-14Fix a little bug on completion due to the separating linelouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-08-04fixes the sys.excepthook thread bug, and fix the traceback on joining a room ↵louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
with non-ascii chars
2010-08-04fix ctrl+x, automatic-completion. Add auto-rejoin (fixed #1662)louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-07-26Support old and deprecated XEP 0091 because it's still used on buggy servers ↵louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
like @conference.codingteam.net. Fixed #1677