Commit Graph

666 Commits

Author SHA1 Message Date
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
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 "EndenDragon" Zhang
37536e3cac
Update example config to reflect the DBL authorization field 2018-03-06 17:57:02 -08: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
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
43f4128211 Add DBL banner sitewide 2018-02-23 03:30:18 +00:00
Jeremy Zhang
d368fdf686 Notice to vote on DBL 2018-02-22 11:43:35 +00:00
Jeremy Zhang
bb4bf70fb1 Add engineio logging config option 2018-02-22 01:49:08 +00:00
Jeremy "EndenDragon" Zhang
19a44cb77b
Set user id to be string in member specific channel overwrite 2018-02-21 14:52:08 -08:00
Jeremy Zhang
1d085d328b Move error handling to utils 2018-02-19 07:48:57 +00:00
Jeremy Zhang
2d81c923a9 Disconnect on error 2018-02-19 07:45:04 +00:00
Jeremy Zhang
39dc966138 Switch github stargazer to voting on DBLorg 2018-02-18 22:50:24 +00:00
Jeremy Zhang
cd0f97d153 Embed thumbnails are biggerable too 2018-02-18 21:23:55 +00:00
Jeremy Zhang
c3acc0054f Click on an image to zoom larger 2018-02-18 20:53:32 +00:00
Jeremy Zhang
ff17f1a338 Tell robots to not index the embed pages 2018-02-18 20:02:23 +00:00
Jeremy Zhang
66b8c7dd09 Add x forward for header 2018-02-17 17:12:44 +00:00
Jeremy Zhang
ff401271e6 Avatar handling with png, not jpg 2018-02-17 04:27:21 +00:00
Jeremy Zhang
eaef3d53d8 Has attr instead of get 2018-02-16 19:56:36 +00:00
Jeremy Zhang
dbd943f209 Pass if socket_guild_id not in session 2018-02-16 19:50:53 +00:00
Jeremy Zhang
b516f8af3a return empty list if user guilds are empty 2018-02-16 19:46:04 +00:00
Jeremy Zhang
f447305b03 Typo update user token 2018-02-16 19:43:16 +00:00
Jeremy Zhang
1cf80a4712 sid is a string 2018-02-16 19:39:56 +00:00
Jeremy Zhang
5df39e4043 Remove c9 tempfile 2018-02-16 19:38:52 +00:00
Jeremy Zhang
073ff1a053 request is not defined 2018-02-16 19:38:38 +00:00
Jeremy Zhang
a02b33a3cb Disconnect if bad websocket requests instead of flasks abort 2018-02-16 19:37:12 +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
e8ecacb9be Better way to handle string to int during global ratelimit 2018-02-11 03:34:53 +00:00