Commit Graph

265 Commits (985dd17dc089e2f36aa4aff30981c5cc0e5c29ac)

Author SHA1 Message Date
Joey Hines 93827f5f90 Refactored to handle sessions cleaner. Command logic now is in Commands.py. This should make adding new commands easier and keep logic the same in MC. 2018-07-22 18:56:07 -05:00
Joey Hines 77814ce42d Split DatabaseModels.py file ahead of refactoring 2018-07-22 07:52:49 -05:00
Joey Hines 6e758de772 Refactored session handling to avoid disconnect issues 2018-07-21 20:44:43 -05:00
Joey Hines 76df264060 Fixed dynmap link issue 2018-07-21 17:27:20 -05:00
Joey Hines 2dd1df3b09 info now handles spaces in names 2018-07-21 17:25:18 -05:00
Joey Hines b715d9e0b9 MySQL fixed session issues 2018-07-21 17:22:28 -05:00
Joey Hines 52849d7a67 Fixed MySQL disconect issue and added dynmap link to locations 2018-07-21 17:06:13 -05:00
Joey Hines 8a24303059 Fixed engine args 2018-07-21 15:29:56 -05:00
Joey Hines e101db7d7d Added pool_recyle to eng_args 2018-07-21 15:29:35 -05:00
Joey Hines 67d5c8c548 Added support for spaces in location names 2018-07-21 15:08:26 -05:00
Joey Hines 8bd65529f2 Fixed unicode support 2018-07-21 14:47:40 -05:00
Joey Hines 866cc56a33 findaround: fixed dimension selection 2018-07-21 13:49:10 -05:00
Joey Hines 4c0d8d2384 Switched SQL backend to MySQL 2018-07-21 13:28:31 -05:00
Joey Hines c821491cd4 Added ORM relations for deleting objects 2018-07-21 09:18:01 -05:00
Joey Hines ba5da981b4 Removed y coord from all commands and fixed test cases to match new changes 2018-07-21 00:45:52 -05:00
Joey Hines fc95d3d986 Search results now show less info on shops to avoid spam 2018-07-21 00:06:00 -05:00
Joey Hines 9a20e0155e find command now searches more than just players and adjusted string formating 2018-07-20 23:44:41 -05:00
Joey Hines 2175e025e5 Fixed issue in info error handling 2018-07-20 22:12:43 -05:00
Joey Hines 48a1905017 Improved error handling. 2018-07-20 22:10:13 -05:00
Joey Hines 530409b1c5 Improved some wording in some strings and formating 2018-07-20 21:11:50 -05:00
Joey Hines 625e4dc796 Added commands and interface support for the new shops. Also changed how linked objects handle printing. 2018-07-20 20:50:24 -05:00
Joey Hines 29673bdfe8 Fixed addshop 2018-07-19 22:05:23 -05:00
Joey Hines 095149e423 Fixed addshop, params were not changed 2018-07-19 22:00:22 -05:00
Joey Hines d5d75841c8 Change addbase/addshop syntax and create a tunnel object 2018-07-19 20:18:22 -05:00
Joey Hines 42b2a2cc93 Fixed addbase command, was adding shops. 2018-07-18 21:07:19 -05:00
Joey Hines 6622b98830 Added flag support for commands that had optional params 2018-07-15 13:27:11 -05:00
Joey Hines eccfba5bec Added LocationNameNotUniqueError to handle unique constraint errors better 2018-07-15 10:56:56 -05:00
Joey Hines e7beb95903 Fixed error handling when users try to use a duplicate name. 2018-07-14 17:25:33 -05:00
Joey Hines 1ca6603f2a Added an interface layer for discord so discord uuids can be used for tracking player info. This will also alow a MC interface to be created when plugin support is added 2018-07-08 14:19:40 -05:00
Joey Hines 06f5feae4e Added features and bug fixes according to sprint 1. Added new location info to locations and made getting shop info easier. Also fixed bugs that caused db crahses. 2018-07-03 19:05:35 -05:00
Joey Hines 1783c58e2a Fixed case sensitivity and added a shopinfo command. (Resolves BackLog entries 1 and 4) 2018-07-01 10:10:10 -05:00
Joey Hines 933b7c7ba0 Fixed issue with getting engine args 2018-06-30 11:21:37 -05:00
Joey Hines 316a160457 Added config file support 2018-06-30 10:53:27 -05:00
Joey Hines 77ded8497e Improved Error Handling 2018-06-30 10:07:56 -05:00
Joey Hines b4459a529a Updated help messages 2018-06-23 16:51:00 -05:00
Joey Hines 08bc344922 Added commands to add items to shop inventories and to lookup items for sale 2018-06-23 15:27:00 -05:00
Joey Hines 484f1ed260 Added basic command support for shops 2018-06-23 12:33:02 -05:00
Joey Hines 2320acf7bf Wrapped sqlalchemy calls more into GeoffreyDatabase 2018-06-23 11:08:40 -05:00
Joey Hines c642f535f8 Fixed UUID lookup 2018-06-23 10:17:51 -05:00
Joey Hines 26b19f4836 MC UUID is now used to track players 2018-06-02 21:42:31 -05:00
Joey Hines 70ff8624f9 Added Shop and ItemListing classes 2018-06-02 16:41:27 -05:00
Joey Hines c9f5749611 Added unit tests for GeoffreyDatabase 2018-06-02 12:40:55 -05:00
Joey Hines 52b9da67c5 GeoffreyDatabase class moved to DataBaseModels.py 2018-06-02 11:11:31 -05:00
Joey Hines 038fe82fb3 Wrapped SQLAlchemy into the database class 2018-05-29 09:04:01 -05:00
Joey Hines 9e1630e858 Renamed MCInfoBot to Geoffrey 2018-05-26 10:19:34 -05:00
Joey Hines 0917c77197 Moved Errors and Database models into thir own module 2018-05-26 10:07:17 -05:00
Joey Hines 905c606cd5 added str_to_tunnel_dir to enum TunnelDirection 2018-05-26 09:58:04 -05:00
Joey Hines bb665be4a3 fixed syntax error handling for nether tunnels in addbase 2018-05-26 09:53:36 -05:00
Joey Hines 7b1df1922b fixed syntax error handling for findbasearound 2018-05-26 09:50:14 -05:00
Joey Hines 5b1195a895 added the findbasearound command 2018-05-26 09:26:24 -05:00