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

External Storage: Apps Inherit User Experience #16304

Closed
MTRichards opened this issue May 12, 2015 · 15 comments
Closed

External Storage: Apps Inherit User Experience #16304

MTRichards opened this issue May 12, 2015 · 15 comments

Comments

@MTRichards
Copy link
Contributor

As an admin, I want the external storage app and any individual apps (such as SharePoint or WND) to share capabilities so that there is one code base to manage, and UX and interface elements are common across ownCloud.

Acceptance Criteria:

  • Core file management behavior and error messages are shared with core
  • Core error messages and display elements are shared with the existing WND
  • Core behavior and external storage settings can be reused - Example: sharing. Admin must be able to turn on and off the ability for a user to share contents of a folder mounted with external storage.

@PVince81 I seem to remember a post from you on this. Any specifics to add?

@MTRichards MTRichards added this to the 8.2-next milestone May 12, 2015
@PVince81
Copy link
Contributor

There was #12338 for the UX improvements (UI elements and error detection) and also the bigger #12216 for various mount options.

From your post it sounds like you'd like to schedule "disable sharing" as well for 8.2 ? This is here: #8631

@MTRichards
Copy link
Contributor Author

New Acceptance Criteria:

  • Take into account migration from the current state seamlessly into the new deployment so that existing external storage mounts (all of them - from WND and SharePoint to FTP etc) do not break

@PVince81
Copy link
Contributor

PVince81 commented Aug 4, 2015

For the migration: the WND and sharepoint apps should move the configurations from the database and then register it to the files_external backend. Currently this would be OC_Mount_Config::addMountPoint but it will be improved to have a more usable API thanks to @Xenopathic

@PVince81
Copy link
Contributor

PVince81 commented Aug 4, 2015

WND/Sharepoint side:

  • update the Storage classes to match the ones from files_external (see other backends as examples, like SMB or SFTP)
  • adapt the configuration to be registered as part of the storage backend in OC_Mount_Config. This will make the configuration options appear in the admin page
  • write app-specific migration code (appinfo/update.php) that will move all the known storages from the database to the OC_Mount_Config API
  • check whether custom fields / custom JS are required in case the field types don't match 100% in the ones supported files_external

@jmaciasportela (some things mentionned here https://github.com/owncloud/sharepoint/issues/120)

files_external changes

@RobinMcCorkell
Copy link
Member

This will be done in 9.0, when the new API becomes part of OCP

@RobinMcCorkell RobinMcCorkell modified the milestones: 9.0-next, 8.2-current Sep 11, 2015
@ghost ghost modified the milestones: 8.2-current, 9.0-next Sep 11, 2015
@ghost
Copy link

ghost commented Sep 11, 2015

Guys, "this will be done in 9.0" is not decided this way. We had a commitment to make it this release and it's not right that with a couple of days to go engineering unilaterally decides 9.0. Not a good situation.

@RobinMcCorkell
Copy link
Member

@cmonteroluque As it stands at the moment, the files_external UI does not have the requisite features for Sharepoint or WND to seamlessly integrate with it. Some of these features are pretty major and likely to cause regressions

@ghost
Copy link

ghost commented Sep 11, 2015

@Xenopathic ping. Trying to reach you

@ghost ghost modified the milestones: 9.0-next, 8.2-current Sep 22, 2015
@ghost ghost modified the milestones: 9.1-next, 9.0-current Feb 20, 2016
@MTRichards
Copy link
Contributor Author

The goal is to incorporate SharePoint into the External Storage app to share the UX from External Storage, while leaving SharePoint configuration an EE only capability. Specifically, this is about allowing usernames and passwords to be stored in the session, rather than in the ownCloud database. Sharing doesn't work, but it is seen as more secure. Also, we need to be able to detect and not allow folders with the same name to be created, for example, which is all handled in external storage.

@PVince81
Copy link
Contributor

Let's keep this ticket in case we need further changes in core for Sharepoint's config stuff.

And use https://github.com/owncloud/sharepoint/issues/120 for the actual ticket to do the sharepoint code integration with files_external.

@MTRichards
Copy link
Contributor Author

Added comments from Design Week:

  • The backend code that talks to SharePoint remains inside the plugin
  • SharePoint app becomes a plugin of the external storage app
  • SharePoint plugin also handles the added dropdowns to connect to SharePoint

A plugin has multiple parts

  1. Storage implementation (translates storage commands into sharepoint)
  2. Config options (user name, path, etc) to be able to display it in the GUI and display in the database
  3. SharePoint specific stuff (kept for later)

Work Package:

  • SharePoint migration scripts (see windows network drives migration for an example)

1 - Clean app. Delete some JS (keep dropdowns), AJAX CALLS, TEMPLATES. Save content from appinfo, imgs, lib, test.
2- Files external dependency. Check enabled, and enable if not.
3- Create Files external backend with our Storage implementation. In case of sharepoint there is some elements in the UI that don't exists on files external. For example a button to retrieve available document list from SharePoint server. You will need to implement those elements, or change the way of how to create new mounts.
4- Merge SharePoint with WND into a new app called "Enterprise External Storage".
5- Migration is the biggest work. You have to map current scheme to files_external scheme. Should be almost the same work that WND
6- Documentation on the new structure, explanation, screenshots, new steps
7- Enable new app by default in the enterprise version (so does external storage)
8- TEST

@MTRichards
Copy link
Contributor Author

Estimation: 3 weeks

@PVince81 PVince81 modified the milestones: 9.2, 9.1 Jul 6, 2016
@PVince81
Copy link
Contributor

PVince81 commented Jul 6, 2016

Feature/refactoring didn't make it into 9.1, moving to 9.2.

CC @dragotin @DeepDiver1975

@PVince81
Copy link
Contributor

WND integration was done but not Sharepoint. Sharepoint integration is tracked in private repo, so closing in favor of that one: https://github.com/owncloud/sharepoint/issues/120

@pmaier1 FYI

@lock
Copy link

lock bot commented Aug 3, 2019

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

No branches or pull requests

5 participants