Josh
35ea2682b9
Replace Location table with packed 64-bit int ( #679 )
...
* Replace Location table with packed 64 bit int
* Remove double Include and fix Slot documentation
* Fix compilation errors from merge
* Fix namespaces and add expected values to unit tests
2023-02-21 14:53:38 -06:00
dependabot[bot]
575d2b7be7
Bump Microsoft.NET.Test.Sdk from 17.4.1 to 17.5.0 ( #685 )
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.4.1 to 17.5.0.
- [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.4.1...v17.5.0 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
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-02-21 20:42:03 +00:00
koko
155988a940
Add a contributor code of conduct ( #686 )
...
* Add a contributor code of conduct
* Add link to Discord for contact method
2023-02-21 20:41:56 +00:00
dependabot[bot]
009f679c81
Bump BouncyCastle.Cryptography from 2.0.0 to 2.1.1 ( #681 )
...
Bumps [BouncyCastle.Cryptography](https://github.com/bcgit/bc-csharp ) from 2.0.0 to 2.1.1.
- [Release notes](https://github.com/bcgit/bc-csharp/releases )
- [Commits](https://github.com/bcgit/bc-csharp/compare/release-2.0.0...release-2.1.1 )
---
updated-dependencies:
- dependency-name: BouncyCastle.Cryptography
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-02-20 17:31:15 +00:00
dependabot[bot]
e799c236c1
Bump YamlDotNet from 13.0.0 to 13.0.1 ( #682 )
...
Bumps [YamlDotNet](https://github.com/aaubry/YamlDotNet ) from 13.0.0 to 13.0.1.
- [Release notes](https://github.com/aaubry/YamlDotNet/releases )
- [Commits](https://github.com/aaubry/YamlDotNet/compare/v13.0.0...v13.0.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-02-20 17:22:12 +00:00
dependabot[bot]
8833788e4c
Bump Selenium.WebDriver from 4.8.0 to 4.8.1 ( #683 )
...
Bumps Selenium.WebDriver from 4.8.0 to 4.8.1.
---
updated-dependencies:
- dependency-name: Selenium.WebDriver
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-20 17:22:04 +00:00
Zaprit
e483d325ae
User Search API ( #680 )
...
* Added User Search API
* Applied limit to user search
* Update ProjectLighthouse.Servers.API/Controllers/UserEndpoints.cs
Co-authored-by: Josh <josh@slendy.pw>
* Update ProjectLighthouse.Servers.API/Controllers/UserEndpoints.cs
Co-authored-by: Josh <josh@slendy.pw>
* Update ProjectLighthouse.Servers.API/Controllers/UserEndpoints.cs
Co-authored-by: Josh <josh@slendy.pw>
* 1 line fix, woo!
---------
Co-authored-by: Josh <josh@slendy.pw>
2023-02-20 04:37:37 +00:00
Slendy
8030301739
Fix mismatched game version map
2023-02-18 15:23:15 -06:00
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