Commit graph

1924 commits

Author SHA1 Message Date
Slendy
402fd4b493
Fix photo activity handler test 2024-05-13 21:57:24 -05:00
Slendy
cd0c85308a
Manually fetch slot types instead of relying on foreign key being loaded 2024-05-13 21:53:52 -05:00
Slendy
1820425038
Fix LBP3 playlist recent activity 2024-05-13 21:21:38 -05:00
Slendy
2219373616
Fix unit tests 2024-05-13 19:30:56 -05:00
Slendy
b41b01a6eb
Fix test compilation and level activity flattening 2024-05-13 19:07:28 -05:00
Slendy
180cac5aa9
Remove debug prints and prevent activities from being registered in read only mode 2024-05-13 18:46:49 -05:00
Josh
27cbb14a49
Merge branch 'main' into recent-activity 2024-05-13 18:41:40 -05:00
Slendy
9e84e46844
Add custom ToString method for NPTicket section header 2024-05-11 17:58:48 -05:00
Josh
ed5bb5d769
Prevent LBP3 reviews from showing up in LBP2 (#1015) 2024-04-29 01:44:41 +00:00
dependabot[bot]
0ce748de8f
Bump SixLabors.ImageSharp from 3.1.3 to 3.1.4 in /ProjectLighthouse (#1012)
Bumps [SixLabors.ImageSharp](https://github.com/SixLabors/ImageSharp) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/SixLabors/ImageSharp/releases)
- [Commits](https://github.com/SixLabors/ImageSharp/compare/v3.1.3...v3.1.4)

---
updated-dependencies:
- dependency-name: SixLabors.ImageSharp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 23:30:25 -05:00
Slendy
9348d58158
Fix infinite redirect for users with empty usernames 2024-04-15 14:11:47 -05:00
sudokoko
67d0d3d7b1
Prevent duplicate profile pins 2024-04-05 10:00:16 -04:00
Slendy
8f91875f7c
Merge branch 'main' into recent-activity
# Conflicts:
#	.config/dotnet-tools.json
#	ProjectLighthouse.Servers.Website/Pages/Partials/ReviewPartial.cshtml
2024-04-01 14:45:59 -05:00
sudokoko
931f079265
Append line breaks after read only mode warning in announce text 2024-03-30 15:04:48 -04:00
Ren
e8441c134b
Use Actions to build and publish Docker images to Github Container Registry (#1004)
* Create docker-publish.yml

* Update docker-publish.yml

* Now this should work

GitHub's own template is a little out of date, had to accommodate for this https://github.com/actions/starter-workflows/issues/2357

* updating to actions/checkout@v4

* Update docker-publish.yml

* Update do

Co-authored-by: sudokoko <koko@sudokoko.xyz>

* Update docker-publish.yml

Co-authored-by: sudokoko <koko@sudokoko.xyz>

* testing arm building

Co-authored-by: Zaprit <henry@vorax.org>

* an attempt to get this docker workflow to play nice with arm

* Revert "testing arm building"

This reverts commit a030b62f73.

* Revert "an attempt to get this docker workflow to play nice with arm"

This reverts commit 8faf3f4a5a.

* Minor nitpicky things before merge

Committing these directly as to not bother you with another code review. Adds a nice-name to the job and renames "build" to "build-publish".

---------

Co-authored-by: sudokoko <koko@sudokoko.xyz>
Co-authored-by: Zaprit <henry@vorax.org>
2024-03-30 04:36:19 +00:00
github-actions[bot]
81ec09041c
Update the localization files (#1006)
[skip ci] Update the localization files

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-03-29 23:23:39 -04:00
sudokoko
da8322e01a
Fix errant line breaks in landing page announcement view 2024-03-29 23:17:01 -04:00
sudokoko
0ee8970c64
Implement read-only mode (#1001)
* Implement read-only mode

* Use localized string under default language for announce text

* Redirect to user page rather than returning blank 400

* Protect call to `ParseBase64Image`

* Add protections to SlotSettingsPage and nitpick format

* Display the latest announcement (if any) on the landing page

* Fix a kokoism

Accidentally tried to use markdown within the landing page... I'm rather smart aren't I

* Prevent possible XSS

* Separate truncated announcement text and link with "..."

* Apply suggestion from code review

* Add read-only check to /postComment in slot page controller

* Fix inconsistent tabbing
2024-03-30 02:51:12 +00:00
sudokoko
975fcab100
Revert "Display the latest announcement (if any) on the landing page"
This reverts commit a5ba5844f8.

Commit was intended for the `read-only` branch and was pushed to `main` in error.
2024-03-28 13:43:21 -04:00
sudokoko
a5ba5844f8
Display the latest announcement (if any) on the landing page 2024-03-28 13:27:30 -04:00
dependabot[bot]
e1cc214f44
Bump dotnet-ef from 7.0.13 to 8.0.3 (#997)
Bumps [dotnet-ef](https://github.com/dotnet/efcore) from 7.0.13 to 8.0.3.
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](https://github.com/dotnet/efcore/compare/v7.0.13...v8.0.3)

---
updated-dependencies:
- dependency-name: dotnet-ef
  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>
2024-03-27 22:13:11 -04:00
sudokoko
67756805e0
Bump dependencies 2024-03-27 22:06:30 -04:00
dependabot[bot]
c6e7da5259
Bump xunit from 2.5.3 to 2.7.0 (#981)
Bumps [xunit](https://github.com/xunit/xunit) from 2.5.3 to 2.7.0.
- [Commits](https://github.com/xunit/xunit/compare/2.5.3...2.7.0)

---
updated-dependencies:
- dependency-name: xunit
  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>
2024-03-25 18:52:53 +00:00
dependabot[bot]
5364c51d45
Bump Selenium.WebDriver from 4.14.1 to 4.18.1 (#984)
Bumps [Selenium.WebDriver](https://github.com/SeleniumHQ/selenium) from 4.14.1 to 4.18.1.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/commits/selenium-4.18.1)

---
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>
2024-03-25 18:52:05 +00:00
dependabot[bot]
09644ebed3
Bump xunit.runner.visualstudio from 2.5.6 to 2.5.7 (#995)
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.5.6 to 2.5.7.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/compare/2.5.6...2.5.7)

---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
  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>
2024-03-25 18:41:33 +00:00
dependabot[bot]
34328c891f
Bump Selenium.WebDriver.ChromeDriver from 121.0.6167.8500 to 123.0.6312.5800 (#994)
Bump Selenium.WebDriver.ChromeDriver

Bumps [Selenium.WebDriver.ChromeDriver](https://github.com/jsakamoto/nupkg-selenium-webdriver-chromedriver) from 121.0.6167.8500 to 123.0.6312.5800.
- [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.121.0.6167.8500...v.123.0.6312.5800)

---
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>
2024-03-25 18:41:18 +00:00
dependabot[bot]
1b08964f8c
Bump Microsoft.NET.Test.Sdk from 17.7.2 to 17.9.0 (#975)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.7.2 to 17.9.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.7.2...v17.9.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>
2024-03-25 18:41:05 +00:00
Slendy
c2011837d7
Remove giant ActivityDto ternary and add more documentation in some areas 2024-03-25 01:03:53 -05:00
Slendy
0445a0b3a6
Update activity system to use new team pick time 2024-03-24 20:53:53 -05:00
Slendy
0f02a93a8d
Start of activity grouping tests 2024-03-24 20:53:53 -05:00
Slendy
4e63ba70e7
Fix broken merge and recreate migrations 2024-03-24 20:53:50 -05:00
Slendy
41d2b5be7d
Prevent heart activity spam and fix photo grouping 2024-03-24 20:53:43 -05:00
Slendy
4d2645b7c3
Only serialize user slots and set photo ID in event object 2024-03-24 20:53:43 -05:00
Slendy
991b3f7af9
Set PhotoId in serialized event response 2024-03-24 20:53:43 -05:00
Slendy
7c07742090
Allow recent activity photos from moon and pod 2024-03-24 20:53:43 -05:00
Slendy
7b6786ce87
Fix news summary on LBP2 2024-03-24 20:53:42 -05:00
Slendy
c1d932d4de
Fix group news IDs being poster user ID instead of post ID 2024-03-24 20:53:42 -05:00
Slendy
d440a26476
Go back to using 0 as empty value instead of null 2024-03-24 20:53:32 -05:00
Slendy
0c9c8fd7b2
Fix score, photo, and comment activities 2024-03-24 20:53:32 -05:00
Slendy
15dbf562aa
Remove/replace console writes with debug logging 2024-03-24 20:53:29 -05:00
Slendy
966f6198c6
Revert GameScoreEvent user count workaround 2024-03-24 20:53:22 -05:00
Slendy
24fa301182
Don't create activities for story levels
Also no longer shows you activities from incompatible levels (someone plays an LBP3 level but you won't be shown it from LBP2)

Also gets rid of versus scores
2024-03-24 20:53:21 -05:00
Slendy
2949e83e01
Remove 7 player mode and show your playlists in LBP3 2024-03-24 20:53:21 -05:00
Slendy
8d034db465
I forgor the creator id 2024-03-24 20:53:21 -05:00
Slendy
a6aa12fbd9
Fix foreign key constraint on comment activity test 2024-03-24 20:53:21 -05:00
Slendy
dd5b1b8f08
Fix broken tests 2024-03-24 20:53:20 -05:00
Slendy
7533ae5e89
Fix broken merge 2024-03-24 20:53:20 -05:00
Slendy
d20b21e98a
Actually commit migration file for announcement timestamp 2024-03-24 20:53:20 -05:00
Slendy
c6f79da052
Add timestamp to WebAnnouncements 2024-03-24 20:53:16 -05:00
Slendy
d14a049741
Fix weird naming convention 2024-03-24 20:52:53 -05:00