Compare commits

..

2 commits

Author SHA1 Message Date
59ca04d5f8
Change Ely.By URI
Some checks failed
Push Dev / docker (push) Has been cancelled
2024-12-26 09:09:42 +03:00
41efdc1981
Release v0.4.0 2024-11-16 22:24:07 +03:00
6 changed files with 18 additions and 13 deletions

View file

@ -1,8 +1,12 @@
## Bug fix ## Release (✧ω✧)
> [!CAUTION]
> **Update your Config.toml according to the example in the repository!**
What's added: What's added:
- Prohibit creation of two sessions on one user - Added support for **Assets**! As well as their automatic update from Figura repository!
- Fixed avatar refreshing when deleting an avatar - WebSocket reworked! *No more panics!*
- Fixed session relevance check - Reworked auto-update of conf files.
- Fixed avatar size limits
**Full Changelog**: https://github.com/shiroyashik/sculptor/compare/v0.3.0...v0.3.1 **Full Changelog**: https://github.com/shiroyashik/sculptor/compare/v0.3.1...v0.4.0

View file

@ -40,6 +40,7 @@ jobs:
# Create necessary files and directories # Create necessary files and directories
- name: Create necessary files - name: Create necessary files
run: | run: |
mkdir -p target/output
cp Config.example.toml target/output/Config.toml cp Config.example.toml target/output/Config.toml
# Compress the output | Windows # Compress the output | Windows

10
Cargo.lock generated
View file

@ -1286,9 +1286,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
[[package]] [[package]]
name = "libc" name = "libc"
version = "0.2.162" version = "0.2.164"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "18d287de67fe55fd7e1581fe933d965a5a9477b38e949cfa9f8574ef01506398" checksum = "433bfe06b8c75da9b2e3fbea6e5329ff87748f0b144ef75306e674c3f6f7c13f"
[[package]] [[package]]
name = "libredox" name = "libredox"
@ -1873,9 +1873,9 @@ dependencies = [
[[package]] [[package]]
name = "rustls" name = "rustls"
version = "0.23.16" version = "0.23.17"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eee87ff5d9b36712a58574e12e9f0ea80f915a5b0ac518d322b24a465617925e" checksum = "7f1a745511c54ba6d4465e8d5dfbd81b45791756de28d4981af70d6dca128f1e"
dependencies = [ dependencies = [
"once_cell", "once_cell",
"rustls-pki-types", "rustls-pki-types",
@ -1948,7 +1948,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]] [[package]]
name = "sculptor" name = "sculptor"
version = "0.4.0-dev" version = "0.4.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"axum", "axum",

View file

@ -1,7 +1,7 @@
[package] [package]
name = "sculptor" name = "sculptor"
authors = ["Shiroyashik <shiroyashik@shsr.ru>"] authors = ["Shiroyashik <shiroyashik@shsr.ru>"]
version = "0.4.0-dev" version = "0.4.0"
edition = "2021" edition = "2021"
publish = false publish = false

View file

@ -12,7 +12,7 @@ listen = "0.0.0.0:6665"
## If not set, default providers (Mojang, ElyBy) will be provided. ## If not set, default providers (Mojang, ElyBy) will be provided.
# authProviders = [ # authProviders = [
# { name = "Mojang", url = "https://sessionserver.mojang.com/session/minecraft/hasJoined" }, # { name = "Mojang", url = "https://sessionserver.mojang.com/session/minecraft/hasJoined" },
# { name = "ElyBy", url = "http://minecraft.ely.by/session/hasJoined" }, # { name = "ElyBy", url = "https://account.ely.by/api/minecraft/session/hasJoined" },
# ] # ]
## Enabling Asset Updater. ## Enabling Asset Updater.

View file

@ -61,6 +61,6 @@ pub struct AuthProviders(pub Vec<AuthProvider>);
pub fn default_authproviders() -> AuthProviders { pub fn default_authproviders() -> AuthProviders {
AuthProviders(vec![ AuthProviders(vec![
AuthProvider { name: "Mojang".to_string(), url: "https://sessionserver.mojang.com/session/minecraft/hasJoined".to_string() }, AuthProvider { name: "Mojang".to_string(), url: "https://sessionserver.mojang.com/session/minecraft/hasJoined".to_string() },
AuthProvider { name: "ElyBy".to_string(), url: "http://minecraft.ely.by/session/hasJoined".to_string() } AuthProvider { name: "ElyBy".to_string(), url: "https://account.ely.by/api/minecraft/session/hasJoined".to_string() }
]) ])
} }