Commit graph

1431 commits

Author SHA1 Message Date
jvyden
d03179997a
Log recent matches for individual games to influx (#230) 2022-03-09 22:34:25 +00:00
jvyden
dee575f711
Update all packages in solution
ChromeDriver is not updated due to test failures.
2022-03-09 17:06:21 -05:00
Logan Lowe
1d72481a5e
Add server-side text safety features - user input will now be checked… (#224)
* Add server-side text safety features - user input will now be checked against a known list of profanities (such as toyo). Filter mode can be adjusted in global config file between four levels according to desired level of punishment;

0 - None
1 - Asterisks
2 - Random Characters
3 - Furry

Fixes #34

* Remove unnecessary censors

* Add international list

* Handle spaces correctly (``w o r d`` would have been censored as ```********`` rather than ```* * * *``)

Remove whitespace at ends of words in censor list

* Remove letters from CensorHelper._randomCharacters

* Fix naming in CensorHelper

* Use AsSpan instead of Substr

* Restitching

* Extract FilterMode to new class

* Revert "Remove unnecessary censors"

This reverts commit e1c3b35acc.

Co-authored-by: jvyden <jvyden@jvyden.xyz>
2022-03-09 21:50:07 +00:00
jvyden
79fd133093
Reuse database object in users and slots
Should hopefully reduce serialization times.
2022-03-05 15:22:48 -05:00
jvyden
9d3bc7b31a
Show count of rooms playing a slot
Closes #213
2022-03-04 22:23:57 -05:00
jvyden
db4a69ea73
Merge remote-tracking branch 'origin/main' 2022-03-03 19:05:15 -05:00
jvyden
64816a22fc
Remove VitaCreateMode option from settings
Closes #210
2022-03-03 19:05:07 -05:00
dependabot[bot]
3a2dc125ec
Bump Discord.Net.Webhook from 3.3.2 to 3.4.0 (#215)
Bumps [Discord.Net.Webhook](https://github.com/Discord-Net/Discord.Net) from 3.3.2 to 3.4.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.3.2...3.4.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>
2022-03-03 18:37:19 -05:00
dependabot[bot]
9ea46d07e0
Bump BCrypt.Net-Next from 4.0.2 to 4.0.3 (#214)
Bumps [BCrypt.Net-Next](https://github.com/BcryptNet/bcrypt.net) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/BcryptNet/bcrypt.net/releases)
- [Commits](https://github.com/BcryptNet/bcrypt.net/commits)

---
updated-dependencies:
- dependency-name: BCrypt.Net-Next
  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-03-03 18:37:09 -05:00
jvyden
f92ff79b49
[skip ci] Adjust email verification body text 2022-03-03 18:11:55 -05:00
jvyden
9e09815622
[skip ci] Make email verify completion errors not as bland 2022-03-03 18:00:07 -05:00
jvyden
b520eecd4e
Dont show email-related pages if SMTP is disabled 2022-03-03 17:55:43 -05:00
jvyden
813ee8122f
Fix registration unit tests 2022-03-03 17:50:22 -05:00
jvyden
37e6bb159e
Add debug button to speed up account creation 2022-03-03 17:33:06 -05:00
jvyden
bab48abcfd
Check if user's email address is already used 2022-03-03 17:24:21 -05:00
jvyden
4f601550a2
Assert if email address already verified on SendVerificationEmailPage 2022-03-03 17:18:31 -05:00
jvyden
e629d79f09
Redirect user to email verification on signup, fix email address not setting on register 2022-03-03 17:11:13 -05:00
jvyden
96e739a8fe
Check if email token belongs to a user before verifying the email 2022-03-02 21:48:14 -05:00
jvyden
b129ec1ab1
Add email verification step 2022-03-02 19:15:06 -05:00
jvyden
cc2159d539
Add prompt for users without an email address set so they can set & verify one 2022-03-01 16:28:13 -05:00
jvyden
7c98b1eca3
Send email on account creation 2022-03-01 15:06:12 -05:00
jvyden
ff19bc6ffd
Merge branch 'main' into smtp 2022-03-01 14:43:14 -05:00
jvyden
8acd99aaf7
Include sublevels when getting earth slots
Closes #205
2022-03-01 14:28:45 -05:00
jvyden
02a1e89724
Fix all GameVersions showing in LBP3
Closes #196
2022-02-25 13:27:37 -05:00
jvyden
5d28256c3e
Makes it so unit tests can skirt username validation 2022-02-23 10:12:35 -05:00
Josh
535116c2e4
Fix score leaderboard at end of levels (#190) 2022-02-23 10:06:11 -05:00
Josh
58617df273
Send yourReview with slot request (#189) 2022-02-22 17:58:25 -05:00
jvyden
9dc296a0f8
Make register page show username length requirements and regex 2022-02-22 16:45:46 -05:00
jvyden
de6f624271
Enforce username regex 2022-02-22 16:44:18 -05:00
jvyden
7e7498d368
Enforce 3-16 character limit on usernames 2022-02-22 16:36:52 -05:00
jvyden
ede6e8f8e4
Limit length of comments to 100 characters 2022-02-22 16:27:32 -05:00
jvyden
c8595f5522
Add comment logging, move comment submissions to POST request
Closes #185
2022-02-22 16:26:00 -05:00
jvyden
61a1520695
Check type when checking for an existing score
Closes #187
2022-02-22 15:54:05 -05:00
jvyden
3bedec5f70
Fix serialization of plays in slots 2022-02-21 20:04:23 -05:00
jvyden
81622441be
Move comment input bar to the top of the segment
Closes #170
2022-02-21 19:36:35 -05:00
jvyden
3e3d6b74aa
Check if there are no free slots *after* handling republished levels
Closes #179
2022-02-21 19:22:55 -05:00
jvyden
40ce3edba7
Use Database.RemoveSlot when removing slot on website 2022-02-21 19:22:55 -05:00
Josh
be9e3edef5
Fix review button not showing up (#180) 2022-02-21 12:03:25 -05:00
jvyden
3cda95447b
Show sublevels for creators of sublevels 2022-02-18 17:51:40 -05:00
jvyden
a3e8c29142
Check used slots for version on upload, not for all versions 2022-02-18 17:42:53 -05:00
jvyden
7b5ce09fb4
Fix collection modified error when cleaning up rooms 2022-02-18 16:32:33 -05:00
jvyden
41dde8eed2
Add platform matching to rooms 2022-02-17 16:23:09 -05:00
jvyden
3f29934628
Add automatic room cleanup 2022-02-17 16:16:55 -05:00
jvyden
487ec5bc8f
Move PNG conversion to FileHelper 2022-02-17 16:12:21 -05:00
jvyden
fcdbd46c98
Remove offline players from rooms 2022-02-17 12:36:53 -05:00
jvyden
aeeb819759
Increase information in UserStatus, add platform for lastcontacts and gametokens 2022-02-17 00:57:02 -05:00
jvyden
2b521be45c
Add user status api endpoint 2022-02-16 20:24:57 -05:00
jvyden
8fdd464e2e
[skip ci] Don't log nptickets in debug builds 2022-02-16 19:03:36 -05:00
jvyden
3bba7eff1b
Add SMTP support 2022-02-16 18:53:33 -05:00
jvyden
36ce61697f
Separate LBP2/3/V earth decorations
Closes #66
2022-02-16 18:10:18 -05:00