-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[stable10] Switch to shorten hostname in status.php #34469
Conversation
Added a switch to the status.php to shorten the hostname to the relative domain name using the new 'use_server_shortname' option in the config.sample.php. Added test case which makes sure the hostname can be shorten (if the FQDN contains a dot which will be used as separator between node and domain). If the option 'use_relative_domain_name' is set to true in the configuration, we do not want to tell '\OCP\Util::getStatusInfo()' it is false.
Codecov Report
@@ Coverage Diff @@
## stable10 #34469 +/- ##
==============================================
+ Coverage 63.57% 63.58% +<.01%
- Complexity 19146 19148 +2
==============================================
Files 1265 1265
Lines 75314 75321 +7
Branches 1291 1291
==============================================
+ Hits 47884 47892 +8
+ Misses 27050 27049 -1
Partials 380 380
Continue to review full report at Codecov.
|
2 similar comments
Codecov Report
@@ Coverage Diff @@
## stable10 #34469 +/- ##
==============================================
+ Coverage 63.57% 63.58% +<.01%
- Complexity 19146 19148 +2
==============================================
Files 1265 1265
Lines 75314 75321 +7
Branches 1291 1291
==============================================
+ Hits 47884 47892 +8
+ Misses 27050 27049 -1
Partials 380 380
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## stable10 #34469 +/- ##
==============================================
+ Coverage 63.57% 63.58% +<.01%
- Complexity 19146 19148 +2
==============================================
Files 1265 1265
Lines 75314 75321 +7
Branches 1291 1291
==============================================
+ Hits 47884 47892 +8
+ Misses 27050 27049 -1
Partials 380 380
Continue to review full report at Codecov.
|
Squashed backport of #32425 to stable10