Commit Graph

17940 Commits (8d767a712f147a18974645641183a411df2d6944)

Author SHA1 Message Date
Bruno Windels 8d767a712f remove obsolete strings 2019-10-01 17:31:20 +02:00
Bruno Windels 026733304e add doc for where default settings go in config file now we're here 2019-10-01 17:00:41 +02:00
Bruno Windels fc6a68cd1d add support for dark theme 2019-10-01 17:00:29 +02:00
Bruno Windels 15b7a5af31 fix contrast issue
when badges with and without highlighted state have a very
different brightness (as they might do in dark mode), hardcoding
the fg color of a badge independent of it's highlighted state
to $accent-fg-color doesn't work well, so add an extra SASS
variable we can reassign to something more specific in the custom theme
2019-10-01 16:58:14 +02:00
Bruno Windels c1edd6d0b5 apply new pallete with 13 colors 2019-10-01 15:31:43 +02:00
Bruno Windels 558f8daeeb support custom themes from setting
also move theme setting code from MatrixChat to own file.
2019-10-01 15:21:22 +02:00
Bruno Windels 79d4434c9f remove custom color pickers 2019-10-01 15:20:11 +02:00
Bruno Windels 8dc94af1ba use native color picker instead of library 2019-09-30 16:54:32 +02:00
Bruno Windels cca41c184c very basic color pickers for custom theme 2019-09-26 17:35:06 +02:00
Bruno Windels 01909f81c4 also theme values close to custom palette variables
these values are not exactly the same as the palette values,
so we're essentially flattening the color palette used in the
theme, but this is needed when assigning custom colors for it
to look good.
2019-09-26 16:16:05 +02:00
Bruno Windels 64b44acf2b better comment headers 2019-09-26 16:15:45 +02:00
Bruno Windels b9d0de1b7d create 0% and 50% opaque vars as #rgba trick doesn't work 2019-09-26 16:14:39 +02:00
Bruno Windels f9d5d807e3 make active tab icon color always same as text 2019-09-26 16:13:32 +02:00
Bruno Windels a4b905ef38 debug: add custom theme to theme list 2019-09-26 12:08:42 +02:00
Bruno Windels cad3858a3f initial custom theme
using a reduced set of CSS variables to change the colors at runtime
2019-09-26 12:07:45 +02:00
J. Ryan Stinnett b248918aca
Merge pull request #3476 from matrix-org/jryans/msisdn-reg-submit-url
Send MSISDN validation token to submit_url during registration
2019-09-25 11:30:33 +01:00
J. Ryan Stinnett 9e33be9b2a Send MSISDN validation token to submit_url during registration
Similar to previous changes for 3PID add, this changes registration with MSISDN
to also send tokens to `submit_url` when supplied.

Fixes https://github.com/vector-im/riot-web/issues/10939
2019-09-25 10:29:18 +01:00
Travis Ralston 590ff7719a
Merge pull request #3474 from matrix-org/travis/less-blue
Hide browser a11y outline on context menus
2019-09-24 12:49:20 -06:00
Travis Ralston 6ab816f79e Hide browser a11y outline on context menus
Fixes https://github.com/vector-im/riot-web/issues/10926
Regressed by https://github.com/matrix-org/matrix-react-sdk/pull/3454/files
Class introduced in https://github.com/matrix-org/matrix-react-sdk/pull/2994
2019-09-24 12:29:20 -06:00
J. Ryan Stinnett 17e42eacd4
Merge pull request #3473 from matrix-org/jryans/rm-id-server-reg-and-reset
Remove id_server param from threepid_creds
2019-09-24 17:34:45 +01:00
J. Ryan Stinnett ec9e7f5855 Remove id_server for MSISDN registration
For HSes that no longer need it, remove the id_server param when verifying
MSISDNs at registration.

Fixes https://github.com/vector-im/riot-web/issues/10941
2019-09-24 15:02:30 +01:00
Matthew Hodgson df33d0f74c Remove debug for https://github.com/vector-im/riot-web/issues/10940 2019-09-24 14:57:45 +01:00
J. Ryan Stinnett 0c51e41ea4 Remove id_server param for password reset
For HSes that no longer need it, remove the id_server param from password reset.

Part of https://github.com/vector-im/riot-web/issues/10941
2019-09-24 14:54:26 +01:00
Bruno Windels 7113772f9d
Merge pull request #3472 from matrix-org/bwindels/fixlogout
Fix: make sure client exists while logging out
2019-09-24 11:00:47 +00:00
Bruno Windels 26a8398a0e make sure client exists while logging out 2019-09-24 12:53:33 +02:00
Bruno Windels 86cbaf5b40
Merge pull request #3470 from matrix-org/bwindels/fix-details-arrow-webkit
Fix: hide details summary arrow in create room dialog on webkit too
2019-09-24 10:39:08 +00:00
Matthew Hodgson 3ce47a0181 notify new screen after setting state 2019-09-24 01:51:21 +01:00
Matthew Hodgson b85dc7b5a8 add debug for vector-im/riot-web#10940 2019-09-24 01:35:43 +01:00
Matthew Hodgson 76d691c373
Merge pull request #3471 from matrix-org/matthew/room_name
put the room name in the title tag
2019-09-23 22:19:09 +01:00
Matthew Hodgson 54355c0e28 put the room name in the title tag
should fix https://github.com/vector-im/riot-web/issues/4454
2019-09-23 22:01:52 +01:00
Bruno Windels 151af65e4f hide details summary arrow in create room dialog on webkit too 2019-09-23 18:05:44 +02:00
Bruno Windels 4933b9b050
Merge pull request #3468 from matrix-org/bwindels/cider-autocomplete-fixes
Fix: when using autocomplete, ensure command is not sent as text, and @room notifs gets needed suffix
2019-09-23 13:57:07 +00:00
Bruno Windels f4fd6d699b
Merge pull request #3469 from matrix-org/bwindels/cider-deserialize-fixes
Fix: paragraphs not being preserved when editing in CIDER
2019-09-23 13:56:44 +00:00
Bruno Windels 7f4e070807 fix deserialize unit tests 2019-09-23 15:34:01 +02:00
Bruno Windels 04720db2a3 don't append extra newline after blockquote anymore
now that P prepends newline when not first element
2019-09-23 15:33:30 +02:00
Bruno Windels 2445421270 add extra newline before P tags (when not first node) 2019-09-23 15:06:22 +02:00
Bruno Windels 0a663398ed Use underscore for <em> when doing html > md
to be consistent with the format bar, which also uses underscores for italics
2019-09-23 14:59:53 +02:00
Bruno Windels 40f7fa8f94 add suffixes from provider to room and @room completions
this prevents the @room not working when not typing an extra space
2019-09-23 14:40:41 +02:00
Bruno Windels 228905bec2 insert command completion as command part (instead of plain)
this prevents the command being sent as plain text

this adds a `type` property to completions to decide which
parts should be inserted into the composer, hence deciding how
they will be rendered.
2019-09-23 14:39:19 +02:00
Bruno Windels fc26850d9e
Merge pull request #3467 from matrix-org/bwindels/cider-formatbar-zindex
Fix: formatbar appearing below other elements
2019-09-23 12:31:22 +00:00
J. Ryan Stinnett 2c7c1ed2a3
Merge pull request #3466 from matrix-org/jryans/msisdn-submit-url
Use alternate MSISDN submit URL when returned by HS
2019-09-23 13:22:20 +01:00
Bruno Windels 0ab7962ebd add z-index to format bar so it appears above status area and reply wrapper 2019-09-23 14:06:59 +02:00
Bruno Windels 133e68191a
Merge pull request #3464 from matrix-org/bwindels/createroomdialog-makeover-rebased
FTUE: Create Room Dialog update
2019-09-23 11:51:53 +00:00
J. Ryan Stinnett 0ab9efc594 Delay IS access tokens 2019-09-23 12:28:41 +01:00
J. Ryan Stinnett e98b753c21 Use alternate MSISDN submit URL when returned by HS
This changes MSISDN token submission to send to an arbitrary URL (instead of the
current IS) when the HS provides such a URL.

Fixes https://github.com/vector-im/riot-web/issues/10923
2019-09-23 12:21:25 +01:00
Bruno Windels 3c7a0f4c49 remove invalid css 2019-09-23 11:22:30 +02:00
Bruno Windels 53b28b9de8 i18n 2019-09-23 11:22:30 +02:00
Bruno Windels 6a3723c69e dialog styling 2019-09-23 11:22:30 +02:00
Bruno Windels 3e0278d41a add validation when clicking Ok in dialog 2019-09-23 11:22:30 +02:00
Bruno Windels 6ae4b3e966 add room alias field to dialog 2019-09-23 11:22:30 +02:00