Commit Graph

1623 Commits

Author SHA1 Message Date
conatum 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
conatum 7c2a6c39a7 fix (Ticket): Make default _revert a no-op.
Fixes an issue where pardoning a non-revertable ticket throws an exception.
2021-10-19 19:58:04 +03:00
conatum a044071387 style (settings): Don't display deleted channels.
Hides deleted or inexistent channels in the formatted settings.
2021-10-19 19:42:43 +03:00
AriHoresh 91bdad4a69 Create FUNDING.yml 2021-10-19 18:38:13 +02:00
conatum 8eaaeedf93 fix (settings): Handle empty setting input.
Handle empty `userstr` when parsing setting input.
List types also ignore empty fields or trailing commas.
Fixes an issue where parsing would throw an exception on empty fields.
2021-10-19 19:32:30 +03:00
conatum a52026404b fix (video): Add missing return in response. 2021-10-19 19:15:48 +03:00
conatum 850e44bbc0 UI (accountability): Add images to room summary. 2021-10-19 19:09:16 +03:00
conatum af49a3cde6 fix (core init): Handle preload with no members.
Fixes an issue where bot would crash when loaded with no active members.
2021-10-19 16:18:44 +03:00
conatum 93dcb6bd24 (data): Migration v4 -> v5.
Add migration script for v4 -> v5.
Bump data version in schema and constants.
2021-10-19 13:27:28 +03:00
conatum 1852710352 Merge branch 'python-rewrite' into reaction_roles 2021-10-19 13:23:16 +03:00
conatum 117b424f53 (rroles): Expiry system and small bugfixes.
Completed the `duration` reaction role setting implementation.
Improved the `Duration` setting type format.
Moved reaction roles to their own module.
Various small bugfixes.
2021-10-19 13:19:41 +03:00
conatum cfa3c90841 feature (reaction-roles): Configuration command.
New monolithic `rroles` configuration command.
Complete logging and setting implementation in RR tracker.
Improve strings in RR settings.

Add special `NEWPAGE` manual section parsed by the help command.
Add `tabulated` method for `ObjectSettings` for easy display.
Add `_parse_create` switch for the `Role` setting type.
2021-10-18 15:28:14 +03:00
conatum ed3ead4f88 (Style): Minor wording changes. 2021-10-11 19:34:06 +03:00
conatum 87571d46e0 Merge branch 'utils' into python-rewrite 2021-10-05 11:21:30 +03:00
conatum 4523b16d87 fix (guild admin): Fix typo in module import 2021-10-05 11:20:16 +03:00
conatum 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
conatum 9341f3ce8e Merge branch 'utils' into python-rewrite 2021-10-05 10:23:08 +03:00
conatum 97e441f911 optimisation: Populate data caches on startup. 2021-10-05 10:21:24 +03:00
conatum 8b6f60d7f3 (guild admin): Autoroles and role persistence. 2021-10-05 00:28:33 +03:00
conatum 4a34814a3b (rooms): Restore room permission on rejoin.
Restore current and upcoming accountability room permissions on rejoin.
2021-10-04 19:15:31 +03:00
conatum 021182abde (rooms): Restore permission on guild rejoin.
Restore rented owner and member permissions on rejoin.
Adds a `userid` index to `rented_members_users`.
2021-10-04 18:49:26 +03:00
conatum b31a34e725 (guild admin): Add greeting messages.
New `SettingType` `Message` for general message settings.
New setting `greeting_message`.
New setting `greeting_channel`.
New setting `starting_funds`.
New setting `returning_message`.
Add a greeting message hook.
Add initial funds on lion creation.
Data migration v3 -> v4.
2021-10-04 18:16:34 +03:00
conatum 006f2cfd6d feature (guild admin): Reaction roles base. 2021-10-04 10:09:07 +03:00
conatum a3b339d1cf fix (tickets): Add missing await on reply. 2021-10-02 18:38:13 +03:00
conatum e647c67858 Style (config): Add category pagination.
Break `config` command up into multiple pages.
Remove `donator_roles` setting.
2021-10-01 12:29:28 +03:00
conatum 421c13fb72 (tickets): Small bugfixes.
Only allow one interactive ticket display per user per channel.
Fix guild filtering for ticket display and ticket pardon.
2021-10-01 08:21:51 +03:00
conatum 6ef6c757fb fix (studytracker): Cast NULL badgeid correctly. 2021-09-30 23:12:28 +03:00
conatum 6a044e566f (video): Add warn ticket to video watchdog. 2021-09-30 22:28:09 +03:00
conatum 2374d3420f (guild_admin): Only reset study statistics. 2021-09-30 22:14:17 +03:00
conatum eb2e52d15c Merge branch 'moderation' into python-rewrite 2021-09-30 21:56:40 +03:00
conatum 21cafac98a (guild_admin): statreset command.
Added the `statreset` command for resetting study statistics.
Add the `Guild Admin` command group.
2021-09-30 21:55:50 +03:00
conatum 3ab3721c99 (moderation): pardon command and warn tickets. 2021-09-30 20:51:49 +03:00
conatum 6a2da9c483 (moderation): tickets command and note ticket.
Add new `tickets` command for viewing moderation tickets.
Add `Note` ticket implementation, with command.
Add `offer_delete` context utility.
Add `guild_moderator` command ward.
2021-09-29 23:26:14 +03:00
conatum ca442ea319 fix (LionModule): Remove DM guild ban check. 2021-09-29 12:16:29 +03:00
conatum acc517bebc hotpatch(client): Remove presences intent. 2021-09-29 11:01:20 +02:00
conatum db0c890dd0 fix: Typo in workouts tracker. 2021-09-28 21:06:35 +03:00
conatum 951158ebc2 fix: Add missing file 2021-09-28 21:05:05 +03:00
conatum 9ae0de034f (Sysadmin): Add guild and user blacklist.
v2 -> v3 data migration for the blacklist tables.
Added blacklists and blacklist commands
Added bot admin level to help groups.
2021-09-28 20:54:22 +03:00
conatum b792b081b8 (core): Attach tables as client.data. 2021-09-28 15:12:08 +03:00
conatum 6506c440e3 fix (rooms): Use original cost when cancelling. 2021-09-28 15:11:52 +03:00
conatum 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
conatum 8e86da4abf fix (video): Don't pre-load with no channels. 2021-09-28 09:07:03 +03:00
conatum 47b29e5400 (accountability): Small fixes.
Check whether guild exists on booked list.
Remove some debugs.
2021-09-28 09:05:49 +03:00
conatum b12a1cdf6c (logger): Separate error live logging. 2021-09-28 09:03:11 +03:00
conatum c1b53cedd2 UI (rooms) Mention session guild. 2021-09-27 23:02:21 +03:00
conatum 706133f29a fix (rooms): Fix time display again. 2021-09-27 22:23:45 +03:00
conatum 20e3d4efe0 fix (rooms): Show hour/minute not minute/second. 2021-09-27 22:20:23 +03:00
conatum ebeb3bec7a UI (accountability): rooms command improvements. 2021-09-27 22:13:03 +03:00
conatum 5ca10d5f74 fix (studybadges): Fix empty badge removal error. 2021-09-27 21:43:42 +03:00
conatum f17a2d839a fix (studybadges): Fix cache refresh on update. 2021-09-27 21:31:44 +03:00