Commit Graph

69 Commits

Author SHA1 Message Date
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
bf47f9457c Administrator can now disable misbehaving servers 2018-01-05 08:52:22 +00:00
Jeremy Zhang
348580dcbb Remove keyvalue properties in favor of redis 2017-12-29 17:40:32 +00:00
Jeremy Zhang
1785cb81c9 Fix user card for offline members to work 2017-12-09 18:47:22 +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
bba4950ddc Server administrators may disable captchas for guest users 2017-11-04 02:58:26 +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
f4176e65e1 Merge userbookkeeping file with utils 2017-09-13 22:01:07 +00:00
Jeremy Zhang
c23b71d050 Implement server webhook icons as cosmetics & fixes 2017-09-13 05:55:51 +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 "EndenDragon" Zhang
600627d2e2 Allow the bot to work with not having Administrator permissions (#47) 2017-09-06 17:59:22 -07:00
Jeremy "EndenDragon" Zhang
6a426618d6 Merge branch 'master' into websockets 2017-09-02 12:25:11 -07: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
ac956106e9 Guest Username Change better websocket support 2017-08-25 07:45:59 +00:00
Jeremy Zhang
a0a0f01655 Fix member hex colors with leading zeros 2017-08-22 02:52:54 +00:00
Jeremy Zhang
4ed2d14bc3 Basic websockets authentication handling 2017-08-21 04:26:51 +00:00
Jeremy Zhang
a165722856 Guest username changing support 2017-08-10 21:27:08 +00:00
Jeremy Zhang
77bde8f258 Better nickname support
- Username field will not be overwritten with the nickname.
- Mentions work again!
- User chip will show nickname instead of username if present
- Authenticated embed users sidebar nickname support
2017-08-10 02:05:05 +00:00
Jeremy Zhang
26c0e7444f Fixes #30, member list hoisting, hopefully. 2017-08-09 04:40:12 +00:00
Jeremy Zhang
08a90c8a51 Handle 404 fetch if the channel id doesnt exist 2017-08-09 01:31:20 +00:00
JustMaffie
2ace5f7040 Implement nickname support
Nicknames will be shown in both the embed and discord.
2017-08-02 19:03:39 +00:00
Jori van Ee
5da55cc66b Partially implement Database Cleanup button in the admin Panel 2017-08-02 19:03:00 +00:00
JustMaffie
4066f629f3 Undo and fix previous commits 2017-07-29 23:29:53 +00:00
JustMaffie
111ffb7871 Added the same feature as previous commit to the website 2017-07-29 23:57:59 +02:00
Jeremy Zhang
e6624e0185 hotfix if the membr has a role that does not exist somehow 2017-07-28 05:30:59 +00:00
Jeremy Zhang
f4608794a0 Move devs to the administrators table 2017-07-22 02:06:45 +00:00
JustMaffie
dc7d825564 Implemented Bot Admin Blueprint
Todo and not yet fully functional yet

Fix Titan Dev thing

Fix Titan Dev thing

Fix Titan Dev thing

Fix Titan Dev thing

Fix Titan Dev thing

Fix Titan Dev thing

Fix Titan Dev thing

Fix Titan Dev thing

Fix Titan Dev thing

Fix Titan Dev thing

Fix Titan Dev thing
2017-07-10 04:37:35 +00:00
JustMaffie
bcfa4ae4e9 Added Titan Developer prefix to usernames
Offical Titan Developers are disginated a (Titan Dev) prefix to avoid confusions.

Fix Titan Dev thing

Fix Titan Dev thing

Fix Titan Dev thing

Fix Titan Dev thing

Fix Titan Dev thing

Fix Titan Dev thing

Fix Titan Dev thing

Fix Titan Dev thing

Fix Titan Dev thing

Fix Titan Dev thing

Fix Titan Dev thing

Fix Titan Dev thing

Fix Titan Dev thing
2017-07-10 04:36:02 +00:00
Jeremy Zhang
087606bd40 Implemented Webhooks to make sending messages look more real, as an option 2017-07-01 06:52:21 +00:00
Jeremy "EndenDragon" Zhang
fc7e74cbe3 Fix issue of offset and delete
Sqlalchemy doesnt like it, idk y
attempt fix again
2017-06-24 13:03:54 -07:00
Jeremy "EndenDragon" Zhang
44af174287 Attempt to fix cleanup 2
code looks much cleaner too
2017-06-24 12:50:55 -07:00
Jeremy "EndenDragon" Zhang
efcd2d9a83 Cleanup db commit more often
Maybe this will fix the issue
2017-06-24 10:48:47 -07:00
Jeremy Zhang
289fdc0eb5 Fix emoji not replacing or rendering, also fix visitor fetching 429 error 2017-06-10 03:43:23 +00:00