Simon Merrick
5544ee6408
extract alias handling to separate function
2020-12-06 23:29:11 +13:00
Simon Merrick
cf8c98e076
More explicit reference checking
2020-12-02 12:34:43 +13:00
Simon Merrick
e92ac67152
Use room alias in generated permalink for rooms
...
Signed-off-by: Simon Merrick <s.m3rrick@gmail.com>
2020-11-28 21:50:51 +13:00
Travis Ralston
dacc7bc111
Rebrand Riot -> Element in the permalink classes
2020-11-02 21:46:48 -07:00
Michael Telatynski
1b99c11b11
tidy
2020-09-08 15:09:45 +01:00
Michael Telatynski
d0c716d61c
Fix permalink local linkification to not strip via servers
2020-09-08 10:26:37 +01:00
Travis Ralston
d820356990
Convert alias links in room header topics to local permalinks
...
Fixes https://github.com/vector-im/riot-web/issues/12605
2020-03-04 13:56:58 -07:00
Travis Ralston
f1ac3d2f64
Convert imports to ES6 from CommonJS
...
This is needed because `require()` means something different in webpack - it ends up importing the module as something we didn't expect (and is occasionally async)
2019-12-22 21:16:06 -07:00
Travis Ralston
042bd35d79
Fix MatrixClientPeg imports
2019-12-22 21:15:54 -07:00
Travis Ralston
806d728d59
Import from the js-sdk's src/ directory
...
Because ES6 and such.
2019-12-22 21:14:33 -07:00
Travis Ralston
be4eeb5e07
Fix js-sdk imports for new module
2019-12-22 21:10:26 -07:00
N-Pex
d403ed7513
Fix linkify imports
...
VECTOR_URL_PATTERN was 'undefined' inside Permalinks.tryTransformPermalinkToLocalHref()
2019-11-06 10:41:14 +01:00
Travis Ralston
6b09c3e9e6
Appease the linter
2019-09-30 21:03:16 -06:00
Travis Ralston
fc66e69c02
Rename RoomPermalinkCreator -> Permalinks due to scope
...
The file handles more than just a RoomPermalinkCreator, so we should name it accordingly.
2019-09-30 20:39:58 -06:00