Commit graph

6 commits

Author SHA1 Message Date
sudokoko
01e6fa191a
Update to .NET 8 and C# 12 (#952)
* Initial SDK and dependency bumps

* Bump Pomelo.EntityFrameworkCore.MySql to 8.0.0-beta.2

Should fix the MissingMethodException error in unit tests

* Update CI workflow to use .NET 8

* Apply suggested change from compile time warnings

* Fix digest tests

* Bump dependencies once more

* Update xunit

* Remove obsolete ISystemClock from TokenAuthHandler

* Update dependencies

* Add digest debug preprocessors back

* Maybe don't break #966

* Bump EF Driver and update various NET7 references

* Fix warnings in digest middleware tests

---------

Co-authored-by: Slendy <josh@slendy.pw>
2024-02-26 20:08:48 +00:00
Slendy
c8c54d78de
Fix dockerfile output path 2023-05-29 20:08:37 -05:00
Slendy
5e4954ae32
Update Dockerfile to comply with dotnet 7.0.2 SDK changes 2023-03-30 20:08:20 -05:00
Josh
017dcd6888
Make PhotoSubjects use a one to many relationship (#687)
* Attempt to remodel PhotoSubject and Photo relationship

* Fix migration name

* Use exactName for migration lock

* Revert "Use exactName for migration lock"

This reverts commit 76cee6a3ff.

* Set command timeout to 5 minutes for database migrations

* Delete unused PhotoSubjects in migration

* Clean up website queries and finalize subject refactor

* Add migration to remove PhotoSubjectCollection

* Add grace period for container startup and optimize startup

* Make config backup copy original file

* Allow docker entrypoint to fix data permissions
2023-02-24 04:20:55 +00: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
Josh
263bfb5b23
Containerize Project Lighthouse (#582)
* Add lighthouse docker support

* Update to NET 7.0

* Make docker copy git repository info

* Add restart policy to compose file

* Delete temp folder after copying to data

* Only build the docker image once

* Fix builds from being dirty

* Add su-exec to final image

* Run lighthouse as non root user

* Add compose file to gitignore

* Remove compose file from gitignore

Co-authored-by: Dagg <daggintosh@outlook.com>
2023-01-04 19:26:49 -06:00