aboutsummaryrefslogtreecommitdiff
path: root/azalea-auth
AgeCommit message (Collapse)Author
2024-04-24Release 0.10.1mat
azalea@0.10.1 azalea-auth@0.10.1 azalea-buf@0.10.1 azalea-chat@0.10.1 azalea-client@0.10.1 azalea-entity@0.10.1 azalea-inventory@0.10.1 azalea-protocol@0.10.1 azalea-world@0.10.1 Generated by cargo-workspaces
2024-04-23Release 0.10.0mat
azalea@0.10.0 azalea-auth@0.10.0 azalea-block@0.10.0 azalea-block-macros@0.10.0 azalea-brigadier@0.10.0 azalea-buf@0.10.0 azalea-buf-macros@0.10.0 azalea-chat@0.10.0 azalea-client@0.10.0 azalea-core@0.10.0 azalea-crypto@0.10.0 azalea-entity@0.10.0 azalea-inventory@0.10.0 azalea-inventory-macros@0.10.0 azalea-language@0.10.0 azalea-physics@0.10.0 azalea-protocol@0.10.0 azalea-protocol-macros@0.10.0 azalea-registry@0.10.0 azalea-registry-macros@0.10.0 azalea-world@0.10.0 Generated by cargo-workspaces
2024-04-24upgrade depsmat
2024-04-24Revert "Release 0.10.0"mat
This reverts commit f26aa56f427d8a0e88ad3b0d8f11438a01090f37.
2024-04-23Release 0.10.0mat
azalea@0.10.0 azalea-auth@0.10.0 azalea-block@0.10.0 azalea-block-macros@0.10.0 azalea-brigadier@0.10.0 azalea-buf@0.10.0 azalea-buf-macros@0.10.0 azalea-chat@0.10.0 azalea-client@0.10.0 azalea-core@0.10.0 azalea-crypto@0.10.0 azalea-entity@0.10.0 azalea-inventory@0.10.0 azalea-inventory-macros@0.10.0 azalea-language@0.10.0 azalea-physics@0.10.0 azalea-protocol@0.10.0 azalea-protocol-macros@0.10.0 azalea-registry@0.10.0 azalea-registry-macros@0.10.0 azalea-world@0.10.0 Generated by cargo-workspaces
2024-04-20upgrade depsmat
2024-04-18Release 0.9.1mat
azalea@0.9.1 azalea-auth@0.9.1 azalea-block@0.9.1 azalea-block-macros@0.9.1 azalea-brigadier@0.9.1 azalea-buf@0.9.1 azalea-buf-macros@0.9.1 azalea-chat@0.9.1 azalea-client@0.9.1 azalea-core@0.9.1 azalea-crypto@0.9.1 azalea-entity@0.9.1 azalea-inventory@0.9.1 azalea-inventory-macros@0.9.1 azalea-language@0.9.1 azalea-physics@0.9.1 azalea-protocol@0.9.1 azalea-protocol-macros@0.9.1 azalea-registry@0.9.1 azalea-registry-macros@0.9.1 azalea-world@0.9.1 Generated by cargo-workspaces
2024-03-21fix: GameOwnershipResponse key_id format (#138)1zuna
2024-02-17upgrade deps, bevy 0.13mat
2024-01-25update depsmat
2024-01-08upgrade depsmat
2024-01-06add doc comment about d=mat
2023-12-28Make check_ownership pub (#126)veronoicc
2023-12-16fix non-u8 gamemodesmat
love you wynncraft
2023-12-16force user to reauth when refresh failsmat
2023-12-05Release 0.9.0mat
azalea@0.9.0 azalea-auth@0.9.0 azalea-block@0.9.0 azalea-block-macros@0.9.0 azalea-brigadier@0.9.0 azalea-buf@0.9.0 azalea-buf-macros@0.9.0 azalea-chat@0.9.0 azalea-client@0.9.0 azalea-core@0.9.0 azalea-crypto@0.9.0 azalea-entity@0.9.0 azalea-inventory@0.9.0 azalea-inventory-macros@0.9.0 azalea-language@0.9.0 azalea-physics@0.9.0 azalea-protocol@0.9.0 azalea-protocol-macros@0.9.0 azalea-registry@0.9.0 azalea-registry-macros@0.9.0 azalea-world@0.9.0 Generated by cargo-workspaces
2023-12-05upgrade depsmat
2023-12-03clippymat
2023-12-03let plugins override query responsesmat
2023-12-03make it so plugins can send and receive packets during the login statemat
2023-11-29fix typo in auth docsmat
2023-11-18upgrade all dependenciesmat
2023-11-18replace log with tracingmat
2023-11-06bevy 0.12mat
2023-10-08update repo linksmat
2023-10-03also upgrade deps everywhere else lolmat
2023-09-14Release 0.8.0mat
azalea@0.8.0 azalea-auth@0.8.0 azalea-block@0.8.0 azalea-block-macros@0.8.0 azalea-brigadier@0.8.0 azalea-buf@0.8.0 azalea-buf-macros@0.8.0 azalea-chat@0.8.0 azalea-client@0.8.0 azalea-core@0.8.0 azalea-crypto@0.8.0 azalea-entity@0.8.0 azalea-inventory@0.8.0 azalea-inventory-macros@0.8.0 azalea-language@0.8.0 azalea-nbt@0.8.0 azalea-physics@0.8.0 azalea-protocol@0.8.0 azalea-protocol-macros@0.8.0 azalea-registry@0.8.0 azalea-registry-macros@0.8.0 azalea-world@0.8.0 Generated by cargo-workspaces
2023-09-08upgrade depsmat
2023-08-15upgrade thiserror and other depsmat
2023-07-19remove unused depsmat
2023-07-09Update to Bevy 0.11 (#94)mat
* update to bevy 0.11 * clippy --------- Co-authored-by: mat <git@matdoes.dev>
2023-06-24Add functions `auth_with_link_code`, `get_ms_link_code`, and ↵Adam Reisenauer
`get_ms_auth_token`. (#88) * Add option for grabbing authentication code for Microsoft seperately. Created two new functions, one that outputs the DeviceCodeResponse and one that uses this response to authenticate an actual account. * Added documentation and cleaned up function names. Still wondering about code repeition * reduce code duplication, more docs, cleanup * clippy --------- Co-authored-by: mat <git@matdoes.dev>
2023-06-14Vec3::distance_to and clippymat
2023-05-27random fixes mostly related to auth and cryptomat
2023-05-26add stuff related to chat signingmat
and also some stuff related to digging because i forgot to do a different branch lol
2023-05-17chore: Releasemat
2023-05-16chore: Releasemat
2023-05-01fix conflicts that happen sometimes with serdemat
2023-03-11Add RegistryHolder struct and serde features (#81)EightFactorial
* Make RegistryHolder struct * Update deps * Move RegistryHolder to azalea-protocol * Convert bytes to bools and back * Rename and shuffle logic * Move logic into trait, rename methods * Final touchups * Ah, merge mistakes * Add serde support for ResourceLocation * Reuse structs * Error when serde skips values in debug mode Add missing attributes * Strict_registry feature, require packet feature * Add test * Move into packets * Docs and touchups * Reword docs * Move into module inside ClientboundLoginPacket * Add azalea-nbt serde feature * remove duplicate comment and type_ -> kind --------- Co-authored-by: mat <github@matdoes.dev>
2023-02-24use rustls in reqwestmat
2023-02-09chore: Releasemat
2023-02-04Use an ECS (#52)mat
* add EntityData::kind * start making metadata use hecs * make entity codegen generate ecs stuff * fix registry codegen * get rid of worldhaver it's not even used * add bevy_ecs to deps * rename Component to FormattedText also start making the metadata use bevy_ecs but bevy_ecs doesn't let you query on Bundles so it's annoying * generate metadata.rs correctly for bevy_ecs * start switching more entity stuff to use ecs * more ecs stuff for entity storage * ok well it compiles but it definitely doesn't work * random fixes * change a bunch of entity things to use the components * some ecs stuff in az-client * packet handler uses the ecs now and other fun changes i still need to make ticking use the ecs but that's tricker, i'm considering using bevy_ecs systems for those bevy_ecs systems can't be async but the only async things in ticking is just sending packets which can just be done as a tokio task so that's not a big deal * start converting some functions in az-client into systems committing because i'm about to try something that might go horribly wrong * start splitting client i'm probably gonna change it so azalea entity ids are separate from minecraft entity ids next (so stuff like player ids can be consistent and we don't have to wait for the login packet) * separate minecraft entity ids from azalea entity ids + more ecs stuff i guess i'm using bevy_app now too huh it's necessary for plugins and it lets us control the tick rate anyways so it's fine i think i'm still not 100% sure how packet handling that interacts with the world will work, but i think if i can sneak the ecs world into there it'll be fine. Can't put packet handling in the schedule because that'd make it tick-bound, which it's not (technically it'd still work but it'd be wrong and anticheats might realize). * packet handling now it runs the schedule only when we get a tick or packet :smile: also i systemified some more functions and did other random fixes so az-world and az-physics compile making azalea-client use the ecs is almost done! all the hard parts are done now i hope, i just have to finish writing all the code so it actually works * start figuring out how functions in Client will work generally just lifetimes being annoying but i think i can get it all to work * make writing packets work synchronously* * huh az-client compiles * start fixing stuff * start fixing some packets * make packet handler work i still haven't actually tested any of this yet lol but in theory it should all work i'll probably either actually test az-client and fix all the remaining issues or update the azalea crate next ok also one thing that i'm not particularly happy with is how the packet handlers are doing ugly queries like ```rs let local_player = ecs .query::<&LocalPlayer>() .get_mut(ecs, player_entity) .unwrap(); ``` i think the right way to solve it would be by putting every packet handler in its own system but i haven't come up with a way to make that not be really annoying yet * fix warnings * ok what if i just have a bunch of queries and a single packet handler system * simple example for azalea-client * :bug: * maybe fix deadlock idk can't test it rn lmao * make physicsstate its own component * use the default plugins * azalea compiles lol * use systemstate for packet handler * fix entities basically moved some stuff from being in the world to just being components * physics (ticking) works * try to add a .entity_by function still doesn't work because i want to make the predicate magic * try to make entity_by work well it does work but i couldn't figure out how to make it look not terrible. Will hopefully change in the future * everything compiles * start converting swarm to use builder * continue switching swarm to builder and fix stuff * make swarm use builder still have to fix some stuff and make client use builder * fix death event * client builder * fix some warnings * document plugins a bit * start trying to fix tests * azalea-ecs * azalea-ecs stuff compiles * az-physics tests pass :tada: * fix all the tests * clippy on azalea-ecs-macros * remove now-unnecessary trait_upcasting feature * fix some clippy::pedantic warnings lol * why did cargo fmt not remove the trailing spaces * FIX ALL THE THINGS * when i said 'all' i meant non-swarm bugs * start adding task pool * fix entity deduplication * fix pathfinder not stopping * fix some more random bugs * fix panic that sometimes happens in swarms * make pathfinder run in task * fix some tests * fix doctests and clippy * deadlock * fix systems running in wrong order * fix non-swarm bots
2023-02-03Bump tokio from 1.23.1 to 1.24.2 (#62)dependabot[bot]
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.23.1 to 1.24.2. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/commits) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30More packet fixes, tests, handle error (#61)EightFactorial
* Fix packet, fix tests, fixedbitsets * Clippy: Nightmare Mode * Fix mistake * simplify impl Display and make thing pub --------- Co-authored-by: mat <github@matdoes.dev>
2023-01-30have docs for all cratesUbuntu
2023-01-25Fix test and packets (#60)EightFactorial
* Fix test and packets * Fix bug, fix a couple more packets * add tests and fix stuff * fix warnings Co-authored-by: Ubuntu <github@matdoes.dev>
2023-01-21clippymat
2023-01-21Server functions and proxy example (#59)EightFactorial
* A couple useful things for servers * Add proxy example * Use Uuid's serde feature * Add const options to proxy example * Example crates go in dev-dependencies * Warn instead of error * Log address on login * Requested changes * add a test for deserializing game profile + random small changes Co-authored-by: mat <github@matdoes.dev>
2023-01-10Bump tokio from 1.22.0 to 1.23.1 (#55)dependabot[bot]
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.22.0 to 1.23.1. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.22.0...tokio-1.23.1) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-05log headers on unknown sessionserver errormat