Commit graph

3050 commits

Author SHA1 Message Date
dalbitresb12
6641069c4a
Set BaseGame for extensions/mods before running scripts
The server sets `BaseGame` to null to avoid a circular dependency, but if this is not set then the expansions/mods won't find their scripts

There's probably a better way of doing this, like changing the `Run*Script` functions to receive the game ID, just like the `GameService.Install` already does, but this temporary change fixed the script issue for now
2024-05-10 05:53:14 -05:00
Pat Hartl
426a675fdc Initial commit, basic auth and library list 2024-05-09 20:44:40 -05:00
Pat Hartl
651cc4d439
Update installermanifest.yaml 2024-05-08 01:18:40 -05:00
Pat Hartl
9faa47adcd Fixed import of genres, publishers, developers, tags, and collections
Some checks failed
LANCommander Release / build (push) Has been cancelled
2024-05-07 23:56:26 -05:00
Pat Hartl
70d2c94bb6 Fix imports for FusionCache 2024-05-07 23:11:07 -05:00
Pat Hartl
0a55c944a8 Fix dependent game update checking 2024-05-07 23:09:33 -05:00
Pat Hartl
64d28c6a33 Switch cache invalidation to service logic 2024-05-07 23:08:22 -05:00
Pat Hartl
f7c77ea140 Revert "Invalidate mapped cache on game update/create"
This reverts commit 5d348a248b.
2024-05-07 23:06:27 -05:00
Pat Hartl
5d348a248b Invalidate mapped cache on game update/create 2024-05-07 20:36:32 -05:00
Pat Hartl
a14b7cdeac Slim down responses from game imports
Reduced the amount of data being sent to the client from the API which results in smaller, somewhat faster requests. In a library of ~250 games the requests went from 5.6MB to 3.3MB.
2024-05-07 20:08:07 -05:00
Pat Hartl
286ec3f415 Fix MultiplayerMode and Collection mapping 2024-05-07 20:06:28 -05:00
Pat Hartl
e56c8f6c2a Cache automapped games
Greatly reduces the time to transmit the list of games to client by caching the results from Automapper.
2024-05-07 20:06:16 -05:00
Pat Hartl
b3ef0e754e Run uninstall scripts for mods/expansions 2024-05-07 18:08:59 -05:00
Pat Hartl
9d8df90155 Import games using Game type instead of manifest
Games now import using the Game type instead of manifest. The manifest is fine for locally caching the game (though who knows, this could change as well), but for providing complex information like dependent games versioning it just doesn't have enough data.

Importing has been changed to provide the "Update Available" title change on games where the main game or mod/expansion has a new version available.

Notes now get populated on import, not just install.

Reworked population of game menu items to include non-primary actions from mods/expansions.

Simplified and fixed certain scripts not running for mods/expansions.
2024-05-07 01:47:00 -05:00
Pat Hartl
86393deeea Restructure how dependent manifest actions are loaded 2024-05-06 22:55:25 -05:00
Pat Hartl
dcf42d85a8 Merge branch 'main' of https://github.com/LANCommander/LANCommander 2024-05-06 22:53:33 -05:00
Pat Hartl
1bf18a17cd
Update installermanifest.yaml 2024-05-04 23:39:05 -05:00
Pat Hartl
c8bb3623c1
Update installermanifest.yaml 2024-05-04 01:25:11 -05:00
Pat Hartl
4beaa114f8 Add mod/expansion actions to action list
Some checks failed
LANCommander Release / build (push) Has been cancelled
2024-05-04 01:07:06 -05:00
Pat Hartl
8cc8122d13 Install dependent expansions/mods 2024-05-01 23:58:07 -05:00
Pat Hartl
99a2063656 Merge branch 'main' of https://github.com/LANCommander/LANCommander 2024-05-01 21:32:26 -05:00
Pat Hartl
827f04f1e0 Added setting for max upload chunk size, fix uploading of large chunk sizes 2024-05-01 21:32:21 -05:00
Pat Hartl
f8f23ff7e9
Update installermanifest.yaml 2024-04-29 21:24:50 -05:00
Pat Hartl
4006bbd266 Fix notes not importing
Some checks failed
LANCommander Release / build (push) Has been cancelled
2024-04-29 19:32:44 -05:00
Pat Hartl
c2bb912ba3 Fix file picker inputs losing their value 2024-04-29 19:29:38 -05:00
Pat Hartl
c32116512e Write all scripts on install 2024-04-29 18:33:31 -05:00
Pat Hartl
f14064da6a
Update ScriptHelper.cs 2024-04-25 13:57:12 -05:00
Pat Hartl
fe4a199a2f
Update README.md 2024-04-04 20:08:01 -05:00
Pat Hartl
ba280c4633
Update README.md 2024-04-04 20:00:32 -05:00
Pat Hartl
a436e79c7c Fix sorting on servers that have no game specified
Some checks failed
LANCommander Release / build (push) Has been cancelled
2024-03-30 18:29:39 -05:00
Pat Hartl
d032254deb Disable local file button if in progress or not valid 2024-03-30 14:58:32 -05:00
Pat Hartl
9b2a1c7b13 Allow selection of local files for archive uploads 2024-03-30 14:55:16 -05:00
Pat Hartl
884933a9d3 Fix check for .lcx file extension 2024-03-30 14:54:44 -05:00
Pat Hartl
9ea1878289 Allow importing games via local file 2024-03-30 14:42:04 -05:00
Pat Hartl
1559b50c7f Move main file picker functionality to button 2024-03-30 14:41:30 -05:00
Pat Hartl
97ed6890f5 Added pages for managing companies, engines, genres, tags 2024-03-30 13:07:27 -05:00
Pat Hartl
d19583e748 Update redistributable import dialog to new uploader 2024-03-30 12:31:25 -05:00
Pat Hartl
ed0462ff5d Update archive uploader to support new chunk uploader 2024-03-30 12:29:26 -05:00
Pat Hartl
0b786211fa Update Chunk Uploader and Import Dialog
The chunk uploader has been updated with a drag and drop interface as the old UI was always a bit temporary. The import dialog has been updated to support the new UI. Clearing now works and opening the import dialog for a second time does not have the previous file populated.
2024-03-30 12:23:56 -05:00
Pat Hartl
11a41e922a Fix import failing when updating actions 2024-03-30 11:55:57 -05:00
Pat Hartl
ace6f3f475 Fix users not deleting if only one administrator exists 2024-03-29 20:15:25 -05:00
Pat Hartl
a5c6aaf585 Remove 500 character limit on game description 2024-03-29 20:05:55 -05:00
Pat Hartl
c136fc794d Record engine details from IGDB 2024-03-29 17:19:42 -05:00
Pat Hartl
b70fa129f9 Add the ability to see if AddExisting created a new record 2024-03-29 17:18:18 -05:00
Pat Hartl
a83f1ef73a Add remakes and remasters to metadata search results 2024-03-29 12:55:53 -05:00
Pat Hartl
28ca1fbdcc Merge branch 'main' of https://github.com/LANCommander/LANCommander 2024-03-29 12:55:19 -05:00
Pat Hartl
f03b5e5b24
Change default Docker pathings 2024-03-29 00:26:52 -05:00
Pat Hartl
069881fb6b
Update installermanifest.yaml 2024-03-28 20:17:05 -05:00
Pat Hartl
b5efcb6bf5 Add support for legacy "Saves" path in save archives
Some checks failed
LANCommander Release / build (push) Has been cancelled
2024-03-28 19:59:15 -05:00
Pat Hartl
56e760206f Fix packing of save files 2024-03-28 19:38:25 -05:00