Philipp Hörist pushed to branch master at gajim / gajim
Commits:
68520fe2 by lovetox at 2020-03-17T20:20:28+01:00
Jingle: Only log to file if DEBUG is enabled
- - - - -
1 changed file:
- gajim/common/jingle_rtp.py
Changes:
=====================================
gajim/common/jingle_rtp.py
=====================================
@@ -448,7 +448,9 @@ class JingleVideo(JingleRTPContent):
# The following is needed for farstream to process ICE requests:
self.pipeline.set_state(Gst.State.PLAYING)
- Gst.debug_bin_to_dot_file(self.pipeline, Gst.DebugGraphDetails.ALL, 'video-graph')
+
+ if log.getEffectiveLevel() == logging.DEBUG:
+ Gst.debug_bin_to_dot_file(self.pipeline, Gst.DebugGraphDetails.ALL, 'video-graph')
def get_fallback_src(self):
# TODO: Use avatar?
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/68520fe2728fee26207ee2cf62e02f56…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/68520fe2728fee26207ee2cf62e02f56…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
57a3f73f by lovetox at 2020-03-17T16:47:32+01:00
TCP: Set timeout when connecting
Timeout is set to 7 seconds and reset to 0 after connecting was
successful
- - - - -
1 changed file:
- nbxmpp/tcp.py
Changes:
=====================================
nbxmpp/tcp.py
=====================================
@@ -38,6 +38,7 @@ class TCPConnection(Connection):
Connection.__init__(self, *args, **kwargs)
self._client = Gio.SocketClient.new()
+ self._client.set_timeout(7)
if self._address.proxy is not None:
self._proxy_resolver = self._address.proxy.get_resolver()
@@ -121,6 +122,8 @@ class TCPConnection(Connection):
self._finalize('connection-failed')
return
+ # We use the timeout only for connecting
+ self._con.get_socket().set_timeout(0)
self._con.set_graceful_disconnect(True)
self._con.get_socket().set_keepalive(True)
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/57a3f73f6c0d71d73f2efafb…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/57a3f73f6c0d71d73f2efafb…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
0f1124cb by Daniel Brötzmann at 2020-03-17T08:58:45+01:00
AccountCreation: Fix typos
- - - - -
2 changed files:
- gajim/data/gui/account_wizard.ui
- gajim/gtk/account_wizard.py
Changes:
=====================================
gajim/data/gui/account_wizard.ui
=====================================
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.22.1 -->
+<!-- Generated with glade 3.22.2 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<object class="GtkGrid" id="advanced_grid">
@@ -30,7 +30,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="width_chars">6</property>
- <property name="placeholder_text" translatable="yes">5222</property>
+ <property name="placeholder_text">5222</property>
<property name="input_purpose">number</property>
</object>
<packing>
@@ -145,9 +145,9 @@
<property name="can_focus">False</property>
<property name="active">0</property>
<items>
- <item translatable="yes">START TLS</item>
- <item translatable="yes">DIRECT TLS</item>
- <item translatable="yes">PLAIN</item>
+ <item>START TLS</item>
+ <item>DIRECT TLS</item>
+ <item>PLAIN</item>
</items>
</object>
<packing>
@@ -462,7 +462,7 @@
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">There are plenty of servers to choose from.
+ <property name="label" translatable="yes">There are plenty of servers to choose from.
Creating an account on one server allows you to communicate with contacts from other servers as well.</property>
<property name="wrap">True</property>
<property name="max_width_chars">40</property>
=====================================
gajim/gtk/account_wizard.py
=====================================
@@ -289,7 +289,7 @@ class AccountWizard(Assistant):
if error == 'register-not-supported':
self._show_error_page(_('Signup not allowed'),
_('Signup not allowed'),
- _('This server does not all signup'))
+ _('This server does not allow signup.'))
self._client.destroy()
self._client = None
@@ -298,7 +298,7 @@ class AccountWizard(Assistant):
self._show_error_page(_('Connection failed'),
_('Connection failed'),
_('Gajim was not able to reach the server. '
- 'Make sure your XMPP address is correct'))
+ 'Make sure your XMPP address is correct.'))
self._client.destroy()
self._client = None
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/0f1124cb9d489b24fc3c504aeafa0e2c…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/0f1124cb9d489b24fc3c504aeafa0e2c…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
27c4844c by Philipp Hörist at 2020-03-17T06:14:12+01:00
Revert "TCP: Set timeout when connecting"
This reverts commit 384b50b087c4e7eb0fbb1ca63ab1537760afbd64
- - - - -
1 changed file:
- nbxmpp/tcp.py
Changes:
=====================================
nbxmpp/tcp.py
=====================================
@@ -38,7 +38,6 @@ class TCPConnection(Connection):
Connection.__init__(self, *args, **kwargs)
self._client = Gio.SocketClient.new()
- self._client.set_timeout(10)
if self._address.proxy is not None:
self._proxy_resolver = self._address.proxy.get_resolver()
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/27c4844c72868ca83cb77498…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/27c4844c72868ca83cb77498…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
384b50b0 by lovetox at 2020-03-16T22:29:39+01:00
TCP: Set timeout when connecting
- - - - -
1 changed file:
- nbxmpp/tcp.py
Changes:
=====================================
nbxmpp/tcp.py
=====================================
@@ -38,6 +38,7 @@ class TCPConnection(Connection):
Connection.__init__(self, *args, **kwargs)
self._client = Gio.SocketClient.new()
+ self._client.set_timeout(10)
if self._address.proxy is not None:
self._proxy_resolver = self._address.proxy.get_resolver()
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/384b50b087c4e7eb0fbb1ca6…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/384b50b087c4e7eb0fbb1ca6…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
466611d8 by lovetox at 2020-03-15T22:52:09+01:00
Remove unused import
- - - - -
1 changed file:
- gajim/gui_interface.py
Changes:
=====================================
gajim/gui_interface.py
=====================================
@@ -67,7 +67,6 @@ from gajim.session import ChatControlSession
from gajim.common import idle
from gajim.common.zeroconf import connection_zeroconf
-from gajim.common import resolver
from gajim.common import caps_cache
from gajim.common import proxy65_manager
from gajim.common import socks5
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/466611d858ccce370ca066c49b056eb4…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/466611d858ccce370ca066c49b056eb4…
You're receiving this email because of your account on dev.gajim.org.