Skip to content

site_metadata: Expose read_only field #3994

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

Merged
merged 1 commit into from
Oct 14, 2021
Merged

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Oct 9, 2021

As discussed on Thursday, it would be nice to display on the frontend that we're currently in read-only mode during e.g. database updates. This PR adds a read_only field to the /api/v1/site_metadata endpoint response.

@Turbo87 Turbo87 added C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works A-backend ⚙️ labels Oct 9, 2021
@locks
Copy link
Contributor

locks commented Oct 14, 2021

@bors r+

@bors
Copy link
Contributor

bors commented Oct 14, 2021

📌 Commit 606f918 has been approved by locks

@bors
Copy link
Contributor

bors commented Oct 14, 2021

⌛ Testing commit 606f918 with merge 9a28438...

@bors
Copy link
Contributor

bors commented Oct 14, 2021

☀️ Test successful - checks-actions
Approved by: locks
Pushing 9a28438 to master...

@bors bors merged commit 9a28438 into rust-lang:master Oct 14, 2021
@Turbo87 Turbo87 deleted the read-only branch October 14, 2021 16:56
@Turbo87 Turbo87 linked an issue Dec 20, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show read-only mode banner on the website
3 participants