Configuration
tilttek/journal-bundleEvery key of tilttek_journal, with its default:
tilttek_journal:
# Where the entries are kept: "doctrine", or "memory" for tests.
store: doctrine
# The Doctrine DBAL connection of the entries.
connection: default
# The service that keeps the secrets of the campaigns, implementing
# Tilttek\PlayerKnowledge\Contract\KnowledgeStoreInterface; null when the application defines
# Tilttek\PlayerKnowledge\Knowledge itself.
knowledge_store: ~
# The service that links the names of the blocks to pages, implementing
# Tilttek\Journal\Contract\PageDirectoryInterface; null to leave them as text.
pages_service: ~
# The service that sums up what happened in a session, implementing
# Tilttek\Journal\Contract\SessionEventSourceInterface; null when no summary is assembled.
session_events_service: ~
markdown:
# Where an exported link to a page leads, the identifier of the page in place of "%s".
page_link: '%s.md'
privacy:
# The kind of the author a data subject of phil/privacy-bundle stands for: "member" makes subject 44 the author
# "member:44".
member_kind: member
# What becomes of the published session summaries every reader sees, when their author is erased: "delete", or
# "keep" under a pseudonym.
session_summaries: delete
The container refuses to compile, with the reason, a page_link that holds no %s or another %, and a
member_kind that is not 1 to 64 lowercase letters, digits, _ or - starting with a letter.
In the tests
store: memory keeps the entries in Tilttek\Journal\Store\InMemoryJournalStore, as long as the container lasts,
without the tables, the schema listener or the privacy module:
when@test:
tilttek_journal:
store: memory
Authors
The journal takes the identifiers the application gives it: an author, a journal, a subject. The privacy module finds
a member's entries under <member_kind>:<subject>, so an application that erases its members through
phil/privacy-bundle writes its authors that way, member:44.