Commit Graph

611 Commits

Author SHA1 Message Date
Jeremy Zhang
80468f71f0 Fix avatar sizing in user card 2017-12-07 07:10:55 +00:00
Jeremy Zhang
e00566c2ed User card avatar width issue 2017-12-07 07:03:11 +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
87d47a9c18 Implement spanish and turkish langs 2017-11-27 02:45:50 +00:00
Jeremy Zhang
5013764d92 Add Thai language 2017-11-26 02:15:30 +00:00
Jeremy Zhang
375dfafc3f Make query parameters dynamic and an autofill form 2017-11-26 02:03:53 +00:00
Jeremy Zhang
6d724796da Pokish is Polski, without the e 2017-11-25 06:32:21 +00:00
Jeremy Zhang
dcab78e0cc Change jshub to discord tech 2017-11-25 02:33:36 +00:00
Jeremy Zhang
83aee60eaf Update Polish translations 2017-11-25 02:28:21 +00:00
Jeremy Zhang
342a317e8b Add translators to the about page 2017-11-25 02:22:15 +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
2e71200843 Add support for both link and video embeds as rich embeds 2017-11-20 23:10:06 +00:00
Jeremy Zhang
ef4ab4e83c Add logout button to user panel 2017-11-20 03:54:29 +00:00
Jeremy Zhang
a1ac184bc2 Fix align for subheaders in member nav 2017-11-18 08:23:24 +00:00
Jeremy Zhang
82e3d04dbd fix member nav alignments 2017-11-18 07:58:36 +00:00
Jeremy Zhang
06d8a51cb4 Hide overflowed member sidebar text 2017-11-18 04:24:04 +00:00
Jeremy Zhang
2fd645f327 Add polish to lang 2017-11-17 21:08:57 +00:00
Jeremy Zhang
409c13ee34 Add Danish laguage and update other languages 2017-11-17 20:56:52 +00:00
Jeremy Zhang
00cedd000d Add italian language translated by dotjs 2017-11-16 09:01:12 +00:00
Jeremy Zhang
0c03d04c00 Fix shebang for translate scripts 2017-11-16 03:37:21 +00:00
Jeremy Zhang
b32fcd8b34 Add crowdin links and query parameter lang 2017-11-16 03:25:29 +00:00
Jeremy Zhang
3007266556 Add basic Dutch translations by jelle619 and translation scripts 2017-11-16 03:09:53 +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
6dd7f17fb6 Message notification sounds 2017-11-13 01:26:00 +00:00
Jeremy Zhang
e98c837433 Discord mentions highlighted like channel names 2017-11-11 00:30:58 +00:00
Jeremy Zhang
a4c16968e8 Add https to the script urls 2017-11-11 00:25:54 +00:00
Jeremy Zhang
fa08af8864 Embed message box fix and remove fetching spinner 2017-11-07 07:43:02 +00:00
Jeremy Zhang
071552dbf7 Nav bar color style fix for safari browser, no longer pink gradient 2017-11-07 07:02:19 +00:00
Jeremy Zhang
07bd0b5f5b Clean up mention with mustache 2017-11-06 03:12:18 +00:00
Jeremy Zhang
6a2a3d1f34 Split message mentions up into different parts 2017-11-06 02:57:46 +00:00
Jeremy Zhang
b45270c7e2 Fixed the padding of the discordgg btn 2017-11-05 07:45:14 +00:00
Jeremy Zhang
d3c0a029e8 Display image attachments in a new line 2017-11-05 06:43:36 +00:00
Jeremy Zhang
5614d3c48f Set inner content width to fill in rich embeds 2017-11-05 06:35:05 +00:00
Jeremy Zhang
e9193912ca Image to not exceed too big of a height while keeping aspect ratio 2017-11-05 06:20:45 +00:00
Jeremy Zhang
5fb860caca Embed attached images 2017-11-05 06:09:05 +00:00
Jeremy Zhang
eff2b3bb46 Display rich embed support 2017-11-05 05:59:06 +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
71209d2824 Remove Ping Salar Hotel from partners 2017-11-04 00:41:12 +00:00
Jeremy Zhang
c9e7d22730 Do not add random entries into the transactions because the user is given invalid negative tokens 2017-11-03 03:05:38 +00:00
Jeremy Zhang
a2b2cce815 Use scroll into view instead 2017-11-01 17:30:47 +00:00
Jeremy Zhang
17ded0a3bd Scroll sidebar in case if the channel is not in view 2017-11-01 06:43:12 +00:00
Jeremy Zhang
0ffaf41874 Channel names are directly selectable and changable in chat 2017-11-01 06:31:44 +00:00
Jeremy Zhang
a2b2839a66 Changed waifu to HEMAA 2017-11-01 05:22:06 +00:00
Jeremy Zhang
b44cb3f491 Prevent scrolling at embed load for those info channels 2017-10-29 02:00:21 +00:00
Jeremy Zhang
8de3639249 Changed the invite to LGBTQ lounge 2017-10-25 17:44:27 +00:00
Jeremy Zhang
315d6f21b1 Collapse messages should probably be called in the helper 2017-10-20 07:05:18 +00:00
Jeremy Zhang
a571e58bbc If attribute null, dont collapse 2017-10-20 06:59:06 +00:00
Jeremy Zhang
2b68179a82 Collapse messages if the previous is sent by the same author 2017-10-20 06:50:48 +00:00
Jeremy Zhang
bee067f8ec Force global guest avatar if avatar string is null 2017-10-09 17:56:00 +00:00
Jeremy Zhang
76863cd017 Fix dupe click mentioning 2017-10-09 04:47:51 +00:00
Jeremy Zhang
0f6b718b6e Click mention user 2017-10-08 08:36:56 +00:00
Jeremy Zhang
6fef2853cd No scroll if user is not fully scrolled down in messages 2017-10-07 15:20:27 +00:00
Jeremy Zhang
65381b9739 Don't change localstorage when url defines so 2017-10-04 06:04:27 +00:00
Jeremy Zhang
370d4c6985 Teardown sqlalchemy session on each emit 2017-10-01 04:07:04 +00:00
Jeremy Zhang
fc8768d389 Hide brand logo text on hella small width viewport 2017-09-30 20:44:44 +00:00
Jeremy Zhang
efcbc01ee8 Raise the sqlalchemy pool size limit to 100 2017-09-30 20:09:01 +00:00
Jori van Ee
b4fc721097 Change before_request to before_first_request (#56)
Change before_request to before_first_request
2017-09-28 09:36:29 -07:00
Jeremy Zhang
f035308e17 Add dotHub as a partner 2017-09-24 07:47:38 +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
86a2a5fe66 Fix guest icon not showing if webhooks are turned off 2017-09-24 04:35:51 +00:00
Jeremy Zhang
3cb5697680 Fix admin cosmetics guest icon text typo 2017-09-24 04:19:24 +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
cb10c35ec9 Modified the wrong html for code highlight, ended up highlighting the whole list at the same time, whoops 2017-09-24 00:15:25 +00:00
Jeremy Zhang
6dba85ff65 Fix regex for being too greedy in codeblocks 2017-09-23 17:59:06 +00:00
Jeremy Zhang
7ce53b851c Codeblock highlighting 2017-09-23 17:38:14 +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
956e466db1 Bot needs create instant invite perms and more descriptive error for 422 if it happens 2017-09-21 21:47:00 +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
cf9eafd9bf Better css preview refresh? 2017-09-20 04:01:32 +00:00
Jeremy Zhang
24f6b72f17 Set preview css guild id field width smaller 2017-09-19 23:55:58 +00:00
Jeremy Zhang
87d5c3e462 Add User CSS Live Previewer, closes #53 2017-09-19 23:38:46 +00:00
Jeremy Zhang
a9a261634a Sanity check in case add member fails 2017-09-17 23:41:08 +00:00
Jeremy Zhang
dfd974db53 Change ping salar emote to ping salar hotel 2017-09-17 22:24:13 +00:00
Jeremy Zhang
bf74baea72 New homepage video! and typo fixes 2017-09-17 22:15:46 +00:00
Jeremy Zhang
aa4fa4ed16 Add extra spans to distinguish usernames from discrim in msgs 2017-09-15 22:25:36 +00:00
Jeremy Zhang
ad530dff4b Add patreon bannah on the donation page 2017-09-15 21:21:53 +00:00
Jeremy Zhang
a0a2f3951a Fix crashing when titan dev appears 2017-09-15 07:15:51 +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
88a3f4c51c Cmd/Ctrl S Saves and submits custom css if the cursor is inside the editor 2017-09-14 05:30:16 +00:00
Jeremy Zhang
fff737cec3 Remove debug print statements from user and admin blueprints 2017-09-14 05:23:28 +00:00
Jeremy Zhang
7803d83ad0 Add link to the donators shoppe on the thank page 2017-09-14 01:35:40 +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
1a6a8b3727 Remove pythonanywhere specific ip handling 2017-09-13 21:48:31 +00:00
Jeremy Zhang
c23b71d050 Implement server webhook icons as cosmetics & fixes 2017-09-13 05:55:51 +00:00
Jeremy Zhang
d9edf7e8ef Remove urls temporarily during markdown parsing so that markdown would not interfere 2017-09-13 03:56:10 +00:00
Jeremy Zhang
2e4781d499 Add terms and privacy legal documents 2017-09-12 04:06:29 +00:00
Jeremy Zhang
8a7e3322b9 Remove global header when the bot is not connected to the database 2017-09-11 20:33:20 +00:00
Jeremy Zhang
9ef8ef7c90 Add previous title to maffie 2017-09-11 19:46:14 +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
214bbfa162 Escape CSS Variables 2017-09-11 01:26:26 +00:00
Jeremy Zhang
1fe4943cf2 Add CSS Variables to Discord Dark 2017-09-11 01:11:32 +00:00
Jeremy Zhang
888ec81cc2 Cloud9 automatically start postgres and redis 2017-09-10 22:37:31 +00:00
Jeremy Zhang
25cd964403 Initial support for channel categories 2017-09-09 21:46:00 +00:00
Jeremy Zhang
1dad3f1d3a Permission variable typo, sorry 2017-09-09 15:21:25 +00:00
Jeremy Zhang
83982d0105 If administrator, it should be allowed to create webhooks 2017-09-09 15:16:29 +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
ded1a48ef1 Add alt text to discord emojis so that it is copypasteable 2017-09-08 22:17:57 +00:00
Jeremy Zhang
4121d647df Cast message and channel ids to bigint for comparison 2017-09-08 20:44:26 +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 Zhang
3c83641a55 Update alembic for cssvars 2017-09-07 21:47:58 +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
7badfea64f Twemoji parsing 2017-09-06 07:11:32 +00:00
Jeremy Zhang
315173924c Render global emotes 2017-09-06 06:42:17 +00:00
Jeremy Zhang
84d3a7ad84 Remove escape blackslash for angle brackets before displaying message 2017-09-06 06:34:51 +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 Zhang
5ecedfd7fc Add LGBTQ+ Lounge to the partners list 2017-09-05 18:47:15 +00:00
Jeremy Zhang
31b8f66abe Typo, this can be none at times 2017-09-05 07:45:57 +00:00
Jeremy Zhang
f5f3423e36 Strip timezone information completely for comparing 2017-09-05 07:29:36 +00:00
Jeremy "EndenDragon" Zhang
aa9075f484 Inital postgresql implementation (#46) 2017-09-04 23:54:54 -07:00
omnicons
3a503c9bcb Add an image for Selina 2017-09-04 06:50:25 -04:00
omnicons
8f1749add7 Add Selina to about page 2017-09-04 06:48:25 -04:00
Jeremy Zhang
85d49e4024 Reinstate token links 2017-09-04 04:12:08 +00:00
Jeremy Zhang
0a6943bdbe Fix duplicate typo for example url in query param card 2017-09-04 03:40:42 +00:00
Jeremy Zhang
3c2e1ee686 Fix misalignment of the cool people list for good 2017-09-02 20:49:54 +00:00
Jori van Ee
4aee785b97 Update everybot partner to include the bot invite link 2017-09-02 20:34:04 +00: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
2c7c466bb9 Better websockets reconnect logic 2017-09-02 04:06:15 +00:00
Jeremy Zhang
7464cdc748 Edit google analytics tracking code 2017-09-02 01:03:25 +00:00
Jeremy Zhang
c1f208d74e Attempt to fix the height sizing of the modal overlay 2017-09-01 19:24:23 +00:00
Jeremy Zhang
93cc797aac Hide visitor mode login message on really small embed widths 2017-09-01 19:19:13 +00:00
Jeremy Zhang
610d46936c Message box new line on shiftenter, enter submits without newline, Resolves #44 2017-09-01 07:30:40 +00:00
Jeremy Zhang
871c8fc22f New .com domain! 2017-09-01 04:45:35 +00:00
Jeremy Zhang
71462ba628 Lets actually include everyone in teh about page, okay? 2017-09-01 04:41:10 +00:00
Jeremy Zhang
9e494f3808 Prefill username field for guests with query param, Resolves #43 2017-08-30 18:48:26 +00:00
Jeremy Zhang
12936455b0 Experiment, lower messaging post rate to 5 secs 2017-08-27 21:51:08 +00:00
Jeremy Zhang
2226693739 Remove force focus 2017-08-27 21:51:08 +00:00
Jeremy Zhang
907bb510eb Cleanup card panels 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
8038a1b4fc Handle guild name and image updates realtime 2017-08-27 08:04:50 +00:00
Jeremy Zhang
441a0814ae Emit update current user info only on when current user has been updated 2017-08-27 07:55:08 +00:00
Jeremy Zhang
718fafe0a0 Add redis to requirements and test for uwsgi to monkeypatch 2017-08-27 02:22:03 +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
d1225e5273 Realtime emoji and discord member sidebar fix 2017-08-22 07:53:41 +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
JustMaffie
c8d35ff265 Update about page 2017-08-20 09:56:00 +02:00
Jeremy Zhang
e094a8b0e7 Add streamers connected as a partner 2017-08-20 04:49:42 +00:00
Jeremy Zhang
9a2c7a6261 Add Ping and Salars Emote List server as a partner 2017-08-19 20:12:57 +00:00
Jeremy Zhang
1be0177562 Named the socketio endpoint to gateway 2017-08-19 07:30:19 +00:00
Jeremy Zhang
6b3ada44db Basic websocket test on connect 2017-08-19 05:09:13 +00:00
Jeremy Zhang
e5cdde73b0 Initial socketio initialization 2017-08-19 03:52:32 +00:00
Jeremy Zhang
fb8cfe3abc Converted webapp portion to python 3.5. Resolves #32 2017-08-19 00:33:50 +00:00
Jeremy Zhang
15011078c8 Add a server count to the server admin page 2017-08-16 19:48:59 +00:00
Jeremy Zhang
8d76423a82 Hide Token links and reinstate patreon links for now 2017-08-14 06:31:23 +00:00
Jeremy Zhang
fc05f3dda2 Token count in menu 2017-08-14 05:43:25 +00:00
Jeremy "EndenDragon" Zhang
0d87e11e3e Add paypalrestsdk to requirements.txt 2017-08-13 18:11:17 -07: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
d363b66799 Added a patreon banner link to the index and dashboard 2017-08-13 11:19:43 +00:00
Jeremy "EndenDragon" Zhang
c832e69483 Implemented Server Emoji Picker (#40) 2017-08-13 03:14:03 -07:00
Jeremy Zhang
e44ab58aa8 After changing the username, it should just refetch 2017-08-10 22:01:23 +00:00
Jeremy Zhang
a165722856 Guest username changing support 2017-08-10 21:27:08 +00:00
Jeremy Zhang
68d8882d3e Fix mentions with nicknames 2017-08-10 02:56:45 +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
98d13e9feb We cant forget the secret way to make italics with underscores 2017-08-10 01:11:18 +00:00
Jeremy Zhang
8f56bea4cc Resolves #37, basic Discord markdown parsing
Adds support for bold, italics, underline, strikethrough, code, and blockcode (no Syntax highlighting yet)
2017-08-10 01:00:14 +00:00
Jeremy Zhang
b3d5a7e171 Escape user css in the dashboard. Should fix if brackets show up in the css code 2017-08-09 06:58:28 +00:00
Jeremy Zhang
26c0e7444f Fixes #30, member list hoisting, hopefully. 2017-08-09 04:40:12 +00:00
Jeremy Zhang
0ece2b56e7 Set default fallback if defaultchannel query parameter is locked for the user 2017-08-09 02:07:13 +00:00
Jeremy Zhang
08a90c8a51 Handle 404 fetch if the channel id doesnt exist 2017-08-09 01:31:20 +00:00
Jeremy Zhang
146b2311cf Support for dynamic default channel 2017-08-09 01:26:11 +00:00
Jeremy Zhang
335d9f569e Overriding builtin themes with user defined css. Users should take advantage of the url query parmeters to choose which theme to override at load. Closes #36. 2017-08-08 03:14:17 +00:00
Jeremy Zhang
1b8da1a5c1 Set sidenavs max width to leave room if embed width is too small. Closes #35 2017-08-08 02:31:42 +00:00
Jeremy Zhang
a1ec940372 Typo, close paragraph tag for everybot card 2017-08-07 03:55:33 +00:00
Jeremy Zhang
8d707a7e15 Nickname support for the user sidebar 2017-08-07 03:08:26 +00:00
JustMaffie
ed327a4ad1 Add everybot to about page partners section 2017-08-07 02:36:36 +00:00
Jeremy Zhang
162baec3c0 Refocus message box after posting message 2017-08-05 21:41:19 +00:00
Jeremy Zhang
8fbe8e95d9 Add webhook guest msg note to the commands card 2017-08-05 18:06:05 +00:00
Jeremy Zhang
5210de6884 Add webhook message instructions card panel 2017-08-05 18:01: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
Jeremy Zhang
94ce92f641 Remove JS from the about page 2017-08-04 19:42:45 +00:00
Jeremy "EndenDragon" Zhang
f3a1efb049 Set manage guilds page title
It was left as Admin for some reason
2017-08-03 21:09:14 -07:00
Jeremy Zhang
b91b3821a4 Fully implement database cleanup button, ajax side 2017-08-02 19:28:08 +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
Jeremy Zhang
eaf55ba027 Modify github links to TitanEmbeds organization 2017-07-30 23:10:35 +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
fc8bfb2ae1 Remove Reddit Tech from partnerships 2017-07-28 05:48:54 +00: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
Jori van Ee
b6525bc00e Update admin_cosmetics.html.j2
Added placeholder for user id field
2017-07-27 17:59:53 +02:00
Jeremy Zhang
c7abae4b7a List of all query params card and show the cards in guild administration page 2017-07-22 22:09:35 +00: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
Jeremy Zhang
75e11f82c1 Fix bug with messages not being scrolled when iframe is displayed none 2017-07-20 02:26:35 +00:00
Jeremy Zhang
9c5abd9b54 Add defaultchannel query parameter to embed to set default embed channel 2017-07-18 04:46:26 +00:00
Jeremy Zhang
415d03e7c0 Change title to a variable and implement opengraph metatdata tags 2017-07-14 04:04:04 +00:00
Jeremy "EndenDragon" Zhang
82db716b61 Moved some text fields over to longtext type (#21) 2017-07-10 04:37:52 +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
afc198363d Added a konami code seecret to the embed page
Seems like a lit idea.
2017-06-15 19:58:30 +00:00
Jeremy Zhang
5505928e5b Resolve messages duplicates in database and order messages by timestamp 2017-06-15 17:47:45 +00:00
Jeremy Zhang
2647753007 Show global header message when bot loses connection with server 2017-06-13 01:39:49 +00:00
Jeremy Zhang
926d4d14a9 Fixed mention color and cleaned up css 2017-06-12 04:31:34 +00: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
fbe41a9a35 Change flask sqlalchemy characterset to utf8mb4 2017-06-10 03:21:44 +00:00
Jeremy Zhang
80c36e7d72 Prettier emoji tooltips 2017-06-10 03:13:39 +00:00
Jeremy Zhang
379475fae9 Styled focus modal a bit more and moved it back up 2017-06-10 02:52:33 +00:00
Jeremy Zhang
2e3c5c227c Moved focus modal to be a bit down 2017-06-10 02:29:41 +00:00
Jeremy Zhang
8a2c176ac4 Double layer login and focus modals 2017-06-10 02:20:22 +00:00
Jeremy Zhang
dfe463ecaa Merge branch 'master' of github.com:EndenDragon/Titan 2017-06-10 01:39:15 +00:00
Jeremy Zhang
f4341b6e36 Force focus with query param to show focus message 2017-06-10 01:38:32 +00:00
Jeremy "EndenDragon" Zhang
c528bd399b Fix typo
Discordio can be none
2017-06-09 13:05:26 -07:00
Jeremy Zhang
a4ed38e59d Emoji icons showing up in embed 2017-06-09 08:22:22 +00: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
601612e436 Formatted pretty time, kinda like Discord 2017-06-04 06:31:06 +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
c76e0a4993 Fixed up database modules in webapp 2017-06-04 05:05:55 +00:00
Jeremy Zhang
91384cd166 Make c9 flask threaded 2017-05-31 19:28:35 +00:00
Jeremy Zhang
b3051ab6bd Implement alemic database migrations 2017-05-30 20:34:29 -07: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
Jeremy Zhang
25da43263e Fixed emoji parser 2017-05-30 01:05:43 +00:00
Jeremy Zhang
47015330de Move fonts folder out of css folder 2017-05-30 01:05:43 +00:00
Julian
d284bd92aa Change Base CSS to make it nicer and better (#16)
* - Add new BaseCSS to bottom of current style

* Create TMP

* Upload fonts for BaseCSS

* Add correct fonts inside basecss

* Delete TMP
2017-05-30 01:05:43 +00:00
JustMaffie
00fb93d50a Fix Emoji parser 2017-05-30 01:05:43 +00:00
Jeremy "EndenDragon" Zhang
bc95c94a7b Update About People Section
Remove extra `-->` and fixed up formatting.
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
c21742fb72 Edit cmd about page 2017-05-26 19:19:39 -07:00
Jeremy Zhang
ca3d81da13 Add ban kick commands to the about page 2017-05-26 19:16:12 -07:00
Jeremy Zhang
fd1774edeb Hide Today at css, for now 2017-05-26 04:24:26 +00:00
Jeremy Zhang
e21f463558 Add JS as the one who made themes in the about page 2017-05-26 04:16:40 +00:00
Jeremy Zhang
0ffcf45eb2 DiscordDark modal class, not id 2017-05-26 03:23:05 +00:00
Jeremy Zhang
8f277f15f6 Improve capability with user defined css and themes 2017-05-26 03:16:23 +00:00
Jeremy Zhang
16232cf434 Store user theme choice in localstorage 2017-05-26 02:58:04 +00:00
Julian
735bcbea75 Add new "BetterTitan" theme (#10)
* Create style.css

* Create Temp

* Upload Fonts

* Update embed.html.j2

* Add BT to options list

* Delete Temp
2017-05-25 18:13:53 -07:00
Julian
e874887735 Update DiscordDark Theme: Correctly Theme Modals Too
- Add #loginmodal RGB background at end of theme
2017-05-26 08:17:24 +08:00
Jeremy Zhang
a87eaa2bda Override theme with url theme query param 2017-05-25 23:17:22 +00:00
Jeremy Zhang
fe153ed6d2 Initial Release of Premade Themes, First up: DiscordDark by JS 2017-05-25 22:50:15 +00:00
Jeremy Zhang
648c55561e Whoops typo, i blame u c9 2017-05-24 19:03:38 +00:00
Jeremy Zhang
0351b65efa Improved the login modal style 2017-05-24 18:56:26 +00:00
Jeremy Zhang
dc98421ded Make login modal look better 2017-05-24 05:32:19 +00:00
Jeremy Zhang
014e06d780 Unique span for chat message 2017-05-24 05:27:25 +00:00
Jeremy Zhang
bb35d3700b Basic server information and discord.gg btn 2017-05-24 05:03:48 +00:00
Jeremy Zhang
029bcff59d Seperated the name and discrim in the embed footer 2017-05-24 04:42:01 +00:00
Jeremy Zhang
566a4d4be1 Use actual discord invites 2017-05-24 03:41:12 +00:00
Jeremy Zhang
cd3864a6a4 Give a notice for priming the embed 2017-05-24 03:20:23 +00:00
Jeremy Zhang
ecfa8a0ed7 Added Reddit Tech to partners 2017-05-24 02:30:53 +00:00
Jeremy Zhang
0826ad9637 Do not start making api calls if initally unfocused 2017-05-23 18:58:49 +00:00
Jeremy Zhang
a391b645d2 Add /waifu/ to partners and host image files from disk instead 2017-05-23 18:29:45 +00:00
Jeremy Zhang
d18c9bf1c9 Implemented Cosmetics and User Custom CSS, closes #7 2017-05-22 01:07:32 +00:00
Jeremy Zhang
3ed1375475 Visit us button with two options now 2017-05-20 01:56:51 +00:00
Jeremy Zhang
e59fb35e75 Fixes 2017-05-20 01:45:38 +00:00
Jeremy Zhang
9b4eec327d Typo and enhances 2017-05-20 01:08:57 +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
c202008663 Added SEO meta tags 2017-05-18 22:41:41 +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 Zhang
5a69d4463b Add logo to embed page 2017-05-13 21:48:47 +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
ddd9a2916a Fix js crash when posting msg also being ratelimited - test if json exists in content 2017-05-13 16:19:19 +00:00
Jeremy Zhang
0c544d015b Fixed a few authenticated user validation 2017-05-11 19:02:22 +00:00
Jeremy Zhang
de3b7019db Fix iframe code 2017-05-11 02:34:30 +00:00
Jeremy Zhang
223d0559e3 Added an embedded version of titan discord in the about page, closes #6 2017-05-11 02:26:42 +00:00
Jeremy Zhang
fb6d9c3b31 NEW About page 2017-05-11 02:12:26 +00:00
Jeremy Zhang
98fc4140f4 Menubar aesthethics 2017-05-10 23:43:13 +00:00
Jeremy Zhang
ffd95f85ad About btn 2017-05-10 19:20:13 +00:00
Jeremy Zhang
674f674390 Nice logo 2017-05-10 19:18:07 +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 "EndenDragon" Zhang
329d98e3a5 Query guild when switching channel
Repopulate data like channel info, etc.
2017-05-09 01:29:33 -07:00
Jeremy Zhang
ed7730c633 Fix typo 2017-05-08 21:48:32 -07:00
Jeremy Zhang
7037c7ef8f python u dick 2017-05-08 21:47:07 -07:00
Jeremy Zhang
d29d70565d Change the cache key abit and extended cache time 2017-05-08 21:44:05 -07:00
Jeremy Zhang
ed0131fb10 Made makeshift caching for get user guilds func 2017-05-08 21:38:47 -07:00
Jeremy Zhang
972063ad18 Remove beaker cache for now... 2017-05-08 21:09:11 -07:00
Jeremy Zhang
948ebb8af3 Delete extra messages in each guild endpoint 2017-05-08 20:44:12 -07:00
Jeremy Zhang
4bb559420f Remove unused discordrest endpoints 2017-05-08 19:33:37 -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