Commit Graph
120 Commits
Author SHA1 Message Date
Lukáš Tinkl 75e867b7de fix(i18n): bundle the translations into resources
- simplify the process or deploying the translations by treating the QM
files just like any other resource, and compile/bundle them with the
binary
- remove manual copying of the QM files in Makefile and other scripts
- greatly simplify the LanguageService discovery, as the QM files are
now in a uniform prefix (`:/i18n`) on any platform
- because of the uniform prefix/location, the retranslation now happens
automatically by `QQmlApplicationEngine`, by just setting/getting the
`Qt.uiLanguage` property

Fixes #18914
2025-10-15 15:15:41 +02:00
Lukáš Tinkl cfaf6643e7 chore(i18n): port the base TS fixup script to go
- and run it as part of the standard `make compile-translations`
subtarget, in order to keep the base Lokalise TS file in sync with the
other TS files
- script ported from Python to go so that we don't have to introduce
another hard build time dependency
- include the re-generated TS files as well

Fixes #18934
2025-10-02 12:08:54 +02:00
Siddarth Kumar 87249766b6 ci: update macOS script for installing iOS QT 2025-09-23 13:17:27 +05:30
marko c0e8142087 chore(ci): upgrade QT to 6.9.2
Referenced issue:
* https://github.com/status-im/status-desktop/issues/18776
2025-09-18 17:36:28 +02:00
marko 1479704f2a chore(ci): upgrade platform scripts to install QT 6.9.2
Referenced issue:
* https://github.com/status-im/status-desktop/issues/18776
2025-09-18 17:36:28 +02:00
Lukáš Tinkl 85ca9fe1c1 chore(i18n): amend the Lokalise fixup script
- add a `<comment>` to help with Lokalise AI setting up the context
- update the base TS files, reflecting recent master changes
- fixup a wrong `qsTranslate` call; was meant to be a regular `qsTr()`
with a plural form
2025-09-16 19:06:34 -04:00
Lukáš Tinkl 567c31f104 chore(Makefile): create targets to update and build translations
- create dedicated Makefile targets: `update-translations` and
`compile-translations` that extract/update/merge and compile the TS
files respectively
- these targets can then later be invoked externally by CI automation
- provide a small manual Python script that transforms the empty
`qml_base_en.ts` into a pre-filled `qml_base_lokalise_en.ts` for the
purpose of AI enabled translations on Lokalise
- add a sample Czech translation to test the changes (to be finished
later separately)
- update the i18n README

Fixes #18820
2025-09-16 13:48:38 +02:00
Siddarth Kumar 6d8d60183e ci: fix nwaku version in settings
Fixes this bug where App's version shows "-nwaku-experimental" even when
`USE_NWAKU` is not set to `true`

Fixes the name of the built binary to contain "experimental"

modify version script to force fetch tags and then describe.
2025-09-15 18:13:35 +05:30
Igor SirotinandSiddarth Kumar 639d042dcf ci: go 1.24 (#18830)
* chore: bump status-go

* ci: upgrade Go to 1.24

* ci: update golang archive checksum

* fix: version typo

* ci: bump docker images with go 1.24

---------

Co-authored-by: Siddarth Kumar <siddarthkay@gmail.com>
2025-09-12 18:11:27 +01:00
Siddarth Kumar f5d90e5dc4 browser: enable sandbox and fix v8 snapshot
To fix Qt WebEngine errors like :
[0912/162517.794426:FATAL:v8_initializer.cc(625)] Error loading V8 startup snapshot file
and
Render process exited with code 1002 (abnormal exit)
2025-09-12 21:02:16 +05:30
jakub ac2ac73650 fix(ci): bump protobuf from 3.20.0 to 3.20.1
Otherwise installation using `scoop` fails with:

Couldn't find manifest for ''.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-09-10 12:43:46 +02:00
Patryk Osmaczko 67ede4ce69 chore: update translations
Default to `en` locale and update base .ts file.
2025-09-03 00:10:12 +02:00
Siddarth Kumar d092620b96 ci: init script for create-dmg
copied over from https://raw.githubusercontent.com/create-dmg/create-dmg/refs/heads/master/create-dmg
2025-08-22 12:16:03 +05:30
Siddarth Kumar d2af110293 ci: nuke vendors in cleanup stage 2025-08-14 12:19:07 -04:00
Siddarth Kumar 36f52232f0 ci: update binary name if built with nwaku 2025-08-12 18:45:11 +05:30
Siddarth Kumar c0d963e1c4 ci: copy nwaku's libwaku.so into App Image 2025-08-12 18:45:09 +05:30
Siddarth Kumar 2361cf95a9 ci: update linux scripts to include qthttpserver 2025-08-08 11:44:44 +02:00
Igor Sirotin e8aa72c931 chore_: remove fleets and mailservers management (#18521) 2025-08-07 16:34:01 +01:00
jakub 60fe049ddd fix(ci): add missing OpenSSL from Scoop on Windows
Fixes Windows runtime crash due to error:

could not load: (libcrypto-1_1-x64|libeay64)dll

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-08-04 16:48:35 +02:00
Alex Jbanca dd1a7cdbcd chore(pcre): Remove pcre dependency for desktop builds 2025-08-01 17:09:59 +03:00
jakub c5d2abbe3a fix(appimage): bundle dash shell for xdg-open wrapper
This fixes an error on NixOS when trying to Connect a dApp via Status Connector
which should open the Status Wallet Connector chrome plugin page but fails with:
```
/nix/store/1q9lw4r2mbap8rsr8cja46nap6wvrw2p-bash-interactive-5.2p37/bin/bash: symbol lookup error:
/nix/store/1q9lw4r2mbap8rsr8cja46nap6wvrw2p-bash-interactive-5.2p37/bin/bash: undefined symbol: rl_trim_arg_from_keyseq
```
Resolves:
https://github.com/status-im/status-desktop/issues/18451

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-07-29 15:19:05 +02:00
jakub 00c52d6be3 chore(ci): upgrade Node.js from 18 to 22
End-of-Life for Node.js 18 was on 30th of April, and the recommended
version to ugprade to is 22 according to this article:
https://nodejs.org/en/blog/announcements/node-18-eol-support

This upgrade should have no impact on usage of create-dmg tool.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-07-24 14:15:13 +02:00
Siddarth Kumar 90daccf3a2 ci: upgrade go to 1.23 2025-07-15 20:53:43 +05:30
Lukáš Tinkl f9fa27fb8f chore: update the i18n README and extract script
- drop obsolete translations
- remove references to source code lines from the TS files

Fixes #18294
2025-07-08 19:45:11 +02:00
marko 8a6a1bfde5 scripts: upgrade qt to 6.9.0 for all platforms
Referenced issue:
* https://github.com/status-im/status-desktop/issues/17639
2025-06-26 20:24:46 +05:30
Siddarth Kumar 17f3b83cac ci: upgrade to QT6 and Ubuntu 22.04
- `QT6` setup runs the newer ubuntu `22.04` linux image
- `QT6` setup also uses a newer `linuxdeployqt` from here https://github.com/probonopd/linuxdeployqt/releases/tag/continuous
- `E2E` tests were updated to work with QT `6.9.0`.
- introduce a `DummyCompatImports.qml` to fix runtime issues on `linux`.
- introduced `STATUSQ_SANITY_CHECKER_EXCLUDE_FILES ` to exclude `qml` files from sanity checker.
- unused `cpp` jobs have been deleted

related issue : https://github.com/status-im/status-desktop/issues/17639
2025-06-26 18:21:56 +05:30
Siddarth Kumar c0a5529fa8 fix: clean mobile vendor 2025-06-17 08:31:19 +05:30
jakub 5cbd2f9c42 fix: drop dirty flag since it adds no value
And can sometimes cause releases to include it.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-06-13 16:38:08 +02:00
jakub 0a2be34a39 fix: do not remove vendor folder from submodules when cleaning
This is causing package version to include `-dirty` flag.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-06-13 14:00:25 +02:00
Siddarth Kumar 9acfb3032a ci: use newer nixpkgs for openssl3 2025-06-04 15:11:05 +02:00
Siddarth Kumar 9a0c75d192 ci: upgrade openssl to 3.x 2025-06-04 15:11:05 +02:00
Siddarth Kumar 57fd590a36 windows: pin cmake to 3.31.6 2025-05-21 12:00:37 +05:30
vedran a6ebacb317 chore(ci): renew DigiCert Certificate for signing release builds
- Implements DigiCert Keylocker, a cloud-based HSM solution, for signing release binaries.
- Development builds continue to use self-signed certificates for code signing.
- Bump status-jenkins-lib to configure environment variables for DigiCert credentials.
- Update signing script to conditionally use either DigiCert (for releases) or development certificate.

Tested on Windows with this PR:
- https://github.com/status-im/status-desktop/pull/17862

Closes [#183](https://github.com/status-im/infra-ci/issues/183)
2025-05-16 14:32:08 +02:00
vedran d2040607a5 fix(ci): fix for signing using DigiCert timeserver
- Windows signatures failing with error:
  Error information: "Error: SignerSign() failed." (-2146869243/0x80096005)
  SignTool Error: An unexpected internal error has occurred.
2025-05-13 10:39:06 +02:00
Siddarth Kumar beb1af96df macos: pin cmake to 3.31.6 2025-04-18 21:27:40 +04:00
Siddarth Kumar 8a9244f50a ci: fix qt formulae download location 2025-04-10 19:13:47 +04:00
Siddarth Kumar 0c04602080 ci: fix clean script 2025-04-02 22:40:10 +02:00
Siddarth Kumar c30b5475e7 feat(keycard): use bundled pcscd and psclite 2025-04-02 16:52:33 +04:00
Siddarth Kumar 8a4bc2715e ci: install QT 5.15.16 from homebrew formula 2025-03-19 17:08:19 +05:30
Alex Jbanca 6c5f99d7ed chore: Remove fleets.json deployment dependency 2025-03-11 18:02:43 +02:00
Siddarth Kumar bce7f7d3d0 ci: upgrade go to 1.22
This commit:
- updates status-go to point to https://github.com/status-im/status-go/pull/6258
- updates nix derivation to switch to go 1.22
- swaps `sc3md` for `sc5md`
- updates docker image used by jenkins for linux jobs to image built with go 1.22.
- updates, linux, windows and MacOS build scripts to use go 1.22
2025-02-17 22:35:28 +05:30
Lukáš TinklandIgor Sirotin fe759f3599 chore: identify version numbers using a git tag (#16652)
* chore: identify version numbers using a git tag

- remove VERSION file
- expose the `GIT_COMMIT`so that we can properly construct the web links
when the user clicks the version number in Settings/About
- some smaller cleanups and warning fixes

Fixes #12349

* fix_: ci artifact version and use version scripts

---------

Co-authored-by: Igor Sirotin <sirotin@status.im>
2024-12-04 22:42:48 +00:00
Michał Cieślak f75e4e0c47 Introduce ability of calling StatusQ methods from nim
Closes: #16496
2024-10-11 23:37:50 +02:00
Igor Sirotin a4646cd71c fix(status-go)_: add missing status-go dependencies (#16470)
Requires things like: go-bindata mockgen protobuf

Fixes:
https://github.com/status-im/status-desktop/issues/16477

For more details see:
https://github.com/status-im/status-go/pull/5878

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-10-08 19:36:20 +05:30
Iuri Matias c0885d66db chore: update in config.nims the minimum version to montery / 12 2024-09-03 13:36:37 -04:00
Iuri Matias 1b8d40dfc0 chore: Fix error detection for missing Homebrew bottles 2024-09-03 13:36:37 -04:00
jakub c2b404f410 chore(ci): add debug logs for windows signing
https://learn.microsoft.com/en-us/windows/msix/package/signing-known-issues

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-08-27 19:06:38 +02:00
Anton Iakimov 6e276b605f ci: fix more nix build issues 2024-06-27 12:16:31 +02:00
Siddarth Kumar 9f67616b63 chore: bump go to 1.21 (#14946) 2024-05-30 17:08:31 +05:30
Igor Sirotin 95eb5fe71d chore: bump-status-go.sh latest option (#13766)
* chore: enable `bump-status-go.sh` to upgrade to latest

* better pr link

* STATUS_DESKTOP_MAIN_BRANCH variable
2024-02-28 20:26:42 +00:00