Commit Graph

27 Commits (main)

Author SHA1 Message Date
Joey Hines 52c8b2757d Sort item names in `info` alphabetically
+ Fixed primary location
2020-10-09 08:30:29 -05:00
Joey Hines 9eabf09fc0 Added item_listing query
+ items can be searched or all items can be returned
+ Added missing migration
2020-08-22 13:39:25 -05:00
Joey Hines 2f846de921 Added a way to set a primary location
+ Can be retrieved from the GraphQL API
+ Fixed `resolve_player` query
2020-08-22 13:29:49 -05:00
Joey Hines ec49b7c873 First pass of a GraphQL API
+ All location types can be queried based on name or id
+ If no query parameters are provided, all locations are returned
+ Integrated with the api tokens for the other APIs
2020-08-16 12:06:51 -05:00
Ben Maurer 1f61f400b4 Added the restock_multiple command using iregex to query items (#24)
Removed previously added restock_multiple command and replaced icontains
with iregex in the restock command

Added the restock_multiple command using iregex to query items

Reviewed-on: https://git.etztech.xyz/ZeroHD/Geoffrey/pulls/24
2020-08-12 02:14:28 +02:00
Joey Hines 2e1967cb5a Fixed issue with register 2020-01-08 20:01:56 -06:00
Joey Hines 2f2fd0f200 Fixed add_farm and some help messages 2020-01-08 14:46:01 -06:00
Joey Hines cb8a1586a2 Added support for setting the dimension of a location
+ This is internal information at the moment, but may be visible later.
2020-01-08 14:24:17 -06:00
Joey Hines 76714a7736 Allow discord_uuid field to be blank on Player model 2019-12-23 10:15:09 -06:00
Joey Hines 48615762f7 Small typo in last commit 2019-12-21 15:56:36 -05:00
Joey Hines c6fadd4a00 Added support to re-register to add a discord uuid
+ With plugin support, users can be created without discord uuids
+ When a player wants to use geoffrey in discord, they just need to register in discord
2019-12-21 15:52:57 -05:00
Joey Hines 2c1c5d214f Various command fixes 2019-09-26 10:22:55 -05:00
Joey Hines 6b210cf0de Fixed 'add_resident' 2019-09-25 20:13:57 -05:00
Joey Hines 02845efaf2 Fixed `?selling_price` 2019-09-25 20:02:58 -05:00
Joey Hines 00d4f136de Fixed POST request key issue 2019-09-25 18:43:02 -05:00
Joey Hines 5c3010d233 Added models_api perm
+ This will be used for the model API and for Townffrey
2019-09-17 11:23:47 -05:00
Joey Hines 6035d5ce8f Small bug fixes for the command objects 2019-08-19 16:54:17 -05:00
Joey Hines bec4e6c1c5 Added class for commands
+ Easier to expand upon than the dict
+ Foundation for adding the permission level system
2019-08-16 12:00:26 -05:00
Joey Hines 01ce6d80e7 Ensure discord_uuid and mc_uuid are strings in get_player() 2019-08-16 10:18:53 -05:00
Joey Hines f5fc606c0c Added number_of_days_since_restocked property to ItemListing
+ selling command now displays how many days since the last restock
2019-07-21 10:28:25 -05:00
Joey Hines 217b55ec02 Added find_farm command 2019-05-14 17:38:12 -05:00
Joey Hines 50aad08967 typo in new add_attraction command
+ learn how to c/p smh
2019-05-12 11:27:36 -05:00
Joey Hines 682faca893 Added attraction location type 2019-05-12 11:23:59 -05:00
Joey Hines 985dd17dc0 Added market commands 2019-05-11 11:46:30 -05:00
Joey Hines f1a7cb61e5 Added all models to the docs and fixed some command issues 2019-05-11 11:21:00 -05:00
Joey Hines 235ed18f7e added farms to the info command 2019-05-11 10:47:49 -05:00
Joey Hines c560aaf2f2 Rearranged project so it could be packaged easily 2019-05-10 20:29:44 -05:00