X Tutup
Skip to content

Configurable web rewrite#38603

Merged
AlexAndBear merged 4 commits intomasterfrom
configurable-web-rewrite
May 26, 2021
Merged

Configurable web rewrite#38603
AlexAndBear merged 4 commits intomasterfrom
configurable-web-rewrite

Conversation

@kulmann
Copy link
Contributor

@kulmann kulmann commented Mar 30, 2021

Description

This PR hides the nav item when the oc10 web app is installed but disabled and skips the public & private link rewrite for the same reason. It also introduces a config option to enable public & private link rewrites, so that those are not rewritten by default but only if the admin decides to go for it.

Related Issue

Motivation and Context

Fix the app behaviour. Also, the feature set of ownCloud Web is not rich enough, yet, to enforce it being used on public links (misses e.g. office suites).

How Has This Been Tested?

  • tested manually. Happy to receive pointers on how to test this in CI. Would probably need to intercept a private and public link rewrite in an integration test.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

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

@kulmann kulmann added this to the development milestone Mar 30, 2021
@kulmann kulmann requested a review from micbar March 30, 2021 11:17
@kulmann kulmann self-assigned this Mar 30, 2021
@micbar
Copy link
Contributor

micbar commented Apr 29, 2021

Please rebase and add config.sample.php

@phil-davis
Copy link
Contributor

@janackermann GitHub is reporting conflicts. This needs a rebase and resolve the conflicts.

@kulmann kulmann force-pushed the configurable-web-rewrite branch from 26fd0d6 to 64f7a9f Compare April 29, 2021 19:28
@kulmann
Copy link
Contributor Author

kulmann commented Apr 29, 2021

Rebased / solved conflicts and added the PR url in the changelog.

@kulmann kulmann force-pushed the configurable-web-rewrite branch from 64f7a9f to 81e1ee1 Compare April 29, 2021 19:32
@kulmann
Copy link
Contributor Author

kulmann commented May 26, 2021

Please rebase and add config.sample.php

@micbar I adjusted the config.sample.php - could you have a look please?

@micbar
Copy link
Contributor

micbar commented May 26, 2021

approved. Trailing whitespace breaks CI

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

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

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

@kulmann
Copy link
Contributor Author

kulmann commented May 26, 2021

@micbar CI is green again. Merge?

@AlexAndBear AlexAndBear merged commit b9fe813 into master May 26, 2021
@delete-merged-branch delete-merged-branch bot deleted the configurable-web-rewrite branch May 26, 2021 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No option to resolve private & public links in classic UI when Web is enabled

5 participants

X Tutup