Split character limits between local and remote notes (resolves #723)
All threads resolved!
All threads resolved!
What does this PR do?
- Add new
maxRemoteNoteLength
config to separately limit the length of notes from remote instances. - Add new
maxCwLength
config to separately limit the length of content warnings. - Add new
maxRemoteCwLength
config to separately limit the length of content warnings from remote instances. - Add new
maxAltTextLength
config to separately limit the length of media descriptions. - Add new
maxRemoteAltTextLength
config to separately limit the length of media descriptions from remote instances. - Remove obsolete
MAX_NOTE_TEXT_LENGTH
,DB_MAX_NOTE_TEXT_LENGTH
, andDB_MAX_IMAGE_COMMENT_LENGTH
constants. - Remove hardcoded OpenAPI limit on CW length.
Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines
-
I agree to follow this project's Contribution Guidelines -
I have made sure to test this pull request
Edited by Hazelnoot
Merge request reports
Activity
Filter activity
added enhancement label
- Resolved by Hazelnoot
- Resolved by Hazelnoot
added 18 commits
-
f0de0261...72a0f16b - 15 commits from branch
TransFem-org:develop
- 175befe7 - separate character limits for local and remote notes
- 141abb84 - fix UUID format
- d30a30a1 - clarify comment about MAX_NOTE_TEXT_LENGTH in tests
Toggle commit list-
f0de0261...72a0f16b - 15 commits from branch
added 352 commits
-
d30a30a1...ba17776b - 349 commits from branch
TransFem-org:develop
- e35c0f7e - separate character limits for local and remote notes
- 6f7c8f6c - fix UUID format
- 87787b60 - clarify comment about MAX_NOTE_TEXT_LENGTH in tests
Toggle commit list-
d30a30a1...ba17776b - 349 commits from branch
reset approvals from @dakkar by pushing to the branch
- Resolved by Hazelnoot
added 62 commits
Toggle commit listreset approvals from @dakkar by pushing to the branch
added for-next-release label
mentioned in commit 1520bc17
added federation label
Please register or sign in to reply