Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
"Childs",
"Mimisbrunnr"
],
"cSpell.language": "en,ru,ru-RU"
"cSpell.language": "en,ru,ru-RU",
"dotrush.roslyn.projectOrSolutionFiles": [
"Mimisbrunnr.sln"
]
}
6 changes: 6 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ A wiki system for storing knowledge (Atlassian Confluence alternative).
│ │
│ ├── Mimisbrunnr.Persistent/ # File storage (Local/GridFS/WebDAV/S3)
│ │
│ ├── Mimisbrunnr.PageTemplates/ # Page templates (entities, manager, contracts)
│ │
│ ├── Mimisbrunnr.Favorites/ # Favorites
│ │
│ ├── Mimisbrunnr.Json/ # JSON utilities
Expand All @@ -63,6 +65,8 @@ A wiki system for storing knowledge (Atlassian Confluence alternative).
| **Backend API** | `src/Mimisbrunnr.Web/` |
| **Models/Business Logic** | `src/Mimisbrunnr.Wiki/` |
| **MongoDB Repositories** | `src/Mimisbrunnr.Storage.MongoDb/` |
| **Page Templates** | `src/Mimisbrunnr.PageTemplates/`, `src/Mimisbrunnr.Web/PageTemplates/` |
| **Template Renderer** | `src/Mimisbrunnr.Web.Infrastructure/StubbleTemplateRenderer.cs` |
| **Entry Point** | `src/Mimisbrunnr.Web.Host/Program.cs` |

## Frontend Details
Expand Down Expand Up @@ -132,3 +136,5 @@ For details: see README.md Configuration section.
3. **Mapperly**: Mapper generation via Riok.Mapperly (NET 8 source generators)
4. **Swagger**: API documented via Swashbuckle.AspNetCore
5. **Prometheus Metrics**: Metrics collection via prometheus-net
6. **Page Templates**: Three template types (System, User, Space) with Mustache rendering via `ITemplateRenderer`
7. **Stubble Template Renderer**: Mustache-based engine used for page templates and plugin macros. Built-in helpers: `UrlEncode`, `HtmlEncode`, `ToLower`, `ToUpper`, `Uuid` (generates unique IDs without hyphens). See `docs/stubble-renderer.md` for details.
407 changes: 273 additions & 134 deletions Mimisbrunnr.sln

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ Support for the following features:
- Favorites
- Plugins
- Macros for pages (additional functional for pages)
- Page Templates
- Create and manage reusable page templates (System, User, Space)
- Mustache-based templating (via Stubble) with variables for date/time, user info, and space context
- Create new pages from templates with rendered content
- Template access control: System templates (global admin), User templates (owner only), Space templates (space admin)
- Administration
- Change wiki instance title
- Enabling anonymous access (permission to read public spaces and access to wiki without authentication)
Expand All @@ -94,6 +99,7 @@ Support for the following features:
- Enable
- Remove (with clean all plugin data)
- Link to simple plugin editor
- Manage page templates (system-wide templates)
- Hosting
- Simple scalable
- Three types of caching (one for single node and two for multiple nodes)
Expand Down
Loading
Loading