Skip to content

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

Open
fetchfern wants to merge 6 commits into
mainfrom
fetch/server-download
Open

feat(hosting frontend): suspended server files download#7422
fetchfern wants to merge 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

Pull request changelog

App

Added

Changed

Deprecated

Removed

Fixed

Security

Website

Added

Changed

Deprecated

Removed

Fixed

Security

Hosting

Added

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
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.

1 participant