Bruno Windels
1b4570ffa1
Merge pull request #2178 from matrix-org/bwindels/resynconlltoggle
...
resync when LL is toggled, show message when enabled
2018-09-27 09:49:39 +01:00
Bruno Windels
9c78610c62
Merge branch 'develop' into bwindels/resynconlltoggle
2018-09-26 18:22:24 +01:00
Bruno Windels
f4860cfe63
update copyright notice
2018-09-26 18:22:05 +01:00
Bruno Windels
a371bede4d
Merge pull request #7395 from RiotTranslateBot/weblate-riot-web-riot-web
...
Update from Weblate.
2018-09-26 18:15:03 +01:00
Bruno Windels
b9f57d8f11
Merge pull request #2179 from RiotTranslateBot/weblate-riot-web-matrix-react-sdk
...
Update from Weblate.
2018-09-26 18:12:28 +01:00
Bruno Windels
83c2bd7313
Translated using Weblate (English (United States))
...
Currently translated at 65.0% (819 of 1259 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/en_US/
2018-09-26 16:27:44 +00:00
Bruno Windels
e0c5b0d5ed
translations
2018-09-26 17:23:51 +01:00
Bruno Windels
fd2ab406d4
update copy
2018-09-26 16:48:04 +01:00
David Baker
1f34d2d644
Kill off olm-loader
...
Now that Olm needs to be inited asynchronously anyway, we can just
pass the options to Olm.init(), and as long as we do that before we
start the js-sdk, we're all good.
This will means the olm js is now part of the main bundle but since
it's now just a wrapper around the wasm, this is probably faster.
Also add the directwatch flag to olm.wasm because otherwise it
doesn't seem to copy the file in watch mode...
2018-09-26 16:44:52 +01:00
Bruno Windels
130f3cc2ff
only get component when needed
2018-09-26 16:30:35 +01:00
Bruno Windels
824ad5e318
delete sync data when LL is toggled, show message when enabling
2018-09-26 16:25:21 +01:00
David Baker
2166213400
Update a bunch of deps
...
To try & get deps without vulns in them.
Exceptions are:
* electron builder: which is nontrivial to update
* webpack-dev-server: probably needs newer webpack
* moderizr: no new version released yet
2018-09-26 12:37:40 +01:00
David Baker
8febf24d6b
Update karma
...
To fix a bunch of vulns in the many packages it depends on
2018-09-26 11:54:30 +01:00
Matthew Hodgson
c4f6158f46
pin karma-webpack to 4.0.0-beta.0 to fix perf regression
...
so karma-webpack 3.0.5 is 4x slower than 4.0.0-beta.0 for webpacking for unknown reasons.
However, 4.0.0-rc.1 and 4.0.0-rc.2 fail with a different error. So: pinned for now
2018-09-26 03:12:08 +01:00
Matthew Hodgson
7e33ea351d
upgrade karma & babel to latest
2018-09-26 02:27:22 +01:00
Will Hunt
41336a9de6
Oops, missing deferred
2018-09-26 02:06:02 +01:00
Will Hunt
ceaa3aaca4
Use createObjectURL instead of readAsDataURL for videos
2018-09-26 02:04:55 +01:00
Matthew Hodgson
9e916cdd5c
make sure karma runs tests in dev mode to speed up build
2018-09-26 01:39:05 +01:00
Matthew Hodgson
b7843a5d46
find versions of webpack, webpack-cli, and karma-webpack which work together atm
2018-09-26 01:18:53 +01:00
Matthew Hodgson
41e03333a7
Merge branch 'develop' into matthew/webpack4
2018-09-26 00:17:49 +01:00
Matthew Hodgson
c57c653535
Merge branch 'develop' into matthew/webpack4
2018-09-26 00:15:56 +01:00
Weblate
8793ad9f4f
Merge remote-tracking branch 'origin/develop' into develop
2018-09-25 22:54:39 +00:00
Silvano
07b56426ad
Translated using Weblate (Italian)
...
Currently translated at 100.0% (37 of 37 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/it/
2018-09-25 22:54:39 +00:00
Adolfo Jayme-Barrientos
43f9f2a0f2
Translated using Weblate (Catalan)
...
Currently translated at 97.2% (36 of 37 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/ca/
2018-09-25 22:54:38 +00:00
ali almi
d01824f711
Translated using Weblate (Arabic)
...
Currently translated at 81.0% (30 of 37 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/ar/
2018-09-25 22:54:38 +00:00
Matthew Hodgson
841c8fd41d
Merge pull request #7355 from vector-im/travis/build-process
...
Reduce the number of terminals required to build riot-web to 1
2018-09-25 23:54:34 +01:00
Travis Ralston
4041f3db5c
Send standard output/input from npm-sub.js to the parent proc
2018-09-25 15:54:38 -06:00
Travis Ralston
91304e70a1
Swap out the complicated canary stuff for serial execution
...
Fixes https://github.com/vector-im/riot-web/issues/7386
2018-09-25 15:49:14 -06:00
Weblate
914f2622e3
Merge remote-tracking branch 'origin/develop' into develop
2018-09-25 20:16:41 +00:00
csybr
0c8b920db8
Translated using Weblate (Norwegian Nynorsk)
...
Currently translated at 96.9% (1220 of 1259 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2018-09-25 20:16:41 +00:00
Victor Grousset
9a48284064
Translated using Weblate (Esperanto)
...
Currently translated at 87.3% (1100 of 1259 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2018-09-25 20:16:40 +00:00
Simó Albert i Beltran
5cbe432795
Translated using Weblate (Catalan)
...
Currently translated at 79.9% (1006 of 1259 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ca/
2018-09-25 20:16:40 +00:00
Matthew Hodgson
d3d4768ff0
Merge pull request #2175 from matrix-org/travis/build-process
...
Split npm start into an init and watch script
2018-09-25 21:16:36 +01:00
Tom Lant
04b64dbae9
Some changes to make the testing script run on mac, too, + a multithreaded server for riot
2018-09-25 18:45:08 +01:00
Travis Ralston
27c23058dc
Alter build process to rely on canaries only
...
With the react-sdk and js-sdk having their `npm start`s split out (as per https://github.com/matrix-org/matrix-react-sdk/pull/2175 and https://github.com/matrix-org/matrix-js-sdk/pull/742 ) we can trigger an initial build ourselves and start the watcher afterwards. This canary approach has a very slight speed increase over serially running all the commands as the watcher can be started as early as possible.
This all can be improved and potentially eliminated with a bit more planning, however: https://github.com/vector-im/riot-web/issues/7386
2018-09-25 11:20:58 -06:00
Travis Ralston
c5a2e0b988
Split npm start into an init and watch script
...
This is to better support riot-web's build process without losing the functionality supplied by `npm start`. The watch script no longer performs an initial build and thus `start:init` has been created for this purpose.
2018-09-25 11:07:46 -06:00
Bruno Windels
8ee7623d90
current tests need riot develop to set a room alias without a domain name
2018-09-25 18:01:10 +01:00
David Baker
c511902356
Support WebAssembly version of Olm.
...
* Olm no longer supports setting the stack/memory size at runtime,
so don't (they're now set to be that in the Olm build).
* Copy the wasm file from the Olm library (see multiple comments
about it being in the wrong place and webpack being awful).
2018-09-25 17:55:41 +01:00
Travis Ralston
8d7cec2a94
Add some comments to describe the build process
2018-09-24 17:57:18 -06:00
Travis Ralston
2b037ee146
Prevent races by blocking on SDK builds
...
If we don't block on SDK builds, then the riot-web build fails due to half-built dependencies. This needs to be done at two levels: the js-sdk because it is used by both the react-sdk and riot-web, and at the react-sdk because riot-web needs it. This means our build process is synchronous for js -> react -> riot, at least for the initial build.
This does increase the startup time, particularly because the file watch timer is at 5 seconds. The timer is used to detect a storm of file changes in the underlying SDKs and give the build process some room to compile larger files if needed.
The file watcher is accompanied by a "canary signal file" to prevent the build-blocking script from unblocking too early. Both the js and react SDKs build when `npm install` is run, so we ensure that we only listen for the `npm start` build for each SDK.
This is all done at the riot level instead of at the individual SDK levels (where we could use a canary file to signal up the stack) because:
* babel (used by the js-sdk) doesn't really provide an "end up build" signal
* webpack is a bit of a nightmare to get it to behave at times
* this blocking approach is really only applicable to riot-web, although may be useful to some other projects.
Hopefully that all makes sense.
2018-09-24 17:12:42 -06:00
Bruno Windels
928b6d47c8
add resize handles between 3 main app columns
2018-09-24 16:07:42 +01:00
Bruno Windels
313956dd99
make left panel adapt to width
...
includes using flexbox in the room tile to avoid hardcoded width
2018-09-24 16:06:57 +01:00
Slavi Pantaleev
72a535ddac
Translated using Weblate (Bulgarian)
...
Currently translated at 100.0% (1259 of 1259 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-09-24 12:53:34 +00:00
Bruno Windels
73ba837c26
fix style changes after merging in develop
2018-09-21 13:27:00 +02:00
Bruno Windels
23569705b4
Merge branch 'develop' into matthew/dharma
2018-09-21 12:55:40 +02:00
Bruno Windels
91ec96c8d3
Merge branch 'develop' into bwindels/redesign
2018-09-21 12:44:44 +02:00
David Baker
4aad156b92
Merge pull request #29 from matrix-org/bwindels/fixroomaliasrequirements
...
set a room alias for a public room, as required now
2018-09-21 10:52:42 +01:00
Bruno Windels
a637ad85ad
set a room alias for a public room, as required now
2018-09-21 11:25:26 +02:00
Jeff Huang
0fd360d35d
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1259 of 1259 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-09-21 00:55:56 +00:00
Silvano
879f11b88b
Translated using Weblate (Italian)
...
Currently translated at 100.0% (1259 of 1259 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2018-09-20 23:12:33 +00:00