Commit Graph

790 Commits (4dfbce31085adccd48079c766b6323d67494eb33)

Author SHA1 Message Date
RiotRobot 3f31666409 v1.5.2 2019-09-12 12:57:22 +01:00
RiotRobot bdcaaa95f8 Released js-sdk 2019-09-12 12:53:33 +01:00
RiotRobot 77ae78ad24 v1.5.2-rc.1 2019-09-11 18:46:13 +01:00
RiotRobot 491087c1cf js-sdk rc.1 2019-09-11 18:43:30 +01:00
Michael Telatynski 034c35b07e Switch to React 16.9
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-06 19:19:06 +01:00
Michael Telatynski accb0abe2d Switch from react-addons-test-utils to react-dom/test-utils. React 16 :D
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-08-24 11:47:07 +01:00
Michael Telatynski 387fa75da8 Bump matrix-react-test-utils for React 16 compatibility
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-08-12 17:41:36 +01:00
Michael Telatynski daf1a794e6
Merge pull request #3276 from matrix-org/t3chguy/react16_1
Progress towards React 16 compatibility
2019-08-06 18:09:30 +01:00
RiotRobot 0e973bf211 Merge branch 'release-v1.5.1' 2019-08-05 14:36:48 +01:00
RiotRobot 9016be22a4 v1.5.1 2019-08-05 14:33:58 +01:00
RiotRobot fbd2ba8863 v1.5.0 2019-08-05 12:01:29 +01:00
RiotRobot ec9be798ae released js-sdk 2019-08-05 11:58:25 +01:00
Michael Telatynski aa98a6dfcb Start using create-react-class polyfill
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-08-05 10:08:30 +01:00
Michael Telatynski 64d542dc4a Update react-gemini-scrollbar to include React 16.8 compatibility
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-08-05 10:07:25 +01:00
RiotRobot db43a81c0a v1.5.0-rc.1 2019-07-31 16:46:26 +01:00
RiotRobot 6834083d88 Upgrade to JS SDK 2.3.0-rc.1 2019-07-31 16:36:02 +01:00
J. Ryan Stinnett 8304522b7f Upgrade emojibase to fix :anxious:
Fixes https://github.com/vector-im/riot-web/issues/10372
2019-07-30 18:15:21 +01:00
Bruno Windels 3753e5261d Implement diffing html messages in the edit history 2019-07-24 11:28:56 +02:00
Bruno Windels f305d8ac08 Basic diff visualisation for plain text edits 2019-07-19 16:09:23 +02:00
RiotRobot 03151418af Merge branch 'master' into develop 2019-07-18 15:51:33 +01:00
RiotRobot 3c0c64af8e v1.4.0 2019-07-18 15:50:46 +01:00
RiotRobot 480061bde3 Upgrade JS SDK to v2.2.0 2019-07-18 15:46:38 +01:00
RiotRobot 008903470a v1.4.0-rc.3 2019-07-15 17:28:48 +01:00
RiotRobot f05a7b2195 v1.4.0-rc.2 2019-07-12 17:33:21 +01:00
RiotRobot 6a6108f496 Upgrade to JS SDK 2.2.0-rc.2 2019-07-12 17:29:36 +01:00
RiotRobot a0dc4db234 v1.4.0-rc.1 2019-07-12 11:28:50 +01:00
RiotRobot 34c642ce9a Upgrade JS SDK to 2.2.0-rc.1 2019-07-12 11:23:01 +01:00
Travis Ralston f6af464fff Verify i18n in CI
To protect developers from mistakes such as missing strings or getting them out of order.
2019-07-11 12:37:17 -06:00
RiotRobot bb1762d265 Merge branch 'master' into develop 2019-07-11 11:04:36 +01:00
RiotRobot 1184e05ea7 v1.3.1 2019-07-11 11:03:47 +01:00
J. Ryan Stinnett cc1d3aae4b Upgrade lodash 2019-07-11 10:52:18 +01:00
J. Ryan Stinnett c34128dae6 Upgrade to JS SDK 2.1.1 2019-07-11 10:40:14 +01:00
J. Ryan Stinnett 6c9bf25199 Add stylelint-scss plugin
This adds extra SCSS-specific rules. In particular, there's a modified at rule
processing rule which understands `mixin` and friends.
2019-07-10 16:56:40 +01:00
J. Ryan Stinnett 4ebba43873 Run stylelint on all SCSS files
This adds quotes so that globbing actually works as intended with `stylelint`.
Previously, we were relying on whatever a shell does with `**` style globs,
which meant that many files weren't picked up.

This means many files weren't being linted before, so the remaining commits will
fix those new errors.
2019-07-10 16:56:25 +01:00
RiotRobot 61e2d87152 v1.3.0 2019-07-08 10:53:03 +01:00
RiotRobot 33eba0e500 Upgrade to JS SDK 2.1.0 2019-07-08 10:49:43 +01:00
RiotRobot a36c520362 v1.3.0-rc.1 2019-07-03 16:56:10 +01:00
RiotRobot 137c531d51 Upgrade to JS SDK 2.1.0-rc.1 2019-07-03 16:45:05 +01:00
Michael Telatynski 5473f7ba45 Unpin HLJS
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-06-27 20:36:45 +01:00
RiotRobot 2d6317fdd0 v1.2.2 2019-06-19 15:52:18 +01:00
RiotRobot 21344609a4 released js-sdk 2019-06-19 15:47:31 +01:00
RiotRobot a835d916e1 v1.2.2-rc.2 2019-06-18 15:52:29 +01:00
RiotRobot 27a94bb250 js-sdk rc.2 2019-06-18 15:46:23 +01:00
RiotRobot 3f37fc0cbb v1.2.2-rc.1 2019-06-12 12:00:15 +01:00
RiotRobot b2dfd3e84e js-sdk rc.1 2019-06-12 11:56:30 +01:00
RiotRobot 21c8a64ce1 v1.2.1 2019-05-31 11:26:02 +01:00
RiotRobot 2a41471df3 Upgrade to JS SDK 2.0.0 which fixes an error during key backup 2019-05-31 11:06:06 +01:00
RiotRobot 6d383bea1f v1.2.0 2019-05-29 16:02:26 +01:00
RiotRobot 3f1bb494e2 Upgrade JS SDK to 1.2.0 2019-05-29 15:58:17 +01:00
RiotRobot 6cab9dd1d5 v1.2.0-rc.1 2019-05-23 17:16:19 +01:00
RiotRobot bba4029165 Upgrade JS SDK to 1.2.0-rc.1 2019-05-23 16:52:45 +01:00
Matthew Hodgson a8297a7698 fix build 2019-05-19 16:11:12 +01:00
Matthew Hodgson dc72641264 replace emojione with twemoji. completely untested & debugged & unoptimised 2019-05-19 15:23:43 +01:00
David Baker 39b8d8957d Merge branch 'master' into develop 2019-05-15 14:31:30 +01:00
David Baker 4e3c39cd60 v1.1.2 2019-05-15 14:30:21 +01:00
David Baker 0f13bb2738 Merge branch 'master' into develop 2019-05-14 13:49:44 +01:00
David Baker 851d207611 v1.1.1 2019-05-14 13:48:47 +01:00
David Baker 09a9b2e15e Merge branch 'master' into develop 2019-05-07 15:50:14 +01:00
David Baker 3b03e23ace v1.1.0 2019-05-07 15:36:10 +01:00
David Baker aec1e98086 Released js-sdk 2019-05-07 15:30:21 +01:00
David Baker 4b9be2aec4 Remove the karma junit reporter
We may have used it in our jenkins tests at some point but we don't
have those anymore. It weas pulling in ancient dependencies because
we were using version 2.0.0 which is fact much older than the
current version (1.2.0). We have little use for junit output anymore
so just remove it.
2019-05-03 10:39:13 +01:00
David Baker 57322f82be v1.1.0-rc.1 2019-04-30 12:02:19 +01:00
David Baker 5b92693cb3 js-sdk rc.1 2019-04-30 11:53:10 +01:00
Bruno Windels 0592a1711a
Merge pull request #2439 from matrix-org/matthew/retina
Fix for retina thumbnails being massive
2019-04-09 16:14:25 +00:00
David Baker 7b87229e29 Add stylelint
Not added to the CI / default linting phases yet as, predictably
enough, it's very unhappy with our CSS. Just added one rule which is
that our CSS is indented with 4 spaces (the default being 2).
2019-04-09 14:05:53 +01:00
Bruno Windels 15ba24f7fb Merge branch 'develop' into matthew/retina 2019-04-09 10:55:05 +02:00
Bruno Windels 381c2f613d Merge branch 'master' into develop 2019-04-08 16:13:48 +02:00
Bruno Windels 21de0235b0 v1.0.7 2019-04-08 16:13:03 +02:00
Bruno Windels ab02c80ede bump js-sdk to 1.0.4 2019-04-08 16:08:46 +02:00
Bruno Windels f1b00dff35 Merge branch 'develop' into matthew/retina 2019-04-05 13:35:54 +02:00
J. Ryan Stinnett 57d72b4deb
Merge pull request #2841 from jryans/storage-eviction-modal
Notify user when crypto data is missing
2019-04-01 17:31:39 +01:00
David Baker 33f2401e63 v1.0.6 2019-04-01 13:43:49 +01:00
David Baker 6cde0eb1b2 released js-sdk 2019-04-01 13:38:06 +01:00
J. Ryan Stinnett 328f0cd6bf Notify user when crypto data is missing
If we have account data in local storage but nothing in the crypto store, it
generally means the browser has evicted IndexedDB out from under us. This adds a
modal to explain the situation and offer to completely clear storage to get
things back to normal.

Fixes https://github.com/vector-im/riot-web/issues/9109
2019-03-29 16:06:08 +00:00
David Baker 45e4948d9a v1.0.6-rc.1 2019-03-27 17:40:05 +00:00
David Baker fef36d3e1d react-sdk rc.1 2019-03-27 17:35:36 +00:00
J. Ryan Stinnett 86cf83e178 Update matrix-mock-request 2019-03-27 15:07:14 +00:00
Bruno Windels 44f3cac5eb Merge branch 'master' into develop 2019-03-21 11:28:35 +01:00
Bruno Windels a483352798 v1.0.5 2019-03-21 11:27:29 +01:00
David Baker 1a8fe4dd43 Go back to using mainine velocity
We moved off to our own fork of velocity many moons ago to fix
a memory leak bug when velocity was being barely maintained. They
have now merged the bugfix, so go back to mainline.
2019-03-20 10:54:06 +00:00
David Baker 554da0fec3 Merge branch 'master' into develop 2019-03-18 13:57:50 +00:00
David Baker fc7db55585 v1.0.4 2019-03-18 13:56:55 +00:00
David Baker 88cc9b0504 Released js-sdk 2019-03-18 13:51:59 +00:00
Travis Ralston bdc94f3847 Fix Chrome for Karma 2019-03-13 22:11:45 -06:00
David Baker 77b0dc613f v1.0.4-rc.1 2019-03-13 14:54:17 +00:00
David Baker 638d93f4f9 js-sdk rc.1 2019-03-13 14:49:06 +00:00
J. Ryan Stinnett f6466802b0 Convert prepublish script to prepare
This avoids the deprecation warning about `prepublish` scripts. It should not
change when the script is run.
2019-03-11 16:06:05 +00:00
J. Ryan Stinnett 7c947d87ab Update scripts and docs to use `yarn` where appropriate
Most `npm` operations are replaced with `yarn`, which generally has better
behavior. However, steps like publish that write to the NPM registry are left to
`npm`, which currently handles these tasks best.
2019-03-11 14:22:02 +00:00
David Baker 75f809bf06 Merge branch 'master' into develop 2019-03-06 15:47:48 +00:00
David Baker d46b9dab87 v1.0.3 2019-03-06 15:46:47 +00:00
David Baker fb3163a8d2 npnm audit --fix --force
Doesn't appear to break anything...
2019-03-06 14:07:26 +00:00
David Baker 1e7af106b0 Merge branch 'master' into develop 2019-03-06 11:28:54 +00:00
David Baker ce1a985233 v1.0.2 2019-03-06 11:26:42 +00:00
David Baker d83bce15a6 releaseed js-sdk 2019-03-06 11:19:06 +00:00
Hubert Chathi 390138326a add dependency on qs, which is used by utils/HostingLink.js 2019-03-05 16:47:21 -05:00
David Baker a9402beb8f v1.0.2-rc.4 2019-03-05 19:17:52 +00:00
David Baker 647260b1ab js-sdk rc.2 2019-03-05 19:07:22 +00:00
David Baker 133dfe0807 v1.0.2-rc.3 2019-03-01 17:36:10 +00:00
David Baker 9d2ef8a3cd v1.0.2-rc.2 2019-03-01 12:17:26 +00:00
David Baker 52a2fe1c9c v1.0.2-rc.1 2019-02-28 14:43:36 +00:00
David Baker 95675461c8 js-sdk rc.1 2019-02-28 14:37:43 +00:00
J. Ryan Stinnett ca1cbd9d67 Nudge karma to 3.1.2
This includes a fix for detecting the version of Chrome used to run tests.
2019-02-28 13:56:23 +00:00
Bruno Windels 37f54a929b pin highlight.js as they seem to have broken something in 9.15.2 2019-02-25 18:24:59 +01:00
Bruno Windels c8fa30d8ee v1.0.1 2019-02-15 13:52:48 +01:00
J. Ryan Stinnett 321dd49db4 v1.0.0 2019-02-14 16:55:19 +00:00
J. Ryan Stinnett 5dd10a4a5c Update dependencies 2019-02-14 16:52:59 +00:00
J. Ryan Stinnett 5c5593d030 v1.0.0-rc.2 2019-02-14 11:15:37 +00:00
J. Ryan Stinnett 3cd605c443 Update dependencies 2019-02-14 11:11:09 +00:00
David Baker e98bcf95d0 v1.0.0-rc.1 2019-02-08 18:44:00 +00:00
David Baker 66b69dfc26 Released js-sdk 2019-02-08 18:39:52 +00:00
Bruno Windels 3e7c3bfff8
Merge pull request #2535 from matrix-org/experimental
Merge redesign into develop
2019-01-30 12:49:27 +00:00
J. Ryan Stinnett 319369d1be Fix remaining warnings for enabled files 2019-01-23 18:38:49 -06:00
David Baker 17e9a442e4 v0.14.8 2019-01-22 11:26:29 +00:00
David Baker 5cdc8486d3 Released js-sdk 2019-01-22 11:14:00 +00:00
J. Ryan Stinnett 728830e2fd Add rethemendex as script for easier access 2019-01-19 22:33:51 -06:00
J. Ryan Stinnett 8b05cca7d2 Add file-loader to Karma so assets will resolve in tests 2019-01-18 10:55:00 -06:00
J. Ryan Stinnett 989227d435 Fix line length lint warnings
I am about to run some code replacements that might make lines too long, so with
this change I know we're starting from 0 line length warnings.
2019-01-17 22:06:49 -06:00
David Baker fcd234f286 v0.14.8-rc.1 2019-01-17 10:54:53 +00:00
David Baker 0eac643ac6 js-sdk rc.1 2019-01-17 10:50:07 +00:00
Matthew Hodgson 577c411a39 experimental fix for https://github.com/vector-im/riot-web/issues/2985
needs server to support 1600x1200 thumbnails for retina large ones.
ideally need to cap maximum thumbnail size to 800x600 rather than expand to arbitrary widths.
need to check that luke's funky timeline code doesn't get confused between naturalWidth and infoWidth etc.
also need to consider whether to encode a resolution metric in the event rather than lying about resolution.
2019-01-14 17:10:22 +00:00
David Baker fea1980581 Only 18 warnings now 2019-01-10 10:23:49 +00:00
David Baker f269b5fbbc Fix spaceless async in ignored files too 2019-01-09 19:14:30 +00:00
David Baker 8e4d8ccca7 Add spaces back to async arrow functions
As per https://github.com/matrix-org/matrix-js-sdk/pull/821

Requires https://github.com/matrix-org/matrix-js-sdk/pull/821
2019-01-09 18:10:35 +00:00
David Baker 8fbb0607ff Re-write as full class component
So we can re-use the functions we pass to props
2019-01-07 12:09:19 +00:00
Stephen Solka 0bb35944f9 replace expect.createSpy() with jest.fn()
Signed-off-by: Stephen Solka <stephen0q@gmail.com>
2019-01-02 16:59:48 -06:00
Stephen Solka 22167f8538 upgrade expect to 23.6.0
Signed-off-by: Stephen Solka <stephen0q@gmail.com>
2019-01-02 16:59:48 -06:00
David Baker f578bc6f87 Merge branch 'master' into develop 2018-12-10 13:44:52 +00:00
David Baker 37c984e195 v0.14.7 2018-12-10 13:43:59 +00:00
David Baker 5444a61e6f Released js-sdk 2018-12-10 13:39:35 +00:00
David Baker a82b54f25a v0.14.7-rc.2 2018-12-06 12:39:24 +00:00
David Baker 77c51aff2d Ship the babelrc file to npm
We ship the source files, so it probably makes sense to ship the
babelrc that tells you how to compile them.
2018-12-06 11:44:00 +00:00
David Baker 58ab9a0995 v0.14.7-rc.1 2018-12-06 11:18:37 +00:00
David Baker 870825b180 js-sdk rc.1 2018-12-06 11:15:36 +00:00
Travis Ralston f08a54ed1e Don't consider ACL'd servers as permalink candidates
and fix the bug where it was picking 4 servers instead of 3. This was due to `<=` instead of `<` in the `MAX_SERVER_CANDIDATES` loop. Added tests for all the things.

Fixes https://github.com/vector-im/riot-web/issues/7752
Fixes https://github.com/vector-im/riot-web/issues/7682
2018-12-05 18:00:09 -07:00
David Baker 075c13a5bd Add password strength meter to backup creation UI
https://github.com/vector-im/riot-meta/issues/227
2018-11-23 15:50:23 +00:00
David Baker 43013c65f6 Merge branch 'master' into develop 2018-11-22 16:55:46 +00:00
David Baker 60e22b7e0f v0.14.6 2018-11-22 16:54:53 +00:00
David Baker a25ae924b1 js-sdk v0.14.1 2018-11-22 16:49:20 +00:00
David Baker 985966f8be Update async dialog interface to use promises
Hopefully makes the syntax a bit nicer. Also uses ES6 async import
rather than require.ensure which is now deprecated. Also also
displays an error if the component fails to load rather than falling
over in a heap, which is nice.
2018-11-21 16:56:44 +00:00
David Baker 0165a33f9f v0.14.5 2018-11-19 15:19:17 +00:00
David Baker 179b64d185 released js-sdk 2018-11-19 15:16:18 +00:00
David Baker 8841108b6b v0.14.5-rc.2 2018-11-15 15:29:24 +00:00
David Baker 96ed7b123b js-sdk rc.1 2018-11-15 15:19:59 +00:00
David Baker fcf3172b18 v0.14.5-rc.1 2018-11-15 12:18:53 +00:00
David Baker 5dd155779f released js-sdk 2018-11-15 12:01:00 +00:00
David Baker 7dd906620e Merge branch 'master' into develop 2018-11-13 18:50:20 +00:00
David Baker 09006a842a v0.14.4 2018-11-13 18:49:24 +00:00
David Baker 208589d8ae Merge branch 'master' into develop 2018-11-13 17:58:18 +00:00
David Baker 3f8a3f761d v0.14.3 2018-11-13 17:57:26 +00:00
Travis Ralston 873133458a Remove the request-only stuff we don't need anymore
This was introduced in https://github.com/matrix-org/matrix-react-sdk/pull/2250 but can be pulled out due to https://github.com/matrix-org/matrix-js-sdk/pull/770. See https://github.com/vector-im/riot-web/issues/7634 for more information about the future.
2018-10-31 13:06:57 -06:00