Commit Graph

181 Commits

Author SHA1 Message Date
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
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