Philipp Hörist pushed to branch master at gajim / gajim
Commits:
a1c352f2 by Philipp Hörist at 2019-09-17T18:03:16Z
XMLConsole: Inject jabber:client into message, presence and iq
- - - - -
1 changed file:
- gajim/gtk/xml_console.py
Changes:
=====================================
gajim/gtk/xml_console.py
=====================================
@@ -172,10 +172,18 @@ class XMLConsoleWindow(Gtk.ApplicationWindow):
stanza = buffer_.get_text(begin_iter, end_iter, True)
if stanza:
try:
- node = nbxmpp.Protocol(node=stanza)
+ node = nbxmpp.Node(node=stanza)
except Exception as error:
ErrorDialog(_('Invalid Node'), str(error))
return
+
+ if node.getName() in ('message', 'presence', 'iq'):
+ # Parse stanza again if its a message, presence or iq and
+ # set jabber:client as toplevel namespace
+ # Use type Protocol so nbxmpp counts the stanza for
+ # stream management
+ node = nbxmpp.Protocol(node=stanza,
+ attrs={'xmlns': 'jabber:client'})
app.connections[self.account].connection.send(node)
self.last_stanza = stanza
buffer_.set_text('')
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/a1c352f24b4aee30fe60459b04d61e818a…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/a1c352f24b4aee30fe60459b04d61e818a…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
2c4f4d1e by Philipp Hörist at 2019-09-16T19:41:21Z
AddContact: Set info button sensitive if JID is passed
- - - - -
1 changed file:
- gajim/gtk/add_contact.py
Changes:
=====================================
gajim/gtk/add_contact.py
=====================================
@@ -137,6 +137,9 @@ class AddNewContactWindow(Gtk.ApplicationWindow):
else:
uid, transport = app.get_name_and_server_from_jid(jid)
self.uid_entry.set_text(uid.replace('%', '@', 1))
+
+ self.show_contact_info_button.set_sensitive(True)
+
# set protocol_combobox
model = self.protocol_combobox.get_model()
iter_ = model.get_iter_first()
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/2c4f4d1e4ba88e790aee35996afdf6a364…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/2c4f4d1e4ba88e790aee35996afdf6a364…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
92d127ae by Philipp Hörist at 2019-09-16T19:37:30Z
AddContact: Handle only bare JIDs
- - - - -
1 changed file:
- gajim/gtk/add_contact.py
Changes:
=====================================
gajim/gtk/add_contact.py
=====================================
@@ -45,6 +45,9 @@ class AddNewContactWindow(Gtk.ApplicationWindow):
self.account = account
self.adding_jid = False
+ if jid is not None:
+ jid = app.get_jid_without_resource(jid)
+
# fill accounts with active accounts
accounts = app.get_enabled_accounts_with_labels()
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/92d127aea6993abd6c164fd4cf74ba80bf…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/92d127aea6993abd6c164fd4cf74ba80bf…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
890846fc by Philipp Hörist at 2019-09-12T18:50:24Z
Show SSLError dialog for all errors
Fixes #9835
- - - - -
1 changed file:
- gajim/gtk/ssl_error_dialog.py
Changes:
=====================================
gajim/gtk/ssl_error_dialog.py
=====================================
@@ -102,5 +102,5 @@ class SSLErrorDialog(Gtk.ApplicationWindow):
f.write(self._server + '\n')
f.write(pem + '\n\n')
- self._con.process_ssl_errors()
self.destroy()
+ self._con.process_ssl_errors()
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/890846fc38aaf0a09d9219aa786a776bf2…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/890846fc38aaf0a09d9219aa786a776bf2…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
16046d7e by Andrey Gursky at 2019-09-11T15:17:47Z
ChatControlBase: fix autoscroll on keyboard shortcuts
The issue reported by concerto [1] is a regression since af312830ef42fdb7.
[1] https://conference.gajim.org:5281/muc_log/gajim/2019-09-10#df591057-8693-4e…
- - - - -
1 changed file:
- gajim/chat_control_base.py
Changes:
=====================================
gajim/chat_control_base.py
=====================================
@@ -698,6 +698,7 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools):
if event.keyval == Gdk.KEY_Page_Down or \
event.keyval == Gdk.KEY_Page_Up:
self.conv_textview.tv.event(event)
+ self._on_scroll(None, event.keyval)
return True
if event.get_state() & Gdk.ModifierType.CONTROL_MASK:
if event.keyval == Gdk.KEY_Tab: # CTRL + TAB
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/16046d7e87bc8962e35a41dc38f7e56b10…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/16046d7e87bc8962e35a41dc38f7e56b10…
You're receiving this email because of your account on dev.gajim.org.