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
Joey Hines
9936ec1590
Moved most of the wiki to sphinx
2019-01-02 17:48:31 -06:00
Joey Hines
320c1b1c61
Added docstrings to all the commands
2019-01-02 17:17:53 -06:00
Joey Hines
63e732c3b1
Initial Documents Commit
2019-01-01 11:05:19 -06:00
Joey Hines
a6817a710c
Added token to SettingsAPI
2019-01-01 10:18:15 -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
59bac55fd1
Moved test cases to their own directory
2018-12-17 10:13:37 -06:00
Joey Hines
b8d54ccdcf
Added interface for the MCM Model api
2018-12-17 10:02:43 -06:00
Joey Hines
7dc93e4439
First pass on username update background task
2018-12-15 16:00:45 -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
bfa34b3d2c
Command API Improvements
2018-12-08 15:37:00 -06:00
Joey Hines
eda29e2011
Bot now runs in its own screen
2018-12-01 20:17:19 -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
Joey Hines
2557e75a2f
Limited how many shops can appear in ?selling
2018-10-20 13:33:13 -05:00
Joey Hines
517cb21f14
Fixed issue where entering an empty string would cause issues
2018-10-16 17:22:11 -05:00
Joey Hines
219c993989
Removed dimension flag from find_around
2018-10-14 10:01:19 -05:00
Joey Hines
e69c01f7b0
Create LICENSE
2018-10-03 11:03:17 -05:00
Joey Hines
78fd5a7cc7
Fixed a broken error message in ?delete_item
2018-09-30 15:13:48 -05:00