Commit graph

495 commits

Author SHA1 Message Date
Pat Hartl
698ddc378e Add test for checking CreatedBy on basic record creation 2025-03-16 21:04:24 -05:00
Pat Hartl
a47f3feeb7 (Mostly) fix launcher download
Fixes #191
2025-03-16 20:13:35 -05:00
Pat Hartl
2e63b6e8e7 Tests for UpdateService methods that access GitHub 2025-03-16 19:37:23 -05:00
Pat Hartl
78da00a83d Change namespace of abstractions 2025-03-16 14:35:53 -05:00
Pat Hartl
71b3addadc Refactor GitHub calls to a new service 2025-03-16 14:01:33 -05:00
Pat Hartl
86c906f8db Add project for automated tests
Had to remove the responsibility of providing the current version of the application from UpdateService. A new IVersionProvider can be used to get the version. This also allows for this to be mocked in tests.
2025-03-15 21:00:00 -05:00
Pat Hartl
ba5b0462f0 Use webpack 2025-03-15 15:52:58 -05:00
Pat Hartl
f52e0349a5 Fix depot list API, gracefully handle depot errors
- Depot endpoint was doing an improper operation to get a user by username
- Failure to get depot results will result in a graceful error handling
- Depot will now show a no results error if nothing is available
- Depot will now show a no results message if there are no results in the applied filter

Fixes #210
2025-03-14 02:19:11 -05:00
Pat Hartl
9d86bf6fd5 Fix add of media in editor
Fixes #216
2025-03-14 00:25:09 -05:00
Pat Hartl
58fcf92109 Merge branch 'main' of https://github.com/LANCommander/LANCommander 2025-03-13 20:59:30 -05:00
Pat Hartl
d322b92081 Add FilePicker for save paths
Ref #219
2025-03-13 20:54:31 -05:00
PGHJA991id12
6e61b34f80
Untie "backups" and "launchers" path 2025-03-13 21:51:41 +00:00
Pat Hartl
5ea13d6a17 Add icon 2025-03-13 01:24:45 -05:00
Pat Hartl
246ecefb02 Fix first time setup administrator creation
Fixes #206
2025-03-13 01:24:09 -05:00
Pat Hartl
7b76bdd02b Added middleware to use JWT bearer authentication if header exists 2025-03-12 23:48:53 -05:00
Pat Hartl
58dc88ee53 Use DataTable in Settings / Roles 2025-03-12 01:10:03 -05:00
Pat Hartl
6d9dcc5b9a Added logging for unauthorized save endpoints 2025-03-12 01:09:35 -05:00
Pat Hartl
3c735c13e6 Added log for blank depot results 2025-03-12 01:09:14 -05:00
Pat Hartl
bbf2e9cba7 Remove unused middleware 2025-03-12 01:08:42 -05:00
Pat Hartl
444bc9d4bc Clean up startup 2025-03-11 21:21:16 -05:00
Pat Hartl
68869d0bc8 Add API link to main menu 2025-03-11 20:16:02 -05:00
Pat Hartl
e2d3928d19 Move Scalar config out of extensions, add bearer token field to API reference 2025-03-11 19:32:38 -05:00
Pat Hartl
6652670c01 Move menu and sidebar to components 2025-03-11 19:22:54 -05:00
Pat Hartl
086a17e1c8 Actually fix ping blocking requests 2025-03-11 02:05:31 -05:00
Pat Hartl
6800efa35f Fix ping middleware blocking all requests 2025-03-11 01:34:11 -05:00
Pat Hartl
dafd0e31ff Try fallback URIs if server is unreachable, enhance ping
Fixes #208
2025-03-10 21:44:51 -05:00
Pat Hartl
5be13ea9dd Move middlewares to files 2025-03-10 21:40:17 -05:00
Pat Hartl
9a29faad0f Fix Scalar registration 2025-03-10 02:14:53 -05:00
Pat Hartl
5bc4675657 Fix login page 2025-03-09 18:44:22 -05:00
Pat Hartl
b9f8e83a31 Change script editor table size, add name 2025-03-09 15:28:22 -05:00
Pat Hartl
8fc9c33a9a Show all records if pagination is hidden 2025-03-09 15:06:36 -05:00
Pat Hartl
2953dd5d78 Hook up logging for IPX relay 2025-03-09 01:51:17 -06:00
Pat Hartl
06b638e592 Make Settings / Users a searchable datatable 2025-03-09 01:43:12 -06:00
Pat Hartl
f001b6167b Refactor application to use storage location path for saves 2025-03-09 00:15:47 -06:00
Pat Hartl
7efac9867a WIP fix for save uploading, move saves to endpoint
Ref #190

Ported the save API functionality to endpoints as part of ongoing efforts to use minimal API patterns.

Added some more security checks to make sure users can only alter or download their own saves.

Moved upload pathing to use the default save storage location. Settings pages will need to be updated to use this storage location. Other areas of the application will have to be checked to make sure they're not reading from `Settings.yml`.
2025-03-08 20:06:34 -06:00
Pat Hartl
6e039b3847 Skip create admin step if one already exists 2025-03-08 16:13:15 -06:00
Pat Hartl
cbc0599897 Add backup, launcher, and server paths to first time setup 2025-03-08 16:09:50 -06:00
Pat Hartl
0147b59002 Fix user custom fields not displayed on edit
Fixes #197
2025-03-08 14:13:51 -06:00
Pat Hartl
3d9c762842 Only create directory if working dir is not null 2025-03-08 03:39:30 -06:00
Pat Hartl
a53318b656 Ensure config directory is created 2025-03-08 01:25:01 -06:00
Pat Hartl
7ee78d77d6 Create Settings.yml if it doesn't already exist 2025-03-07 23:12:07 -06:00
Pat Hartl
41f4fa93f0 Initialize Docker configuration 2025-03-07 20:44:32 -06:00
Pat Hartl
f7477e9f1c Fix IPX relay autostart
Fixes #188
2025-03-07 01:03:14 -06:00
Pat Hartl
de7e029ebf Deprecate old Dockerfile, update compose sample 2025-03-06 19:52:59 -06:00
Pat Hartl
66f78e92d3 Update icon 2025-03-06 18:38:50 -06:00
Pat Hartl
7bacfe1929 Correctly filter server scripts
Fixes #194
2025-03-06 17:34:49 -06:00
Pat Hartl
a03677b9c6 Adjust where artifacts are extracted to 2025-03-05 20:31:17 -06:00
Pat Hartl
9e0e28edf0 Adjust pathing 2025-03-05 20:12:13 -06:00
Pat Hartl
059a639335 Adjust pathing 2025-03-05 19:39:52 -06:00
Pat Hartl
cc94b7ee1e Use correct image tag 2025-03-05 17:51:42 -06:00