Skip to content

Commit 61d9c1a

Browse files
committed
Merge remote-tracking branch 'remotes/origin/develop' into patch-1
2 parents c6bc20c + 9e57c9d commit 61d9c1a

101 files changed

Lines changed: 4015 additions & 1163 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.babelrc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"presets": ["react", "es2015", "es2016"],
3-
"plugins": ["transform-class-properties", "transform-object-rest-spread", "transform-async-to-generator", "transform-runtime", "add-module-exports"]
3+
"plugins": ["transform-class-properties", "transform-object-rest-spread", "transform-async-to-bluebird", "transform-runtime", "add-module-exports"]
44
}

‎.gitignore‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
npm-debug.log
1515
electron/dist
1616
electron/pub
17-
/.idea
17+
**/.idea
1818
/config.json
1919
/src/component-index.js

‎.travis.yml‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
1+
# we need trusty for the chrome addon
2+
dist: trusty
3+
4+
# we don't need sudo, so can run in a container, which makes startup much
5+
# quicker.
6+
sudo: false
7+
18
language: node_js
29
node_js:
310
# make sure we work with a range of node versions.
411
# As of the time of writing:
512
# - 4.x is still in LTS (until April 2018), but some of our deps (notably
613
# extract-zip) don't work with it
714
# - 5.x has been EOLed for nearly a year.
8-
# - 6.x is the current 'LTS' version
9-
# - 7.x is the current 'current' version (until October 2017)
15+
# - 6.x is the active 'LTS' version
16+
# - 7.x is no longer supported
17+
# - 8.x is the current 'current' version (until October 2017)
1018
#
1119
# see: https://github.com/nodejs/LTS/
1220
#
@@ -16,6 +24,8 @@ node_js:
1624
- 6.3
1725
- 6
1826
- 7
27+
addons:
28+
chrome: stable
1929
install:
2030
# clone the deps with depth 1: we know we will only ever need that one
2131
# commit.

‎CHANGELOG.md‎

Lines changed: 166 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,176 @@
1+
Changes in [0.12.1](https://github.com/vector-im/riot-web/releases/tag/v0.12.1) (2017-08-23)
2+
============================================================================================
3+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v0.12.1-rc.1...v0.12.1)
4+
5+
* [No changes]
6+
7+
Changes in [0.12.1-rc.1](https://github.com/vector-im/riot-web/releases/tag/v0.12.1-rc.1) (2017-08-22)
8+
======================================================================================================
9+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v0.12.0-rc.2...v0.12.1-rc.1)
10+
11+
* Update from Weblate.
12+
[\#4832](https://github.com/vector-im/riot-web/pull/4832)
13+
* Misc styling fixes.
14+
[\#4826](https://github.com/vector-im/riot-web/pull/4826)
15+
* Show / Hide apps icons
16+
[\#4774](https://github.com/vector-im/riot-web/pull/4774)
17+
18+
Changes in [0.12.0-rc.1](https://github.com/vector-im/riot-web/releases/tag/v0.12.0-rc.1) (2017-08-16)
19+
======================================================================================================
20+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v0.11.4...v0.12.0-rc.1)
21+
22+
* Update from Weblate.
23+
[\#4797](https://github.com/vector-im/riot-web/pull/4797)
24+
* move focus-via-up/down cursors to LeftPanel
25+
[\#4777](https://github.com/vector-im/riot-web/pull/4777)
26+
* Remove userId property on RightPanel
27+
[\#4775](https://github.com/vector-im/riot-web/pull/4775)
28+
* Make member device info buttons fluid and stackable with flexbox
29+
[\#4776](https://github.com/vector-im/riot-web/pull/4776)
30+
* un-i18n Modal Analytics
31+
[\#4688](https://github.com/vector-im/riot-web/pull/4688)
32+
* Quote using innerText
33+
[\#4773](https://github.com/vector-im/riot-web/pull/4773)
34+
* Karma tweaks for riot-web
35+
[\#4765](https://github.com/vector-im/riot-web/pull/4765)
36+
* Fix typo with scripts/fetch-develop-deps.sh in Building From Source
37+
[\#4764](https://github.com/vector-im/riot-web/pull/4764)
38+
* Adjust CSS for optional avatars in pills
39+
[\#4757](https://github.com/vector-im/riot-web/pull/4757)
40+
* Fix crypto on develop
41+
[\#4754](https://github.com/vector-im/riot-web/pull/4754)
42+
* Fix signing key url in readme
43+
[\#4464](https://github.com/vector-im/riot-web/pull/4464)
44+
* update gitignore to allow .idea directory to exist in subdirs
45+
[\#4749](https://github.com/vector-im/riot-web/pull/4749)
46+
* tweak compact theme
47+
[\#4665](https://github.com/vector-im/riot-web/pull/4665)
48+
* Update draft-js from 0.10.1 to 0.11.0-alpha
49+
[\#4740](https://github.com/vector-im/riot-web/pull/4740)
50+
* electron support for mouse forward/back buttons in Windows
51+
[\#4739](https://github.com/vector-im/riot-web/pull/4739)
52+
* Update draft-js from 0.8.1 to 0.10.1
53+
[\#4730](https://github.com/vector-im/riot-web/pull/4730)
54+
* Make pills, emoji translucent when sending
55+
[\#4693](https://github.com/vector-im/riot-web/pull/4693)
56+
* Widget permissions styling and icon
57+
[\#4690](https://github.com/vector-im/riot-web/pull/4690)
58+
* CSS required for composer autoscroll
59+
[\#4682](https://github.com/vector-im/riot-web/pull/4682)
60+
* CSS for group edit UI
61+
[\#4608](https://github.com/vector-im/riot-web/pull/4608)
62+
* Fix a couple of minor errors in the room list
63+
[\#4671](https://github.com/vector-im/riot-web/pull/4671)
64+
* Styling for beta testing icon.
65+
[\#4584](https://github.com/vector-im/riot-web/pull/4584)
66+
* Increase the timeout for clearing indexeddbs
67+
[\#4650](https://github.com/vector-im/riot-web/pull/4650)
68+
* Make some adjustments to mx_UserPill and mx_RoomPill
69+
[\#4597](https://github.com/vector-im/riot-web/pull/4597)
70+
* Apply CSS to <pre> tags to distinguish them from each other
71+
[\#4639](https://github.com/vector-im/riot-web/pull/4639)
72+
* Use `catch` instead of `fail` to handle room tag error
73+
[\#4643](https://github.com/vector-im/riot-web/pull/4643)
74+
* CSS for decorated matrix.to links in the composer
75+
[\#4583](https://github.com/vector-im/riot-web/pull/4583)
76+
* Deflake the joining test
77+
[\#4579](https://github.com/vector-im/riot-web/pull/4579)
78+
* Bump react to 15.6 to fix build problems
79+
[\#4577](https://github.com/vector-im/riot-web/pull/4577)
80+
* Improve AppTile menu bar button styling.
81+
[\#4567](https://github.com/vector-im/riot-web/pull/4567)
82+
* Transform `async` functions to bluebird promises
83+
[\#4572](https://github.com/vector-im/riot-web/pull/4572)
84+
* use flushAllExpected in joining test
85+
[\#4570](https://github.com/vector-im/riot-web/pull/4570)
86+
* Switch riot-web to bluebird
87+
[\#4565](https://github.com/vector-im/riot-web/pull/4565)
88+
* loading tests: wait for login component
89+
[\#4564](https://github.com/vector-im/riot-web/pull/4564)
90+
* Remove CSS for the MessageComposerInputOld
91+
[\#4568](https://github.com/vector-im/riot-web/pull/4568)
92+
* Implement the focus_room_filter action
93+
[\#4560](https://github.com/vector-im/riot-web/pull/4560)
94+
* CSS for Rooms in Group View
95+
[\#4530](https://github.com/vector-im/riot-web/pull/4530)
96+
* more HomePage tweaks
97+
[\#4557](https://github.com/vector-im/riot-web/pull/4557)
98+
* Give HomePage an unmounted guard
99+
[\#4556](https://github.com/vector-im/riot-web/pull/4556)
100+
* Take RTE out of labs
101+
[\#4500](https://github.com/vector-im/riot-web/pull/4500)
102+
* CSS for Groups page
103+
[\#4468](https://github.com/vector-im/riot-web/pull/4468)
104+
* CSS for GroupView
105+
[\#4442](https://github.com/vector-im/riot-web/pull/4442)
106+
* remove unused class
107+
[\#4525](https://github.com/vector-im/riot-web/pull/4525)
108+
* Fix long words causing MessageComposer to widen
109+
[\#4466](https://github.com/vector-im/riot-web/pull/4466)
110+
* Add visual bell animation for RTE
111+
[\#4516](https://github.com/vector-im/riot-web/pull/4516)
112+
* Truncate auto-complete pills properly
113+
[\#4502](https://github.com/vector-im/riot-web/pull/4502)
114+
* Use chrome headless instead of phantomjs
115+
[\#4512](https://github.com/vector-im/riot-web/pull/4512)
116+
* Use external mock-request
117+
[\#4489](https://github.com/vector-im/riot-web/pull/4489)
118+
* fix Quote not closing contextual menu
119+
[\#4443](https://github.com/vector-im/riot-web/pull/4443)
120+
* Apply white-space: pre-wrap to mx_MEmoteBody
121+
[\#4470](https://github.com/vector-im/riot-web/pull/4470)
122+
* Add some style improvements to autocompletions
123+
[\#4456](https://github.com/vector-im/riot-web/pull/4456)
124+
* Styling for apps / widgets
125+
[\#4447](https://github.com/vector-im/riot-web/pull/4447)
126+
* Attempt to flush the rageshake logs on close
127+
[\#4400](https://github.com/vector-im/riot-web/pull/4400)
128+
* Update from Weblate.
129+
[\#4401](https://github.com/vector-im/riot-web/pull/4401)
130+
* improve update polling electron and provide a manual check for updates
131+
button
132+
[\#4176](https://github.com/vector-im/riot-web/pull/4176)
133+
* Fix load failure in firefox when indexedDB is disabled
134+
[\#4395](https://github.com/vector-im/riot-web/pull/4395)
135+
* Change missed 'Redact' to 'Remove' in ImageView.
136+
[\#4362](https://github.com/vector-im/riot-web/pull/4362)
137+
* explicit convert to nativeImage to stabilise trayIcon on Windows [Electron]
138+
[\#4355](https://github.com/vector-im/riot-web/pull/4355)
139+
* Use _tJsx for PasswordNagBar (because it has <u>)
140+
[\#4373](https://github.com/vector-im/riot-web/pull/4373)
141+
* Clean up some log outputs from the integ tests
142+
[\#4376](https://github.com/vector-im/riot-web/pull/4376)
143+
* CSS for redeisng of password warning
144+
[\#4367](https://github.com/vector-im/riot-web/pull/4367)
145+
* Give _t to PasswordNagBar, add CSS for UserSettings password warning
146+
[\#4366](https://github.com/vector-im/riot-web/pull/4366)
147+
* Update from Weblate.
148+
[\#4361](https://github.com/vector-im/riot-web/pull/4361)
149+
* Update from Weblate.
150+
[\#4360](https://github.com/vector-im/riot-web/pull/4360)
151+
* Test 'return-to-app' functionality
152+
[\#4352](https://github.com/vector-im/riot-web/pull/4352)
153+
* Update from Weblate.
154+
[\#4354](https://github.com/vector-im/riot-web/pull/4354)
155+
* onLoadCompleted is now onTokenLoginCompleted
156+
[\#4335](https://github.com/vector-im/riot-web/pull/4335)
157+
* Tweak tests to match updates to matrixchat
158+
[\#4325](https://github.com/vector-im/riot-web/pull/4325)
159+
* Update from Weblate.
160+
[\#4346](https://github.com/vector-im/riot-web/pull/4346)
161+
* change dispatcher forward_event signature
162+
[\#4337](https://github.com/vector-im/riot-web/pull/4337)
163+
* Add border on hover for code blocks
164+
[\#4259](https://github.com/vector-im/riot-web/pull/4259)
165+
1166
Changes in [0.11.4](https://github.com/vector-im/riot-web/releases/tag/v0.11.4) (2017-06-22)
2167
============================================================================================
3168
[Full Changelog](https://github.com/vector-im/riot-web/compare/v0.11.3...v0.11.4)
4169

5170
* Update matrix-js-sdk and react-sdk to fix a regression where the
6171
background indexedb worker was disabled, failures to open indexeddb
7172
causing the app to fail to start, a race when starting that could break
8-
switching to rooms, and the inability to to invite user with mixed case
173+
switching to rooms, and the inability to invite users with mixed case
9174
usernames.
10175

11176
Changes in [0.11.3](https://github.com/vector-im/riot-web/releases/tag/v0.11.3) (2017-06-20)

‎README.md‎

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ released version of Riot:
2222
1. Enter the URL into your browser and log into Riot!
2323

2424
Releases are signed by PGP, and can be checked against the public key
25-
at https://riot.im/packages/keys/riot-master.asc
25+
at https://riot.im/packages/keys/riot.asc
2626

2727
Note that Chrome does not allow microphone or webcam access for sites served
2828
over http (except localhost), so for working VoIP you will need to serve Riot
@@ -62,7 +62,7 @@ to build.
6262
1. If you're using the `develop` branch, install the develop versions of the
6363
dependencies, as the released ones will be too old:
6464
```
65-
scripts/fetch-develop-deps.sh
65+
scripts/fetch-develop.deps.sh
6666
```
6767
Whenever you git pull on riot-web you will also probably need to force an update
6868
to these dependencies - the simplest way is to re-run the script, but you can also
@@ -81,7 +81,7 @@ to build.
8181
npm run build
8282
```
8383
However, we recommend setting up a proper development environment (see "Setting
84-
up a development environment" below) if you want to run your own copy of the
84+
up a dev environment" below) if you want to run your own copy of the
8585
`develop` branch, as it makes it much easier to keep these dependencies
8686
up-to-date. Or just use https://riot.im/develop - the continuous integration
8787
release of the develop branch.
@@ -253,7 +253,6 @@ Finally, build and start Riot itself:
253253
1. `rm -r node_modules/matrix-react-sdk; ln -s ../../matrix-react-sdk node_modules/`
254254
1. `npm start`
255255
1. Wait a few seconds for the initial build to finish; you should see something like:
256-
257256
```
258257
Hash: b0af76309dd56d7275c8
259258
Version: webpack 1.12.14
@@ -282,18 +281,33 @@ If any of these steps error with, `file table overflow`, you are probably on a m
282281
which has a very low limit on max open files. Run `ulimit -Sn 1024` and try again.
283282
You'll need to do this in each new terminal you open before building Riot.
284283
285-
How to add a new translation?
286-
=============================
284+
Running the tests
285+
-----------------
287286
288-
[<img src="https://translate.riot.im/widgets/riot-web/-/multi-auto.svg" alt="translationsstatus" width="340">](https://translate.riot.im/engage/riot-web/?utm_source=widget)
287+
There are a number of application-level tests in the `tests` directory; these
288+
are designed to run in a browser instance under the control of
289+
[karma](https://karma-runner.github.io). To run them:
290+
291+
* Make sure you have Chrome installed (a recent version, like 59)
292+
* Make sure you have `matrix-js-sdk` and `matrix-react-sdk` installed and
293+
built, as above
294+
* `npm run test`
289295
296+
The above will run the tests under Chrome in a `headless` mode.
290297
291-
Head to the [translating doc](docs/translating.md)
298+
You can also tell karma to run the tests in a loop (every time the source
299+
changes), in an instance of Chrome on your desktop, with `npm run
300+
test-multi`. This also gives you the option of running the tests in 'debug'
301+
mode, which is useful for stepping through the tests in the developer tools.
292302
293-
Adding Strings to the translations (Developer Guide)
294-
====================================================
303+
Translations
304+
============
295305
296-
Head to the [translating dev doc](docs/translating-dev.md)
306+
To add a new translation, head to the [translating doc](docs/translating.md).
307+
308+
For a developer guide, see the [translating dev doc](docs/translating-dev.md).
309+
310+
[<img src="https://translate.riot.im/widgets/riot-web/-/multi-auto.svg" alt="translationsstatus" width="340">](https://translate.riot.im/engage/riot-web/?utm_source=widget)
297311
298312
Triaging issues
299313
===============

‎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": "0.11.4",
5+
"version": "0.12.1",
66
"description": "A feature-rich client for Matrix.org",
77
"author": "Vector Creations Ltd.",
88
"dependencies": {

0 commit comments

Comments
 (0)