Commit Graph

25 Commits (f357506054566f54551520e9b79f2771ebcd7cc0)

Author SHA1 Message Date
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 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 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 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 f333a9ebac Allows one location to have multiple owners. 2019-01-31 14:07:25 -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 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 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 8a47017ae1 Selling can be sorted by any ItemListing field 2019-01-04 14:39:53 -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 23739b31f9 Added first pass of an api key system
+API Keys are kept in the database and are 25 characters long
+Each key will have certain permission allowed to it
+Only permission right now is for using bot commands
2018-12-29 19:41:18 -06:00
Joey Hines 61433c271f All bot commands now have their basic functionality reimplemented
+All commands should return a json or list of jsons
+Basic tests have been added for each command
2018-12-18 12:13:14 -06:00
Joey Hines 83a1b7a175 Added test file for commands and redid command decorators
+ Command decorator now puts functions to to one dict
+ Params, name, and the function object are in this dict.
2018-12-17 15:16:21 -06:00
Joey Hines efe12b5b21 Incredibly basic first pass of a website for Geoffrey
+ Added an index page with a dynamic count
+ Added a List page for each model
+ Selling command improvements
2018-12-13 19:58:59 -06:00
Joey Hines 37dd0950a5 Bot now starts automatically
+subprocess kicked off when URLs are being loaded
+renamed bot dir to discord_bot
2018-12-01 18:25:53 -06:00
Joey Hines 803d25d67f Added command API and bot
+Rewrote all of Geoffrey's commands for Django
+Command api allows all the geoffrey commands to be accessed though a REST API
+Added foundation for getting bot to work, no commands at the moment
2018-11-21 20:09:30 -06:00
Joey Hines 7748ab4010 Initial Commit for v2
Began migration of project to Django
Created Django models for all current SQLAlchemy models
2018-10-26 18:42:53 -05:00