Commit graph

16105 commits

Author SHA1 Message Date
Philipp Hörist
b74468b9c3 Move chatstate css to default theme
This is needed so we can query the current chatstate colors in cellrenderers
2018-11-20 15:32:01 +01:00
Philipp Hörist
c61bd65607 Simplify PEP module inits 2018-11-20 15:32:01 +01:00
Marcin Mielniczuk
9d8b56bc0f Refactor groupchat nick auto completion 2018-11-20 10:37:12 +01:00
Philipp Hörist
a00e8e3abb Dont use deprecated GLib.glib_version 2018-11-20 00:04:41 +01:00
Philipp Hörist
e305069798 Fix receipts for MUC-PMs 2018-11-19 19:33:28 +01:00
Philipp Hörist
b5bd5f15f0 Dont check mam:2 compliance for error messages 2018-11-19 18:04:32 +01:00
Philipp Hörist
1504805575 Dont answer groupchat receipt requests 2018-11-19 17:51:18 +01:00
Philipp Hörist
596f268f14 Fix missing default arg 2018-11-19 15:04:04 +01:00
Philipp Hörist
b98f0a3f76 Remove all usage of get_gtk_builder() 2018-11-18 22:24:34 +01:00
Philipp Hörist
3c32d51174 Fix deprecated init 2018-11-18 22:24:33 +01:00
Philipp Hörist
dffa54f7d3 Refactor Windows Notifications
- Only show one notification at a time
- Fix pylint errors
2018-11-18 22:24:33 +01:00
Philipp Hörist
fedc00eb83 Move notify to gtk folder
- Rename notify to notification
- Move get_show_in_roster() to gtk.util
- Move get_show_in_systray() to gtk.util
2018-11-18 22:24:33 +01:00
Philipp Hörist
2ece342de2 Notification: Use load_icon() 2018-11-18 22:24:33 +01:00
Philipp Hörist
1179333fa0 Refactor loading user supplied iconsets 2018-11-18 22:24:33 +01:00
Philipp Hörist
aca34d5c35 Remove old icons 2018-11-18 22:24:33 +01:00
Philipp Hörist
3ba34fa396 Remove old iconset code 2018-11-18 22:24:32 +01:00
Philipp Hörist
619793a085 Groupchat: Use icons from IconTheme 2018-11-18 22:24:32 +01:00
Philipp Hörist
acc89ad622 Roster: Use icons from IconTheme for Roster
With this Gajim loses the ability to draw animated GIFs in the Roster

GIFs have numerous drawbacks:

- We cant add them to the IconTheme, which means we need a different interface to load them
- The IconTheme scales all icons we load for the current scale (HiDPI)
- The animation causes many updates to the Roster, and causes high cpu usage

Fixes #8814, #8655
2018-11-18 22:24:10 +01:00
Philipp Hörist
8be5562b92 Dont fail when IconTheme is not available
This is needed for tests to work
2018-11-18 12:52:24 +01:00
Philipp Hörist
d13baed80f Improve Entity Time parsing
- Use parse_datetime()
- Improve tzo node validation
2018-11-18 10:35:13 +01:00
Philipp Hörist
f40f171ecd Refactor parse_datetime and add unit test 2018-11-18 10:35:13 +01:00
Philipp Hörist
b5b3820328 Remove unused methods 2018-11-18 10:35:13 +01:00
Philipp Hörist
431d8075a6 Use get_cursor from gtk.util 2018-11-18 10:35:13 +01:00
Philipp Hörist
cee63aa0d8 Move htmltextview into gtk module 2018-11-18 10:35:13 +01:00
André Apitzsch
a1b798b8fc Remove useless comment 2018-11-17 11:25:24 +01:00
André Apitzsch
dd0b7260b4 CI: Make test verbose 2018-11-17 11:25:24 +01:00
André Apitzsch
5c0ff1de9f Test: Fix KeyError
The added account causes an issue with test_gui_interface,
so the account needs to be removed again
2018-11-17 11:23:38 +01:00
Philipp Hörist
fb5cee69cb Dont use deprecated begins_tag() 2018-11-16 21:44:20 +01:00
Philipp Hörist
80954e9534 HtmlTextView: minor refactoring
- Move updating tags into HtmlTextView
- Rename some vars
- Remove legacy GTK code
2018-11-16 21:39:45 +01:00
Philipp Hörist
eedd0c2a72 HtmlTextView: Fix pylint errors and minor refactoring 2018-11-16 21:39:19 +01:00
Philipp Hörist
97310a059a HtmlTextView: Remove some unnecessary methods 2018-11-16 21:36:04 +01:00
Philipp Hörist
63ff9478bd XHTML: Fix parsing font-size
Remove checking for font_scale, Gtk.TextIter.get_attributes() seems buggy at
the moment, and we dont need to check the current scale to apply a new scale

Fixes #9067
2018-11-16 16:23:42 +01:00
Philipp Hörist
77d64267c7 Windows: Fix build
data is now a str
2018-11-16 15:26:38 +01:00
Philipp Hörist
7f1dfe5a8c New DataFormWidget: Add Captcha support 2018-11-15 21:02:09 +01:00
Bronko
4be4998704 fix typos in config.py 2018-11-14 22:44:41 +01:00
Philipp Hörist
9e24c72ba5 Fix incorrect contact status on tabs 2018-11-13 23:47:54 +01:00
Philipp Hörist
8f6dfad44e Windows: Get objdump output as string
Otherwise we have to guess the encoding of the host system
2018-11-13 20:59:55 +01:00
Philipp Hörist
9c5de3bf25 Correctly remove placeholder on focus in
This is a regression from e281fb68

Fixes #9440
2018-11-12 17:47:04 +01:00
Philipp Hörist
f26db88424 Refactor htmltextview test 2018-11-11 22:54:43 +01:00
Andrey Gursky
e281fb6839 Fix clipboard paste in inactive window
Fixes #9427
2018-11-11 17:20:36 +01:00
André Apitzsch
989926a680 Restructure test 2018-11-11 16:50:59 +01:00
André Apitzsch
522eec007d Test: caps cache: use mock from unittest 2018-11-11 16:50:59 +01:00
André Apitzsch
49758ab30e Test: remove unused imports 2018-11-11 16:50:59 +01:00
Philipp Hörist
5ecdfbee5c Windows: Remove old ssl fix 2018-11-11 16:40:08 +01:00
Philipp Hörist
ac5bfe2d7c Windows: Fix build
Fixes #9438
2018-11-11 15:37:30 +01:00
Philipp Hörist
e509a68139 Determine absolut path for custom config folder
When a relative custom config path is passed via commandline, the logic
which decides if a plugin can be deleted from the plugin manager fails
2018-11-11 15:15:10 +01:00
Philipp Hörist
62b210a9e5 Pass account to plugins when encrypting a file 2018-11-11 10:40:48 +01:00
Philipp Hörist
30a20e16d2 Enforce min and max version for plugin manifest
This reduces problems with old plugins without max version
2018-11-11 10:21:46 +01:00
Philipp Hörist
e4a9ffe1ca Dont test for sys.platform == 'linux'
This excludes other unix systems which was not intended
2018-11-10 19:30:19 +01:00
Philipp Hörist
02a9615b94 Dont test if precis_i18n is available
Its listed as dependency
2018-11-10 19:30:19 +01:00