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

Fix always-on SSL Mode checkbox in admin page #3208

Merged
merged 1 commit into from
Dec 16, 2017

Conversation

strk
Copy link
Member

@strk strk commented Dec 16, 2017

Closes #3207

Needs backport to 1.3 branch too

@strk
Copy link
Member Author

strk commented Dec 16, 2017

Actually the supported values are:

only "require" (default), "verify-full", "verify-ca", and "disable" supported

So a checkbox is really not a good idea!

@tboerger tboerger added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Dec 16, 2017
Closes go-gitea#3207

Use a string, not a checkbox because "require", "verify-full",
"verify-ca" and "disable" values are supported ...
@ethantkoenig
Copy link
Member

Since this is a UI change (albeit a minor one), could you please include before/after screenshots?

@codecov-io
Copy link

codecov-io commented Dec 16, 2017

Codecov Report

Merging #3208 into master will decrease coverage by 0.17%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3208      +/-   ##
==========================================
- Coverage   34.87%   34.69%   -0.18%     
==========================================
  Files         277      277              
  Lines       39980    39980              
==========================================
- Hits        13943    13873      -70     
- Misses      24020    24110      +90     
+ Partials     2017     1997      -20
Impacted Files Coverage Δ
modules/lfs/content_store.go 7.81% <0%> (-35.94%) ⬇️
modules/lfs/server.go 20.68% <0%> (-14.33%) ⬇️
models/lfs.go 26.08% <0%> (-2.18%) ⬇️
models/repo.go 41.47% <0%> (+0.18%) ⬆️
models/repo_indexer.go 51.94% <0%> (+0.97%) ⬆️
modules/process/manager.go 81.15% <0%> (+4.34%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update befa744...d906521. Read the comment docs.

@lafriks lafriks added type/bug topic/ui Change the appearance of the Gitea UI labels Dec 16, 2017
@lafriks lafriks added this to the 1.4.0 milestone Dec 16, 2017
@lafriks
Copy link
Member

lafriks commented Dec 16, 2017

LGTM

@strk
Copy link
Member Author

strk commented Dec 16, 2017

Screenshot is not much interesting, imagine a string like the one you get for Path instead of a checkbox. It takes too much time for me to create the screenshot(s) and blur out the passwords etc. And you should review the code, not trust screenshots :)

@tboerger tboerger 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 Dec 16, 2017
@strk
Copy link
Member Author

strk commented Dec 16, 2017

Found the time: this is after:
selection_002

@ethantkoenig
Copy link
Member

LGTM @strk with hindsight, screenshot was probably not necessary, my apologies

@tboerger tboerger 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 Dec 16, 2017
@lafriks lafriks merged commit eb2b4df into go-gitea:master Dec 16, 2017
@lafriks lafriks added the backport/done All backports for this PR have been created label Dec 16, 2017
@strk strk deleted the ssl-mode-disable branch December 16, 2017 21:27
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SSL Mode showed as ON while instead is OFF
5 participants