Commit graph

273 commits

Author SHA1 Message Date
Daniel Ceregatti
53dea0f45d Second working version with vite-express integration.
Replace Bootstrap with Privemue.
Add i18n support. English and Brazilian Portuguese to start.
New UI with Primevue. Use tabbed menu, nice theme, etc..
WIP with Steam login.
2024-07-29 07:54:16 -07:00
Daniel Ceregatti
85e59ae8c6 First working version with vite-express integration.
Refactor the main page to show the Steam login when none is detected. We can't do anything without it at first. Later, we can detect if the server is installed and allow operations. Or not.
Remove server container. This will be created and maintained by the web container going forward.
Use node 18, as vite requires it.
Use a single package.json for everything. This way it can be installed at the root of the container and not show up in the bind mount.
Refactor store to include actions. We can just define them and call them, instead of using fetch directly everywhere. WIP.
Begin to implement some of the backend methods, like the steam login. It works!

Remove the old code.
2024-07-28 10:35:43 -07:00
Daniel Ceregatti
28fba94599 Delete old file. 2024-07-27 18:03:23 -07:00
Daniel Ceregatti
e49bbe19dd Merge branch 'dotnet-client' 2024-07-27 18:02:01 -07:00
Daniel Ceregatti
1dcf5c9eac Audit and fix npm packages. 2024-07-27 11:13:50 -07:00
Daniel Ceregatti
4044436656 Merge branch 'main' into dotnet-client 2024-07-26 22:45:02 -07:00
Daniel Ceregatti
8ee1e5e91d Merge branch 'two-servers' 2024-07-26 22:44:20 -07:00
Daniel Ceregatti
119960773d Merge from main. 2024-07-26 22:30:39 -07:00
Daniel Ceregatti
d6d2c7562c Fix bad markup. 2024-07-26 21:55:52 -07:00
Daniel Ceregatti
176c06fd48 Add a Steam API client. WIP. 2024-07-26 21:48:38 -07:00
Daniel Ceregatti
8a87edf798 Refactor docker compose build so a single server image is built for however many servers.
Add horse mod, despite it being known to crash the Linux server. One day...
Fix bashrc getting appended to instead of written to. Oops!
2024-07-26 21:44:21 -07:00
Daniel Ceregatti
5f03c77278 Merge branch 'main' into two-servers 2024-07-09 09:16:24 -07:00
Daniel Ceregatti
ef0ef27731 Add Pripyat map, even though it still crashes the Linux server. 2024-07-09 09:16:06 -07:00
Daniel Ceregatti
0bd9a774a5 Merge branch 'main' into two-servers 2024-07-09 09:15:12 -07:00
Daniel Ceregatti
24f9ff2508 Merge from main by hand. 2024-07-09 09:10:41 -07:00
Daniel Ceregatti
3ae7bc4454 Stop doing stupid shit. 2024-06-30 11:53:27 -07:00
Daniel Ceregatti
8cf493e8d5 Fix bug where upstream files were not being copied to the correct location upon server start. 2024-06-28 20:56:57 -07:00
Daniel Ceregatti
9fb3504bac Ensure that the mpmissions being used has all the files we need. Some don't, like Namalsk, which lacks cfggameplay.json.
Account for default ports. Another consequence from the bad merge.
2024-06-27 14:34:21 -07:00
Daniel Ceregatti
960c5abf75 Update docs. 2024-06-22 13:20:56 -07:00
Daniel Ceregatti
daaee5decb Handle the server ID in PS1 in each server container. 2024-06-22 13:20:08 -07:00
Daniel Ceregatti
3fb63f8da8 Merge branch 'main' into two-servers 2024-06-22 13:14:22 -07:00
Daniel Ceregatti
9d26bcbe44 More alignment. 2024-06-22 13:14:13 -07:00
Daniel Ceregatti
118322f442 Merge branch 'main' into two-servers 2024-06-22 13:12:48 -07:00
Daniel Ceregatti
dc36e1817c Fix Namalsk map integration, as it has two sets of mpmissions directories. 2024-06-22 13:11:24 -07:00
Daniel Ceregatti
81597ad08e Merge branch 'main' into two-servers 2024-06-22 12:52:48 -07:00
Daniel Ceregatti
ed2b9499a2 Fix unaligned text. 2024-06-22 12:52:35 -07:00
Daniel Ceregatti
0c2506e8ea Merge branch 'main' into two-servers 2024-06-22 12:50:34 -07:00
Daniel Ceregatti
269f62cd72 Fix lack of STEAM_PORT in env. This was an oversight from a bad merge. 2024-06-22 12:49:00 -07:00
Daniel Ceregatti
d977b4d2d1 Downstream merge. 2024-06-22 10:28:11 -07:00
Daniel Ceregatti
7b70a07bab Working config. 2024-06-22 10:26:15 -07:00
Daniel Ceregatti
ec009e976c Merge branch 'main' into two-servers 2024-06-22 10:00:19 -07:00
Daniel Ceregatti
d1b5f36aca Add Namalsk map integration. WIP. 2024-06-22 10:00:06 -07:00
Daniel Ceregatti
bd8dac6d98 Make the Steam query port configurable. This is to prepare for other feature branches. 2024-06-21 14:04:58 -07:00
Daniel Ceregatti
fa8950ccf8 Merge branch 'main' into two-servers 2024-06-21 14:01:24 -07:00
Daniel Ceregatti
c25ca21574 Fix erroneous data in mod integration. 2024-06-21 14:01:10 -07:00
Daniel Ceregatti
c63f5c6be1 Merge from downstream. 2024-06-20 09:49:24 -07:00
Daniel Ceregatti
1a9c05a190 Oops, didn't mean to commit these two changes. Reverting. 2024-06-20 09:45:44 -07:00
Daniel Ceregatti
958c9711fe See if we get fewer commit warnings. 2024-06-19 17:12:24 -07:00
Daniel Ceregatti
2f1f30fd6b Merge branch 'main' into two-servers 2024-06-19 17:00:07 -07:00
Daniel Ceregatti
2f1509fb65 Change the default maps to always come from github. One used to be able to install the server using the anonymous steam user, but now the mpmissions aren't included if the anonymous user is used.
Handle multiple env files for now while we transition server orchestration entirely to the web container.
Add MuchStuffPack mod integration.
Add git to the web container so we can checkout server resources from github as git. Allows us to just pull on git to keep up to date.
2024-06-19 16:59:33 -07:00
Daniel Ceregatti
563b17b018 Update docs. 2024-05-30 14:51:28 -07:00
Daniel Ceregatti
50837d97da This should not have made its way here. Removing. 2024-05-30 12:59:04 -07:00
Daniel Ceregatti
60fc1d58ee Add support for setting the steam query port via the environment. It's optional, but now we're going to always use it, so we normalized that setting in the serverDZ.cfg that we ship (which we should probably update, as 1.25 adds new entries). 2024-05-29 20:08:08 -07:00
Daniel Ceregatti
6fbb9bf2ad Add support for two servers. This is a breaking change from before, as it creates new volumes with 1 and 2 in their names, allowing for 3, 4, ..., n. 2024-05-29 02:45:11 -07:00
Daniel Ceregatti
a905435bfc Add support for detecting the version of the server. It's very ghetto. There must be a better way. 2024-05-29 01:42:38 -07:00
Daniel Ceregatti
5eddab9abb Unset the DEVELOPMENT environment variable in .bashrc to make my life easier. 2024-05-29 01:39:47 -07:00
Daniel Ceregatti
eff95afd65 Make the default map-specific file be Chernarus. 2024-05-29 01:38:49 -07:00
Daniel Ceregatti
4ac44660d0 unset DEVELOPMENT in bashrc. 2024-05-28 11:17:42 -07:00
Daniel Ceregatti
90f67dc065 Put curl back into the web container, as it's used to download remote XML from mod integrations that have these. 2024-05-28 11:17:09 -07:00
Daniel Ceregatti
abceedf9c0 Switch to bookworm-slim.
Remove unnecessary packages.
2024-05-19 14:12:30 -07:00