Skip to content

Releases: Thorfusion/solder.py

1.5.0

06 Sep 14:25
d9d8ea1
Compare
Choose a tag to compare

What's Changed

Features

  • Adds user manegement and user roles that have certain access #62
    • Users can change their own password without any needed permissions
    • Users only have access to certain pages/actions based on their roles
    • Users can also only have access to certain modpacks
  • Adds error flash messages and some error handling
  • Allows optional and server builds to be enabled or disabled #75
  • Error handling for s3 uploading

Fixes

  • Fixes forced notation on modversions
  • Removed old unused flash system
  • Fixed in client where the same modpack could be added again
  • Reduced html code on modpack and modpacklibrary for hidden elements
  • fix an issue where not published builds where published in api
  • fix an issue where hidden modpacks where not hidden in api
  • fix an issue with api where it provided an additional mods in download links for mods in a pack
  • new templates for issues on github
  • fixes some bugs during setup

Database changes

ALTER TABLE sessions ADD COLUMN user_id INT NOT NULL
ALTER TABLE user_permissions ADD COLUMN solder_env BOOLEAN DEFAULT(0)
ALTER TABLE modpacks ADD COLUMN enable_optionals BOOLEAN DEFAULT(0)
ALTER TABLE modpacks ADD COLUMN enable_server BOOLEAN DEFAULT(0)

CREATE TABLE IF NOT EXISTS user_modpack (
                        id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
                        user_id INT NOT NULL,
                        modpack_id INT NOT NULL,
                        created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
                        updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP)

Due to a mistake, we forgot about user_permission table, so for existing users you need to manually add their entry, replace %s with the user id being added

INSERT INTO user_permissions (user_id) VALUES (%s)

Full Changelog: 1.4.3...1.5.0

1.4.3

25 Aug 10:42
759a304
Compare
Choose a tag to compare

What's Changed

  • Update to 1.4.3 by @maggi373 in #83
    fix envirables with true/false not working properly

Full Changelog: 1.4.2...1.4.3

1.4.2

16 Aug 21:50
cfe1f73
Compare
Choose a tag to compare

What's Changed

  • fixes docker container missing the blueprints and therefore broken
  • fixes minecraft and forge columns being created in the wrong table, both migration and new setup has this issue, to fix, run migration tool, then manually delete the columns from modpacks table
  • fixes a return on modpacklibrary page
  • a proper proper fix for the setup issue since 1.3.4

Full Changelog: 1.4.1...1.4.2

1.4.1

15 Aug 19:37
482e324
Compare
Choose a tag to compare

What's Changed

  • Fixes mirror url being used in rehash or add mod manually, now uses repo url
  • solder.py can now be run in only api or management mode aswell as both
  • update dependencies
  • on adding new mods, default type is now mod instead of none
  • some smaller fixes for database when migration
    • during technicmigration, none in notes are now fixed by having default
    • mod side default is now both and not null
    • mod type default is now mod
    • same applies on database setup but frontend already have fixes so no issues there.
  • solder api now respects mod side and optional tag

For people that migrated from technic solder before 1.4.1 you need to run this mysql command in your database

UPDATE mods SET side = 'BOTH' WHERE side IS NULL

Full Changelog: 1.4.0...1.4.1

1.4.0

10 Aug 15:36
0aef104
Compare
Choose a tag to compare

What's Changed

  • Update to 1.4.0 by @maggi373 in #80
    • Fixes
      • Setup of solder.py was broken in 1.3.4
      • fixed radio buttons being clickable in modupload form
    • Improvments
      • Setup, login and rest of website is now their own blueprints, work being done for #73

Full Changelog: 1.3.4...1.4.0

1.3.4

24 Jul 17:31
8a15caa
Compare
Choose a tag to compare

What's Changed

  • Bump certifi from 2024.6.2 to 2024.7.4 by @dependabot in #78
  • Update to 1.3.4 by @maggi373 in #79
    • Removes unneded br tags in setup page
    • fixes naming in modversion page
    • adds ability to pin modpacks to the navbar
    • adds button for easy access to marked build in navbar
    • updates dependencies

Full Changelog: 1.3.3...1.3.4

1.3.3

24 Jun 21:42
d899785
Compare
Choose a tag to compare

What's Changed

  • Update to 1.3.3 by @maggi373 in #77
    • Fixes mod ordering in modpackbuild, both list and adding mod list
    • removes br tags on login, fixes a bug some users experienced
    • reformat most files in solder.py
    • updated dependencies

Full Changelog: 1.3.2...1.3.3

1.3.2

23 Jun 16:59
d988728
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.3.1...1.3.2

1.3.1

23 Jun 16:10
a754912
Compare
Choose a tag to compare

What's Changed

  • Bump urllib3 from 2.2.1 to 2.2.2 by @dependabot in #71
  • Update to 1.3.1 by @maggi373 in #72
    • Adds mod count on each builds in modpack view page
    • Also adds the ability to generate changelog between versions #64

Full Changelog: 1.3.0...1.3.1

1.3.0

01 Jun 20:06
b222712
Compare
Choose a tag to compare

DATABASE CHANGE

ALTER TABLE mods ADD COLUMN modtype enum('MOD', 'LAUNCHER', 'RES', 'CONFIG', 'MCIL', 'NONE') DEFAULT 'NONE'
ALTER TABLE modversions ADD COLUMN jarmd5 VARCHAR(255) AFTER md5

What's Changed

  • Adds more MCIL stuff by @maggi373 in #70
    If a mod is detected on upload, the jar file is also uploaded with same naming scheme as zip, and own md5 hash for it in database
    mods has a type now
    only export function for mcil is missing, mod added and new modversion has now whats needed for mcil export, existing ones does not and has to manually be fixed if needed.

Full Changelog: 1.2.3...1.3.0