Commit Graph

265 Commits (985dd17dc089e2f36aa4aff30981c5cc0e5c29ac)

Author SHA1 Message Date
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
Joey Hines 4c70ddf22f settings is not a dict you goob 2019-01-31 17:10:28 -06:00
Joey Hines f333a9ebac Allows one location to have multiple owners. 2019-01-31 14:07:25 -06:00
Joey Hines 46f787198f Added icon to git 2019-01-31 08:36:52 -06:00
Joey Hines 26f8090878 /api/command/commands endpoint returns a list of commands and help messages 2019-01-27 12:43:30 -06:00
Joey Hines 915c4a9157 Fixed ItemListingCount in home view 2019-01-14 19:21:15 -06:00
Joey Hines 690d076d16 Model and CommandAPI changes needed to implement the discord bot fully 2019-01-14 14:22:18 -06:00
Joey Hines 08c281e363 Adding migrations to git 2019-01-14 08:05:01 -06:00
Joey Hines 118b578b06 Template clean up and added views for individual locations and players
+Moved each type of table into its own template so its less repeated
+Players, Bases and Shops now have their own views
+Added a loc_type property to location to get the object type
+Added dynmap_url to location to get the dynmap url
+
2019-01-13 19:27:48 -06:00
Joey Hines c57a570e97 Holy datatables batman
+ Converted all the lists to nice datatables
+ Added location property to Location for displaying the position
+ Added a location count property to Players
2019-01-12 15:06:06 -06:00
Joey Hines 9f3a60d3c0 Fixed commands so all tests are passing 2019-01-11 16:42:23 -06:00
Joey Hines 6cdfe76505 yes am pro web dev yes
+ tweaked a few commands
+ added exception raised from the commands in the docs
+ added models to the documentation
+ Now using Bootstrap with the Superhero theme
+ Replaced side navbar with a top navbar
+ Added global search that works like the find command
+ Added a templatetag for generating the navbar
+ Layout likely to change again, but at least it has a nice theme now...
2019-01-11 16:40:12 -06:00
Joey Hines 0dbb2c95a4 Missed one entry 2019-01-06 15:26:40 -06:00
Joey Hines 9dd91380f1 JSON entries are now all lowercase 2019-01-06 15:24:47 -06:00
Joey Hines fd422657d0 Updated docs and fixed settings api key issue 2019-01-06 15:23:54 -06:00
Joey Hines 65a594e876 Added restock command
+Updates the restock time of an item at a shop
+Should be easier than deleting and then adding the item
2019-01-04 15:09:44 -06:00
Joey Hines 8a47017ae1 Selling can be sorted by any ItemListing field 2019-01-04 14:39:53 -06:00
Joey Hines 52f5bf33bb Selling command now fully replimented. 2019-01-04 14:18:56 -06:00
Joey Hines 00fe2d72ab Got all tests passing again
+Added json property to ItemListing
+Fixed a typo
+Updated Django the Geoffrey settings to have Geoffrey in front of them
2019-01-04 11:20:24 -06:00
Joey Hines 4aadb3b185 Moved discord bot to its own repo
https://git.etztech.xyz/ZeroHD/Geoffrey-DiscordBot
2019-01-04 11:04:28 -06:00
Joey Hines 238e7eb8df Updated readme 2019-01-02 18:07:58 -06:00