This website requires JavaScript.
8d1a1a5ca6
Update dependencies.
projectmoon
2021-04-20 21:19:47 +0000
119321e01a
Update dependencies.
projectmoon
2021-04-02 16:07:15 +0000
ba6a4c9679
Update matrix SDK to latest with Room enum 2.0
projectmoon
2021-03-22 15:01:49 +0000
e5431a587d
Support complex expressions on CoC advancement rolls. (#55 )
projectmoon
2021-03-18 20:54:49 +0000
5a8e40181e
Remove todo, update some CoC command descriptions.
cthulhu-advancement-variables
projectmoon
2021-03-18 20:15:15 +0000
a0429d1116
Support complex expressions on CoC advancement rolls.
projectmoon
2021-03-15 20:56:14 +0000
0821cf2bf5
Change to OpenSSL from LibreSSL.
projectmoon
2021-03-18 19:40:11 +0000
85557c0382
Split handling of comand results from execution.
projectmoon
2021-03-15 20:27:57 +0000
d30d39ff1e
Only consume max allowed commands + 1 when dealing with multiple commands
projectmoon
2021-03-15 20:13:27 +0000
8e4eb574d2
Update to latest matrix SDK and other dependencies.
projectmoon
2021-03-15 20:10:42 +0000
67291e6deb
Switch to Duration::from_secs, because we don't need nanos.
projectmoon
2021-02-10 20:30:17 +0000
7e23f80e42
Get user list: replace format! with direct string conversion.
projectmoon
2021-02-10 20:18:47 +0000
d813198cb0
Reply with executed command as quote (single commands only).
projectmoon
2021-02-09 22:22:09 +0000
693167a581
Log when we are performing initial sync.
projectmoon
2021-02-09 21:59:32 +0000
9ab65b8943
Update env_logger, rand, phf, itertools to newer semvers.
projectmoon
2021-02-09 21:55:24 +0000
8817cae9da
Update dependencies. Should partially address rate limiting.
projectmoon
2021-02-09 21:27:11 +0000
ef4f1ef02f
Small code cleanup in matrix.rs
projectmoon
2021-02-08 20:14:11 +0000
d42e075c5c
Update dependencies.
projectmoon
2021-02-07 21:58:22 +0000
b0707dff05
bot: Move multi-failure response join() call into the format!().
projectmoon
2021-02-07 21:42:32 +0000
304c91c69d
Rename CommandResult to ExecutionResult
projectmoon
2021-02-07 21:39:21 +0000
94be4d2578
Avoid key clone when deleting variables. Minor db code cleanup.
projectmoon
2021-02-07 21:16:58 +0000
14f8bc8b39
Reuse device ID generated by matrix SDK after first login.
projectmoon
2021-02-07 14:21:28 +0000
7db639f16c
Update cargo.lock for 0.9.0
projectmoon
2021-02-07 14:21:21 +0000
b3cd7266e4
Version 0.9.0. Bug fix release. - Properly reject large numbers outside bounds of i32 when rolling dice. - Avoid unnecessary clone of error message when calculating dice amounts. - Allow up to 50 commands to be executed per message. - Show failed commands with errors when executing multiple commands. - Properly format dice plurality when rolling CofD dice pools. - Use 'username pills' instead of raw user ID in response messages. - Update matrix SDK to latest. - General code reorganization for better maintainability.
v0.9.0
projectmoon
2021-02-04 19:37:22 +0000
12b7d355d2
Docker image is 'tiny', not 'glibc-tiny'. Update to 0.8.0.
projectmoon
2021-02-04 18:56:15 +0000
3c177dc304
Always point to glibc-tiny, not glibc.
projectmoon
2021-02-03 23:33:59 +0000
f6099c657e
Always point to glibc image for Docker build.
projectmoon
2021-02-03 23:32:45 +0000
932e06ad91
Fix database error name. Improve dice number conversion error message.
projectmoon
2021-02-03 23:26:41 +0000
b7ccd4e7ad
Refactor dice amount parser to reusable parsers.
projectmoon
2021-02-03 23:21:37 +0000
b32b761f82
Update combine and dependencies.
projectmoon
2021-02-03 23:05:11 +0000
9a5a18268c
Parsing huge numbers are now errors, not variables.
projectmoon
2021-02-03 22:55:29 +0000
f5a8e16ce0
Slight refactor of calculate_dice_amount. Lazy error handling.
projectmoon
2021-02-02 22:02:43 +0000
7512ca0694
Allow up to 50 commands per message.
projectmoon
2021-02-02 21:41:16 +0000
3faca6a2df
Update dependencies.
projectmoon
2021-02-02 20:21:31 +0000
042ecc40e0
Properly format dice plurality in CofD dice pools.
projectmoon
2021-01-31 14:57:15 +0000
df54e6555a
Use 'username bubbles' in responses instead of straight user ID.
projectmoon
2021-01-31 14:46:38 +0000
b3c4d8a38c
Centralize plain text formatting at point of message sending.
really-log-multi-command-failures
projectmoon
2021-01-31 14:06:25 +0000
a4e66a0ca6
Basic output for multiple command failures.
projectmoon
2021-01-31 08:15:22 +0000
d0c6ca3de8
Print out how many commands failed in a multi-command scenario.
projectmoon
2021-01-30 22:13:06 +0000
055bad3a46
Move a type on collect() to variable assignment
projectmoon
2021-01-30 22:12:44 +0000
16eb87e50f
Convert command execution to use results.
projectmoon
2021-01-30 14:17:34 +0000
1b0003ff1b
Upgrade to Matrix SDK latest (Store Rewrite) and Tokio 1.0
projectmoon
2021-01-29 22:35:07 +0000
a4cdad4936
Update dependencies.
projectmoon
2021-01-04 21:12:55 +0000
297a8454f6
Avoid cloning when counting successes.
projectmoon
2020-12-17 21:20:45 +0000
c9c80b974c
Tests for dice pool formatting.
projectmoon
2020-12-17 21:14:43 +0000
eb42704380
Switch to into_iter instead of a non-consuming iterator.
projectmoon
2020-12-17 21:06:43 +0000
f355fad06b
Rename some variables for consistency.
projectmoon
2020-12-17 20:59:29 +0000
23cf9e6ba4
Show all rolls if we are below the max amount shown (15 dice).
projectmoon
2020-12-17 20:54:01 +0000
aa28d8bec7
Actually add call of cthulhu documentation to the readme.
projectmoon
2020-11-30 20:32:11 +0000
62203edce8
Update readme for Call of Cthulhu, roadmap, and other stuff.
projectmoon
2020-11-30 20:31:04 +0000
e177da9c25
Centralize record_room_information function.
projectmoon
2020-11-30 19:53:26 +0000
a65084e04a
Unit test for updating room info data.
projectmoon
2020-11-29 21:33:46 +0000
979dc8ea34
Clearer test name for clearing room info.
projectmoon
2020-11-29 21:29:35 +0000
0b2246cbd5
Unit tests for inserting and loading room info from db.
projectmoon
2020-11-29 21:29:13 +0000
7e1abab66d
Resync command now uses record_room_information.
projectmoon
2020-11-29 21:18:41 +0000
569ba4f2e0
Carry full room instance in context instead of just room id.
projectmoon
2020-11-29 21:03:45 +0000
118e4b00c7
Store room info when joining a room.
projectmoon
2020-11-29 17:06:04 +0000
c8c38ac1d4
Avoid nested map when retrieving room info from db.
projectmoon
2020-11-29 16:55:23 +0000
91cfc52e5b
Change record_users_in_room to record_room_information.
projectmoon
2020-11-29 14:02:40 +0000
224f8cd0f1
Functions for storing RoomInfo in db. Refactor bot joins room event.
projectmoon
2020-11-29 13:59:59 +0000
68db038336
Properly avoid allocation for our_username in resync command.
projectmoon
2020-11-23 19:54:16 +0000
18352c8c19
Filter out our username when resyncing (with an allocation).
projectmoon
2020-11-22 22:13:11 +0000
dda0d74f45
Implement resync command without filtering ourselves out.
projectmoon
2020-11-22 21:30:24 +0000
f46b914239
Add matrix client to context.
projectmoon
2020-11-22 20:52:44 +0000
f352c90b6b
Return error on unrecognized commands.
projectmoon
2020-11-12 21:05:14 +0000
e251294b5f
Only execute lines with commands.
projectmoon
2020-11-12 20:22:08 +0000
0e04e67f6e
Log debug instead of trace for timestamp index inserts.
projectmoon
2020-11-10 20:35:27 +0000
551f21a49a
Fix minor typo in rooms db code.
projectmoon
2020-11-10 20:22:18 +0000
9ed2a81dd3
Record all users in room when joining.
projectmoon
2020-11-10 20:18:00 +0000
0939feee84
Placeholder to record all user info when joining room
projectmoon
2020-11-09 21:14:15 +0000
9349dd5f00
Add event processing check to received messages.
projectmoon
2020-11-09 21:05:44 +0000
74d0b88e80
Add should process check to room member event
projectmoon
2020-11-09 21:13:47 +0000
fb24090952
Keep seen events in database, don't process already-seen events.
projectmoon
2020-11-09 21:14:37 +0000
d7aaed9e00
Implement room clearing, log to info for member updates.
projectmoon
2020-11-07 20:47:49 +0000
b5c78bcee5
Remove userandroom struct from rooms db
projectmoon
2020-11-07 14:39:43 +0000
51ba3e3f42
Record user join/leaves in rooms. Move event emitter to its own file.
projectmoon
2020-11-07 14:37:56 +0000
8e2f34819e
Half implemented room state management foundations.
projectmoon
2020-11-06 21:52:49 +0000
5ce79a3c05
Ignore emacs temp files.
projectmoon
2020-11-08 21:44:37 +0000
a5dde18899
Update to the latest matrix SDK, and fix the Cargo.toml entry.
projectmoon
2020-11-08 21:43:18 +0000
09278a80b5
Disable docker image building on GitHub.
projectmoon
2020-11-06 09:02:59 +0000
0d63f7ebcb
Fix docker registry domain in drone.
projectmoon
2020-11-06 08:24:30 +0000
d2a4d76ab2
Revert "Change repository name for docker image."
projectmoon
2020-11-06 08:23:52 +0000
ff34a93e40
Change repository name for docker image.
projectmoon
2020-11-05 23:32:22 +0000
b3c258e279
Attempt to add docker image build to Drone.
projectmoon
2020-11-05 23:22:26 +0000
fcec37afb2
Fix typo about config file in readme.
projectmoon
2020-11-05 23:04:03 +0000
472f02d153
Execute commands even when surrounded by weird whitespace.
projectmoon
2020-11-05 23:03:22 +0000
3154f36dca
Add build badge
projectmoon
2020-11-05 21:08:17 +0000
bc89088dd1
Fix GitHub link in readme.
projectmoon
2020-11-05 20:48:09 +0000
53840bff9f
Add CoC mention to the readme
projectmoon
2020-11-05 20:39:58 +0000
d456320e66
Update readme for repo mirroring.
projectmoon
2020-11-05 19:56:25 +0000
e7520f6206
Test mirroring to github
projectmoon
2020-11-05 19:47:02 +0000
cdc4254783
Note github moving.
projectmoon
2020-11-05 19:25:44 +0000
6a93194cbb
Add drone CI config.
projectmoon
2020-11-05 19:20:56 +0000
66f9bc6013
Move original dice rolling code into its own 'basic' module.
projectmoon
2020-11-04 20:34:57 +0000
d2642d1fd3
Less verbose errors from internal dice parsing errors.
projectmoon
2020-11-04 20:14:14 +0000
39e6eb9b46
Implement support for user variables in CoC dice rolling.
projectmoon
2020-11-04 20:09:39 +0000
1c3a431643
Less verbose errors from internal dice parsing errors.
projectmoon
2020-11-04 20:14:14 +0000
3ba23cb45a
Implement support for user variables in CoC dice rolling.
projectmoon
2020-11-04 20:09:39 +0000
b142b87d65
Remove references to olm in dynamic mode. No longer necessary.
projectmoon
2020-11-03 21:55:13 +0000
bf4ce24b79
Better public API for user variables, avoid allocations in Context.
v0.8.0
projectmoon
2020-11-03 20:14:15 +0000