Commit graph

17 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
c48da8ccd7
Fix ownership check in docker entrypoint script 2023-02-24 00:45:05 -06: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
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
Josh
d16132f67f
NET 7.0 support (#581)
* NET 7.0 support

* Bump Pomelo MySql to support EF7

* Its net7.0 time

* Trying to resolve dependencies by hand

* Fix .NET 7 warnings

* Bump InfluxDB version

* Fix bad null handling
2022-12-13 18:17:28 -06:00
Jayden
4c3c152322
Remove gzip usage from nginx example config
Closes #435
2022-08-17 14:35:59 -04:00
Josh
d23a264b8a
Lots of bug fixes and performance improvements (#410)
* Many bug fixes and performance enhancements

* Fix warnings and speed up photos with me

* Finish refactoring user serialization

* Finish refactoring user serialization
Use GameTokens instead of User when possible
Prevent negative page sizes

* Fix debug compilation

* Add gzip compression to example nginx config

* Remove deflate changes

* Add UsernameFromWebToken

Co-authored-by: Jayden <jvyden@jvyden.xyz>
2022-08-13 00:56:17 +00:00
jvyden
f40c6ce894
Merge branch 'main' into mod-panel 2022-06-17 19:55:15 -04:00
jvyden
c0df2c302f
[skip ci] Add bangs to scripts, add update script 2022-06-11 19:03:35 -04:00
jvyden
b2e6f25265
Merge main into mod-panel 2022-06-10 04:01:06 -04:00
jvyden
64f65ba574
Add support for migrations that need the database context 2022-06-10 02:21:01 -04:00
jvyden
8301418085
Use permission level model for permissions
This is better. Because having 20 fucking columns for permissions is STUPID.
2022-05-22 15:51:02 -04:00
jvyden
9a1ebc0373
[skip ci] Document nginx config, add https redirection 2022-05-20 22:23:57 -04:00
jvyden
6fb48234e5
[skip ci] Add restart on failure to systemd units 2022-05-15 22:38:06 -04:00
jvyden
ab758fe713
[skip ci] Add example nginx config 2022-05-15 22:34:49 -04:00
jvyden
af96f615c7
[skip ci] Fix invalid exec format for systemd services 2022-05-15 22:09:57 -04:00
jvyden
9486bde26c
Add systemd units, build & start production scripts to repo 2022-05-15 21:48:23 -04:00