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

[New arch] Fetch list of files of an specific path #2873

Closed
15 of 17 tasks
jesmrec opened this issue Apr 30, 2020 · 2 comments · Fixed by #2918
Closed
15 of 17 tasks

[New arch] Fetch list of files of an specific path #2873

jesmrec opened this issue Apr 30, 2020 · 2 comments · Fixed by #2918

Comments

@jesmrec
Copy link
Collaborator

jesmrec commented Apr 30, 2020

Synchronization epic: #2818

  • Once a folder is browsed, list of files is fetched. Important data:

    • File name
    • Extension (to set a thumbnail)
    • Size
    • Date
    • Permissions?
    • Private/Universal link (if included in the response)
    • ...

Improvement

  • Remove individual Get Quota operation and use the quota retrieved in root propfind instead

TASKS

  • Research (if needed)
  • Create branch new_arch/fetch_list_files
  • Development tasks
    • Create new domain model OCFile
    • Add refresh files usecase
    • Migrate RemoteOperation to kotlin
    • Add function to FilesRepository
    • Implement FilesRemoteDatasource
    • Implement FilesLocalDatasource
    • Create OCFileEntity and Dao
    • Add tests on domain module
    • Add tests on data module [Not completed because it requires changes]
    • Handle basic conflicts
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch new_arch/fetch_list_files into master

PR

@michaelstingl
Copy link
Contributor

  • Extension (to set a thumbnail)

New iOS app just asks for thumbnail for EVERY file type… (plenty of 404)

This might help in the future: owncloud/core#31267

I'd avoid hardcoded list of file types that support preview generation.

@jesmrec
Copy link
Collaborator Author

jesmrec commented Aug 5, 2020

We will not forget it... right now, only asking for picture thumbnails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants