Commit Graph

11 Commits (b88bfbda434b8fe48ca0000b295abc05a5e877b3)

Author SHA1 Message Date
Joey Hines a668ade97d Fixed tests for real 2019-02-03 09:01:34 -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 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 f333a9ebac Allows one location to have multiple owners. 2019-01-31 14:07:25 -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 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 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