Commit Graph

40 Commits

Author SHA1 Message Date
ec87cb7423 (TimeSlot): Add random dithers.
Add startup and close dither for ratelimiting.
2022-05-16 20:04:59 +03:00
a2b1c38174 (economy): Rebalance default rewards. 2022-01-24 13:58:16 +02:00
18d6c977d7 (economy): Flip bonus logic and fix workout text.
Default to not giving a bonus.
Fix an issue where `workout` was displaying unboosted reward.
2022-01-24 06:48:32 +02:00
0483233c25 text (rooms): Migrate to scheduled sessions. 2022-01-20 10:31:44 +02:00
beb7a737d4 (rooms): Fetch guilds from other shards.
Manually requests guilds from other shards in `rooms` display.
2022-01-14 18:59:28 +02:00
46fd2b65e4 fix (rooms): Ignore vanishing lobby channel. 2021-12-28 00:27:59 +02:00
0dd5213f13 sharding (accountability): Adapt for sharding.
Filter initially loaded accountability guilds.
Filter timeslots loaded in `open_next`.
Reload members and overwrites on slot start.
2021-12-22 19:07:28 +02:00
f3cf4fcb5a fix (accountability): Disallow near bookings.
Don't allow members to book within 11 minutes of the room start.
Patches a race condition where the open room doesn't include the member.
2021-12-22 08:57:57 +02:00
e797b67c3b fix (rooms): Remove speak permission from room. 2021-11-07 15:09:06 +02:00
10f048fabc fix (rooms): Avoid loading rooms in dead guilds. 2021-11-07 03:16:56 +02:00
42e47bea1a fix (rooms): Cancel rooms on system shutdown.
Fix typos in the `success_response` for `accountability_category`.
Make the `TimeSlot.cancel()` method more robust.
2021-10-20 12:55:36 +03:00
6a43530142 fix (rooms): Harden turnover to deletion.
Fix an issue where `TimeSlot.start()` could propagate an exception.
2021-10-19 20:21:57 +03:00
850e44bbc0 UI (accountability): Add images to room summary. 2021-10-19 19:09:16 +03:00
ed3ead4f88 (Style): Minor wording changes. 2021-10-11 19:34:06 +03:00
af26de6603 (accountability): Close rooms before turnover.
No longer automatically move members from the previous room.
Add extra member hardening to the turnover process.
2021-10-05 11:19:49 +03:00
4a34814a3b (rooms): Restore room permission on rejoin.
Restore current and upcoming accountability room permissions on rejoin.
2021-10-04 19:15:31 +03:00
6506c440e3 fix (rooms): Use original cost when cancelling. 2021-09-28 15:11:52 +03:00
906dc70e3a (rooms): Add interactive lock.
Add an interactive lock so users cannot have multiple menus open simultaneously.
2021-09-28 14:45:25 +03:00
47b29e5400 (accountability): Small fixes.
Check whether guild exists on booked list.
Remove some debugs.
2021-09-28 09:05:49 +03:00
c1b53cedd2 UI (rooms) Mention session guild. 2021-09-27 23:02:21 +03:00
706133f29a fix (rooms): Fix time display again. 2021-09-27 22:23:45 +03:00
20e3d4efe0 fix (rooms): Show hour/minute not minute/second. 2021-09-27 22:20:23 +03:00
ebeb3bec7a UI (accountability): rooms command improvements. 2021-09-27 22:13:03 +03:00
b2aa651eaa fix (rooms): Harden against race conditions.
Add locking to room init, turnover, and cancellation.
Add cleanup of nonexistent members in slot init.
Fix an issue where members were being charged for cancelling rooms.
2021-09-24 21:12:12 +03:00
6be3d075bc fix (rooms): Handle changing iterator in open.
Uses a shallow copy of the accountability guild values.
2021-09-23 21:10:02 +03:00
a8435123ac (rooms): Add space in cmd room format. 2021-09-23 21:07:02 +03:00
2d8d84e2f6 fix (rooms): Fix attr typo in category setting. 2021-09-23 21:06:01 +03:00
026c9a6567 fix (rooms): Improve last-minute booking handling.
Fix an issue where channel permissions wouldn't get updated.
Fix an issue where a member couldn't cancel an open session.
2021-09-22 14:22:02 +03:00
2e28080fd0 fix (rooms): Fix a type issue with member data.
Fixes an issue where member data would sometimes return as `Decimal`,
causing a cascade failure in accountability startup.
2021-09-22 13:56:28 +03:00
8127d7e8ff fix (rooms): Fix typo. 2021-09-21 16:58:20 +03:00
ce3af79d3c fix (rooms): Support joining open slot. 2021-09-21 15:38:48 +03:00
adcd6a8506 fix (rooms cmd): Fix slot filtering in booking. 2021-09-20 20:49:12 +03:00
1452b34f64 (Rooms): Allow booking from the next hour. 2021-09-20 15:49:52 +03:00
0c3f752e5a fix (rooms): Fix permission issues. 2021-09-20 09:57:34 +03:00
47a1972900 fix (Accountability): Fix typo in . 2021-09-19 13:05:30 +03:00
6617139531 fix (Accountability): Typo in TimeSlot. 2021-09-19 13:03:03 +03:00
0a0ac3c6cb (Accountability): Add rooms cancel command. 2021-09-19 12:23:06 +03:00
d39ec3153a (Docs): Update command help categories. 2021-09-19 10:30:25 +03:00
2ee717bc0c (Accountability): New module and base system. 2021-09-19 09:56:25 +03:00
87f16b6a37 Initial Commit: Skeleton structure. 2021-08-25 14:48:20 +03:00