37 Commits

Author SHA1 Message Date
Dustin Pianalto
5c46df0b2a Modify copying files in Dockerfile to rely more on volume
Move entrypoint
2019-12-25 18:19:05 -09:00
Dustin Pianalto
eb01d32071 Update Redis hostname 2019-12-25 18:02:52 -09:00
Dustin Pianalto
6cd5e5ad14 Remove postgres check from entrypoint 2019-12-25 17:57:20 -09:00
Dustin Pianalto
a6486447ea Remove env from entrypoint 2019-12-25 17:55:13 -09:00
Dustin Pianalto
f51096861d Remove env copy from Dockerfile 2019-12-25 17:48:14 -09:00
Dustin Pianalto
5778ddd850 Change env variables to Dockerfile
Move sensitive info to redis settings cache
2019-12-25 17:39:48 -09:00
Dustin Pianalto
1af256d8c0 Add required argument in get_role_by_id 2019-12-25 15:16:40 -09:00
Dustin Pianalto
8a9618c0ed Add timeout to socket connection 2019-12-16 23:01:04 -09:00
Dustin Pianalto
fa92f0057b Update modified_at and deleted_at to be tz aware 2019-12-16 22:24:00 -09:00
Dustin Pianalto
664574a3f3 Update WhitelistAPI to check if the user has a Steam ID 2019-12-16 22:21:56 -09:00
Dustin Pianalto
46dc605e0e Update created_at to be timezone aware 2019-12-16 22:19:06 -09:00
Dustin Pianalto
8f784e5b89 Add whitelist endpoint 2019-12-16 21:06:35 -09:00
Dustin Pianalto
5c3f190b35 Remove the check for no players connected 2019-12-16 20:10:46 -09:00
Dustin Pianalto
f6b9218d11 Add endpoint to get moderator roles 2019-12-16 19:22:09 -09:00
Dustin Pianalto
cb984387e4 Remove bad argument 2019-12-16 18:42:20 -09:00
Dustin Pianalto
cd9bfc6ece Fix import 2019-12-16 18:40:55 -09:00
Dustin Pianalto
be334ee280 Fix import 2019-12-16 18:33:31 -09:00
Dustin Pianalto
658454cb94 Update rcon lib to not use asyncio
Rework ListPlayers endpoint to use the new lib
2019-12-16 18:28:22 -09:00
Dustin Pianalto
bb15f92632 Fix missing argument in add_new_role 2019-12-16 16:30:23 -09:00
Dustin Pianalto
f16a923c16 Fix missing argument in add_new_channel 2019-12-16 16:22:22 -09:00
Dustin Pianalto
7742b35bb2 Fix update in user serializer back to the way it was 2019-12-15 00:42:12 -09:00
Dustin Pianalto
27379132e6 Add Patch method to remove guilds from user 2019-12-15 00:27:24 -09:00
Dustin Pianalto
faeffbf2f2 Add Patch method to remove guilds from user 2019-12-15 00:25:19 -09:00
Dustin Pianalto
48bff6a1b2 Remove guild from many-to-many if it starts with a - 2019-12-14 23:56:26 -09:00
Dustin Pianalto
c39035c259 Add guilds directly to ManyRelatedManager instance 2019-12-14 03:24:17 -09:00
Dustin Pianalto
d4fab12829 Undo modification to update due to it not working 2019-12-14 03:18:20 -09:00
Dustin Pianalto
7d3d7104d9 Modify user serializer update to have expected behavior
Updates should add to many to many relationships not set them.
2019-12-14 02:45:15 -09:00
Dustin Pianalto
20926dcdf9 Return instance from update in user_serializer 2019-12-14 02:05:47 -09:00
Dustin Pianalto
6cc0aabb5a Fix bug where previous_usernames or previous_discriminators is empty 2019-12-14 01:58:26 -09:00
Dustin Pianalto
151a705b8d Add update method to user serializer
We need to append the current username to previous_usernames
if the one we are updating to is different. Same with discrim.
2019-12-14 01:02:10 -09:00
Dustin Pianalto
2bcedcf7b8 Update user serializer to remove fields no longer in db 2019-12-14 00:45:50 -09:00
Dustin Pianalto
5b8d679a35 Update user model to remove unnecessary fields 2019-12-14 00:16:53 -09:00
Dustin Pianalto
ff4db465ee Fix regex for username validator
\X doesn't work in Python so I use the .
2019-12-13 23:37:37 -09:00
Dustin Pianalto
e871c93b4e Add custom validator for usernames
The default validator doesn't match every character that discord
allows in usernames. I just allow all characters.
2019-12-13 23:26:23 -09:00
Geeksbot
5fef17104d Make changes to configure for running on ec2 instance 2019-12-12 07:45:41 +00:00
Dustin Pianalto
0caeba5cbd Initial Commit importing code from old repo and making changes so it is standalone 2019-12-11 10:34:25 -09:00
Dusty.P
953e048d44
Initial commit 2019-12-10 23:12:17 -09:00