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 |
|
Michael Telatynski
|
857f086501
|
Fix ?via= args in SpecPermalinkConstructor.js
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
|
2019-12-03 00:05:19 +00: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 |
|
Travis Ralston
|
ce0a534db1
|
Fix pills for CIDER too
|
2019-09-30 20:37:24 -06:00 |
|
Travis Ralston
|
2824f468d9
|
Update pill processing to handle better permalinks
|
2019-09-30 20:27:51 -06:00 |
|
Travis Ralston
|
2cb0b4903a
|
Converge on permalink processing for HtmlUtils and linkify-matrix
|
2019-09-30 20:17:54 -06:00 |
|
Travis Ralston
|
ff4eee5239
|
Minor cleanup of getPermalinkConstructor
|
2019-09-30 16:09:19 -06:00 |
|
Travis Ralston
|
8acaa3ce95
|
Update generated Riot permalinks
Also adds some safety around the Riot URL to ensure it mostly looks like a URL
|
2019-09-30 16:05:28 -06:00 |
|
Travis Ralston
|
199dfa7bf9
|
Always check if the permalink is a spec permalink
See code for rationale
|
2019-09-30 16:04:49 -06:00 |
|
Travis Ralston
|
3e5a39d646
|
Add utility function for permalink parsing
|
2019-09-30 16:04:22 -06:00 |
|
Travis Ralston
|
9bb1ebb89d
|
Support riot-level permalink parsing
|
2019-09-30 16:03:52 -06:00 |
|
Travis Ralston
|
baf78da791
|
Support spec-level permalink parsing
|
2019-09-30 16:03:24 -06:00 |
|
Travis Ralston
|
f183e96d66
|
Introduce a RiotPermalinkConstructor and fix the setting name
Originally we were planning on using the current location as the permalink prefix, but that doesn't work if the user is a desktop user.
|
2019-09-30 13:04:20 -06:00 |
|
Travis Ralston
|
f879185aef
|
Move permalink host check into permalink constructors
Without the requirement for a room to work
|
2019-09-30 12:53:45 -06:00 |
|
Travis Ralston
|
926e1146f9
|
Move spec permalinks into their own class
This allows for Riot permalinks to be introduced without if-else ladders everywhere.
|
2019-09-30 12:51:17 -06:00 |
|
Travis Ralston
|
f9d5e89017
|
Move early parts of matrix.to bits into its own class
|
2019-09-30 12:37:13 -06:00 |
|
Travis Ralston
|
64aa6695f5
|
Move matrix-to.js to utils/permalinks/RoomPermalinkCreator
Just a little bit of refactoring to make the feature of custom prefixes a bit easier.
|
2019-09-30 12:16:46 -06:00 |
|