OpenSlides / OpenSlides/openslides-meta
Constraints based on is_directory value
Open
Nobody has claimed this yet.
- Dominant language
- PLpgSQL
- Stars
- 0
- Forks
- 25
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 12
Description
token, filesize, filename, pdf_information, and mimetype are allowed only when is_directory == False. filename is required in this case. Sources:
- https://github.com/OpenSlides/OpenSlides/wiki/Mediafiles
- schema of
mediafile.uploadbackend-action
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the schema of the mediafile.upload backend-action and compare it with the Mediafiles wiki page linked in the issue. Verify how is_directory controls token, filesize, filename, pdf_information, and mimetype, including the required filename case; done means the schema enforces all listed constraints.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100