Commit graph

4532 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
13a61d7618 Remove support for GNOME Keyring and KWalletCLI, instead always use libsecret. 2016-11-20 21:56:26 +00:00
Emmanuel Gil Peyrot
3c48d59ed5 Remove unused xdg code and make it check for absolute paths
The xdg module has never been imported due to a catchall except clause,
so we can safely assume it was unused and untested.
2016-11-05 14:49:38 +00:00
Emmanuel Gil Peyrot
20637b2ef1 Fix Bonjour code to not rely on undeclared variables. 2016-11-05 15:16:20 +00:00
Emmanuel Gil Peyrot
32db80c7ef Replace NameError SSL with correctly-imported OpenSSL.SSL. 2016-11-05 15:07:08 +00:00
Emmanuel Gil Peyrot
2dffaa7d75 Fix NameError in Avahi code. 2016-11-05 15:06:08 +00:00
Emmanuel Gil Peyrot
73e6edd3ed Move previously-dead code in passwords. 2016-11-05 15:04:39 +00:00
Emmanuel Gil Peyrot
0bdd592e4d Fix wrong variable names and forgotten imports in message_archiving. 2016-11-05 15:02:46 +00:00
Emmanuel Gil Peyrot
f25590d212 Use the correct ctx variable name in jingle_xtls. 2016-11-05 14:58:34 +00:00
Emmanuel Gil Peyrot
9440512f2b Add forgotten variable declaration in except. 2016-11-05 14:57:13 +00:00
Emmanuel Gil Peyrot
6f1bad3eb5 Fix NameError in DataForms with a media type. 2016-11-05 14:55:48 +00:00
Emmanuel Gil Peyrot
71c01ad03e Remove unreachable code, and simplify is_valid_bool. 2016-11-05 14:53:48 +00:00
lovetox
f961e0be9a Add MAM Preference Dialog 2016-10-31 02:11:46 +01:00
lovetox
7cb31512c6 Add no-store hint to ChatStates 2016-10-18 16:26:03 +02:00
lovetox
705206cf83 Fix syntax error 2016-10-17 02:44:58 +02:00
Yann Leboulanger
c841c7973d prevent traceback when a wrong timezone arrive. 2016-10-16 22:40:41 +02:00
lovetox
b434130060 Add additional_data to ChatEvent 2016-10-13 00:40:02 +02:00
lovetox
0e6f7908c9 Support old print_status tag in Bookmarks 2016-10-10 20:54:15 +02:00
lovetox
4c482cbfe8 Store optional fields correctly in Bookmarks 2016-10-10 19:10:18 +02:00
Yann Leboulanger
e5b69fae5c start running tests 2016-10-10 15:22:51 +02:00
lovetox
e7479c52e2 [pitchum] Fix datetime parsing - Fixes #8444 2016-10-08 17:38:10 +02:00
lovetox
a8586ec20a Fix missing time reference - Fixes #8399 2016-10-03 16:34:16 +02:00
Linus Heckemann
1b4360a94e Fix resolver test code 2016-10-02 14:15:15 +01:00
Linus Heckemann
17c482205e Remove other resolvers 2016-10-02 14:09:06 +01:00
Linus Heckemann
a2e5924146 Default to GioResolver 2016-10-02 14:02:04 +01:00
Linus Heckemann
e4eb2d98e0 Add GIO-based resolver 2016-10-02 14:01:12 +01:00
lovetox
b7932e15ea Use UTF-8 to store VCards
If we dont specify the encoding, the system default is used which leads to encoding/decoding errors, depending on what the actual system default encoding is.
2016-09-30 17:03:30 +02:00
Yann Leboulanger
d0ace18434 default connection is now only done with TLS. No more legacy SSL or plain connection. Fixes #8390 2016-09-18 15:18:30 +02:00
Yann Leboulanger
57b2f234c1 Limit time to reconnect to 5 minutes. Fixes #8393 2016-09-18 15:15:10 +02:00
tmolitor
d306a39e1e Correctly append shown value to list 2016-09-28 01:20:17 +02:00
lovetox
93b1284fa5 Convert basestring to str
Type basestring doesnt exist in python3 anymore
2016-09-25 23:21:51 +02:00
tmolitor
86183298a5 Make complete profile separation configurable via commandline switch.
Use -s or --separate to use the new complete profile separation or omit this switch to retain the old behaviour.
2016-09-06 23:02:24 +02:00
Yann Leboulanger
f3d19383f9 correctly update database schema 2016-09-06 21:48:41 +02:00
tmolitor
a4bda85428 Remove ternary operator, fixes #8388 2016-09-06 16:19:44 +02:00
tmolitor
76530a429a Make transition to new profile path handling more smooth for the default profile. 2016-09-05 23:58:59 +02:00
tmolitor
556afac134 Added ability to use additional_data for directly sent messages not coming from history db. 2016-09-05 23:07:31 +02:00
tmolitor
95eb7402a4 Also write additional_data to history db when mam messages are received. 2016-09-05 21:17:46 +02:00
tmolitor
7950146105 Minimize groupchats by default, fixes #8369 2016-09-05 19:02:43 +02:00
tmolitor
efa8bb6598 Some more points to add the additional_data property 2016-09-05 16:12:23 +02:00
tmolitor
86345055cc Added ability to read additional_data from history db and use it in gui extension point print_special_text.
I also found an iterator reuse in common/logger.py, maybe this fixes bug #8277
2016-09-05 03:25:37 +02:00
tmolitor
235cadd5cc Corrected last commit and added ability to set and log additional_data for outgoing messages as well (and for gc messages, too) 2016-09-05 01:43:39 +02:00
tmolitor
8bfde7d924 Some more improvements to gajim's path management 2016-09-05 00:10:50 +02:00
tmolitor
065d08cebf Honor profile given on commandline for plugin dir and history db and more.
Also added new property 'additional_data' to message event objects. Changes to this attribute (a dict) are passed on from event to event and are also written to the history db as json string (reading of those values isn't implemented yet).
2016-09-05 00:01:29 +02:00
tmolitor
33fff8317d Some sensible default values to give users more privacy and less annoyance 2016-08-08 15:12:28 +02:00
Philipp Hörist
e645f4e838 add new event for gc after message stanza is built so it can be modified by plugins 2016-06-24 20:12:37 +02:00
tmolitor
eef97d989f made Link Mauve's patch python 3 ready 2016-08-06 23:46:57 +02:00
Emmanuel Gil Peyrot
873fa6fdae Make the port optional in <streamhost/>
XEP-0065 section 9.2 says “The "port" attribute specifies the port to
connect to.  This attribute MAY be present.  The value MUST be a valid
port number in decimal form.  If not specified, the port value is
"1080" (in accordance with RFC 1928).”

This fixes a traceback when a streamhost is advertised with the default
port.
2016-08-02 14:09:22 +01:00
tmolitor
ac729ce050 Some more bugfixes (see 0.16 branch) 2016-07-17 14:29:53 +02:00
Yann Leboulanger
06a477da8a ability to compite the installer for gtk3 version 2016-07-07 22:41:35 +02:00
Yann Leboulanger
000f7cfa8d fix attribute name 2016-05-21 18:55:45 +02:00
Nathalie Rud
5988aa3aa8 Fix exception in _parse_srv_result_nt() (on Windows)
Sometimes 'result' parameter is byte[] which causes exception:
TypeError: 'str' does not support the buffer interface
2016-04-27 02:53:43 +03:00