Skip to content

Indicate form field readonly via background, fix RunUser config (#37175, #37180)#37184

Merged
lunny merged 2 commits intogo-gitea:release/v1.26from
GiteaBot:backport-37175-v1.26
Apr 13, 2026
Merged

Indicate form field readonly via background, fix RunUser config (#37175, #37180)#37184
lunny merged 2 commits intogo-gitea:release/v1.26from
GiteaBot:backport-37175-v1.26

Conversation

@GiteaBot
Copy link
Copy Markdown
Collaborator

@GiteaBot GiteaBot commented Apr 12, 2026

Backport #37175 by @silverwind

The Run As Username field on the install page was a readonly input that looked editable but wasn't, confusing users. Style readonly inputs with a subtle background, matching other frameworks.

image

Backport #37180

The comment "so just use current one if config says default" is not right anymore: "git" isn't the "default" value of RunUser (Comment out app.example.ini #15807). The RunUser's value is from current session's username.

Fixes #37174

The `Run As Username` field on the install page was a `readonly` input
that looked editable but wasn't, confusing users. Style `readonly`
inputs with a subtle background, matching other frameworks.

Fixes: go-gitea#37174
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Signed-off-by: silverwind <me@silverwind.io>
Co-authored-by: Claude (Opus 4.6) <noreply@anthropic.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
@GiteaBot GiteaBot added modifies/templates lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Apr 12, 2026
@GiteaBot GiteaBot added this to the 1.26.0 milestone Apr 12, 2026
@wxiaoguang wxiaoguang changed the title Indicate form field readonly via background (#37175) Indicate form field readonly via background, fix RunUser config (#37175, #37180) Apr 12, 2026
@github-actions github-actions Bot added modifies/go docs-update-needed The document needs to be updated synchronously labels Apr 12, 2026
@wxiaoguang
Copy link
Copy Markdown
Contributor

Also backport Remove outdated RunUser logic #37180 together.

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Apr 12, 2026
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Apr 12, 2026
@lunny lunny merged commit b37e098 into go-gitea:release/v1.26 Apr 13, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-update-needed The document needs to be updated synchronously lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants