jake
2b6f988c41
entitygateway stuff should take &BankName not BankName
3 years ago
jake
12fd799278
add character_id to ItemNote::PlayerDrop
3 years ago
jake
ab031e41a3
mostly appease clippy
3 years ago
jake
2b4c9885ee
don't need static for with_transaction
3 years ago
jake
e5167ce5e0
move EntityGatewayTransaction to end of file
3 years ago
jake
a7491a2037
remove unused use
3 years ago
jake
3c62587e7e
add transactions!
3 years ago
jake
c7d46d9ff8
make all entitygateway functions take &mut self, move postgres functions to separate function for future use
3 years ago
andy
7102ee7e6d
formatting
3 years ago
andy
b3e7d2b4b5
characters can save kbm/gamepad configs
3 years ago
jake
ea4c085dfd
satiate the clip's hunger for properness
3 years ago
jake
a6e50555de
appease the clip
3 years ago
jake
9c34baeb26
meseta refactor
3 years ago
jake
71ba3c3c3d
forgot to add this migration
3 years ago
jake
b3b6dad6ad
trades!
3 years ago
jake
82ef5ba2ea
RIP ItemLocation
fun while it lasted
ItemLocation ceased to be the canonical place to store an item's
location. replaced with ItemNote which basically covers the actual use
case but without the enforcing of a location.
3 years ago
jake
6ed0d838d2
add gateway function set_character_meseta
3 years ago
jake
0d30df8da6
start of trading
4 years ago
andy
10aca8c7ec
wow i should have pushed much smaller chunks more often oops. shop selling added, shop buying quantity bug fixed(?) added lots of todos
4 years ago
jake
1b506e014f
clean up last of normal warnings
4 years ago
jake
10c2b1ec89
lint src/entity/gateway/*
4 years ago
jake
de42ac4f9f
disambiguate?
4 years ago
jake
8cece2431f
this isn't a valid thing anymore
4 years ago
jake
5bdac4f6de
postgres add_weapon_modifier
4 years ago
jake
e4cdd2b95a
weapons can have tek modifiers
4 years ago
jake
92c34b2d28
remove modifiers from weapon and armor
4 years ago
jake
fb6eaeffd2
remove change_item
4 years ago
jake
9c91df6d2e
fix mags
4 years ago
andy
73f0108d68
save options to db
4 years ago
jake
4954dcb789
should probably split this since theres already live data
4 years ago
jake
6e2fab31f0
e q u i p r e f a c t o r
4 years ago
jake
7ae8976c10
i t e m r e f a c t o r
4 years ago
jake
e8fd37e32d
save_item -> change_item, impl for postgres
4 years ago
jake
bacf309978
on_connect/on_disconnect return results
4 years ago
jake
66d25ed155
fix name shadowing
4 years ago
jake
cae89cd2ac
get_items_by_character takes character id not character entity
4 years ago
jake
c802bceb3c
prevent double logins
4 years ago
jake
b249a3fed5
fix inventory slot and stacked items
4 years ago
jake
a14aee4e29
handle unactivated accounts in the correct spot
4 years ago
jake
b3e0674ca5
fix more tests + fix warnings
4 years ago
jake
174445c175
properly load techs
4 years ago
jake
19e30f34e6
remote postgres dep and fix save_user function
4 years ago
jake
0db9a73849
check if an account is activated before allowing a login
4 years ago
jake
2351b31125
entitygateway uses results for its functions now
4 years ago
jake
69374ea424
use sqlx for migrations
4 years ago
andy
f3608d99ad
add armor_slot to postgres model for unit
4 years ago
jake
89c91e9397
add more fields to useraccount table
4 years ago
jake
6d82751ed3
notes
4 years ago
jake
a2e4f348d9
add character options flags to postgres
4 years ago
jake
00478912ee
remove unused code
4 years ago