Slendy
a796cb9185
Add basic checks to grief reporting
2023-02-18 07:15:39 -06:00
Slendy
cf1adbe640
Make the rate limiter more thread safe
2023-02-18 04:33:09 -06:00
Josh
64b95e807d
Refactor Database class ( #616 )
...
Refactor Database into DatabaseContext
Moved into separate folder so it actually has a namespace instead sitting in the root
2023-02-15 23:54:30 -06:00
Slendy
2aff26f83d
Merge remote-tracking branch 'lighthouse/main'
2023-02-15 23:36:12 -06:00
Slendy
d3a4805f6d
Fix mismatched timestamp fields
2023-02-15 23:36:03 -06:00
dependabot[bot]
3c1038a201
Bump Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore from 7.0.2 to 7.0.3 ( #678 )
...
Bump Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
Bumps [Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore](https://github.com/dotnet/aspnetcore ) from 7.0.2 to 7.0.3.
- [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/commits )
---
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-02-14 17:24:24 +00:00
dependabot[bot]
8239d81195
Bump Microsoft.EntityFrameworkCore.Design from 7.0.2 to 7.0.3 ( #676 )
...
Bumps [Microsoft.EntityFrameworkCore.Design](https://github.com/dotnet/efcore ) from 7.0.2 to 7.0.3.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/commits )
---
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-02-14 17:24:18 +00:00
dependabot[bot]
6d6e623ef7
Bump Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation from 7.0.2 to 7.0.3 ( #677 )
...
Bump Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation
Bumps [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation](https://github.com/dotnet/aspnetcore ) from 7.0.2 to 7.0.3.
- [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/commits )
---
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-02-14 17:18:50 +00:00
dependabot[bot]
f2f492b8bb
Bump Microsoft.AspNetCore.Mvc.Testing from 7.0.2 to 7.0.3 ( #674 )
...
Bumps [Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore ) from 7.0.2 to 7.0.3.
- [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/commits )
---
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-02-14 17:18:39 +00:00
dependabot[bot]
083390be18
Bump Microsoft.EntityFrameworkCore from 7.0.2 to 7.0.3 ( #675 )
...
Bumps [Microsoft.EntityFrameworkCore](https://github.com/dotnet/efcore ) from 7.0.2 to 7.0.3.
- [Release notes](https://github.com/dotnet/efcore/releases )
- [Commits](https://github.com/dotnet/efcore/commits )
---
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-02-14 17:18:18 +00:00
Josh
f1c5ad4002
Major refactor and reorganization of types ( #652 )
...
* Start of reorganization and cleanup
* Remove duplicate title id
* Refactor types
* Fix Release building
* Move classes in /Types to a Types namespace
* Fix compilation error (RoomVisualizerPage strikes again)
* Fix bugs created from auto merge
* Fix auto-merge compilation error
* Changes from review/fix failed merge
2023-02-13 22:02:58 -06:00
Josh
c8120b3388
Remove InfluxDB and add /api/v1/playerCount ( #664 )
...
* Add /playerCount api
* Modify /playerCount api response
* Remove all InfluxDB components
2023-02-12 23:37:26 -06:00
Slendy
e93aea1977
Trim empty entries in string split calls
2023-02-11 21:12:10 -06:00
Slendy
bff915e304
Use pipelines to read request bodies instead of stream
2023-02-11 21:11:20 -06:00
koko
30cffef2f2
Highlight moderator/administrator user account links ( #670 )
2023-02-12 01:32:01 +00:00
Slendy
84325596ee
Clamp minimum and maximum players on slot publish
2023-02-11 19:13:01 -06:00
Slendy
14fa5e9328
Properly dispose of StreamReaders
2023-02-11 19:08:44 -06:00
Slendy
75a5e70635
Fix Enumerable usage in CommentController
2023-02-11 19:08:03 -06:00
Zaprit
96c34c83a7
Feature/user blocking hotfix 1 ( #668 )
...
* Changed CommentController to use an AsyncEnumerable to attempt to fix the current issue
* Made comments & reviews from blocked users on levels not appear
2023-02-11 17:30:27 -05:00
Zaprit
3fcfaaf5cc
Profile Blocking ( #662 )
...
* Added blocked user DB object
* Added user blocking functions
* Fixed DB Migration
* Updated DB Functions
* Added blocked user support to website
* Fixed DB Migration
* I forgot to save 🫠
* More migration pain
* Fixed Unblock label
* Update ProjectLighthouse.Servers.Website/Pages/UserPage.cshtml
sounds cool
Co-authored-by: koko <68549366+sudokoko@users.noreply.github.com>
* Removed unnecessary imports in database
* Removed unnecessary imports in UserPage.cshtml.cs
* Made comments in-game respect blocked users
* Update ProjectLighthouse/Database.cs
Co-authored-by: Josh <josh@slendy.pw>
* Update ProjectLighthouse/Database.cs
Co-authored-by: Josh <josh@slendy.pw>
* DB Code cleanup
* Cleaned up userPage block detection code
* Get only the creator id in lieu of the whole object
* Fixed null condition when not logged in
* Fixed null condition when not logged in
* Potential DB Optimisation
* Apply suggestions from code review
Co-authored-by: Josh <josh@slendy.pw>
* Fix errors and null warning
* Use explicit type in lieu of var
* changed block icons
* Optimize blocked user check and save changes when unblocking
---------
Co-authored-by: koko <68549366+sudokoko@users.noreply.github.com>
Co-authored-by: Josh <josh@slendy.pw>
2023-02-11 08:25:06 +00:00
koko
b4326d4798
Link to reviewer in card and pad labels ( #657 )
...
* Link to reviewer in card and pad labels
* Update LICENSE to fill in placeholders
The licensor placeholders at the bottom were left untouched so I filled in the information.
* Revert LICENSE change
* Update LICENSE
2023-02-08 15:34:49 -06:00
dependabot[bot]
e056a5b437
Bump YamlDotNet from 12.3.1 to 13.0.0 ( #659 )
...
Bumps [YamlDotNet](https://github.com/aaubry/YamlDotNet ) from 12.3.1 to 13.0.0.
- [Release notes](https://github.com/aaubry/YamlDotNet/releases )
- [Commits](https://github.com/aaubry/YamlDotNet/compare/v12.3.1...v13.0.0 )
---
updated-dependencies:
- dependency-name: YamlDotNet
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-02-08 14:45:14 -06:00
Slendy
6cec706792
Fix logging for posting website comments
2023-02-05 21:26:50 -06:00
Slendy
abfa53ca47
Use stronger method for generating randoms
2023-02-05 21:25:59 -06:00
Slendy
bb1d1b835f
Fix broken LBP3 categories
2023-02-05 21:06:05 -06:00
Josh
886771ec3c
Make rate limiter match zone rather than directly comparing url ( #656 )
...
Make rate limiter match regex rather than directly comparing
2023-02-05 11:53:58 -06:00
Josh
d59fd000c3
Make DB migrations use a distributed lock ( #655 )
...
* Make database migration run independent of ServerType
* Make docker-compose services not depend on gameserver
* Add debug logging and map ASP.NET folder in container
* Don't create mutex with using and manually dispose
* Adjust mysql healthcheck to make startup faster
* Make migration use a database distributed lock
* Remove debug logging
2023-02-04 23:29:22 -06:00
dependabot[bot]
bfbe69da55
Bump SharpZipLib from 1.4.1 to 1.4.2 ( #653 )
...
Bumps [SharpZipLib](https://github.com/icsharpcode/SharpZipLib ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/icsharpcode/SharpZipLib/releases )
- [Changelog](https://github.com/icsharpcode/SharpZipLib/blob/master/docs/Changes.txt )
- [Commits](https://github.com/icsharpcode/SharpZipLib/compare/v1.4.1...v1.4.2 )
---
updated-dependencies:
- dependency-name: SharpZipLib
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-01-30 14:42:08 -06:00
dependabot[bot]
bde93e0fd5
Bump InfluxDB.Client from 4.9.0 to 4.10.0 ( #649 )
...
Bumps [InfluxDB.Client](https://github.com/influxdata/influxdb-client-csharp ) from 4.9.0 to 4.10.0.
- [Release notes](https://github.com/influxdata/influxdb-client-csharp/releases )
- [Changelog](https://github.com/influxdata/influxdb-client-csharp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/influxdata/influxdb-client-csharp/compare/v4.9.0...v4.10.0 )
---
updated-dependencies:
- dependency-name: InfluxDB.Client
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>
Co-authored-by: Josh <josh@slendy.pw>
2023-01-30 02:36:41 -06:00
Josh
4559d26a54
Fix bug where users can't be deleted ( #648 )
...
* Add username to mod cases if user is deleted
* Add timezone package to docker container
* Remove extra space in migration sql statement
* Changes from self-review
2023-01-29 22:10:36 -06:00
koko
2c2f31ad38
Website visual QOL changes ( #651 )
...
* Website visual QOL changes
* Remove resource wording from 404
Co-authored-by: Josh <josh@slendy.pw>
* Moderation case type clarity change
* Re-arrange how comments are hidden if banned
* Revert CommentsPartial change
* 404 changes
* Change public ban "reason" message to be more generic
* Update ProjectLighthouse.Servers.Website/Pages/UserPage.cshtml
Co-authored-by: Josh <josh@slendy.pw>
* Remove duplicated elements
---------
Co-authored-by: Josh <josh@slendy.pw>
2023-01-29 18:58:05 -06:00
Slendy
0e98dd4390
Fix broken redirects in website login
2023-01-29 01:13:16 -06:00
Slendy
e061987165
Revert PRs #646 and #647
2023-01-26 19:45:20 -06:00
Zaprit
17a06dee2b
Fix comments not being disabled if banned ( #647 )
...
Hotfix for #646
2023-01-27 01:03:14 +00:00
koko
d119bacd77
Fix >50 comments message
2023-01-26 19:58:30 -05:00
koko
d44fb89b03
Fix comments not being disabled if banned
2023-01-26 19:42:59 -05:00
koko
141d955f52
Website QOL Changes ( #646 )
...
so Mike stops complaining about the neglected mod menu - sudokoko
Co-authored-by: Dagg <daggintosh@outlook.com>
2023-01-26 23:29:54 +00:00
dependabot[bot]
4770beea39
Bump Selenium.WebDriver from 4.7.0 to 4.8.0 ( #645 )
...
Bumps Selenium.WebDriver from 4.7.0 to 4.8.0.
---
updated-dependencies:
- dependency-name: Selenium.WebDriver
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 12:56:10 -06:00
Zaprit
8ecc5b1aad
Remove a jvydenism ( #644 )
...
This makes sense
2023-01-23 01:45:46 +00:00
Jet the Hawk
4f2bc83d4e
Remove a jvydenism
2023-01-22 20:34:47 -05:00
Slendy
bd9a789fc3
Update gitignore and dispose DbConnected context
2023-01-22 05:45:39 -06:00
Slendy
07769e0349
Fix base64 image parser returning wrong hashes
2023-01-22 05:03:41 -06:00
Slendy
4107ecc654
Fix base64 image parsing and remove DBContext from rate limiter
2023-01-22 04:29:53 -06:00
Josh
ace3678da7
Add some resource tests and other small changes ( #638 )
...
* Cleanup custom icon resources and add resource tests
* Don't delete old custom icons
2023-01-20 00:18:57 -06:00
Slendy
87ceca9c63
Make Login signature test more consistent
2023-01-19 21:40:20 -06:00
dependabot[bot]
c4765e81ae
Bump Selenium.WebDriver.ChromeDriver from 108.0.5359.7100 to 109.0.5414.7400 ( #634 )
...
Bump Selenium.WebDriver.ChromeDriver
Bumps [Selenium.WebDriver.ChromeDriver](https://github.com/jsakamoto/nupkg-selenium-webdriver-chromedriver ) from 108.0.5359.7100 to 109.0.5414.7400.
- [Release notes](https://github.com/jsakamoto/nupkg-selenium-webdriver-chromedriver/releases )
- [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.108.0.5359.7100...v.109.0.5414.7400 )
---
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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-19 21:35:29 -06:00
dependabot[bot]
97517c122f
Bump Redis.OM from 0.4.0 to 0.4.1 ( #639 )
...
Bumps [Redis.OM](https://github.com/redis/redis-om-dotnet ) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/redis/redis-om-dotnet/releases )
- [Commits](https://github.com/redis/redis-om-dotnet/compare/v0.4.0...v0.4.1 )
---
updated-dependencies:
- dependency-name: Redis.OM
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-19 21:31:26 -06:00
dependabot[bot]
462ae8f402
Bump Pomelo.EntityFrameworkCore.MySql from 7.0.0-silver.1 to 7.0.0 ( #640 )
...
Bumps [Pomelo.EntityFrameworkCore.MySql](https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql ) from 7.0.0-silver.1 to 7.0.0.
- [Release notes](https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/releases )
- [Commits](https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/compare/7.0.0-silver.1...7.0.0 )
---
updated-dependencies:
- dependency-name: Pomelo.EntityFrameworkCore.MySql
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-19 21:28:00 -06:00
HomicidalChicken
326b9e5529
Move filter to separate config and add more scanning ( #603 )
...
* Create .gitattributes
Added a .gitattributes file that excludes the local customWordFilter.txt file from merged updates, allowing server operators to maintain their own word filter list and not have it overwritten.
* Update .gitignore
Added chatCensoredList to gitignore
* Update .gitignore
* Dynamic censor list file changes
Removed .gitattributes file, attempted to make chatCensoredList.txt into a dynamic file loaded at runtime instead.
* Added additional censorship coverage
Censorship now covers:
Level titles
Level descriptions
Reviews
Comments
* Delete chatCensoredList.txt
* Update .gitignore
Co-authored-by: Josh <josh@slendy.pw>
* Update filter verbiage
* Update ProjectLighthouse.Servers.GameServer/Controllers/CommentController.cs
Co-authored-by: Josh <josh@slendy.pw>
* Update ProjectLighthouse/Helpers/CensorHelper.cs
Co-authored-by: Josh <josh@slendy.pw>
* Add CensorConfiguration and add more filters
Co-authored-by: Josh <josh@slendy.pw>
2023-01-19 21:24:45 -06:00
dependabot[bot]
850cfcefb3
Bump Swashbuckle.AspNetCore from 6.4.0 to 6.5.0 ( #633 )
...
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore ) from 6.4.0 to 6.5.0.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases )
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.4.0...v6.5.0 )
---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-11 20:13:33 -06:00