Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/origin/develop' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy committed Aug 24, 2017
2 parents c6bc20c + 9e57c9d commit 61d9c1a
Show file tree
Hide file tree
Showing 101 changed files with 4,015 additions and 1,163 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"presets": ["react", "es2015", "es2016"],
"plugins": ["transform-class-properties", "transform-object-rest-spread", "transform-async-to-generator", "transform-runtime", "add-module-exports"]
"plugins": ["transform-class-properties", "transform-object-rest-spread", "transform-async-to-bluebird", "transform-runtime", "add-module-exports"]
}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
npm-debug.log
electron/dist
electron/pub
/.idea
**/.idea
/config.json
/src/component-index.js
14 changes: 12 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
# we need trusty for the chrome addon
dist: trusty

# we don't need sudo, so can run in a container, which makes startup much
# quicker.
sudo: false

language: node_js
node_js:
# make sure we work with a range of node versions.
# As of the time of writing:
# - 4.x is still in LTS (until April 2018), but some of our deps (notably
# extract-zip) don't work with it
# - 5.x has been EOLed for nearly a year.
# - 6.x is the current 'LTS' version
# - 7.x is the current 'current' version (until October 2017)
# - 6.x is the active 'LTS' version
# - 7.x is no longer supported
# - 8.x is the current 'current' version (until October 2017)
#
# see: https://github.com/nodejs/LTS/
#
Expand All @@ -16,6 +24,8 @@ node_js:
- 6.3
- 6
- 7
addons:
chrome: stable
install:
# clone the deps with depth 1: we know we will only ever need that one
# commit.
Expand Down
167 changes: 166 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,176 @@
Changes in [0.12.1](https://github.com/vector-im/riot-web/releases/tag/v0.12.1) (2017-08-23)
============================================================================================
[Full Changelog](https://github.com/vector-im/riot-web/compare/v0.12.1-rc.1...v0.12.1)

* [No changes]

Changes in [0.12.1-rc.1](https://github.com/vector-im/riot-web/releases/tag/v0.12.1-rc.1) (2017-08-22)
======================================================================================================
[Full Changelog](https://github.com/vector-im/riot-web/compare/v0.12.0-rc.2...v0.12.1-rc.1)

* Update from Weblate.
[\#4832](https://github.com/vector-im/riot-web/pull/4832)
* Misc styling fixes.
[\#4826](https://github.com/vector-im/riot-web/pull/4826)
* Show / Hide apps icons
[\#4774](https://github.com/vector-im/riot-web/pull/4774)

Changes in [0.12.0-rc.1](https://github.com/vector-im/riot-web/releases/tag/v0.12.0-rc.1) (2017-08-16)
======================================================================================================
[Full Changelog](https://github.com/vector-im/riot-web/compare/v0.11.4...v0.12.0-rc.1)

* Update from Weblate.
[\#4797](https://github.com/vector-im/riot-web/pull/4797)
* move focus-via-up/down cursors to LeftPanel
[\#4777](https://github.com/vector-im/riot-web/pull/4777)
* Remove userId property on RightPanel
[\#4775](https://github.com/vector-im/riot-web/pull/4775)
* Make member device info buttons fluid and stackable with flexbox
[\#4776](https://github.com/vector-im/riot-web/pull/4776)
* un-i18n Modal Analytics
[\#4688](https://github.com/vector-im/riot-web/pull/4688)
* Quote using innerText
[\#4773](https://github.com/vector-im/riot-web/pull/4773)
* Karma tweaks for riot-web
[\#4765](https://github.com/vector-im/riot-web/pull/4765)
* Fix typo with scripts/fetch-develop-deps.sh in Building From Source
[\#4764](https://github.com/vector-im/riot-web/pull/4764)
* Adjust CSS for optional avatars in pills
[\#4757](https://github.com/vector-im/riot-web/pull/4757)
* Fix crypto on develop
[\#4754](https://github.com/vector-im/riot-web/pull/4754)
* Fix signing key url in readme
[\#4464](https://github.com/vector-im/riot-web/pull/4464)
* update gitignore to allow .idea directory to exist in subdirs
[\#4749](https://github.com/vector-im/riot-web/pull/4749)
* tweak compact theme
[\#4665](https://github.com/vector-im/riot-web/pull/4665)
* Update draft-js from 0.10.1 to 0.11.0-alpha
[\#4740](https://github.com/vector-im/riot-web/pull/4740)
* electron support for mouse forward/back buttons in Windows
[\#4739](https://github.com/vector-im/riot-web/pull/4739)
* Update draft-js from 0.8.1 to 0.10.1
[\#4730](https://github.com/vector-im/riot-web/pull/4730)
* Make pills, emoji translucent when sending
[\#4693](https://github.com/vector-im/riot-web/pull/4693)
* Widget permissions styling and icon
[\#4690](https://github.com/vector-im/riot-web/pull/4690)
* CSS required for composer autoscroll
[\#4682](https://github.com/vector-im/riot-web/pull/4682)
* CSS for group edit UI
[\#4608](https://github.com/vector-im/riot-web/pull/4608)
* Fix a couple of minor errors in the room list
[\#4671](https://github.com/vector-im/riot-web/pull/4671)
* Styling for beta testing icon.
[\#4584](https://github.com/vector-im/riot-web/pull/4584)
* Increase the timeout for clearing indexeddbs
[\#4650](https://github.com/vector-im/riot-web/pull/4650)
* Make some adjustments to mx_UserPill and mx_RoomPill
[\#4597](https://github.com/vector-im/riot-web/pull/4597)
* Apply CSS to <pre> tags to distinguish them from each other
[\#4639](https://github.com/vector-im/riot-web/pull/4639)
* Use `catch` instead of `fail` to handle room tag error
[\#4643](https://github.com/vector-im/riot-web/pull/4643)
* CSS for decorated matrix.to links in the composer
[\#4583](https://github.com/vector-im/riot-web/pull/4583)
* Deflake the joining test
[\#4579](https://github.com/vector-im/riot-web/pull/4579)
* Bump react to 15.6 to fix build problems
[\#4577](https://github.com/vector-im/riot-web/pull/4577)
* Improve AppTile menu bar button styling.
[\#4567](https://github.com/vector-im/riot-web/pull/4567)
* Transform `async` functions to bluebird promises
[\#4572](https://github.com/vector-im/riot-web/pull/4572)
* use flushAllExpected in joining test
[\#4570](https://github.com/vector-im/riot-web/pull/4570)
* Switch riot-web to bluebird
[\#4565](https://github.com/vector-im/riot-web/pull/4565)
* loading tests: wait for login component
[\#4564](https://github.com/vector-im/riot-web/pull/4564)
* Remove CSS for the MessageComposerInputOld
[\#4568](https://github.com/vector-im/riot-web/pull/4568)
* Implement the focus_room_filter action
[\#4560](https://github.com/vector-im/riot-web/pull/4560)
* CSS for Rooms in Group View
[\#4530](https://github.com/vector-im/riot-web/pull/4530)
* more HomePage tweaks
[\#4557](https://github.com/vector-im/riot-web/pull/4557)
* Give HomePage an unmounted guard
[\#4556](https://github.com/vector-im/riot-web/pull/4556)
* Take RTE out of labs
[\#4500](https://github.com/vector-im/riot-web/pull/4500)
* CSS for Groups page
[\#4468](https://github.com/vector-im/riot-web/pull/4468)
* CSS for GroupView
[\#4442](https://github.com/vector-im/riot-web/pull/4442)
* remove unused class
[\#4525](https://github.com/vector-im/riot-web/pull/4525)
* Fix long words causing MessageComposer to widen
[\#4466](https://github.com/vector-im/riot-web/pull/4466)
* Add visual bell animation for RTE
[\#4516](https://github.com/vector-im/riot-web/pull/4516)
* Truncate auto-complete pills properly
[\#4502](https://github.com/vector-im/riot-web/pull/4502)
* Use chrome headless instead of phantomjs
[\#4512](https://github.com/vector-im/riot-web/pull/4512)
* Use external mock-request
[\#4489](https://github.com/vector-im/riot-web/pull/4489)
* fix Quote not closing contextual menu
[\#4443](https://github.com/vector-im/riot-web/pull/4443)
* Apply white-space: pre-wrap to mx_MEmoteBody
[\#4470](https://github.com/vector-im/riot-web/pull/4470)
* Add some style improvements to autocompletions
[\#4456](https://github.com/vector-im/riot-web/pull/4456)
* Styling for apps / widgets
[\#4447](https://github.com/vector-im/riot-web/pull/4447)
* Attempt to flush the rageshake logs on close
[\#4400](https://github.com/vector-im/riot-web/pull/4400)
* Update from Weblate.
[\#4401](https://github.com/vector-im/riot-web/pull/4401)
* improve update polling electron and provide a manual check for updates
button
[\#4176](https://github.com/vector-im/riot-web/pull/4176)
* Fix load failure in firefox when indexedDB is disabled
[\#4395](https://github.com/vector-im/riot-web/pull/4395)
* Change missed 'Redact' to 'Remove' in ImageView.
[\#4362](https://github.com/vector-im/riot-web/pull/4362)
* explicit convert to nativeImage to stabilise trayIcon on Windows [Electron]
[\#4355](https://github.com/vector-im/riot-web/pull/4355)
* Use _tJsx for PasswordNagBar (because it has <u>)
[\#4373](https://github.com/vector-im/riot-web/pull/4373)
* Clean up some log outputs from the integ tests
[\#4376](https://github.com/vector-im/riot-web/pull/4376)
* CSS for redeisng of password warning
[\#4367](https://github.com/vector-im/riot-web/pull/4367)
* Give _t to PasswordNagBar, add CSS for UserSettings password warning
[\#4366](https://github.com/vector-im/riot-web/pull/4366)
* Update from Weblate.
[\#4361](https://github.com/vector-im/riot-web/pull/4361)
* Update from Weblate.
[\#4360](https://github.com/vector-im/riot-web/pull/4360)
* Test 'return-to-app' functionality
[\#4352](https://github.com/vector-im/riot-web/pull/4352)
* Update from Weblate.
[\#4354](https://github.com/vector-im/riot-web/pull/4354)
* onLoadCompleted is now onTokenLoginCompleted
[\#4335](https://github.com/vector-im/riot-web/pull/4335)
* Tweak tests to match updates to matrixchat
[\#4325](https://github.com/vector-im/riot-web/pull/4325)
* Update from Weblate.
[\#4346](https://github.com/vector-im/riot-web/pull/4346)
* change dispatcher forward_event signature
[\#4337](https://github.com/vector-im/riot-web/pull/4337)
* Add border on hover for code blocks
[\#4259](https://github.com/vector-im/riot-web/pull/4259)

Changes in [0.11.4](https://github.com/vector-im/riot-web/releases/tag/v0.11.4) (2017-06-22)
============================================================================================
[Full Changelog](https://github.com/vector-im/riot-web/compare/v0.11.3...v0.11.4)

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

Changes in [0.11.3](https://github.com/vector-im/riot-web/releases/tag/v0.11.3) (2017-06-20)
Expand Down
36 changes: 25 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ released version of Riot:
1. Enter the URL into your browser and log into Riot!

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

Note that Chrome does not allow microphone or webcam access for sites served
over http (except localhost), so for working VoIP you will need to serve Riot
Expand Down Expand Up @@ -62,7 +62,7 @@ to build.
1. If you're using the `develop` branch, install the develop versions of the
dependencies, as the released ones will be too old:
```
scripts/fetch-develop-deps.sh
scripts/fetch-develop.deps.sh
```
Whenever you git pull on riot-web you will also probably need to force an update
to these dependencies - the simplest way is to re-run the script, but you can also
Expand All @@ -81,7 +81,7 @@ to build.
npm run build
```
However, we recommend setting up a proper development environment (see "Setting
up a development environment" below) if you want to run your own copy of the
up a dev environment" below) if you want to run your own copy of the
`develop` branch, as it makes it much easier to keep these dependencies
up-to-date. Or just use https://riot.im/develop - the continuous integration
release of the develop branch.
Expand Down Expand Up @@ -253,7 +253,6 @@ Finally, build and start Riot itself:
1. `rm -r node_modules/matrix-react-sdk; ln -s ../../matrix-react-sdk node_modules/`
1. `npm start`
1. Wait a few seconds for the initial build to finish; you should see something like:

```
Hash: b0af76309dd56d7275c8
Version: webpack 1.12.14
Expand Down Expand Up @@ -282,18 +281,33 @@ If any of these steps error with, `file table overflow`, you are probably on a m
which has a very low limit on max open files. Run `ulimit -Sn 1024` and try again.
You'll need to do this in each new terminal you open before building Riot.

How to add a new translation?
=============================
Running the tests
-----------------

[<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)
There are a number of application-level tests in the `tests` directory; these
are designed to run in a browser instance under the control of
[karma](https://karma-runner.github.io). To run them:

* Make sure you have Chrome installed (a recent version, like 59)
* Make sure you have `matrix-js-sdk` and `matrix-react-sdk` installed and
built, as above
* `npm run test`

The above will run the tests under Chrome in a `headless` mode.

Head to the [translating doc](docs/translating.md)
You can also tell karma to run the tests in a loop (every time the source
changes), in an instance of Chrome on your desktop, with `npm run
test-multi`. This also gives you the option of running the tests in 'debug'
mode, which is useful for stepping through the tests in the developer tools.

Adding Strings to the translations (Developer Guide)
====================================================
Translations
============

Head to the [translating dev doc](docs/translating-dev.md)
To add a new translation, head to the [translating doc](docs/translating.md).

For a developer guide, see the [translating dev doc](docs/translating-dev.md).

[<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)

Triaging issues
===============
Expand Down
2 changes: 1 addition & 1 deletion electron_app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "riot-web",
"productName": "Riot",
"main": "src/electron-main.js",
"version": "0.11.4",
"version": "0.12.1",
"description": "A feature-rich client for Matrix.org",
"author": "Vector Creations Ltd.",
"dependencies": {
Expand Down
Loading

0 comments on commit 61d9c1a

Please sign in to comment.