Commit graph

41 commits

Author SHA1 Message Date
ivk
148766ee0b [build] Fix F-Droid build failing because of crypto-primitives wasm
Add a mobileBuild parameter to webapp build script to avoid trying to
copy wasm file that would be already deleted by the scandelete of
F-Droid.

Co-authored-by: vis <vis@tutao.de>
2025-08-28 16:40:25 +02:00
nig
782e6cfe25
[build] improve publish job parameter documentation 2025-07-25 10:07:57 +02:00
ivk
d2e5378e7e [build] Fix prepareMobileBuild script
iOS build script was providing invalid options.

Make the options more explicit and make validation more strict
2025-07-21 15:27:44 +02:00
abp
d832e4a442
fix android dist build 2025-04-28 14:54:16 +02:00
Kinan
edbf281b88
switch to typeIds and attrIds, add SystemMV126, TutanotaMV86, BaseMV2
Refactor our instance deserialization/serialization pipeline, both on
TypeScript and on Rust [sdk] to use typeId and attributeIds instead of
typeNames and attributeNames. We furthermore ignore cardinalities
on associations until the instance layer and always
store associations as arrays. This commit introduces **eventual
consistency** on the client, i.e. we are from now on always storing data
in the newest schema format (activeApplicationVersionsForWritingSum)
which ensures that all data is already available on the client after
updating the client to a newer version. This removes the need for
offline migrations on the client and also removes backward migrations
on the server. Furthermore, the server model types are now available
on the client, retrievable through the ApplicationTypesFacade. This is
our first step towards FastSync.

Co-authored-by: nig <nig@tutao.de>
Co-authored-by: abp <abp@tutao.de>
Co-authored-by: jomapp <17314077+jomapp@users.noreply.github.com>
Co-authored-by: map <mpfau@users.noreply.github.com>
Co-authored-by: sug <sug@tutao.de>
Co-authored-by: Kinan <104761667+kibibytium@users.noreply.github.com>
2025-04-28 12:44:35 +02:00
ivk
cc748dd092 [build, ci] Fix offline db migrations check 2025-02-02 14:02:21 +01:00
rih
a04df22a01 removed aab file from apk bundle 2024-10-17 11:08:48 +02:00
rih
3ae99f17fd generate apk through jenkins job 2024-10-17 11:08:48 +02:00
mup
63a2139ea7 Fixes android build to use bundle instead of apk
This commit replaces the apk build process by a bundle build process
since PlayStore doesn't accept APKs anymore for new apps.
2024-09-30 11:29:47 +02:00
mup
3e0b50c95a Fixes build dir 2024-07-30 14:04:12 +02:00
mup
b094feaae4 Fixes APK name and bump-version script
This commit adapts the bump-version script to bump the version of apps
according to their language (Groovy for old gradle and kotlin for kts)
2024-07-30 14:04:11 +02:00
mup
e5a284ed72 Add separated ESBuild for calendar build
This commit adds an argument to ESBuild allowing to choose between
mail app or calendar app
2024-07-29 14:44:20 +02:00
mup
b7d04d191b Adds RollUp config for Calendar build
This commit implements the production build script of Calendar's webapp.

Calendar app contains user management, so this commit also moves
settings page files that are related to it to the common chunk.
2024-07-29 14:44:19 +02:00
mup
518f67a982 [CI] Adds Jenkins calendar Android build script
This commit adds the Jenkins file to build the Android apps and
store the artifacts at the artifact repo.

Co-authored-by: André Dias <and@tutao.de>
2024-07-26 16:43:00 +02:00
ivk
3bf53aa5c2 [ci] Use cached better-sqlite3 in github actions 2023-12-01 12:41:55 +01:00
nig
978d9780c2 fix linter errors for missing node: protocol
close #4367
2023-05-05 11:29:09 +02:00
ivk
50b23ebd1b Run prettier on the whole project 2022-12-27 16:08:23 +01:00
nig
88758898f2 [build] add --existing option to android.js (skips web client build) 2022-07-29 09:26:08 +02:00
nig
7acf701b22 [android/build] fix android.js install option 2022-07-21 16:57:21 +02:00
ganthern
48d3fe455f [android] use zx in android.js build script
zx uses bash as returned by node's "which" module by default
all platforms should have it available since it comes with git
for windows.
2022-07-21 16:13:32 +02:00
ivk
038de18cb7
[build] Fix android.js script 2022-05-17 16:06:47 +02:00
jom
636501198b [maintenance] update commander to v9 2022-05-03 15:57:33 +02:00
jom
591554aa51 [build] Build better-sqlite3 on windows during Jenkins CI
This commit not only sets up the build for windows on jenkins,
it also consolidates how we get prebuilt binaries for native modules i.e. keytar and better-sqlite3
and generally has some refactorings
2022-03-07 10:26:06 +01:00
thp
916ee1ed1d Refactor dist.js #3221
Split dist.js (desktop.js, webapp.js)
  Simplify command line interface for dist builds
  Extract utilities used from dist builds
  Extract fetching and publishing dictionaries into its own build step
  Extract signing installers into its own build step
  Extract .deb packaging and publishing into its own build step
  Add some documentation, verbosity and general improvements to the code
2022-02-18 10:52:52 +01:00
jom
c3de877fce [build] refactor make.js + android.js to modularise dev build 2021-11-09 09:23:59 +01:00
ivk
805ccf7cb3 [android, build] Introduce fdroid build flavor w/o signing, #3471
We can only specify flavor in F-Droid metadata so that's what we do to
avoid specifying signing (F-Droid manages the signing on its own).

We now also run tests on new JDK. We needed to update Robolectric to do
that.
2021-09-20 10:22:38 +02:00
ivk
360f5f0ea0 [android, build] Delegate signing to gradle. Add v2 signing. #3471 2021-09-20 10:22:38 +02:00
jom
c5d4d38b3c [build] refactor android build, fix bugs after review 2021-06-28 16:39:45 +02:00
thp
fc52b8f31f [build] Automate android build and release
close #2703
2021-06-28 16:39:45 +02:00
vis
41db71ac1f
Fix android build 2021-01-29 14:27:53 +01:00
ivk
4cb480ac44
[build] Fix build tools version for android.js script 2020-02-07 15:44:03 +01:00
ivk
2556d58437 Add new settings, fix #1357 2019-08-06 16:03:57 +02:00
ivk
958525fda0 [android] cleanup files before the build 2019-07-08 11:47:35 +02:00
nig
448f193487 fix android dist build 2019-02-27 11:17:37 +01:00
ivk
e68eebb75d [android] Improve build script 2019-02-01 11:42:51 +01:00
ivk
58425de88c [android] Catch signing errors on build 2019-01-31 14:58:51 +01:00
ivk
a2b689e568 Improve android build script 2018-12-20 11:35:22 +01:00
ivk
f6bed3389a Print APK path after Android build 2018-12-13 12:50:15 +01:00
ivk
cce0fa4443 review and added comments 2018-12-13 11:46:47 +01:00
ivk
bdb6fe39a3 [android] Add releaseTest build type
To be able to test staging app without uninstalling production version.
2018-12-11 15:23:03 +01:00
ivk
a336d88696 created build script for android app 2018-12-11 14:55:06 +01:00