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

[stable10] Switch to shorten hostname in status.php #34469

Merged
merged 1 commit into from
Feb 14, 2019

Conversation

PVince81
Copy link
Contributor

Squashed backport of #32425 to stable10

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
Copy link

codecov bot commented Feb 12, 2019

Codecov Report

Merging #34469 into stable10 will increase coverage by <.01%.
The diff coverage is 77.77%.

Impacted file tree graph

@@              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
Flag Coverage Δ Complexity Δ
#javascript 53.32% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 64.68% <77.77%> (ø) 19148 <9> (+2) ⬆️
Impacted Files Coverage Δ Complexity Δ
status.php 0% <0%> (ø) 0 <0> (ø) ⬇️
lib/public/Util.php 58.85% <100%> (+1.1%) 81 <9> (+2) ⬆️
...eratedfilesharing/lib/Controller/OcmController.php 66.26% <0%> (+0.2%) 30% <0%> (ø) ⬇️
apps/files_trashbin/lib/Expiration.php 98.27% <0%> (+1.72%) 29% <0%> (ø) ⬇️
apps/encryption/lib/Session.php 100% <0%> (+1.96%) 22% <0%> (ø) ⬇️

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 3f1c2c3...a8e96fb. Read the comment docs.

2 similar comments
@codecov
Copy link

codecov bot commented Feb 12, 2019

Codecov Report

Merging #34469 into stable10 will increase coverage by <.01%.
The diff coverage is 77.77%.

Impacted file tree graph

@@              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
Flag Coverage Δ Complexity Δ
#javascript 53.32% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 64.68% <77.77%> (ø) 19148 <9> (+2) ⬆️
Impacted Files Coverage Δ Complexity Δ
status.php 0% <0%> (ø) 0 <0> (ø) ⬇️
lib/public/Util.php 58.85% <100%> (+1.1%) 81 <9> (+2) ⬆️
...eratedfilesharing/lib/Controller/OcmController.php 66.26% <0%> (+0.2%) 30% <0%> (ø) ⬇️
apps/files_trashbin/lib/Expiration.php 98.27% <0%> (+1.72%) 29% <0%> (ø) ⬇️
apps/encryption/lib/Session.php 100% <0%> (+1.96%) 22% <0%> (ø) ⬇️

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 3f1c2c3...a8e96fb. Read the comment docs.

@codecov
Copy link

codecov bot commented Feb 12, 2019

Codecov Report

Merging #34469 into stable10 will increase coverage by <.01%.
The diff coverage is 77.77%.

Impacted file tree graph

@@              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
Flag Coverage Δ Complexity Δ
#javascript 53.32% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 64.68% <77.77%> (ø) 19148 <9> (+2) ⬆️
Impacted Files Coverage Δ Complexity Δ
status.php 0% <0%> (ø) 0 <0> (ø) ⬇️
lib/public/Util.php 58.85% <100%> (+1.1%) 81 <9> (+2) ⬆️
...eratedfilesharing/lib/Controller/OcmController.php 66.26% <0%> (+0.2%) 30% <0%> (ø) ⬇️
apps/files_trashbin/lib/Expiration.php 98.27% <0%> (+1.72%) 29% <0%> (ø) ⬇️
apps/encryption/lib/Session.php 100% <0%> (+1.96%) 22% <0%> (ø) ⬇️

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 3f1c2c3...a8e96fb. Read the comment docs.

@DeepDiver1975 DeepDiver1975 merged commit 9a6545f into stable10 Feb 14, 2019
@delete-merged-branch delete-merged-branch bot deleted the stable10-shorten-status-hostname branch February 14, 2019 09:31
@lock lock bot locked as resolved and limited conversation to collaborators Feb 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants