Commit Graph

319 Commits (9eabf09fc0bbb92b9afb12af1dc26977894bca92)

Author SHA1 Message Date
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 aa9505a04d Fixed null issue for discord uuid 2020-01-08 19:55:21 -06:00
Joey Hines 7018e83ddc Added plugin to docs 2020-01-08 15:06:32 -06:00
Joey Hines 2329dab84f Fixed typo in `loc_child_obj` 2020-01-08 14:56:14 -06:00
Joey Hines 2f2fd0f200 Fixed add_farm and some help messages 2020-01-08 14:46:01 -06:00
Joey Hines e50fe0d4e4 Added attractions to admin page and fixed point of interest issue 2020-01-08 14:33:25 -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 9104ae9bd0 Use `settings.configure()` to create django settings for doc building
+ Allows docs to be built on other machines
2019-12-13 21:59:37 -06:00
Joey Hines cbd7c02117 Updated bot docs for service file and startup script 2019-12-13 21:54:06 -06:00
Joey Hines 38df420552 Combined public and private docs together 2019-12-03 18:10:54 -06:00
Joey Hines 42257a1750 Restricted price per item to 3 decimal points 2019-10-05 10:47:05 -05:00
Joey Hines 8b244dd438 Fixed shop location in item listing template 2019-10-05 10:44:43 -05:00
Joey Hines f723aaa40b Fixed dynmap iframe and the info block on location pages 2019-10-03 10:51:04 -05:00
Joey Hines a59cfc8632 Added `help` to the tutorial 2019-09-30 15:18:52 -05:00
Joey Hines 19e9500a1f Fixed navbar links being broken 2019-09-30 14:38:18 -05:00
Joey Hines 21bce0bae4 Added public documentation 2019-09-30 14:19:26 -05:00
Joey Hines 1570264272 Setting "GEOFFREY_DYNMAP_URL" to none disabled the dynmap iframe 2019-09-29 14:55:28 -05:00
Joey Hines e5723e260d Added points of interest to `loc_child_obj`
+ fixes issues with not being able to find the page for POI objects
2019-09-27 21:49:54 -05:00
Joey Hines 743c64fd17 Updated bot setup docs 2019-09-27 16:15:43 -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 d51b78af8d Fixed some issues in the docs 2019-09-21 09:13:57 -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 57f3d2fa83 Added bot setup to the docs 2019-08-21 12:47:25 -05:00
Joey Hines 00b5fb3de9 Updated docs 2019-08-21 08:27:59 -05:00
Joey Hines 057064eadd Fixed issues formatting issue with more than one owner on the website 2019-08-21 07:55:28 -05:00
Joey Hines 3483f2a6c6 Added a basic db router to prevent conflicts with other django apps
+ Also included missed migration file
2019-08-21 07:53:39 -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 3ab7bcf5aa Removed website link from web interface 2019-07-26 18:09:29 -05:00
Joey Hines eaa7c31af0 Made getting starting docs a bit more clear 2019-07-21 16:48:55 -05:00
Joey Hines 0d3e40289c OwO zero made a typo wippy 2019-07-21 16:38:26 -05:00
Joey Hines 49dca3dadb Added docs for update_mc_username command 2019-07-21 16:32:05 -05:00
Joey Hines 55ce3e2817 Removed background_tasks import 2019-07-21 10:40:07 -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 bd9dad6c82 Included migration 2019-07-21 09:59:07 -05:00
Joey Hines ab7bfb923c Combined migrations 2019-07-21 09:58:38 -05:00
Joey Hines 00ad1f429f Added update_mc_username management command
+ This replaces the internal background task to handle username updates
+ This command can be called from an external service to update
  usernames
2019-07-21 09:51:47 -05:00
Joey Hines fabc697492 Added new location types to the homepage 2019-05-15 08:25:22 -05:00
Joey Hines 217b55ec02 Added find_farm command 2019-05-14 17:38:12 -05:00