Increase max string length of account properties
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
Users may want to add longer text to some account property fields such as Biography/About. Currently the max length is 2048 characters, see below https://github.com/nextcloud/server/blob/4dc226ee9195f0a1f5c859525c91f7a08b3feb31/lib/private/Accounts/AccountManager.php#L197-L199
We may either increase the max length for all properties or just for Biography, and if this is the case then we should decide on what this new max length should be :)
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 at lib/private/Accounts/AccountManager.php lines 197-199 and inspect how account-property lengths are validated. Confirm whether the change applies to Biography/About or all properties, decide the new limit, and verify the affected account-property behavior with the repository’s relevant tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100