nextcloud / nextcloud/files_fulltextsearch
Frontend for $textMimes and $textExtension
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 72
- Forks
- 41
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 9
Description
Enhancement:
I can you extend the admin frontend so an admin can edit the file extensions or mime types that should be handelt as text, in the UI and doesnt have to edit the php file?
these variables are used in the file /lib/Service/FilesService.php and its functions parseMimeTypeText and parseMimeTypeTextByExtension.
I used these two variables to index eml mail-files.
thank you very much!
Contributor guide
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 by inspecting /lib/Service/FilesService.php and the parseMimeTypeText and parseMimeTypeTextByExtension functions to understand how $textMimes and $textExtension are used. Then locate the admin frontend and its settings persistence path; done means an administrator can edit both values in the UI and the service uses those settings when indexing text files such as EML.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- full-stack
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100