Commit Graph

720 Commits

Author SHA1 Message Date
Jeremy Zhang
e35e33abf7 Return after disconnect 2018-11-04 20:57:17 +00:00
Jeremy Zhang
ca834b758f Disconnect logic a bit 2018-11-04 19:03:42 +00:00
Jeremy Zhang
1ef44e1290 Even more time sleep 0 2018-11-03 19:21:00 +00:00
Jeremy Zhang
81de5572e6 More time sleep 0 2018-11-03 18:59:56 +00:00
Jeremy Zhang
e9e2471e41 Time sleep 0? 2018-11-03 18:52:24 +00:00
Jeremy Zhang
ca09254ada Time sleep 1 in heartbeat 2018-11-03 03:14:42 +00:00
Jeremy Zhang
a5faea5a97 Longer delay between heartbeats 2018-10-28 02:40:03 +00:00
Jeremy Zhang
65ec0d28e2 Revert "No sleep"
This reverts commit b897dad023.
2018-10-26 20:59:05 +00:00
Jeremy Zhang
b897dad023 No sleep 2018-10-26 19:08:51 +00:00
Jeremy "EndenDragon" Zhang
e4057390fc New translations messages.pot (Danish) 2018-10-15 23:18:32 -07:00
Jeremy Zhang
b8735d4082 Abort 404 if dbguild not here 2018-10-09 21:23:53 +00:00
Jelle Z
65e29b9deb Added gaussian blur to the Fire & Ice Wyvern theme
Update "Might", so to speak

Enabled backdrop filter for other browsers

Enabled backdrop filter support for other browsers

Create example

Add files via upload

Delete MightUpdate.png

Add files via upload

Delete example

Create example

Add files via upload

Delete example
2018-10-07 21:27:04 +00:00
Jeremy Zhang
3dd53d1095 Update mythbot website 2018-10-04 18:27:13 +00:00
Jeremy Zhang
d868503399 Insert Jelle into the people section in about pg 2018-09-15 18:12:13 +00:00
Jeremy "EndenDragon" Zhang
10a5fee15e
Messaging is 2018-09-14 12:12:36 -07:00
Jeremy Zhang
293c06c828 Set richembed text color to black, including author 2018-09-13 00:43:22 +00:00
Jelle Z
47132ff187
Fixed text colour of blockcode
Changed the colour to a darker grey
2018-09-12 22:15:28 +02:00
Jelle Z
d511955561
Fixed colour of embedded text in Ice Wyvern theme
Changed the colour to black to make it more readable.
2018-09-12 22:06:38 +02:00
Jeremy Zhang
f998d94b19 IceWyvern make links and mentions more noticeable 2018-08-29 18:30:16 +00:00
Jeremy Zhang
12144b17de Add darker color to default chat username in ice wyvern 2018-08-28 06:19:47 +00:00
Jeremy "EndenDragon" Zhang
dfa8770ce2
Merge pull request #120 from TitanEmbeds/l10n_master
New Crowdin translations
2018-08-26 00:26:32 -07:00
Jeremy "EndenDragon" Zhang
10145cadbb New translations messages.pot (Polish) 2018-08-26 00:26:09 -07:00
Jeremy Zhang
ddcf719cf6 Valid session required to get all them users 2018-08-21 00:43:23 +00:00
Jeremy Zhang
4672243ebe Delay fetching for all users for a faster load 2018-08-20 19:43:12 +00:00
Jeremy Zhang
3e27b156a8 Implement join messages 2018-08-19 02:55:31 +00:00
Jeremy Zhang
38bf9133da How does percentage work again? 2018-08-17 05:06:46 +00:00
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
7fec01090c Update readme installation instructions and add browserstack 2018-08-04 07:29:54 +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
a3e58ac43e Remove tmp for good
It should be removed a LONG time ago
2018-07-21 07:42:44 +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 Zhang
350b7ab65c Fix postgresql and mysql db upgrades 2018-03-30 20:44:23 +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