Commit Graph

507 Commits

Author SHA1 Message Date
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
Jeremy Zhang
05cbd63e6f Monkey patch at the very beginning of the app 2018-02-11 00:25:53 +00:00
Jeremy Zhang
3894078f44 Add woff extension to roboto fonts in MetroEdge 2018-02-09 03:31:31 +00:00
Jeremy Zhang
062e072772 Implement MetroEdge in the codebase 2018-02-09 03:18:46 +00:00
Jelle
1a40bdb732 Added Metro Edge theme 2018-02-09 03:10:58 +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 "EndenDragon" Zhang
0235197514
New Crowdin Polish translations (#84)
* New translations messages.pot (Polish)

* New translations messages.pot (Polish)
2018-02-03 11:56:09 -08:00
Jeremy Zhang
8b4877cc4b Add user scalable query parameter (#74) 2018-02-02 08:49:48 +00:00
Jeremy "EndenDragon" Zhang
61a6d9ff69
New translations messages.pot (Dutch) (#83) 2018-02-01 21:59:20 -08:00
Jelle Z
9b1ccd494e Fixed grammar issue (#82) 2018-02-01 09:59:46 -08:00
Jeremy "EndenDragon" Zhang
b11f7ea592
New Crowdin translations (#80)
* New translations messages.pot (Portuguese)

* New translations messages.pot (Dutch)

* New translations messages.pot (Dutch)
2018-01-31 18:44:19 -08:00
Jeremy Zhang
b0f1f942a5 Remove Discord Technology from the partners list 2018-02-01 02:23:39 +00:00
Jeremy "EndenDragon" Zhang
3631b71a7f
Update example lang, Closes #81 2018-01-31 13:05:19 -08:00
Jeremy Zhang
375f7190b4 Rename JustMaffie and update his pfp 2018-01-31 06:51:19 +00:00
Jeremy "EndenDragon" Zhang
8551aa10cc
New Crowdin translations (#78)
* New translations messages.pot (Dutch)

* New translations messages.pot (Dutch)

* New translations messages.pot (German)
2018-01-29 22:11:43 -08:00
Sascha Greuel
588d9175a7 Fixed name in German typo (#79)
@SoftCreatR: "Deutsche" means "germans", but speaking of the language, it's just "Deutsch".
2018-01-29 19:17:20 -08:00
Jeremy Zhang
9fb7d82700 Set disabled guild ids to string so it works again 2018-01-29 18:23:54 +00:00
Jeremy Zhang
ff8663ddf7 Update language code to reflect the new scheming 2018-01-28 20:32:07 +00:00
Jeremy "EndenDragon" Zhang
3aeda22472
New Crowdin translations (#77)
* New translations messages.pot (Czech)

* New translations messages.pot (Dutch)
2018-01-28 11:21:15 -08:00
Jeremy "EndenDragon" Zhang
938eaa7454
New Crowdin translations (#76)
* New translations messages.pot (Catalan)

* New translations messages.pot (Czech)

* New translations messages.pot (Dutch)

* New translations messages.pot (Thai)

* New translations messages.pot (Afrikaans)

* New translations messages.pot (Norwegian)

* New translations messages.pot (Vietnamese)

* New translations messages.pot (Ukrainian)

* New translations messages.pot (Turkish)

* 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 (Russian)

* New translations messages.pot (Romanian)

* New translations messages.pot (Portuguese, Brazilian)

* New translations messages.pot (Portuguese)

* New translations messages.pot (Polish)

* New translations messages.pot (Korean)

* New translations messages.pot (Arabic)

* New translations messages.pot (French)

* New translations messages.pot (Catalan)

* New translations messages.pot (Chinese Simplified)

* New translations messages.pot (Czech)

* New translations messages.pot (Danish)

* New translations messages.pot (Dutch)

* New translations messages.pot (Finnish)

* New translations messages.pot (German)

* New translations messages.pot (Japanese)

* New translations messages.pot (Greek)

* New translations messages.pot (Hebrew)

* New translations messages.pot (Hindi)

* New translations messages.pot (Hungarian)

* New translations messages.pot (Indonesian)

* New translations messages.pot (Italian)

* New translations messages.pot (Chinese Traditional)

* New translations messages.pot (Czech)

* New translations messages.pot (French)

* New translations messages.pot (Catalan)

* New translations messages.pot (Polish)

* New translations messages.pot (Danish)

* New translations messages.pot (Spanish)

* Remove untranslated languages
2018-01-28 10:31:36 -08:00
Jeremy Zhang
af8df9e7ac Update translations for NSFW notices 2018-01-28 00:47:06 +00:00
Jeremy Zhang
7d7437edf4 Generate pot files script 2018-01-28 00:46:42 +00:00
Jeremy Zhang
e6422b118d Display NSFW channel warning 2018-01-28 00:43:53 +00:00
Jeremy "EndenDragon" Zhang
7e8b673424
New Crowdin translations for a bit more automated future (#75)
* New translations messages.pot (Afrikaans)

* New translations messages.pot (Korean)

* New translations messages.pot (Ukrainian)

* New translations messages.pot (Turkish)

* 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 (Russian)

* New translations messages.pot (Romanian)

* New translations messages.pot (Portuguese, Brazilian)

* New translations messages.pot (Portuguese)

* New translations messages.pot (Polish)

* New translations messages.pot (Norwegian)

* New translations messages.pot (Japanese)

* New translations messages.pot (Arabic)

* New translations messages.pot (Italian)

* New translations messages.pot (Indonesian)

* New translations messages.pot (Hungarian)

* New translations messages.pot (Hindi)

* New translations messages.pot (Hebrew)

* New translations messages.pot (Greek)

* New translations messages.pot (German)

* New translations messages.pot (French)

* New translations messages.pot (Finnish)

* New translations messages.pot (Dutch)

* New translations messages.pot (Danish)

* New translations messages.pot (Czech)

* New translations messages.pot (Chinese Simplified)

* New translations messages.pot (Catalan)

* New translations messages.pot (Vietnamese)

* New translations messages.pot (Afrikaans)

* New translations messages.pot (Korean)

* New translations messages.pot (Ukrainian)

* New translations messages.pot (Turkish)

* 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 (Russian)

* New translations messages.pot (Romanian)

* New translations messages.pot (Portuguese, Brazilian)

* New translations messages.pot (Portuguese)

* New translations messages.pot (Polish)

* New translations messages.pot (Norwegian)

* New translations messages.pot (Japanese)

* New translations messages.pot (Arabic)

* New translations messages.pot (Italian)

* New translations messages.pot (Indonesian)

* New translations messages.pot (Hungarian)

* New translations messages.pot (Hindi)

* New translations messages.pot (Hebrew)

* New translations messages.pot (Greek)

* New translations messages.pot (German)

* New translations messages.pot (French)

* New translations messages.pot (Finnish)

* New translations messages.pot (Dutch)

* New translations messages.pot (Danish)

* New translations messages.pot (Czech)

* New translations messages.pot (Chinese Simplified)

* New translations messages.pot (Catalan)

* New translations messages.pot (Vietnamese)

* New translations messages.pot (Afrikaans)

* New translations messages.pot (Norwegian)

* New translations messages.pot (Vietnamese)

* New translations messages.pot (Ukrainian)

* New translations messages.pot (Turkish)

* 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 (Russian)

* New translations messages.pot (Romanian)

* New translations messages.pot (Portuguese, Brazilian)

* New translations messages.pot (Portuguese)

* New translations messages.pot (Polish)

* New translations messages.pot (Korean)

* New translations messages.pot (Arabic)

* New translations messages.pot (French)

* New translations messages.pot (Catalan)

* New translations messages.pot (Chinese Simplified)

* New translations messages.pot (Czech)

* New translations messages.pot (Danish)

* New translations messages.pot (Dutch)

* New translations messages.pot (Finnish)

* New translations messages.pot (German)

* New translations messages.pot (Japanese)

* New translations messages.pot (Greek)

* New translations messages.pot (Hebrew)

* New translations messages.pot (Hindi)

* New translations messages.pot (Hungarian)

* New translations messages.pot (Indonesian)

* New translations messages.pot (Italian)

* New translations messages.pot (Chinese Traditional)

* New translations messages.pot (Chinese Simplified)

* Remove all translations for resync

* New translations messages.pot (Afrikaans)

* New translations messages.pot (Norwegian)

* New translations messages.pot (Vietnamese)

* New translations messages.pot (Ukrainian)

* New translations messages.pot (Turkish)

* 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 (Russian)

* New translations messages.pot (Romanian)

* New translations messages.pot (Portuguese, Brazilian)

* New translations messages.pot (Portuguese)

* New translations messages.pot (Polish)

* New translations messages.pot (Korean)

* New translations messages.pot (Arabic)

* New translations messages.pot (French)

* New translations messages.pot (Catalan)

* New translations messages.pot (Chinese Simplified)

* New translations messages.pot (Czech)

* New translations messages.pot (Danish)

* New translations messages.pot (Dutch)

* New translations messages.pot (Finnish)

* New translations messages.pot (German)

* New translations messages.pot (Japanese)

* New translations messages.pot (Greek)

* New translations messages.pot (Hebrew)

* New translations messages.pot (Hindi)

* New translations messages.pot (Hungarian)

* New translations messages.pot (Indonesian)

* New translations messages.pot (Italian)

* New translations messages.pot (Chinese Traditional)

* New translations messages.pot (Afrikaans)

* New translations messages.pot (Norwegian)

* New translations messages.pot (Vietnamese)

* New translations messages.pot (Ukrainian)

* New translations messages.pot (Turkish)

* 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 (Russian)

* New translations messages.pot (Romanian)

* New translations messages.pot (Portuguese, Brazilian)

* New translations messages.pot (Portuguese)

* New translations messages.pot (Polish)

* New translations messages.pot (Korean)

* New translations messages.pot (Arabic)

* New translations messages.pot (French)

* New translations messages.pot (Catalan)

* New translations messages.pot (Chinese Simplified)

* New translations messages.pot (Czech)

* New translations messages.pot (Danish)

* New translations messages.pot (Dutch)

* New translations messages.pot (Finnish)

* New translations messages.pot (German)

* New translations messages.pot (Japanese)

* New translations messages.pot (Greek)

* New translations messages.pot (Hebrew)

* New translations messages.pot (Hindi)

* New translations messages.pot (Hungarian)

* New translations messages.pot (Indonesian)

* New translations messages.pot (Italian)

* New translations messages.pot (Chinese Traditional)

* Remove pot files

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

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

* Remove no need serbian files

* Fix serbian
2018-01-27 15:22:32 -08:00
Jeremy Zhang
44f44b2a50 Unlink messages pot first before generating a new one in translation update 2018-01-27 23:21:04 +00:00
Jeremy Zhang
e09685b455 Add recent pot file for crowdin to auto translate project 2018-01-27 20:47:58 +00:00
Tornado1878
67375612ce Update LGBTQ+ Lounge's Description (#73) 2018-01-27 12:14:12 -08:00
Jeremy Zhang
f69cb7203d Update lgbtq lounge logo 2018-01-27 20:11:45 +00:00
Jeremy Zhang
8c3e3c256b Cache authors during fetching messages and insert latest authorship 2018-01-25 23:26:47 +00:00
Jeremy Zhang
1954b5e72d Add a little loading indicator for fetch messages 2018-01-25 10:11:27 +00:00
Jeremy Zhang
ba8b100e33 Make ids as strings for online embed users 2018-01-24 21:38:43 +00:00
Jeremy Zhang
074a6e6986 Server settings not updating due to a db column removed 2018-01-24 21:33:14 +00:00
Jeremy Zhang
4197c34cf4 String admin id compare to see if they can access /admin point 2018-01-24 06:14:37 +00:00
Jeremy Zhang
078ddaae6a Admin user_id to string in template for it to show 2018-01-24 06:09:18 +00:00
Jeremy Zhang
45f33971ed Fix integer issues for custom css not creating 2018-01-24 06:03:31 +00:00
Jeremy Zhang
e5f7a90773 Administrator snowflake ids should be in strings 2018-01-24 05:58:51 +00:00
Jeremy Zhang
eea94477ea Escape css and guild names in the frontend 2018-01-24 05:42:47 +00:00
Jeremy Zhang
b4e04a27c3 Hotfix member sidebar misbehaving, not showing role heiarchy 2018-01-23 22:59:34 +00:00
Jeremy Zhang
0d54b8d588 Add more drop defaults to prevent upgrade error 2018-01-23 21:14:37 +00:00
Jeremy Zhang
aa199ad818 Use a more optimal primary key and integer to store snowflakes 2018-01-23 21:08:55 +00:00
Jeremy Zhang
c3a562590a Lower sqlalchemy pool count 2018-01-23 19:01:17 +00:00
Jeremy Zhang
56d25d6ecb Commit to database on only on request teardown 2018-01-22 07:52:51 +00:00
Jeremy Zhang
2c949d911b Move tracking online users to redis 2018-01-21 03:15:02 +00:00
Jeremy Zhang
6b1c6179d1 Escape guild name in embed 2018-01-20 20:51:37 +00:00
Jeremy Zhang
1e425bcded Enforce proxy url for rich embedded images 2018-01-17 23:26:08 +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
37a992b8b1 Update translations for pl and add sl lang 2018-01-15 22:14:02 +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
ef7ef65a44 Remove everybot from partnership, as the service discontinued 2018-01-13 18:03:31 +00:00
Jeremy Zhang
9a1b33c7d3 Modify the css for login modal to look good on smaller frame sizes 2018-01-13 04:24:35 +00:00
Jeremy Zhang
d8eea5d590 Don't forget to name your css! 2018-01-13 03:07:26 +00:00
Jeremy Zhang
30b6a37bf0 sr, not sr_SP 2018-01-13 02:28:22 +00:00
Jeremy Zhang
de0a99c9d9 Consolidate languages into constants file 2018-01-13 01:37:13 +00:00
Jeremy Zhang
4722ff98dc Add Japanese Language 2018-01-13 01:37:13 +00:00
Jeremy "EndenDragon" Zhang
02cc133bbe
Document server and invite commands 2018-01-09 17:25:19 -08:00
Jeremy Zhang
de43aac993 Update dutch translations 2018-01-09 19:56:33 +00:00
Jeremy Zhang
31bc87d770 Add members count to admin panel 2018-01-08 09:13:59 +00:00