Commit Graph

24 Commits

Author SHA1 Message Date
Anand Biligiri
9b107ec98c SRP Login works now
- Switch to use https://github.com/adam-fowler/swift-srp with some modifications
  that are local
  - Pad g value to equal size of N while calculating clientProof
- Use SHA256(plain-text-password) while computing key using PBKDF2
- Added a unit test with some sample values
2024-10-28 13:25:17 -07:00
Matt Kiazyk
6ffce23616 more WIP 2023-11-23 10:37:41 -06:00
Matt Kiazyk
709af9e97a Update download task to check for resultCode !=0 2021-11-09 16:25:26 -06:00
Matt Kiazyk
e11cdd1198 Fix up Tests - modify validateSession to use our network wrapper. 2021-10-19 10:54:47 -05:00
Brandon Evans
b8bae4f32c Don't consider versions without build identifiers for identical builds 2021-02-06 14:56:28 -07:00
Brandon Evans
760c9f300e Handle duplicate 3.2.3 release builds
:/
2021-02-04 21:25:01 -07:00
Brandon Evans
dcd4001548 Merge identical builds into the release version instead of filtering 2021-02-04 21:25:00 -07:00
Brandon Evans
bc45daeb74 Only adjust available versions for Apple data source 2021-02-04 21:25:00 -07:00
Matt Kiazyk
75cbd9550b Adjust ByteCountFormatter. PR Feedback 2021-02-03 21:55:47 -06:00
Brandon Evans
cb507c3d02 Prepare user for helper installation before post-install steps 2021-01-23 20:25:28 -07:00
Brandon Evans
42bfbdb50d Add AppStateTests.swift to XcodesTests target 2021-01-23 13:28:54 -07:00
Brandon Evans
91293557ec Catch and reword xip "not enough free space" error 2021-01-23 13:28:43 -07:00
Brandon Evans
4301667000 Replace print/dump/NSLog with os.log Logger 2021-01-16 13:14:27 -07:00
Brandon Evans
cd2bde2272 Move Xcode path into XcodeInstallState.installed case 2021-01-16 13:09:48 -07:00
Brandon Evans
bc27f1785b Filter out prerelease versions that have the same build identifier as a release build 2021-01-16 11:40:27 -07:00
Brandon Evans
62237bf4a8 Fix a bug when an installed version was appended
We were appending a version without appending a corresponding AvailableXcode, and these two arrays were being zipped later so they wouldn't line up. This change simplifies this method a bit by working on only a single array, and then also moves that appending to the end after the array of Xcodes is created.
2021-01-16 11:40:04 -07:00
Brandon Evans
faad4c2ab7 Fix bug where adjusted versions weren't used to look up AvailableXcodes 2021-01-16 10:15:39 -07:00
Brandon Evans
baa8491786 If build metadata identifiers match, treat it as a match regardless of other version components 2021-01-16 10:15:39 -07:00
Brandon Evans
ad02e89449 Add failing test to cover removing an uninstalled version, fix it
https://github.com/RobotsAndPencils/XcodesApp/pull/44#issuecomment-756783640
2021-01-16 10:15:32 -07:00
Brandon Evans
fecb40893f Don't replace existing install state when updating 2021-01-07 21:25:08 -07:00
Brandon Evans
bfb3fd9ea5 Add install functionality
I'm omitting aria2 support for now.
2021-01-07 21:25:07 -07:00
Brandon Evans
9556c59f76 Add test bundle reference 2021-01-03 10:19:08 -07:00
Brandon Evans
813489b5fa Add Environment+Mock 2021-01-03 10:18:48 -07:00
Brandon Evans
2f5e432239 Fix things, tests pass 2020-11-24 21:20:35 -07:00