Commit Graph

11106 Commits

Author SHA1 Message Date
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 9db1ba1d05 Correctly restore disabled status for emoticons in pref window 2016-10-16 10:37:08 +02:00
lovetox 14054cc0df Dont leak presence with ChatStates 2016-10-13 02:07:34 +02:00
lovetox 194508d405 Workaround for strftime bug on Windows
see: http://bugs.python.org/issue8304
2016-10-13 01:43:26 +02:00
lovetox b434130060 Add additional_data to ChatEvent 2016-10-13 00:40:02 +02:00
Linus Heckemann 17cd14a5fa Allow startup even with malformed plugin manifests 2016-10-11 09:51:31 +01: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
Linus Heckemann 3dcdee70ba Fix fuzzy time 2016-10-10 13:47:56 +01:00
lovetox e7479c52e2 [pitchum] Fix datetime parsing - Fixes #8444 2016-10-08 17:38:10 +02:00
lovetox bc3210ec65 Fix layout in AddNewContact window 2016-10-05 22:51:06 +02:00
lovetox 80de2e45c6 Fix layout in Plugins Window 2016-10-05 21:34:00 +02:00
lovetox b9ae874a32 Add transient to overwrite status message dialog 2016-10-05 20:26:25 +02:00
lovetox 43129638c4 Move status message TreeView code into glade file, fix layout 2016-10-05 20:20:42 +02:00
lovetox 9c29b32384 Fix layout in manage sounds window and add transient 2016-10-05 11:30:18 +02:00
lovetox 6891cc49f4 Format ChangeNick message
without \newlines the input dialog gets really big
2016-10-04 23:54:52 +02:00
lovetox 7151fef0ec Fix NoneType Error introduced in a10e0df42f31 2016-10-04 22:25:44 +02:00
lovetox 922762afa5 Default to RosterWindow as transient for CommonInputDialog 2016-10-04 22:05:18 +02:00
lovetox a3fc0b6f5c Better alignment for elements in ChatWindow and GroupChatWindow 2016-10-04 18:50:59 +02:00
lovetox 16fd31ca37 Restore correct window size in single window mode 2016-10-03 22:43:17 +02:00
lovetox a8586ec20a Fix missing time reference - Fixes #8399 2016-10-03 16:34:16 +02:00
lovetox fa75bdeddd Display version/os information correctly in VCard window
On contacts with multiple resources, not all information was displayed.
2016-10-01 17:35:10 +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 506e3f285b Fix alignment in VCard window and add LinkButtons for email 2016-10-01 14:51:22 +02:00
lovetox 1e073b622f Add timeout to progressbar in VCard window
The progressbar was looping forever when someone sent us an invalid time result
2016-09-30 19:38:00 +02: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 4ab83c16ce Inconify Gajim instead of hiding the window - Fixes #8374
When hiding the Window the app is removed from the Ubuntu Launcher and it cannot be restored
2016-09-27 01:26:04 +02:00
lovetox 9c00087c9a Refactor scrolling in XMLConsoleWindow
Fixes automatic scrolling for the XMLConsole in GTK3
2016-09-26 10:46:22 +02:00
lovetox 9dc2cef6ac Add methods for scrolling in a GtkScrolledWindow 2016-09-26 10:44:34 +02:00
lovetox f5122ff480 Catch keypress event in discovery window 2016-09-26 01:09:52 +02:00
lovetox e6707930f4 Fix button text in discovery window 2016-09-26 00:33:03 +02:00
lovetox d5526af3d0 Dont use deprecated method to set tooltip alignment 2016-09-25 23:44:38 +02:00
lovetox 93b1284fa5 Convert basestring to str
Type basestring doesnt exist in python3 anymore
2016-09-25 23:21:51 +02:00
lovetox c126d36d6b Dont use deprecated method to set tooltip alignment 2016-09-25 23:07:46 +02:00
lovetox 80bf5183c9 Replace deprecated gtk-dialog-authentication icon 2016-09-25 17:13:21 +02:00
lovetox de9a1ce069 Add transients for some MUC dialogs 2016-09-21 20:07:37 +02:00
Yann Leboulanger b51b633d2a [gdr_gdr] Improve error message when a groupchat is in roster as a contact. Fixes #8380 2016-09-18 15:46:39 +02:00
tmolitor 7cf654cdb3 Merged... 2016-09-06 23:08:09 +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 9b294b511f fix Gajim version comparison for plugins. Fixes #8389 2016-09-06 22:49:57 +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 baff629433 Added ability to diconnect muc from tab context menu 2016-09-05 21:11:02 +02:00
tmolitor fffa50979c Added new gui extension point 'print_real_text' which is executed before the message line is printed 2016-09-05 20:24:13 +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
Jeffrey Baitis 7ef4240f63 Accidentally went with camel case here on the filename. Won't fail under windows, but will under *nix 2016-09-02 13:38:56 -07:00
Jeffrey Baitis 4a46a7a195 Modified source to work under python3 2016-09-02 13:05:03 -07:00
Linus Heckemann a826019739 Include traceback in exception logging for plugin load 2016-08-20 00:35:57 +02:00
Linus Heckemann ad1c89ce9f Output gajim version readably in case of incompatibility 2016-08-20 00:39:45 +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
Linus Heckemann 7f8e44f087 Warn about plugin load failures rather than merely debug-logging them 2016-08-07 11:59:16 +01:00
Linus Heckemann 967432c096 Fix version comparisons in plugin loader, warn about incompatible plugins 2016-08-07 11:53:49 +01: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 30c046764c forgot to import defs in the last commit 2016-07-17 14:34:55 +02:00
tmolitor ac729ce050 Some more bugfixes (see 0.16 branch) 2016-07-17 14:29:53 +02:00
tmolitor d99f190ac6 merge 2016-07-17 14:24:13 +02:00
tmolitor 79358dc7dc Small bugfix for encrypted conversations 2016-07-17 14:23:22 +02:00
Yann Leboulanger 06a477da8a ability to compite the installer for gtk3 version 2016-07-07 22:41:35 +02:00
Yann Leboulanger b353a0721a fix length of printed string in about tab of vcard window 2016-06-16 21:49:09 +02:00
Yann Leboulanger bbcd2d7886 fix about tab in vcard 2016-06-16 21:40:15 +02:00
Yann Leboulanger 02a0f25781 remember which speller language was use for each contact. Fixes #8326 2016-05-22 23:09:49 +02:00
Yann Leboulanger 4ccfaa1a97 fix listing GPG keys 2016-05-21 18:56:01 +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
Nathalie Rud 060aa01857 Fix file chooser dialog on Windows
Dropped decode_filechooser_file_paths() as with Python 3 it raised AttributeError: 'str' object has no attribute 'decode' on Windows, and  silently handled exceptions effectively doing nothing on *nix systems.
2016-04-27 02:44:13 +03:00
tmolitor 453fd46427 merge 2016-04-19 23:48:10 +02:00
tmolitor 7afbe5706e Cleaner version of the mam message timestamp fix. Fixes #8277 2016-04-19 23:43:01 +02:00
Yann Leboulanger cc46d7b7d0 call gpg with LANG=C to prevent decoding issues 2016-04-18 22:38:17 +02:00
tmolitor eba838bdac Use the timestamp of the forwarded message in mam processing if possible. Fixes #8277 2016-04-18 01:59:20 +02:00
Yann Leboulanger e585c579cb print timestamp as invisible in history window when we don't want to see it so we can search for it. See #3939 2016-04-17 20:31:19 +02:00
tmolitor fd7bebe016 small bugfix 2016-04-15 02:37:58 +02:00
tmolitor 4f8984ad7e use pixbuf.new_from_bytes() instead of broken pixbuf.new_from_data() 2016-04-15 01:37:08 +02:00
Yann Leboulanger 997e686d57 add new option to show avatar in chat tabs and window icons instead of status icon. Fixes #8320 2016-04-12 22:53:41 +02:00
Yann Leboulanger 991df175d7 don't draw groupchat iters in a callback. Draw them in main thread to prevent GTK Error 2016-04-12 21:59:57 +02:00
Yann Leboulanger 1dba4796f7 [Link Mauve] correctly send certificate fingerprint when sending a file. 2016-04-10 20:59:54 +02:00
tmolitor 8aabfe29c7 Feeding the RGB data directly into the pixbuf sometimes causes image distortions or segfaults, this fixes it 2016-04-10 19:02:07 +02:00
tmolitor 3163157219 Corrected usage of GObject get_data and set_data methods (see https://bugzilla.gnome.org/show_bug.cgi?id=641944) 2016-04-08 02:17:54 +02:00
tmolitor 3148ab7e4e Correctly convert avatar images in roster, too 2016-04-07 03:40:34 +02:00
tmolitor 88d4826693 Better transformation from pil.image to gtk pixbuf (see last commit) 2016-04-06 23:38:30 +02:00
tmolitor 3c704f95da Added ability to display avatars in all image formats that are supported by pillow (if pillow is available) 2016-04-05 18:59:55 +02:00
Yann Leboulanger bc4a4a06e2 ability to retrieve PM logs in history window when typing room_jid. Autocompletion can now complete to room_jid/nicks. Fixes #7670 2016-04-04 22:51:47 +02:00