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

Switching to dav4jvm #881

Draft
wants to merge 78 commits into
base: master
Choose a base branch
from
Draft

Switching to dav4jvm #881

wants to merge 78 commits into from

Commits on Aug 20, 2024

  1. use dav4jvm search and proppatch

    Signed-off-by: tobiasKaminsky <[email protected]>
    tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    d265714 View commit details
    Browse the repository at this point in the history
  2. wip

    Signed-off-by: tobiasKaminsky <[email protected]>
    tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    e695ba1 View commit details
    Browse the repository at this point in the history
  3. use api instead of implementation

    Signed-off-by: tobiasKaminsky <[email protected]>
    tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    dea2f70 View commit details
    Browse the repository at this point in the history
  4. add todo

    Signed-off-by: tobiasKaminsky <[email protected]>
    tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    69d68cb View commit details
    Browse the repository at this point in the history
  5. update what properties are missing

    Signed-off-by: tobiasKaminsky <[email protected]>
    tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    3a881c8 View commit details
    Browse the repository at this point in the history
  6. Remote operation part2

    Signed-off-by: tobiasKaminsky <[email protected]>
    tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    111dd53 View commit details
    Browse the repository at this point in the history
  7. wip

    Signed-off-by: tobiasKaminsky <[email protected]>
    tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    05b0c66 View commit details
    Browse the repository at this point in the history
  8. Add oc/nc counterpart for remaining methods

    - added classes to retrieve extended properties
    - moved WebdavUtils helper to Kotlin object
    - renamed some methods to reflect property name
    - adjusted nullability of attributes to better match pre-existing values
    - minor refactoring
    - added missing licences
    - replaced client with library licence
    - removed initial Dav4JVM.kt test cases
    
    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    534a7fd View commit details
    Browse the repository at this point in the history
  9. Move to NextcloudClient and OkHttp

    - Further replaced OwnCloudClient with NextcloudClient
    - Moved to and implemented OkHttp/DAV methods
    - Added DavResponse to encapsulate dav responses
    - Added ArrayExtensions.kt to allow converting to legacy PropSet
    - Ported some classes to Kotlin
    - Improved typing on several remote operations
    - Added some comments
    - Minor fixes
    
    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    0cf0355 View commit details
    Browse the repository at this point in the history
  10. Update WebdavEntry to support ExtendedProperties

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    5d3e071 View commit details
    Browse the repository at this point in the history
  11. Add deprecation annotations to ExtendedProperties

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    0fdefc5 View commit details
    Browse the repository at this point in the history
  12. Rename toDavProp() to getDavProp()

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    1e92136 View commit details
    Browse the repository at this point in the history
  13. Update WebdavEntry.kt

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    c07a95e View commit details
    Browse the repository at this point in the history
  14. Fix nullability

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    30fc9ce View commit details
    Browse the repository at this point in the history
  15. Fix tests

    - update ToogleEncryptionRemoteOperation to use NextcloudClient
    - update RemoveFileRemoteOperation to use NextcloudClient
    - add secondary NextcloudClient to AbstractIT
    
    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    f99ab86 View commit details
    Browse the repository at this point in the history
  16. Handle 204 response for RemoveFileRemoteOperation

    - expected default sucess code according to RFC 4918
    
    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    51a33b3 View commit details
    Browse the repository at this point in the history
  17. Adjust calls to CreateFolderRemoteOperation

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    9371022 View commit details
    Browse the repository at this point in the history
  18. Adjust calls to ReadFileRemoteOperation

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    cce1f31 View commit details
    Browse the repository at this point in the history
  19. add test to check for duplicate folder creation

    Signed-off-by: tobiasKaminsky <[email protected]>
    tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    4226e82 View commit details
    Browse the repository at this point in the history
  20. Fix CreateFolderRemoteOperation

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    92d362a View commit details
    Browse the repository at this point in the history
  21. Rename .java to .kt

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    e7a7d13 View commit details
    Browse the repository at this point in the history
  22. Port CreateFolderRemoteOperation to Kotlin

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    6c3d6d1 View commit details
    Browse the repository at this point in the history
  23. Add comment to DavResponse constructor

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    8ec38a2 View commit details
    Browse the repository at this point in the history
  24. Fix spotless

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    c19ec4e View commit details
    Browse the repository at this point in the history
  25. Change nextcloudClient2 to use correct username

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    4395c93 View commit details
    Browse the repository at this point in the history
  26. Adapt ExternalLinksOperation to use NextcloudClient

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    4b45b59 View commit details
    Browse the repository at this point in the history
  27. Use PropFindResult.getContent in ReadFolderRemoteOperation

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    d62bac6 View commit details
    Browse the repository at this point in the history
  28. Fix DashboardGetWidgetItemsRemoteOperationIT

    - repeated runs failed because folder already exists
    - remove folder after test
    
    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    8160da6 View commit details
    Browse the repository at this point in the history
  29. Adapt remote operations to use NextcloudClient

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    57281da View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    7189625 View commit details
    Browse the repository at this point in the history
  31. Change return type of OCCommentsUnread to Int

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    f8ff979 View commit details
    Browse the repository at this point in the history
  32. Refactor path

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    9d1b3c2 View commit details
    Browse the repository at this point in the history
  33. Add missing properties to WebDavFileUtils

    - added remaining properties to switch statement
    - refactored RemoteFile
    - changed nullability
    - added readParcelableArrayCompat()
    - added readSerializableCompat()
    
    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    9d40ba7 View commit details
    Browse the repository at this point in the history
  34. Manual backport of #1446

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    156be2f View commit details
    Browse the repository at this point in the history
  35. Fix OutOfBoundsException when parsing DisplayName

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    4720173 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    4c7e7a1 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    fef6ee3 View commit details
    Browse the repository at this point in the history
  38. NCSharees: fix sharee parsing

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    2ab16f1 View commit details
    Browse the repository at this point in the history
  39. Fix lint

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    273d0aa View commit details
    Browse the repository at this point in the history
  40. Fix nullability

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    ab54918 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    78ce99c View commit details
    Browse the repository at this point in the history
  42. Refactor FileIT.java:testShareViaLinkSharees()

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    2d9cedf View commit details
    Browse the repository at this point in the history
  43. Fix GetCapabilitiesRemoteOperationIT:checkCapability()

    - fallback case would always fail due to double negation
    
    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    8be47a3 View commit details
    Browse the repository at this point in the history
  44. Replace calls to ToggleEncryptionRemoteOperation

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    2118f82 View commit details
    Browse the repository at this point in the history
  45. Adjust calls to GetTagsRemoteOperation

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    2c828ac View commit details
    Browse the repository at this point in the history
  46. Allow AssistantIT to be skipped

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    fe81a2d View commit details
    Browse the repository at this point in the history
  47. Add SPDX headers

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    05c5762 View commit details
    Browse the repository at this point in the history
  48. Clean up

    - SearchRemoteOperationIT
      - improve tests
      - add concrete types
    - ReadFileRemoteOperationIT
      - use NextcloudClient
    - CreateTagRemoteOperation
      - use JSONRequestBody
      - minor refactoring
    
    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    3ba952e View commit details
    Browse the repository at this point in the history
  49. Fix parsing in NCSharees

    - exclude invalid sharees from result
    
    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    84d8422 View commit details
    Browse the repository at this point in the history
  50. Revert "Allow AssistantIT to be skipped"

    This reverts commit 7272e7e.
    
    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    cf58a58 View commit details
    Browse the repository at this point in the history
  51. Revert "Only run GetUserInfoRemoteOperationIT when users are set up a…

    …s expected"
    
    This reverts commit 1602055.
    
    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    750647d View commit details
    Browse the repository at this point in the history
  52. Fix GetCapabilitiesRemoteOperationIT

    - adjust test for assistant capability
    - add comment
    
    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    5018d40 View commit details
    Browse the repository at this point in the history
  53. Fix GetTagsRemoteOperation

    - add OCDisplayName property
    
    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    0a35718 View commit details
    Browse the repository at this point in the history
  54. TEMP: use main-SNAPSHOT for dav4jvm

    - required until bitfireAT/dav4jvm#46 is released
    
    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    6b3920f View commit details
    Browse the repository at this point in the history
  55. NextcloudClient: set global user agent

    - add user agent interceptor
    - PutMethod: allow submission with null body
    
    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    0081edd View commit details
    Browse the repository at this point in the history
  56. Refactor ReadFolderRemoteOperationIT

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    6c10a9b View commit details
    Browse the repository at this point in the history
  57. Fix ReadTrashbinFolderRemoteOperationIT

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    1a76a51 View commit details
    Browse the repository at this point in the history
  58. Adjust calls to CreateFolderRemoteOperation

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    5b6c1ad View commit details
    Browse the repository at this point in the history
  59. Use URLDecoder in WebDavFileUtils:parseResponse()

    - correctly decodes special characters in PropFindMethod
    
    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    f58c781 View commit details
    Browse the repository at this point in the history
  60. Fix NCHidden

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    90da977 View commit details
    Browse the repository at this point in the history
  61. Refactor ToggleFavoriteRemoteOperation

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    e60eb5b View commit details
    Browse the repository at this point in the history
  62. SendCSRRemoteOperation: use JSONRequestBody

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    04bc164 View commit details
    Browse the repository at this point in the history
  63. Fix style

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    dfac6f8 View commit details
    Browse the repository at this point in the history
  64. Add remaining SPDX headers

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    9eb290c View commit details
    Browse the repository at this point in the history
  65. Use secure processing mode when processing XML

    Signed-off-by: ZetaTom <[email protected]>
    ZetaTom authored and tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    6f63dd6 View commit details
    Browse the repository at this point in the history
  66. use snapshot for dav4jvm for now

    Signed-off-by: tobiasKaminsky <[email protected]>
    tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    f269024 View commit details
    Browse the repository at this point in the history
  67. Rename .java to .kt

    Signed-off-by: tobiasKaminsky <[email protected]>
    tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    c6f4543 View commit details
    Browse the repository at this point in the history
  68. migrate to Kotlin

    Signed-off-by: tobiasKaminsky <[email protected]>
    tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    4d43590 View commit details
    Browse the repository at this point in the history
  69. wip

    Signed-off-by: tobiasKaminsky <[email protected]>
    tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    c6a243a View commit details
    Browse the repository at this point in the history
  70. satisfy detekt

    Signed-off-by: tobiasKaminsky <[email protected]>
    tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    309dcc7 View commit details
    Browse the repository at this point in the history
  71. wip

    Signed-off-by: tobiasKaminsky <[email protected]>
    tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    27ba769 View commit details
    Browse the repository at this point in the history
  72. wip

    Signed-off-by: tobiasKaminsky <[email protected]>
    tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    120d6a9 View commit details
    Browse the repository at this point in the history
  73. more tests

    Signed-off-by: tobiasKaminsky <[email protected]>
    tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    af04878 View commit details
    Browse the repository at this point in the history
  74. bump dav4jvm lib

    Signed-off-by: tobiasKaminsky <[email protected]>
    tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    25c261a View commit details
    Browse the repository at this point in the history
  75. bump dav4jvm lib

    Signed-off-by: tobiasKaminsky <[email protected]>
    tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    fa50997 View commit details
    Browse the repository at this point in the history
  76. verification

    Signed-off-by: tobiasKaminsky <[email protected]>
    tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    04eac1b View commit details
    Browse the repository at this point in the history
  77. fix test

    Signed-off-by: tobiasKaminsky <[email protected]>
    tobiasKaminsky committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    7611def View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. wip

    Signed-off-by: tobiasKaminsky <[email protected]>
    tobiasKaminsky committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    4f7f56d View commit details
    Browse the repository at this point in the history