Philipp Hörist pushed to branch master at gajim / gajim
Commits:
a08eab5a by Matthew White at 2021-07-18T11:26:58+00:00
HistoryManager: Allow it to start in standalone mode
Fixes the following error when starting gajim-history-manager:
ModuleNotFoundError: No module named 'gajim.gui.emoji_data'
- - - - -
15cf0e2a by Matthew White at 2021-07-18T11:26:58+00:00
Test: Fix test_gui_interface failure
Partially fixes #10478 about the following error:
ERROR: test_gui_interface (unittest.loader._FailedTest)
...
ModuleNotFoundError: No module named 'gajim.gui.emoji_data'
- - - - -
2 changed files:
- gajim/history_manager.py
- test/unit/test_gui_interface.py
Changes:
=====================================
gajim/history_manager.py
=====================================
@@ -55,7 +55,6 @@
from gajim.common.const import JIDConstant
from gajim.common.const import KindConstant
from gajim.common.const import ShowConstant
-from gajim.common.settings import Settings
def is_standalone():
@@ -76,6 +75,8 @@ def init_gtk():
if is_standalone():
init_gtk()
+ from gajim.common.settings import Settings
+
try:
shortargs = 'hvsc:l:p:'
longargs = 'help verbose separate config-path= loglevel= profile='
@@ -100,6 +101,8 @@ def init_gtk():
app.settings = Settings()
app.settings.init()
app.load_css_config()
+else:
+ from gajim.common.settings import Settings
from gajim.common import helpers
from gajim.gui.dialogs import ErrorDialog
=====================================
test/unit/test_gui_interface.py
=====================================
@@ -3,6 +3,9 @@
'''
import unittest
+import gajim.gui
+gajim.gui.init('gtk')
+
from test import lib
lib.setup_env()
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/f9f2a88b9f698e3aaaf5ffe8e24176f…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/f9f2a88b9f698e3aaaf5ffe8e24176f…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
f9f2a88b by Jonas Schäfer at 2021-07-13T19:50:38+02:00
Update API JID for search.jabber.network integration
The JID has been changed recently and this needs to be reflected.
The old JID was available for a certain transition period, but
that period ended a few weeks back because of a necessary
architectural change which decoupled the two domains.
Signed-off-by: lovetox <philipp(a)hoerist.com>
- - - - -
2 changed files:
- gajim/common/config.py
- gajim/common/setting_values.py
Changes:
=====================================
gajim/common/config.py
=====================================
@@ -229,7 +229,7 @@ class Config:
'show_chatstate_in_banner': [opt_bool, True, _('Shows a text in the banner that describes the current chat state of the contact.')],
'send_chatstate_default': [opt_str, 'composing_only', _('Chat state notifications that are sent to contacts. Possible values: all, composing_only, disabled')],
'send_chatstate_muc_default': [opt_str, 'composing_only', _('Chat state notifications that are sent to the group chat. Possible values: \'all\', \'composing_only\', \'disabled\'')],
- 'muclumbus_api_jid': [opt_str, 'rodrigo.de.mucobedo(a)dreckshal.de'],
+ 'muclumbus_api_jid': [opt_str, 'api(a)search.jabber.network'],
'muclumbus_api_http_uri': [opt_str, 'https://search.jabber.network/api/1.0/search'],
'muclumbus_api_pref': [opt_str, 'http', _('API Preferences. Possible values: \'http\', \'iq\'')],
'command_system_execute': [opt_bool, False, _('If enabled, Gajim will execute commands (/show, /sh, /execute, /exec).')],
=====================================
gajim/common/setting_values.py
=====================================
@@ -169,7 +169,7 @@ class _ACCOUNT_DEFAULT:
'show_chatstate_in_roster': True,
'show_chatstate_in_tabs': True,
'show_chatstate_in_banner': True,
- 'muclumbus_api_jid': 'rodrigo.de.mucobedo(a)dreckshal.de',
+ 'muclumbus_api_jid': 'api(a)search.jabber.network',
'muclumbus_api_http_uri': 'https://search.jabber.network/api/1.0/search',
'muclumbus_api_pref': 'http',
'command_system_execute': False,
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/f9f2a88b9f698e3aaaf5ffe8e24176fd…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/f9f2a88b9f698e3aaaf5ffe8e24176fd…
You're receiving this email because of your account on dev.gajim.org.