Commit Graph

335 Commits (main)

Author SHA1 Message Date
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
Joey Hines 2816d528a0 Fixed attraction missing in loc_child_obj 2019-05-13 09:53:01 -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 2472f70dd2 added missing __init__.py 2019-05-12 11:25:50 -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 683eeaff25 Fixed docs building
+ need to look into a better way to do this
2019-05-11 10:21:36 -05:00
Joey Hines f6272b100f Fixed tests so they work in new packaging setup 2019-05-11 10:13:03 -05:00
Joey Hines f40bf2fb95 Fixed formatting issue in docs 2019-05-10 20:51:06 -05:00
Joey Hines c560aaf2f2 Rearranged project so it could be packaged easily 2019-05-10 20:29:44 -05:00
Joey Hines f357506054 Updated README 2019-05-10 17:51:13 -05:00
Joey Hines 9872ea7747 Updated docs and moved api endpoint to GeoffreyApp/api 2019-05-10 17:48:58 -05:00
Joey Hines 7e8644a6b7 Added PointOfInterest migration 2019-04-12 20:06:11 -05:00
Joey Hines d149e39b84 Small fixed and improvements
+ removed player_link template
+ gave the player model a link property
+ fixed some web-page display issues
2019-04-12 20:04:13 -05:00
Joey Hines a47ea55fd6 Added points of interest
+ Streamlined adding new model info and list pages
+ Updated navbar
2019-04-12 19:39:25 -05:00
Joey Hines 0fc805444f Added markets
+ Shops are automatically added to markets with a certain radius
+ Tunnels now displayed on Location pages
+ Add migration for market
+ Updated navbar
2019-04-10 18:04:20 -05:00
Joey Hines 03f4080bbe Couple small improvement in templates and models
+ Updated README.md
+ Moved links property to the Location Model for every location type
+ Updated templates
+ Added footer
2019-04-10 17:31:52 -05:00
Joey Hines 35de6f9316 for real now 2019-03-22 09:45:38 -05:00
Joey Hines 625ae90a3e Updated website 2019-03-22 09:45:20 -05:00
Joey Hines 2a817c1b1e switched README to a .md filetype 2019-03-22 09:44:45 -05:00
Joey Hines 399513393e Updated docs for models and command
+ json for each model now documented
+ better formatting all around
2019-03-22 09:41:50 -05:00
Joey Hines f8ae09fd56 Added public farm location type
+Added PublicFarm and Resource models
+Farms have resources that they can harvest
+Added commands to add farms and add/remove resources from them
+Added find_farm to find farms
2019-03-02 11:48:28 -06:00
Joey Hines 890b78140c Fixed a bunch of small command bugs 2019-02-16 21:13:53 -06:00
Joey Hines 2513661003 Added selling_price command 2019-02-16 15:58:58 -06:00
Joey Hines b88bfbda43 Added a way to get the child object from a location object
+ get_loc_child returns the Town, Base, Shop... object
+ link gets the url for the location
+ the info command now returns the child object instead of the Location
object
+ Added Town navbar
2019-02-06 14:54:50 -06:00
Joey Hines a668ade97d Fixed tests for real 2019-02-03 09:01:34 -06:00
Joey Hines 723124f26e Fixed issue in add_location() and fixed tests 2019-02-03 09:01:06 -06:00
Joey Hines 39302bb136 Added the town location type
+Added the Towns Model, a location type with a residents field
+Added Commands to add/remove residents
+Added new errors for adding owners and residents
2019-02-02 16:31:02 -06:00
Joey Hines 8b0f3867e0 typo 2019-02-02 10:27:10 -06:00
Joey Hines c0c42b6527 Added help message for add_owner 2019-02-02 10:24:48 -06:00
Joey Hines 0cda503d6c Added error to add_owner for when the new owner is already an owner 2019-02-02 10:21:44 -06:00
Joey Hines b744385a23 Added add_owner command
+add_owner can add additional owners to a location
+added tests for add_owner
+updated some help messages
2019-02-02 09:34:49 -06:00
Joey Hines 095e00cb72 Fixed some issues on the templates for locations with multiple owners 2019-02-02 09:11:26 -06:00