| doc | |
| include | |
| mantisbase | |
| core | |
| logger | |
| log_database.h | SQLite database manager for application logs |
| logger.h | Structured logging wrapper around spdlog with optional SQLite persistence |
| models | |
| access_rules.h | Access rule definition and shared evaluation for entity permissions |
| auth_methods.h | Per-entity login method flags (password, OTP, OAuth) |
| entity.h | MbEntity class for database table operations and CRUD functionality |
| entity_routes.h | Unified entity CRUD route handlers and registration |
| entity_schema.h | MbEntity schema builder and management class |
| entity_schema_field.h | MbEntity schema field definition and validation |
| entity_schema_routes.h | Unified schema CRUD route handlers |
| int_precision.h | Signed/unsigned integer width tokens for entity int fields (i8..u64) |
| validators.h | Validation utilities for entity schemas and request bodies |
| api_keys.h | Programmatic and REST-backed API key management |
| auth.h | JWT session management and entry point for API keys, OAuth, and email OTP login |
| context_store.h | Generic key-value context store for scripting and internal utilities |
| database.h | MbDatabase connection, pooling, and system table migration |
| email.h | |
| exceptions.h | Custom exception class for MantisBase errors |
| expr_evaluator.h | Expression Evaluator Unit for database access rules |
| files.h | File management for record-level file assets |
| http.h | HTTP request/response wrappers with unified body handling |
| kv_store.h | Key-value store for application settings |
| middlewares.h | Middleware functions for request processing |
| oauth.h | OAuth 2.0 / OIDC provider configuration and user login flows |
| realtime.h | Realtime database change detection for SQLite and PostgreSQL |
| realtime_session.h | Shared auth, topic filtering, and session helpers for SSE and WebSocket realtime |
| route_registry.h | In-memory HTTP route table keyed by method and path |
| router.h | HTTP router: route registration, schema cache, CORS, and built-in API endpoints |
| smtp_client.h | |
| sse.h | Server-Sent Events (SSE) manager for the realtime API |
| types.h | Core type aliases, handler signatures, and the MbAppMixin DI mixin |
| ws.h | WebSocket realtime manager and controller for /api/v1/realtime/ws |
| scripting | |
| bindings.h | Duktape registration entry points for MantisBase scripting |
| duk_json.h | Teach dukglue to pass nlohmann::json as a JavaScript value |
| script_json.h | JSON value carried into a Duktape method without going through nlohmann::json |
| scripting_engine.h | Duktape VM lifecycle, mutex-guarded execution, and deadman switch |
| utils | |
| crypto_utils.h | Cryptographic helpers for OAuth PKCE, API keys, and token encryption |
| soci_wrappers.h | SOCI database wrapper utilities |
| utils.h | Collection of utility functions that are re-used across different files |
| uuidv7.h | UUID v7 generation utilities |
| export.h | DLL/shared-library symbol visibility macros for MantisBase |
| mantis.h | Convenience header that includes all MantisBase public API headers |
| mantisbase.h | The main application for mantisbase |
| src | |
| core | |
| logger | |
| log_database.cpp | |
| logger.cpp | |
| models | |
| access_rules.cpp | |
| entity.cpp | |
| entity_crud.cpp | |
| entity_routes_handlers.cpp | |
| entity_schema.cpp | |
| entity_schema_base_fields.cpp | |
| entity_schema_crud.cpp | |
| entity_schema_field.cpp | |
| entity_schema_routes_handlers.cpp | |
| int_precision.cpp | |
| validators.cpp | |
| api_keys.cpp | |
| auth.cpp | |
| context_store.cpp | |
| database.cpp | |
| email.cpp | |
| exceptions.cpp | |
| expr_evaluator.cpp | |
| files.cpp | Implementation for |
| http.cpp | |
| http_request.cpp | |
| http_response.cpp | |
| kv_store.cpp | |
| middlewares.cpp | |
| oauth.cpp | |
| realtime.cpp | |
| realtime_session.cpp | |
| realtime_ws.cpp | |
| route_registry.cpp | |
| router.cpp | |
| router_api_keys.cpp | |
| router_internals.cpp | |
| router_oauth.cpp | |
| smtp_client.cpp | |
| sse_mgr.cpp | |
| sse_session.cpp | |
| types.cpp | |
| platform | |
| mingw_libstdcxx_compat.cpp | |
| scripting | |
| bindings | |
| app_bindings.cpp | |
| auth_bindings.cpp | |
| database_bindings.cpp | |
| files_bindings.cpp | |
| logs_bindings.cpp | |
| mailer_bindings.cpp | |
| middleware_bindings.cpp | |
| realtime_bindings.cpp | |
| request_bindings.cpp | |
| response_bindings.cpp | |
| router_bindings.cpp | |
| settings_bindings.cpp | |
| utils_bindings.cpp | |
| hooks.cpp | |
| router_scripting.cpp | |
| scripting_engine.cpp | |
| utils | |
| auth_utils.cpp | |
| crypto_utils.cpp | |
| date_utils.cpp | |
| path_utils.cpp | |
| string_utils.cpp | |
| main.cpp | Standalone mantisbase executable entrypoint |
| mantisbase.cpp | |
| parse_cmd.cpp | |