Commit Graph

181 Commits

Author SHA1 Message Date
Jeremy Zhang
e35e33abf7 Return after disconnect 2018-11-04 20:57:17 +00:00
Jeremy Zhang
ca834b758f Disconnect logic a bit 2018-11-04 19:03:42 +00:00
Jeremy Zhang
e9e2471e41 Time sleep 0? 2018-11-03 18:52:24 +00:00
Jeremy Zhang
ca09254ada Time sleep 1 in heartbeat 2018-11-03 03:14:42 +00:00
Jeremy Zhang
65ec0d28e2 Revert "No sleep"
This reverts commit b897dad023.
2018-10-26 20:59:05 +00:00
Jeremy Zhang
b897dad023 No sleep 2018-10-26 19:08:51 +00:00
Jeremy Zhang
b8735d4082 Abort 404 if dbguild not here 2018-10-09 21:23:53 +00:00
Jeremy Zhang
ddcf719cf6 Valid session required to get all them users 2018-08-21 00:43:23 +00:00
Jeremy Zhang
4672243ebe Delay fetching for all users for a faster load 2018-08-20 19:43:12 +00:00
Jeremy Zhang
a742f08f6d Implement file uploading from the embeds 2018-08-17 03:12:21 +00:00
Jeremy Zhang
5ae32aeb89 Implement Members list command 2018-08-11 06:08:31 +00:00
Jeremy Zhang
6e886bcf1c Strings instead of int 2018-08-10 04:42:27 +00:00
Jeremy Zhang
6d06b4001f Use webapp secret instead of bot token 2018-08-10 04:22:24 +00:00
Jeremy Zhang
cb0f1b249e Entirely remove db portion in bot and handle kickban cmds in webapp 2018-08-10 04:13:56 +00:00
Jeremy Zhang
afbbb987ca Fix admin panel guild cards and allow sorting by guildid 2018-07-23 05:25:00 +00:00
Jeremy Zhang
0203f24ce7 Fix admin voting page crash 2018-07-23 05:02:26 +00:00
Jeremy Zhang
150e112387 Implement autorole for embed users 2018-07-22 06:46:03 +00:00
Jeremy Zhang
3783cf1152 Move columns found in discord api on the guilds table into redis 2018-07-20 23:10:24 +00:00
Jeremy Zhang
6cd27f2aff Fix permissions issue and role hoists 2018-07-18 00:38:37 +00:00
Jeremy Zhang
86c7232b35 Remove guild members table for storing in redis 2018-07-17 23:47:30 +00:00
Jeremy Zhang
56ba9bc127 Reimplement remove message table 2018-07-16 23:47:25 +00:00
Jeremy Zhang
89b12d06ab Revert "Remove messages table", Accidentally committed in dev code
This reverts commit 6d6b390431.
2018-07-16 23:43:41 +00:00
Jeremy Zhang
6d6b390431 Remove messages table 2018-07-16 23:34:13 +00:00
Jeremy Zhang
bc129289fc Use redis to store discord api related objects, so far messages only
Keeping the table for now in case the redis method does not work as hoped
2018-07-16 03:50:31 +00:00
Jeremy Zhang
ccf9aed9ec Add the ability to disallow words (banned words) 2018-07-09 01:37:46 +00:00
Jeremy Zhang
32b47921e5 Better reconnect logic. Refetch messages over http once reconnected when exceeded 1 min 2018-06-28 08:05:08 +00:00
Jeremy Zhang
d540a4888b Only db commit on requests that change the database 2018-06-15 00:13:09 +00:00
Jeremy Zhang
2feec0e597 Added Fixed Sidenav implementation for guildnav 2018-05-07 19:17:58 +00:00
Jeremy Zhang
5da061a3d5 Prefill datetime inputs on voting page if submitted values 2018-05-03 05:05:24 +00:00
Jeremy Zhang
5552b8d340 Fix admin voting hour computation to 12 hour time 2018-05-03 04:55:33 +00:00
Jeremy Zhang
ba082ab516 Remove excessive code for gmember admin voting 2018-03-28 06:19:49 +00:00
Jeremy Zhang
2173fc631d Range through the userids for OBO 2018-03-28 06:16:55 +00:00
Jeremy Zhang
79ae3b3c92 Adjust OffByOne error checking in admin voting page 2018-03-28 06:09:42 +00:00
Jeremy Zhang
e8d37a791c Not 500 error when given invalid guild id or css id in embed page 2018-03-28 04:51:05 +00:00
Jeremy Zhang
e8424a63c8 Customizable msg posting timeout and msg length 2018-03-25 04:43:39 +00:00
Jeremy Zhang
05697402df Name CnD + DM stuff 2018-03-24 06:03:33 +00:00
Jeremy Zhang
105fe24a40 Support mentions for offline members 2018-03-19 19:04:51 +00:00
Jeremy "EndenDragon" Zhang
78af0891b1
Remove float conversion for dbl referrer 2018-03-19 01:35:03 -07:00
Jeremy Zhang
99afd2aeb7 Add voting statics to admin panel 2018-03-19 08:28:09 +00:00
Jeremy Zhang
11b6e447ae Bugfix usercard animations not showing 2018-03-04 08:18:21 +00:00
Jeremy Zhang
aa5a4fa79a Gif avatars for user cards 2018-03-04 08:10:15 +00:00
Jeremy Zhang
487f5756f5 Parse role mentions 2018-03-04 06:31:08 +00:00
Jeremy Zhang
33374e32fa Sidebar discord members image to ditch jpgs 2018-03-02 04:55:52 +00:00
Jeremy Zhang
572a3f0341 Not all emojis have the animated attr yet hotfix 2018-03-01 08:37:39 +00:00
Jeremy Zhang
63979835ab Animated Emoji Support, Closes #85 2018-03-01 07:57:51 +00:00
Jeremy Zhang
26aa56cc4e hotfix undefined variable for query 2018-02-27 07:30:05 +00:00
Jeremy Zhang
32c3491b54 Add voting page and track referrals 2018-02-27 07:22:58 +00:00
Jeremy Zhang
1d085d328b Move error handling to utils 2018-02-19 07:48:57 +00:00
Jeremy Zhang
2d81c923a9 Disconnect on error 2018-02-19 07:45:04 +00:00
Jeremy Zhang
39dc966138 Switch github stargazer to voting on DBLorg 2018-02-18 22:50:24 +00:00