Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

idea(webdav-utils): in place upgrader #2

Open
saqimtiaz opened this issue Jan 12, 2024 · 0 comments
Open

idea(webdav-utils): in place upgrader #2

saqimtiaz opened this issue Jan 12, 2024 · 0 comments

Comments

@saqimtiaz
Copy link
Owner

See TiddlyWiki/TiddlyWiki5#7928 for an ideal scenario. Alternatively, we can mirror the upgrade.html locally and inject the needed code into it and use it. Would need to cache it locally perhaps using the version number in the file name so we don't fetch it unnecessarily given the size.

An alternative to postMessage would be a paramifier based approach of opening upgrade.html locally in an iframe with the correct URL for the wiki to upgrade in a part of the URL hash. That wiki gets imported and upgraded we override save to save back to the original path of the wiki that was upgraded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant