Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
0c7293b8 by lovetox at 2020-03-19T18:53:56+01:00
TCP: Don't use deprecated method
- - - - -
1 changed file:
- nbxmpp/tcp.py
Changes:
=====================================
nbxmpp/tcp.py
=====================================
@@ -167,7 +167,6 @@ class TCPConnection(Connection):
if self._address.type == ConnectionType.DIRECT_TLS:
tls_client.set_advertised_protocols(['xmpp-client'])
- tls_client.set_rehandshake_mode(Gio.TlsRehandshakeMode.NEVER)
tls_client.set_validation_flags(Gio.TlsCertificateFlags.VALIDATE_ALL)
tls_client.connect('accept-certificate', self._check_certificate)
tls_client.connect('notify::peer-certificate', self._on_certificate_set)
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/0c7293b8bb01f16a717e7367…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/0c7293b8bb01f16a717e7367…
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:
3bf389df by lovetox at 2020-03-19T18:28:49+01:00
Resolver: Use INFO log level for resolver errors
- - - - -
1 changed file:
- nbxmpp/resolver.py
Changes:
=====================================
nbxmpp/resolver.py
=====================================
@@ -104,8 +104,7 @@ class GioResolver(metaclass=Singleton):
try:
results = resolver.lookup_records_finish(result)
except GLib.Error as error:
- log.warning(error.message)
- log.warning(error.code)
+ log.info(error)
request.finalize()
return
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/3bf389dfb00d085ff263dfea…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/3bf389dfb00d085ff263dfea…
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:
67d3fc77 by lovetox at 2020-03-19T18:25:35+01:00
Connection: Use INFO log level for connection errors
- - - - -
2 changed files:
- nbxmpp/tcp.py
- nbxmpp/websocket.py
Changes:
=====================================
nbxmpp/tcp.py
=====================================
@@ -118,7 +118,7 @@ class TCPConnection(Connection):
else:
raise ValueError('Address must be a service or host')
except GLib.Error as error:
- log.error('Connect Error: %s', error)
+ log.info('Connect Error: %s', error)
self._finalize('connection-failed')
return
=====================================
nbxmpp/websocket.py
=====================================
@@ -72,7 +72,7 @@ class WebsocketConnection(Connection):
self._finalize('disconnected')
return
- log.error('Connection Error: %s', error)
+ log.info('Connection Error: %s', error)
self._finalize('connection-failed')
return
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/67d3fc77bdb05c79f38e1c19…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/67d3fc77bdb05c79f38e1c19…
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:
ed696d06 by lovetox at 2020-03-19T17:42:39+01:00
PubSub: Don't expect IQ payload on publish
- - - - -
1 changed file:
- nbxmpp/modules/pubsub.py
Changes:
=====================================
nbxmpp/modules/pubsub.py
=====================================
@@ -113,7 +113,8 @@ class PubSub:
jid = stanza.getFrom()
pubsub = stanza.getTag('pubsub', namespace=NS_PUBSUB)
if pubsub is None:
- return raise_error(log.warning, stanza, 'stanza-malformed')
+ # XEP-0060: IQ payload is not mandatory on result
+ return PubSubPublishResult(jid, None, None)
publish = pubsub.getTag('publish')
if publish is None:
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/ed696d06b2877040f372fb44…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/ed696d06b2877040f372fb44…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
1176945d by lovetox at 2020-03-18T10:48:37+01:00
Jingle: Fix jingle session initiation
- - - - -
1 changed file:
- gajim/common/jingle_session.py
Changes:
=====================================
gajim/common/jingle_session.py
=====================================
@@ -568,7 +568,7 @@ class JingleSession:
self.state = JingleStates.PENDING
# Send event about starting a session
- self._raise_event('jingle-ft-cancelled-received', contents=contents[0])
+ self._raise_event('jingle-request-received', contents=contents[0])
def __broadcast(self, stanza, jingle, error, action):
"""
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/1176945d5e023a120fa4a1fcadb97efc…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/1176945d5e023a120fa4a1fcadb97efc…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
34e5b683 by Daniel Brötzmann at 2020-03-17T20:51:20+01:00
Portable Installer: Add hint for Gajim to check if it runs as portable
- - - - -
1 changed file:
- win/misc/gajim-portable.nsi
Changes:
=====================================
win/misc/gajim-portable.nsi
=====================================
@@ -108,6 +108,7 @@ Section "Gajim" SecGajim
"-c ..\UserData" "" "" SW_SHOWNORMAL "" "Gajim Portable"
CreateShortCut "$INSTDIR\Gajim-Portable-Debug.lnk" "$INSTDIR\bin\Gajim-Debug.exe" \
"-c ..\UserData" "" "" SW_SHOWNORMAL "" "Gajim Portable Debug"
+ !appendfile "$INSTDIR\bin\is_portable" ""
SectionEnd
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/34e5b683e24fb1c948c168133dc034fd…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/34e5b683e24fb1c948c168133dc034fd…
You're receiving this email because of your account on dev.gajim.org.