gh-XcodesOrg-XcodesApp/Xcodes/Backend
Brandon Evans 75457dd9eb
Show stored username in General preference pane
This reverts the change from 90c067997b so that the username is shown in situations where we don't have a valid session but could almost certainly get one. Instead, to achieve what that commit was trying to do, we'll instead remove the username from UserDefaults if auth fails with an invalid username or password error. I think this will more closely match what users expect in this UI.

I've added a comment in the UI explaining why it is the way it is. It might also be worth considering renaming AuthenticationState or its cases to better reflect that it's probably more about the (short-lived) session state than whether the user has signed in before and has stored their credentials.
2021-01-25 19:56:28 -07:00
..
AppState+Install.swift Prepare user for helper installation before post-install steps 2021-01-23 20:25:28 -07:00
AppState+Update.swift Filter out prerelease versions that have the same build identifier as a release build 2021-01-16 11:40:27 -07:00
AppState.swift Show stored username in General preference pane 2021-01-25 19:56:28 -07:00
Aria2CError.swift Bundle aria2c 1.35.0 executable and source 2021-01-08 17:22:38 -07:00
AvailableXcode.swift Fix a bug when an installed version was appended 2021-01-16 11:40:04 -07:00
Bundle+InfoPlistValues.swift Use copyright value from Info.plist in about window 2020-12-28 10:38:29 -07:00
Configure.swift Add SettingsView 2020-12-22 21:26:25 -07:00
DataSource.swift Add Xcode Releases data source 2020-12-27 18:29:25 -07:00
DateFormatter+.swift Reorganize files a bit 2020-12-22 21:01:33 -07:00
Downloader.swift Add downloaders to SettingsView 2021-01-08 17:22:38 -07:00
Downloads.swift Split up Models.swift 2020-12-27 18:29:25 -07:00
Entry+.swift Reorganize files a bit 2020-12-22 21:01:33 -07:00
Environment.swift Handle helper installation errors 2021-01-22 22:18:59 -07:00
FileManager+.swift Reorganize files a bit 2020-12-22 21:01:33 -07:00
FocusedValues.swift Add Xcode command menu 2020-12-27 23:23:33 -07:00
Foundation.swift Reorganize files a bit 2020-12-22 21:01:33 -07:00
HelperClient.swift Unwrap auth error messages to avoid "Optional(...)" 2021-01-22 22:19:31 -07:00
HelperInstallState.swift Extract HelperInstallState to new file 2021-01-23 19:38:11 -07:00
InstallationStep.swift Add InstallationStepView 2021-01-01 15:36:20 -07:00
InstalledXcode.swift Split up Models.swift 2020-12-27 18:29:25 -07:00
IsTesting.swift Add isTesting to make NSTestCase check more clear 2021-01-07 21:25:07 -07:00
Logger.swift Invalidate XPC connection after installing 2021-01-17 11:57:45 -07:00
Optional+IsNotNil.swift Create MainWindow to split up XcodeListView 2020-12-28 12:42:28 -07:00
Path+.swift Fix bundle IDs 2020-12-22 21:26:05 -07:00
Process.swift Replace print/dump/NSLog with os.log Logger 2021-01-16 13:14:27 -07:00
Publisher+Resumable.swift Add install functionality 2021-01-07 21:25:07 -07:00
SelectedXcode.swift Add Xcode command menu 2020-12-27 23:23:33 -07:00
URLRequest+Apple.swift Reorganize files a bit 2020-12-22 21:01:33 -07:00
URLSession+DownloadTaskPublisher.swift Add install functionality 2021-01-07 21:25:07 -07:00
Version+.swift Simplify Version comparison 2021-01-16 10:15:39 -07:00
Version+Xcode.swift Always show build identifiers in list and info pane 2021-01-16 13:30:52 -07:00
Version+XcodeReleases.swift don't show brackets when buildMetadataIdentifiers is empty 2021-01-20 21:13:53 -06:00
Xcode.swift Always show build identifiers in list and info pane 2021-01-16 13:30:52 -07:00
XcodeCommands.swift Move Xcode path into XcodeInstallState.installed case 2021-01-16 13:09:48 -07:00
XcodeInstallState.swift Move Xcode path into XcodeInstallState.installed case 2021-01-16 13:09:48 -07:00