163 Commits
Author SHA1 Message Date
Max e5291ba16b Log if app purchase was required and executed (#339) v2.1.6 2025-02-10 23:33:02 +01:00
AhmedBafkir 37af8f8468 Fix purchase issue (#338)
Fix purchase issue by updating endpoint
2025-02-10 23:25:58 +01:00
MaxandMajd Alfhaily 21cbd596bc Fix initial authentication attempt with 2FA (#331)
I though that the first attempt would not contain the 2fa code,
but I was wrong. This fixes the authentication when using 2fa enabled
accounts.

closes majd/ipatool#326

Co-authored-by: Majd Alfhaily <majd@alfhaily.me>
v2.1.5
2025-01-20 00:13:19 +01:00
dependabot[bot]andMajd Alfhaily f3c9076ff0 Bump golang.org/x/net from 0.23.0 to 0.33.0 (#334)
* Bump golang.org/x/net from 0.23.0 to 0.33.0

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.23.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.23.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix linting errors

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Majd Alfhaily <majd@alfhaily.me>
2025-01-20 00:00:00 +01:00
Majd Alfhaily d147788501 Bump deprecated actions versions 2025-01-19 23:39:03 +01:00
Max 8a23d6fadd Fix authentication (#316)
login: increment 'attempt' while following redirects

Apple has introduced some dynamic GET parameters into their
redirects, forcing us to use the main domain ( no `p71-`
and such prefixes ) to obtain those parameters.

However, when following such redirects, we shall also increment
the `attempt` parameter (something that was hard-coded before).
2024-12-07 23:56:04 +01:00
guangwu 63ee6fc6a4 Fix closing response body (#271) 2024-05-01 01:21:33 +02:00
dependabot[bot] 5b547457f1 Bump golang.org/x/net from 0.20.0 to 0.23.0 (#272)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.20.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.20.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-20 00:53:49 +02:00
Max Foxie 169af4b2ea Add ability to download .ipa by the app ID (#263)
* Add ability to download .ipa by the app ID
* Update `download` command usage in README
* Fix the linter warnings
2024-04-07 16:07:45 +02:00
dleovl f68a119963 Fix auth flag parenthesis (#267) 2024-04-06 18:59:58 +02:00
mike 58e9a18778 Close temporary file (#249) v2.1.4 2024-01-20 10:22:01 +01:00
Majd Alfhaily c8624b26d5 Update Go dependencies (#257)
* Update Go dependencies
* Replace github.com/golang/mock/gomock with go.uber.org/mock/gomock
2024-01-20 00:30:26 +01:00
Majd Alfhaily 3199afc494 Reduce Issues Cleanup workflow frequency to 6 hours 2023-12-21 00:18:16 +01:00
guangwu 6597f5ac77 fix: typo (#234) 2023-10-15 23:20:03 +02:00
双草酸酯 6ccb4a7f0b Hide progress bar in non-interactive mode (#229) 2023-09-23 14:29:49 +02:00
Majd Alfhaily 64c5cc9843 Close zip writer before removing files (#215) 2023-07-16 08:06:36 +00:00
Majd Alfhaily 19e7261713 Update changelog for v2.1.3 release (#204) v2.1.3 2023-06-11 08:43:36 +02:00
Majd Alfhaily b031cd20d1 Make --keychain-passphrase flag persistent (#203) 2023-06-07 22:31:43 +00:00
Majd Alfhaily 9db93c83c0 Close reader file handle (#202) 2023-06-07 22:22:42 +00:00
Majd Alfhaily 90253c336f Update changelog for v2.1.2 release (#198) v2.1.2 2023-06-04 18:03:56 +02:00
Majd Alfhaily e1141bd6d2 Default to FileBackend keyring when other options are not available (#197) 2023-06-03 22:07:32 +00:00
Majd Alfhaily 6a7adabbfa Fix reading config directory (#193) v2.1.1 2023-05-29 17:55:20 +00:00
Majd Alfhaily cfc4a075ae Update changelog for v2.1.0 release (#191) 2023-05-29 13:36:46 +00:00
Majd Alfhaily 74e7588c6d Add v2 suffix to module path (#190) v2.1.0 2023-05-29 13:27:28 +00:00
Majd Alfhaily 67e557e9a7 Add golangci-lint linter (#188) 2023-05-27 21:21:13 +00:00
Majd Alfhaily bf33e0d1c4 Improve tests for http package (#187) 2023-05-27 20:03:29 +00:00
Majd Alfhaily 95c3aa6629 Refactor API interfaces (#185)
- Move logging to command level.
- Simplify and unify interfaces for `appstore` package.
- Move sinf replication from "Download" API to "ReplicateSinf" API.
- Handle retries and command specific logic in the command level.
- Rename "Info" API to "AccountInfo".
2023-05-27 18:48:22 +02:00
Majd Alfhaily cf926d7911 Set build version using linker flags (#183) 2023-05-20 15:54:56 +00:00
Majd Alfhaily 9a361cf7a0 Remove .github/FUNDING.yml (#179) 2023-05-14 08:56:47 +00:00
Majd Alfhaily 574d5b5148 Add storefront code for Georgia (GE) (#177) 2023-05-05 19:49:05 +00:00
Majd Alfhaily 5abc5d1777 Expose Lookup API (#172) 2023-04-09 18:34:46 +00:00
Majd Alfhaily 8762eaf192 Refactor API to return output to caller (#171)
* Refactor auth.info implementation to return output

* Refactor auth.revoke implementation to return output

* Refactor auth.login implementation to return output

* Refactor search implementation to return output

* Refactor purchase implementation to return output

* Refactor download implementation to return output
2023-04-09 18:24:10 +00:00
Majd Alfhaily 4f3115d60f Fix macOS release step v2.0.3 2023-04-08 23:26:29 +02:00
Majd Alfhaily 0e38e43d8b Fix linux release step 2023-04-08 23:09:47 +02:00
Majd Alfhaily 73e9bd90d1 Update changelog for v2.0.3 release (#170) 2023-04-08 21:06:23 +00:00
Majd Alfhaily e76dbf044e Refactor purchase flow (#169) 2023-04-08 22:56:52 +02:00
Majd Alfhaily d82e819d4e Update dependencies (#164) 2023-03-11 20:05:31 +00:00
Majd Alfhaily 19ac47d098 Simplify GitHub workflows (#163) 2023-03-11 19:06:25 +01:00
ViRb3andMajd Alfhaily fece9ea79c Support purchase of Arcade games (#153)
Co-authored-by: Majd Alfhaily <majd@alfhaily.me>
2023-03-06 21:21:29 +01:00
ViRb3andMajd Alfhaily 1b31ee6556 Rework filename generation (#154)
Co-authored-by: Majd Alfhaily <majd@alfhaily.me>
2023-03-05 01:20:08 +01:00
ViRb3 fbd9d74729 Disable client timeout (#157) 2023-02-18 16:31:49 +01:00
ViRb3 8d2467491e Always apply user agent (#155) 2023-02-16 21:35:06 +01:00
Majd Alfhaily 4eba914bff Fix typo and update changelog (#143)
* Fix typo in README.md
* Update CHANGELOG.md
2023-01-23 20:17:01 +00:00
Majd Alfhaily 56cc64fcef Set default output path to current working directory (#142) v2.0.2 2023-01-23 20:05:46 +00:00
Majd Alfhaily 7813e78e3c Add storefront code for Albania (AL) (#141) 2023-01-23 19:52:27 +00:00
Itay Brenner 50a1e546ef Fix Sinf patch when app contains a Watch App (#140)
* Fix Sinf patch
* Add test case for Downloading with Watch App
* Update pkg/appstore/appstore_download_test.go
2023-01-23 20:41:58 +01:00
Majd Alfhaily 094ff93693 Add storefront code for Mongolia (#134) v2.0.1 2023-01-06 22:04:09 +00:00
Majd Alfhaily 5d014266e3 Publish sha256 hash for Linux & Windows releases (#133) 2023-01-06 22:56:10 +01:00
Majd Alfhaily 8dd1a8508d Update demo (#126) 2022-12-08 23:26:12 +00:00
Majd Alfhaily dff5a5ad0b Update CHANGELOG.md v2.0.0 2022-12-08 19:54:19 +01:00