Commit Graph

209 Commits

Author SHA1 Message Date
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
Jeremy Zhang
ff401271e6 Avatar handling with png, not jpg 2018-02-17 04:27:21 +00:00
Jeremy Zhang
dbd943f209 Pass if socket_guild_id not in session 2018-02-16 19:50:53 +00:00
Jeremy Zhang
a02b33a3cb Disconnect if bad websocket requests instead of flasks abort 2018-02-16 19:37:12 +00:00
Jeremy Zhang
8b4877cc4b Add user scalable query parameter (#74) 2018-02-02 08:49:48 +00:00
Jeremy Zhang
ba8b100e33 Make ids as strings for online embed users 2018-01-24 21:38:43 +00:00
Jeremy Zhang
074a6e6986 Server settings not updating due to a db column removed 2018-01-24 21:33:14 +00:00
Jeremy Zhang
4197c34cf4 String admin id compare to see if they can access /admin point 2018-01-24 06:14:37 +00:00
Jeremy Zhang
45f33971ed Fix integer issues for custom css not creating 2018-01-24 06:03:31 +00:00
Jeremy Zhang
b4e04a27c3 Hotfix member sidebar misbehaving, not showing role heiarchy 2018-01-23 22:59:34 +00:00
Jeremy Zhang
aa199ad818 Use a more optimal primary key and integer to store snowflakes 2018-01-23 21:08:55 +00:00
Jeremy Zhang
56d25d6ecb Commit to database on only on request teardown 2018-01-22 07:52:51 +00:00
Jeremy Zhang
2c949d911b Move tracking online users to redis 2018-01-21 03:15:02 +00:00
Jeremy Zhang
10e3d39acf Targeting user messages by roles is now possible 2018-01-16 10:40:27 +00:00
Jeremy Zhang
8028813e0f Remove discordio partnership and repurpose it to custom invite link field 2018-01-13 18:37:42 +00:00
Jeremy Zhang
31bc87d770 Add members count to admin panel 2018-01-08 09:13:59 +00:00
Jeremy Zhang
e8ecfc65d2 Change user defined css from the admin panel 2018-01-07 02:41:02 +00:00
Jeremy Zhang
bf47f9457c Administrator can now disable misbehaving servers 2018-01-05 08:52:22 +00:00
Jeremy Zhang
03aa5f33a7 Add noscript page to the embed blueprint 2018-01-04 23:36:27 +00:00
Jeremy Zhang
348580dcbb Remove keyvalue properties in favor of redis 2017-12-29 17:40:32 +00:00
Jeremy Zhang
2729abeb48 Fix css not being activated after donating 2017-12-15 19:06:46 +00:00
Jeremy Zhang
1785cb81c9 Fix user card for offline members to work 2017-12-09 18:47:22 +00:00
Jeremy Zhang
cb05b44100 Handle default avatars 2017-12-09 17:25:03 +00:00
Jeremy Zhang
5a51f73f74 Stargazers name glow yellow 2017-12-08 01:43:01 +00:00
Jeremy Zhang
204858d011 Add user cards and badges, Closes #25 2017-12-07 06:49:32 +00:00
Jeremy Zhang
3af5dc703a Make sessions more permanent for discord logins 2017-12-01 04:08:20 +00:00
Jeremy Zhang
ec33d2c627 Total cents pledged attribute typo 2017-11-22 03:24:17 +00:00
Jeremy Zhang
6d2d4dd19c Implement Patreon token syncer 2017-11-22 02:41:43 +00:00
Jeremy Zhang
ef4ab4e83c Add logout button to user panel 2017-11-20 03:54:29 +00:00
Jeremy Zhang
f95cd7060c Inital translations implementation for embeds template 2017-11-15 06:13:42 +00:00
Jeremy Zhang
b1186fecfe Add sametarget query parameter to not have discord login open in new tab 2017-11-13 22:01:34 +00:00
Jeremy Zhang
962880f652 Fix typo regarding to unauth captcha in admin panel 2017-11-04 03:09:47 +00:00
Jeremy Zhang
bba4950ddc Server administrators may disable captchas for guest users 2017-11-04 02:58:26 +00:00
Jeremy Zhang
370d4c6985 Teardown sqlalchemy session on each emit 2017-10-01 04:07:04 +00:00
Jeremy Zhang
d6c43e853b Return normal titan logo if guest icon does not exist and av fixes 2017-09-24 04:51:31 +00:00
Jeremy Zhang
e30171a8de Implement user avatars into the embed 2017-09-24 04:17:06 +00:00
Jeremy Zhang
ad833434dd Renamed webhook icon to guest icon for preperation of avatars in the client 2017-09-24 01:22:07 +00:00
Jeremy Zhang
1ac5ac3eeb Remove message cleanup from webapp 2017-09-22 00:59:37 +00:00
Jeremy Zhang
c0798bd5b1 Better cleanup db msgs? 2017-09-22 00:53:59 +00:00
Jeremy Zhang
a2461a9826 Square logo & meta additions 2017-09-21 07:54:19 +00:00
Jeremy "EndenDragon" Zhang
392c7ae69e Add recaptcha v2 to verify guest logins (#55) 2017-09-21 00:12:49 -07:00
Jeremy Zhang
f6b354f10d Make 422 status when titan failed to add user to guild 2017-09-20 21:20:06 +00:00
Jeremy Zhang
ff4d6a405a Change guest ratelimits to create 3 times per 30mins and lower time to change username to 10mins 2017-09-20 07:07:55 +00:00
Jeremy Zhang
a9a261634a Sanity check in case add member fails 2017-09-17 23:41:08 +00:00
Jeremy Zhang
80d89b49f8 Chat username discord colors! 2017-09-15 06:25:03 +00:00
Jeremy Zhang
286f395b72 Webhook truncate username if too long 2017-09-14 06:46:15 +00:00
Jeremy Zhang
fff737cec3 Remove debug print statements from user and admin blueprints 2017-09-14 05:23:28 +00:00
Jeremy Zhang
f4176e65e1 Merge userbookkeeping file with utils 2017-09-13 22:01:07 +00:00
Jeremy Zhang
cedceabe2e Check user permissions when accepting a post request for administrating guilds 2017-09-13 21:51:32 +00:00
Jeremy Zhang
c23b71d050 Implement server webhook icons as cosmetics & fixes 2017-09-13 05:55:51 +00:00
Jeremy Zhang
dad92d1e53 Add reasons to admin token transactions 2017-09-11 10:14:07 +00:00
Jeremy Zhang
247133229c Implement purchasing option for custom css 2017-09-11 09:00:42 +00:00
Jeremy Zhang
10b5deffe4 Add custom css slots to prepare for donators feature 2017-09-11 07:52:13 +00:00
Jeremy Zhang
25cd964403 Initial support for channel categories 2017-09-09 21:46:00 +00:00
Jeremy Zhang
1fac087b6d Use the api endpoint to only clean the keyvalue store for now. the messages should be handled by the external bot script 2017-09-09 05:01:02 +00:00
Jeremy Zhang
207e13b639 Cast user_id to string during comparison to fix guest posting 2017-09-09 02:30:23 +00:00
Jeremy Zhang
b345b2ab6f Fix for css variables being None 2017-09-08 00:37:37 +00:00
Jeremy Zhang
4a204fb264 Implement CSS variables to the default theme as of now 2017-09-08 00:14:10 +00:00
Jeremy Zhang
a293b89b8c CSS Variables fix 2017-09-07 23:35:34 +00:00
Jeremy "EndenDragon" Zhang
56e7b3e9d2 Merge branch 'cssvars' into master 2017-09-07 14:41:30 -07:00
Jeremy "EndenDragon" Zhang
600627d2e2 Allow the bot to work with not having Administrator permissions (#47) 2017-09-06 17:59:22 -07:00
Jeremy Zhang
21400679b6 Empty server manage server list should not automatically log you out, oauth fix 2017-09-06 20:59:05 +00:00
Jeremy Zhang
2f552ca87f Strip timezone and microsecond for admin guild member list 2017-09-06 18:56:52 +00:00
Jeremy Zhang
9e49ba558a Fix administrate guild page crashing due to microseconds in user timestamps 2017-09-06 05:34:14 +00:00
Jeremy "EndenDragon" Zhang
aa9075f484 Inital postgresql implementation (#46) 2017-09-04 23:54:54 -07:00
Jeremy "EndenDragon" Zhang
6a426618d6 Merge branch 'master' into websockets 2017-09-02 12:25:11 -07:00
Jeremy Zhang
3e2c9b2fb6 Add username field to embed_user_connect, whoops 2017-09-02 15:19:23 +00:00
Jeremy Zhang
12936455b0 Experiment, lower messaging post rate to 5 secs 2017-08-27 21:51:08 +00:00
Jeremy Zhang
654dd3faf3 Automatic webhook creation and deletion, Resolves #42 2017-08-27 21:50:41 +00:00
Jeremy Zhang
8b6645306a Update user chip if a user has been updated 2017-08-25 23:19:13 +00:00
Jeremy Zhang
ac956106e9 Guest Username Change better websocket support 2017-08-25 07:45:59 +00:00
Jeremy Zhang
e3f57500ff Realtime updating channel list 2017-08-25 06:37:14 +00:00
Jeremy Zhang
0539efb204 WS Realtime for message actions and Sidebar members list presence update 2017-08-22 07:01:40 +00:00