ios-app icon indicating copy to clipboard operation
ios-app copied to clipboard

[milestone/12.0] Version 12.0

Open felix-schwarz opened this issue 3 years ago β€’ 1 comments

Description

PR for version 12.0:

  • built on top of feature/avatar because that branch already contains many changes
  • code for < iOS 13.4 removed, now targeting iOS 13, upgrading to newer APIs where deprecated APIs were used

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [x] 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.
  • [ ] Added an issue with details about all relevant changes in the iOS documentation repository.
  • [ ] I have read the CONTRIBUTING document.
  • [ ] I have added tests to cover my changes.
  • [ ] All new and existing tests passed.
  • [ ] Added changelog files for the fixed issues in folder changelog/unreleased

felix-schwarz avatar Jan 24 '22 16:01 felix-schwarz

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

:white_check_mark: hosy
:x: felix-schwarz
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Jan 24 '22 16:01 CLAassistant

For this 12.0 branch, test will be done over all the content that's already merged into. Specific features like application provider or new search experience will be tested in the scope of their branches, unless they are merged into 12.0 as well.

I will set an index in the top message with all the QA reports, part of them moved from here.

jesmrec avatar Sep 30 '22 07:09 jesmrec

(1) (improvement)

  1. Login in an oCIS account with no spaces available

Current: List of available spaces is displayed. Only the personal account is there. Suggestion: in case there is only one item in the list, jump directly to the file list, as in regular accounts

iPhone 13 iOS16 c98dab89

jesmrec avatar Sep 30 '22 07:09 jesmrec

(2) [FIXED in https://github.com/owncloud/ios-app/pull/1153]

  1. Set Dark theme
  2. Open a space with few items (~2,3)

Current: background is white

Screenshot 2022-06-14 at 17 28 58

Expected: dark background

iPhone 13 iOS16 c98dab89

jesmrec avatar Sep 30 '22 07:09 jesmrec

(3) (improvement)

The option Set as space description is available for text files in accounts with Editor and Manager permissions over spaces. It allows to set the content of the text file as space description.

It'd be cool to add it to the client as well (low priority).

Not sure if it'd have some server/API dependency

jesmrec avatar Sep 30 '22 07:09 jesmrec

(4)

  1. Create an space and share it with another user granting Viewer permission.

If Viewer user opens empty folder, it looks like:

Screenshot 2022-10-11 at 18 35 35

Menu to add content is hidden because no actions are available for Viewer. In that case, the header should be also hidden or replaced by a different message like No permissions to add content.

NOTE: Same issue when a space is disabled.

iPhone 13 iOS16 c98dab89

jesmrec avatar Sep 30 '22 07:09 jesmrec

(5)

If user with Viewer permissions on a space clicks on the + button on the top, nothing happens (Viewer is not allowed to add new content)

I'd hide the + or show a warning about this issue (first one better IMO)

iPhone 13 iOS16 c98dab89

jesmrec avatar Sep 30 '22 07:09 jesmrec

(6)

I know that sharing is still a restriction, but i will comment this one:

If Viewer user clicks on three dot button on the top, Searching Shares... and the spinner are there forever. Not sure if the best here is hiding the option, or there is any other bad thing happening under the hood. No infinite requests are sent to the server indeed.

iPhone 13 iOS16 c98dab89

jesmrec avatar Sep 30 '22 07:09 jesmrec

(7)

Favorite/Unfavorite star returns non translated error for Viewers permission users:

Screenshot 2022-06-14 at 18 08 17

iPhone 13 iOS16 c98dab89

jesmrec avatar Sep 30 '22 07:09 jesmrec

(8)

Items in the space for Viewer users have the Cut option available. Cut removes the original file after pasting wherever. Removing files is not allowed to Viewer so that it should not be available.

iPhone 13 iOS16 c98dab89

jesmrec avatar Sep 30 '22 07:09 jesmrec

(9)

Links option in action card is available for Viewers and Editors, but empty. It shouldn't be available, since sharing is only available for Managers:

Screenshot 2022-09-30 at 09 56 35

iPhone 13 iOS16 c98dab89

jesmrec avatar Sep 30 '22 07:09 jesmrec

(10) (improvement)

I miss the footer file/folder counter available in personal drives. Very useful!

jesmrec avatar Sep 30 '22 07:09 jesmrec

(11)

  1. Open app in iPad
  2. Set Dark theme
  3. Open the list of files of oCIS instance
  4. Open multiselection mode and select some items

Current: actions bar does not follow the theme:

Screenshot 2022-10-03 at 13 45 49

iPadAir2 v15 4b9af63aa

jesmrec avatar Oct 03 '22 11:10 jesmrec

(12)

  1. In web, create a new space -> space is reflected in the app
  2. In web, disable the space

Current: Disabled space disappears (expected?) Expected: Disabled spaces are not browsable. Adding an extra label as Disabled or showing an error message when it is clicked could be some ideas

iPhone XR iOS16 9617a0bd

jesmrec avatar Oct 05 '22 07:10 jesmrec

(13)

  1. Create a new space in web
  2. In app open the space
  3. In web, disable and remove the space
  4. In app, try to upload something or create new folder

Current: Space was deleted, so those actions are not posible. Error is not friendly:

Screenshot 2022-10-05 at 10 09 45 Screenshot 2022-10-05 at 10 09 55

After getting these errors, a neverending spinner in screen

iPhone XR iOS16 9617a0bd

jesmrec avatar Oct 05 '22 08:10 jesmrec

(14)

  1. Open any space with content inside
  2. Open the card for any file and select Copy
  3. Select Choose destination directory...

Current: empty list Expected: folders listed to select destination directory

NOTE: Same bad behaviour with move operation

iPhone XR iOS16 f0d2ce2c

jesmrec avatar Nov 02 '22 10:11 jesmrec

(15)

pull to refresh action is missing in the list of files to force everything to date.

iPhone XR iOS16 f0d2ce2c

jesmrec avatar Nov 02 '22 11:11 jesmrec

(16)

  1. Open personal space
  2. Share a file with another user in the platform (default permissions)

Current: Recipient does not see the file in the list of pending shares Expected: Recipient sees file in the list of pending shares

App sends a POST request like with payload:

path:        /Share1.txt
shareType:   0
permissions: 22
shareWith:   bob

is that 22 correct??

By opening the created share and sending change with same permissions, the PUT request contains 18 in permission.

Same operation but with a folder, it ends successfully

iPhoneXR v16 f0d2ce2c01

jesmrec avatar Nov 04 '22 12:11 jesmrec

(1)

Feature: Searching Severity: Low

In a folder with some files (more than 10 for iPhone, more than 20 for iPad).

  1. Click on lens icon
  2. Select Folder as scope
  3. Select Type = file

Current: all files in the folder are correctly listed. But, the files on the screen bottom are hidden behind the soft keyboard Expected: any way to vanish the soft keyboard?

https://user-images.githubusercontent.com/14894746/197511405-cf9646e8-020b-4426-b0f0-13a3d12e8ea2.MP4

iPhoneXR v16.3 11297b97

jesmrec avatar May 23 '23 11:05 jesmrec

(2) [FIXED]

Feature: iPad Severity: High

  1. Install the app from scratch to iPad
  2. Add some accounts
  3. Close the app
  4. After some minutes open the app

Current: Attached accounts are not there, empty view. By clicking on + and adding new account, all the accounts appear again

Expected: list of accounts visible after reopening

Video recording with the Current section (app reopened, before the accounts were attached). You can see in the video that in the opening there is no accounts (just the +) and after adding new account, the three accounts attached before appear again

https://user-images.githubusercontent.com/14894746/225292511-4790d558-e1fe-4f1e-a7ff-31518386f9ff.MP4

Logs caught: ownCloud_23_May_2023_at_13_10_26.log.txt

NOTE: I reproduced the problem after state restoration as well

iPadPro, iPadOS16.3 11297b97

jesmrec avatar May 23 '23 11:05 jesmrec

@jesmrec Regarding (2): I can't find anything that would explain that issue in either the source code or the provided logs. I also tried reproducing it on an iPad Pro 9.7", but without success.

Do the missing accounts appear if you "resize" the app / put the app in split view with another app?

Can you reproduce the issue when launching the app from Xcode? A remote debug session might be a chance to get to the bottom of the issue then.

felix-schwarz avatar May 31 '23 16:05 felix-schwarz

Do the missing accounts appear if you "resize" the app / put the app in split view with another app?

No they don't appear.

Can you reproduce the issue when launching the app from Xcode? A remote debug session might be a chance to get to the bottom of the issue then.

reproducible also when launching from Xcode.

jesmrec avatar Jun 01 '23 06:06 jesmrec

(2) fixed

jesmrec avatar Jun 02 '23 09:06 jesmrec

(3) [FIXED]

Feature: List of files Severity: Low

Seen in latest Testflight build:

image

ChrisEdS avatar Jun 02 '23 14:06 ChrisEdS

(4) [FIXED]

Feature: Private links Severity: Medium

Private link owncloud://demo.owncloud.com/f/9 to folder "/Photos" no longer opens the folder, only highlights it:

IMG_3712 IMG_3713
ownCloud release version 11.11.1 build 230 (app: 58fd75c, sdk: 57729a6) ownCloud release version 12.0 build 266 (Fri Jun 2 11:51:44 CEST 2023) (app: v12.0-appstore.1 - milestone/12.0@0ae63e9e, sdk: v12.0-appstore.1 - feature/graph-api@cf34eda)

michaelstingl avatar Jun 02 '23 16:06 michaelstingl

(5)

Feature: Previews Severity: Medium

  1. Upload a big video using the web client
  2. in app Settings, enable Download instead of Streaming
  3. In list of files, click the video file

Current: black screen while the video is downloading. If video file is large, black screen for much time on foreground Expected: kind of download indicator

iOS/iPadOS v16 8cb83d7f

jesmrec avatar Jun 05 '23 11:06 jesmrec

(6) [FIXED]

Feature: Copy Severity: Low

  1. Select a folder and Copy
  2. Select Copy to clipboard

Current: notification missing Expected (11.11.1): notification:

Screenshot 2023-06-05 at 14 43 50

Copy files through clipboard to another account is not an allowed feature

iOS/iPadOS v16 8cb83d7f

jesmrec avatar Jun 05 '23 12:06 jesmrec

(7)

Feature: Previews Severity: Low

  1. Open a PDF file
  2. Double click on it

Current: Full screen mode not totally shown, top bar stays in screen Expected: Full screen mode. Only the file in screen, top and bottom bars hidden

iOS/iPadOS v16 8cb83d7f

jesmrec avatar Jun 06 '23 08:06 jesmrec

(8) [FIXED]

Feature: Share sheet Severity: Low

  1. Open Photos app
  2. Select an item, Share, ownCloud, select an account and folder
  3. Submit
  4. Without closing the Photos app, select another item to share with oC

Current: Create folder icon appears twice. Every repetition, a new "create folder" icon

Screenshot 2023-06-06 at 14 13 56 Screenshot 2023-06-06 at 14 14 05 Screenshot 2023-06-06 at 14 14 16

Expected: just once

iOS/iPadOS v16 8cb83d7f

jesmrec avatar Jun 06 '23 12:06 jesmrec

(9)

Feature: Authentication Severity: Medium

  1. Log in a oC10 account with OAuth2
  2. In server dashboard, remove authorized client in order to kill the session
  3. In app, a dialog to choose Continue offline Sign in
  4. Sign in and complete the auth process to gain a new token

Current: The yellow indicator in sidebar with Access denied does not vanish. The way to make it go is killing the app and opening again

Screenshot 2023-06-06 at 17 30 52

Expected: Yellow indicator is gone when bookmark is authenticated again

iOS/iPadOS v16 8cb83d7f

jesmrec avatar Jun 06 '23 15:06 jesmrec

(10) [FIXED]

Feature: List of files Severity: High

  1. Create a new space in the oCIS account
  2. Add an item to the space
  3. Share the item with other user (invite)
  4. Go to the space's list of files
  5. Open the card of the shared item

Current: Unshare option instead of Delete. Clicking on that option does nothing. Item is neither unshared nor deleted.

Screen Shot 2023-06-07 at 09 46 16

Also reproducible, by swiping left or using the Contextual menu.

Expected: Unshare option working,

iOS/iPadOS v16 8cb83d7f

jesmrec avatar Jun 07 '23 07:06 jesmrec

(11) [FIXED]

Feature: Files App Severity: Medium

  1. In an external app (MS Office, f.ex.), create a new file
  2. Save the new file in oC account (Files App)

Current: file is saved as 0B but it's openable and shows the content. In web, content is missing. Expected: file is saved correctly, with the content

iOS/iPadOS v16 8cb83d7f

jesmrec avatar Jun 07 '23 08:06 jesmrec

(12)

Feature: Files App Severity: Low

Share option is duplicated in contextual menu in Files App. Both options trigger different actions but could be confusing.

Screenshot 2023-06-07 at 11 01 46

iOS/iPadOS v16 8cb83d7f

jesmrec avatar Jun 07 '23 09:06 jesmrec

(13) [FIXED]

Feature: Files App Severity: High

  1. In oCIS account, user1 shares some items with user2
  2. User2 accept shares
  3. User2 open the account in Files App

Current: items listed:

  • Personal space βœ…
  • Available Spaces βœ…
  • Shared with me βœ…
  • Items shared in step1 ❌
Spaces (app view) Shares with me (app view) Files app
Screen Shot 2023-06-09 at 09 52 14 Screen Shot 2023-06-09 at 09 52 25 Screen Shot 2023-06-09 at 09 52 53

Expected: Item listed

  • Personal space βœ…
  • Available Spaces βœ…
  • Shared with me βœ…

iOS/iPadOS v16 8cb83d7f

jesmrec avatar Jun 09 '23 07:06 jesmrec

(14) [WONT FIX]

Feature: Upgrade Severity: Low

Expected behaviour? In 11.11.1 we had 5 different themes, in 12.0 only two available themes. Mapping is:

11.11.1 12.0 Result Comment
Light Light βœ…
Dark Web Light ❌ Dark theme turns into light theme
Dark Blue Dark βœ…
Dark Black Light ❌ Dark theme turns into light theme
Classic Light βœ…

iOS/iPadOS v16 8cb83d7f

jesmrec avatar Jun 09 '23 08:06 jesmrec

(15)

Feature: Spaces Severity: Medium

  1. In any account, open card of a file and select Copy
  2. Select Copy to clipboard
  3. Open Spaces view
  4. In 3-dot-button of any space with writing permission, select Paste

Current: nothing happens Expected: Copied item pasted inside the space

iOS/iPadOS v16 8cb83d7f

jesmrec avatar Jun 09 '23 10:06 jesmrec

@jesmrec I fixed findings (3) (4) (6) (8) (10) (13).

Regarding (14): the old themes didn't account for a segmented UI (side bar area + content area) and therefore have been replaced with a single light and a single dark theme. Additional themes can be added in the future if needed.

The rest of the findings I'm still looking into.

felix-schwarz avatar Jun 12 '23 07:06 felix-schwarz

(3), (4), (6), (8), (10), (13) fixed

jesmrec avatar Jun 12 '23 09:06 jesmrec

@jesmrec finding (11) is fixed as well now

felix-schwarz avatar Jun 12 '23 10:06 felix-schwarz

@jesmrec finding (15) is fixed as well now.

felix-schwarz avatar Jun 12 '23 12:06 felix-schwarz

(11) and (15) fixed!

jesmrec avatar Jun 12 '23 13:06 jesmrec

@jesmrec #1220 fixes (1) and (7)

felix-schwarz avatar Jun 13 '23 22:06 felix-schwarz

@jesmrec #1220 now also fixes (9)

felix-schwarz avatar Jun 14 '23 08:06 felix-schwarz

@jesmrec #1220 now also fixes (12). That string is stored in the File Provider UI's Info.plist and therefore can't be changed dynamically at runtime. To keep it branding-friendly, I chose "Share by cloud" instead of "Share via ownCloud", "Share (ownCloud)", which would have required to customize both the Info.plist and the translations for branding.

felix-schwarz avatar Jun 14 '23 08:06 felix-schwarz

@jesmrec finding (5) is also fixed in #1220 now

felix-schwarz avatar Jun 14 '23 09:06 felix-schwarz