Commit graph

15943 commits

Author SHA1 Message Date
Philipp Hörist
ac9bec3ed9 Fix error when opening sign-in/out notification 2018-12-18 15:15:32 +01:00
Philipp Hörist
50435ba885 Make copying text work with different layouts
This makes it possible so text can be copied from the conversation textview with other keyboard layouts than english
2018-12-18 15:14:57 +01:00
Philipp Hörist
9eed0338d9 Fix error on key press
Fixes #9471
2018-12-18 15:13:08 +01:00
Philipp Hörist
e9068f0853 DBus: Show correct unread message number
Fixes #8362
2018-12-18 15:05:05 +01:00
Philipp Hörist
c2f2ba9787 Dont draw contact after selection change
This seems to be an old codepath, currently there is no need to redraw a contact on selection change

Fixes #9496
2018-12-18 15:03:07 +01:00
Philipp Hörist
c25e37566e Fix start chat menu action
Fixes #8275
2018-12-18 15:02:57 +01:00
Philipp Hörist
efcb6235e2 Fix disabled join groupchat menu
When there are no bookmarks on the server the join groupchat menu
was disabled, preventing the user to open the join groupchat dialog
2018-12-18 15:02:37 +01:00
Philipp Hörist
c90339383c Update ChangeLog 2018-12-09 21:41:25 +01:00
Philipp Hörist
2a8d5739d3 MUC: Identify subject change correctly
Fixes #9491
2018-12-09 21:24:56 +01:00
Philipp Hörist
5af7967127 Find correct contact on private message
get_contact() returns also a contact if only the bare jid matches,
which for private messages is the groupchat contact object.
2018-12-09 21:24:43 +01:00
Philipp Hörist
1c09b50791 Use custom dict for additional data
This makes it easier to retrive and store values
2018-12-07 23:31:00 +01:00
Philipp Hörist
b4f43acbc8 Encode resource with correct profile
Fixes #9465
2018-12-06 20:52:51 +01:00
Philipp Hörist
6c2df54132 Determine delay timestamp correctly
- Check the from attr on the delay node to determine if its a user timestamp or from the server
- Dont use user timestamp for sorting
- Record the user timestamp in additional data so its saved to the database

Fixes #9444
2018-12-06 20:52:30 +01:00
Philipp Hörist
b2ecc14cae Use virtualenv for CI tests 2018-12-05 21:43:39 +01:00
Philipp Hörist
59147efaff Fix pylint errors 2018-12-05 21:43:21 +01:00
Philipp Hörist
bb81277c17 Windows: Use nbxmpp 0.6.8 2018-12-04 12:20:15 +01:00
Philipp Hörist
bbc038ec46 Handle presence without from attr correctly
Fixes #9472
2018-12-03 15:46:20 +01:00
Philipp Hörist
f8047c63fe Fix error when creating MUC
Fixes #9473
2018-12-03 15:46:12 +01:00
Philipp Hörist
5b9c564faf Better handle not available keyring backends 2018-12-03 15:46:00 +01:00
Philipp Hörist
108b087858 AccountsWindow: Fix back button 2018-12-03 15:45:30 +01:00
Andrey Gursky
1b5272c854 Fix receipts for chat
This is a regression from e3050697
2018-12-03 15:44:48 +01:00
Philipp Hörist
9d6fac6942 Fix opening links in MUC subject
The default GTK link handler does not work on Windows and Mac

Fixes #9453
2018-12-03 15:44:18 +01:00
Philipp Hörist
e1773e20bb Windows: Remove cryptography fix
The package has been fixed in the mingw repos
2018-12-03 15:44:01 +01:00
Philipp Hörist
193092d0a2 Fix receipts for MUC-PMs 2018-11-19 20:07:38 +01:00
Philipp Hörist
9c99af4f16 Dont check mam:2 compliance for error messages 2018-11-19 20:07:38 +01:00
Philipp Hörist
567b871b6a Dont answer groupchat receipt requests 2018-11-19 20:07:38 +01:00
Philipp Hörist
9bf88c1f65 Improve Entity Time parsing
- Use parse_datetime()
- Improve tzo node validation
2018-11-19 20:06:40 +01:00
Philipp Hörist
00c7715c01 Refactor parse_datetime and add unit test 2018-11-19 20:06:31 +01:00
André Apitzsch
31e75823fd Remove useless comment 2018-11-19 20:05:36 +01:00
André Apitzsch
55eed7a5cf CI: Make test verbose 2018-11-19 20:05:36 +01:00
André Apitzsch
bc6068cdd8 Test: Fix KeyError
The added account causes an issue with test_gui_interface,
so the account needs to be removed again
2018-11-19 20:05:36 +01:00
Philipp Hörist
3e8b12a533 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-19 20:05:02 +01:00
Philipp Hörist
4979bcf675 Refactor htmltextview test 2018-11-19 20:04:51 +01:00
Philipp Hörist
5271f19294 Windows: Fix build
data is now a str
2018-11-16 15:28:40 +01:00
Philipp Hörist
adfcfb1bc4 Fix incorrect contact status on tabs 2018-11-16 15:28:28 +01:00
Philipp Hörist
9ba97c4be3 Windows: Get objdump output as string
Otherwise we have to guess the encoding of the host system
2018-11-16 15:28:28 +01:00
Philipp Hörist
df62671217 Correctly remove placeholder on focus in
This is a regression from e281fb68

Fixes #9440
2018-11-13 22:01:18 +01:00
Andrey Gursky
cd65b591dc Fix clipboard paste in inactive window
Fixes #9427
2018-11-13 22:00:41 +01:00
André Apitzsch
958e1390fd Restructure test 2018-11-13 22:00:40 +01:00
André Apitzsch
8946af337a Test: caps cache: use mock from unittest 2018-11-13 22:00:40 +01:00
André Apitzsch
e8941a4f0f Test: remove unused imports 2018-11-13 22:00:40 +01:00
André Apitzsch
e95a7fccd2 Test: Remove unused xmpp_mocks 2018-11-13 21:59:58 +01:00
Philipp Hörist
19a46070fa Windows: Remove old ssl fix 2018-11-13 21:58:32 +01:00
Philipp Hörist
2c2943deff 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-13 21:56:21 +01:00
Philipp Hörist
5981396ac4 Pass account to plugins when encrypting a file 2018-11-13 21:56:21 +01:00
Philipp Hörist
510985d7c4 Enforce min and max version for plugin manifest
This reduces problems with old plugins without max version
2018-11-13 21:56:21 +01:00
Philipp Hörist
57dad43d09 Dont test for sys.platform == 'linux'
This excludes other unix systems which was not intended
2018-11-13 21:56:21 +01:00
Philipp Hörist
08bde952b9 Dont test if precis_i18n is available
Its listed as dependency
2018-11-13 21:56:20 +01:00
Philipp Hörist
584c9ff695 Move imports into function 2018-11-13 21:56:20 +01:00
Philipp Hörist
67786dfd84 Try to play sound on all unix systems
sys.platform == 'linux' excludeds other unix systems, for example FreeBSD
2018-11-13 21:56:20 +01:00