Philipp Hörist pushed to branch master at gajim / gajim
Commits:
f12cf65e by Philipp Hörist at 2022-10-09T13:38:51+02:00
fix: Don’t fail when disabling accounts
Fixes #11199
- - - - -
1 changed file:
- gajim/gui_interface.py
Changes:
=====================================
gajim/gui_interface.py
=====================================
@@ -563,6 +563,9 @@ def disable_account(self, account: str) -> None:
build_accounts_menu()
app.app.update_app_actions_state()
+ # Code in account-disabled handlers may use app.get_client()
+ app.ged.raise_event(AccountDisabled(account=account))
+
app.get_client(account).cleanup()
del app.connections[account]
del self.instances[account]
@@ -570,8 +573,6 @@ def disable_account(self, account: str) -> None:
del app.automatic_rooms[account]
del app.to_be_removed[account]
- app.ged.raise_event(AccountDisabled(account=account))
-
def remove_account(self, account: str) -> None:
if app.settings.get_account_setting(account, 'active'):
self.disable_account(account)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/f12cf65e8c44105b3689d55195834751…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/f12cf65e8c44105b3689d55195834751…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
fe698091 by Philipp Hörist at 2022-10-08T16:54:07+02:00
release: 1.5.2
- - - - -
4 changed files:
- ChangeLog
- data/org.gajim.Gajim.appdata.xml.in
- flatpak/org.gajim.Gajim.yaml
- gajim/__init__.py
Changes:
=====================================
ChangeLog
=====================================
@@ -1,3 +1,60 @@
+Gajim 1.5.2 (08 Oct 2022)
+
+ New
+
+ * PEPConfig: Add PEP item view
+ * Add shortcut to restore chats after closing (#11088)
+ * ServerInfo: Add TLS version and cipher suite
+
+ Improvements
+
+ * XMLConsole: Apply account filter to all visible stanzas (#11193)
+ * Features dialog: Simplify statements on Windows
+ * MessageRow: Set text direction for RTL text (#11148)
+ * AvatarSelector: Add border to mark drag and drop zone
+ * Drag and drop: Highlight target areas (#11173)
+ * GroupChatNickCompletion: Simplify suggestions (#11155)
+ * MUC: Add participant menu to avatar
+ * StartChat: Add timeout when requesting MUC disco info
+ * StartChat: Pass message body from XMPP URI (#11140)
+ * Windows: Ellipsize body text in notifications
+ * Emojis: Improve shortcode usability
+ * Avatars: Use PangoCairo for generate_avatar (#10960)
+ * Emojis: Extract codepoints for all emoji variants
+
+ Change
+
+ * Raise nbxmpp version
+ * Show account color bar only when multiple accounts are active
+
+ Performance
+
+ * Remove queue_resize leftover from MessageTextView
+ * SearchView: Update calendar only if widget is visible
+ * SearchView: Speed up clearing of search results (#11158)
+ * Styling: Parse emojis for Darwin only
+
+ Bug Fixes
+
+ * Control: Load events before messages (#11129)
+ * Fix disabling accounts while reconnecting (#11194)
+ * Use custom icon for 'Send Message' action
+ * MessageActionsBox: Don’t fail if no contact is set while updating file actions
+ * Scroll to end after sending message (#10871)
+ * Update chat actions when account state changes (#11184)
+ * StatusIcon: Reset unread state correctly when using Flatpak (#11069)
+ * Notifications: Show correct message sender for MUC notifications (#11177)
+ * Discovery: Don’t allow to join top level components (#11175)
+ * ChatList: Show context menu in correct position (#11165)
+ * Styling: Allow dots in local part of email addresses
+ * ChatList: Set message_id correctly (#11168)
+ * Notifications: React to incoming group chat messages (#11161)
+ * When removing a chat, clear view only if it's currently loaded (#11164)
+ * AccountPage: Disable Ad-Hoc Commands button when offline (#11167)
+ * CreateGroupchatWindow: Fix Create button state when switching MUC type (#11162)
+ * React correctly to UserAvatar updates (#11065)
+ * GajimRemote: Remove not needed shebang
+
Gajim 1.5.1 (19 Sep 2022)
Bug Fixes
=====================================
data/org.gajim.Gajim.appdata.xml.in
=====================================
@@ -74,6 +74,7 @@
<control>pointing</control>
</recommends>
<releases>
+ <release version="1.5.2" date="2022-10-08" />
<release version="1.5.1" date="2022-09-19" />
<release version="1.5.0" date="2022-09-19" />
<release version="1.4.7" date="2022-07-24" />
=====================================
flatpak/org.gajim.Gajim.yaml
=====================================
@@ -331,7 +331,7 @@ modules:
sources:
- type: git
url: https://dev.gajim.org/gajim/gajim.git
- tag: 1.5.1
+ tag: 1.5.2
- type: file
path: app-overrides.json
post-install:
=====================================
gajim/__init__.py
=====================================
@@ -1,7 +1,7 @@
import sys
from pathlib import Path
-__version__ = '1.5.1'
+__version__ = '1.5.2'
IS_FLATPAK = Path('/app/share/run-as-flatpak').exists()
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/fe698091044ccc85ffbfd831622383b4…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/fe698091044ccc85ffbfd831622383b4…
You're receiving this email because of your account on dev.gajim.org.