Commit Graph

14 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 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 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 915c4a9157 Fixed ItemListingCount in home view 2019-01-14 19:21:15 -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 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 a4d71858bf Few more tweaks to UI 2018-12-15 15:12:17 -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 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