Skip to content

Release 3.0.0-alpha.10

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 27 Nov 17:44

3.0.0-alpha.10 (2021-11-27)

PLEASE DELETE/MAKE A COPY OF YOUR SERVERPACKCREATOR.PROPERTIES IF YOU ARE MIGRATING FROM AN EARLIER ALPHA RELEASE

✂️ Refactor

  • Add getters/setters and allow reloading of properties. Also add some documentation to properties as well as more default values, just to be on the safe side (049925e)
  • Display download button only if status is Available (9c0edc7)
  • Display MB behind size (1188b9f)
  • Do not directly access the ServerPackRepository (ba4bf2c)
  • Just kill it. (b6bbe54)
  • Only check for database existence when running as a webservice (87618f4)
  • Remove/extract commonly used fields and methods. Make sure our database is always present. Other. (859ede1)
  • Remove/extract commonly used fields and methods. Work towards webservice (abf0135)
  • Remove/extract commonly used fields/methods (1f40517)
  • Remove/extract commonly used fields/methods (df84569)
  • Remove/extract commonly used fields/methods (c9cc954)
  • remove/extract commonly used fields/methods. Use configurationModel for everything. (4ea254f)
  • Replace file-saver with call to api. Improves downloading of server packs. (b60aeb7)
  • Set status to Queued for a new instance ServerPack (e2eb166)
  • Throw custom exceptions on incorrect IDs (875817c)
  • Use FIleUtils for copying (4529017)
  • Use FIleUtils for copying and deleting, Files for deleting files. Replace messages with lang keys (186d610)
  • Use FIleUtils for copying, Files for deleting (4459847)
  • webservice: Display status as "Generating" if server pack is being generated. Refactor regeneration to use queueing-system. (78b88f2)
  • webservice: Move ScanCurseProject and GenerateCurseProject to separate classes to eliminate statics. Closes GL#88 (5815eb7)
  • webservice: Remove unnecessary logging (a619997)
  • webservice: Set download-filename to fileDiskName + _server_pack-zip (e597dc4)
  • webservice: Set initial rows per page to 13 (e45cf0e)
  • webservice: Store size in MB and display size in frontend in MB (37d4daa)

⏩ Performance

  • Improve project- and filename acquisition by checking project and files directly (f6e7b54)

📔 Docs

  • Update CONTRIBUTING with step-by-step guide on how to contribute to ServerPackCreator (db3b061)
  • Update licenses (21ae0ad)
  • Update README with info regarding contributions. Closes GL#75. (e3d499c)
  • Update templates (9fe1101)
  • Write docs for all the REST API classes, methods etc. I've been working on for the last couple of weeks. This commit also contains some minor refactorings, but nothing major or worth a separate commit. (26519a0)

🦊 CI/CD

  • Remove changelog generation of GitHub releases as I copy and paste the changelog from GitLab anyway (25cdb26)
  • Update Gradle to 7.3 (5dafa9e)
  • deps: bump spring-boot-devtools from 2.5.6 to 2.6.0 (678e175)
  • deps: bump spring-boot-starter-data-jpa from 2.5.6 to 2.6.0 (dc8797a)
  • deps: bump spring-boot-starter-log4j2 from 2.5.6 to 2.6.0 (5b67e52)
  • deps: bump spring-boot-starter-quartz from 2.5.6 to 2.6.0 (0433e90)
  • webservice: Add artemis dependency for queueing system. Update dependencies. Exclude redundant slf4j. (0954a56)
  • Reactivate docker jobs (4b520c2)
  • Remove unnecessary login to docker registry (e5b034f)
  • Run GitHubs dependabot on dependabot-branch and run tests on GitHubs infrastructure. The more the merrier (659f0f4)
  • Tag dev-images with short_sha as well. Remove some artifacts (f3f9913)

🧪 Tests

  • Adapt tests (e20f89d)
  • Autowire jmsTemplate (1ba6968)
  • Don't delete default files after testing for them. (b34602c)
  • Fix some tests (5ba12ad)
  • Hopefully fix ArtemisConfigTest (7573d99)

🚀 Features

  • Allow specifying custom server-icon.png and server.properties. The image will be scaled to 64x64. Implements GH#88 and GH#89. (e3670e4)
  • Basic filewatcher to monitor a couple of important files. Example: Delete serverpackcreator.properties to reload defaults (d3f194a)
  • Implement voting-system for server packs. Improve styling of download table. (e49fa96)
  • in start scripts: Ask user whether they agree to Mojang's EULA, and create eula=true in eula.txt if they specify I agree. Closes GH#83 (5995f51)
  • gui: Add button in menubar to clear GUI. Allows starting with a fresh config without having to restart ServerPackCreator. Implements GH#91 (dddee02)
  • gui: Save the last loaded configuration alongside the default serverpackcreator.conf, unless a new configuration was started. Can be activated/deactivated with de.griefed.serverpackcreator.configuration.saveloadedconfig=true or false respectively (e03b808)
  • webservice: Add fields and methods required by CurseForge modpack creation (f3d8da9)
  • webservice: Allow downloads of available server packs. Expand checks for queueing system of newly submitted generation request. (7b75064)
  • webservice: Allow overriding of Spring Boot properties with an external application.properties in the directory where SPC is being executed in. (8b03f59)
  • webservice: Allow the creation of a server pack from a CurseForge projectID and fileID as well as regeneration (enable in properties) of said server pack. (fd7f6d3)
  • webservice: Check for -web arg. Explicitly warn user about running web on Windows machines. Move DI to better accommodate mode chosen. (1585130)
  • webservice: Expand properties for webservice and extract default dirs to exclude (bbfc0fa)
  • webservice: Increment download counter when downloading a server pack (2ba7adf)
  • webservice: More work towards the frontend. Create a server pack from a CurseForge projectID and fileID. Dark mode switch. Interactive background. Mobile compatibility changes. (11ab90f)
  • webservice: Move commonly used fields to custom properties. Allow reload via reload() (b60e723)
  • webservice: Populate Downloads-section with server packs from database and allow download if available. Add search-function and allow users to select visible columns. (80f4b8d)
  • webservice: Queueing-system for generating server packs one-by-one. (93a666a)
  • webservice: Remove/extract commonly used fields/methods. Couple of refactorings of run() for webservice. (6d986f9)
  • webservice: Update database entry for newly created server pack with availability, filesize and cleanup no longer needed files. (a3c5694)

🛠 Fixes

  • Instead of using an external applications.properties for customizing, use our serverpackcreator.properties...which exists anyway! (3794896)
  • Catch occasional error from CurseForge's API which could lead to dead entries in the database (625a8a8)
  • Fix axios instance for api (12508f3)
  • Fix building of list of fallbackmods if property contains , (e000f25)
  • Fix downloading of server packs by storing the path of the server pack in the DB in the path column (8a47213)
  • Fix downloading of server packs by updating the path of the server pack in the DB in the path column (64dc619)
  • Fix user in Docker environment (39f6bc1)
  • Move destination acquisition into if-statement (5d356a9)
  • Move destination into if-statement (9ae5ceb)
  • Prevent NullPointerException if version or author are not defined in the modpacks manifest. (d7336ba)
  • remove -- from Forge nogui argument. Fixes GH#82 (f585891)
  • webservice: Display correct tooltips for buttons in MainLayout (d4530d3)

Other

  • Include JProfiler and ej-Technologies in Awesomesauce section (b989173)
  • New screenshots, comparisons between different modes (12ed5f6)
  • Remove --no-daemon from run configurations (a76e357)
  • Remove mention of armv7 docker images as they are no longer being supplied (72e8308)
  • deps: pin dependencies (358275b)
  • deps: update dependency @types/node to v16.11.10 (e38cd23)
  • deps: update dependency org.apache.activemq:artemis-jms-server to v2.19.0 (3245976)