matrix-public-archive/shared/lib
Eric Eastwood 2b4ecb737a
Add support for client-side room alias hash `#` redirects to the correct URL (#111)
This helps when someone just pastes a room alias on the end of the domain,

 - `/#room-alias:server` -> `/r/room-alias:server`
 - `/r/#room-alias:server/date/2022/10/27` -> `/r/room-alias:server/date/2022/10/27`

Since these redirects happen on the client, we can't write any e2e tests. Those e2e tests do everything but run client-side JavaScript.

Follow-up to https://github.com/matrix-org/matrix-public-archive/pull/107

Part of https://github.com/matrix-org/matrix-public-archive/issues/25
2022-10-28 00:32:24 -05:00
..
archive-history.js Fix URL being duplicated in query param (#110) 2022-10-25 01:59:23 -05:00
assert.js Show surrounding messages for a full screen of content (#71) 2022-09-20 16:02:09 -05:00
custom-tile-utilities.js Show surrounding messages for a full screen of content (#71) 2022-09-20 16:02:09 -05:00
mxc-url-to-http.js Room directory landing page v1 (#61) 2022-09-08 01:30:04 -05:00
redirect-if-room-alias-in-hash.js Add support for client-side room alias hash `#` redirects to the correct URL (#111) 2022-10-28 00:32:24 -05:00
supress-blank-anchors-reloading-the-page.js Add homeserver selector to room directory landing page (#87) 2022-10-20 02:06:43 -05:00
url-creator.js Add support for room aliases (#107) 2022-10-27 01:09:13 -05:00