#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 -> https://github.com/owncloud/core/issues/27622 - If the link is removed from Android app, the next one in the list is displayed. It will require some actions: - [X] Share activity using full screen instead of dialog style - [X] Update wording of sections according to last update in iOS - [X] Replace 'Add user or group' button with (+) button - [X] Replace switch to on/off public link with (+) button - [x] Move section with details of public links to new DialogFragment - [x] Replace section with details of public link in ShareActivity with list of public shares - [x] Add icon to delete public share in item list - [x] Add icon to copy-to-clipboard AND share-with-apps public link in item list - [x] Add angle icon to edit details in item list - [x] Add name field to section with details of public link - [x] For all the things below: ** grant compatibility with server <= 9.x ** - [x] Update domain model and database to support multiple public shares per OCFile - [x] Update domain model and database to support optional name parameter in OCShares - [x] Update FileDataStorageManager to retrieve list of public shares for a given file - [x] Update Get operations to support multiple public links per OCFile - [x] Update domain model and database to add new property with public link added to OCShare with OC 9.0.0 - [x] Update CreatePublicShareOperation to support multiple public links per OCFile - [x] Update UpdatePublicShareOperation to support multiple public links per OCFile - [x] Update RemoveShareOperation to support multiple public links per OCFile, and connect to delete icon - [x] Connect icon to copy-or-share action - [x] Connect icon to update existing public share - [x] Adapt dialog to handle both creation and update of shares correctly - [x] Handle the different cases when updating the public share password - [x] Ensure that password is required when server enforces it - [x] Ensure that expiration date is shown by default when server enforces it - [x] Enable or disable multiple links support depending on the corresponding capability (see https://github.com/owncloud/core/issues/27622) - [x] Hide list of public links and title if public share is disabled by admin - [x] Connect allow editing permissions switch when creating or updating a folder public share - [x] Fix UI for private shares after going to full screen ShareActivity - [X] Warning about public links: owncloud/enterprise#1914 - [X] Warning about public links with message "Anyone with the link has access to the file/folder" https://github.com/owncloud/core/pull/27844/files - [x] Change policy to show warning about public links: depending on server capability - [x] Clean unneeded code of the previous sharing version - [x] [QA] Design test plan @jesmrec - [X] [QA] Validate test plan @jesmrec ___ BUGS & IMPROVEMENTS - [X] (1) Soft keyboard automatically displayed to input link password https://github.com/owncloud/android/issues/1928#issuecomment-299834718 [FIXED] - [X] (2) Ask for confirmation is case of link removing https://github.com/owncloud/android/issues/1928#issuecomment-299839271 [FIXED] - [X] (3) Not allowing to disable password switch if it is forced. https://github.com/owncloud/android/issues/1928#issuecomment-299847474 [FIXED] - [X] (4) App crashes if remove expiration (default) https://github.com/owncloud/android/issues/1928#issuecomment-299849323 [FIXED] - [X] (5) Link is saved without expiration although it is forced https://github.com/owncloud/android/issues/1928#issuecomment-299852941 [FIXED] - [X] (6) Hide link name section when multiple share links are not supported [FIXED] - [x] Using token as public share name in public shares list makes no sense in servers < 10 https://github.com/owncloud/android/issues/1928#issuecomment-300077521 [WILL NOT BE FIXED] - [X] (7) Creation of more than one link is not being prevented in servers < 10 https://github.com/owncloud/android/issues/1928#issuecomment-299857505 [FIXED] - [X] (8) Edit public links in servers < 10 https://github.com/owncloud/android/issues/1928#issuecomment-299862239 [FIXED] - [X] (9) Disabling expiration is not saved https://github.com/owncloud/android/issues/1928#issuecomment-300101852 [OUT OF SCOPE] - [X] (10) Error message is improvable https://github.com/owncloud/android/issues/1928#issuecomment-300107439 [FIXED] - [X] (11) Error messages in landscape make the buttons vanish https://github.com/owncloud/android/issues/1928#issuecomment-300111388 [FIXED] - [X] (12) Filename as default https://github.com/owncloud/android/issues/1928#issuecomment-300170065 [FIXED] - [X] (13) Softkeyboard in servers < 10 https://github.com/owncloud/android/issues/1928#issuecomment-300192697 [FIXED] - [X] (14) App crashes in landscape in share view after asking for the passcode https://github.com/owncloud/android/issues/1928#issuecomment-300232970 [FIXED] - [X] (15) Expiration not set en Galaxy Tab S https://github.com/owncloud/android/issues/1928#issuecomment-300441620 [FIXED] - [X] (16) Default date to select is today https://github.com/owncloud/android/issues/1928#issuecomment-300520074 [FIXED] - [X] (17) Autogenerated numbers in links with default name https://github.com/owncloud/android/issues/1928#issuecomment-300707412 [FIXED] - [X] (18) Users and groups in small screens https://github.com/owncloud/android/issues/1928#issuecomment-300729371 [FIXED] - [X] (19) Delete PL + Expiration + Create PL = Crash https://github.com/owncloud/android/issues/1928#issuecomment-300760879 [FIXED] - [X] (20) Crash rotating in permissions dialog https://github.com/owncloud/android/issues/1928#issuecomment-301011615 [FIXED] - [X] (21) Scroll in edit link view https://github.com/owncloud/android/issues/1928#issuecomment-301058231 [FIXED] - [X] (22) Expiration date disappears by rotating https://github.com/owncloud/android/issues/1928#issuecomment-301387117 [FIXED]
#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:
It will require some actions:
BUGS & IMPROVEMENTS