Commit Graph

685 Commits

Author SHA1 Message Date
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
Jeremy Zhang
22d00bbe09 Use rich embed for everything embed, for now 2018-01-08 06:59:22 +00:00
Jeremy Zhang
5dfbbc12ac Add ratelmited.me to the partner list 2018-01-07 06:30:11 +00:00
Jeremy Zhang
e8ecfc65d2 Change user defined css from the admin panel 2018-01-07 02:41:02 +00:00
Jeremy Zhang
01e1412af1 Merge branch 'master' of github.com:TitanEmbeds/Titan 2018-01-05 08:52:31 +00:00
Jeremy Zhang
bf47f9457c Administrator can now disable misbehaving servers 2018-01-05 08:52:22 +00:00
Jelle Z
4997b6e682 Temporary fix for weird shadow on Titan Embeds shield logo. (#67)
* Delete & add titanembeds_shield.png
2018-01-04 16:27:40 -08:00
Jeremy "EndenDragon" Zhang
6c4b850669
Merge pull request #66 from jelle619/master
Titan now displays an error when JavaScript isn't enabled
2018-01-04 15:37:57 -08:00
Jeremy Zhang
03aa5f33a7 Add noscript page to the embed blueprint 2018-01-04 23:36:27 +00:00
Jelle Z
727aa17e12 Added noscript page and redirect 2018-01-04 23:36:27 +00:00
Jeremy Zhang
fcd4f76c97 Add padding to channels list bottom 2018-01-04 23:13:00 +00:00
Jelle Z
d2e3ab6252 Updated App Icons for Android (#65)
Android can take transparent app icons. (So we will make it a circle instead of a square)
2018-01-03 16:21:07 -10:00
Jeremy Zhang
c882e12b6a Merge branch 'master' of github.com:TitanEmbeds/Titan 2018-01-03 22:14:14 +00:00
Jeremy Zhang
fef0ce3b0b Added sr_CS and updated pl and sr 2018-01-03 22:13:41 +00:00
Jelle Z
b1fa314389 Fix mobile metadata inconsistency (#64) 2018-01-03 10:37:43 -10:00
Jeremy Zhang
21565ef29b Fix overwrite embed css check not clickable 2018-01-03 13:32:06 +00:00
Jeremy Zhang
306aef78d3 Fixup to #63 2018-01-03 13:01:05 +00:00
Jelle Z
0de1c24899 Added mobile metadata & app icons optimised for Android/iOS 2018-01-03 12:56:40 +00:00
Jeremy Zhang
f58a43a388 Force create authenticated user when same target is true and prime embed throws 403 2018-01-02 22:35:54 +00:00
Jeremy Zhang
e74c4a47a9 Start redis in c9 before importing webapp 2018-01-02 22:01:23 +00:00
Jeremy Zhang
e89a99ccfb Update ca and nl languages 2018-01-02 08:23:14 +00:00
Jeremy Zhang
8b0d3f9125 Add ry to the list too
...because he asked for it
and that he has been a great partner
2018-01-01 13:47:05 +00:00
Jeremy Zhang
ca73f3928b Add Addy and Codefined to the about page 2018-01-01 11:49:13 +00:00
Jeremy Zhang
1aefd64c01 Update ca es_ES id nl languages 2018-01-01 11:25:49 +00:00
Jeremy Zhang
8acd6fb5ac Update German translation 2017-12-30 12:21:36 +00:00
Jeremy Zhang
702fabfeb3 Rename chinese lang codes 2017-12-30 09:14:20 +00:00
Jeremy Zhang
24120f4981 Added languages ca hi zh_CN zh_TW, Updated de 2017-12-30 09:01:04 +00:00
Jeremy Zhang
9a258be2d7 Decode value in getbucket after checking that it is not none 2017-12-29 17:44:10 +00:00
Jeremy Zhang
348580dcbb Remove keyvalue properties in favor of redis 2017-12-29 17:40:32 +00:00
Jeremy Zhang
7d2fd9056d Make ssl configuratable 2017-12-20 01:01:50 +00:00
Jeremy Zhang
a187b202db Update and add translations for hu nl pl ro 2017-12-17 22:36:36 +00:00
Jeremy Zhang
2729abeb48 Fix css not being activated after donating 2017-12-15 19:06:46 +00:00
Jeremy Zhang
8a2a61ebda Add support to IE 2017-12-14 05:50:59 +00:00
Jeremy Zhang
89b3f4a450 Add support for older browser with bad support for CSS Variables and ES6 2017-12-14 05:22:06 +00:00
Jeremy Zhang
7f415bd65a Update translations for the user cards 2017-12-12 23:35:27 +00:00
Jeremy Zhang
14078fdabd Fix notification sound input field and handling mentions not sounding 2017-12-12 21:45:21 +00:00
Jeremy Zhang
de5b96abb1 Update Polish 2017-12-12 21:34:24 +00:00
Jeremy Zhang
fe6ec7f1aa New languages: de fr id pt_PT sr sv_SE 2017-12-12 13:12:38 +00:00
Jeremy Zhang
5dae7fe822 Add electron fixes for jquery not being defined 2017-12-12 00:48:05 +00:00
Jeremy Zhang
ca8ffa984b Brandlogo misplacement from small widths 2017-12-11 19:07:27 +00:00
Jeremy Zhang
2d969659ec Fix message author fails when Titan is nicknamed 2017-12-10 21:32:32 +00:00
Jeremy Zhang
8c414247b9 Updated MaterializeCSS to v0.100.2 2017-12-10 16:56:13 +00:00
Jeremy Zhang
1785cb81c9 Fix user card for offline members to work 2017-12-09 18:47:22 +00:00
Jeremy Zhang
cb05b44100 Handle default avatars 2017-12-09 17:25:03 +00:00
Jeremy Zhang
12f2acd0c8 Semicolon fix 2017-12-08 21:19:07 +00:00
Jeremy Zhang
b334e3c93b Rich embed description can have seperate new lines 2017-12-08 21:18:49 +00:00
Jeremy Zhang
5a51f73f74 Stargazers name glow yellow 2017-12-08 01:43:01 +00:00
Jeremy Zhang
80468f71f0 Fix avatar sizing in user card 2017-12-07 07:10:55 +00:00
Jeremy Zhang
e00566c2ed User card avatar width issue 2017-12-07 07:03:11 +00:00
Jeremy Zhang
204858d011 Add user cards and badges, Closes #25 2017-12-07 06:49:32 +00:00
Jeremy Zhang
3af5dc703a Make sessions more permanent for discord logins 2017-12-01 04:08:20 +00:00
Jeremy Zhang
87d47a9c18 Implement spanish and turkish langs 2017-11-27 02:45:50 +00:00
Jeremy Zhang
5013764d92 Add Thai language 2017-11-26 02:15:30 +00:00
Jeremy Zhang
375dfafc3f Make query parameters dynamic and an autofill form 2017-11-26 02:03:53 +00:00
Jeremy Zhang
6d724796da Pokish is Polski, without the e 2017-11-25 06:32:21 +00:00
Jeremy Zhang
dcab78e0cc Change jshub to discord tech 2017-11-25 02:33:36 +00:00
Jeremy Zhang
83aee60eaf Update Polish translations 2017-11-25 02:28:21 +00:00
Jeremy Zhang
342a317e8b Add translators to the about page 2017-11-25 02:22:15 +00:00
Jeremy Zhang
ec33d2c627 Total cents pledged attribute typo 2017-11-22 03:24:17 +00:00
Jeremy Zhang
6d2d4dd19c Implement Patreon token syncer 2017-11-22 02:41:43 +00:00
Jeremy Zhang
2e71200843 Add support for both link and video embeds as rich embeds 2017-11-20 23:10:06 +00:00
Jeremy Zhang
ef4ab4e83c Add logout button to user panel 2017-11-20 03:54:29 +00:00
Jeremy Zhang
a1ac184bc2 Fix align for subheaders in member nav 2017-11-18 08:23:24 +00:00
Jeremy Zhang
82e3d04dbd fix member nav alignments 2017-11-18 07:58:36 +00:00
Jeremy Zhang
06d8a51cb4 Hide overflowed member sidebar text 2017-11-18 04:24:04 +00:00
Jeremy Zhang
2fd645f327 Add polish to lang 2017-11-17 21:08:57 +00:00
Jeremy Zhang
409c13ee34 Add Danish laguage and update other languages 2017-11-17 20:56:52 +00:00
Jeremy Zhang
00cedd000d Add italian language translated by dotjs 2017-11-16 09:01:12 +00:00
Jeremy Zhang
0c03d04c00 Fix shebang for translate scripts 2017-11-16 03:37:21 +00:00
Jeremy Zhang
b32fcd8b34 Add crowdin links and query parameter lang 2017-11-16 03:25:29 +00:00
Jeremy Zhang
3007266556 Add basic Dutch translations by jelle619 and translation scripts 2017-11-16 03:09:53 +00:00
Jeremy Zhang
f95cd7060c Inital translations implementation for embeds template 2017-11-15 06:13:42 +00:00
Jeremy Zhang
b1186fecfe Add sametarget query parameter to not have discord login open in new tab 2017-11-13 22:01:34 +00:00
Jeremy Zhang
6dd7f17fb6 Message notification sounds 2017-11-13 01:26:00 +00:00
Jeremy Zhang
e98c837433 Discord mentions highlighted like channel names 2017-11-11 00:30:58 +00:00
Jeremy Zhang
a4c16968e8 Add https to the script urls 2017-11-11 00:25:54 +00:00
Jeremy Zhang
fa08af8864 Embed message box fix and remove fetching spinner 2017-11-07 07:43:02 +00:00
Jeremy Zhang
071552dbf7 Nav bar color style fix for safari browser, no longer pink gradient 2017-11-07 07:02:19 +00:00
Jeremy Zhang
07bd0b5f5b Clean up mention with mustache 2017-11-06 03:12:18 +00:00
Jeremy Zhang
6a2a3d1f34 Split message mentions up into different parts 2017-11-06 02:57:46 +00:00
Jeremy Zhang
b45270c7e2 Fixed the padding of the discordgg btn 2017-11-05 07:45:14 +00:00
Jeremy Zhang
d3c0a029e8 Display image attachments in a new line 2017-11-05 06:43:36 +00:00
Jeremy Zhang
5614d3c48f Set inner content width to fill in rich embeds 2017-11-05 06:35:05 +00:00
Jeremy Zhang
e9193912ca Image to not exceed too big of a height while keeping aspect ratio 2017-11-05 06:20:45 +00:00
Jeremy Zhang
5fb860caca Embed attached images 2017-11-05 06:09:05 +00:00
Jeremy Zhang
eff2b3bb46 Display rich embed support 2017-11-05 05:59:06 +00:00
Jeremy Zhang
962880f652 Fix typo regarding to unauth captcha in admin panel 2017-11-04 03:09:47 +00:00
Jeremy Zhang
bba4950ddc Server administrators may disable captchas for guest users 2017-11-04 02:58:26 +00:00
Jeremy Zhang
71209d2824 Remove Ping Salar Hotel from partners 2017-11-04 00:41:12 +00:00
Jeremy Zhang
c9e7d22730 Do not add random entries into the transactions because the user is given invalid negative tokens 2017-11-03 03:05:38 +00:00
Jeremy Zhang
a2b2cce815 Use scroll into view instead 2017-11-01 17:30:47 +00:00
Jeremy Zhang
17ded0a3bd Scroll sidebar in case if the channel is not in view 2017-11-01 06:43:12 +00:00
Jeremy Zhang
0ffaf41874 Channel names are directly selectable and changable in chat 2017-11-01 06:31:44 +00:00
Jeremy Zhang
a2b2839a66 Changed waifu to HEMAA 2017-11-01 05:22:06 +00:00
Jeremy Zhang
b44cb3f491 Prevent scrolling at embed load for those info channels 2017-10-29 02:00:21 +00:00
Jeremy Zhang
8de3639249 Changed the invite to LGBTQ lounge 2017-10-25 17:44:27 +00:00
Jeremy Zhang
315d6f21b1 Collapse messages should probably be called in the helper 2017-10-20 07:05:18 +00:00
Jeremy Zhang
a571e58bbc If attribute null, dont collapse 2017-10-20 06:59:06 +00:00
Jeremy Zhang
2b68179a82 Collapse messages if the previous is sent by the same author 2017-10-20 06:50:48 +00:00
Jeremy Zhang
bee067f8ec Force global guest avatar if avatar string is null 2017-10-09 17:56:00 +00:00
Jeremy Zhang
76863cd017 Fix dupe click mentioning 2017-10-09 04:47:51 +00:00
Jeremy Zhang
0f6b718b6e Click mention user 2017-10-08 08:36:56 +00:00
Jeremy Zhang
6fef2853cd No scroll if user is not fully scrolled down in messages 2017-10-07 15:20:27 +00:00
Jeremy Zhang
65381b9739 Don't change localstorage when url defines so 2017-10-04 06:04:27 +00:00
Jeremy Zhang
370d4c6985 Teardown sqlalchemy session on each emit 2017-10-01 04:07:04 +00:00
Jeremy Zhang
fc8768d389 Hide brand logo text on hella small width viewport 2017-09-30 20:44:44 +00:00
Jeremy Zhang
efcbc01ee8 Raise the sqlalchemy pool size limit to 100 2017-09-30 20:09:01 +00:00
Jori van Ee
b4fc721097 Change before_request to before_first_request (#56)
Change before_request to before_first_request
2017-09-28 09:36:29 -07:00
Jeremy Zhang
f035308e17 Add dotHub as a partner 2017-09-24 07:47:38 +00:00
Jeremy Zhang
d6c43e853b Return normal titan logo if guest icon does not exist and av fixes 2017-09-24 04:51:31 +00:00
Jeremy Zhang
86a2a5fe66 Fix guest icon not showing if webhooks are turned off 2017-09-24 04:35:51 +00:00
Jeremy Zhang
3cb5697680 Fix admin cosmetics guest icon text typo 2017-09-24 04:19:24 +00:00
Jeremy Zhang
e30171a8de Implement user avatars into the embed 2017-09-24 04:17:06 +00:00
Jeremy Zhang
ad833434dd Renamed webhook icon to guest icon for preperation of avatars in the client 2017-09-24 01:22:07 +00:00
Jeremy Zhang
cb10c35ec9 Modified the wrong html for code highlight, ended up highlighting the whole list at the same time, whoops 2017-09-24 00:15:25 +00:00
Jeremy Zhang
6dba85ff65 Fix regex for being too greedy in codeblocks 2017-09-23 17:59:06 +00:00
Jeremy Zhang
7ce53b851c Codeblock highlighting 2017-09-23 17:38:14 +00:00
Jeremy Zhang
1ac5ac3eeb Remove message cleanup from webapp 2017-09-22 00:59:37 +00:00
Jeremy Zhang
c0798bd5b1 Better cleanup db msgs? 2017-09-22 00:53:59 +00:00
Jeremy Zhang
956e466db1 Bot needs create instant invite perms and more descriptive error for 422 if it happens 2017-09-21 21:47:00 +00:00
Jeremy Zhang
a2461a9826 Square logo & meta additions 2017-09-21 07:54:19 +00:00
Jeremy "EndenDragon" Zhang
392c7ae69e Add recaptcha v2 to verify guest logins (#55) 2017-09-21 00:12:49 -07:00
Jeremy Zhang
f6b354f10d Make 422 status when titan failed to add user to guild 2017-09-20 21:20:06 +00:00
Jeremy Zhang
ff4d6a405a Change guest ratelimits to create 3 times per 30mins and lower time to change username to 10mins 2017-09-20 07:07:55 +00:00
Jeremy Zhang
cf9eafd9bf Better css preview refresh? 2017-09-20 04:01:32 +00:00
Jeremy Zhang
24f6b72f17 Set preview css guild id field width smaller 2017-09-19 23:55:58 +00:00
Jeremy Zhang
87d5c3e462 Add User CSS Live Previewer, closes #53 2017-09-19 23:38:46 +00:00
Jeremy Zhang
a9a261634a Sanity check in case add member fails 2017-09-17 23:41:08 +00:00
Jeremy Zhang
dfd974db53 Change ping salar emote to ping salar hotel 2017-09-17 22:24:13 +00:00
Jeremy Zhang
bf74baea72 New homepage video! and typo fixes 2017-09-17 22:15:46 +00:00
Jeremy Zhang
aa4fa4ed16 Add extra spans to distinguish usernames from discrim in msgs 2017-09-15 22:25:36 +00:00
Jeremy Zhang
ad530dff4b Add patreon bannah on the donation page 2017-09-15 21:21:53 +00:00
Jeremy Zhang
a0a2f3951a Fix crashing when titan dev appears 2017-09-15 07:15:51 +00:00
Jeremy Zhang
80d89b49f8 Chat username discord colors! 2017-09-15 06:25:03 +00:00
Jeremy Zhang
286f395b72 Webhook truncate username if too long 2017-09-14 06:46:15 +00:00
Jeremy Zhang
88a3f4c51c Cmd/Ctrl S Saves and submits custom css if the cursor is inside the editor 2017-09-14 05:30:16 +00:00
Jeremy Zhang
fff737cec3 Remove debug print statements from user and admin blueprints 2017-09-14 05:23:28 +00:00
Jeremy Zhang
7803d83ad0 Add link to the donators shoppe on the thank page 2017-09-14 01:35:40 +00:00
Jeremy Zhang
f4176e65e1 Merge userbookkeeping file with utils 2017-09-13 22:01:07 +00:00
Jeremy Zhang
cedceabe2e Check user permissions when accepting a post request for administrating guilds 2017-09-13 21:51:32 +00:00
Jeremy Zhang
1a6a8b3727 Remove pythonanywhere specific ip handling 2017-09-13 21:48:31 +00:00
Jeremy Zhang
c23b71d050 Implement server webhook icons as cosmetics & fixes 2017-09-13 05:55:51 +00:00
Jeremy Zhang
d9edf7e8ef Remove urls temporarily during markdown parsing so that markdown would not interfere 2017-09-13 03:56:10 +00:00
Jeremy Zhang
2e4781d499 Add terms and privacy legal documents 2017-09-12 04:06:29 +00:00
Jeremy Zhang
8a7e3322b9 Remove global header when the bot is not connected to the database 2017-09-11 20:33:20 +00:00
Jeremy Zhang
9ef8ef7c90 Add previous title to maffie 2017-09-11 19:46:14 +00:00
Jeremy Zhang
dad92d1e53 Add reasons to admin token transactions 2017-09-11 10:14:07 +00:00
Jeremy Zhang
247133229c Implement purchasing option for custom css 2017-09-11 09:00:42 +00:00
Jeremy Zhang
10b5deffe4 Add custom css slots to prepare for donators feature 2017-09-11 07:52:13 +00:00
Jeremy Zhang
214bbfa162 Escape CSS Variables 2017-09-11 01:26:26 +00:00
Jeremy Zhang
1fe4943cf2 Add CSS Variables to Discord Dark 2017-09-11 01:11:32 +00:00
Jeremy Zhang
888ec81cc2 Cloud9 automatically start postgres and redis 2017-09-10 22:37:31 +00:00
Jeremy Zhang
25cd964403 Initial support for channel categories 2017-09-09 21:46:00 +00:00
Jeremy Zhang
1dad3f1d3a Permission variable typo, sorry 2017-09-09 15:21:25 +00:00
Jeremy Zhang
83982d0105 If administrator, it should be allowed to create webhooks 2017-09-09 15:16:29 +00:00
Jeremy Zhang
1fac087b6d Use the api endpoint to only clean the keyvalue store for now. the messages should be handled by the external bot script 2017-09-09 05:01:02 +00:00
Jeremy Zhang
207e13b639 Cast user_id to string during comparison to fix guest posting 2017-09-09 02:30:23 +00:00
Jeremy Zhang
ded1a48ef1 Add alt text to discord emojis so that it is copypasteable 2017-09-08 22:17:57 +00:00
Jeremy Zhang
4121d647df Cast message and channel ids to bigint for comparison 2017-09-08 20:44:26 +00:00
Jeremy Zhang
b345b2ab6f Fix for css variables being None 2017-09-08 00:37:37 +00:00
Jeremy Zhang
4a204fb264 Implement CSS variables to the default theme as of now 2017-09-08 00:14:10 +00:00
Jeremy Zhang
a293b89b8c CSS Variables fix 2017-09-07 23:35:34 +00:00
Jeremy Zhang
3c83641a55 Update alembic for cssvars 2017-09-07 21:47:58 +00:00
Jeremy "EndenDragon" Zhang
56e7b3e9d2 Merge branch 'cssvars' into master 2017-09-07 14:41:30 -07:00
Jeremy "EndenDragon" Zhang
600627d2e2 Allow the bot to work with not having Administrator permissions (#47) 2017-09-06 17:59:22 -07:00
Jeremy Zhang
21400679b6 Empty server manage server list should not automatically log you out, oauth fix 2017-09-06 20:59:05 +00:00
Jeremy Zhang
2f552ca87f Strip timezone and microsecond for admin guild member list 2017-09-06 18:56:52 +00:00
Jeremy Zhang
7badfea64f Twemoji parsing 2017-09-06 07:11:32 +00:00
Jeremy Zhang
315173924c Render global emotes 2017-09-06 06:42:17 +00:00
Jeremy Zhang
84d3a7ad84 Remove escape blackslash for angle brackets before displaying message 2017-09-06 06:34:51 +00:00
Jeremy Zhang
9e49ba558a Fix administrate guild page crashing due to microseconds in user timestamps 2017-09-06 05:34:14 +00:00
Jeremy Zhang
5ecedfd7fc Add LGBTQ+ Lounge to the partners list 2017-09-05 18:47:15 +00:00
Jeremy Zhang
31b8f66abe Typo, this can be none at times 2017-09-05 07:45:57 +00:00
Jeremy Zhang
f5f3423e36 Strip timezone information completely for comparing 2017-09-05 07:29:36 +00:00
Jeremy "EndenDragon" Zhang
aa9075f484 Inital postgresql implementation (#46) 2017-09-04 23:54:54 -07:00
omnicons
3a503c9bcb Add an image for Selina 2017-09-04 06:50:25 -04:00
omnicons
8f1749add7 Add Selina to about page 2017-09-04 06:48:25 -04:00
Jeremy Zhang
85d49e4024 Reinstate token links 2017-09-04 04:12:08 +00:00
Jeremy Zhang
0a6943bdbe Fix duplicate typo for example url in query param card 2017-09-04 03:40:42 +00:00
Jeremy Zhang
3c2e1ee686 Fix misalignment of the cool people list for good 2017-09-02 20:49:54 +00:00
Jori van Ee
4aee785b97 Update everybot partner to include the bot invite link 2017-09-02 20:34:04 +00:00
Jeremy "EndenDragon" Zhang
6a426618d6 Merge branch 'master' into websockets 2017-09-02 12:25:11 -07:00
Jeremy Zhang
3e2c9b2fb6 Add username field to embed_user_connect, whoops 2017-09-02 15:19:23 +00:00
Jeremy Zhang
2c7c466bb9 Better websockets reconnect logic 2017-09-02 04:06:15 +00:00
Jeremy Zhang
7464cdc748 Edit google analytics tracking code 2017-09-02 01:03:25 +00:00
Jeremy Zhang
c1f208d74e Attempt to fix the height sizing of the modal overlay 2017-09-01 19:24:23 +00:00
Jeremy Zhang
93cc797aac Hide visitor mode login message on really small embed widths 2017-09-01 19:19:13 +00:00
Jeremy Zhang
610d46936c Message box new line on shiftenter, enter submits without newline, Resolves #44 2017-09-01 07:30:40 +00:00
Jeremy Zhang
871c8fc22f New .com domain! 2017-09-01 04:45:35 +00:00
Jeremy Zhang
71462ba628 Lets actually include everyone in teh about page, okay? 2017-09-01 04:41:10 +00:00
Jeremy Zhang
9e494f3808 Prefill username field for guests with query param, Resolves #43 2017-08-30 18:48:26 +00:00
Jeremy Zhang
12936455b0 Experiment, lower messaging post rate to 5 secs 2017-08-27 21:51:08 +00:00
Jeremy Zhang
2226693739 Remove force focus 2017-08-27 21:51:08 +00:00
Jeremy Zhang
907bb510eb Cleanup card panels 2017-08-27 21:51:08 +00:00
Jeremy Zhang
654dd3faf3 Automatic webhook creation and deletion, Resolves #42 2017-08-27 21:50:41 +00:00
Jeremy Zhang
8038a1b4fc Handle guild name and image updates realtime 2017-08-27 08:04:50 +00:00
Jeremy Zhang
441a0814ae Emit update current user info only on when current user has been updated 2017-08-27 07:55:08 +00:00
Jeremy Zhang
718fafe0a0 Add redis to requirements and test for uwsgi to monkeypatch 2017-08-27 02:22:03 +00:00
Jeremy Zhang
8b6645306a Update user chip if a user has been updated 2017-08-25 23:19:13 +00:00
Jeremy Zhang
ac956106e9 Guest Username Change better websocket support 2017-08-25 07:45:59 +00:00
Jeremy Zhang
e3f57500ff Realtime updating channel list 2017-08-25 06:37:14 +00:00
Jeremy Zhang
d1225e5273 Realtime emoji and discord member sidebar fix 2017-08-22 07:53:41 +00:00
Jeremy Zhang
0539efb204 WS Realtime for message actions and Sidebar members list presence update 2017-08-22 07:01:40 +00:00
Jeremy Zhang
a0a0f01655 Fix member hex colors with leading zeros 2017-08-22 02:52:54 +00:00
Jeremy Zhang
4ed2d14bc3 Basic websockets authentication handling 2017-08-21 04:26:51 +00:00
Jeremy Zhang
72649f069e Basic message relaying via WS 2017-08-20 19:56:54 +00:00
JustMaffie
c8d35ff265 Update about page 2017-08-20 09:56:00 +02:00
Jeremy Zhang
e094a8b0e7 Add streamers connected as a partner 2017-08-20 04:49:42 +00:00
Jeremy Zhang
9a2c7a6261 Add Ping and Salars Emote List server as a partner 2017-08-19 20:12:57 +00:00
Jeremy Zhang
1be0177562 Named the socketio endpoint to gateway 2017-08-19 07:30:19 +00:00
Jeremy Zhang
6b3ada44db Basic websocket test on connect 2017-08-19 05:09:13 +00:00
Jeremy Zhang
e5cdde73b0 Initial socketio initialization 2017-08-19 03:52:32 +00:00
Jeremy Zhang
fb8cfe3abc Converted webapp portion to python 3.5. Resolves #32 2017-08-19 00:33:50 +00:00
Jeremy Zhang
15011078c8 Add a server count to the server admin page 2017-08-16 19:48:59 +00:00
Jeremy Zhang
8d76423a82 Hide Token links and reinstate patreon links for now 2017-08-14 06:31:23 +00:00
Jeremy Zhang
fc05f3dda2 Token count in menu 2017-08-14 05:43:25 +00:00
Jeremy "EndenDragon" Zhang
0d87e11e3e Add paypalrestsdk to requirements.txt 2017-08-13 18:11:17 -07:00
Jeremy "EndenDragon" Zhang
8bc95f7b0e Paypal (#41)
* Implement Titan Tokens clientside

* Titan Tokens can be modified in the admin panel
2017-08-13 18:10:03 -07:00
Jeremy Zhang
d363b66799 Added a patreon banner link to the index and dashboard 2017-08-13 11:19:43 +00:00
Jeremy "EndenDragon" Zhang
c832e69483 Implemented Server Emoji Picker (#40) 2017-08-13 03:14:03 -07:00
Jeremy Zhang
e44ab58aa8 After changing the username, it should just refetch 2017-08-10 22:01:23 +00:00
Jeremy Zhang
a165722856 Guest username changing support 2017-08-10 21:27:08 +00:00
Jeremy Zhang
68d8882d3e Fix mentions with nicknames 2017-08-10 02:56:45 +00:00