-
-
Notifications
You must be signed in to change notification settings - Fork 833
MSC3575 (Sliding Sync) add well-known proxy support #12307
MSC3575 (Sliding Sync) add well-known proxy support #12307
Commits on Mar 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9d73b7c - Browse repository at this point
Copy the full SHA 9d73b7cView commit details -
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 876f59c - Browse repository at this point
Copy the full SHA 876f59cView commit details -
Change function to reflect it's proxy not native support
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for c65b22b - Browse repository at this point
Copy the full SHA c65b22bView commit details -
Re-add check for servers with native support
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for e99ef75 - Browse repository at this point
Copy the full SHA e99ef75View commit details -
Add native support check back in
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 6adac18 - Browse repository at this point
Copy the full SHA 6adac18View commit details -
Re-add endpoint health check function
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 065e255 - Browse repository at this point
Copy the full SHA 065e255View commit details -
Use inbuilt
getWellKnown
functionSigned-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 1345379 - Browse repository at this point
Copy the full SHA 1345379View commit details -
Change the error message to the correct function
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 7736582 - Browse repository at this point
Copy the full SHA 7736582View commit details -
Stop storing the proxyurl in the settings for now
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 4f2c1f2 - Browse repository at this point
Copy the full SHA 4f2c1f2View commit details -
Make the logger messages more useful
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for cb78747 - Browse repository at this point
Copy the full SHA cb78747View commit details -
Start moving the checking logic directly into the controller
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 10095b6 - Browse repository at this point
Copy the full SHA 10095b6View commit details -
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 5ef62f3 - Browse repository at this point
Copy the full SHA 5ef62f3View commit details -
Get the client rather than passing it in to the functions
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 0ac51af - Browse repository at this point
Copy the full SHA 0ac51afView commit details -
remove invalid
function
keywordSigned-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for bc73cd8 - Browse repository at this point
Copy the full SHA bc73cd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1118135 - Browse repository at this point
Copy the full SHA 1118135View commit details -
We shouldn't(?) have to use these check in future elsewhere Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 8185c08 - Browse repository at this point
Copy the full SHA 8185c08View commit details -
Change our proxy check function to return a boolean
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for e782249 - Browse repository at this point
Copy the full SHA e782249View commit details -
Make
nativeSlidingSyncSupport
also return boolean, add in health checkSigned-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 2fdab77 - Browse repository at this point
Copy the full SHA 2fdab77View commit details -
Disable the sliding sync option if the server doesn't support
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 0a87ebc - Browse repository at this point
Copy the full SHA 0a87ebcView commit details -
Only enable the setting if it passes (again)
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 740a28f - Browse repository at this point
Copy the full SHA 740a28fView commit details -
Update our comments to better match what's going on
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for a034550 - Browse repository at this point
Copy the full SHA a034550View commit details -
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 24424e6 - Browse repository at this point
Copy the full SHA 24424e6View commit details -
Add a well-known check on start-up, if sliding sync has been enabled
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for dfd4ced - Browse repository at this point
Copy the full SHA dfd4cedView commit details -
Check against the correct endpoint...
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for be0e4d3 - Browse repository at this point
Copy the full SHA be0e4d3View commit details
Commits on Mar 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dbbdc8a - Browse repository at this point
Copy the full SHA dbbdc8aView commit details
Commits on Mar 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 43e3341 - Browse repository at this point
Copy the full SHA 43e3341View commit details
Commits on Mar 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b3ebb8a - Browse repository at this point
Copy the full SHA b3ebb8aView commit details
Commits on Apr 8, 2024
-
Extract baseUrl as we'll reuse it
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for f43cd19 - Browse repository at this point
Copy the full SHA f43cd19View commit details -
Make the logs differentiate between the types of proxy
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 2e4f110 - Browse repository at this point
Copy the full SHA 2e4f110View commit details -
Grab the client well-known directly for use
Can't use the client object at this point, it hasn't read in the well-known Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for c32ea33 - Browse repository at this point
Copy the full SHA c32ea33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d831b1 - Browse repository at this point
Copy the full SHA 9d831b1View commit details -
Add myself to the copyright assignation
I wrote the majority of this file... Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 16522ae - Browse repository at this point
Copy the full SHA 16522aeView commit details -
Only return
true
if it's actually thereSigned-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for f4f8463 - Browse repository at this point
Copy the full SHA f4f8463View commit details -
Correct the
proxySlidingSyncSupport
function comment to match the codeSigned-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 0417265 - Browse repository at this point
Copy the full SHA 0417265View commit details -
Correct the
nativeSlidingSyncSupport
function comment to match the codeSigned-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for d9199e4 - Browse repository at this point
Copy the full SHA d9199e4View commit details -
Another comment/functionality paring
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 229b8d8 - Browse repository at this point
Copy the full SHA 229b8d8View commit details
Commits on Apr 10, 2024
-
Remove duplicated types from the doc
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 672b003 - Browse repository at this point
Copy the full SHA 672b003View commit details -
Move await to the previous line
Removes brackets, and corrects `wellKnown` from being a `Promise` Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 7cdab7b - Browse repository at this point
Copy the full SHA 7cdab7bView commit details -
use
waitForClientWellKnown
to avoid a race condition with the requestSigned-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 2f45ddb - Browse repository at this point
Copy the full SHA 2f45ddbView commit details -
Move getting the client out of the
if
, usewaitForClientWellKnown
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 23b026f - Browse repository at this point
Copy the full SHA 23b026fView commit details -
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for e1d28ec - Browse repository at this point
Copy the full SHA e1d28ecView commit details -
Move proxy setup logic into
SlidingSyncManager
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 5f7b513 - Browse repository at this point
Copy the full SHA 5f7b513View commit details -
Swap
configure
to private, we call it fromsetup
which handles proxySigned-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for c80a00b - Browse repository at this point
Copy the full SHA c80a00bView commit details -
TIL. Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for ef1da4a - Browse repository at this point
Copy the full SHA ef1da4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71e5d60 - Browse repository at this point
Copy the full SHA 71e5d60View commit details -
Configuration menu - View commit details
-
Copy full SHA for e150b05 - Browse repository at this point
Copy the full SHA e150b05View commit details -
Change message when there's no server support
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 2095501 - Browse repository at this point
Copy the full SHA 2095501View commit details -
Refactor
slidingSyncHealthCheck
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 629d5bb - Browse repository at this point
Copy the full SHA 629d5bbView commit details -
Refactor
nativeSlidingSyncSupport
with try/catchSigned-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 8edc6c1 - Browse repository at this point
Copy the full SHA 8edc6c1View commit details -
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for bca3aa2 - Browse repository at this point
Copy the full SHA bca3aa2View commit details -
Try and make the toggle disabled when there's no endpoint
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 9d735cf - Browse repository at this point
Copy the full SHA 9d735cfView commit details
Commits on Apr 11, 2024
-
Move the if statement outside the refactored fn to avoid an await
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 9bae69d - Browse repository at this point
Copy the full SHA 9bae69dView commit details -
Revert "Swap
configure
to private, we call it fromsetup
which ha……ndles proxy" This reverts commit c80a00b.
Configuration menu - View commit details
-
Copy full SHA for eb60521 - Browse repository at this point
Copy the full SHA eb60521View commit details -
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 9defa25 - Browse repository at this point
Copy the full SHA 9defa25View commit details -
Further refactor
slidingSyncHealthCheck
`proxySlidingSyncSupport` already checks the client well-known is there Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 3b1e87e - Browse repository at this point
Copy the full SHA 3b1e87eView commit details -
Make
proxySlidingSyncSupport
log on successSigned-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 0aa46c3 - Browse repository at this point
Copy the full SHA 0aa46c3View commit details -
Clarify log message for proxy being up
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 8397e2e - Browse repository at this point
Copy the full SHA 8397e2eView commit details
Commits on Apr 12, 2024
-
Move the logic into SlidingSyncManager
All so we can set a static variable because the disabled check isn't asynchronous :) Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 98674c5 - Browse repository at this point
Copy the full SHA 98674c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c75ed4c - Browse repository at this point
Copy the full SHA c75ed4cView commit details -
Obviously this isn't a return so don't overwrite with false!
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 7ddec2b - Browse repository at this point
Copy the full SHA 7ddec2bView commit details -
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for cfc48bb - Browse repository at this point
Copy the full SHA cfc48bbView commit details -
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for a09b1b2 - Browse repository at this point
Copy the full SHA a09b1b2View commit details -
Activating SS should probably be info level logs
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for aab3e51 - Browse repository at this point
Copy the full SHA aab3e51View commit details -
If we've not enabled sliding sync, push the logs down a bit
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 40ca313 - Browse repository at this point
Copy the full SHA 40ca313View commit details -
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for efeb2ae - Browse repository at this point
Copy the full SHA efeb2aeView commit details -
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 51660ff - Browse repository at this point
Copy the full SHA 51660ffView commit details -
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 2b41e0c - Browse repository at this point
Copy the full SHA 2b41e0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90f96e6 - Browse repository at this point
Copy the full SHA 90f96e6View commit details -
Remove many of the log messages
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 90b9876 - Browse repository at this point
Copy the full SHA 90b9876View commit details
Commits on Apr 13, 2024
-
Short out of
checkSupport
if it'strue
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 7bc854e - Browse repository at this point
Copy the full SHA 7bc854eView commit details -
Add the endpoint back into the log when we're enabling it
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 1a342d6 - Browse repository at this point
Copy the full SHA 1a342d6View commit details -
Note in the comment that
feature_sliding_sync_proxy_url
is legacySigned-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 79b45b7 - Browse repository at this point
Copy the full SHA 79b45b7View commit details -
Expand the well-known liveness check log
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 7b4d4f2 - Browse repository at this point
Copy the full SHA 7b4d4f2View commit details
Commits on Apr 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 99c10f6 - Browse repository at this point
Copy the full SHA 99c10f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77d41c1 - Browse repository at this point
Copy the full SHA 77d41c1View commit details
Commits on Apr 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d7d2f8b - Browse repository at this point
Copy the full SHA d7d2f8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac4de59 - Browse repository at this point
Copy the full SHA ac4de59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cd4ac4 - Browse repository at this point
Copy the full SHA 9cd4ac4View commit details
Commits on Apr 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a0e2f63 - Browse repository at this point
Copy the full SHA a0e2f63View commit details
Commits on Apr 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9fe4e9a - Browse repository at this point
Copy the full SHA 9fe4e9aView commit details -
Sorry, linter! Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for f99dc79 - Browse repository at this point
Copy the full SHA f99dc79View commit details -
Pass our
MatrixClient
through instead of trying to grab itSigned-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 0b04649 - Browse repository at this point
Copy the full SHA 0b04649View commit details -
Add missing return in function comment
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 0eee348 - Browse repository at this point
Copy the full SHA 0eee348View commit details -
Actually pass through our Client, not the Peg object
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 061041b - Browse repository at this point
Copy the full SHA 061041bView commit details
Commits on Apr 25, 2024
-
Remove SonarCube smell complaint
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 2ea8e47 - Browse repository at this point
Copy the full SHA 2ea8e47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6682690 - Browse repository at this point
Copy the full SHA 6682690View commit details
Commits on Apr 27, 2024
-
Neew to make our other two methods public to test
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 490092c - Browse repository at this point
Copy the full SHA 490092cView commit details -
Hurrah! Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for fcca43f - Browse repository at this point
Copy the full SHA fcca43fView commit details -
Two more tests, this time on
checkSupport
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for c1670f4 - Browse repository at this point
Copy the full SHA c1670f4View commit details -
Merge branch 'edg/msc3575-native-support' of https://github.com/EdGer…
…aghty/matrix-react-sdk into edg/msc3575-native-support
Configuration menu - View commit details
-
Copy full SHA for 9d20b46 - Browse repository at this point
Copy the full SHA 9d20b46View commit details -
Reset our
serverSupportsSlidingSync
between testsSigned-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 9178ab4 - Browse repository at this point
Copy the full SHA 9178ab4View commit details -
Check the static member is being set
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 3785b89 - Browse repository at this point
Copy the full SHA 3785b89View commit details -
Move the static assignation down to the relevant tests
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for ac18bdb - Browse repository at this point
Copy the full SHA ac18bdbView commit details -
Pull getProxyFromWellKnown mocking up
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 4637b3d - Browse repository at this point
Copy the full SHA 4637b3dView commit details -
Check we /haven't/ shorted out
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 15ac5b0 - Browse repository at this point
Copy the full SHA 15ac5b0View commit details -
Move our spy up so we can reuse it
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for db5a374 - Browse repository at this point
Copy the full SHA db5a374View commit details -
Check spidering is being called
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for a98552c - Browse repository at this point
Copy the full SHA a98552cView commit details -
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for 298cb8f - Browse repository at this point
Copy the full SHA 298cb8fView commit details -
Signed-off-by: Ed Geraghty <ed@geraghty.family>
Configuration menu - View commit details
-
Copy full SHA for f840249 - Browse repository at this point
Copy the full SHA f840249View commit details
Commits on Apr 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4494079 - Browse repository at this point
Copy the full SHA 4494079View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58f0d90 - Browse repository at this point
Copy the full SHA 58f0d90View commit details -
Merge branch 'edg/msc3575-native-support' of github.com:EdGeraghty/ma…
…trix-react-sdk into edg/msc3575-native-support
Configuration menu - View commit details
-
Copy full SHA for 27830f8 - Browse repository at this point
Copy the full SHA 27830f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e01fa3d - Browse repository at this point
Copy the full SHA e01fa3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a00a29 - Browse repository at this point
Copy the full SHA 0a00a29View commit details -
Merge branch 'edg/msc3575-native-support' of github.com:EdGeraghty/ma…
…trix-react-sdk into edg/msc3575-native-support
Configuration menu - View commit details
-
Copy full SHA for 48b361a - Browse repository at this point
Copy the full SHA 48b361aView commit details
Commits on Apr 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2e1bb20 - Browse repository at this point
Copy the full SHA 2e1bb20View commit details -
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0288e89 - Browse repository at this point
Copy the full SHA 0288e89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cbc39a - Browse repository at this point
Copy the full SHA 3cbc39aView commit details