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

Update U2F Section of app.ini.sample #5994

Merged
merged 1 commit into from
Feb 7, 2019

Conversation

jolheiser
Copy link
Member

@jolheiser jolheiser commented Feb 7, 2019

Currently when users copy the default values over to their app.ini, Gitea crashes on startup due to a panic from the upstream ini module.
Perhaps in the future the module will support referencing keys from other non-default sections, but currently it does not.

I commented them out and added a note that users will need to modify them to get them working. I don't particularly love all-caps notes...but without them it blended into the rest of the comments. Let me know if you prefer changes to the wording (or not all caps).
I thought of leaving the values as %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/ and just commenting them out, however I didn't want to imply that those values would work.
Instead I changed them to what the default values would resolve to, http://localhost:3000/

Affected Issues: #4260 #4692 #5394 #5406 #5526
Resolves #4692
Resolves #5982

Signed-off-by: jolheiser <john.olheiser@gmail.com>
@lunny lunny added the type/docs This PR mainly updates/creates documentation label Feb 7, 2019
@lunny lunny added this to the 1.8.0 milestone Feb 7, 2019
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Feb 7, 2019
@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 Feb 7, 2019
@lafriks lafriks added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed backport/v1.7 lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. labels Feb 7, 2019
@lafriks
Copy link
Member

lafriks commented Feb 7, 2019

no need to backport docs

@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 Feb 7, 2019
@techknowlogick techknowlogick merged commit f51e7ed into go-gitea:master Feb 7, 2019
@jolheiser jolheiser deleted the patch-1 branch February 7, 2019 15:48
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/docs This PR mainly updates/creates documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change U2F app.ini.sample Gitea 1.5.0 fails to run (segfaults)
5 participants