Commit Graph

14 Commits

Author SHA1 Message Date
projectmoon 2f60bbc643 Convert project to workspace with Tonic for gRPC.
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
This commit adds an RPC service to the dicebot, allowing external
applications to control it. The project was converted to a cargo
workspace to house the protobuf definitions in a common crate
(tenebrous-rpc), so that clients and servers can make use of these
protobuf definitions.
2021-06-01 15:43:18 +00:00
projectmoon b62359c172 Update to rust 1.51 with rustup, for zeroconf 0.4 which requires const generics.
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2021-04-20 21:35:12 +00:00
projectmoon 0821cf2bf5 Change to OpenSSL from LibreSSL.
continuous-integration/drone/push Build is passing Details
2021-03-18 19:40:11 +00:00
projectmoon 12b7d355d2 Docker image is 'tiny', not 'glibc-tiny'. Update to 0.8.0.
continuous-integration/drone/push Build is passing Details
2021-02-04 18:56:15 +00:00
projectmoon 3c177dc304 Always point to glibc-tiny, not glibc.
continuous-integration/drone/push Build is failing Details
2021-02-03 23:33:59 +00:00
projectmoon f6099c657e Always point to glibc image for Docker build.
continuous-integration/drone/push Build is passing Details
2021-02-03 23:32:45 +00:00
projectmoon 8ec19c266f Slightly different way of installing tini. 2020-11-01 19:55:06 +00:00
projectmoon 29ef21087f Remove dynamically linked olm from Dockerfile. 2020-10-31 21:33:52 +00:00
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