Skip to content

Commit b2d417d

Browse files
committed
Merge branch 'master' into develop
2 parents 3a77b8e + 8543c7b commit b2d417d

7 files changed

Lines changed: 60 additions & 20 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,49 @@
1+
Changes in [1.0.2](https://github.com/vector-im/riot-web/releases/tag/v1.0.2) (2019-03-06)
2+
==========================================================================================
3+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v1.0.2-rc.3...v1.0.2)
4+
5+
* New react-sdk for minor hosting link fixes
6+
7+
Changes in [1.0.2-rc.3](https://github.com/vector-im/riot-web/releases/tag/v1.0.2-rc.3) (2019-03-05)
8+
====================================================================================================
9+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v1.0.2-rc.2...v1.0.2-rc.3)
10+
11+
* Add modular.im hosting link to electron app config
12+
[\#9051](https://github.com/vector-im/riot-web/pull/9051)
13+
14+
Changes in [1.0.2-rc.2](https://github.com/vector-im/riot-web/releases/tag/v1.0.2-rc.2) (2019-03-01)
15+
====================================================================================================
16+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v1.0.2-rc.1...v1.0.2-rc.2)
17+
18+
* Update to react-sdk rc.3
19+
20+
Changes in [1.0.2-rc.1](https://github.com/vector-im/riot-web/releases/tag/v1.0.2-rc.1) (2019-03-01)
21+
====================================================================================================
22+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v1.0.1...v1.0.2-rc.1)
23+
24+
* Set a require alias for the webapp directory
25+
[\#9014](https://github.com/vector-im/riot-web/pull/9014)
26+
* Update from Weblate.
27+
[\#8973](https://github.com/vector-im/riot-web/pull/8973)
28+
* set chrome path for travis CI explicitly
29+
[\#8987](https://github.com/vector-im/riot-web/pull/8987)
30+
* Updated install spinner
31+
[\#8984](https://github.com/vector-im/riot-web/pull/8984)
32+
* Allow disabling update mechanism
33+
[\#8911](https://github.com/vector-im/riot-web/pull/8911)
34+
* Allow configuration of whether closing window closes or minimizes to tray
35+
[\#8908](https://github.com/vector-im/riot-web/pull/8908)
36+
* Fix language file path for Jenkins
37+
[\#8854](https://github.com/vector-im/riot-web/pull/8854)
38+
* Document and recommend `default_server_name`
39+
[\#8832](https://github.com/vector-im/riot-web/pull/8832)
40+
* Cache busting for icons & language files
41+
[\#8710](https://github.com/vector-im/riot-web/pull/8710)
42+
* Remove redesign issue template
43+
[\#8722](https://github.com/vector-im/riot-web/pull/8722)
44+
* Make scripts/make-icons.sh work on linux
45+
[\#8550](https://github.com/vector-im/riot-web/pull/8550)
46+
147
Changes in [1.0.1](https://github.com/vector-im/riot-web/releases/tag/v1.0.1) (2019-02-15)
248
==========================================================================================
349
[Full Changelog](https://github.com/vector-im/riot-web/compare/v1.0.0...v1.0.1)

‎electron_app/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "riot-web",
33
"productName": "Riot",
44
"main": "src/electron-main.js",
5-
"version": "1.0.1",
5+
"version": "1.0.2",
66
"description": "A feature-rich client for Matrix.org",
77
"author": "New Vector Ltd.",
88
"dependencies": {

‎package-lock.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "riot-web",
33
"productName": "Riot",
44
"main": "electron_app/src/electron-main.js",
5-
"version": "1.0.1",
5+
"version": "1.0.2",
66
"description": "A feature-rich client for Matrix.org",
77
"author": "New Vector Ltd.",
88
"repository": {
@@ -70,8 +70,8 @@
7070
"gemini-scrollbar": "github:matrix-org/gemini-scrollbar#b302279",
7171
"gfm.css": "^1.1.2",
7272
"highlight.js": "^9.13.1",
73-
"matrix-js-sdk": "1.0.0",
74-
"matrix-react-sdk": "1.0.1",
73+
"matrix-js-sdk": "1.0.1",
74+
"matrix-react-sdk": "1.0.2",
7575
"modernizr": "^3.6.0",
7676
"prop-types": "^15.6.2",
7777
"react": "^15.6.0",

‎scripts/cleanup.sh‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ live=`dirname $(readlink -f "$HOME/live")`
99
# currently live bundle (just the name of the bundle)
1010
live_bundle=`grep 'script src="bundles' live/index.html | sed -e 's#.*bundles/##' -e 's#/.*##'`
1111

12-
# clean up 'extracted': find things which are older than 7 days, exclude the current live one, and remove
13-
find $HOME/extracted -maxdepth 1 -type d -ctime +7 \! -path "$live" -exec rm -r {} \;
12+
# clean up 'extracted': find things which are older than 7 days, exclude the
13+
# current live one, and remove
14+
find $HOME/extracted -mindepth 1 -maxdepth 1 -type d -ctime +7 \
15+
\! -path "$live" -exec rm -r {} \;
1416

1517
# clean up 'bundles': ditto
16-
find $HOME/bundles -maxdepth 1 -type d -ctime +7 \! -name "$live_bundle" -exec rm -r {} \;
18+
find $HOME/bundles -mindepth 1 -maxdepth 1 -type d -ctime +7 \
19+
\! -name "$live_bundle" -exec rm -r {} \;

‎scripts/package.sh‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,7 @@ else
1414
fi
1515

1616
npm run clean
17-
# riot-web is at `workspace`.
18-
# matrix-react-sdk is at `workspace/node_modules/matrix-react-sdk`, but this is
19-
# symlinked to a repo at `workspace/matrix-react-sdk`.
20-
# To get from `workspace/matrix-react-sdk/lib` up to the lang file, we use:
21-
RIOT_LANGUAGES_FILE="../../webapp/i18n/languages.json" npm run build$dev
17+
npm run build$dev
2218

2319
# include the sample config in the tarball. Arguably this should be done by
2420
# `npm run build`, but it's just too painful.

‎webpack.config.js‎

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');
66
let og_image_url = process.env.RIOT_OG_IMAGE_URL;
77
if (!og_image_url) og_image_url = 'https://riot.im/app/themes/riot/img/logos/riot-im-logo-black-text.png';
88

9-
// relative to languageHandler.js in matrix-react-sdk
10-
let RIOT_LANGUAGES_FILE = process.env.RIOT_LANGUAGES_FILE;
11-
if (!RIOT_LANGUAGES_FILE) {
12-
RIOT_LANGUAGES_FILE = "../../riot-web/webapp/i18n/languages.json";
13-
}
14-
159
module.exports = {
1610
entry: {
1711
// Load babel-polyfill first to avoid issues where some imports (namely react)
@@ -157,14 +151,15 @@ module.exports = {
157151

158152
// same goes for js-sdk
159153
"matrix-js-sdk": path.resolve('./node_modules/matrix-js-sdk'),
154+
155+
"$webapp": path.resolve('./webapp'),
160156
},
161157
},
162158
plugins: [
163159
new webpack.DefinePlugin({
164160
'process.env': {
165161
NODE_ENV: JSON.stringify(process.env.NODE_ENV),
166162
},
167-
'LANGUAGES_FILE': JSON.stringify(RIOT_LANGUAGES_FILE),
168163
}),
169164
new ExtractTextPlugin("bundles/[hash]/[name].css", {
170165
allChunks: true,

0 commit comments

Comments
 (0)