summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-07-18Add support for multiple accountsThanos Doukoudakis
Added support for multiple accounts and a list of servers where the user can switch between the accounts. Future patches will make the list widget to use server avatars with user status. Upon startup the client will reconnect with all previous accounts. If the user log outs with any of the accounts then it will not login automatically for future sessions, the credential though will be available to the user. Upon upgrading from previous versions, the client will migrate the account that was previously marked to auto-login to the new configuration and enable it. After the migration the autologin setting will be set to false. Some of the settings and command line arguments have been made obsolete due to these changes and removed, including SSO support, which will be re-introduced in a future patch. Test-Information: Tested the changes in Windows and Linux, tested adding and removing accounts, and switching between them. Tested the new configuration for accounts, the upgrade behaviour when an account is marked/not marked to autojoin, and the migration to the new configuration. Verified that the auto-login setting is set to false after the migration, and that the migrated account can be disabled (currently only by signing out). Change-Id: I63662f80e006112fde6f418f9743e2b420e81870
2018-05-18Open swift with sensible geometry in netbook mode the first timePeter Burgess
If swift has never been run in netbook mode before, then netbook mode geometry is set by some hard coded default value during construction of QtSingleWindow. The code to set and utilize the original non-netbook mode geometry has been removed. Test-information: No unit tests as all changes at Qt specific. Tested after deleting config file. Tested after replacing config file with one that has no SINGLE_WINDOW_XXX settings (so a config file you would find if swift had never been opened in netbook mode). Tested with one or other of the SINGLE_WINDOW_XXX settings missing Tested with config file that contains all SINGLE_WINDOW_XXX settings Change-Id: I0075456796bd830b855629fbd03d601df7f2891c
2017-02-22Improve Swift about window regarding auto update UXTobias Markmann
The dialog will automatically initiate a check for updates when opened. It will show the current state of the auto updater backend, e.g. whether it is downloading or already at the latest version. This also fixes update channel selection being shown on Windows and Linux. Test-Information: Ran Swift and opening the dialog shows a short progress bar indicating it checking for updates. Afterwards it shows that it is already running the latest version, which is sensible for a dev build. Change-Id: Ie08cd2a8852e468d6007122604b532fedc24bcfe
2016-09-29Fix uninitialised class membersTobias Markmann
Initialised previously uninitialised class members. Changed some raw pointers to std::unique_ptr for clearer and automatically initialised code. Test-Information: Builds on macOS 10.12 and unit tests pass in ASAN-enabled build. Change-Id: I7900fe6131119c228ca92c79c0ee8125137f2e48
2016-03-31Convert tabs to 4 spaces for all source filesTobias Markmann
Removed trailing spaces and whitespace on empty lines in the process. Changed CheckTabs.py tool to disallow hard tabs in source files. Test-Information: Manually checked 30 random files that the conversion worked as expected. Change-Id: I874f99d617bd3d2bb55f02d58f22f58f9b094480
2016-03-30Apply consistent #include grouping and sorting styleTobias Markmann
Changed "" style includes to <> style. Test-Information: Build with Clang 3.9.0 and ran all tests on OS X 10.11.4. Change-Id: Ic05e53f2e5dba39cc1307b116fc5f17b62ab9eb8
2014-12-15Update Copyright in SwiftKevin Smith
Change-Id: Idb6ef5fa191b1465c0bf46c47e63b695de07fa0b
2014-12-14Add support for new trellis layout for chat windows.Tobias Markmann
This includes dynamic customizable grid layouting of chat tabs including: - arrengement of tabs via menu, keyboard shortcuts or drag'n'drop - change of grid size via mouse or keyboard - save/restore of grid size and positions of chats inside the grid Test-Information: Tested on OS X 10.9.8. Change-Id: I43f94293a1c672971640c3000abfc6530f2ea7a8
2013-01-09Highlighting supportMaciej Niedzielski
Change-Id: Ib6bd42cecff018998117bc1e7db279a62b3af434 License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
2012-09-08Connection settings supportKevin Smith
2012-05-12Show Certificate dialog from certificate error window.Remko Tronçon
2012-04-25Clicking the OS X dock brings the app to the front.Remko Tronçon
Resolves: #501
2012-04-11Added support for determining SmartCard Reader associated with a certificate ↵Alexey Melnikov
(if any) This patch implements monitoring for SmartCard ejection. This is done by periodically (currently every second) polling smart card reader for the smart card status. If the smart card status becomes "absent" or "unknown" (an error to query the smartcard), the TLS session is aborted. This usually results in an attempt to reestablish TLS which will pop up "please insert the smart card" dialog. License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
2012-02-21Introduce system settings policies.Kevin Smith
Release-Notes: It is now possible for sysadmins to deploy files with policies for configuration options, such as making it impossible for users to save passwords or to force sound notifications off, or to set defaults. Also allow changing an option so that Swift disconnects on idle timeout, instead of going away.
2011-12-24Enable "Show notifications" toggle when Growl isn't installed.Remko Tronçon
2011-11-28Message Receipts (XEP-0184) support for 1-to-1 conversations (including ↵Tobias Markmann
1-to-1 MUC). Warn icon from already existing theme. Check icon from Wikipedia. See Swift/resources/icons/license_info.txt for details. License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
2011-10-29Make the --eagle-mode banner per-login, not per-runKevin Smith
2011-09-25Google Summer of Code 2011 Project: Adding support for Jingle File Transfers ↵Tobias Markmann
(XEP-0234), Jingle SOCKS5 Bytestreams Transport Method (XEP-0260), Jingle In-Band Bytestreams Transport Method (XEP-0261) and SOCKS5 Bytestreams (XEP-0065). License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
2011-07-09Disable debug console in Eagle mode.Kevin Smith
Resolves: #889
2011-05-22Only forget login details in eagle modeKevin Smith
2011-05-22Eagle mode.Kevin Smith
Disables password persistence.
2011-04-19Allow smaller roster heights.Kevin Smith
Resolves: #5222 Release-Notes: The minimum vertical roster size has been reduced.
2011-02-14Removed Swift::String.Remko Tronçon
2011-02-11Allow deletion of items from login list.Kevin Smith
Resolves: #711 Release-Notes: Highlighting an item in the login account list and pressing detele will now prompt you to remove the cached credentials for that account.
2011-02-07Identify the marked jid and recognize del or backspaceThilo Cestonaro
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
2011-02-04Cleaned up some unused code.Remko Tronçon
2010-12-19Make loginwindow hiding a little more consistent with other codeKevin Smith
2010-12-13Extend the certificate accept dialog & login after accept.Remko Tronçon
2010-12-13Initial cert confirmationKevin Smith
2010-12-12Don't hide the roster when clicking the system tray on OS X.Remko Tronçon
2010-10-30Disconnect client cleanly before quitting.Remko Tronçon
Resolves: #671, #420
2010-10-08Slightly re-arrange the menus.Kevin Smith
Resolves: #602 Resolves: #603
2010-10-05Create 'Enable notifications' menu on Linux.Kevin Smith
I've not actually tested this on Linux... Resolves: #594
2010-10-03Allow cancelling logins.Kevin Smith
Note that until 588 is fixed, this can cause crashes. Release-Notes: It's now possible to cancel a login in progress. Resolves: #100
2010-04-15Normalise muc joining, allow it from bookmark list.Kevin Smith
Resolves: #320
2010-04-12Use General menu on OS X (don't duplicate Swift).Kevin Smith
Resolves: #307
2010-04-08Added copyrights to Swift.Remko Tronçon
2010-04-06Add option to log in automatically.Kevin Smith
Resolves: #240
2010-04-05Persist Sound Toggleness.Kevin Smith
Resolves: #192
2010-04-04Allow sounds to be toggled.Kevin Smith
Doesn't persist option yet. Resolves: #192
2009-11-26Remember the last used account.Kevin Smith
This is the last account to be logged in with, not the last account to be logged out. If you want that, open a new ticket. Resolves: #241
2009-11-26Plumbing to show a dummy XMLConsoleWidget in the chat tabs.Kevin Smith
This should all work now, and the XMLConsoleController needs to talk to the QtXMLConsoleWidget through the XMLConsoleWidget interface. Resolves: #256
2009-10-15Save the geometry of the chat and roster windows.Kevin Smith
2009-09-12Multiple profiles in the login window mostly working.Kevin Smith
2009-09-12Allow storing of settings for multiple profiles.Kevin Smith
2009-09-05Don't use singleton for AboutWidget.Remko Tronçon
2009-09-01Fix show/hide behavior of SystemTray.Remko Tronçon
Show now brings the window to front and activates it. Clicking on the tray hides the application if it is visible.
2009-08-29Basic About dialogKevin Smith
2009-08-28Include Quit option in Swift menu.Kevin Smith
2009-08-28Don't duplicate menus on reconnect, make menubar global on Mac.Kevin Smith