Commit Graph

147 Commits

Author SHA1 Message Date
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
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
72649f069e Basic message relaying via WS 2017-08-20 19:56:54 +00:00
Jeremy Zhang
6b3ada44db Basic websocket test on connect 2017-08-19 05:09:13 +00:00
Jeremy Zhang
fb8cfe3abc Converted webapp portion to python 3.5. Resolves #32 2017-08-19 00:33:50 +00:00
Jeremy Zhang
fc05f3dda2 Token count in menu 2017-08-14 05:43:25 +00:00
Jeremy "EndenDragon" Zhang
8bc95f7b0e Paypal (#41)
* Implement Titan Tokens clientside

* Titan Tokens can be modified in the admin panel
2017-08-13 18:10:03 -07: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
Jeremy Zhang
38533c22a9 Whoops, jsonify isnt imported in the admin blueprint... such sneaky 500 error! 2017-08-05 06:44:00 +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
JustMaffie
33f881bff3 I've found some bugs in the admin guilds thing system, this push fixed it, these bugs are tested, investigated, solved and tested again 2017-07-27 23:15:24 +02:00
JustMaffie
4a9c38aa47 Admin guilds manage thing 2017-07-27 22:55:28 +02:00
Jeremy Zhang
1304ea6153 Implement Cosmetics Configuration to the Administrators Panel 2017-07-22 05:02: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 "EndenDragon" Zhang
c528bd399b Fix typo
Discordio can be none
2017-06-09 13:05:26 -07:00
Jeremy Zhang
30092fde01 Implemented Visitor View -- kinda betaish still 2017-06-09 04:22:33 +00:00
Jeremy Zhang
4bdfb6b38c Initial css variables release 2017-06-05 03:32:13 +00:00
Jeremy Zhang
ae52804a08 Add discordio support in embed endpoint 2017-06-04 05:48:38 +00:00
Jeremy Zhang
0b96794120 Backend support for discordio links and able to edit in admin panel 2017-06-04 05:32:23 +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
d18c9bf1c9 Implemented Cosmetics and User Custom CSS, closes #7 2017-05-22 01:07:32 +00:00
Jeremy Zhang
e59fb35e75 Fixes 2017-05-20 01:45:38 +00:00
Jeremy Zhang
5fa502035a Webapp modification for the new invite process splash 2017-05-20 01:04:45 +00:00
Jeremy Zhang
a2202da45b Removed unused me user endpoint 2017-05-19 08:08:59 +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
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 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
a6766b2008 Initial structure for discordbot addition 2017-05-02 18:37:24 +00:00