Skip to content

Always enable files_external - #27051

Merged
PVince81 merged 3 commits into
masterfrom
filesexternal-alwaysenabled
Feb 21, 2017
Merged

PVince81 merged 3 commits into
masterfrom
filesexternal-alwaysenabled

Conversation

@PVince81

@PVince81 PVince81 commented Jan 30, 2017 •

Copy link
Copy Markdown
Contributor

Description

Related Issue

Motivation and Context

Because we want the UI to still be available while the backend is
already in core.

Eventually the files_external backends will be moved to separate apps and all that will be left is the GUI and the OCC commands which we'll eventually move to core. Ref: #27050

How Has This Been Tested?

  • TEST: update from 9.1 with files_external disabled to master: app is now enabled
  • TEST: setup OC 10.0 from scratch, app is enabled
  • TEST: cannot disable files_external app

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)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Please review @pmaier1 @DeepDiver1975 as discussed

@PVince81 PVince81 added this to the 10.0 milestone Jan 30, 2017
@mention-bot

Copy link
Copy Markdown

@PVince81, thanks for your PR! By analyzing the history of the files in this pull request, we identified @DeepDiver1975 and @Peter-Prochaska to be potential reviewers.

@DeepDiver1975

Copy link
Copy Markdown
Contributor

Tests require adjustments

@PVince81

Copy link
Copy Markdown
Contributor Author

757 failures ???!!!

@PVince81

Copy link
Copy Markdown
Contributor Author

Hmm, I suspect that some admins might not be happy that there will be a permanent "External storage" section in the files app. Maybe need to make it possible to disable this.

@pmaier1

pmaier1 commented Jan 31, 2017

Copy link
Copy Markdown
Contributor

Hmm, I suspect that some admins might not be happy that there will be a permanent "External storage" section in the files app. Maybe need to make it possible to disable this.

Yes, would be good to be able to disable it if you do not use external storages at all.

@PVince81

PVince81 commented Feb 6, 2017 •

Copy link
Copy Markdown
Contributor Author
  • problem: since files_external is always enabled, the unit test facility also tries to run all tests from that app

@PVince81 PVince81 self-assigned this Feb 6, 2017
@PVince81

Copy link
Copy Markdown
Contributor Author
  • setting to disable external storage in config.php

@PVince81

Copy link
Copy Markdown
Contributor Author

Excluded files_external unit tests from regular run.

Vincent Petry added 3 commits February 21, 2017 09:18
Because we want the UI to still be available while the backend is
already in core.
@PVince81
PVince81 force-pushed the filesexternal-alwaysenabled branch from 6e19976 to 60a8718 Compare February 21, 2017 08:19
@PVince81

Copy link
Copy Markdown
Contributor Author

Cool, tests pass now.

I'll do a bit of manual testing then merge this.

The config.php switch will be added in a separate PR.

@PVince81
PVince81 merged commit 99bec81 into master Feb 21, 2017
@PVince81
PVince81 deleted the filesexternal-alwaysenabled branch February 21, 2017 10:47
@PVince81

PVince81 commented Feb 21, 2017 •

Copy link
Copy Markdown
Contributor Author

PR for the checkbox here: #27196

It also disables external storage completely as before. So there is no loss of functionality in 10.0.

@ghost ghost mentioned this pull request Jun 6, 2017
@ghost

ghost commented Jun 15, 2017

Copy link
Copy Markdown

@PVince81 @DeepDiver1975 @pmaier1 FWIW this has disabled the "remember me" button on the login page because files_external is setting <rememberlogin>false</rememberlogin>:

https://github.com/owncloud/core/blob/v10.0.2/apps/files_external/appinfo/info.xml#L15

I think this is not that serve as the "remember me" function wasn't working since oC 9.1 but still something to note / document somewhere.

@lock

lock Bot commented Aug 3, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 3, 2019
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.

4 participants