Skip to content

Simplify backend class hierarchy#2152

Merged
RogerHaase merged 3 commits intomoinwiki:masterfrom
roland-ruedenauer:simplify-backend-class-hierarchy
Feb 21, 2026
Merged

Simplify backend class hierarchy#2152
RogerHaase merged 3 commits intomoinwiki:masterfrom
roland-ruedenauer:simplify-backend-class-hierarchy

Conversation

@roland-ruedenauer
Copy link
Copy Markdown
Contributor

No description provided.

@roland-ruedenauer roland-ruedenauer force-pushed the simplify-backend-class-hierarchy branch 3 times, most recently from 15f82e2 to da8d251 Compare February 10, 2026 19:33
@roland-ruedenauer roland-ruedenauer force-pushed the simplify-backend-class-hierarchy branch from da8d251 to 7631700 Compare February 18, 2026 16:19
…oin configuration classes

* merge MutableBackend with Backend (moin uses only mutable backends anyway)
* type hinting: any resolved storage backend is known to dervied from class BackendBase (independent from mutability)
* add property 'read_only' to class BackendBase to indicate read-only backends
* the routing backend now evaluates the 'read_only' property instead of checking if a backend instance is of type MutableBackend
* get rid of mixin classes BytesMutableStoreMixin and FileMutableStoreMixin and their uses in stores (violating LSP)
* move class ByteToStreamWrappingStore into test code
* added class PasswordHasherConfig to provide PasswordHasher configuration values
* add type hints to configuration classes
* use class ConfigDataCache for cached configuration data (compiled regexes, password hasher)
@roland-ruedenauer roland-ruedenauer force-pushed the simplify-backend-class-hierarchy branch from 7631700 to b1cdb0e Compare February 20, 2026 22:09
@roland-ruedenauer roland-ruedenauer marked this pull request as ready for review February 21, 2026 10:07
@RogerHaase RogerHaase merged commit 164bc7b into moinwiki:master Feb 21, 2026
10 checks passed
@roland-ruedenauer roland-ruedenauer deleted the simplify-backend-class-hierarchy branch February 21, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants