Philipp Hörist pushed to branch master at gajim / gajim
Commits:
f4a734b7 by Philipp Hörist at 2017-10-12T18:29:51+02:00
Add GooCanvas to the Windows build
Its for the Whiteboard Plugin
- - - - -
1 changed file:
- win/_base.sh
Changes:
=====================================
win/_base.sh
=====================================
--- a/win/_base.sh
+++ b/win/_base.sh
@@ -73,7 +73,8 @@ function install_deps {
mingw-w64-"${ARCH}"-"${PYTHON_ID}"-pip \
mingw-w64-"${ARCH}"-gstreamer \
mingw-w64-"${ARCH}"-adwaita-icon-theme \
- mingw-w64-"${ARCH}"-sqlite3
+ mingw-w64-"${ARCH}"-sqlite3 \
+ mingw-w64-"${ARCH}"-goocanvas
build_pip install setuptools_scm
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/f4a734b70ce4bfdc5346e40306744d3cff…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/f4a734b70ce4bfdc5346e40306744d3cff…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
a63131c5 by Philipp Hörist at 2017-10-10T20:37:20+02:00
Update README.md
- - - - -
1 changed file:
- README.md
Changes:
=====================================
README.md
=====================================
--- a/README.md
+++ b/README.md
@@ -14,10 +14,10 @@
### Optional Runtime Requirements
+- python-pillow for support of webp avatars
- python3-crypto to enable End to end encryption
- python3-gnupg to enable GPG encryption
-- For zeroconf (bonjour), the "enable link-local messaging" checkbox, you need dbus-glib, python-avahi
-- dnsutils (or whatever package provides the nslookup binary) for SRV support
+- For zeroconf (bonjour) you need dbus-glib, python-avahi
- gir1.2-gtkspell3-3.0 and aspell-LANG where lang is your locale eg. en, fr etc
- gir1.2-secret-1 for GNOME Keyring or KDE support as password storage
- D-Bus running to have gajim-remote working. Some distributions split dbus-x11, which is needed for dbus to work with Gajim. Version >= 0.80 is required.
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/a63131c556bc542b5eeb486e9c7e95c43e…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/a63131c556bc542b5eeb486e9c7e95c43e…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
4379c2d0 by Philipp Hörist at 2017-10-08T22:29:15+02:00
Execute handler only for the correct account
- - - - -
1 changed file:
- gajim/common/connection_handlers.py
Changes:
=====================================
gajim/common/connection_handlers.py
=====================================
--- a/gajim/common/connection_handlers.py
+++ b/gajim/common/connection_handlers.py
@@ -268,6 +268,9 @@ class ConnectionVcard:
self._vcard_gc_presence_received)
def _vcard_presence_received(self, obj):
+ if obj.conn.name != self.name:
+ return
+
if obj.avatar_sha is None:
# No Avatar is advertised
return
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/4379c2d014660188706837e4aa6a132043…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/4379c2d014660188706837e4aa6a132043…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
57efe7c4 by Philipp Hörist at 2017-10-08T18:08:13+02:00
Set application and menubar on MessageWindow
- - - - -
0b1d5a31 by Philipp Hörist at 2017-10-08T18:09:15+02:00
Remove unused import
- Sort imports correctly (PEP8)
- - - - -
1 changed file:
- gajim/message_window.py
Changes:
=====================================
gajim/message_window.py
=====================================
--- a/gajim/message_window.py
+++ b/gajim/message_window.py
@@ -27,12 +27,13 @@
## along with Gajim. If not, see <http://www.gnu.org/licenses/>.
##
+import time
+
from gi.repository import Gtk
from gi.repository import Gdk
from gi.repository import GdkPixbuf
from gi.repository import GObject
from gi.repository import GLib
-import time
from gajim import common
from gajim import gtkgui_helpers
@@ -40,9 +41,7 @@ from gajim import message_control
from gajim import dialogs
from gajim.chat_control_base import ChatControlBase
from gajim.chat_control import ChatControl
-
from gajim.common import app
-from gajim.gtkgui_helpers import get_action
from gajim.common.i18n import Q_
####################
@@ -81,6 +80,8 @@ class MessageWindow(object):
self.widget_name = 'message_window'
self.xml = gtkgui_helpers.get_gtk_builder('%s.ui' % self.widget_name)
self.window = self.xml.get_object(self.widget_name)
+ self.window.set_application(app.app)
+ self.window.set_show_menubar(False)
self.notebook = self.xml.get_object('notebook')
self.parent_paned = None
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/1d5665632a9dc3f0f02fd48815445676e…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/1d5665632a9dc3f0f02fd48815445676e…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
1d566563 by Philipp Hörist at 2017-10-08T14:32:59+02:00
Print malformed pubsub avatar stanzas
- - - - -
1 changed file:
- gajim/common/connection_handlers_events.py
Changes:
=====================================
gajim/common/connection_handlers_events.py
=====================================
--- a/gajim/common/connection_handlers_events.py
+++ b/gajim/common/connection_handlers_events.py
@@ -584,14 +584,20 @@ class PubsubAvatarReceivedEvent(nec.NetworkIncomingEvent):
if self.items_node.getAttr('node') != 'urn:xmpp:avatar:data':
return
item = self.items_node.getTag('item')
+ if not item:
+ log.warning('Received malformed avatar data via pubsub')
+ log.warning(self.stanza)
+ return
self.sha = item.getAttr('id')
data_tag = item.getTag('data', namespace='urn:xmpp:avatar:data')
if self.sha is None or data_tag is None:
log.warning('Received malformed avatar data via pubsub')
+ log.warning(self.stanza)
return
self.data = data_tag.getData()
if self.data is None:
log.warning('Received malformed avatar data via pubsub')
+ log.warning(self.stanza)
return
self.data = base64.b64decode(self.data.encode('utf-8'))
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/1d5665632a9dc3f0f02fd48815445676e2…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/1d5665632a9dc3f0f02fd48815445676e2…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
fec3fe96 by Philipp Hörist at 2017-10-08T14:03:37+02:00
Fix db migration
- - - - -
1 changed file:
- gajim/common/optparser.py
Changes:
=====================================
gajim/common/optparser.py
=====================================
--- a/gajim/common/optparser.py
+++ b/gajim/common/optparser.py
@@ -240,7 +240,7 @@ class OptionsParser:
self.update_config_to_016104()
if old < [0, 16, 10, 5] and new >= [0, 16, 10, 5]:
self.update_config_to_016105()
- if old < [0, 16, 11, 0] and new >= [0, 16, 11, 1]:
+ if old < [0, 16, 11, 1] and new >= [0, 16, 11, 1]:
self.update_config_to_016111()
app.logger.init_vars()
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/fec3fe9605cab5433653111153cb77508a…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/fec3fe9605cab5433653111153cb77508a…
You're receiving this email because of your account on dev.gajim.org.