-
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
[For 10.4] Fix doc links in the admin settings #36315
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use url generator - see
core/lib/public/IURLGenerator.php
Line 91 in 3bff5c2
public function linkToDocs($key); |
@DeepDiver1975 I implemented Line 67 in f502cee
|
Codecov Report
@@ Coverage Diff @@
## master #36315 +/- ##
============================================
+ Coverage 64.68% 64.68% +<.01%
Complexity 19023 19023
============================================
Files 1268 1268
Lines 74362 74364 +2
Branches 1309 1311 +2
============================================
+ Hits 48100 48102 +2
Misses 25876 25876
Partials 386 386
Continue to review full report at Codecov.
|
Scality failure is irrelevant:
|
@micbar please triage |
In any case, please DO NOT write doc links as: When 10.3 will be superseded, this link may go away. Please use instead the version |
@micbar is this scheduled for more review then release or? |
@VicDeo Could you take care to get it merged? |
@VicDeo ...irrelevant?? |
@mmattel it needs to be done not here, so irrelevant to the PR content. ;) |
@VicDeo I am in sorry, you are right. The corresponding URL is defined in: |
@mmattel @VicDeo @settermjd |
TODO
DOC should have the following rewrites:
https://doc.owncloud.org/server/10.3/go.php?to=use-https
to
https://doc.owncloud.org/server/10.3/admin_manual/configuration/server/harden_server.html#use-https
https://doc.owncloud.org/server/10.3/go.php?to=enable-http-strict-transport-security
to
https://doc.owncloud.org/server/10.3/admin_manual/configuration/server/harden_server.html#enable-http-strict-transport-security
Description
Fix links in setupchecks.js
Related Issue
Motivation and Context
Proper documentation links
How Has This Been Tested?
Browse to Settings -> Admin -> General via HTTP
Check where link
You are accessing this site via HTTP. We strongly suggest you configure your server to require using HTTPS instead as described in our security tips.
pointsExpected
to ownCloud docs
Actual
to not-existing
#admin-tips
anchor on the same pageThe same is valid for HSTS message
Screenshots (if appropriate):
Types of changes
Checklist: