Commit Graph

193 Commits

Author SHA1 Message Date
Jeremy Zhang
3d12802d77 Not dc after getting current user info 2019-03-09 02:09:23 +00:00
Jeremy Zhang
018d73a43c Delete webhooks if too much during message post 2019-03-03 22:21:55 +00:00
Jeremy Zhang
57c14eb114 Third party cookie test 2019-01-28 03:03:25 +00:00
Jeremy Zhang
5c04dffb0d Limit usernames to 25 characters 2019-01-16 18:02:52 +00:00
Jeremy Zhang
790dca1766 Unban command 2019-01-10 02:07:12 +00:00
Jeremy Zhang
f50b57ff91 Revert to bot message if webhook failed to create SOMEHOW 2019-01-08 09:14:59 +00:00
Jeremy Zhang
0a0be1a83b Donate impose min and max 00 2019-01-08 05:23:42 +00:00
Jeremy Zhang
e31945be83 Remove all instances of sleep 0 2019-01-01 23:39:51 +00:00
Jeremy Zhang
952afdf31d Lazyload member list as it can be detrimental to user experience 2018-12-31 20:54:19 +00:00
Jeremy Zhang
140083b9c8 Check for is peak before connecting to gateway 2018-11-17 20:33:39 +00:00
Jeremy Zhang
a9d41cdb28 Raise the limit of guest members in admin panel to 2000 2018-11-11 04:59:42 +00:00
Jeremy Zhang
6d296e2295 Limit unauth members to show at most 500 in admin guid page 2018-11-11 04:55:30 +00:00
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