Commit Graph

680 Commits

Author SHA1 Message Date
Jeremy Zhang
127d6609b8 Move back to 4mb and blame nginx 2018-08-17 04:02:47 +00:00
Jeremy Zhang
a9720fe763 Secretly raise the upload limit to 5mb from 4 and send a nice error message if server rejects 2018-08-17 03:58:08 +00:00
Jeremy Zhang
9a1c5945fb Reword a bit of attaching file modal and truncate long filenames 2018-08-17 03:41:57 +00:00
Jeremy Zhang
6f692ed730 If they can't write to a channel, then no attaching files 2018-08-17 03:32:14 +00:00
Jeremy Zhang
a742f08f6d Implement file uploading from the embeds 2018-08-17 03:12:21 +00:00
Jeremy "EndenDragon" Zhang
487d4c3d76
Merge pull request #119 from TitanEmbeds/partner
Add MythBot partner and update lgbtq lounge invite
2018-08-15 23:17:41 -07:00
Jeremy Zhang
9a803c16af Reinstate lgbtq lounge as we were not unpartnered 2018-08-16 06:16:53 +00:00
Jeremy Zhang
18e48404b4 custom scrollbar better support for iframes hopefully 2018-08-15 07:59:34 +00:00
Jeremy Zhang
d678672ecf Add mythbot as partner 2018-08-15 07:52:07 +00:00
Jeremy Zhang
37219131ce Remove expired partnership (lgbtq and streamers) 2018-08-15 03:28:55 +00:00
Jeremy Zhang
03b5d5547e Hide corner username until hovered 2018-08-12 05:45:03 +00:00
Jeremy Zhang
80d333403a Add members command to the command list 2018-08-11 06:10:06 +00:00
Jeremy Zhang
5ae32aeb89 Implement Members list command 2018-08-11 06:08:31 +00:00
Jeremy Zhang
6e886bcf1c Strings instead of int 2018-08-10 04:42:27 +00:00
Jeremy Zhang
6d06b4001f Use webapp secret instead of bot token 2018-08-10 04:22:24 +00:00
Jeremy Zhang
cb0f1b249e Entirely remove db portion in bot and handle kickban cmds in webapp 2018-08-10 04:13:56 +00:00
Jeremy Zhang
c3a91ff29a Hide system scrollbar when custom scrollbars is activated 2018-08-09 22:29:27 +00:00
Jeremy Zhang
3575de6696 Fix extra padding that renders in chrome 2018-08-09 22:11:28 +00:00
Jeremy Zhang
5a249b0b84 Scroll to bottom when images start to load in 2018-08-09 05:14:50 +00:00
Jeremy Zhang
0aeb51f27e Remove tmp file 2018-08-09 03:29:06 +00:00
Jeremy Zhang
c54c34fe18 Rename showscrollbar to lockscrollbar 2018-08-09 03:26:24 +00:00
Jeremy Zhang
855fb5bb9d Add padding to prevent cutting edge chat content 2018-08-09 03:25:14 +00:00
Jeremy Zhang
52c076e667 Default normal scrollbar unless theme param set 2018-08-08 03:57:28 +00:00
Jeremy Zhang
5ffa7dbca7 No autoscroll when window height is smaller than content 2018-08-08 02:48:37 +00:00
Jeremy Zhang
75b2300b23 Fix dbl advert localstore typo 2018-08-08 02:35:55 +00:00
Jeremy Zhang
04ed2720ff Add padding to the top chatcontent 2018-08-08 02:31:26 +00:00
Jeremy Zhang
5921cb7a9b Update showscrollbar and scrollbar to not clip chatbox 2018-08-08 02:29:20 +00:00
Jeremy Zhang
1f15627f45 Make nav float 2018-08-08 02:23:59 +00:00
Jeremy Zhang
e820587e15 Add custom scrollbar 2018-08-08 02:05:06 +00:00
Jeremy Zhang
cc2ea3d68b Readd accidentally removed 2018-08-06 04:16:53 +00:00
Jeremy Zhang
3d5503da94 Guest login button lock too 2018-08-06 04:16:09 +00:00
Jeremy Zhang
0a88e950d6 Implement a guest login button, initially hidden 2018-08-06 03:59:36 +00:00
Jeremy Zhang
65576b7ffc Some browsers do not like localstorage for some reason 2018-08-06 02:51:18 +00:00
Jeremy Zhang
630405b730 Allow selection to chatcontent despite focusing on messagebox 2018-08-06 02:28:59 +00:00
Jeremy Zhang
4c8ee4ced1 Focus messagebox when clicking the chat body 2018-08-05 07:55:18 +00:00
Jeremy Zhang
923686b155 Round modals are in the season 2018-08-04 06:54:58 +00:00
Jeremy Zhang
4b254bbc54 Now if only error 500 would actually give a 500 error status code 2018-07-31 03:29:14 +00:00
Jeremy Zhang
5f8ecf03ed Capture client javascript errors with sentry too 2018-07-30 07:43:01 +00:00
Jeremy Zhang
a7d80c39d2 Utilize sentry to track execution errors 2018-07-30 01:26:54 +00:00
Jeremy Zhang
0efa1882a4 Add max width and height to reactions icons so they don't noclip 2018-07-27 09:07:05 +00:00
Jeremy Zhang
197750fc91 Fix bug where it would alert warning when saving custom css 2018-07-27 09:02:10 +00:00
Jeremy Zhang
1629a8982c Implement reactions 2018-07-27 08:57:54 +00:00
Jeremy Zhang
4aa785d4cc Better word breaking, hopefully 2018-07-25 06:55:22 +00:00
Jeremy Zhang
d365595e3d Looks like chrome cant handle servers with 2,000 messages from our cache 2018-07-25 06:33:20 +00:00
Jeremy Zhang
afbbb987ca Fix admin panel guild cards and allow sorting by guildid 2018-07-23 05:25:00 +00:00
Jeremy Zhang
0203f24ce7 Fix admin voting page crash 2018-07-23 05:02:26 +00:00
Jeremy Zhang
1e80512ca7 Alert when changes may not been saved 2018-07-23 02:43:46 +00:00
Jeremy Zhang
150e112387 Implement autorole for embed users 2018-07-22 06:46:03 +00:00
Jeremy Zhang
856dd08167 Error instead of crashing when no text channels present 2018-07-22 04:10:04 +00:00
Jeremy Zhang
3783cf1152 Move columns found in discord api on the guilds table into redis 2018-07-20 23:10:24 +00:00
Jeremy Zhang
6cd27f2aff Fix permissions issue and role hoists 2018-07-18 00:38:37 +00:00
Jeremy Zhang
86c7232b35 Remove guild members table for storing in redis 2018-07-17 23:47:30 +00:00
Jeremy Zhang
56ba9bc127 Reimplement remove message table 2018-07-16 23:47:25 +00:00
Jeremy Zhang
89b12d06ab Revert "Remove messages table", Accidentally committed in dev code
This reverts commit 6d6b390431.
2018-07-16 23:43:41 +00:00
Jeremy Zhang
6d6b390431 Remove messages table 2018-07-16 23:34:13 +00:00
Jeremy Zhang
bc129289fc Use redis to store discord api related objects, so far messages only
Keeping the table for now in case the redis method does not work as hoped
2018-07-16 03:50:31 +00:00
Jeremy Zhang
9faef4f761 Add Titan Square SVG 2018-07-15 20:04:25 +00:00
Jelle Z
8900d565b8
SVG versions of Titan Shield logo in img resources
*Made possible by Discord user welian#6782*

It's a nice resource to have. I also need something to host this for my secret Titan project. :P
2018-07-13 22:10:32 +02:00
Jeremy Zhang
ccf9aed9ec Add the ability to disallow words (banned words) 2018-07-09 01:37:46 +00:00
Jeremy "EndenDragon" Zhang
f0f1f226e3
Merge pull request #111 from jelle619/master
Various bug fixes for Fire Wyvern theme
2018-07-08 15:42:41 -07:00
Jeremy Zhang
368ceed2c1 Remove temp c9 file, wasnt supposed to push that one 2018-07-08 20:41:35 +00:00
Jeremy Zhang
efbf1df2ed Roles as strings not int 2018-07-08 20:41:12 +00:00
Jeremy Zhang
7ff8bcdefe JSON dump the roles before putting in db 2018-07-08 20:38:59 +00:00
Jeremy Zhang
d14f9889eb Try manually adding member if not exist in db for webapp 2018-07-08 20:31:36 +00:00
Jelle Z
42e8e379d6 Various bug fixes for Fire Wyvern theme 2018-07-07 12:10:50 +02:00
Jelle Z
8223f3ad09 Added Safari support to Wyvern themes
Also improved general browser compatibility.
2018-07-04 13:16:57 +02:00
Jeremy Zhang
eab95072d7 Change vote badge link to personal vote page 2018-07-04 06:58:01 +00:00
Jeremy Zhang
cb10ba9323 Link Fire Wyvern and Ice Wyvern themes into the codebase 2018-07-04 06:35:01 +00:00
Jelle Z
49c2380d69 Added Ice Wyvern & Fire Wyvern theme
These themes still have to be implemented.
2018-07-02 15:42:43 +02:00
Jeremy "EndenDragon" Zhang
16700b56ee
Prizes MAY include
Sounds better
2018-07-01 17:32:22 -07:00
Jeremy Zhang
e00ddf1f3c Better video players, does not autoplay 2018-06-30 07:30:54 +00:00
Jeremy Zhang
32b47921e5 Better reconnect logic. Refetch messages over http once reconnected when exceeded 1 min 2018-06-28 08:05:08 +00:00
Jeremy Zhang
5cf32ffb0c Hide DBL banner if already voted, however homepage always shows regardless 2018-06-27 23:11:36 +00:00
Jeremy Zhang
470607af1a Display image typed embeds similar to attachments 2018-06-27 02:34:48 +00:00
Jeremy "EndenDragon" Zhang
a625e88edb
New translations messages.pot (Chinese Simplified) (#108) 2018-06-25 19:22:46 -07:00
Jeremy Zhang
4af93a976d Fix translations last revision date from crowdin issue 2018-06-25 00:40:48 +00:00
Jeremy "EndenDragon" Zhang
0a71188c7d
New Crowdin translations (#101)
* New translations messages.pot (Serbian (Cyrillic))

* New translations messages.pot (Polish)

* New translations messages.pot (Indonesian)

* New translations messages.pot (Portuguese)

* New translations messages.pot (Chinese Simplified)

* New translations messages.pot (Italian)

* New translations messages.pot (Spanish)

* New translations messages.pot (Hungarian)

* New translations messages.pot (Polish)

* New translations messages.pot (Serbian (Cyrillic))

* New translations messages.pot (Swedish)
2018-06-24 17:23:17 -07:00
Alex Howard
41ef915a46
Make the explanation on getting CSS a bit better. 2018-06-24 16:18:32 -04:00
circl
f52a287503 Tell users how to get custom css 2018-06-24 22:00:37 +02:00
Jeremy Zhang
ed6ae41c42 Add provider name to rich embeds and set provider and author text color to match discords 2018-06-20 06:37:53 +00:00
Jeremy Zhang
764f8bb796 Support for video embeds like discord 2018-06-20 06:23:38 +00:00
Jeremy Zhang
4f2266c2b9 Add WonderfulSubs as a partner 2018-06-18 06:49:44 +00:00
Jeremy Zhang
8202a43fb0 It's muted
https://www.w3schools.com/tags/att_video_muted.asp
2018-06-15 22:57:45 +00:00
Alex Howard
1ccbe54237
Fix autoplay
Google is dumb
2018-06-15 18:38:48 -04:00
Jeremy Zhang
d540a4888b Only db commit on requests that change the database 2018-06-15 00:13:09 +00:00
Jeremy Zhang
528e8584c0 Not manipulate the visibility of the left sidebar if the left sidebar toggle btn is hidden 2018-05-07 23:07:48 +00:00
Jeremy Zhang
2feec0e597 Added Fixed Sidenav implementation for guildnav 2018-05-07 19:17:58 +00:00
Jeremy Zhang
5da061a3d5 Prefill datetime inputs on voting page if submitted values 2018-05-03 05:05:24 +00:00
Jeremy Zhang
5552b8d340 Fix admin voting hour computation to 12 hour time 2018-05-03 04:55:33 +00:00
Jeremy Zhang
d7590a2915 Update query parameters form to include iframe 2018-04-26 03:19:40 +00:00
Jeremy "EndenDragon" Zhang
0be77e0a50
New Crowdin translations French + Portugese (#100)
* New translations messages.pot (French)

* New translations messages.pot (Portuguese)
2018-04-07 10:18:15 -07:00
Jeremy Zhang
2b1c9e3eec pt_BR to pt_PT langauge 2018-04-07 17:12:32 +00:00
Jeremy "EndenDragon" Zhang
24849ef601
New translations messages.pot (Danish) (#99) 2018-04-04 11:15:31 -07:00
Jeremy Zhang
f037ed15cd Add custom username field test before checking value 2018-04-04 18:14:37 +00:00
Jeremy Zhang
8ff9313af9 Fix sidebar channels cutting 2018-04-01 06:55:34 +00:00
Jeremy Zhang
0433040ede Attempt to fix when message delete and no more messages present 2018-03-31 04:48:48 +00:00
Jeremy Zhang
57669576c9 Handle edge cases with empty channels 2018-03-31 04:34:09 +00:00
Jeremy "EndenDragon" Zhang
8b32690b55
New Crowdin translations (#98)
* New translations messages.pot (Thai)

* New translations messages.pot (Serbian (Cyrillic))

* Update messages.po
2018-03-30 12:18:17 -07:00
Jeremy "EndenDragon" Zhang
b5f56a0652
Remove PayPal from voting page for Debit Card
Virtual cards rule!
2018-03-29 15:08:00 -07:00
Jeremy Zhang
ba082ab516 Remove excessive code for gmember admin voting 2018-03-28 06:19:49 +00:00
Jeremy Zhang
2173fc631d Range through the userids for OBO 2018-03-28 06:16:55 +00:00
Jeremy Zhang
79ae3b3c92 Adjust OffByOne error checking in admin voting page 2018-03-28 06:09:42 +00:00
Jeremy Zhang
e8d37a791c Not 500 error when given invalid guild id or css id in embed page 2018-03-28 04:51:05 +00:00
Jeremy Zhang
4859b5a379 Fix owner permissions not doing properly 2018-03-25 05:45:16 +00:00
Jeremy Zhang
e8424a63c8 Customizable msg posting timeout and msg length 2018-03-25 04:43:39 +00:00
Jeremy Zhang
82d7b477aa Fix styles for messagers being block for some reason 2018-03-24 17:48:21 +00:00
Jeremy Zhang
05697402df Name CnD + DM stuff 2018-03-24 06:03:33 +00:00
Jeremy "EndenDragon" Zhang
9c2b0990a7
New Crowdin translations (#88)
* New translations messages.pot (Catalan)

* New translations messages.pot (Japanese)

* New translations messages.pot (Thai)

* New translations messages.pot (Swedish)

* New translations messages.pot (Spanish)

* New translations messages.pot (Slovenian)

* New translations messages.pot (Serbian (Latin))

* New translations messages.pot (Serbian (Cyrillic))

* New translations messages.pot (Romanian)

* New translations messages.pot (Portuguese)

* New translations messages.pot (Catalan)

* New translations messages.pot (German)

* New translations messages.pot (Russian)

* New translations messages.pot (Polish)

* New translations messages.pot (Turkish)

* New translations messages.pot (Chinese Simplified)

* New translations messages.pot (Italian)

* New translations messages.pot (Indonesian)

* New translations messages.pot (Hungarian)

* New translations messages.pot (Hindi)

* New translations messages.pot (French)

* New translations messages.pot (Dutch)

* New translations messages.pot (Danish)

* New translations messages.pot (Czech)

* New translations messages.pot (Chinese Traditional)

* New translations messages.pot (Russian)

* New translations messages.pot (Dutch)

* New translations messages.pot (Polish)

* New translations messages.pot (Polish)

* New translations messages.pot (Dutch)

* New translations messages.pot (Bulgarian)

* New translations messages.pot (Romanian)

* New translations messages.pot (Bulgarian)

* New translations messages.pot (Serbian (Latin))

* New translations messages.pot (Turkish)

* New translations messages.pot (Turkish)

* sr_Cyrl
2018-03-21 19:46:00 -07:00
Jeremy Zhang
9dfceaed13 Fix members button icon to an actual icon, not a css hack 2018-03-22 02:03:57 +00:00
Jeremy Zhang
07cb047516 Hide emojipicker when clicked outside 2018-03-21 17:10:53 +00:00
Jeremy Zhang
b64eb0193d Hide emoji picker in visitor mode 2018-03-19 21:21:28 +00:00
Jeremy Zhang
c2659c39a9 Send textbased emoticons, Closes #96 2018-03-19 19:41:24 +00:00
Jeremy Zhang
c62a7a3752 Nickname, not nick 2018-03-19 19:21:48 +00:00
Jeremy Zhang
3d0ad729c1 Fix avatar url not rendering properly for mention 2018-03-19 19:08:52 +00:00
Jeremy Zhang
105fe24a40 Support mentions for offline members 2018-03-19 19:04:51 +00:00
Jeremy Zhang
5dc1c01db4 Better scrolling for mention list 2018-03-19 08:53:02 +00:00
Jeremy Zhang
b4ee57f3ec Fix Privacy Policy title 2018-03-19 08:49:45 +00:00
Jeremy "EndenDragon" Zhang
78af0891b1
Remove float conversion for dbl referrer 2018-03-19 01:35:03 -07:00
Jeremy Zhang
99afd2aeb7 Add voting statics to admin panel 2018-03-19 08:28:09 +00:00
Jeremy Zhang
bc4ad88372 Mention picker kinda floated on large heights 2018-03-19 06:15:54 +00:00
Jeremy Zhang
e11cffeb76 Rename embed.css 2018-03-19 06:11:07 +00:00
Jeremy Zhang
51d090e84b Implement basic member mentions, closes #93 2018-03-19 06:09:58 +00:00
MAX
1bcb3517d1
New dotJS logo 2018-03-17 11:57:05 +01:00
MAX
b6536b1c10
Delete dotjs.jpg 2018-03-17 11:56:29 +01:00
Jeremy Zhang
3f2575c47a Rich embeds open links in new tab 2018-03-16 20:28:09 +00:00
Jeremy Zhang
43c02a4656 Rename Custom to Server Emoji 2018-03-16 03:48:56 +00:00
Jeremy Zhang
c1658e83f2 Implement an extensive emoji picker, Closes #92 2018-03-16 03:31:25 +00:00
Jeremy Zhang
e14e65d45a EndenDragon is back in the hause! 2018-03-15 19:08:00 +00:00
Jeremy Zhang
e5282af143 Add placeholder example to query param form 2018-03-11 19:18:30 +00:00
Jeremy "EndenDragon" Zhang
1da5c3ddca
Make avatar images in user card a higher res 2018-03-11 01:28:58 -08:00
Alex Howard
2016540c78
Add files via upload 2018-03-10 18:25:45 -05:00
Alex Howard
111387afd1
Update for site ownership changes 2018-03-10 18:25:03 -05:00
Jelle Z
2c2de73fd6
fix'd gramaer om thee abuot paeg
I'm so sorry
2018-03-08 20:49:38 +01:00
Jeremy Zhang
6b4d3020f5 Remove debugging prints for avatar 2018-03-04 20:40:57 +00:00
Jeremy Zhang
11b6e447ae Bugfix usercard animations not showing 2018-03-04 08:18:21 +00:00
Jeremy Zhang
bd7e1419d7 Fix 'and' typo 2018-03-04 08:12:02 +00:00
Jeremy Zhang
aa5a4fa79a Gif avatars for user cards 2018-03-04 08:10:15 +00:00
Jeremy Zhang
309d2de7c7 Hide roles label in usercard if there is no roles to be displayed 2018-03-04 07:45:36 +00:00
Jeremy Zhang
487f5756f5 Parse role mentions 2018-03-04 06:31:08 +00:00
Jeremy Zhang
a0edd06d36 Add theme color meta 2018-03-02 05:07:22 +00:00
Jeremy Zhang
33374e32fa Sidebar discord members image to ditch jpgs 2018-03-02 04:55:52 +00:00
Jeremy Zhang
9ddb4552fe Angle bracketed links to display without them 2018-03-02 01:51:29 +00:00
Jeremy Zhang
572a3f0341 Not all emojis have the animated attr yet hotfix 2018-03-01 08:37:39 +00:00
Jeremy Zhang
5a2e51b135 Render external animated emoji 2018-03-01 08:15:42 +00:00
Jeremy Zhang
63979835ab Animated Emoji Support, Closes #85 2018-03-01 07:57:51 +00:00
Jeremy Zhang
b61d249fe6 Hide everyone role in user card and prevent overflowing of role bubbles 2018-03-01 07:09:28 +00:00
Jeremy Zhang
cc0a0bf3bb Change referrer url to the vote page 2018-02-27 21:22:25 +00:00
Jeremy Zhang
26aa56cc4e hotfix undefined variable for query 2018-02-27 07:30:05 +00:00
Jeremy Zhang
32c3491b54 Add voting page and track referrals 2018-02-27 07:22:58 +00:00
Jeremy Zhang
5f160e1b9f Change DBL balloon from dismissing perm to 3 days 2018-02-26 05:12:19 +00:00