Commit graph

3073 commits

Author SHA1 Message Date
Johannes Löthberg
30bd01cdf2 Markdown: Split up render function into toHTML/toPlaintext
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2017-01-18 19:29:11 +01:00
Johannes Löthberg
6d2e521421 Markdown: Add comment about out function override
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2017-01-18 14:25:11 +01:00
Johannes Löthberg
2e3bdcf5c6 Markdown: Don't XML escape the output when not HTML
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2017-01-17 22:20:05 +01:00
Johannes Löthberg
49d60ff879 Markdown: softbreak is not HTML
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2017-01-17 21:04:12 +01:00
Johannes Löthberg
c819b433a2 Make old message composer use new markdown
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2017-01-17 20:37:27 +01:00
Johannes Löthberg
35d70f0b35 markdown: Only add \n\n on multiple paragraphs
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2017-01-17 20:32:06 +01:00
Johannes Löthberg
893a5c971f Fix escaping markdown by rendering plaintext
We still need to parse "plaintext" messages through the markdown
renderer so that escappes are rendered properly.

Fixes vector-im/riot-web#2870.

Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2017-01-17 16:23:58 +01:00
Kegsay
fcb1d7a664 Merge pull request #575 from kyrias/commonmark
Replace marked with commonmark
2017-01-17 11:57:08 +00:00
David Baker
cf8af5f49e Merge pull request #619 from matrix-org/kegan/better-reg-err-msgs
Fix vector-im/riot-web#2833 : Fail nicely when people try to register numeric user IDs
2017-01-17 11:54:05 +00:00
Kegan Dougal
4f860b4c6d Review comments: If-statement style 2017-01-17 10:50:44 +00:00
Kegan Dougal
f168f9cd06 Fix vector-im/riot-web#2833 : Fail nicely when people try to register numeric user IDs 2017-01-16 17:25:44 +00:00
David Baker
1d5112db5d Back to develop js-sdk 2017-01-16 13:22:57 +00:00
David Baker
936e12dfe4 Merge branch 'master' into develop 2017-01-16 13:22:11 +00:00
David Baker
a9256b0ab1 v0.8.5 2017-01-16 13:21:34 +00:00
David Baker
834c8d0890 Prepare changelog for v0.8.5 2017-01-16 13:21:34 +00:00
David Baker
3679e47002 js-sdk 0.7.4 2017-01-16 13:19:24 +00:00
Kegsay
07b3c58c61 Merge pull request #614 from matrix-org/kegan/show-error-on-pl-change-fail
Show the error dialog when requests to PUT power levels fail
2017-01-13 15:26:26 +00:00
Kegan Dougal
dcd0acb2b5 Review comments 2017-01-13 15:17:34 +00:00
Kegan Dougal
e196cfaf91 Show the error dialog when requests to PUT power levels fail
This is why I dislike Q.
2017-01-13 14:51:01 +00:00
David Baker
3ac9ed7f8f v0.8.5-rc.1 2017-01-13 11:14:26 +00:00
David Baker
08020d1c39 Prepare changelog for v0.8.5-rc.1 2017-01-13 11:14:25 +00:00
David Baker
57652c06e3 released js-sdk 2017-01-13 11:13:17 +00:00
David Baker
6d07a1b7e3 Merge pull request #612 from matrix-org/dbkr/ci_build_js_sdk
Build the js-sdk in the CI script
2017-01-12 17:37:09 +00:00
David Baker
3706d6e32a js-sdk, not react-sdk 2017-01-12 17:14:51 +00:00
David Baker
4ca4441f77 Build js-sdk in travis too 2017-01-12 17:09:49 +00:00
David Baker
05d2836581 Retest 2017-01-12 16:55:34 +00:00
David Baker
2708859b34 npm install the js-sdk
otherwise we don't have uglifyjs
2017-01-12 16:38:48 +00:00
David Baker
314c57ca6b Retest 2017-01-12 16:29:27 +00:00
Matthew Hodgson
cc8b3d4ba4 spell out email invites better 2017-01-12 13:46:19 +00:00
David Baker
fcc40ee372 It's now just build 2017-01-11 19:03:20 +00:00
David Baker
5142cb63c8 s/build/compile/ for js sdk 2017-01-11 18:18:46 +00:00
David Baker
a4aa74e85a Build the js-sdk in the CI script
now it's transpiled
2017-01-11 17:18:37 +00:00
David Baker
1f96467145 Merge pull request #609 from matrix-org/luke/fix-join-part-collapsing-redacted-joins
Fix redacted member events being visible
2017-01-11 17:10:35 +00:00
David Baker
4e1af30186 Merge pull request #611 from matrix-org/luke/fix-join-part-collapsing-use-state-key
Use `getStateKey` instead of `getSender`
2017-01-11 17:09:14 +00:00
Luke Barnard
baaf827c48 Use getStateKey instead of getSender
This makes sure that the kickee is not the user used for the MemberEventListSummary
2017-01-11 17:03:14 +00:00
Luke Barnard
6e2a75bbee Fix redacted member events being visible
This was due to the `MemberEventListSummary` not ignoring redacted joins/leaves. This was also causing bug #2765.
2017-01-11 11:27:07 +00:00
David Baker
e95f5b959f Merge pull request #608 from matrix-org/dbkr/move_screen_sharing_error
Move screen sharing error check into platform
2017-01-11 10:12:51 +00:00
David Baker
37d9108ceb Add error popup if screen sharing fails 2017-01-11 10:06:48 +00:00
David Baker
a16aae1124 Move screen sharing error check into platform
Because on the browser it depends on HTTPS, on electron it doesn't
matter.
2017-01-10 18:37:57 +00:00
David Baker
085f134e84 Merge pull request #606 from matrix-org/dbkr/fix_forgot_password_create_account
Fix 'create account' link in 'forgot password'
2017-01-10 15:27:51 +00:00
David Baker
13a5337e0f Fix 'create account' link in 'forgot password'
Fixes https://github.com/vector-im/riot-web/issues/2853
2017-01-10 15:16:39 +00:00
Richard van der Hoff
42de77e588 Remove "Cannot re-join empty room" error
This is a lying error message. burn it with fire
2016-12-27 19:17:48 +00:00
Matthew Hodgson
9c4671568d fix disasterous thinko in 69b277b282 2016-12-24 22:33:04 +00:00
Matthew Hodgson
97514cf80e Merge branch 'master' into develop 2016-12-24 19:03:42 +00:00
Matthew Hodgson
45bfb93f17 v0.8.4 2016-12-24 19:03:08 +00:00
Matthew Hodgson
b88afab7af Prepare changelog for v0.8.4 2016-12-24 19:03:07 +00:00
Matthew Hodgson
223caae842 Merge branch 'master' into develop 2016-12-24 18:54:00 +00:00
Matthew Hodgson
1976bb70bd v0.8.3-electron 2016-12-24 18:53:24 +00:00
Matthew Hodgson
2e888f7f27 Prepare changelog for v0.8.3-electron 2016-12-24 18:53:24 +00:00
Matthew Hodgson
7d42ef90d6 improve captcha warning 2016-12-24 18:49:03 +00:00