Commit graph

3050 commits

Author SHA1 Message Date
Pat Hartl
3611cedb67 Implement interface properly 2024-11-12 00:00:31 -06:00
Pat Hartl
63d203f87f Map DepotGame cover from attached media 2024-11-11 20:20:02 -06:00
Pat Hartl
fd994c2524 Add more metadata to DepotGame, add DepotService 2024-11-11 19:54:02 -06:00
Pat Hartl
09901e6943 Add method to get full media thumbnail URL 2024-11-11 19:11:03 -06:00
Pat Hartl
f0abe24367 Filter collections and play sessions 2024-11-11 18:33:04 -06:00
Pat Hartl
407093bdce Optimize query, filter play sessions and collections 2024-11-11 18:30:31 -06:00
Pat Hartl
b5bddf806d Optimize controller routes for getting depot and library games 2024-11-11 18:22:30 -06:00
Pat Hartl
6cfcb914ff Remove unused navigational property on archive 2024-11-11 18:19:39 -06:00
Pat Hartl
4c242b07ce Stop operation stopwatch on complete 2024-11-11 18:19:22 -06:00
Pat Hartl
3440345868 Add ability to project to another datatype in repo
This commit adds the ability for database requests to be projected to another datatype using AutoMapper. This is extremely useful for grabbing large amounts of data from the database and mapping it to another datatype without the overhead of mapping it post-query.
2024-11-11 18:18:59 -06:00
Pat Hartl
872ec3725d Rename LibraryItem to ListItem 2024-11-09 17:15:04 -06:00
Pat Hartl
ddce80d296 Rename semaphore to mutex 2024-11-08 00:39:55 -06:00
Pat Hartl
eaa4b862f6 Make user service use mutex 2024-11-08 00:38:47 -06:00
Pat Hartl
0bb8c046a1 Add method to get thumbnail route 2024-11-07 20:41:39 -06:00
Pat Hartl
5f4dce416e Avoid exception on 500 responses 2024-11-07 20:41:10 -06:00
Pat Hartl
f61d6db02a Add HTTP method for library get 2024-11-07 20:25:24 -06:00
Pat Hartl
a4eb19ffb0 Generate thumbnail for PNG as JPEG if no transparent pixels 2024-11-07 18:55:10 -06:00
Pat Hartl
a98c2c92a2 Add route to get thumbnail 2024-11-07 18:54:46 -06:00
Pat Hartl
51a8a5cdb7 Log any exceptions for generating thumbnails 2024-11-07 02:17:08 -06:00
Pat Hartl
620c8d5d2d Check that source file for thumbnail already exists 2024-11-07 02:16:57 -06:00
Pat Hartl
40cd698510 Fix PDF thumbnail generation 2024-11-07 02:16:42 -06:00
Pat Hartl
4a7277cc7f Change game table size to small 2024-11-07 02:06:54 -06:00
Pat Hartl
8996c04c83 Add eager loading to repo. Move semaphore to DbContext. Inject DbContext instead of factory to open less connections 2024-11-07 01:40:05 -06:00
Pat Hartl
6bd75b0d3d Server workflow install node packages 2024-11-05 23:46:44 -06:00
Pat Hartl
9d539c3c24 Server package.json 2024-11-05 23:38:46 -06:00
Pat Hartl
38f2eba664 Fix automapper def 2024-11-05 22:35:38 -06:00
Pat Hartl
dd459f95a9 Remove reference to sandbox project 2024-11-05 20:44:56 -06:00
Pat Hartl
23829ca9b3 Merge branch 'v1.1.0' into user-libraries 2024-11-05 20:42:14 -06:00
Pat Hartl
4643aecc8f Remove useless startup log 2024-11-05 20:38:40 -06:00
Pat Hartl
7a90c254bd Only generate thumbnails on start if database is connected 2024-11-05 20:22:34 -06:00
Pat Hartl
e1030d25d9 Enable migrations and server autostarts 2024-11-05 20:21:28 -06:00
Pat Hartl
31433213b6 Generate thumbnails on startup 2024-11-05 20:20:03 -06:00
Pat Hartl
659a4e3b50 Fix abstract base background job class 2024-11-05 20:16:34 -06:00
Pat Hartl
1fc74d22dd Add background job for generating all thumbnails 2024-11-05 19:39:32 -06:00
Pat Hartl
ce105a285f Rename GetImagePath -> GetMediaPath 2024-11-05 19:38:59 -06:00
Pat Hartl
262cbacc52 Fix upload location for media 2024-11-05 19:23:29 -06:00
Pat Hartl
5fa37ef257 Generate thumbnails on upload for all media types 2024-11-05 19:22:59 -06:00
Pat Hartl
4d6b704a5b Fix primary action flag not mapping for API 2024-11-04 19:07:37 -06:00
Pat Hartl
08d9e91c99 Fix queue not processing new additions 2024-11-04 18:54:04 -06:00
Pat Hartl
02ac6a00f8 Dialog to verify install files with ability to select replacement files
Implements #142
2024-11-04 17:31:37 -06:00
Pat Hartl
64ea9fd503 Gracefully handle any errors from searching for lobbies 2024-11-03 16:19:39 -06:00
Pat Hartl
e30a1baef3 Start of migrations, services, controllers 2024-10-31 01:54:34 -05:00
Pat Hartl
aad7a44262 Merge branch 'main' into v1.1.0
# Conflicts:
#	.github/workflows/LANCommander.SDK.yml
2024-10-30 22:57:10 -05:00
Pat Hartl
7f5bc01abf Remove symbol package 2024-10-30 22:37:08 -05:00
Pat Hartl
7ef8e17dd0 Add workflow for publishing SDK package 2024-10-30 19:03:56 -05:00
Pat Hartl
a47d017854 Add workflow for publishing SDK package 2024-10-30 19:01:12 -05:00
Pat Hartl
9d239a0066 Add sorting to launcher
Implements #122
2024-10-30 18:53:05 -05:00
Pat Hartl
2ba175a45d Add better null checking for Group By 2024-10-30 18:50:27 -05:00
Pat Hartl
25a4766b7d Use semaphores to make DbContext access in a repository safer 2024-10-30 18:15:02 -05:00
Pat Hartl
cdd8f31f93 Use cached results for indexes 2024-10-30 18:14:06 -05:00