Commit Graph

468 Commits

Author SHA1 Message Date
Jeremy Zhang
d29d70565d Change the cache key abit and extended cache time 2017-05-08 21:44:05 -07:00
Jeremy Zhang
ed0131fb10 Made makeshift caching for get user guilds func 2017-05-08 21:38:47 -07:00
Jeremy Zhang
972063ad18 Remove beaker cache for now... 2017-05-08 21:09:11 -07:00
Jeremy Zhang
3186267510 Consider all members and bans when bot join 2017-05-08 20:49:37 -07:00
Jeremy Zhang
948ebb8af3 Delete extra messages in each guild endpoint 2017-05-08 20:44:12 -07:00
Jeremy Zhang
a621fa8b0a Populate msgs on server join and remove on leave 2017-05-08 20:19:45 -07:00
Jeremy Zhang
4bb559420f Remove unused discordrest endpoints 2017-05-08 19:33:37 -07:00
Jeremy Zhang
c11c253894 Fully implement links management and mentions handling settings for both embed page and server side 2017-05-08 18:39:22 -07:00
Jeremy Zhang
74e62c7f4c Dashboard setting to change chat links, embed render, and mentions limit 2017-05-08 17:55:07 -07:00
Jeremy Zhang
b475cc4e64 Fixed guild_id showing only first number 2017-05-08 19:13:53 +00:00
Jeremy "EndenDragon" Zhang
531aa948b9 Merge pull request #4 from EndenDragon/websockets-bot
Websockets bot implementation
2017-05-07 18:34:05 -07:00
Jeremy Zhang
c584d8614a Update discordbot readme 2017-05-06 18:46:39 -07:00
Jeremy Zhang
5b3bdaac38 Replace discordrest from user and utils 2017-05-06 18:36:45 -07:00
Jeremy Zhang
4fc0af2d80 Strip discordrest from embed endpoint 2017-05-06 18:27:35 -07:00
Jeremy Zhang
fc169c2063 Transition over to use db instead of fetching discord REST 2017-05-06 18:19:20 -07:00
Jeremy Zhang
9c24093901 Fetching database for messages instead 2017-05-06 17:19:12 -07:00
Jeremy Zhang
b537aacb1c Basic pushing information to the database of members and guilds 2017-05-06 15:27:07 -07:00
Jeremy Zhang
e7e0c6e505 Discord bot db pool recycle set 2017-05-06 01:09:54 -07:00
Jeremy Zhang
b43d29bca5 Prevent update msg when no message exists 2017-05-06 01:04:34 -07:00
Jeremy Zhang
ba7b47f193 Messages database 2017-05-06 01:03:52 -07:00
Jeremy Zhang
7762862623 Discordbot database setup inital/partial 2017-05-03 22:16:49 -07:00
Jeremy Zhang
1e1a3ab43e Partial discordbot work 2017-05-04 03:22:27 +00:00
Jeremy Zhang
cef4012738 Inital Database configuration 2017-05-02 18:53:18 +00:00
Jeremy Zhang
a6766b2008 Initial structure for discordbot addition 2017-05-02 18:37:24 +00:00
Jeremy "EndenDragon" Zhang
2623724b0b Fix readme typos 2017-05-01 18:26:09 -07:00
Jeremy "EndenDragon" Zhang
581d2b42c9 Update readme to include Python version and websockets requirement.
uWSGI is good too.
2017-05-01 18:23:18 -07:00
Jeremy Zhang
55e0266583 Remove trailing spaces from iframe embed code 2017-04-30 03:52:06 +00:00
Jeremy Zhang
1994ba4e86 Show fetching message error on fives to prevent clutter 2017-04-29 00:10:01 -07:00
Jeremy Zhang
e1cae1e8d6 Add cleanup keyval route 2017-04-26 22:59:10 +00:00
Jeremy Zhang
fd5cc7eb2a Add cachelock and fixed dashboard redirecting 2017-04-26 22:19:13 +00:00
Jeremy Zhang
1daa21d930 Moved cache back to the database 2017-04-26 21:55:42 +00:00
Jeremy Zhang
94d89f58ac Small fetching indicator 2017-04-26 19:12:35 +00:00
Jeremy Zhang
22a906f259 Loading at the begining 2017-04-26 00:30:36 -07:00
Jeremy Zhang
64089a536f Added more info on the login modal 2017-04-25 00:07:32 -07:00
Jeremy Zhang
a0e8ac1e9d Less query guild 2017-04-24 23:52:46 -07:00
Jeremy Zhang
53b4c1f2f8 Use filebased beaker until they fix db pool recycle 2017-04-24 21:49:44 -07:00
Jeremy "EndenDragon" Zhang
d1fc1b2d6e Merge pull request #2 from EndenDragon/dbkeyval
Dbkeyval
2017-04-24 19:58:43 -07:00
Jeremy "EndenDragon" Zhang
643e605cc2 Merge branch 'master' into dbkeyval 2017-04-24 19:58:17 -07:00
Jeremy Zhang
8329165c72 Moved everything to database 2017-04-24 19:57:00 -07:00
Jeremy Zhang
9a698b7279 Fixed discordrest issue of not initializing properly 2017-04-24 11:55:09 -07:00
Jeremy Zhang
a212ca1052 Some progress with moving over to sql keyval 2017-04-23 23:02:03 -07:00
Jeremy Zhang
687f959512 Remove old code from app 2017-04-23 20:22:02 -07:00
Jeremy Zhang
107620a501 Redis stats 2017-04-23 20:10:33 -07:00
Jeremy Zhang
b3a219e58d inital keyval db 2017-04-23 20:02:04 -07:00
Jeremy Zhang
8d50f4fa0f Attempt to fix redis limiter nonetype return 2017-04-23 17:59:13 -07:00
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