Philipp Hörist pushed to branch omemo_integration at gajim / gajim
Commits:
804ec595 by Philipp Hörist at 2023-03-27T20:50:49+02:00
cq: Remove trailing whitespace
- - - - -
d10a154f by Philipp Hörist at 2023-03-27T20:56:34+02:00
ci: Update ruff to 0.0.259
- - - - -
7666c997 by lovetox at 2023-03-27T20:56:55+02:00
Omemo Start
- - - - -
b65c5164 by wurstsalat at 2023-03-27T20:56:55+02:00
cq: OMEMO: Add type annotations
- - - - -
458e1786 by wurstsalat at 2023-03-27T20:56:55+02:00
cq: OMEMO: Fix linting errors
- - - - -
9d222c56 by wurstsalat at 2023-03-27T20:56:55+02:00
cq: Add type stubs for python-qrcode
- - - - -
05bc0df5 by wurstsalat at 2023-03-27T20:56:55+02:00
chore: Adapt dependencies for OMEMO
- - - - -
b2e6c823 by wurstsalat at 2023-03-27T20:56:55+02:00
chore: OMEMO: Remove unused methods
'activate' has a replacement in the 'signled-in' event
- - - - -
70851959 by wurstsalat at 2023-03-27T20:56:55+02:00
new: Add OMEMO_TEMP_DL to caps
- - - - -
dcd372e2 by wurstsalat at 2023-03-27T20:56:55+02:00
new: Add OMEMOTrustManager
- - - - -
3ab26943 by wurstsalat at 2023-03-27T20:56:55+02:00
new: OMEMO: Add file encryption
- - - - -
ceeb84da by Philipp Hörist at 2023-03-27T20:56:55+02:00
chore: Update dependencies
- - - - -
39e1196f by Philipp Hörist at 2023-03-27T20:56:55+02:00
new: Block omemo plugin
- - - - -
64cc5217 by wurstsalat at 2023-03-27T20:56:55+02:00
chore: OMEMO: Remove obsolete qrcode version check
- - - - -
84910003 by Philipp Hörist at 2023-03-27T20:56:55+02:00
refactor: Move omemo storage to storage module
- - - - -
5dab98dd by Philipp Hörist at 2023-03-27T20:56:55+02:00
refactor: Move omemo code into common
- - - - -
0f215915 by Philipp Hörist at 2023-03-27T20:56:55+02:00
cq: Fix linter errors
- - - - -
51d66706 by wurstsalat at 2023-03-27T20:56:55+02:00
new: OMEMO: Add handling of MucAdded signal
- - - - -
b973b5f2 by wurstsalat at 2023-03-27T20:56:55+02:00
new: OMEMO: Add EncryptionAnnouncementRow
- - - - -
abef2370 by Philipp Hörist at 2023-03-27T20:56:55+02:00
fix: check preconditions
- - - - -
2847530e by Philipp Hörist at 2023-03-27T20:56:55+02:00
refactor: Rename methods
- - - - -
6b258165 by Philipp Hörist at 2023-03-27T20:56:55+02:00
cq: Remove blank line
- - - - -
2b658d6b by Philipp Hörist at 2023-03-27T20:56:55+02:00
refactor: Remove unused code
- - - - -
6b2d157a by Philipp Hörist at 2023-03-27T20:56:55+02:00
refactor: Use send_stanza method
- - - - -
e821c2ea by Philipp Hörist at 2023-03-27T20:56:55+02:00
refactor: Remove devices module
- - - - -
62fa117d by Philipp Hörist at 2023-03-27T20:56:55+02:00
cq: Remove unused imports
- - - - -
4a6055bf by Philipp Hörist at 2023-03-27T20:56:55+02:00
refactor: Switch to new library
- - - - -
1a6f6275 by Philipp Hörist at 2023-03-27T20:56:55+02:00
cq: Fix storage annotations
- - - - -
1cb2e1b3 by Philipp Hörist at 2023-03-27T20:56:55+02:00
fix: Fix import
- - - - -
fd8ccf3e by wurstsalat at 2023-03-27T20:56:55+02:00
Fix typo in flatpak files
- - - - -
5ac10a25 by wurstsalat at 2023-03-27T20:56:55+02:00
Enable users to copy their fingerprints
- - - - -
32d438da by wurstsalat at 2023-03-27T20:56:55+02:00
Fix HTTPUpload method call
- - - - -
9a26c98d by wurstsalat at 2023-03-27T20:56:55+02:00
OMEMOTrustManager: Fix leaks
- - - - -
dd3a0240 by wurstsalat at 2023-03-27T20:56:55+02:00
Run isort
- - - - -
107eacfa by wurstsalat at 2023-03-27T20:56:55+02:00
cq: Fix linting errors
- - - - -
82559279 by wurstsalat at 2023-03-27T20:56:55+02:00
cfix: Fix _on_clear_devices_clicked
- - - - -
9a6106f4 by Philipp Hörist at 2023-03-27T20:56:55+02:00
ci: Install omemo-dr
- - - - -
d4b3c7f7 by Philipp Hörist at 2023-03-27T20:56:55+02:00
fix: Fix devicelist
- - - - -
ffc9872a by Philipp Hörist at 2023-03-27T20:56:55+02:00
ci: Silence some pyright errors
- - - - -
30 changed files:
- .gitlab-ci.yml
- .pre-commit-config.yaml
- README.md
- flatpak/org.gajim.Gajim.Devel.yaml
- flatpak/org.gajim.Gajim.yaml
- gajim/common/client.py
- gajim/common/const.py
- gajim/common/events.py
- gajim/common/modules/httpupload.py
- + gajim/common/modules/omemo.py
- gajim/common/modules/util.py
- + gajim/common/omemo/__init__.py
- + gajim/common/omemo/aes.py
- + gajim/common/omemo/state.py
- + gajim/common/omemo/util.py
- gajim/common/passwords.py
- gajim/common/setting_values.py
- + gajim/common/storage/omemo.py
- gajim/data/gui/contact_info.ui
- gajim/data/gui/groupchat_details.ui
- + gajim/data/gui/omemo_trust_manager.ui
- + gajim/data/icons/hicolor/scalable/categories/qr-code-scan-symbolic.svg
- gajim/data/style/gajim.css
- gajim/gtk/accounts.py
- gajim/gtk/builder.pyi
- gajim/gtk/chat_stack.py
- gajim/gtk/contact_info.py
- gajim/gtk/control.py
- + gajim/gtk/conversation/rows/encryption_info.py
- gajim/gtk/conversation/view.py
The diff was not included because it is too large.
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/6df5e261801871c3f616e2070cf5593…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/6df5e261801871c3f616e2070cf5593…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
804ec595 by Philipp Hörist at 2023-03-27T20:50:49+02:00
cq: Remove trailing whitespace
- - - - -
d10a154f by Philipp Hörist at 2023-03-27T20:56:34+02:00
ci: Update ruff to 0.0.259
- - - - -
4 changed files:
- .gitlab-ci.yml
- .pre-commit-config.yaml
- gajim/common/passwords.py
- pyproject.toml
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -40,7 +40,7 @@ test-ruff:
- changes:
- "**/*.py"
script:
- - pip3 install ruff==0.0.237
+ - pip3 install ruff==0.0.259
- ruff .
interruptible: true
=====================================
.pre-commit-config.yaml
=====================================
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/charliermarsh/ruff-pre-commit
- rev: v0.0.237
+ rev: v0.0.259
hooks:
- id: ruff
exclude: ".githooks/"
=====================================
gajim/common/passwords.py
=====================================
@@ -57,7 +57,7 @@ def init(self) -> None:
for backend in backends:
log.info('Found keyring backend: %s', backend)
- if (app.settings.get('enable_keepassxc_integration') and
+ if (app.settings.get('enable_keepassxc_integration') and
package_version('keyring>=23.8.1')):
_keyring = keyring.get_keyring()
self.backend = _keyring.with_properties(scheme='KeePassXC')
=====================================
pyproject.toml
=====================================
@@ -198,7 +198,15 @@ ignore = [
"N806", # Variable should be lower case
"N817", # CamelCase imported as acronym
"N818", # Exception name should be named with an Error suffix
+ "PLC1901",# Expression can be simplified to x as an empty string is falsey
+ "PLR0911",# Too many return statements
+ "PLR0912",# Too many branches
+ "PLR0913",# Too many arguments to function call
+ "PLR0915",# Too many statements
"PLR2004",# Magic value used in comparison, consider replacing x with a constant variable
+ "PLR5501",# Consider using `elif` instead of `else` then `if` to remove one indentation level
+ "PLW0603",# Using the global statement to update `x` is discouraged
+ "PLW2901",# `for` loop variable `x` overwritten by assignment target
"RUF001", # AmbiguousUnicodeCharacterString
"RUF002", # AmbiguousUnicodeCharacterDocstring
"RUF003", # AmbiguousUnicodeCharacterComment
@@ -206,10 +214,17 @@ ignore = [
"RUF100", # Unused `noqa` directive
"S101", # Use of `assert` detected
"S110", # `try`-`except`-`pass` detected, consider logging the exception
+ "S301", # `pickle` and modules that wrap it can be unsafe when used to deserialize untrusted data, possible security issue
+ "S303", # Use of insecure MD2, MD4, MD5, or SHA1 hash function
+ "S310", # Audit URL open for permitted schemes
+ "S311", # Standard pseudo-random generators are not suitable for cryptographic purposes
+ "S314", # Using `xml` to parse untrusted data is known to be vulnerable to XML attacks; use `defusedxml` equivalents
"S324", # Probable use of insecure hash functions
+ "S608", # Possible SQL injection vector through string-based query construction
"SIM102", # Use a single `if` statement instead of nested `if` statements
"SIM105", # Use `contextlib.suppress(Exception)` instead of try-except-pass
"SIM108", # Use ternary operator
+ "SIM114", # Combine `if` branches using logical `or` operator"
"SIM115", # Use context handler for opening files
"SIM201", # Use x instead of not x
"SIM212", # Use `value if value else ''` instead of `'' if not value else value`
@@ -219,6 +234,9 @@ ignore = [
"UP031", # Use format specifiers instead of percent format
"UP032", # Use f-string instead of `format` call
"UP034", # Avoid extraneous parentheses
+ "UP035", # Import from `collections.abc` instead: `Callable`
+ "UP038", # Use `X | Y` in `isinstance` call instead of `(X, Y)`
+ "UP037", # Remove quotes from type annotation
]
exclude = [
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/da84ac3fac795d585930e38a940a58b…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/da84ac3fac795d585930e38a940a58b…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch omemo_integration at gajim / gajim
Commits:
bf404d73 by Philipp Hörist at 2023-03-27T20:21:37+02:00
fix: Fix devicelist
- - - - -
1 changed file:
- gajim/common/modules/omemo.py
Changes:
=====================================
gajim/common/modules/omemo.py
=====================================
@@ -566,7 +566,7 @@ def request_bundle(self, jid: str, device_id: int):
message=EncryptionInfoMsg.UNDECIDED_FINGERPRINTS))
def set_devicelist(self, devicelist: Optional[list[int]] = None) -> None:
- devicelist_: set[int] = set(self.backend.own_device)
+ devicelist_: set[int] = set([self.backend.own_device])
if devicelist is not None:
devicelist_.update(devicelist)
self._log.info('Publishing own devicelist: %s', devicelist_)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/bf404d73859b682dcaf1f2dd9e5c1f8b…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/bf404d73859b682dcaf1f2dd9e5c1f8b…
You're receiving this email because of your account on dev.gajim.org.
Daniel Brötzmann pushed to branch omemo_integration at gajim / gajim
Commits:
5fdc3866 by Philipp Hörist at 2023-03-26T15:47:34+02:00
chore: Add libappindicator as optional dependency
- - - - -
29219f72 by wurstsalat at 2023-03-26T19:24:56+02:00
fix: Account preferences: Adapt to changed icons
- - - - -
da84ac3f by wurstsalat at 2023-03-26T20:52:57+02:00
fix: ChatActionProcessor: Fix inserting emojis by click
Fixes #11445
- - - - -
461cdf1f by lovetox at 2023-03-26T20:58:01+02:00
Omemo Start
- - - - -
fb680e6b by wurstsalat at 2023-03-26T20:58:01+02:00
cq: OMEMO: Add type annotations
- - - - -
797755cd by wurstsalat at 2023-03-26T20:58:01+02:00
cq: OMEMO: Fix linting errors
- - - - -
31365622 by wurstsalat at 2023-03-26T20:58:01+02:00
cq: Add type stubs for python-qrcode
- - - - -
259dd948 by wurstsalat at 2023-03-26T20:58:13+02:00
chore: Adapt dependencies for OMEMO
- - - - -
28925f51 by wurstsalat at 2023-03-26T20:58:15+02:00
chore: OMEMO: Remove unused methods
'activate' has a replacement in the 'signled-in' event
- - - - -
0276c3d2 by wurstsalat at 2023-03-26T20:58:15+02:00
new: Add OMEMO_TEMP_DL to caps
- - - - -
83014c1e by wurstsalat at 2023-03-26T20:58:15+02:00
new: Add OMEMOTrustManager
- - - - -
ee409ed4 by wurstsalat at 2023-03-26T20:58:15+02:00
new: OMEMO: Add file encryption
- - - - -
1c0ffcbf by Philipp Hörist at 2023-03-26T20:58:15+02:00
chore: Update dependencies
- - - - -
b71875eb by Philipp Hörist at 2023-03-26T20:58:15+02:00
new: Block omemo plugin
- - - - -
1d7b86bf by wurstsalat at 2023-03-26T20:58:15+02:00
chore: OMEMO: Remove obsolete qrcode version check
- - - - -
efffd898 by Philipp Hörist at 2023-03-26T20:58:15+02:00
refactor: Move omemo storage to storage module
- - - - -
b8f3efb7 by Philipp Hörist at 2023-03-26T20:58:15+02:00
refactor: Move omemo code into common
- - - - -
a8336b94 by Philipp Hörist at 2023-03-26T20:58:15+02:00
cq: Fix linter errors
- - - - -
5feab54e by wurstsalat at 2023-03-26T20:58:15+02:00
new: OMEMO: Add handling of MucAdded signal
- - - - -
ba1ab646 by wurstsalat at 2023-03-26T20:58:15+02:00
new: OMEMO: Add EncryptionAnnouncementRow
- - - - -
a1eb11c5 by Philipp Hörist at 2023-03-26T20:58:15+02:00
fix: check preconditions
- - - - -
54cd06a6 by Philipp Hörist at 2023-03-26T20:58:15+02:00
refactor: Rename methods
- - - - -
ed60343a by Philipp Hörist at 2023-03-26T20:58:15+02:00
cq: Remove blank line
- - - - -
d57d4ac1 by Philipp Hörist at 2023-03-26T20:58:15+02:00
refactor: Remove unused code
- - - - -
3276e69f by Philipp Hörist at 2023-03-26T20:58:15+02:00
refactor: Use send_stanza method
- - - - -
625cd81b by Philipp Hörist at 2023-03-26T20:58:15+02:00
refactor: Remove devices module
- - - - -
ab16ae8e by Philipp Hörist at 2023-03-26T20:58:15+02:00
cq: Remove unused imports
- - - - -
9290f4fa by Philipp Hörist at 2023-03-26T20:58:15+02:00
refactor: Switch to new library
- - - - -
8610d3fc by Philipp Hörist at 2023-03-26T20:58:15+02:00
cq: Fix storage annotations
- - - - -
2efea9d1 by Philipp Hörist at 2023-03-26T20:58:15+02:00
fix: Fix import
- - - - -
6e935e11 by wurstsalat at 2023-03-26T20:58:15+02:00
Fix typo in flatpak files
- - - - -
c0421197 by wurstsalat at 2023-03-26T20:58:15+02:00
Enable users to copy their fingerprints
- - - - -
2c37a59f by wurstsalat at 2023-03-26T20:58:15+02:00
Fix HTTPUpload method call
- - - - -
d73e99f7 by wurstsalat at 2023-03-26T20:58:15+02:00
OMEMOTrustManager: Fix leaks
- - - - -
c45ac223 by wurstsalat at 2023-03-26T20:58:15+02:00
Run isort
- - - - -
d899647f by wurstsalat at 2023-03-26T20:58:15+02:00
cq: Fix linting errors
- - - - -
97a2bb0d by wurstsalat at 2023-03-26T21:01:47+02:00
cfix: Fix _on_clear_devices_clicked
- - - - -
30 changed files:
- README.md
- debian/control
- flatpak/org.gajim.Gajim.Devel.yaml
- flatpak/org.gajim.Gajim.yaml
- gajim/common/client.py
- gajim/common/const.py
- gajim/common/events.py
- gajim/common/modules/httpupload.py
- + gajim/common/modules/omemo.py
- gajim/common/modules/util.py
- + gajim/common/omemo/__init__.py
- + gajim/common/omemo/aes.py
- + gajim/common/omemo/state.py
- + gajim/common/omemo/util.py
- gajim/common/setting_values.py
- + gajim/common/storage/omemo.py
- gajim/data/gui/account_page.ui
- gajim/data/gui/contact_info.ui
- gajim/data/gui/groupchat_details.ui
- + gajim/data/gui/omemo_trust_manager.ui
- + gajim/data/icons/hicolor/scalable/categories/qr-code-scan-symbolic.svg
- gajim/data/style/gajim.css
- gajim/gtk/accounts.py
- gajim/gtk/builder.pyi
- gajim/gtk/chat_action_processor.py
- gajim/gtk/chat_stack.py
- gajim/gtk/contact_info.py
- gajim/gtk/control.py
- + gajim/gtk/conversation/rows/encryption_info.py
- gajim/gtk/conversation/view.py
The diff was not included because it is too large.
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/22a45502daa4a10c6fba98da0908b67…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/22a45502daa4a10c6fba98da0908b67…
You're receiving this email because of your account on dev.gajim.org.
Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
da84ac3f by wurstsalat at 2023-03-26T20:52:57+02:00
fix: ChatActionProcessor: Fix inserting emojis by click
Fixes #11445
- - - - -
1 changed file:
- gajim/gtk/chat_action_processor.py
Changes:
=====================================
gajim/gtk/chat_action_processor.py
=====================================
@@ -107,7 +107,9 @@ def _on_key_press(self,
return False
def _on_focus_out(self, *args: Any) -> bool:
- self.popdown()
+ # Add 100 ms timeout in order to process potential menu item click
+ # events (which will emit focus-out-event on the message input)
+ GLib.timeout_add(100, self.popdown)
return False
def _on_popover_closed(self, _popover: Gtk.Popover) -> None:
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/da84ac3fac795d585930e38a940a58b0…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/da84ac3fac795d585930e38a940a58b0…
You're receiving this email because of your account on dev.gajim.org.