Commit Graph

7223 Commits

Author SHA1 Message Date
Siddarth Kumar 9935d03539
chore: bump nixpkgs for go 1.19 2024-04-30 11:24:19 +05:30
Andrea Maria Piana 2f2d661000 fix infura token 2024-04-29 16:31:46 +01:00
Andrea Maria Piana 4b14906817 add logging 2024-04-29 15:47:13 +01:00
Siddarth Kumar 3af8f7aa41
fix: bump go to 1.18 2024-04-29 18:15:59 +05:30
Andrea Maria Piana fc7f95b8fa add support for infura key 2024-04-29 12:29:30 +01:00
Jakub Sokołowski 5426463b04
nix: update scripts to develop state
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-04-25 16:57:48 +02:00
Jakub Sokołowski 820aad8bb7
nix: fix nixpkgs source hash
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-04-25 16:48:35 +02:00
Jakub Sokołowski 9557c15518
ci: remove unnecessary build and e2e steps
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-04-25 16:43:49 +02:00
Jakub Sokołowski de639fc5bd
ci: fix alchemy credentials in jenkins lib for release
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-04-25 16:10:44 +02:00
Andrea Maria Piana 7cc056faae point to 2.19 nix 2024-04-25 09:40:27 +01:00
Andrea Maria Piana fad772c728 Bump version to 1.20.5 2024-04-24 16:30:19 +01:00
Siddarth Kumar c858560e32
bump version to 1.20.4 2023-06-29 17:07:55 +05:30
Jakub Sokołowski 0c8022de20
ios: fix ITSEncryptionExportComplianceCode value
Fixes:
```
ERROR: [ContentDelivery.Uploader] Asset validation failed (90592) Invalid
Export Compliance Code. The export compliance key value
[1aa92c4d-6194-4d7d-b70a-16b48256b87e] in the app's Info.plist doesn’t
match the key value of the app’s export compliance documentation.
To find the correct value, go to My Apps on App Store Connect.
(ID: aec424a8-7f2c-4efb-9227-6047bba576a2)
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-29 12:05:09 +02:00
Jakub Sokołowski ac86a281e6
ios: drop missing --openssl-legacy-provider
Fixes:
```
node: bad option: --openssl-legacy-provider
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-29 11:52:19 +02:00
Jakub Sokołowski 553de7eeb5
ios: disable signing on some pods due to xcode upgrade
Fixes:
```
error: Signing for "RNImageCropPicker-QBImagePicker" requires a development team.
Select a development team in the Signing & Capabilities editor.
(in target 'RNImageCropPicker-QBImagePicker' from project 'Pods')
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-29 11:44:34 +02:00
Jakub Sokołowski a324f2bac2
ios: drop pr config references to fix error
Error:
```
There seems to be a mismatch between your provided `export_method` in gym
and the selected provisioning profiles. You passed the following options:
   export_method:      app-store
   Bundle identifier:  im.status.ethereum.pr
   Profile name:       match AdHoc im.status.ethereum.pr
   Profile type:       ad-hoc
Make sure to either change the `export_method` passed from your Fastfile or CLI
or select the correct provisioning profiles by updating your Xcode project
or passing the profiles to use by using match or manually via the `export_options` hash
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-29 11:44:32 +02:00
Jakub Sokołowski e72e104a28
ios: add README file to ios/logs directory
Allows us to get rid of the `.gitkeep` file.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-29 10:32:18 +02:00
Jakub Sokołowski 6e03ba872c
ios: create logs/ios folder in advance
Otherwise in some cases we can get:
``
.../Script.sh: line 6: ./logs/react-native-xcode.log: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-29 10:32:10 +02:00
Jakub Sokołowski 4e4749759b
ios: direct logs to ios/logs, archive on failure
This way people don't have to ask me for access to logs from CI hosts to
be acquired using SSH access, but instead they will be simply included
in Jenkins build artifacts.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-29 10:30:40 +02:00
Jakub Sokołowski c762f0c564
ci: fix iOS build by building Jsbundle old way
Before this commit was in effect:
https://github.com/status-im/status-jenkins-lib/commit/3cbe3e1a
Which made `jsbundle` builds the same for both platforms and use Nix.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-29 10:03:19 +02:00
Siddarth Kumar 7224ca70a5
remove component test stage & fix browser lock
I added component tests stage when i cherry picked : 05929a16c7 commit from develop to release branch.

Only to later realise that we did not have component tests at the time of this release. This commit removes component tests form CI.

This commit also fixes a logic where the secure lock was not shown for all the websites except ".top".
Those changes were introduced by me in 7958bf189c
2023-06-29 09:06:41 +05:30
Siddarth Kumar abdaa80a96
chore: lint-fix 2023-06-29 08:27:41 +05:30
Siddarth Kumar 7958bf189c
browser: do not resolve any .top domains
We mark any url with ".top" in it as not secure in the browser and an explicit condition is added in resolve-url to not resolve any urls that contain the ".top" in their urls.

We've been seeing lots of reports within the status community where people are scammed by malicious entities on telegram/whatsapp and they are being told to open these urls on status browser which in turn asks them to link their wallet to access the website.

This commit is not a proper fix but a temporary solution to stop these scammers. A more robust solution would be to integrate with an open source phishing url detector.
2023-06-29 08:20:40 +05:30
Alexander 61660128fd
Patch react-native/Yoga to make it possible to build an app using Xcode 14.3 (#15589)
* Patch react-native/Yoga to make it possible to build an app using Xcode 14.3

* Update

* Update

* Comment update

* Comment update
2023-06-28 19:17:14 +05:30
Jakub Sokołowski 05929a16c7
ios: replace Diawi Fastlane plugin that disappered
For an unknown reason the original Diawi plugin for Fastlane has been
removed from GitHub and RubyGems pages and can no longer be used.

This replaces it with a Node.js script which does the same job.

I tried using `diawi` and `diawi-nodejs-uploader` but both had issues,
one of them being depending on far too many useless packages.

Resolves: https://github.com/status-im/status-mobile/issues/15951

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-28 19:15:36 +05:30
Jakub Sokołowski 9c52658951
ci: update Apple dev team ID to update the org
We are trasnferring the Apple app to the new Switzerland based Apple
development organization/team from the old Singapore one, and to make
this work we also need to update the development team ID.

This should fix the following failure:
```
Could not find App ID with bundle identifier 'im.status.ethereum'
You can easily generate a new App ID on the Developer Portal using 'produce':
```
https://ci.infra.status.im/job/status-mobile/job/platforms/job/ios/854/console

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-23 16:23:34 +01:00
Jakub Sokołowski 30dc506441
nix: port iOS changes and fixes from develop
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-23 16:12:13 +01:00
Jakub Sokołowski 36acc6e9f4
ci: drop obsolete SauceLabs uploads
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-23 16:12:12 +01:00
Jakub Sokołowski 767ba98a85
ci: update Jenkinsfile labels to new nix and xcode
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-23 14:56:55 +01:00
Michele Balistreri 20eaf2354b
update keycard native module
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2023-02-23 10:29:22 +00:00
Andrea Maria Piana 8f9e6bdc6e
Bump version to 1.20.3 2022-11-23 09:18:01 +00:00
Audrius Molis 9ec1115a3b
Migrate to API 31 for android (#14032) 2022-11-23 09:15:27 +00:00
Andrea Maria Piana f5bb45bf15
Fix case in styles 2022-09-30 16:27:57 +01:00
Andrea Maria Piana 2ea81b2561
Bump version to 1.20.2 2022-09-30 12:02:15 +01:00
Andrea Maria Piana f741ac3e3f
Default case for contact request 2022-09-30 11:47:30 +01:00
Andrea Maria Piana 19911b97eb
Fix logout 2022-09-28 13:36:27 +01:00
Andrea Maria Piana a41ca82957
Remove torrent support 2022-09-28 12:42:34 +01:00
Andrea Maria Piana 01727c7cce
Update privacy policy 2022-09-28 10:26:33 +01:00
Felicio Mununga 70884845ee
Add waku-v2 fleets 2022-09-28 10:26:25 +01:00
andrey 46b40d0b72
1.20.1 2022-09-23 13:09:35 +02:00
Jakub Sokołowski 34c640d048
nix: patch gomobile to sanitize xcrun output
This resolves issues with weird `status-go` build errors like:
```
cgo: C compiler "2022-09-07" not found: exec: "2022-09-07": executable file not found in $PATH
```
Such errors are caused by `xcrun` spewing warnings to `stdout`. The PR
to fix this issue permanently has been created but it might take a while
before it's merged.

Fix PR: https://github.com/golang/mobile/pull/84
Resolves: https://github.com/status-im/status-mobile/issues/13949

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-22 13:26:17 +02:00
Parvesh Monu ef988517f6
Add expire time to ens banner (#14057)
(cherry picked from e582ba4169)
2022-09-22 15:04:22 +05:30
Jakub Sokołowski 9338bf71ee
ci: add wait for GitHub release to appear
Because somtimes upload is attempted so fast release doesn't exist yet:
```
+ github-release upload -u status-im -r status-mobile -t 1.20.0 -n StatusIm-Mobile-v1.20.0-cbe19b-arm64-v8a.apk -f pkg/StatusIm-Mobile-v1.20.0-cbe19b-arm64-v8a.apk
error: could not find the release corresponding to tag 1.20.0
```
https://ci.infra.status.im/job/status-mobile/job/release/job/release%252F1.20.x/

Depends on: https://github.com/status-im/status-jenkins-lib/pull/49

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-20 12:43:38 +02:00
Jakub Sokołowski f027b6024a
ci: drop commonPrep function, call individual ones
This function did too many things, some of them unnecessary.

Requires: https://github.com/status-im/status-jenkins-lib/pull/48

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-20 12:43:29 +02:00
Jakub Sokołowski c147b807ef
nix: drop KEYSTORE_PATH from extra-sandbox-paths
This is no longer necessary as we sign APKs in a separate step using the
`scripts/sign-android.sh` script, and this causes issues for F-Droid builds.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-20 12:23:07 +02:00
Andrea Maria Piana 7d0e734450
Update status-go 2022-09-15 13:00:03 +01:00
Andrea Maria Piana cbe19bb3e4
Fix group chats & tenor 2022-09-14 15:32:04 +01:00
Roman Volosovskyi c73bcbc089
[#13855] Fix contact request decision status on Sync All 2022-09-09 14:18:55 +02:00
Jakub Sokołowski f714112b7e
ci: do not upload release builds to Diawi
Otherwise the upload fails with `400 Bad Request` due to size:
```
bundler: failed to load command: fastlane (/Users/jenkins/.bundle/ruby/2.7.0/bin/fastlane)
/Users/jenkins/.bundle/ruby/2.7.0/gems/rest-client-2.1.0/lib/restclient/abstract_response.rb:249:in `exception_with_response': 400 Bad Request (RestClient::BadRequest)
```
Because release builds are over 100 MB:
```
 > ls -l StatusIm-Mobile-v1.20.0-59567a.ipa
-rw-r--r-- 1 jakubgs jakubgs 104M Sep  7 15:50 StatusIm-Mobile-v1.20.0-59567a.ip
```
And the Diawi free account limit is 75 MB:
https://www.diawi.com/features-services

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-08 10:13:31 +02:00
Jinho Jang 59567a7c97
Update translation (#13938)
(cherry picked from commit 402496b4dc)
2022-09-07 14:05:16 +02:00