Skip to content

Multiple Share Links #1928

Description

@jesmrec

#Multiple share links is a new feature in oC10, that allows to create more than one public link over the same file/folder.

Current behaviour:

  • The Android mobile app only supports one public link.
  • The behaviour right now is showing the first one of the public links created on the server side.
  • If the link is edited in the Android app, the name is removed from the link in server side -> Add capability indicating support of multiple link shares core#27622
  • If the link is removed from Android app, the next one in the list is displayed.

It will require some actions:

  • Share activity using full screen instead of dialog style
  • Update wording of sections according to last update in iOS
  • Replace 'Add user or group' button with (+) button
  • Replace switch to on/off public link with (+) button
  • Move section with details of public links to new DialogFragment
  • Replace section with details of public link in ShareActivity with list of public shares
  • Add icon to delete public share in item list
  • Add icon to copy-to-clipboard AND share-with-apps public link in item list
  • Add angle icon to edit details in item list
  • Add name field to section with details of public link
  • For all the things below: ** grant compatibility with server <= 9.x **
  • Update domain model and database to support multiple public shares per OCFile
  • Update domain model and database to support optional name parameter in OCShares
  • Update FileDataStorageManager to retrieve list of public shares for a given file
  • Update Get operations to support multiple public links per OCFile
  • Update domain model and database to add new property with public link added to OCShare with OC 9.0.0
  • Update CreatePublicShareOperation to support multiple public links per OCFile
  • Update UpdatePublicShareOperation to support multiple public links per OCFile
  • Update RemoveShareOperation to support multiple public links per OCFile, and connect to delete icon
  • Connect icon to copy-or-share action
  • Connect icon to update existing public share
  • Adapt dialog to handle both creation and update of shares correctly
  • Handle the different cases when updating the public share password
  • Ensure that password is required when server enforces it
  • Ensure that expiration date is shown by default when server enforces it
  • Enable or disable multiple links support depending on the corresponding capability (see Add capability indicating support of multiple link shares core#27622)
  • Hide list of public links and title if public share is disabled by admin
  • Connect allow editing permissions switch when creating or updating a folder public share
  • Fix UI for private shares after going to full screen ShareActivity
  • Warning about public links: owncloud/enterprise#1914
  • Warning about public links with message "Anyone with the link has access to the file/folder" https://github.com/owncloud/core/pull/27844/files
  • Change policy to show warning about public links: depending on server capability
  • Clean unneeded code of the previous sharing version
  • [QA] Design test plan @jesmrec
  • [QA] Validate test plan @jesmrec

BUGS & IMPROVEMENTS

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions