Philipp Hörist pushed to branch master at gajim / gajim
Commits:
9914c246 by lovetox at 2022-06-19T15:46:47+02:00
fix: Name action correctly
- - - - -
1 changed file:
- gajim/data/other/shortcuts.json
Changes:
=====================================
gajim/data/other/shortcuts.json
=====================================
@@ -31,5 +31,5 @@
"win.switch-tab-8": ["<Alt>8", "<Alt>KP_8"],
"win.switch-tab-9": ["<Alt>9", "<Alt>KP_9"],
"win.search-history": ["<Primary>H"],
- "win.hide-chat-list": ["<Primary>R"]
+ "win.toggle-chat-list": ["<Primary>R"]
}
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/9914c246090155bf1f8daba85424b3c6…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/9914c246090155bf1f8daba85424b3c6…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
3599cbc0 by lovetox at 2022-06-19T13:07:45+02:00
ci: Update pylintrc
- - - - -
1 changed file:
- pylintrc
Changes:
=====================================
pylintrc
=====================================
@@ -207,7 +207,7 @@ ignored-classes=optparse.Values,thread._local,_thread._local,gi.repository.GLib.
# (useful for modules/projects where namespaces are manipulated during runtime
# and thus existing member attributes cannot be deduced by static analysis. It
# supports qualified module names, as well as Unix pattern matching.
-ignored-modules=gi.repository,cairo
+ignored-modules=gi.repository,cairo,gajim.gui
# Show a hint with possible names when a member name was not found. The aspect
# of finding the hint is based on edit distance.
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/3599cbc014b00ced6d8615a8b61825f4…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/3599cbc014b00ced6d8615a8b61825f4…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
a3065bc5 by lovetox at 2022-06-18T15:29:00+02:00
fix: Discovery: Remove obsolete code
- - - - -
910a9109 by lovetox at 2022-06-18T15:29:25+02:00
fix: Restore minimal AdHoc module
- - - - -
2 changed files:
- + gajim/common/modules/adhoc_commands.py
- gajim/common/modules/discovery.py
Changes:
=====================================
gajim/common/modules/adhoc_commands.py
=====================================
@@ -0,0 +1,30 @@
+# This file is part of Gajim.
+#
+# Gajim is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published
+# by the Free Software Foundation; version 3 only.
+#
+# Gajim is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Gajim. If not, see <http://www.gnu.org/licenses/>.
+
+from __future__ import annotations
+
+from gajim.common import types
+from gajim.common.modules.base import BaseModule
+
+
+class AdHocCommands(BaseModule):
+
+ _nbxmpp_extends = 'AdHoc'
+ _nbxmpp_methods = [
+ 'request_command_list',
+ 'execute_command',
+ ]
+
+ def __init__(self, con: types.Client) -> None:
+ BaseModule.__init__(self, con)
=====================================
gajim/common/modules/discovery.py
=====================================
@@ -185,19 +185,12 @@ def _answer_disco_items(self,
from_ = stanza.getFrom()
self._log.info('Answer disco items to %s', from_)
- if self._con.get_module('AdHocCommands').command_items_query(stanza):
- raise nbxmpp.NodeProcessed
-
node = stanza.getTagAttr('query', 'node')
if node is None:
result = stanza.buildReply('result')
self._con.connection.send(result)
raise nbxmpp.NodeProcessed
- if node == Namespace.COMMANDS:
- self._con.get_module('AdHocCommands').command_list_query(stanza)
- raise nbxmpp.NodeProcessed
-
def _answer_disco_info(self,
_con: types.xmppClient,
stanza: Iq,
@@ -209,9 +202,6 @@ def _answer_disco_info(self,
# Service that echos all stanzas, ignore it
raise nbxmpp.NodeProcessed
- if self._con.get_module('AdHocCommands').command_info_query(stanza):
- raise nbxmpp.NodeProcessed
-
@as_task
def disco_muc(self,
jid: Union[JID, str],
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/4648f0bbbc3920bdac5dae36a826de8…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/4648f0bbbc3920bdac5dae36a826de8…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
6aec513a by lovetox at 2022-06-18T10:00:11+02:00
ci: Allow deploy-flatpak to fail
Until we can setup the deploy key
- - - - -
1 changed file:
- .gitlab-ci.yml
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -124,6 +124,7 @@ deploy-linux:
deploy-flatpak:
image: git-deploy:latest
stage: deploy
+ allow_failure: true
needs: []
rules:
- if: '$CI_COMMIT_TAG'
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/6aec513a4f593c583e1b19797d7b7735…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/6aec513a4f593c583e1b19797d7b7735…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
6feecebc by lovetox at 2022-06-18T09:36:34+02:00
chore: Add new changelog tag
- - - - -
3 changed files:
- .chglog/config.yml
- .githooks/update
- CONTRIBUTING.md
Changes:
=====================================
.chglog/config.yml
=====================================
@@ -8,19 +8,22 @@ options:
filters:
Type:
- feat
+ - imprv
+ - change
- perf
- fix
- - imprv
commit_groups:
sort_by: Custom
title_order:
- feat
- imprv
+ - change
- perf
- fix
title_maps:
feat: New
imprv: Improvements
+ change: Change
perf: Performance
fix: Bug Fixes
header:
=====================================
.githooks/update
=====================================
@@ -16,6 +16,7 @@ ALLOWED_TAGS = [
'perf',
'refactor',
'chore',
+ 'change',
'release',
'other',
'imprv',
=====================================
CONTRIBUTING.md
=====================================
@@ -35,12 +35,13 @@ # Commit Messages
Every commit message must be prefixed with one of the following tags:
- ci (ci related changes)
-- feat (functionality of the application was changed)
+- feat (a new feature was added)
- fix (something was fixed)
- perf (performance related changes)
- imprv (improvements)
- refactor (code was changed, but the end user will not notice)
- chore (reoccuring tasks which need to be done)
+- change (existing functionality was changed)
- release (only used for release commits)
- other
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/6feecebc6cc08df66e72f846f8015f77…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/6feecebc6cc08df66e72f846f8015f77…
You're receiving this email because of your account on dev.gajim.org.