Commit Graph

247 Commits

Author SHA1 Message Date
Jeremy Zhang
5f160e1b9f Change DBL balloon from dismissing perm to 3 days 2018-02-26 05:12:19 +00:00
Jeremy Zhang
6bab0b1a80 Length bigger than 350 2018-02-23 21:41:30 +00:00
Jeremy Zhang
cdc3e80861 Notice if sending messages over 350 char 2018-02-23 21:08:20 +00:00
Jeremy Zhang
d368fdf686 Notice to vote on DBL 2018-02-22 11:43:35 +00:00
Jeremy Zhang
39dc966138 Switch github stargazer to voting on DBLorg 2018-02-18 22:50:24 +00:00
Jeremy Zhang
c3acc0054f Click on an image to zoom larger 2018-02-18 20:53:32 +00:00
Jeremy Zhang
9e53f16eb2 Auto logs user in with prefilled guest username if no captcha is present 2018-02-16 01:12:25 +00:00
Jeremy Zhang
062e072772 Implement MetroEdge in the codebase 2018-02-09 03:18:46 +00:00
Jeremy Zhang
2d9f962edf Zero pad discriminators 2018-02-06 07:10:55 +00:00
Jeremy Zhang
1d2a94ce1a Time aware message collapsing
So messages across time dont get clumped together as one
2018-02-05 11:37:58 +00:00
Jeremy Zhang
e6422b118d Display NSFW channel warning 2018-01-28 00:43:53 +00:00
Jeremy Zhang
1954b5e72d Add a little loading indicator for fetch messages 2018-01-25 10:11:27 +00:00
Jeremy Zhang
5447063f35 Toggling rich embeds in chat 2018-01-17 21:54:17 +00:00
Jeremy Zhang
ec6af49f5b Guest members could have empty roles huh 2018-01-16 11:08:54 +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
d8eea5d590 Don't forget to name your css! 2018-01-13 03:07:26 +00:00
Jeremy Zhang
22d00bbe09 Use rich embed for everything embed, for now 2018-01-08 06:59:22 +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
f58a43a388 Force create authenticated user when same target is true and prime embed throws 403 2018-01-02 22:35:54 +00:00
Jeremy Zhang
348580dcbb Remove keyvalue properties in favor of redis 2017-12-29 17:40:32 +00:00
Jeremy Zhang
8a2a61ebda Add support to IE 2017-12-14 05:50:59 +00:00
Jeremy Zhang
89b3f4a450 Add support for older browser with bad support for CSS Variables and ES6 2017-12-14 05:22:06 +00:00
Jeremy Zhang
14078fdabd Fix notification sound input field and handling mentions not sounding 2017-12-12 21:45:21 +00:00
Jeremy Zhang
2d969659ec Fix message author fails when Titan is nicknamed 2017-12-10 21:32:32 +00:00
Jeremy Zhang
1785cb81c9 Fix user card for offline members to work 2017-12-09 18:47:22 +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
375dfafc3f Make query parameters dynamic and an autofill form 2017-11-26 02:03:53 +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
6dd7f17fb6 Message notification sounds 2017-11-13 01:26:00 +00:00
Jeremy Zhang
fa08af8864 Embed message box fix and remove fetching spinner 2017-11-07 07:43:02 +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
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
bba4950ddc Server administrators may disable captchas for guest users 2017-11-04 02:58:26 +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
b44cb3f491 Prevent scrolling at embed load for those info channels 2017-10-29 02:00:21 +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
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
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 "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
87d5c3e462 Add User CSS Live Previewer, closes #53 2017-09-19 23:38:46 +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
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
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
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
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 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 "EndenDragon" Zhang
6a426618d6 Merge branch 'master' into websockets 2017-09-02 12:25:11 -07:00
Jeremy Zhang
2c7c466bb9 Better websockets reconnect logic 2017-09-02 04:06:15 +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
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
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
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
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
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 "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 "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
0ece2b56e7 Set default fallback if defaultchannel query parameter is locked for the user 2017-08-09 02:07:13 +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
8d707a7e15 Nickname support for the user sidebar 2017-08-07 03:08:26 +00:00
Jeremy Zhang
162baec3c0 Refocus message box after posting message 2017-08-05 21:41:19 +00:00
Jeremy Zhang
b91b3821a4 Fully implement database cleanup button, ajax side 2017-08-02 19:28:08 +00:00
Jeremy Zhang
1304ea6153 Implement Cosmetics Configuration to the Administrators Panel 2017-07-22 05:02:59 +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
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 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
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
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
f4341b6e36 Force focus with query param to show focus message 2017-06-10 01:38:32 +00: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
0b96794120 Backend support for discordio links and able to edit in admin panel 2017-06-04 05:32:23 +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
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
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
0826ad9637 Do not start making api calls if initally unfocused 2017-05-23 18:58:49 +00:00
Jeremy Zhang
d18c9bf1c9 Implemented Cosmetics and User Custom CSS, closes #7 2017-05-22 01:07:32 +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
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 "EndenDragon" Zhang
329d98e3a5 Query guild when switching channel
Repopulate data like channel info, etc.
2017-05-09 01:29:33 -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
a6766b2008 Initial structure for discordbot addition 2017-05-02 18:37:24 +00:00