diff --git a/.github/release-body.md b/.github/release-body.md index 522418f..066e12e 100644 --- a/.github/release-body.md +++ b/.github/release-body.md @@ -1,12 +1,8 @@ -## Release (✧ω✧) - -> [!CAUTION] -> **Update your Config.toml according to the example in the repository!** +## Bug fix What's added: -- Added support for **Assets**! As well as their automatic update from Figura repository! -- WebSocket reworked! *No more panics!* -- Reworked auto-update of conf files. -- Fixed avatar size limits +- Prohibit creation of two sessions on one user +- Fixed avatar refreshing when deleting an avatar +- Fixed session relevance check -**Full Changelog**: https://github.com/shiroyashik/sculptor/compare/v0.3.1...v0.4.0 \ No newline at end of file +**Full Changelog**: https://github.com/shiroyashik/sculptor/compare/v0.3.0...v0.3.1 \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 590831f..0c64c73 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,7 +40,6 @@ jobs: # Create necessary files and directories - name: Create necessary files run: | - mkdir -p target/output cp Config.example.toml target/output/Config.toml # Compress the output | Windows diff --git a/Cargo.lock b/Cargo.lock index 045a3a6..4e03eb0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1286,9 +1286,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.164" +version = "0.2.162" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "433bfe06b8c75da9b2e3fbea6e5329ff87748f0b144ef75306e674c3f6f7c13f" +checksum = "18d287de67fe55fd7e1581fe933d965a5a9477b38e949cfa9f8574ef01506398" [[package]] name = "libredox" @@ -1873,9 +1873,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.23.17" +version = "0.23.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f1a745511c54ba6d4465e8d5dfbd81b45791756de28d4981af70d6dca128f1e" +checksum = "eee87ff5d9b36712a58574e12e9f0ea80f915a5b0ac518d322b24a465617925e" dependencies = [ "once_cell", "rustls-pki-types", @@ -1948,7 +1948,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "sculptor" -version = "0.4.0" +version = "0.4.0-dev" dependencies = [ "anyhow", "axum", diff --git a/Cargo.toml b/Cargo.toml index 3ffd070..93b843e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "sculptor" authors = ["Shiroyashik "] -version = "0.4.0" +version = "0.4.0-dev" edition = "2021" publish = false diff --git a/Config.example.toml b/Config.example.toml index bc9b176..74beb9e 100644 --- a/Config.example.toml +++ b/Config.example.toml @@ -12,7 +12,7 @@ listen = "0.0.0.0:6665" ## If not set, default providers (Mojang, ElyBy) will be provided. # authProviders = [ # { name = "Mojang", url = "https://sessionserver.mojang.com/session/minecraft/hasJoined" }, -# { name = "ElyBy", url = "https://account.ely.by/api/minecraft/session/hasJoined" }, +# { name = "ElyBy", url = "http://minecraft.ely.by/session/hasJoined" }, # ] ## Enabling Asset Updater. diff --git a/src/auth/types.rs b/src/auth/types.rs index c11b2ed..80981b3 100644 --- a/src/auth/types.rs +++ b/src/auth/types.rs @@ -61,6 +61,6 @@ pub struct AuthProviders(pub Vec); pub fn default_authproviders() -> AuthProviders { AuthProviders(vec![ AuthProvider { name: "Mojang".to_string(), url: "https://sessionserver.mojang.com/session/minecraft/hasJoined".to_string() }, - AuthProvider { name: "ElyBy".to_string(), url: "https://account.ely.by/api/minecraft/session/hasJoined".to_string() } + AuthProvider { name: "ElyBy".to_string(), url: "http://minecraft.ely.by/session/hasJoined".to_string() } ]) } \ No newline at end of file