Commit Graph

6 Commits

Author SHA1 Message Date
projectmoon 6cdc465a2e Add database and storage of user variables.
This commit introduces the Sled embedded key-value store for keeping
track of user variables on a per-room basis. Extensive changes were
made to the command module to separate concerns and also pass the
database "connection" down the line.

 - A new "Context" object was created to hold information and state
   needed for command execution (namely the database).
 - Database is very simple for now, storing only user variables.
   Refactoring later for storing more complicated types.
 - State actor moved into Actors struct, in preparation for either
   more actors, or ripping the whole thing out entirely.
 - Other modules are also more properly separated, notably
   the config module is entirely self-contained.
2020-10-16 13:18:27 +00:00
projectmoon 564515e22f Remove commented rustup init in Dockerfile. 2020-09-27 13:01:49 +00:00
projectmoon fafae6175b Update to latest matrix SDK; dynamic libolm; Dockerfile cleanup.
Updates to the latest matrix SDK, which has a new version of olm-sys
(must be dynamically linked at the moment). Also cleans up the
Dockerfile to remove rustup because Void has reached Rust 1.46.0, for
a faster build.
2020-09-25 22:31:11 +00:00
projectmoon 33ac91063b Set cache dir to something more accessible. 2020-08-27 19:49:21 +00:00
jeff f3de145663 New Dockerfile to work with glibc. 2020-08-27 19:49:21 +00:00
jeff 2a90927760 Add Dockerfile for self-contained deployment. 2020-08-23 21:24:04 +00:00