Philipp Hörist pushed to branch master at gajim / gajim
Commits:
2c01883f by Philipp Hörist at 2018-10-19T20:30:35Z
Fix missing declaration
Fixes #9322
- - - - -
1 changed file:
- gajim/gtk/add_contact.py
Changes:
=====================================
gajim/gtk/add_contact.py
=====================================
@@ -126,6 +126,7 @@ class AddNewContactWindow(Gtk.ApplicationWindow):
type_ = 'jabber'
if type_ == 'jabber':
self.uid_entry.set_text(jid)
+ transport = None
else:
uid, transport = app.get_name_and_server_from_jid(jid)
self.uid_entry.set_text(uid.replace('%', '@', 1))
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/2c01883fc08147915aa040b8db951e62dc…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/2c01883fc08147915aa040b8db951e62dc…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
dbd3165c by Philipp Hörist at 2018-10-19T15:52:00Z
DiscoveryWindow: Add default identity
Fixes #9386
- - - - -
1 changed file:
- gajim/disco.py
Changes:
=====================================
gajim/disco.py
=====================================
@@ -405,6 +405,10 @@ class ServicesCache:
Callback for when we receive an agent's info
array is (agent, node, identities, features, data)
"""
+ if not identities:
+ # Ejabberd doesn't send identities when using admin nodes
+ identities = [{'category': 'server', 'type': 'im', 'name': node}]
+
self._on_agent_info(str(from_), node, identities, features, data)
def _disco_info_error(self, from_, error):
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/dbd3165c00bcb6100d6605e46b69f0ef45…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/dbd3165c00bcb6100d6605e46b69f0ef45…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch gajim_1.1 at gajim / gajim
Commits:
889fa149 by Philipp Hörist at 2018-10-14T19:47:42Z
Default to showing offline contacts
Many messengers dont show the status anymore, its not evident to new
users that most of their roster is hidden per default and they have to
show it to access the contacts
- - - - -
895a7a87 by Philipp Hörist at 2018-10-14T19:47:42Z
Add a dedicated folder for plugin data
- - - - -
479bfa56 by Philipp Hörist at 2018-10-14T19:47:42Z
Set password correctly on MUC join
- - - - -
3 changed files:
- gajim/common/config.py
- gajim/common/configpaths.py
- gajim/common/modules/muc.py
Changes:
=====================================
gajim/common/config.py
=====================================
@@ -79,7 +79,7 @@ class Config:
'autopopupaway': [opt_bool, False],
'autopopup_chat_opened': [opt_bool, False, _('Show desktop notification even when a chat window is opened for this contact and does not have focus')],
'sounddnd': [opt_bool, False, _('Play sound when user is busy')],
- 'showoffline': [opt_bool, False],
+ 'showoffline': [opt_bool, True],
'show_only_chat_and_online': [opt_bool, False, _('Show only online and free for chat contacts in roster.')],
'show_transports_group': [opt_bool, True],
'autoaway': [opt_bool, True],
=====================================
gajim/common/configpaths.py
=====================================
@@ -197,6 +197,7 @@ class ConfigPaths:
('SECRETS_FILE', 'secrets', PathLocation.DATA, PathType.FILE),
('MY_PEER_CERTS', 'certs', PathLocation.DATA, PathType.FOLDER),
('DEBUG', 'debug', PathLocation.DATA, PathType.FOLDER),
+ ('PLUGINS_DATA', 'plugins_data', PathLocation.DATA, PathType.FOLDER),
# Config paths
('CONFIG_FILE', 'config', PathLocation.CONFIG, PathType.FILE),
=====================================
gajim/common/modules/muc.py
=====================================
@@ -59,26 +59,26 @@ class MUC:
presence = self._con.get_module('Presence').get_presence(
*args, **kwargs)
+ muc_x = presence.setTag(nbxmpp.NS_MUC + ' x')
if room_jid is not None:
- self._add_history_query(presence, room_jid, rejoin)
+ self._add_history_query(muc_x, room_jid, rejoin)
if password is not None:
- presence.setTagData('password', password)
+ muc_x.setTagData('password', password)
log.debug('Send MUC join presence:\n%s', presence)
self._con.connection.send(presence)
- def _add_history_query(self, presence, room_jid, rejoin):
+ def _add_history_query(self, muc_x, room_jid, rejoin):
last_date = app.logger.get_room_last_message_time(
self._account, room_jid)
if not last_date:
last_date = 0
- history = presence.setTag(nbxmpp.NS_MUC + ' x')
if muc_caps_cache.has_mam(room_jid):
# The room is MAM capable dont get MUC History
- history.setTag('history', {'maxchars': '0'})
+ muc_x.setTag('history', {'maxchars': '0'})
else:
# Request MUC History (not MAM)
tags = {}
@@ -100,7 +100,7 @@ class MUC:
if nb >= 0:
tags['maxstanzas'] = nb
if tags:
- history.setTag('history', tags)
+ muc_x.setTag('history', tags)
def set_subject(self, room_jid, subject):
if not app.account_is_connected(self._account):
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/c0ae4af7cfbd77d365a9db61544a29af0…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/c0ae4af7cfbd77d365a9db61544a29af0…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
ba2618d0 by Philipp Hörist at 2018-10-14T19:42:51Z
Set password correctly on MUC join
- - - - -
1 changed file:
- gajim/common/modules/muc.py
Changes:
=====================================
gajim/common/modules/muc.py
=====================================
@@ -59,26 +59,26 @@ class MUC:
presence = self._con.get_module('Presence').get_presence(
*args, **kwargs)
+ muc_x = presence.setTag(nbxmpp.NS_MUC + ' x')
if room_jid is not None:
- self._add_history_query(presence, room_jid, rejoin)
+ self._add_history_query(muc_x, room_jid, rejoin)
if password is not None:
- presence.setTagData('password', password)
+ muc_x.setTagData('password', password)
log.debug('Send MUC join presence:\n%s', presence)
self._con.connection.send(presence)
- def _add_history_query(self, presence, room_jid, rejoin):
+ def _add_history_query(self, muc_x, room_jid, rejoin):
last_date = app.logger.get_room_last_message_time(
self._account, room_jid)
if not last_date:
last_date = 0
- history = presence.setTag(nbxmpp.NS_MUC + ' x')
if muc_caps_cache.has_mam(room_jid):
# The room is MAM capable dont get MUC History
- history.setTag('history', {'maxchars': '0'})
+ muc_x.setTag('history', {'maxchars': '0'})
else:
# Request MUC History (not MAM)
tags = {}
@@ -100,7 +100,7 @@ class MUC:
if nb >= 0:
tags['maxstanzas'] = nb
if tags:
- history.setTag('history', tags)
+ muc_x.setTag('history', tags)
def set_subject(self, room_jid, subject):
if not app.account_is_connected(self._account):
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/ba2618d035b02b5dadfb61536b9a9f7d7c…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/ba2618d035b02b5dadfb61536b9a9f7d7c…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
c34ce28f by Philipp Hörist at 2018-10-14T15:09:39Z
Add a dedicated folder for plugin data
- - - - -
1 changed file:
- gajim/common/configpaths.py
Changes:
=====================================
gajim/common/configpaths.py
=====================================
@@ -197,6 +197,7 @@ class ConfigPaths:
('SECRETS_FILE', 'secrets', PathLocation.DATA, PathType.FILE),
('MY_PEER_CERTS', 'certs', PathLocation.DATA, PathType.FOLDER),
('DEBUG', 'debug', PathLocation.DATA, PathType.FOLDER),
+ ('PLUGINS_DATA', 'plugins_data', PathLocation.DATA, PathType.FOLDER),
# Config paths
('CONFIG_FILE', 'config', PathLocation.CONFIG, PathType.FILE),
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/c34ce28f56ac8d68b8f4c515526e998dc7…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/c34ce28f56ac8d68b8f4c515526e998dc7…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
c58ea133 by Philipp Hörist at 2018-10-13T14:21:44Z
Default to showing offline contacts
Many messengers dont show the status anymore, its not evident to new
users that most of their roster is hidden per default and they have to
show it to access the contacts
- - - - -
1 changed file:
- gajim/common/config.py
Changes:
=====================================
gajim/common/config.py
=====================================
@@ -79,7 +79,7 @@ class Config:
'autopopupaway': [opt_bool, False],
'autopopup_chat_opened': [opt_bool, False, _('Show desktop notification even when a chat window is opened for this contact and does not have focus')],
'sounddnd': [opt_bool, False, _('Play sound when user is busy')],
- 'showoffline': [opt_bool, False],
+ 'showoffline': [opt_bool, True],
'show_only_chat_and_online': [opt_bool, False, _('Show only online and free for chat contacts in roster.')],
'show_transports_group': [opt_bool, True],
'autoaway': [opt_bool, True],
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/c58ea1337943e0564aa433244652e6b39f…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/c58ea1337943e0564aa433244652e6b39f…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch gajim_1.1 at gajim / gajim
Commits:
c0ae4af7 by Philipp Hörist at 2018-10-13T13:42:19Z
Windows: Add precis-i18n to the build
- - - - -
1 changed file:
- win/_base.sh
Changes:
=====================================
win/_base.sh
=====================================
@@ -102,6 +102,7 @@ python-gnupg
python-axolotl
qrcode
cssutils
+precis-i18n
"
build_pip install $(echo "$PIP_REQUIREMENTS" | tr ["\\n"] [" "])
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/c0ae4af7cfbd77d365a9db61544a29af02…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/c0ae4af7cfbd77d365a9db61544a29af02…
You're receiving this email because of your account on dev.gajim.org.