* feat: initial support for synced tenants * fix: cleanup * fix: logger now respects logging level * fix: cache now ignores updates issued from itself * feat: print subscriber count * feat: initial nunjucks support * fix: support tenant cache for oidc strategy * fix: replace some constructor initializers with property initializers * fix: audit * [next] Comments and Moderation (#1759) * feat: initial moderation + validation for new comments * fix: added Promiseable type * feat: initial actions impl * feat: more moderation phases * fix: handle settings inheritence * fix: moved settings into new file * fix: defaults and documentation * fix: replace merge with object spread * feat: added integration with akismet * fix: fixed compile * fix: import ordering * fix: merge issue causing build to fail * feat: added gulp, static templates * fix: added compile step back * Fix extract css + remove cross-env
1.4 KiB
Design
HTTP Routes
Stream API
/api/tenant/graphql /api/tenant/auth
Tenant Management API
/api/management/graphql /api/management/auth
Folder structure
/graph/tenant <-- tenant's api (comments, assets, ...)
/graph/management <-- tenant management api
- No tenants
- Create a tenant <-- consuming the TMA
Database connections
Redis Clients
- Tenant RedisPubSub Subscriber
- Tenant RedisPubSub Publisher
- Management RedisPubSub Subscriber
- Management RedisPubSub Publisher
Scripts
Embed
Embed Script - Renders the iFrame <-- does not have a html page in production (should be on server?)
/dist/static/assets/embed.js /static/embed.js
Stream
Stream - Renders the comment stream <-- data
/dist/static/assets/stream..css /static/assets/stream..css /dist/static/assets/stream..js /static/assets/stream..js /dist/static/stream.html /embed/stream
Admin
Admin - Renders the Admin page <-- data
/dist/static/assets/admin..css /static/assets/admin..css /dist/static/assets/admin..js /static/assets/admin..js /dist/static/admin.html /admin
Development Routes
localhost:3000 / -> /admin /dev <-- server side html for dev/iframe integration
localhost:8080 / -> localhost:3000/dev /embed/stream <-- stream html (now is at /) /admin <-- stream html (now is not there)