Commit Graph

573 Commits

Author SHA1 Message Date
Jeremy Zhang
13b69d7e2d Prevent duplicate ip hashes from showing up the unauth list, Set unauth table to default horizontal 2017-04-22 23:55:03 -07:00
Jeremy Zhang
4899c6d2d9 Reimplement redislite to limiter, hopefully everything works this time 2017-04-22 06:35:26 -07:00
Jeremy Zhang
c497760f43 Use redis for discordapi bucket 2017-04-22 05:10:46 -07:00
Jeremy Zhang
1fe074a346 Remove custom redislite ratelimit storage option for now 2017-04-22 03:08:11 -07:00
Jeremy Zhang
185bf27149 I give up caching 2017-04-22 02:30:02 -07:00
Jeremy Zhang
e4737444bd fixes to redis again 2017-04-22 01:46:35 -07:00
Jeremy Zhang
4b111c035f Fix custom redislite to account for the none errors 2017-04-22 01:39:06 -07:00
Jeremy Zhang
2cbf3fec3a Remove debug print statement 2017-04-22 01:29:12 -07:00
Jeremy Zhang
3df40af71a Attempt to fix limiting 2017-04-22 01:28:31 -07:00
Jeremy Zhang
517e6f4ced Member counts for sidebar 2017-04-21 23:35:30 -07:00
Jeremy "EndenDragon" Zhang
f22bc439e7 Merge pull request #1 from EndenDragon/redislite
Redislite
2017-04-21 23:13:00 -07:00
Jeremy Zhang
1b5ba2dffb Change requirements txt to reflect recent changes 2017-04-21 22:58:24 -07:00
Jeremy Zhang
25e35b650d Set development process to threaded 2017-04-21 22:53:45 -07:00
Jeremy Zhang
52af78ade3 Implement global caching for all workers 2017-04-21 21:18:14 -07:00
Jeremy Zhang
71f4785d13 Initial Redislite implementation with limits 2017-04-21 18:06:19 -07:00
Jeremy Zhang
acbb7ff3a9 Quick fix to prevent really long discriminators for unauthenticated users 2017-04-15 07:54:57 +00:00
Jeremy Zhang
112bdcf2d0 Stop fetching when already is fetching 2017-04-15 07:14:09 +00:00
Jeremy Zhang
38ff5f2767 Git you suck, just undid my work this morning 2017-04-13 23:12:42 -07:00
Jeremy Zhang
b040f614c2 Sorted online discord server members by roles and color. fixed caching a bit 2017-04-13 23:10:13 -07:00
Jeremy Zhang
789341ace9 Fix guest username alphanumeric in api 2017-04-13 20:59:11 +00:00
Jeremy Zhang
a0dcde31f8 Fix fetch status catch 2017-04-13 19:06:21 +00:00
Jeremy Zhang
a7469f2940 Parse channel ids to names representation in messages 2017-04-13 06:05:04 +00:00
Jeremy Zhang
b9b644b094 Add margin between chat and timestamp 2017-04-13 01:06:13 +00:00
Jeremy Zhang
ff5bee1f79 Add notice when fetching error 2017-04-13 00:51:39 +00:00
Jeremy Zhang
f4e195027b Fix for fetch poll, again 2017-04-13 00:46:03 +00:00
Jeremy Zhang
26ee79246d Fix fetch poll if server down 2017-04-13 00:44:59 +00:00
Jeremy Zhang
a0003388ae Wrap embed js in anonymous function 2017-04-13 00:42:32 +00:00
Jeremy Zhang
56dc12fcc2 Handle discord multiline message contents 2017-04-13 00:31:18 +00:00
Jeremy Zhang
f6b3062ecd Simple mention highlighting 2017-04-12 06:15:05 -07:00
Jeremy Zhang
8fe63dee0f Hash IP Address to protect them, like what discord does 2017-04-12 00:36:05 -07:00
Jeremy Zhang
3ed0b10ed7 Parse chat links to make them clickable 2017-04-11 05:00:26 +00:00
Jeremy Zhang
0e204bdecc Eased fetch ratelimit 2017-04-11 00:34:21 +00:00
Jeremy Zhang
b791853562 Fix mention event handelers 2017-04-09 17:07:58 -07:00
Jeremy Zhang
ceb19cd1af Send mentions from embed 2017-04-09 16:40:11 -07:00
Jeremy Zhang
674c98b100 Set cache of get guild channels to lower, 1 min 2017-04-09 15:02:53 -07:00
Jeremy Zhang
e342a44c26 No cache when checking guild member revoke 2017-04-09 12:33:48 -07:00
Jeremy Zhang
7eb64ca96e 60 seconds for unauth user to show embed users 2017-04-09 12:26:09 -07:00
Jeremy Zhang
bf83b636c8 Move analytics code to head 2017-04-09 11:43:45 -07:00
Jeremy Zhang
38177ff8a8 Add Google analytics tracking 2017-04-09 11:37:34 -07:00
Jeremy Zhang
1e1936bcbe Fix moderate guest users card panel overflowing 2017-04-09 11:05:34 -07:00
Jeremy Zhang
8a2946aab0 Stop fetching when disconnected fix 2017-04-09 10:55:14 -07:00
Jeremy Zhang
a767e11288 Responsive message box, finally with CSS 2017-04-09 10:49:28 -07:00
Jeremy Zhang
2ba6016c3a Break long words in chat 2017-04-09 10:12:06 -07:00
Jeremy Zhang
6535240bbe Sort channels listing 2017-04-09 02:16:20 +00:00
Jeremy Zhang
50b216d23a Undo last commit 2017-04-08 16:08:00 -07:00
Jeremy Zhang
7fb0a9f43a Attempt to fit the message box once more 2017-04-08 15:57:39 -07:00
Jeremy Zhang
f2096b36da Escape mentions for now 2017-04-08 15:45:03 -07:00
Jeremy Zhang
1a0f6a6089 Attached images shows up in embed 2017-04-08 15:32:28 -07:00
Jeremy Zhang
f056b303f8 set msg box to readonly on send 2017-04-08 15:20:28 -07:00
Jeremy Zhang
62189811df Channel topic 2017-04-08 15:12:28 -07:00