Commit graph

51 commits

Author SHA1 Message Date
jvyden
77a2d27f13
Add page to become a pirate 2022-08-02 11:12:33 -04:00
jvyden
d9722f1e98
Fix license violation always appearing 2022-08-02 10:13:57 -04:00
jvyden
3e1d5da3a9
Translate BaseLayout warnings 2022-08-02 09:47:31 -04:00
jvyden
4756560a6a
Fix incorrect string usage on BaseLayout 2022-08-02 09:30:59 -04:00
Josh
21a7a8711d
Fix posters' comments not showing ratings (#393) 2022-08-02 09:11:20 -04:00
jvyden
d1bec61b90
Fix BaseLayout not using translations 2022-08-01 18:41:52 -04:00
jvyden
018d9d2b9f
Translate profile page 2022-08-01 18:29:43 -04:00
jvyden
d9e299ac00
Translate errors in forms 2022-08-01 18:09:12 -04:00
jvyden
ed20d2e527
Fix forms with missing translations for GeneralStrings.Error 2022-08-01 17:53:00 -04:00
jvyden
98a444499e
Add notice about usernames in register form 2022-08-01 17:49:34 -04:00
Josh
fdf1988a34
Implement online story features and photos taken in levels (#389)
* Initial commit to support developer slots

* Remove hearting story levels, prevent race condition in adding dev slots, and remove LastContactHelper local db object.

* Fix photos taken in pod showing wrong level.

* Add support for pod and create mode photos

* Add time display to photos and added photo display to level page

* Add pagination to in game photos

* Update in pod description

* Fix migration

* Adjust wording of photos taken on local slots

* Set slot default type to User

Fixes old slots being set to developer slots

* Apply suggestions

* Add player count to developer slots

Co-authored-by: Jayden <jvyden@jvyden.xyz>
2022-08-01 19:46:29 +00:00
jvyden
4ba75f09a9
Make all tokens expire
Closes #335
2022-07-29 15:08:41 -04:00
jvyden
98cf99e4b0
Fix compiler warning 2022-07-28 16:17:09 -04:00
jvyden
f0befef31f
Translate UserStatus, titles of pages in header 2022-07-27 16:37:38 -04:00
Toru the Red Fox
6525ebe3cb
lbpEnvVer parity (somewhat, GameServer) and player polaroid resolution fix (Website) (#373)
* lbp2 beta tweaks

* tweaks

* oops

* pls work

* PLS

* Update UserCardPartial.cshtml

* news reimplementation testing

trying to fix it for lbp1

* a

* configurable envver

* Make numeric revision numbers only usable on full clones

* little comment to describe what EnvVer is

* remove news (again)

* remove redundancy when dirty

* document envver stuff

* remove numeric versioning for upstream merge

* Revert "remove numeric versioning for upstream merge"

This reverts commit 3e7d8eccbc.

* Revert "Revert "remove numeric versioning for upstream merge""

This reverts commit 7fbe145b80.

* Delete gitIsShallowRepo.txt

* accidentally deleted the wrong line oops

* Update VersionHelper.cs

Co-authored-by: Jayden <jvyden@jvyden.xyz>
2022-07-27 20:03:44 +00:00
jvyden
6ca81e0421
Add grief report webhook, add ability to link to individual reports 2022-07-27 00:11:15 -04:00
jvyden
2dcf8dd390
Fix unit test failures 2022-07-26 19:20:57 -04:00
jvyden
b4348b4410
Don't force language 2022-07-26 17:13:20 -04:00
jvyden
443b285253
Translate login and logout pages 2022-07-26 17:01:48 -04:00
jvyden
1e9f672d6c
Finish translation of landing page 2022-07-26 16:44:19 -04:00
jvyden
bac1cad9f2
Merge branch 'main' into crowdin 2022-07-26 16:15:53 -04:00
jvyden
be592bbacb
Eliminate duplicate rooms 2022-07-25 19:57:13 -04:00
jvyden
94765c67f3
Make login form redirect to landing page if already logged in 2022-07-25 18:50:11 -04:00
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
Josh
3c8f195740
Added login redirection, level icon background and fixed bugs (#371) 2022-07-25 21:53:43 +00: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
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
Josh
7c13d51024
Fix text wrap and symbols not being decoded (#324) 2022-06-14 02:43:28 -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
d96cc5786b
Merge main into crowdin 2022-06-10 04:30:23 -04:00
jvyden
b3b5354c68
Merge master into ..i'm not typing that. 2022-06-10 03:57:00 -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
48d8cb1a02
Show instance custom name in tab title 2022-06-01 00:46:22 -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
jvyden
ad7cfa9330
Fix slots page breaking when not logged in 2022-05-20 22:35:39 -04:00
jvyden
33f344f200
Add admin button to wipe a user's earth decorations 2022-05-20 22:01:54 -04:00
jvyden
9f1547e344
Don't show "time rendered" in baseLayout debug menu 2022-05-20 21:17:00 -04:00
jvyden
4b9c16da75
Fix release building 2022-05-15 21:53:57 -04:00
jvyden
a733eb21a4
Add command output to admin panel 2022-05-15 17:29:22 -04:00
jvyden
630b38e7bb
Make logger a non-static class 2022-05-15 16:57:50 -04:00
jvyden
c345eeebb9
Massive organization of classes and namespaces 2022-05-15 16:45:00 -04:00
jvyden
82091c6d8b
[skip ci] Fix "on paltform" typo 2022-05-15 12:07:33 -04:00
jvyden
e12a798fd5
Implement Redis for storing rooms 2022-05-15 12:04:10 -04:00
jvyden
b9a310ef90
Fix all compiler warnings 2022-05-15 00:36:44 -04:00
jvyden
330c01317d
Combine a bunch of helpers together, shuffle some things around 2022-05-15 00:24:22 -04:00