Skip to content

Research > Collabora: backend part for insert images from cloud (timeboxed 4pd) #1104

@db-ot

Description

@db-ot

Description

Initial Checklist

  • I understand this is a user story and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

User Story

As a backend system, I want to expose an authenticated API that can be accessed from the Collabora frontend,
so that users can browse and insert images from OC - while researching how PROPFIND requests are used for resource discovery, since this mechanism is not yet fully understood.

Acceptance Criteria

  • Investigate how PROPFIND requests are constructed and used in the Collabora frontend.
  • Explore how to expose an authenticated API endpoint for image browsing and insertion.
  • Evaluate how to generate and return a presigned download URL for image access.

Note ( @kulmann ): the web ui does everything on its own regarding image selection for the user. We have a wrapper around the collabora iframe. The collabora iframe only sends a trigger to the wrapper that it wants to insert an image. The wrapper can respond async with an image URL. For this, web only needs a presigned url / url that can be used without auth headers for the image selected by the user. -> downloadURL prop in all authenticated webdav propfinds would be a nice solution. Needs research if this can be added without a serious performance drop.

Definition of ready

  • Everybody needs to understand the value written in the user story
  • Acceptance criteria have to be defined
  • All dependencies of the user story need to be identified
  • Feature should be seen from an end user perspective
  • Story has to be estimated
  • Story points need to be less than 20

Definition of done

  • Functional requirements
    • Functionality described in the user story works
    • Acceptance criteria are fulfilled
  • Quality
    • Code review happened
    • CI is green (that includes new and existing automated tests)
    • Critical code received unit tests by the developer
  • Non-functional requirements
    • No sonar cloud issues
  • Configuration changes
    • The next branch of the OpenCloud charts is compatible

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions