d262191d52
Replace preconditions with Discord permissions
...
Removed precondition code, moderator roles, unused database values.
Slightly rearranged commands.
2023-02-03 22:55:00 -08:00
7b374833e3
Merge pull request #41 from NoiTheCat/remove-access-limits
...
Remove all blocking features
2023-01-21 21:55:13 -08:00
304e802c35
Merge pull request #40 from NoiTheCat/fixes/confcheck-error
...
Remove announcement message in /config check (fixes #29 )
2023-01-16 21:58:31 -08:00
bbb640df56
Mark remaining preconditions as obsolete
2023-01-16 21:52:11 -08:00
e4f5c90aab
Remove EnforceBlockingAttribute and all related logic
...
Users have been instructed to manually set command permissions from now on
2023-01-16 21:43:07 -08:00
61126eb84e
Explicit config path in args
2023-01-16 21:28:05 -08:00
e0bb38615a
Remove announcement message in /config check ( fixes #29 )
...
The message can now be seen in the modal used for editing such messages,
making this extra display redundant.
2022-12-18 21:31:55 -08:00
a5f8acb303
Rewrite notice
2022-12-18 21:09:33 -08:00
c20893bfc9
Merge pull request #39 from NoiTheCat/dependabot/nuget/Newtonsoft.Json-13.0.2
...
Bump Newtonsoft.Json from 13.0.1 to 13.0.2
2022-12-18 21:08:12 -08:00
c9aeb5962e
Merge branch 'main' into remove-access-limits
2022-12-17 13:28:01 -08:00
dependabot[bot]
35f5c8efb0
Bump Newtonsoft.Json from 13.0.1 to 13.0.2
...
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json ) from 13.0.1 to 13.0.2.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases )
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/13.0.1...13.0.2 )
---
updated-dependencies:
- dependency-name: Newtonsoft.Json
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 14:57:57 +00:00
9cb2e3250f
Fix instances not starting if first shard is not 0
2022-11-23 00:23:19 -08:00
841d120015
Mark blocking as obsolete, don't accept new blocks
2022-11-23 00:02:20 -08:00
febfd27ece
Merge pull request #38 from NoiTheCat/cleanup
...
Code cleanup
Removes various unneeded things from code and rewrites the shard status display.
2022-11-22 23:42:27 -08:00
4f22d4b991
Merge branch 'main' into cleanup
2022-11-22 23:40:48 -08:00
c0b94dc614
Merge pull request #37 from NoiTheCat/sql-pool-experimenting
...
* Update to Entity Framework Core 7
* Switch to bulk updates/removals in DataRetention
* Remove connection pool configuration settings (including limits)
* Greatly reduce number of open connections existing at one time
2022-11-22 23:32:39 -08:00
a3ac5d6ede
Change data types from long to ulong
2022-11-22 23:19:37 -08:00
0f8b2339ae
Fix incorrect documentation
2022-11-22 20:31:07 -08:00
2c920e9794
Upgrade EFCore, switch to bulk operations
2022-11-21 21:20:48 -08:00
fbd7305818
Revert, unset pool configuration changes
2022-11-21 20:38:06 -08:00
f4d5bfecd0
Reduce shard health report complexity
...
A lot of these things were designed with the thought in mind that
there used to be many, many issues when running the bot on a large
number of servers. The reason for these bugs turned out to be simple:
the hardware was not fast enough to keep up with everything.
This extra reporting and these extra behaviors have not been
necessary for some time, and it is best to remove them.
2022-11-21 19:32:46 -08:00
e62a89d0a0
Use background service semaphore
...
Must have missed it the first time...
2022-11-21 19:17:07 -08:00
a9853021f4
Edit SQL pool config, usage
2022-11-21 10:45:46 -08:00
236c34b810
Actually bump version
2022-10-10 14:42:33 -07:00
db6c811169
Bump version, update references
2022-10-10 14:42:12 -07:00
8f451765d9
Merge pull request #30 from NoiTheCat/fixmodrole
...
Fix incorrect value checked for determining moderator
2022-10-10 14:40:41 -07:00
e265cafd25
Fix incorrect value checked for determining moderator
...
The public instance will be updated with this fix immediately.
This fixes cases in which those with moderator roles are unable
to use mod-only commands as intended.
It also fixes a dangerous bug in which users with the birthday role
assigned to them have unrestricted access to moderator commands.
2022-10-10 14:27:54 -07:00
adf9485b7a
Merge pull request #27 from NoiTheCat/fixchannelparam
...
Fix incorrect summary field on parameter
2022-09-20 15:23:17 -07:00
21785acfb1
Merge pull request #28 from NoiTheCat/fixvanishingtz
...
Fix time zone unset when updating birthday (#26 )
2022-09-20 15:23:08 -07:00
1f6772d18a
Fix time zone unset when updating birthday ( #26 )
2022-09-16 21:48:46 -07:00
d99919e841
Fix incorrect summary field on parameter
2022-09-03 18:13:35 -07:00
854cd0626b
Remove unneeded TODOs
...
A better logging implementation is no longer planned for now, as the
current method has proven to be sufficient so far. It may even continue
to be so for a while.
2022-08-31 21:13:41 -07:00
12fe869b26
Style updates
2022-08-31 21:09:10 -07:00
a725ecca87
Remove unneeded files
2022-08-31 20:25:22 -07:00
3729474525
Update dependencies, bump version
2022-08-31 20:08:51 -07:00
e0d68b01b9
Remove text-based commands
2022-08-30 18:38:22 -07:00
b9604dadfe
Remove text-based commands
2022-08-29 12:22:42 -07:00
619c7a8f7f
Merge pull request #23 from NoiTheCat/dev
...
Various updates
2022-08-09 19:06:30 -07:00
f59dbc0e19
Add warning for deprecated commands
2022-08-09 18:57:14 -07:00
cf2ec97baf
Update dependencies; bump version number
2022-08-09 18:55:19 -07:00
a1302fb594
Switch logging to local time
2022-08-09 18:52:51 -07:00
261d54197d
Load database config on initialization
...
Adapted from RegexBot.
This allows `dotnet ef` tools to make use of actual SQL credentials
rather than dummy ones.
2022-08-09 17:37:29 -07:00
92be9ca073
Sanity checking to command registration
2022-08-09 17:18:25 -07:00
31d5513c9e
Reduce concurrent database operations in background services
2022-08-09 17:05:19 -07:00
1bc241577a
Switch to VSCode project
2022-07-17 11:19:27 -07:00
d7bb8d5205
Cut down on log message spam
2022-07-17 11:18:28 -07:00
18de4e3b70
Fix incorrect config command reference
2022-05-25 09:09:54 -07:00
195b06ab85
Update version, dependencies
2022-05-25 08:53:05 -07:00
eb58d1473a
Import updated code style from other project
2022-05-25 08:52:51 -07:00
f8251a3b71
Fix override remove not acting on correct data
2022-05-25 08:43:38 -07:00