Skip to content

chore(config): refactor max-gif-size setting to valid ConfigLexicon name pattern with underscores max_gif_size - #19222

Merged
nickvergessen merged 2 commits into
mainfrom
refactor/config/RefactorTalkConfigToAppConfigMaxGifSize
Sep 3, 2026
Merged

chore(config): refactor max-gif-size setting to valid ConfigLexicon name pattern with underscores max_gif_size#19222
nickvergessen merged 2 commits into
mainfrom
refactor/config/RefactorTalkConfigToAppConfigMaxGifSize

Conversation

@sudormant

Copy link
Copy Markdown
Contributor

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not possible
  • πŸ“˜ API documentation in docs/ has been updated or is not required
  • πŸ”– Capability is added or not needed

helpful commands:
occ config:app:delete spreed max_gif_size
occ config:app:set spreed max_gif_size --value 3145728 --type integer

…ame pattern with underscores

Signed-off-by: Christian Lorang <christian.lorang@nextcloud.com>
@sudormant sudormant added this to the β˜ƒοΈ Next Major (36) milestone Sep 1, 2026
@sudormant sudormant self-assigned this Sep 1, 2026
@sudormant sudormant added feature: settings βš™οΈ Settings and config related issues technical debt labels Sep 1, 2026
Comment thread lib/ConfigLexicon.php Outdated
new Entry(Config::CREATE_SAMPLES, ValueType::BOOL, true, definition: 'Create sample conversations (the content can be overwritten by providing files in a provided `samples_directory` app config)'),
new Entry(Config::MATTERBRIDGE_ENABLED, ValueType::BOOL, false, definition: 'Whether the Matterbridge integration is enabled and can be configured'),
new Entry(Config::DELETE_ONE_TO_ONE_CONVERSATIONS, ValueType::BOOL, false, definition: 'Whether one-to-one conversations can be left by either participant or should be deleted when one participant leaves'),
new Entry(Config::MAX_GIF_SIZE, ValueType::INT, 3145728, definition: 'Maximum file size for clients to render gifs previews with animation'),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should add 'max-gif-size' as rename option?

Signed-off-by: Christian Lorang <christian.lorang@nextcloud.com>
@nickvergessen
nickvergessen merged commit d017e7e into main Sep 3, 2026
78 of 79 checks passed
@nickvergessen
nickvergessen deleted the refactor/config/RefactorTalkConfigToAppConfigMaxGifSize branch September 3, 2026 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: settings βš™οΈ Settings and config related issues technical debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants