Philipp Hörist pushed to branch master at gajim / gajim
Commits:
5c0ff1de by André Apitzsch at 2018-11-17T10:23:38Z
Test: Fix KeyError
The added account causes an issue with test_gui_interface,
so the account needs to be removed again
- - - - -
dd0b7260 by André Apitzsch at 2018-11-17T10:25:24Z
CI: Make test verbose
- - - - -
a1b798b8 by André Apitzsch at 2018-11-17T10:25:24Z
Remove useless comment
- - - - -
3 changed files:
- .gitlab-ci.yml
- test/no_gui/unit/test_protocol_caps.py
- test/unit/test_gui_interface.py
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -10,7 +10,7 @@ stages:
run-test:
stage: test
script:
- - python3 setup.py test -s test.no_gui -q
+ - python3 setup.py test -s test.no_gui
run-mypy:
stage: test
=====================================
test/no_gui/unit/test_protocol_caps.py
=====================================
@@ -31,6 +31,9 @@ class TestConnectionCaps(unittest.TestCase):
self.module._account = 'account'
self.module._capscache = MagicMock()
+ def tearDown(self):
+ app.contacts.remove_account('account')
+
def _nec_caps_presence_received(self, obj):
self.assertTrue(
isinstance(obj.client_caps, caps_cache.ClientCaps),
=====================================
test/unit/test_gui_interface.py
=====================================
@@ -53,5 +53,4 @@ class TestInterface(unittest.TestCase):
if __name__ == "__main__":
- #import sys;sys.argv = ['', 'Test.test']
unittest.main()
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/fb5cee69cbd11bf37ec53c4ee49a62288…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/fb5cee69cbd11bf37ec53c4ee49a62288…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch gajim_1.1 at gajim / gajim
Commits:
9ba97c4b by Philipp Hörist at 2018-11-16T14:28:28Z
Windows: Get objdump output as string
Otherwise we have to guess the encoding of the host system
- - - - -
adfcfb1b by Philipp Hörist at 2018-11-16T14:28:28Z
Fix incorrect contact status on tabs
- - - - -
5271f192 by Philipp Hörist at 2018-11-16T14:28:40Z
Windows: Fix build
data is now a str
- - - - -
2 changed files:
- gajim/common/connection_handlers.py
- win/misc/depcheck.py
Changes:
=====================================
gajim/common/connection_handlers.py
=====================================
@@ -146,6 +146,7 @@ class ConnectionHandlersBase:
obj.contact_list.append(obj.contact)
obj.contact.resource = resource
+ obj.need_redraw = True
obj.need_add_in_roster = True
if not app.jid_is_transport(jid) and len(obj.contact_list) == 1:
=====================================
win/misc/depcheck.py
=====================================
@@ -47,11 +47,11 @@ SYSTEM_LIBS = ['advapi32.dll',
def get_dependencies(filename):
deps = []
try:
- data = subprocess.check_output(["objdump", "-p", filename])
+ data = subprocess.getoutput("objdump -p %s" % filename)
except Exception as error:
print(error)
return deps
- data = data.decode("utf-8")
+
for line in data.splitlines():
line = line.strip()
if line.startswith("DLL Name:"):
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/df62671217256defc2b7e51b1e5ac76da…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/df62671217256defc2b7e51b1e5ac76da…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
77d64267 by Philipp Hörist at 2018-11-16T14:26:38Z
Windows: Fix build
data is now a str
- - - - -
1 changed file:
- win/misc/depcheck.py
Changes:
=====================================
win/misc/depcheck.py
=====================================
@@ -51,7 +51,7 @@ def get_dependencies(filename):
except Exception as error:
print(error)
return deps
- data = data.decode("utf-8")
+
for line in data.splitlines():
line = line.strip()
if line.startswith("DLL Name:"):
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/77d64267c72e11d687041272a5f693847e…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/77d64267c72e11d687041272a5f693847e…
You're receiving this email because of your account on dev.gajim.org.
Yann Leboulanger pushed to branch master at gajim / gajim
Commits:
4be49987 by Bronko at 2018-11-14T21:44:41Z
fix typos in config.py
- - - - -
1 changed file:
- gajim/common/config.py
Changes:
=====================================
gajim/common/config.py
=====================================
@@ -166,7 +166,7 @@ class Config:
'history_window_x-position': [opt_int, 0],
'history_window_y-position': [opt_int, 0],
'latest_disco_addresses': [opt_str, ''],
- 'time_stamp': [opt_str, '[%X] ', _('This option let you customize timestamp that is printed in conversation. For exemple "[%H:%M] " will show "[hour:minute] ". See python doc on strftime for full documentation: http://docs.python.org/lib/module-time.html')],
+ 'time_stamp': [opt_str, '[%X] ', _('This option let you customize timestamp that is printed in conversation. For example "[%H:%M] " will show "[hour:minute] ". See python doc on strftime for full documentation: http://docs.python.org/lib/module-time.html')],
'before_nickname': [opt_str, '', _('Characters that are printed before the nickname in conversations')],
'after_nickname': [opt_str, ':', _('Characters that are printed after the nickname in conversations')],
'use_gpg_agent': [opt_bool, False],
@@ -284,7 +284,7 @@ class Config:
'stun_server': [opt_str, '', _('STUN server to use when using Jingle')],
'show_affiliation_in_groupchat': [opt_bool, True, _('If true, Gajim will show affiliation of groupchat occupants by adding a colored square to the status icon')],
'global_proxy': [opt_str, '', _('Proxy used for all outgoing connections if the account does not have a specific proxy configured')],
- 'ignore_incoming_attention': [opt_bool, False, _('If true, Gajim will ignore incoming attention requestd ("wizz").')],
+ 'ignore_incoming_attention': [opt_bool, False, _('If true, Gajim will ignore incoming attention requests ("wizz").')],
'remember_opened_chat_controls': [opt_bool, True, _('If enabled, Gajim will reopen chat windows that were opened last time Gajim was closed.')],
'positive_184_ack': [opt_bool, False, _('If enabled, Gajim will show an icon to show that sent message has been received by your contact')],
'show_avatar_in_tabs': [opt_bool, False, _('Show a mini avatar in chat window tabs and in window icon')],
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/4be49987045c74707a482ebbb5919788b3…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/4be49987045c74707a482ebbb5919788b3…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
9e24c72b by Philipp Hörist at 2018-11-13T22:47:54Z
Fix incorrect contact status on tabs
- - - - -
1 changed file:
- gajim/common/connection_handlers.py
Changes:
=====================================
gajim/common/connection_handlers.py
=====================================
@@ -146,6 +146,7 @@ class ConnectionHandlersBase:
obj.contact_list.append(obj.contact)
obj.contact.resource = resource
+ obj.need_redraw = True
obj.need_add_in_roster = True
if not app.jid_is_transport(jid) and len(obj.contact_list) == 1:
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/9e24c72ba5f747f8f6f9718a0413959c10…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/9e24c72ba5f747f8f6f9718a0413959c10…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch gajim_1.1 at gajim / gajim
Commits:
8bbf3392 by André Apitzsch at 2018-11-13T20:56:19Z
Flatpak: update dependencies and use pip to install modules
- - - - -
213da73b by André Apitzsch at 2018-11-13T20:56:19Z
Flatpak: use X11 access only if a X11 session is running
Requires flatpak 1.0 or newer
- - - - -
298fb153 by Philipp Hörist at 2018-11-13T20:56:20Z
Better determine soundplayer on unix systems
- sys.platform == 'linux', excludes many other unix systems
- use shutil.which() to test if a command is available
- - - - -
8061146d by Philipp Hörist at 2018-11-13T20:56:20Z
Remove unused code
Code is also not cross-platform compatible
- - - - -
959a51c5 by Philipp Hörist at 2018-11-13T20:56:20Z
Dont test if winsound is available
Its a standard library which will be always available in our builds
- - - - -
67786dfd by Philipp Hörist at 2018-11-13T20:56:20Z
Try to play sound on all unix systems
sys.platform == 'linux' excludeds other unix systems, for example FreeBSD
- - - - -
584c9ff6 by Philipp Hörist at 2018-11-13T20:56:20Z
Move imports into function
- - - - -
08bde952 by Philipp Hörist at 2018-11-13T20:56:20Z
Dont test if precis_i18n is available
Its listed as dependency
- - - - -
57dad43d by Philipp Hörist at 2018-11-13T20:56:21Z
Dont test for sys.platform == 'linux'
This excludes other unix systems which was not intended
- - - - -
510985d7 by Philipp Hörist at 2018-11-13T20:56:21Z
Enforce min and max version for plugin manifest
This reduces problems with old plugins without max version
- - - - -
5981396a by Philipp Hörist at 2018-11-13T20:56:21Z
Pass account to plugins when encrypting a file
- - - - -
2c2943de by Philipp Hörist at 2018-11-13T20:56:21Z
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
- - - - -
19a46070 by Philipp Hörist at 2018-11-13T20:58:32Z
Windows: Remove old ssl fix
- - - - -
e95a7fcc by André Apitzsch at 2018-11-13T20:59:58Z
Test: Remove unused xmpp_mocks
- - - - -
e8941a4f by André Apitzsch at 2018-11-13T21:00:40Z
Test: remove unused imports
- - - - -
8946af33 by André Apitzsch at 2018-11-13T21:00:40Z
Test: caps cache: use mock from unittest
- - - - -
958e1390 by André Apitzsch at 2018-11-13T21:00:40Z
Restructure test
- - - - -
cd65b591 by Andrey Gursky at 2018-11-13T21:00:41Z
Fix clipboard paste in inactive window
Fixes #9427
- - - - -
df626712 by Philipp Hörist at 2018-11-13T21:01:18Z
Correctly remove placeholder on focus in
This is a regression from e281fb68
Fixes #9440
- - - - -
30 changed files:
- .gitlab-ci.yml
- flatpak/org.gajim.Gajim.yaml
- gajim/common/configpaths.py
- gajim/common/dbus_support.py
- gajim/common/helpers.py
- gajim/common/modules/httpupload.py
- gajim/gui_interface.py
- gajim/message_textview.py
- gajim/notify.py
- gajim/plugins/pluginmanager.py
- gajim/roster_window.py
- setup.cfg
- setup.py
- test/integration/test_gui_event_integration.py → test/broken/integration/test_gui_event_integration.py
- test/integration/test_roster.py → test/broken/integration/test_roster.py
- test/test_pluginmanager.py → test/broken/test_pluginmanager.py
- test/unit/test_jingle.py → test/broken/unit/test_jingle.py
- test/unit/test_sessions.py → test/broken/unit/test_sessions.py
- test/unit/test_socks5.py → test/broken/unit/test_socks5.py
- test/gtk/htmltextview.py
- test/integration/test_resolver.py
- test/lib/__init__.py
- test/lib/gajim_mocks.py
- − test/lib/xmpp_mocks.py
- + test/no_gui/__init__.py
- + test/no_gui/unit/__init__.py
- test/unit/test_account.py → test/no_gui/unit/test_account.py
- test/unit/test_caps_cache.py → test/no_gui/unit/test_caps_cache.py
- test/unit/test_contacts.py → test/no_gui/unit/test_contacts.py
- test/unit/test_protocol_caps.py → test/no_gui/unit/test_protocol_caps.py
The diff was not included because it is too large.
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/335c3e2d3df71fb07a6d96e9c0b6ae3db…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/335c3e2d3df71fb07a6d96e9c0b6ae3db…
You're receiving this email because of your account on dev.gajim.org.