nextcloud / nextcloud/files_fulltextsearch

Frontend for $textMimes and $textExtension

Open
#103 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.