Commit graph

288 commits

Author SHA1 Message Date
James Salter
b0abbfacd4
Fix Docker build versioning (#20077)
* Centralise version scripts and fix Docker version
* Refactor generation of a git-hash-based version into get-version-from-git
* Refactor normalization of versions (stripping leading v) into normalize-version.sh
* Call get-version-from-git from ci_package.sh, call normalize-version from package.sh
* Refactor docker-write-version.sh into docker-package.sh, which both writes the
  version file and invokes yarn build passing VERSION
* Normalize the version received from the server
2021-12-07 15:11:01 +11:00
Linerly
1a403a37f9
Add support for the Indonesian language (#20032)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-12-03 12:40:56 +00:00
James Salter
f550d63198
Pass our VERSION to sentry plugin's release arg via env (#19474)
Use our existing VERSION, deduced by the packaging script, as the release for sentry sourcemaps.

This will be undefined for dev builds.
2021-10-22 15:06:14 +01:00
Germain Souquet
6e15d0f5e8 Do not generate a lockfile when running in CI 2021-07-07 16:10:40 +02:00
Robin Townsend
77476451bd Fix Olm asm.js support
Signed-off-by: Robin Townsend <robin@robin.town>
2021-05-31 12:29:30 -04:00
Germain Souquet
86c61cab33 Move i18n utils to its own module 2021-04-26 16:52:11 +01:00
J. Ryan Stinnett
14c23f1387 Remove old -d argument when packaging on CI
This `-d` argument was removed from `package.sh` ages ago
(ec66069e96), but we seem to have missed removing
it here.
2021-04-19 15:45:16 +01:00
J. Ryan Stinnett
a72ab0da04
Merge pull request #16210 from vector-im/jryans/add-langs-2021-01
Add Hebrew language
2021-01-19 11:24:55 +00:00
J. Ryan Stinnett
cdc97a220a Add Hebrew language 2021-01-19 11:16:56 +00:00
J. Ryan Stinnett
8c98921842 Fix develop Docker builds
An extra step is needed for develop Docker builds after recent build process
changes. This was regressed by
https://github.com/vector-im/element-web/pull/15999.

Fixes https://github.com/vector-im/element-web/issues/16119
2021-01-18 12:01:58 +00:00
J. Ryan Stinnett
48884c711b Cloned deps no longer need so much building 2020-12-18 15:32:56 +00:00
J. Ryan Stinnett
f1e89bf833 Replace various instances of Riot with Element 2020-11-25 17:01:19 +00:00
J. Ryan Stinnett
6583064cb4 A few additional packaging changes
This renames a few more packaging bits to match the new brand.

Fixes https://github.com/vector-im/element-web/issues/14896
2020-11-24 15:38:48 +00:00
J. Ryan Stinnett
5b86aa3a7a Merge remote-tracking branch 'origin/develop' into jryans/rebrand-packaged-artifact 2020-11-23 17:43:19 +00:00
Travis Ralston
44bf49d414
Update scripts/build-jitsi.js 2020-10-16 13:15:08 -06:00
Sebastian Denz
7f4f9b2cf1 Use HTTPS_PROXY environment variable for downloading external_api.min.js if set 2020-10-16 14:48:28 +02:00
Michael Telatynski
cfee4c925a Revert "Attempt to fix tests some more"
This reverts commit c76a5f2c

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-01 14:05:07 +01:00
Qt Resynth
1d06496bd1
Update Riot -> Element in redeploy.py 2020-09-30 12:00:52 +00:00
J. Ryan Stinnett
c9733c568e
Merge pull request #15333 from resynth1943/patch-11
Update Riot -> Element in issues-burndown.pl
2020-09-30 12:26:56 +01:00
Qt Resynth
92382e11ef
Update Riot -> Element in redeploy.py 2020-09-30 11:09:47 +00:00
Qt Resynth
a3eaa9d7fa
Update Riot -> Element in issues-burndown.pl 2020-09-30 11:08:55 +00:00
Michael Telatynski
c76a5f2c52 Attempt to fix tests some more 2020-09-15 13:19:47 +01:00
J. Ryan Stinnett
743c869055
Merge pull request #15137 from vector-im/jryans/remove-travis-refs
Remove references to Travis CI
2020-09-11 09:39:21 +01:00
J. Ryan Stinnett
7262b372b3 Remove references to Travis CI
Also cleans up a Riot reference as well

Part of https://github.com/vector-im/element-web/issues/15098
2020-09-10 10:16:29 +01:00
J. Ryan Stinnett
6853cabca2 Enable Estonian in language menu
Fixes https://github.com/vector-im/element-web/issues/15135
2020-09-10 10:03:13 +01:00
Selyan Slimane Amiri
c1faa54102
Make kabyle translation available 2020-08-22 21:16:55 +01:00
thomcatdotrocks
02ca5011a3
Updating package.sh
This should correct the tarball structure from `riot-$version` to `element-$version`.
2020-07-31 15:59:13 -05:00
Robin Townsend
5393f875ce Make Lojban translation available
Signed-off-by: Robin Townsend <robintown@tcakoi.dev>
2020-07-22 15:28:59 +00:00
Resynth
050b7fe4df Update scripts/docker-link-repos.sh
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2020-07-17 13:04:55 +01:00
Resynth
79f70e00d0 Update scripts/ci_package.sh
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2020-07-17 13:04:55 +01:00
Resynth
2f7b43dcfa Update docker-link-repos.sh 2020-07-17 13:04:03 +01:00
Resynth
2c83458f35 Update ci_package.sh 2020-07-17 13:04:03 +01:00
J. Ryan Stinnett
40f40251f1 Remove Electron packaging scripts
These tasks are handled by riot-desktop now.
2020-05-15 17:56:23 +01:00
Zoe
4110e2dfa3 Move codebase into riot-web 2020-04-30 13:58:17 +01:00
Zoe
3e77418fd7 Turn on source mapping, copy decoder-ring over to bundle 2020-04-23 17:55:21 +01:00
Travis Ralston
3f14b31e47 Add more words to explain windows being awful 2020-04-20 09:46:52 -06:00
Travis Ralston
005269e2ad Make Jitsi download script a JS script
It's awful but means that we create the directory on all platforms in-process.

Fixes https://github.com/vector-im/riot-web/issues/13215
2020-04-16 12:37:41 -06:00
Danny Colin
c128e75f5d fix build:jitsi scripts crash caused by a missing folder
On a freshly install of the developer environment, the build:jitsi try
to create a file in ./webapp with the cURL command. However, ./webapp
folder doesn't exist and the build script crash. This patch makes sure
the appropriate folder is created if it doesn't already exist

Signed-off-by: Danny Colin <contact@dannycolin.com>
2020-04-10 14:14:19 -04:00
David Baker
fea600ba0a Fix artifact searching in redeployer
Indenting fail
2020-03-25 15:12:53 +00:00
J. Ryan Stinnett
4afe7a73c4 Fix version for Docker builds
This (should) fix the version script for Docker builds by testing the branch
with a regex instead of single char glob.

Fixes https://github.com/vector-im/riot-web/issues/12777
2020-03-19 21:00:37 +00:00
Travis Ralston
b0f71bc990 Fix Docker image version for develop builds
Turns out it helps to use the right syntax.

Fixes https://github.com/vector-im/riot-web/issues/12009
2020-03-09 19:57:52 -06:00
Jonas Fentker
f5bd5a345e docker: download required branch only 2020-03-04 23:14:42 +01:00
J. Ryan Stinnett
096a828e44 Change Windows signing to warning when missing token
This allows Windows builds to complete when the singing token is not present.
2020-02-26 11:54:20 +00:00
J. Ryan Stinnett
bdb395aa41 Change to banner style 2020-02-25 12:05:36 +00:00
J. Ryan Stinnett
420537a64d Relax macOS notarisation check to print a warning
This makes it a bit more friendly to build macOS Electron builds without a
notarisation config set up by only warning when it is missing.
2020-02-25 11:44:33 +00:00
Jason Robinson
9534a25270 Fix contribute.json location as per spec
Signed-off-by: Jason Robinson <jasonr@matrix.org>
2020-02-05 16:28:44 +02:00
Jason Robinson
3abe61e13b Add contribute.json
This document is required for example for all Mozilla websites
and makes sense for Riot to also describe itself - see
https://www.contributejson.org/

Signed-off-by: Jason Robinson <jasonr@matrix.org>
2020-02-05 15:25:09 +02:00
J. Ryan Stinnett
b6963d0e5c Use bash in Docker scripts
Our Docker scripts use Bash-style conditionals that aren't supported by the
default Debian shell.
2020-01-22 17:45:22 +00:00
Travis Ralston
909fddb732 Don't minifiy builds of develop through CI packaging
Fixes https://github.com/vector-im/riot-web/issues/11864

This uses an environment variable because the build script assumes you want a production build, but we don't for this particular script. To avoid having a mess of NPM scripts to worry about, we'll just pass a flag down.
2020-01-15 12:19:45 -07:00
Travis Ralston
a978a6734f Fix CI tests
There's a bunch of generated files that webpack relies on to work, and Karma works off webpack. To make both happy we've added
a new `build:genfiles` script which takes care of this for us. We also have to install and build our other layers to get the
same effect (like generating the react-sdk's component index, while we still have one).

This commit also fixes all the imports in the tests because they were just wrong. They should have been caught in the ES6ification
earlier, but were missed.
2020-01-13 20:40:00 -07:00