Commit graph

437 commits

Author SHA1 Message Date
81373b7614
Make the ErrorHandler more resilient in case an exception is thrown during the error handling 2020-08-31 21:50:01 +02:00
ce1153a0e2
Upgrade Entity Framework to preview 8 2020-08-31 19:29:03 +02:00
8246c7a862
When json logging is enabled, log it to the console without color or additional timestamp, also log the messages with the correct log level. Remove the logs folder. 2020-08-31 18:46:00 +02:00
546b5450e7
Deal with MTG Gatherer downtime 2020-08-26 23:28:03 +02:00
3c4a5c638b
Upgrade Microsoft.Extensions.* to .NET5 preview 8 2020-08-26 23:15:57 +02:00
a78e92d230
Remove YamlDotNet 2020-08-15 00:40:59 +02:00
79fb7dece6 Merge branch 'rework-localization' into 'master'
Rework Localization

See merge request dbgit/open/geekbot!18
2020-08-14 21:47:44 +00:00
60e36daaec
Translate !stats 2020-08-14 23:34:02 +02:00
33829e91bc
Delete the TranslationHandler and the old translations file. Refactor GeekbotCommandBase to get the server language from guild settings. Create DateLocalization to create a localized relative time remaining string. 2020-08-14 23:15:11 +02:00
078c884df7
Convert Role command to new localization method 2020-08-14 18:11:52 +02:00
90af781c7b
Start Using resource files (.resx) for translations. Create GeekbotCommandBase to reduce command boilerplate. Convert admin, choose, cookies, karma, quote, rank, roll and ship to the new localization method. 2020-08-14 03:30:54 +02:00
12388fd7d0
Curate Media Files 2020-08-14 00:12:14 +02:00
187fd6a04f
Remove code duplication from !quote 2020-08-13 22:46:53 +02:00
726ee77ed4
Fix bug where message links from discord stable would be considered invalid 2020-08-13 20:04:54 +02:00
ad086a5e0c
Make it possible to create quotes from message links 2020-08-13 19:51:56 +02:00
7942308059
Alias "!quote save" with "!quote add" 2020-08-13 18:22:09 +02:00
c893e45004 Merge branch 'TheGreatSplit' into 'master'
The Great Split

See merge request dbgit/open/geekbot!17
2020-08-13 15:59:58 +00:00
d68ce459ef
Fix CI Pipeline: tests should be executed from the tests folder (with a lowercase t) 2020-08-13 17:47:28 +02:00
bd117e2595
Fix Translations file path 2020-08-13 17:42:33 +02:00
97ad54df9e
Rename the folder Tests to tests 2020-08-13 17:23:03 +02:00
61ce14a61d
Change .gitlab-ci and dockerfile to fit the new project structure 2020-08-08 22:33:02 +02:00
fc0af492ad
Split Geekbot.net into src/Bot, src/Core, and src/Web 2020-08-08 22:24:01 +02:00
7b6dd2d2f9
Rename the clients namescape to MalClient, because that was the only thing in there, while other clients got their own namespaces 2020-08-08 21:17:02 +02:00
c22d0cf941
Merge WikipediaApi into the main code base 2020-08-08 21:15:17 +02:00
3813290f89
Simplefy version number during in CI pipeline 2020-08-08 20:55:14 +02:00
9003d6249e
Add !mmr to get League of Legends MMR numbers 2020-07-28 22:14:59 +02:00
913b4a5f10
Change the HttpAbstractions so that the caller can provide its own HttpClient instead of creating parameters for every HttpClient Option 2020-07-28 22:14:22 +02:00
4659f793f5
Add !lmgtfy 2020-07-22 14:32:47 +02:00
fff2324232
Fix build warnings in MediaProvider.cs and TranslationHandler.cs 2020-07-22 14:17:08 +02:00
77e912501d
Upgrade to .NET5 preview 7 2020-07-22 14:09:26 +02:00
4cd7ac1d79
Fix broken DM Channel support 2020-07-15 17:10:50 +02:00
5e9cb8a4c1
Make main async 2020-07-15 03:11:36 +02:00
efed2f7120
Add the !corona command 2020-07-15 03:09:43 +02:00
ba0d116f3e
Add an abstraction for http calls 2020-07-15 02:52:13 +02:00
0589b8e91b
Update EntityFrameworkCore and microsoft.extensions.* to .net5 preview 6 2020-07-10 22:32:42 +02:00
c94d73736d
Use greetings.dev instead of hardcoded greetings 2020-06-30 17:54:01 +02:00
580a514ce5
Rework the media provider 2020-06-25 15:12:41 +02:00
cc22774729
Make sure a die can actually land on its highest number 2020-06-21 21:12:34 +02:00
859db4ebdd
Add some unit tests for the dice parser 2020-06-21 15:49:18 +02:00
acd1cee16c
Reformat !dice help 2020-06-21 03:43:11 +02:00
6d44960867
Rewrite the !dice command from scratch 2020-06-21 03:33:05 +02:00
d7e313c9fa
Update readme 2020-06-20 03:43:02 +02:00
279a8975c9
Expose web api on port 12995 again 2020-06-20 03:42:41 +02:00
194bfd3d3b
remove traces of the docker branch from the ci file 2020-06-20 03:27:08 +02:00
8f41999015
Expose the web api directly on port 80 2020-06-20 03:25:28 +02:00
619f63067c
Remove the ability the lookup username history for moderators 2020-06-20 03:23:27 +02:00
56f788878a
Fix Sumologic environment variable in docker 2020-06-20 03:17:17 +02:00
d9f8e9a80e
Add redshift (and DigitalOcean Managed DB) compatibility and start using a string building to create the sql connection string 2020-06-20 03:05:51 +02:00
a4b914d576
Use Ansible for deployment 2020-06-20 02:51:31 +02:00
3213e10b88
Add Sumologic and Sentry to the run parameters 2020-06-20 00:20:00 +02:00