Skip to content

feat(hosting frontend): suspended server files download - #7422

Merged
IMB11 merged 6 commits into
mainfrom
fetch/server-download
Sep 7, 2026
Merged

feat(hosting frontend): suspended server files download#7422
IMB11 merged 6 commits into
mainfrom
fetch/server-download

Conversation

@fetchfern

@fetchfern fetchfern commented Sep 4, 2026

Copy link
Copy Markdown
Member

This PR:

  • Implements the suspended server world download button.
  • Adds a "Download files" button to the panel to download all server files without zipping first or making a backup.

Related backend additions

Archon now returns a download_method for each world, which can be direct_node_download, backup or unavailable. For now, archon doesn't use the backup method but it's still implemented here for forward-compatibility.

Kyros also has a two-stage full server ZIP download flow: GET /v1/worlds/:id/files/download-full-zip/authorize with a session token to get a one-time download token, which can be passed to GET /v1/worlds/:id/files/download-full-zip?token=<token>

Changes

The new buttons use window.location.assign instead of window.open. window open was making my browser window flash and it avoids dealing with popup blocking policies.

This also changes the server card to stay visible if the world download method isn't unavailable: it expects archon to enforce the 30-day rentention for server files rather than never showing the server for old cancelled subscriptions. This is useful since in practice we retain server files for longer.

Downloading files is only available to server owners.

Fixes DEV-1400

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Note

This changelog has been baked. Any further edits will not be reflected.

Pull request changelog

App

Added

Changed

Deprecated

Removed

Fixed

Security

Website

Added

Changed

Deprecated

Removed

Fixed

Security

Hosting

Added

  • Added a new download files button on the Manage servers page that let's you download your suspended/cancelled server's files.

Changed

Deprecated

Removed

Fixed

Security

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

@fetchfern
fetchfern requested review from IMB11 and tdgao September 4, 2026 21:33
@IMB11
IMB11 merged commit e2de6bf into main Sep 7, 2026
18 checks passed
@IMB11
IMB11 deleted the fetch/server-download branch September 7, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants