Commit Graph

633 Commits

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