Commit Graph

109 Commits

Author SHA1 Message Date
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
fb8cfe3abc Converted webapp portion to python 3.5. Resolves #32 2017-08-19 00:33:50 +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
Jeremy Zhang
30092fde01 Implemented Visitor View -- kinda betaish still 2017-06-09 04:22:33 +00:00
Jeremy Zhang
8cdb5c8ccf Webapp support for emoji for posting 2017-05-30 01:05:43 +00:00
Jeremy Zhang
edfcb63706 Move parse emoji defintion to api 2017-05-30 01:05:43 +00:00
JustMaffie
6d3cc6f01a Fixed EmojiParser and edited about.html.j2 template
Fixed api.py

Updated about.html.j2
2017-05-30 01:05:06 +00:00
JustMaffie
187ae6809f Create EmojiParser.py
Update EmojiParser.py

Update EmojiParser.py

Now parsing custom emoji

Now parsing custom emoji
2017-05-28 16:06:02 -07:00
Jeremy "EndenDragon" Zhang
0200923524 Pop guild key during fetch if revoked
Because the key is supposedly no good
2017-05-27 09:39:38 -07:00
Jeremy Zhang
566a4d4be1 Use actual discord invites 2017-05-24 03:41:12 +00:00
Jeremy Zhang
2ab18abc11 Fixed some discord bot issues and added no-init flag to not index at start 2017-05-14 21:05:51 +00:00
Jeremy Zhang
c63ce42524 Fixed some issues with posting message containing unicode, fetch status code, and cleanup 2017-05-14 09:27:18 +00:00
Jeremy "EndenDragon" Zhang
b0acab060a Add user to guild first
Might fix the authed discord user feature...
2017-05-13 14:27:47 -07:00
Jeremy Zhang
0c544d015b Fixed a few authenticated user validation 2017-05-11 19:02:22 +00:00
Jeremy Zhang
070d354c48 Account for @here too, they share same policy 2017-05-10 02:01:36 -07:00
Jeremy Zhang
f87465e555 Append zwsp in mention everyone if they do not have permission to do so 2017-05-10 01:56:37 -07:00
Jeremy Zhang
9f3fb04d9d Guild owner type mismatch during comparison of getting guild channels 2017-05-09 01:45:27 -07:00
Jeremy Zhang
948ebb8af3 Delete extra messages in each guild endpoint 2017-05-08 20:44:12 -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
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
a6766b2008 Initial structure for discordbot addition 2017-05-02 18:37:24 +00:00