Commit graph

117 commits

Author SHA1 Message Date
Daniel Ceregatti
4a6427f893 Add Pinia store so we can have disparate components.
Add Vueuse core library for useFetch.
Get async requests working with the above.
Start using Vue's Suspense feature.
Make Status its own component.
Start adding search results.
Continued work on error modal.
Add CORS headers to the backend.
Remove error store, as we only have one store.
Rename favicon.png to favicon.ico.
Remove functions from scripts where they are not used. Move functions to where they are used.
Lots of WIP.
2023-06-11 18:20:14 -07:00
Daniel Ceregatti
fd1774cf1c Begin large refactor of Vue to move it into a proper development environment:
No more CNDs. All software is now bundled and served from a proper node-based development server.
Switch to using proper Vue files, so we can have proper IDE integration.
Open new port for the dev server mentioned above.
Split status and mod info requests in the back end.
Bypass CORS while developing.
2023-06-05 11:14:24 -07:00
Daniel Ceregatti
cf47b7fe1f Continued work on the web UI:
XML "editor" WIP.
Add xmltree component.
Start work on shelling out to steamcmd from node.
Move script functions out of common and into individual scripts.
Update docs.
2023-06-03 21:57:14 -07:00
Daniel Ceregatti
052304f450 Lots of layout changes.
Add placeholders for future functions.
Add buttons for install, update, update mods, etc.
Add bootstrap icons CDN.
Remove old CSS in favor of Bootstrap classes.
Add favico.
Update docs.
2023-05-26 22:59:36 -07:00
Daniel Ceregatti
8a8dc7f25a Make sure dev settings aren't upstream. 2023-05-26 10:36:12 -07:00
Daniel Ceregatti
2ec01a0d7a Merge pull request 'volume-refactor' (#1) from volume-refactor into main
Reviewed-on: https://ceregatti.org/git/daniel/dayzdockerserver/pulls/1
2023-05-26 17:19:37 +00:00
Daniel Ceregatti
8a50a69599 Search, add, and remove mods from the web UI WIP.
Better display of search results.
2023-05-25 22:32:26 -07:00
Daniel Ceregatti
d0b54a7475 Search WIP.
Other small refactors.
2023-05-25 20:24:04 -07:00
Daniel Ceregatti
8db515313b Add mod search.
Renamed main container to web.
Added the STEAMAPIKEY environment variable placeholder, as this is necessary when searching for mods.
Refactor locations of scripts and paths.
Rename start scripts to be more consistent with their new locations.
Run the web server under nodemon to prevent manual restarting.
2023-05-25 17:32:58 -07:00
Daniel Ceregatti
20910730df Add custom XML file selection highlight. 2023-05-25 08:53:31 -07:00
Daniel Ceregatti
5267ae70bb Add web UI. This has lofty goals.
Use node js module syntax.
Make dev easier by not starting the web UI from docker startup.
2023-05-24 23:40:44 -07:00
Daniel Ceregatti
0a73bea7f6 Revert back to the experimental appid. :( 2023-05-24 15:47:04 -07:00
Daniel Ceregatti
fb3a575662 Remove TL;DR, as we no longer have a release.
Remove the two shared objects that were necessary for running the release.
Restore the merging of XML at server start.
Adjust layout of list output to accommodate longer mod names.
2023-05-24 15:43:55 -07:00
Daniel Ceregatti
f755b6fe6d First version where XML merging is working using the cfgeconomy method!
Split up the XML wrangling between the two containers. This means the web one needs xmlstarlet.
2023-05-20 20:07:47 -07:00
Daniel Ceregatti
3a41001b9f Remove debug. 2023-05-20 00:00:59 -07:00
Daniel Ceregatti
2c47f36660 Oops, not sure how that ended up in there. 2023-05-19 23:42:38 -07:00
Daniel Ceregatti
92f9598910 WIP XML merging. Handle files without XML document node, as well as without their root node. This means we need a matrix of what file has what root node AND the names of the child nodes! 2023-05-19 23:41:34 -07:00
Daniel Ceregatti
ebf961bb73 Split off mpmissions so there's always a pristine version of it in the server container, for when we merge XML.
Forget xmlmerge. Switch to xmlstarlet.
Add the two shared objects required to get a release server running. This is just to get around having to host them/fish them up from elsewhere.
Update docs.
2023-05-18 21:09:01 -07:00
Daniel Ceregatti
2fc31fea37 The server doesn't like read only directories where it finds its files. Removing read-only flags from mounts for now.
Rework directories so there are fewer volumes within volumes.
Keep splitting up the code between the two scripts, removing unused variables, etc..
Add XML file merging integration. WIP.
Fix lack of comma in cfg file that _might_ have been causing issues...
2023-05-18 17:29:27 -07:00
Daniel Ceregatti
64f162001d Continue refactoring file locations in the two containers.
Also refactor variables so they're consistent.
Set container names in PS1.
Update docs.
2023-05-16 09:03:41 -07:00
Daniel Ceregatti
206c838f9d Continue splitting up the functionality. Only put functions and files that pertain to the container and/or volume.
Set forceSameBuild = 0 because the release build we have, while it works, reports a few revisions behind.
WIP getting all this working again.
2023-05-15 17:44:56 -07:00
Daniel Ceregatti
4cb4a4409d Mount each script into /usr/local/bin.
Keep separating out the functionality between the two scripts.
2023-05-15 08:56:51 -07:00
Daniel Ceregatti
71004b4fcc Start turning this project into a provisioning system: The main image will manage the base server files and mod files, then run servers as separate containers with these volumes mounted read-only, so they can be shared across server instances.
Add command line xml merge tool for when that time comes.
Add Red Falcon Heliz mod as the work-in-progress for getting a turnkey system that merges many different XML files that a full server mod installation will require.
Fix finding a mod by index and use that for all mod operations.
Start re-working how mods are added/removed/activated/deactivated. Split the script up into separate files with distinct functionality. WIP.
Add a template system for handling mod XML files.
Add an express web server to be the provisioning container frontend.
Add lots of comments.
Add TL;DR for turnkey release server install.
2023-05-13 20:58:35 -07:00
Daniel Ceregatti
169018665f Start turning this project into a provisioning system: The main image will manage the base server files and mod files, then run servers as separate containers with these volumes mounted read-only, so they can be shared across server instances.
Add command line xml merge tool for when that time comes.
Add Red Falcon Heliz mod as the work-in-progress for getting a turnkey system that merges many different XML files that a full server mod installation will require.
Fix finding a mod by index and use that for all mod operations.
Start re-working how mods are added/removed/activated/deactivated.
Add a template system for handling mod XML files.
Add lots of comments.
2023-05-10 19:35:36 -07:00
Daniel Ceregatti
291d869ed1 Fix bad usage. 2023-03-30 11:04:21 -07:00
Daniel Ceregatti
f0eb4d0afc Restore the DayZ experimental ID, as this is not yet released. 2023-03-30 11:04:04 -07:00
Daniel Ceregatti
9955d9b266 Fix issue where directories were not present when the volume is created. 2023-03-30 10:57:26 -07:00
Daniel Ceregatti
469af7c0c8 Add other maps to the config.
Set FPS output to 1 hour.
Change MOTD.
2023-03-30 10:23:15 -07:00
Daniel Ceregatti
fec061e8ff Handle different variants of types files.
Add map name to status output.
2023-03-30 10:21:20 -07:00
Daniel Ceregatti
f79a13ae92 Add Lightsword and Rag Baseitems support. WIP. 2023-03-30 10:19:54 -07:00
Daniel Ceregatti
b3781c2fcd Add debugging comments. 2023-03-30 10:19:05 -07:00
Daniel Ceregatti
38e4434bd5 Add gdb to the container.
Rework how mods are installed with various global scripts and env files instead of individual files for every mod.
Deal with different types file variants.
Add Pripyat support.
2023-03-30 10:17:16 -07:00
Daniel Ceregatti
f5048372d8 Fix typo. 2023-03-07 10:34:26 -08:00
Daniel Ceregatti
6c68dd292f Make types.sh be able to handle any XML file with types.xml data. 2023-02-24 15:15:17 -08:00
Daniel Ceregatti
412b4e692c Fix config diff handling. 2023-02-24 15:14:22 -08:00
Daniel Ceregatti
1a129135da Make WindStridesClothingPack use types.sh. 2023-02-24 15:13:04 -08:00
Daniel Ceregatti
35be16d48f Add SNAFU Weapons types integration. 2023-02-24 15:11:54 -08:00
Daniel Ceregatti
28a741ffba Make the container always restart unless explicitly stopped. 2023-02-22 21:21:25 -08:00
Daniel Ceregatti
40fce24641 Fix backups. 2023-02-22 21:20:08 -08:00
Daniel Ceregatti
86f4fe448c Add detection of extras/types.xml and handle it if found. WIP. 2023-02-22 20:59:10 -08:00
Daniel Ceregatti
e7da6d5cec Updated docs. 2023-02-22 20:58:01 -08:00
Daniel Ceregatti
5af8b43a72 Add script to merge and unmerge types.xml files. 2023-02-22 20:56:33 -08:00
Daniel Ceregatti
a250aa9be5 Fix keys not being copied when a mod is first installed.
Fix backups.
2022-11-11 15:41:22 -08:00
Daniel Ceregatti
8b72734b57 Updated docs. 2022-10-18 09:55:16 -07:00
Daniel Ceregatti
ba8146e491 Fix docs. 2022-10-15 17:07:44 -07:00
Daniel Ceregatti
df4c17c554 Update docs. 2022-10-15 17:00:35 -07:00
Daniel Ceregatti
3f5f3ac01f Fix backup.
Make adding mods only add one at a time.
Fix mod output listing.
2022-10-10 10:25:18 -07:00
Daniel Ceregatti
f9d3e63759 Note that multiple ids for adding/removing mods ins't a feature yet. 2022-10-10 10:21:26 -07:00
Daniel Ceregatti
5f6bc853a3 Add Banov script.
Update Windstride scripts.
2022-10-10 10:19:53 -07:00
Daniel Ceregatti
af88d74ea3 Add initial Banov support scripts. WIP. 2022-09-29 11:32:22 -07:00