Commit Graph

1047 Commits

Author SHA1 Message Date
Honza ef248c9dc5 Throw exception instead of custom error
- This step unify our approach to validation on client side across all server calls
2023-01-31 09:32:34 +01:00
Carter Jernigan 443d51fd02 Remove package from Android Manifest 2023-01-30 14:47:21 -05:00
Carter Jernigan b8be2a234f Hide private variables 2023-01-30 14:47:10 -05:00
Carter Jernigan f089fb5424 Remove private field from public documentation 2023-01-30 14:18:51 -05:00
Carter Jernigan 83f9e9a47a Sort packaging filters 2023-01-30 14:18:51 -05:00
Carter Jernigan e7dbd3ae53 Add migrations documentation 2023-01-30 14:00:02 -05:00
Honza 1122a1b41d Revert timeout
- As Github has some infrastructure troubles and we need to wait
2023-01-30 17:22:50 +01:00
Honza 66966ae06e Release build upload timeout increase fix 2023-01-30 16:41:36 +01:00
Honza 4a3c5ed3c3 Release build upload timeout increase 2023-01-30 16:40:31 +01:00
Honza e82533f440 Response resolver tests 2023-01-30 16:01:59 +01:00
Honza f929ab9008 SDK version bump 2023-01-30 14:23:39 +01:00
Honza 2e8d335ef3 AGP 7.4.0 changes
-  packagingOptions -> androidComponents in sdk-lib and lightwallet-client-lib modules
2023-01-30 09:59:43 +01:00
Honza 0e4d634693 Merge + changelog update
- Updated changelog
- Merged branch 'main' into 615-networking-module

* main:
  [#882] Check properties on CI
  [#874] GRPC 1.52.1
  [#892] Emulator.wtf Gradle Plugin 0.0.15
  [#888] Android Gradle Plugin 7.4
  [#851] Androidx Updates
  [#851] Kotlin 1.8
  [#779] Resolve flaky DatabaseCoordinatorTest
  [#886] Support null block heights
  [#881] Use variables for Test Lab
  [#860] Flank 23.01.0

# Conflicts:
#	CHANGELOG.md
#	gradle.properties
2023-01-30 09:56:21 +01:00
Honza e2d1d93ac2 Unify new clients instances name 2023-01-29 18:37:44 +01:00
Honza f569677fec Update proto files
- Plus related api changes adoption
2023-01-29 18:19:34 +01:00
Carter Jernigan f0a00f6771
[#882] Check properties on CI
Co-authored-by: Honza <rychnovsky.honza@gmail.com>
2023-01-25 15:10:05 -05:00
Honza c55d7ef96a Switch from empty response to exception
- Our server calls now rather throw IllegalArgumentException than return an empty response
- Removed commented out log message
- Updated javadocs
2023-01-25 12:55:42 +01:00
Honza b57b379416 Rename local variable 2023-01-25 10:45:28 +01:00
Honza b3f908b613 Remove code parameter
- Removed from the locally triggered failures with default codes.
2023-01-25 10:35:25 +01:00
Honza 2abc7ae2e6 Address several minor change requests 2023-01-24 16:14:44 +01:00
Honza fc3ac27205 Update unsafe suffix documentation 2023-01-24 14:17:10 +01:00
Honza 2b834013cb fetchUtxos returns flow
- Switched fetchUtxos() to return Flow of Service.GetAddressUtxosReply
- Internally it calls getAddressUtxosStream() instead of getAddressUtxos() from GRPC layer
2023-01-24 13:33:28 +01:00
Carter Jernigan 17018422fa [#874] GRPC 1.52.1 2023-01-24 06:22:44 -05:00
Carter Jernigan 5fefee2380 [#892] Emulator.wtf Gradle Plugin 0.0.15 2023-01-24 06:22:27 -05:00
Honza 0f1663f02c Unify return type of collection returning methods
- Switched fetchUtxos() to return Sequence instead of List
- Added a check on empty tAddress input
2023-01-24 11:41:20 +01:00
Honza 51d061ef1f Remove commented out log 2023-01-24 11:28:57 +01:00
Honza 703d4034af Refactor fetchTransaction() to work with Response
- Refactored this server call to adopt our new Response mechanism
- GrpsStatusResolver.resolveFailureFromStatus() now accepts Throwable input
- Added Response.Failure.toThrowable() to satisfy subsequent server calls results processing
- A few other minor refactoring changes
2023-01-23 17:18:20 +01:00
Honza 72f3790e22 Add simple fixture test 2023-01-23 11:53:39 +01:00
Honza 115ede75e8 Enhance Connection failure type 2023-01-23 11:16:32 +01:00
Carter Jernigan 5806801132 [#888] Android Gradle Plugin 7.4 2023-01-18 11:23:25 -05:00
Carter Jernigan 30979e5ebf [#851] Androidx Updates
Note that the APIs for Room, Sqlite, and Compose changed slightly with these dependency updates
2023-01-18 11:23:25 -05:00
Carter Jernigan 6e89805ee1 [#851] Kotlin 1.8 2023-01-18 11:23:25 -05:00
Honza Rychnovsky 5f666b6a97
[#779] Resolve flaky DatabaseCoordinatorTest
* [#779] Resolve flaky DatabaseCoordinatorTest

- We agreed on just removing this flaky test, in which we hardly prepare the ideal conditions for it

Co-authored-by: Carter Jernigan <git@carterjernigan.com>
2023-01-18 11:25:21 +01:00
Honza 64e5a5cfa5 Adopt enhanced GRPC response model
- Adopted in a few endpoints
2023-01-16 17:50:36 +01:00
Honza 785817ce3d Enhance GRPC Response model 2023-01-16 17:41:44 +01:00
Carter Jernigan 4ad1da49d0
[#886] Support null block heights
Co-authored-by: Honza <rychnovsky.honza@gmail.com>
2023-01-12 11:32:43 -05:00
Carter Jernigan 50efd683ee
[#881] Use variables for Test Lab
This will make it easier for team members to find links to test results

I also extended the upload timeout because our last deployment hit a timeout trying to upload build artifacts.
2023-01-12 10:30:35 -05:00
Honza da85835d98 Fix broken grpc services locations
- Our aim here is to change only the local services location (package name), the server location can't be changed due to backward compatibility.
2023-01-12 11:18:46 +01:00
Honza 319497c9a5 Update demo-app paths to rpc 2023-01-11 16:48:12 +01:00
Honza 2da43b3f20 Fix BuildConfig path 2023-01-11 16:19:50 +01:00
Honza b1b474af5b Repackage cash.z.wallet.sdk.rpc to cash.z.wallet.sdk.internal.rpc 2023-01-11 16:18:33 +01:00
Honza fb50329862 Remove grpc dependency from sdk-lib module 2023-01-11 14:36:56 +01:00
Honza 0e7e87f1cf Add basic sanity test
- To satisfy tests requirements on emulators.wtf service
2023-01-11 12:09:09 +01:00
Honza 1f22703191 Fix wrong merge 2023-01-11 10:29:39 +01:00
Carter Jernigan 285d2e8b9b
[#860] Flank 23.01.0 2023-01-10 10:40:56 -05:00
Honza 7dd6d3c342 Align with previous review comment 2023-01-10 15:51:23 +01:00
Honza 7c3f3f24bc Merge branch 'main' into 615-networking-module
* main:
  Bump actions/cache from 3.2.2 to 3.2.3 in /.github/actions/setup (#878)
  [#861] Remove cancel spend from public API
  [#631] Improve demo app compose UI for testing
  [#866] Clipboardmanager on Android level 21 in Demo-app
  Bump actions/upload-artifact from 3.1.1 to 3.1.2 (#871)
  Bump actions/download-artifact from 3.0.1 to 3.0.2 (#870)
  Bump actions/checkout from 3.2.0 to 3.3.0 (#869)
  [#864] Duplicate Synchronizers in Demo-app

# Conflicts:
#	demo-app/src/main/java/cash/z/ecc/android/sdk/demoapp/MainActivity.kt
#	demo-app/src/main/java/cash/z/ecc/android/sdk/demoapp/SharedViewModel.kt
#	sdk-lib/src/main/java/cash/z/ecc/android/sdk/Synchronizer.kt
2023-01-10 15:36:46 +01:00
Honza e7e0424d1f Fix benchmarking for networking module
- Moved to fixture and build type check components to the new networking module, so it's accessible from all needed parts of the projects
- Changed fixture return type to fit to all needed usages
2023-01-10 15:25:01 +01:00
dependabot[bot] c3d8720904
Bump actions/cache from 3.2.2 to 3.2.3 in /.github/actions/setup (#878)
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](4723a57e26...58c146cc91)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 08:28:25 +01:00
Carter Jernigan 01da937fdc
[#861] Remove cancel spend from public API 2023-01-09 11:55:30 -05:00