4 Commits

Author SHA1 Message Date
Alexander Brandon Coles 78ed9ea580 Freeze string literals in config
rubocop -A --only Style/FrozenStringLiteralComment,Layout/EmptyLineAfterMagicComment,Style/RedundantFreeze config
2025-08-19 17:04:00 +01:00
Oliver Günther f7ca9581df Allow meeting outcomes to have an author 2025-04-10 08:34:19 +02:00
Jan Sandbrink 07a2b146ae Add short-hand syntaxes to add reference replacements
There is now add_replacements which accepts a hash, allowing to
add multiple replacements in one call. This should make mass-adding
replacements look less bulky.

Also including helpers to ActsAsOpEngine to make adding replacements
from a module nicer.
2024-12-19 11:09:19 +01:00
Jan Sandbrink 4536859663 Refactor ReplaceReferencesService
Instead of expecting modules to selectively overwrite
methods of this class, we offer an explicit extension point
where replacements can be registered explicitly.

Thus patching the implementation is not necessary anymore, instead
it can be configured from initializers.
2024-12-19 08:24:41 +01:00