koko
f084189a29
Add workaround for the clickable user links in a grief report ( #846 )
2023-07-21 14:55:04 +00:00
Slendy
1c00db53ae
Fix photo upload timestamp regression
2023-07-18 01:28:31 -05:00
Slendy
20a5fa6aa3
Fix sorting by game on LBP2
2023-07-17 15:09:45 -05:00
Slendy
21dce144ce
Make LBP3 lucky dip lucky again
2023-07-14 16:43:51 -05:00
Slendy
282fd4e073
Bump dependencies and fix digest unit tests
2023-07-14 16:41:15 -05:00
Slendy
fc4c8d3278
Fix argument parsing when deleting users from website
2023-07-11 15:48:23 -05:00
Slendy
1b170081eb
Fix bug when trying to create users
2023-07-09 11:52:32 -05:00
koko
25bb2ecfc1
Add the ability for moderators to forcibly lock levels ( #831 )
...
* Add the ability for moderators to forcibly lock levels
* Prevent forcibly locking an already locked level
I had to rollback and re-commit this because I was getting some weird error within Rider.
* Correct moderation notice header styling & remove errant text
2023-07-07 22:44:05 +00:00
dependabot[bot]
df4d717763
Bump Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore from 7.0.7 to 7.0.8 ( #815 )
...
Bump Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
Bumps [Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore](https://github.com/dotnet/aspnetcore ) from 7.0.7 to 7.0.8.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v7.0.7...v7.0.8 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 21:56:53 +00:00
dependabot[bot]
049be83104
Bump Microsoft.EntityFrameworkCore.Design from 7.0.7 to 7.0.8 ( #826 )
...
Bumps [Microsoft.EntityFrameworkCore.Design](https://github.com/dotnet/efcore ) from 7.0.7 to 7.0.8.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/compare/v7.0.7...v7.0.8 )
---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.Design
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 21:40:32 +00:00
dependabot[bot]
a3d5a3171b
Bump JetBrains.Annotations from 2022.3.1 to 2023.2.0 ( #828 )
...
Bumps [JetBrains.Annotations](https://github.com/JetBrains/JetBrains.Annotations ) from 2022.3.1 to 2023.2.0.
- [Commits](https://github.com/JetBrains/JetBrains.Annotations/compare/v2022.3.1...v2023.2.0 )
---
updated-dependencies:
- dependency-name: JetBrains.Annotations
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 21:40:29 +00:00
github-actions[bot]
3dfdd620a0
Update the localization files ( #829 )
...
[skip ci] Update the localization files
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2023-07-05 16:25:25 -05:00
koko
872a161459
Fix null case bug in BannedUserPage and properly add no expiration text ( #825 )
...
* Fix null case bug in BannedUserPage and properly add no expiration text
* Correct maximum expiration hour to 23 (uses 24-hour)
* Improve wording for do not expire string
* Handle empty case reason string
* Move list to it's own div per HTML spec
* Move maximum expiration DateTime to the model
* Correct linq statement chaining style
* Use lambda operator instead of explicit accessor for MaximumExpiration
2023-07-05 21:15:34 +00:00
dependabot[bot]
3115030c11
Bump Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation from 7.0.7 to 7.0.8 ( #814 )
...
Bump Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation
Bumps [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation](https://github.com/dotnet/aspnetcore ) from 7.0.7 to 7.0.8.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v7.0.7...v7.0.8 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 15:25:22 +00:00
dependabot[bot]
644c652af9
Bump Discord.Net.Webhook from 3.10.0 to 3.11.0 ( #819 )
...
Bumps [Discord.Net.Webhook](https://github.com/Discord-Net/Discord.Net ) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/Discord-Net/Discord.Net/releases )
- [Changelog](https://github.com/discord-net/Discord.Net/blob/dev/CHANGELOG.md )
- [Commits](https://github.com/Discord-Net/Discord.Net/compare/3.10.0...3.11.0 )
---
updated-dependencies:
- dependency-name: Discord.Net.Webhook
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 15:25:15 +00:00
dependabot[bot]
b2730125e5
Bump Microsoft.EntityFrameworkCore from 7.0.7 to 7.0.8 ( #820 )
...
Bumps [Microsoft.EntityFrameworkCore](https://github.com/dotnet/efcore ) from 7.0.7 to 7.0.8.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/compare/v7.0.7...v7.0.8 )
---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 15:25:08 +00:00
dependabot[bot]
c9a9cd27c7
Bump Microsoft.NET.Test.Sdk from 17.6.2 to 17.6.3 ( #821 )
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.6.2 to 17.6.3.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md )
- [Commits](https://github.com/microsoft/vstest/compare/v17.6.2...v17.6.3 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 15:25:00 +00:00
Slendy
4098a710c3
Fix a kokoism
...
Move autocorrect attribute to correct input
2023-06-29 00:39:13 -05:00
koko
88f8eec8a0
Do not autocomplete admin command form values ( #822 )
2023-06-28 22:49:31 +00:00
Slendy
5c66b0f713
Improve input validation for story level moderation
2023-06-26 23:41:30 -05:00
koko
f965be88b7
Website announcements fixes and additions ( #818 )
...
* Render line breaks in announcement content
* Track announcement publisher
* Change paragraph tag to a div for consistency
* Fix bottom padding for announcement content
* Track publisher user entity rather than just the username
* Potentially fix a migration failure
* Final code cleanup
* Fix linq statement chaining style
---------
Co-authored-by: Dagg <daggintosh@outlook.com>
2023-06-27 03:02:11 +00:00
Josh
14ebad07f3
Allow moderators to moderate story levels ( #809 )
...
* Allow moderators to view story levels on website
Show comments to moderators on in-game story levels that show the levels id
* Only show LH ID comment on the first page
2023-06-26 23:52:15 +00:00
dependabot[bot]
6e92ddc89f
Bump Microsoft.AspNetCore.Mvc.Testing from 7.0.7 to 7.0.8 ( #817 )
...
Bumps [Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore ) from 7.0.7 to 7.0.8.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v7.0.7...v7.0.8 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Mvc.Testing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 23:51:49 +00:00
dependabot[bot]
4286390c93
Bump Microsoft.EntityFrameworkCore.InMemory from 7.0.7 to 7.0.8 ( #816 )
...
Bumps [Microsoft.EntityFrameworkCore.InMemory](https://github.com/dotnet/efcore ) from 7.0.7 to 7.0.8.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/compare/v7.0.7...v7.0.8 )
---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.InMemory
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 23:51:42 +00:00
dependabot[bot]
a7545d9b3e
Bump dotnet-ef from 7.0.7 to 7.0.8 ( #813 )
...
Bumps [dotnet-ef](https://github.com/dotnet/efcore ) from 7.0.7 to 7.0.8.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/compare/v7.0.7...v7.0.8 )
---
updated-dependencies:
- dependency-name: dotnet-ef
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 23:51:33 +00:00
Slendy
3b0c0c9b0e
Fix score parsing for versus scores
2023-06-26 18:50:38 -05:00
github-actions[bot]
7c12958d46
Update the localization files ( #811 )
...
[skip ci] Update the localization files
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2023-06-23 02:19:26 -05:00
koko
689ebd3791
Optimize GameServer /announce and add website announcements ( #810 )
...
* Improve game server announce by using StringBuilder
* Implement web announcements (condensed commit)
* Implement discord webhook support
* Display a separate message if there are no announcements
* Fix announcement string unit tests
* Fix header admin button unit test
* Clarify announcement id variable name
* Increase webhook truncation limit to 250 chars
* Convert announce text to string when returning 200
* Fix announcement unit tests ... again
* Make announcement text input a textarea rather than a simple input
* Fix styling discrepancy
* Clarify submission button
* Improve announcement webhook & set default textarea row amount
2023-06-23 03:49:22 +00:00
Slendy
0fd8759f3f
Add design-time factory for DbContext
2023-06-20 16:17:12 -05:00
Slendy
ab98da42c3
Fix LBP2 recently played for story levels
2023-06-20 02:16:48 -05:00
Slendy
57981960b6
Fix serialization of story levels
2023-06-20 01:52:08 -05:00
Josh
e43397ac6a
Implement property dependency injection for the website ( #806 )
...
* Remove most non DI usages of DbContext
* Optimize website queries and refactor startup to use top level statements
* Remove unused functions in UserEntity and SlotEntity
* Optimize LBP1 LevelTags
2023-06-20 05:02:24 +00:00
dependabot[bot]
727dd4e903
Bump YamlDotNet from 13.1.0 to 13.1.1 ( #807 )
...
Bumps [YamlDotNet](https://github.com/aaubry/YamlDotNet ) from 13.1.0 to 13.1.1.
- [Release notes](https://github.com/aaubry/YamlDotNet/releases )
- [Commits](https://github.com/aaubry/YamlDotNet/compare/v13.1.0...v13.1.1 )
---
updated-dependencies:
- dependency-name: YamlDotNet
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-20 00:35:46 +00:00
Slendy
a806c1a61d
Make website integration tests run in serial
2023-06-18 18:43:20 -05:00
koko
e5cfeb1e39
Censor filter logging improvements ( #804 )
...
* Move censor/msg logging to MessageController & separate LogAreas/config
* Correct LBP character limit to 95
* Log filtered comments as well
* Remove two unnecessary variables from CensorHelper
* Add censor logging to SlotPage/UserPage controllers and improve logging slightly
* Remove accidental dollar sign in log
* Grammatical nitpick in CommentController.cs
* Contextual nitpick in MessageController.cs
* Add escaped quotes in CommentController log to match the rest
* Increase limit to account for descriptions, magic mouth, etc.
* Consolidate LogChatMessages logging into Filter log area to prevent confusion
* Apply code review suggestions
2023-06-18 23:39:39 +00:00
Slendy
8b1121a4f8
Handle exceptions in repeating tasks
2023-06-18 15:59:32 -05:00
Slendy
425245fd07
Prevent users from hearting themselves
2023-06-17 15:11:26 -05:00
Josh
a0d021f1e2
Refactor RepeatingTaskHandler ( #796 )
...
* Refactor RepeatingTaskHandler into an ASP.NET service
* Add unit tests for RepeatingTaskService
* Make repeating task unit tests work independent of time
* Fix weird behavior when task is canceled
2023-06-17 19:48:24 +00:00
github-actions[bot]
9ac8a166d4
Update the localization files ( #802 )
...
[skip ci] Update the localization files
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2023-06-17 12:12:32 -05:00
koko
bf2e36e8a4
Handle edge case bug in banned page ( #801 )
2023-06-17 04:12:46 +00:00
dependabot[bot]
73bb810678
Bump Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation from 7.0.5 to 7.0.7 ( #797 )
...
Bump Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation
Bumps [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation](https://github.com/dotnet/aspnetcore ) from 7.0.5 to 7.0.7.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v7.0.5...v7.0.7 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-17 02:19:28 +00:00
dependabot[bot]
1c3869cf00
Bump dotnet-ef from 7.0.5 to 7.0.7 ( #798 )
...
Bumps [dotnet-ef](https://github.com/dotnet/efcore ) from 7.0.5 to 7.0.7.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/compare/v7.0.5...v7.0.7 )
---
updated-dependencies:
- dependency-name: dotnet-ef
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-17 02:19:21 +00:00
dependabot[bot]
0126351e87
Bump Microsoft.EntityFrameworkCore.InMemory from 7.0.5 to 7.0.7 ( #799 )
...
Bumps [Microsoft.EntityFrameworkCore.InMemory](https://github.com/dotnet/efcore ) from 7.0.5 to 7.0.7.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/compare/v7.0.5...v7.0.7 )
---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.InMemory
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-17 02:19:15 +00:00
github-actions[bot]
9e1f677585
Update the localization files ( #800 )
...
[skip ci] Update the localization files
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2023-06-16 21:04:21 -05:00
koko
bfb7f4b107
Optimize censor filter system ( #795 )
...
* Log censored messages through filter & dead code removal
* Log original message instead of filtered message
* Better use of StringBuilder in CensorHelper, one can now send the server 64 MB of just the word fuck without things exploding into a mess of GC.
* Fix infinite loop caused by my migraine <3
* Minor code nitpicks and remove "restitched"/"h4h" from default censor list
Realistically "restitched" and "h4h" should not be in the default content filter list as they aren't causing harm to anyone. It seems these were added jokingly and nobody took them out.
* Add a few more definitions to the default swear filter list
* Fix possible crash when censoring using uwu mode
* Apply suggestions from code review
* "I am...inevitable." - Errant Whitespace, 2023
Apply code review suggestions
Co-authored-by: Josh <josh@slendy.pw>
* A few more code review suggestions
* Clarify character limit constant naming
---------
Co-authored-by: Rosie <alkalinethunder@gmail.com>
Co-authored-by: Josh <josh@slendy.pw>
2023-06-16 21:35:15 +00:00
dependabot[bot]
6581a71a26
Bump Microsoft.EntityFrameworkCore.Design from 7.0.5 to 7.0.7 ( #791 )
...
Bumps [Microsoft.EntityFrameworkCore.Design](https://github.com/dotnet/efcore ) from 7.0.5 to 7.0.7.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/compare/v7.0.5...v7.0.7 )
---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.Design
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-16 01:24:48 +00:00
dependabot[bot]
0b6789f5e1
Bump Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore from 7.0.5 to 7.0.7 ( #793 )
...
Bump Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
Bumps [Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore](https://github.com/dotnet/aspnetcore ) from 7.0.5 to 7.0.7.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v7.0.5...v7.0.7 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-16 01:05:58 +00:00
dependabot[bot]
8bd46c843b
Bump Microsoft.AspNetCore.Mvc.Testing from 7.0.5 to 7.0.7 ( #794 )
...
Bumps [Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore ) from 7.0.5 to 7.0.7.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v7.0.5...v7.0.7 )
---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Mvc.Testing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: koko <koko@drones.gay>
2023-06-16 01:05:50 +00:00
dependabot[bot]
2f00bc3cf7
Bump Microsoft.EntityFrameworkCore from 7.0.5 to 7.0.7 ( #792 )
...
Bumps [Microsoft.EntityFrameworkCore](https://github.com/dotnet/efcore ) from 7.0.5 to 7.0.7.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/compare/v7.0.5...v7.0.7 )
---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-15 17:13:31 +00:00
dependabot[bot]
cd5131daa2
Bump Selenium.WebDriver.ChromeDriver from 113.0.5672.6300 to 114.0.5735.9000 ( #776 )
...
Bump Selenium.WebDriver.ChromeDriver
Bumps [Selenium.WebDriver.ChromeDriver](https://github.com/jsakamoto/nupkg-selenium-webdriver-chromedriver ) from 113.0.5672.6300 to 114.0.5735.9000.
- [Changelog](https://github.com/jsakamoto/nupkg-selenium-webdriver-chromedriver/blob/master/RELEASE-NOTES.txt )
- [Commits](https://github.com/jsakamoto/nupkg-selenium-webdriver-chromedriver/compare/v.113.0.5672.6300...v.114.0.5735.9000 )
---
updated-dependencies:
- dependency-name: Selenium.WebDriver.ChromeDriver
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-15 17:13:23 +00:00