Commit graph

1105 commits

Author SHA1 Message Date
Jayden
9c5c5b5798
Add support for ReCaptcha in addition to HCaptcha (#372)
* Bump YamlDotNet from 11.2.1 to 12.0.0

Bumps [YamlDotNet](https://github.com/aaubry/YamlDotNet) from 11.2.1 to 12.0.0.
- [Release notes](https://github.com/aaubry/YamlDotNet/releases)
- [Commits](https://github.com/aaubry/YamlDotNet/compare/v11.2.1...v12.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>

* Add support for ReCaptcha in addition to HCaptcha

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-25 18:38:10 -04:00
dependabot[bot]
2391eb14d0
Bump YamlDotNet from 11.2.1 to 12.0.0 (#370)
Bumps [YamlDotNet](https://github.com/aaubry/YamlDotNet) from 11.2.1 to 12.0.0.
- [Release notes](https://github.com/aaubry/YamlDotNet/releases)
- [Commits](https://github.com/aaubry/YamlDotNet/compare/v11.2.1...v12.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>
Co-authored-by: jvyden <jvyden@jvyden.xyz>
2022-07-25 21:58:11 +00:00
Josh
3c8f195740
Added login redirection, level icon background and fixed bugs (#371) 2022-07-25 21:53:43 +00:00
dependabot[bot]
bf90d0ee85
Bump Pomelo.EntityFrameworkCore.MySql from 6.0.1 to 6.0.2 (#369)
Bumps [Pomelo.EntityFrameworkCore.MySql](https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/releases)
- [Commits](https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/compare/6.0.1...6.0.2)

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-25 14:22:18 -04:00
Zaprit
ce0fe9edee
Added user invite system (#351)
* Added user invite system

* Added user invite system

* Revert recent migrations and try again

* stopped implicitly assigning token variables

* Added correct context to migrations

* Apply suggestions from code review

Some grammar changes, etc.

Co-authored-by: Jayden <jvyden@jvyden.xyz>

* Updated the API key page

* Removed enabled field from APIKey

* Removed reference to APIKey.Enabled

* Add creation guide text

* Fix this.Forbid() usage

Causes an exception on my machine for some reason, always has.

* Fix more forbid usages

* Return 404 if trying to generate token when private registration is disabled

* Capture authentication schema more cleanly

Co-authored-by: Jayden <jvyden@jvyden.xyz>
2022-07-24 02:43:00 +00:00
jvyden
c231af0936
Fix redis room cleanups 2022-07-23 19:58:06 -04:00
jvyden
84065db61c
Update Redis.OM to 0.2.1 2022-07-23 19:27:46 -04:00
dependabot[bot]
3f1c80ebec
Bump Selenium.WebDriver.ChromeDriver (#361)
Bumps [Selenium.WebDriver.ChromeDriver](https://github.com/jsakamoto/nupkg-selenium-webdriver-chromedriver) from 102.0.5005.6102 to 103.0.5060.13400.
- [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.102.0.5005.6102...v.103.0.5060.13400)

---
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>
2022-07-23 18:48:42 -04:00
dependabot[bot]
1ea17581d0
Bump Swashbuckle.AspNetCore from 6.3.2 to 6.4.0 (#360)
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.3.2 to 6.4.0.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.3.2...v6.4.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-23 18:48:29 -04:00
dependabot[bot]
23a07e9cc0
Bump Microsoft.EntityFrameworkCore.Design from 6.0.6 to 6.0.7 (#344)
Bumps [Microsoft.EntityFrameworkCore.Design](https://github.com/dotnet/efcore) from 6.0.6 to 6.0.7.
- [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>
2022-07-16 16:07:55 -04:00
dependabot[bot]
2657504ba4
Bump Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (#346)
Bumps [Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore](https://github.com/dotnet/aspnetcore) from 6.0.6 to 6.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/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>
2022-07-16 16:07:44 -04:00
dependabot[bot]
28eca2f9a3
Bump Swashbuckle.AspNetCore from 6.3.1 to 6.3.2 (#348)
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.3.1 to 6.3.2.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.3.1...v6.3.2)

---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore
  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>
2022-07-16 16:07:29 -04:00
dependabot[bot]
c2cf479c88
Bump Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (#345)
Bumps [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation](https://github.com/dotnet/aspnetcore) from 6.0.6 to 6.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/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>
2022-07-12 19:16:43 -04:00
dependabot[bot]
c2c271ceb9
Bump Microsoft.AspNetCore.Mvc.Testing from 6.0.6 to 6.0.7 (#343)
Bumps [Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore) from 6.0.6 to 6.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/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>
2022-07-12 19:16:32 -04:00
dependabot[bot]
d892232c3d
Bump Microsoft.EntityFrameworkCore from 6.0.6 to 6.0.7 (#342)
Bumps [Microsoft.EntityFrameworkCore](https://github.com/dotnet/efcore) from 6.0.6 to 6.0.7.
- [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>
2022-07-12 19:16:21 -04:00
Josh
36cd42399d
Fix icon updating for default game assets (#338) 2022-07-01 04:00:14 -04:00
Zaprit
8ff956fcbf
Disabled autocomplete on search boxes (#337)
* Disabled autocomplete on search boxes

* Update ProjectLighthouse.Servers.Website/Pages/PhotosPage.cshtml

Co-authored-by: Josh <josh@slendy.pw>

* Update ProjectLighthouse.Servers.Website/Pages/ReportsPage.cshtml

Co-authored-by: Josh <josh@slendy.pw>

* Update ProjectLighthouse.Servers.Website/Pages/SlotsPage.cshtml

Co-authored-by: Josh <josh@slendy.pw>

* Update ProjectLighthouse.Servers.Website/Pages/UsersPage.cshtml

Co-authored-by: Josh <josh@slendy.pw>

* Github actions is annoying at times

Co-authored-by: Josh <josh@slendy.pw>
2022-06-29 11:11:58 -05:00
Zaprit
0b27969a22
Added password reset form (#336)
* Added password reset form

* added using to commentsPartial

without this i was experiencing an error when browsing to my profile page

* (Hopefully) final password reset form

* Update ProjectLighthouse.Servers.Website/Pages/PasswordResetPage.cshtml.cs

Co-authored-by: Jayden <jvyden@jvyden.xyz>

* Update ProjectLighthouse.Servers.Website/Pages/PasswordResetRequestForm.cshtml

Co-authored-by: Jayden <jvyden@jvyden.xyz>

* Update ProjectLighthouse.Servers.Website/Pages/PasswordResetRequestForm.cshtml

Co-authored-by: Jayden <jvyden@jvyden.xyz>

* Update ProjectLighthouse.Servers.Website/Pages/PasswordResetRequestForm.cshtml.cs

Co-authored-by: Jayden <jvyden@jvyden.xyz>

* Update ProjectLighthouse.Servers.Website/Pages/PasswordResetRequestForm.cshtml.cs

Co-authored-by: Jayden <jvyden@jvyden.xyz>

* Update ProjectLighthouse.Servers.Website/Pages/PasswordResetRequestForm.cshtml.cs

Co-authored-by: Jayden <jvyden@jvyden.xyz>

* Update ProjectLighthouse/Database.cs

Co-authored-by: Jayden <jvyden@jvyden.xyz>

* Update ProjectLighthouse.Servers.Website/Pages/LoginForm.cshtml

Co-authored-by: Jayden <jvyden@jvyden.xyz>

* Stopped leaking user email addresses

* Made UserFromPasswordResetToken async

* Made UserFromPasswordResetToken async

* Indented login form row div

* Fix AddedPasswordResetTokens migration not having proper attributes

* Adjust password reset email text

* Clean up password reset request form

Co-authored-by: Jayden <jvyden@jvyden.xyz>
2022-06-25 20:30:10 +00:00
dependabot[bot]
714be9e59f
Bump InfluxDB.Client from 4.2.0 to 4.3.0 (#334)
Bumps [InfluxDB.Client](https://github.com/influxdata/influxdb-client-csharp) from 4.2.0 to 4.3.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.2.0...v4.3.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>
2022-06-24 18:16:08 -04:00
dependabot[bot]
e7495e4c6c
Bump Selenium.WebDriver from 4.2.0 to 4.3.0 (#333)
Bumps Selenium.WebDriver from 4.2.0 to 4.3.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-24 18:15:54 -04:00
jvyden
638ee85e81
Log room cleanups better 2022-06-17 20:40:52 -04:00
dependabot[bot]
d3e9073ca6
Bump Selenium.WebDriver.ChromeDriver (#315)
Bumps [Selenium.WebDriver.ChromeDriver](https://github.com/jsakamoto/nupkg-selenium-webdriver-chromedriver) from 101.0.4951.4100 to 102.0.5005.6102.
- [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.101.0.4951.4100...v.102.0.5005.6102)

---
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>
2022-06-18 00:00:19 +00:00
jvyden
492ce346b2
Bump biography character limit to 512 2022-06-15 17:08:51 -04:00
dependabot[bot]
78307479f0
Bump Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (#326)
Bumps [Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore](https://github.com/dotnet/aspnetcore) from 6.0.5 to 6.0.6.
- [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>
2022-06-14 20:31:44 -04:00
dependabot[bot]
f0018af9cd
Bump Microsoft.EntityFrameworkCore.Design from 6.0.5 to 6.0.6 (#328)
Bumps [Microsoft.EntityFrameworkCore.Design](https://github.com/dotnet/efcore) from 6.0.5 to 6.0.6.
- [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>
2022-06-15 00:31:30 +00:00
dependabot[bot]
09fa0646f4
Bump Microsoft.AspNetCore.Mvc.Testing from 6.0.5 to 6.0.6 (#327)
Bumps [Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore) from 6.0.5 to 6.0.6.
- [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>
2022-06-14 20:28:16 -04:00
dependabot[bot]
10862b4840
Bump Microsoft.EntityFrameworkCore from 6.0.5 to 6.0.6 (#325)
Bumps [Microsoft.EntityFrameworkCore](https://github.com/dotnet/efcore) from 6.0.5 to 6.0.6.
- [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>
2022-06-14 20:28:09 -04:00
dependabot[bot]
9b92b3fc46
Bump Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (#329)
Bumps [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation](https://github.com/dotnet/aspnetcore) from 6.0.5 to 6.0.6.
- [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>
2022-06-14 20:28:00 -04:00
Josh
7c13d51024
Fix text wrap and symbols not being decoded (#324) 2022-06-14 02:43:28 -04:00
jvyden
c0df2c302f
[skip ci] Add bangs to scripts, add update script 2022-06-11 19:03:35 -04:00
jvyden
94ac4f41e9
Fix shitty UI overlap 2022-06-11 18:45:28 -04:00
jvyden
eb21c7042f
Only allow a single approved IP address 2022-06-11 18:43:30 -04:00
jvyden
f169236613
Put title before instance name, fix empty webhook title trailing dash 2022-06-10 04:34:17 -04:00
jvyden
b3b5354c68
Merge master into ..i'm not typing that. 2022-06-10 03:57:00 -04:00
jvyden
89b6e6dff3
Adjust review character limit to match LBP Vita's limit
Closes #286
2022-06-10 03:48:12 -04:00
jvyden
615b57122e
Lock RoomHelper.Rooms properly 2022-06-10 02:42:38 -04:00
jvyden
02abb7bcab
Add command to flush redis database 2022-06-10 02:42:24 -04:00
jvyden
caa4b9bec1
Only migrate database on production gameserver 2022-06-10 02:24:26 -04:00
jvyden
64f65ba574
Add support for migrations that need the database context 2022-06-10 02:21:01 -04:00
jvyden
6d0673fcb8
Adjust naming of customized versions 2022-06-10 02:20:28 -04:00
dependabot[bot]
31f6aff49b
Bump Discord.Net.Webhook from 3.7.1 to 3.7.2 (#317)
Bumps [Discord.Net.Webhook](https://github.com/Discord-Net/Discord.Net) from 3.7.1 to 3.7.2.
- [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.7.1...3.7.2)

---
updated-dependencies:
- dependency-name: Discord.Net.Webhook
  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: Jayden <jvyden@jvyden.xyz>
2022-06-04 17:56:58 -04:00
Josh
d0f5d07194
Fix level text limits (#318) 2022-06-04 17:55:20 -04:00
jvyden
96ed3cfad2
Revert "Rename ServerConfiguration.WebsiteConfiguration to Website"
This reverts commit 7a2f99291d.
2022-06-01 17:10:13 -04:00
jvyden
7a2f99291d
Rename ServerConfiguration.WebsiteConfiguration to Website 2022-06-01 17:07:20 -04:00
jvyden
b2c73ccfc4
Only redirect users to email verification if mail is enabled when resetting password 2022-06-01 17:06:59 -04:00
jvyden
27d92001c3
Create admin user on first startup 2022-06-01 17:06:27 -04:00
jvyden
422b1268ca
Dont store the room list in RoomHelper 2022-06-01 16:45:31 -04:00
jvyden
48d8cb1a02
Show instance custom name in tab title 2022-06-01 00:46:22 -04:00
jvyden
8ead63943f
Bump config version to 5 2022-06-01 00:35:24 -04:00
jvyden
ee541dbfae
Allow instance owners to provide custom name, Include server version in LbpEnvVer
This is the first step towards instance customization. Just a name for now ;)
2022-06-01 00:34:38 -04:00