Commit graph

1663 commits

Author SHA1 Message Date
mathieui
587450939b Fix a bug introduced in ca0950d 2014-04-05 17:54:24 +02:00
mathieui
673788bf46 Split the Core class
Although the logic stays the same, and everything is put back together
in a single class.
2014-04-05 17:50:50 +02:00
mathieui
38061a6397 Improve /bookmark *
- /bookmark{_local,} * now keeps the order of the tabs, and puts the
  currently non-opened tabs at the end of the list.
- also fix a bug in remote bookmark saving
2014-04-05 14:19:22 +02:00
mathieui
d2de6236f2 Enable XEP-0198 (Stream Management) 2014-04-04 01:13:36 +02:00
mathieui
cbc805b6d5 Fix a hidden traceback on groupchat messages 2014-04-04 00:42:12 +02:00
mathieui
695877ba2b Do not log correction errors in the error log anymore 2014-04-04 00:25:46 +02:00
mathieui
ca0950db07 Remove unused imports
(thanks eijebong)
2014-04-04 00:24:16 +02:00
mathieui
b6d6070751 Update the ugly timestamp fixes for better DST detection 2014-04-03 01:33:59 +02:00
mathieui
ace9fc6661 Fix #1998, #2439 (reset chat state status) 2014-04-02 21:53:12 +02:00
mathieui
c9069ce623 Fix #2377 (send back unavailable presence on message from unknown room) 2014-04-02 21:40:58 +02:00
mathieui
52e6334c8c Fix #2340 (change tab priority when the input is not empty) 2014-04-02 21:33:17 +02:00
mathieui
65c247399d Fix #2323 (implement XEP-0012 last activity)
TODO: check if this method of setting activity isn’t a bit heavy.
2014-04-02 01:04:53 +02:00
mathieui
b042a07c69 Fix activation of mood/activity which was inverted 2014-04-01 23:55:26 +02:00
mathieui
a6ffc46827 Fix common.py for OLD python3 versions 2014-04-01 23:25:21 +02:00
mathieui
09254dabc7 Fix the roster offline show toggle 2014-04-01 23:18:44 +02:00
mathieui
02d9fd9ad4 Fix #2462 (wrong timezone in the logs)
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-04-01 00:03:29 +02:00
mathieui
a0c7155140 Fix a traceback with broken roster items
only happens with buggy servers (hello ejabberd)
2014-03-31 22:19:42 +02:00
mathieui
c537485c0d Fix #2493 (private tab displaying a join on /nick) 2014-03-28 01:01:24 +01:00
mathieui
f7294b29e4 Improve dynamic conversation tabs
Add color to the info messages
Unlock the tab when the locked resource goes offline
2014-03-28 00:53:18 +01:00
mathieui
c2d9151f38 Returning the value fetched with RawconfigParser.getint is actually quite useful
…………………………
2014-03-28 00:30:12 +01:00
mathieui
0ee19d51eb When doing a self.config.set in a plugin, save the config too 2014-03-27 23:09:13 +01:00
mathieui
8d4202501d Use RawConfigParser.get{int,bool,float} whenever possible
config.get('option', 'value').lower() == 'value' is just ugly and
stupid, especially for bool.

One if in basetabs:556 was also missing a comparison, leading to True
whenever the option was set.
2014-03-24 23:25:06 +01:00
mathieui
6b1e3dd4ac Allow opening a static conversation even when a (dynamic) conversation with the contact is already open 2014-03-23 01:06:15 +01:00
mathieui
5c9dd44037 Add jid info to the unlock messages 2014-03-23 00:47:05 +01:00
mathieui
fba511e266 Notify the user whenever the lock state of a dynamic conversation changes 2014-03-23 00:38:33 +01:00
mathieui
186803d9a9 Fix formatting, some typos, and unused code, and add docstrings
- 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-03-23 00:15:01 +01:00
mathieui
918e15d178 Fix a hidden traceback (NS_MUC_USER not exported in tabs/) 2014-03-22 17:20:15 +01:00
mathieui
1c621caae1 split the "tabs" module into separate files
- todo: write a common import file to avoid duplicating the imports
2014-03-19 02:22:25 +01:00
mathieui
be74128cb7 small refactor
- add a get_tabs(cls) method to avoid manual filtering
- move some stuff to avoid cyclic dependency hell between tab classes
2014-03-19 01:04:51 +01:00
mathieui
109b4aa1f4 Parse message timezones correctly 2014-02-23 20:30:55 +01:00
mathieui
d165f13a81
Bump dev version 2014-02-22 14:28:08 +01:00
Emmanuel Gil Peyrot
a64dd02118 Remove the dependency on poezio from xhtml.py 2014-02-22 01:11:57 +01:00
Emmanuel Gil Peyrot
9240bc3964 Move the XHTML-IM parser to SAX, to make it output a correct formatting, fixes #2239 and many more 2014-02-22 00:56:14 +01:00
mathieui
8ca738e8a9 Fix #2474 (bans aren’t logged) 2014-02-22 00:19:22 +01:00
mathieui
a9f0607123 Fix #2470 (server_cycle joining the wrong room with domain-only muc) 2014-02-20 08:39:40 +01:00
mathieui
35f3f53334 Fix a traceback in the commandinput
When the connection lags and the user presses tab,
poezio will insert a tab inside the input, wich has now
a specific formatting. This caused poezio to crash.
2014-02-17 21:44:40 +01:00
mathieui
4645bd7a2f Documentation update
ssl page (img & ref)
theming (compile errors, format and typos)
2014-02-17 20:21:54 +01:00
mathieui
384fd3e029 Call on_gain_focus on the new current tab after closing a tab 2014-02-14 00:59:59 +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
f43f06214e Fix #2458 (correctly display non-groupchat room messages) 2014-02-12 23:36:58 +01:00
mathieui
0320ee16d4 Remove the simple blocking warning (useless) 2014-02-04 20:17:03 +01:00
mathieui
2b9fb90ca7 Fix #2418 (Wrong character count in input with copy/pasted tabulations)
- Replace tabulations in the input by highlighted “t”s
- More readable, and less messy to deal with.
2014-02-03 23:57:18 +01:00
mathieui
199ac46d90 Fix #2208 (time_marker shows an useless timestamp) 2014-02-03 23:37:22 +01:00
mathieui
fe4404d3f0 Fix #2424 (actualize --MORE-- when doing /topic) 2014-02-03 22:51:08 +01:00
Florent Le Coz
925ea453f3 Do not crash on /names with invalid affiliations 2014-02-03 21:35:58 +01:00
mathieui
20e5c69503 Do not unlock a tab when receiving a presence from the same resource
(makes OTR bug)
2014-02-03 08:40:32 +01:00
mathieui
bf682651e0 Date the log records (error.log or debug logs) 2014-02-01 23:33:45 +01:00
mathieui
7c0cf0c8be Fix #2441 (don’t send chatstates in a non-chatstate conv)
Also enable chatstates when we receive them from our contacts.
2014-02-01 19:10:50 +01:00
mathieui
3fe044d5b8 Fix #2437 (show version in /self) 2014-02-01 18:34:43 +01:00