8 Commits

Author SHA1 Message Date
b3d1457aa2 Refactor PDF handling and update Linux packaging
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
- Removed @napi-rs/canvas and pdf-to-img dependencies from package.json and bun.lock to streamline the project.
- Added PDF.js data directory configuration in the Linux service file and build scripts.
- Introduced a new pdfToImg module for rendering PDF pages to images, enhancing PDF conversion capabilities.
- Updated pdfUtils to utilize the new pdfToImg function, improving efficiency and modularity.
2026-07-28 23:01:22 +01:00
f3ae50c788 Add Windows MSI packaging and finalize desktop artifacts script
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
- Introduced a new Windows Installer XML (WXS) file for packaging the Farm Control Server as an MSI.
- Added a PowerShell script to build the MSI from the WXS file.
- Implemented a new script to finalize desktop artifacts, handling the publication of macOS and Windows packages.
- Updated the Linux build script to improve artifact naming and organization.
- Enhanced the Electrobun configuration to include a post-package script for finalizing desktop artifacts.
2026-07-28 22:37:38 +01:00
22c96768a5 Add sleep delay before displaying server info in after-install script. 2026-07-27 00:20:27 +01:00
a62df6a5c6 Enhance build metadata handling and server info logging
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
Add a function to write build metadata to src/buildInfo.json during the build process in Jenkinsfile. Update local server to include version and build number in the /info endpoint response. Modify index.js to log detailed host information when the --info flag is used. Update .gitignore to include src/buildInfo.json and adjust config.json with new host credentials.
2026-07-26 23:14:04 +01:00
997b374e0e Add before-remove script for package uninstallation and streamline after-remove script
All checks were successful
farmcontrol/farmcontrol-server/pipeline/head This commit looks good
Introduce a new before-remove.sh script to stop and disable the farmcontrol-server service before package removal. Update after-remove.sh to only reload systemd, simplifying the uninstallation process. Modify build-linux-packages.sh to include the new before-remove script in the packaging process.
2026-07-26 22:56:42 +01:00
d1592bf55e Refactor build scripts in package.json to enhance Mac and Linux build processes. Introduce new build:linux-bundle script, update dependencies, and remove deprecated WorkingDirectory from farmcontrol-server.service. Add import-meta-url.js for improved module handling in headless mode.
All checks were successful
farmcontrol/farmcontrol-server/pipeline/head This commit looks good
2026-07-26 21:37:20 +01:00
6539f6e2ff Updated Jenkinsfile to build Linux version using 'yarn build:linux'. Refactored package.json to separate server and renderer build processes, and added new build:linux script. Cleaned up after-install.sh and after-remove.sh scripts by removing service file handling.
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
2025-12-28 23:23:17 +00:00
7dbe7da4ee Overhauled server code.
Some checks reported errors
farmcontrol/farmcontrol-server/pipeline/head Something is wrong with the build of this commit
2025-12-28 21:46:58 +00:00