Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

1897-Enable_session_cookie_sharing_on_dav_requests

Description

To enable session-cookie sharing per request, we need to refactor the ownCloudClient implementation.

Screenshots

Technical details

  • refactor ownCloudClient implementation similar to NC android app, so session-cookie can be shared
  • update the ownCloudCLient after each request, so cookies get updated
  • fix stateMachine's state is not updating after logout
  • clear ownCloudClient instance after login & logout
  • fix an issue which occurs when sharing cookie between requests: rootFolderSetupWorkers are executing concurrently, which caused 401 when sharing cookies. Making them chained calls resolves this issue.

Tests

Issues

10 commandments of code reviews

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/mobile-team/guidelines/Code-review

Merge request reports

Loading