Skip to content

Improve integrations with metadata and debug routes#338

Merged
ddvk merged 6 commits into
ddvk:masterfrom
nemunaire:integration-improvements
Nov 17, 2024
Merged

Improve integrations with metadata and debug routes#338
ddvk merged 6 commits into
ddvk:masterfrom
nemunaire:integration-improvements

Conversation

@nemunaire
Copy link
Copy Markdown
Collaborator

@nemunaire nemunaire commented Nov 17, 2024

After #240, this implements metadata retrieval, improve download (size is now given) and add some API routes to be able to explore each integrations from the UI (currently not implemented in the UI, but it's already great to debug integrations in the browser instead of the tablet).

Metadata on the tablet permit to display non-convertible files as such, ...

Implemented and tested against all existing integrations except Dropbox.

@nemunaire nemunaire changed the title New dummy Improve integrations with metadata and debug routes Nov 17, 2024
@nemunaire nemunaire force-pushed the integration-improvements branch from 1c030fc to a5bd8c2 Compare November 17, 2024 14:16
localPath := path.Join(d.rootPath, path.Clean(decoded))
return os.Open(localPath)

st, err := os.Stat(localPath)

Check failure

Code scanning / CodeQL

Uncontrolled data used in path expression

This path depends on a [user-provided value](1).
return nil, 0, err
}

res, err := os.Open(localPath)

Check failure

Code scanning / CodeQL

Uncontrolled data used in path expression

This path depends on a [user-provided value](1).
@nemunaire nemunaire mentioned this pull request Nov 17, 2024
@ddvk ddvk merged commit 1a3f0ce into ddvk:master Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants