Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

Add robots.txt file - #5762

Merged
pascalwengerter merged 3 commits into
masterfrom
add_robots_file
Sep 1, 2021
Merged

pascalwengerter merged 3 commits into
masterfrom
add_robots_file

Conversation

@jvillafanez

Copy link
Copy Markdown
Member

Description

Add the robots.txt file

Related Issue

owncloud/ocis#1314

Motivation and Context

How Has This Been Tested?

Checked with ocis-web without pulling fresh assets. After generating the embed files and building ocis, the "/robots.txt" is accessible with the contents.
It's expected that a new web release will put everything into the right place.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

Open tasks:

  • ...

@update-docs

update-docs Bot commented Sep 1, 2021

Copy link
Copy Markdown

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@CLAassistant

CLAassistant commented Sep 1, 2021 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@kulmann

kulmann commented Sep 1, 2021 •

Copy link
Copy Markdown
Contributor

What about an integration into oc10 with the web app? Does the robots.txt of oc10 itself apply then or do we need to serve this robots.txt there as well? robots.txt would need to be added to the array in

$permittedPaths = ["css", "img", "js", "themes", "index.html", "manifest.json", "oidc-callback.html", "oidc-silent-redirect.html"];
then.

@ownclouders

Copy link
Copy Markdown
Contributor

Results for oC10iPhone2 https://drone.owncloud.com/owncloud/web/18756/46/1
The following scenarios passed on retry:

  • webUITrashbinRestore/trashbinRestore.feature:14

@ownclouders

Copy link
Copy Markdown
Contributor

Results for oC10Files1 https://drone.owncloud.com/owncloud/web/18756/12/1
The following scenarios passed on retry:

  • webUIFilesActionMenu/versions.feature:36

@fschade

fschade commented Sep 1, 2021 •

Copy link
Copy Markdown
Contributor

Thanks, I think It misses a copy step here

targets: [

@jvillafanez

Copy link
Copy Markdown
Member Author

I don't think it's needed for the OC10 integration. OC10 already has its own robots.txt file so it's ownCloud the one that should serve the file.
In addition, the robots.txt should be placed in the root of the of the server, so it should be placed in https://my.server/robots.txt, and that URL is controlled by OC10, so the web app shouldn't need to bother

@sonarqubecloud

sonarqubecloud Bot commented Sep 1, 2021

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@ownclouders

Copy link
Copy Markdown
Contributor

Results for oC10SharingInternalUsersSharingIndicator https://drone.owncloud.com/owncloud/web/18761/28/1
The following scenarios passed on retry:

  • webUISharingInternalUsersSharingIndicator/shareWithUsers.feature:154

@pascalwengerter
pascalwengerter merged commit 8d06bae into master Sep 1, 2021
@delete-merged-branch
delete-merged-branch Bot deleted the add_robots_file branch September 1, 2021 18:43
@micbar micbar mentioned this pull request Sep 15, 2021
19 of 20 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants