custom emojis when poll
This commit is contained in:
		| @@ -417,7 +417,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) { | |||||||
| 			var via = ''; | 			var via = ''; | ||||||
| 			viashow="hide"; | 			viashow="hide"; | ||||||
| 		} else { | 		} else { | ||||||
| 			var via = toot.application.name; | 			var via = escapeHTML(toot.application.name); | ||||||
| 			//強調チェック | 			//強調チェック | ||||||
| 			Object.keys(emp).forEach(function(key6) { | 			Object.keys(emp).forEach(function(key6) { | ||||||
| 				var cli = emp[key6]; | 				var cli = emp[key6]; | ||||||
| @@ -474,6 +474,40 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) { | |||||||
| 		var viewer = ""; | 		var viewer = ""; | ||||||
| 		var hasmedia = ""; | 		var hasmedia = ""; | ||||||
| 		var youtube = ""; | 		var youtube = ""; | ||||||
|  | 		//Poll | ||||||
|  | 		var poll=""; | ||||||
|  | 		if(toot.poll){ | ||||||
|  | 			var choices=toot.poll.options; | ||||||
|  | 			if(toot.poll.voted){ | ||||||
|  | 				var myvote=lang.lang_parse_voted; | ||||||
|  | 				var result_hide=""; | ||||||
|  | 			}else{ | ||||||
|  | 				myvote='<a onclick="voteMastodon(\''+acct_id+'\',\''+toot.poll.id+'\')" class="votebtn">'+lang.lang_parse_vote+'</a><br>'; | ||||||
|  | 				if(choices[0].votes_count===0 || choices[0].votes_count>0){ | ||||||
|  | 					myvote=myvote+'<a onclick="showResult(\''+acct_id+'\',\''+toot.poll.id+'\')" class="pointer">'+lang.lang_parse_unvoted+"</a>"; | ||||||
|  | 				} | ||||||
|  | 				var result_hide="hide"; | ||||||
|  | 			} | ||||||
|  | 			if(toot.poll.expired){ | ||||||
|  | 				var ended=lang.lang_parse_endedvote; | ||||||
|  | 			}else{ | ||||||
|  | 				var ended=date(toot.poll.expires_at, datetype); | ||||||
|  | 			} | ||||||
|  | 			Object.keys(choices).forEach(function(keyc) { | ||||||
|  | 				var choice = choices[keyc]; | ||||||
|  | 				if(!toot.poll.voted && !toot.poll.expired){ | ||||||
|  | 					var votesel='voteSelMastodon(\''+acct_id+'\',\''+toot.poll.id+'\','+keyc+','+toot.poll.multiple+')'; | ||||||
|  | 					var voteclass="pointer waves-effect waves-light"; | ||||||
|  | 				}else{ | ||||||
|  | 					var votesel=""; | ||||||
|  | 					var voteclass=""; | ||||||
|  | 				} | ||||||
|  | 				poll=poll+'<div class="'+voteclass+' vote vote_'+acct_id+'_'+toot.poll.id+'_'+keyc+'" onclick="'+votesel+'">'+escapeHTML(choice.title)+'<span class="vote_'+acct_id+'_'+toot.poll.id+'_result '+result_hide+'">('+choice.votes_count+')</span></div>'; | ||||||
|  | 			}); | ||||||
|  | 			poll='<div class="vote_'+acct_id+'_'+toot.poll.id+'">'+poll+myvote+'<span class="cbadge cbadge-hover" title="' + date(toot.poll.expires_at, 'absolute') + | ||||||
|  | 			'"><i class="far fa-calendar-times"></i>' + | ||||||
|  | 			 ended+ '</span></div>'; | ||||||
|  | 		} | ||||||
| 		if(toot.emojis){ | 		if(toot.emojis){ | ||||||
| 			var emojick = toot.emojis[0]; | 			var emojick = toot.emojis[0]; | ||||||
| 		}else{ | 		}else{ | ||||||
| @@ -489,6 +523,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) { | |||||||
| 				var regExp = new RegExp(":" + shortcode + ":", "g"); | 				var regExp = new RegExp(":" + shortcode + ":", "g"); | ||||||
| 				content = content.replace(regExp, emoji_url); | 				content = content.replace(regExp, emoji_url); | ||||||
| 				spoil = spoil.replace(regExp, emoji_url); | 				spoil = spoil.replace(regExp, emoji_url); | ||||||
|  | 				poll = poll.replace(regExp, emoji_url); | ||||||
| 			}); | 			}); | ||||||
| 		} | 		} | ||||||
| 		//ニコフレ絵文字 | 		//ニコフレ絵文字 | ||||||
| @@ -507,6 +542,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) { | |||||||
| 				var regExp = new RegExp(":" + shortcode + ":", "g"); | 				var regExp = new RegExp(":" + shortcode + ":", "g"); | ||||||
| 				content = content.replace(regExp, emoji_url); | 				content = content.replace(regExp, emoji_url); | ||||||
| 				spoil = spoil.replace(regExp, emoji_url); | 				spoil = spoil.replace(regExp, emoji_url); | ||||||
|  | 				poll = poll.replace(regExp, emoji_url); | ||||||
| 			}); | 			}); | ||||||
| 		} | 		} | ||||||
| 		//デフォ絵文字 | 		//デフォ絵文字 | ||||||
| @@ -523,6 +559,9 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) { | |||||||
| 		if(notice){ | 		if(notice){ | ||||||
| 			notice=twemoji.parse(notice); | 			notice=twemoji.parse(notice); | ||||||
| 		} | 		} | ||||||
|  | 		if(poll){ | ||||||
|  | 			poll=twemoji.parse(poll); | ||||||
|  | 		} | ||||||
| 		var mediack = toot.media_attachments[0]; | 		var mediack = toot.media_attachments[0]; | ||||||
| 		//メディアがあれば | 		//メディアがあれば | ||||||
| 		var media_ids=""; | 		var media_ids=""; | ||||||
| @@ -726,40 +765,6 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) { | |||||||
| 		   } | 		   } | ||||||
| 		} | 		} | ||||||
| 		} | 		} | ||||||
| 		//Poll |  | ||||||
| 		var poll=""; |  | ||||||
| 		if(toot.poll){ |  | ||||||
| 			var choices=toot.poll.options; |  | ||||||
| 			if(toot.poll.voted){ |  | ||||||
| 				var myvote=lang.lang_parse_voted; |  | ||||||
| 				var result_hide=""; |  | ||||||
| 			}else{ |  | ||||||
| 				myvote='<a onclick="voteMastodon(\''+acct_id+'\',\''+toot.poll.id+'\')" class="votebtn">'+lang.lang_parse_vote+'</a><br>'; |  | ||||||
| 				if(choices[0].votes_count===0 || choices[0].votes_count>0){ |  | ||||||
| 					myvote=myvote+'<a onclick="showResult(\''+acct_id+'\',\''+toot.poll.id+'\')" class="pointer">'+lang.lang_parse_unvoted+"</a>"; |  | ||||||
| 				} |  | ||||||
| 				var result_hide="hide"; |  | ||||||
| 			} |  | ||||||
| 			if(toot.poll.expired){ |  | ||||||
| 				var ended=lang.lang_parse_endedvote; |  | ||||||
| 			}else{ |  | ||||||
| 				var ended=date(toot.poll.expires_at, datetype); |  | ||||||
| 			} |  | ||||||
| 			Object.keys(choices).forEach(function(keyc) { |  | ||||||
| 				var choice = choices[keyc]; |  | ||||||
| 				if(!toot.poll.voted && !toot.poll.expired){ |  | ||||||
| 					var votesel='voteSelMastodon(\''+acct_id+'\',\''+toot.poll.id+'\','+keyc+','+toot.poll.multiple+')'; |  | ||||||
| 					var voteclass="pointer waves-effect waves-light"; |  | ||||||
| 				}else{ |  | ||||||
| 					var votesel=""; |  | ||||||
| 					var voteclass=""; |  | ||||||
| 				} |  | ||||||
| 				poll=poll+'<div class="'+voteclass+' vote vote_'+acct_id+'_'+toot.poll.id+'_'+keyc+'" onclick="'+votesel+'">'+escapeHTML(choice.title)+'<span class="vote_'+acct_id+'_'+toot.poll.id+'_result '+result_hide+'">('+choice.votes_count+')</span></div>'; |  | ||||||
| 			}); |  | ||||||
| 			poll='<div class="vote_'+acct_id+'_'+toot.poll.id+'">'+poll+myvote+'<span class="cbadge cbadge-hover" title="' + date(toot.poll.expires_at, 'absolute') + |  | ||||||
| 			'"><i class="far fa-calendar-times"></i>' + |  | ||||||
| 			 ended+ '</span></div>'; |  | ||||||
| 		} |  | ||||||
| 		//Quote | 		//Quote | ||||||
| 		if(toot.quote){ | 		if(toot.quote){ | ||||||
| 			poll=poll+'<div class="quote-renote"><div class="renote-icon"><img src="'+toot.quote.account.avatar+'"></div><div class="renote-user">'+escapeHTML(toot.quote.account.display_name)+'</div><div class="renote-text">'+toot.quote.content+'</div></div>' | 			poll=poll+'<div class="quote-renote"><div class="renote-icon"><img src="'+toot.quote.account.avatar+'"></div><div class="renote-user">'+escapeHTML(toot.quote.account.display_name)+'</div><div class="renote-text">'+toot.quote.content+'</div></div>' | ||||||
|   | |||||||
| @@ -580,24 +580,19 @@ var tlid=0; | |||||||
| 		<a href="https://thedesk.top" target="_blank">HP</a><br> | 		<a href="https://thedesk.top" target="_blank">HP</a><br> | ||||||
| 		<a href="https://github.com/cutls/TheDesk" target="_blank">GitHub</a><br> | 		<a href="https://github.com/cutls/TheDesk" target="_blank">GitHub</a><br> | ||||||
| 		<br> | 		<br> | ||||||
| 			<div id="release-Usamin_18-2-3" class="release-do" style="display:none; "> | 			<div id="release-Usamin_18-3-0" class="release-do" style="display:none; "> | ||||||
| 					<a href="https://code.cutls.com/thedesk-log/" target="_blank">開発の経緯</a><br> | 					<a href="https://code.cutls.com/thedesk-log/" target="_blank">開発の経緯</a><br> | ||||||
| 					<a href="https://ja.mstdn.wiki/TheDesk" target="_blank">機能一覧</a><br> | 					<a href="https://ja.mstdn.wiki/TheDesk" target="_blank">機能一覧</a><br> | ||||||
| 					Entyでは支援者様限定で様々なTheDeskに関する記事をご覧いただけます。<br> | 					Entyでは支援者様限定で様々なTheDeskに関する記事をご覧いただけます。<br> | ||||||
| 					困ったときは、<a href="https://docs.thedesk.top">TheDesk Docs</a>をご覧ください。 | 					困ったときは、<a href="https://docs.thedesk.top">TheDesk Docs</a>をご覧ください。 | ||||||
| 					<h5>Release Note Usamin (18.2.3)</h5> | 					<h5>Release Note Usamin (18.3.0)</h5> | ||||||
| 					・バグの修正 | ・(既定はオフ)ふぁぼ、フォロー、BTごとの通知音追加(なし/既定/カスタム(4種))<br> | ||||||
| 					<h5>Release Note Usamin (18.2.0)</h5> | ・(Misskey)引用Renoteの簡易表示<br> | ||||||
| ・tootsearchをひとつのカラムにしてエゴサが捗る<br> | ・(dtp-mstdn.jp他)引用(quote)の簡易表示<br> | ||||||
| ・イントロダクション(初回起動時)の挙動修正<br> | ・バグと脆弱性の修正 | ||||||
| ・リンクプレビューを最大1行ずつに省略(タイトルと本文)<br> | <br> | ||||||
| ・ブロックされたときのプロフィールの動作(Mastodon 2.8~)<br> | 通知音「Arctic Bleeze in East 7」はクリエイティブコモンズ(CC BY)で利用できます。<br> | ||||||
| ・(Misskey)MFM追加flipやjumpなど<br> | (C) Cutls P 2019<s>GarageBand適当に叩いたらできた音ですのでご自由に変更どうぞ</s> | ||||||
| ・(Misskey)リストに対応<br> |  | ||||||
| ・(Misskey)カスタム絵文字に対応。カスタム絵文字によるリアクションに対応(対応インスタンスに限る)。<br> |  | ||||||
| ・<b>カスタム絵文字をゼロ幅スペースによる挿入に変更する機能</b><br> |  | ||||||
| ・一部機能の統廃合とバグの修正<br> |  | ||||||
| ・best-friends.chatやキュアスタ!、misskey.devをサポートインスタンスに追加 |  | ||||||
| 			</div> | 			</div> | ||||||
| 			<div id="release-en"> | 			<div id="release-en"> | ||||||
| 				<h5>Let's make it native!</h5> | 				<h5>Let's make it native!</h5> | ||||||
|   | |||||||
| @@ -131,9 +131,9 @@ | |||||||
| 				<div class="input-field"><textarea style="width:300px" id="custom_desc" class="materialize-textarea" | 				<div class="input-field"><textarea style="width:300px" id="custom_desc" class="materialize-textarea" | ||||||
| 						placeholder="About this theme..."></textarea></div> | 						placeholder="About this theme..."></textarea></div> | ||||||
| 				<h5>Color scheme</h5> | 				<h5>Color scheme</h5> | ||||||
| 				<input class="with-gap" name="derection" type="radio" id="dark" value="dark" checked="true" /> | 				<input class="with-gap" name="direction" type="radio" id="dark" value="dark" checked="true" /> | ||||||
| 				<label for="dark">Dark</label> | 				<label for="dark">Dark</label> | ||||||
| 				<input class="with-gap" name="derection" type="radio" id="light" value="light" /> | 				<input class="with-gap" name="direction" type="radio" id="light" value="light" /> | ||||||
| 				<label for="light">Light</label> | 				<label for="light">Light</label> | ||||||
| 				<div id="pickers"> | 				<div id="pickers"> | ||||||
| 					<div> | 					<div> | ||||||
| @@ -425,7 +425,7 @@ | |||||||
| 	<a onclick="localStorage.removeItem('new-ver-skip'); location.href='index.html';" | 	<a onclick="localStorage.removeItem('new-ver-skip'); location.href='index.html';" | ||||||
| 		class="pointer">Check update</a><br> | 		class="pointer">Check update</a><br> | ||||||
| 	<a href="oss.html">OSS License</a><br> | 	<a href="oss.html">OSS License</a><br> | ||||||
| 	<span style="font-family:Open Sans;">Copyright © TheDesk 2018 All Rights Reserved. | 	<span style="font-family:Open Sans;">Copyright © Cutls P 2018 All Rights Reserved. | ||||||
| 		Under <a href="https://github.com/cutls/TheDesk/blob/master/LICENSE">GNU General Public License v3.0</a> and <a | 		Under <a href="https://github.com/cutls/TheDesk/blob/master/LICENSE">GNU General Public License v3.0</a> and <a | ||||||
| 			href="https://thedesk.top/tos.html">Terms of Use</a>/<a href="https://thedesk.top/priv.html">Privacy | 			href="https://thedesk.top/tos.html">Terms of Use</a>/<a href="https://thedesk.top/priv.html">Privacy | ||||||
| 			Policy</a> | 			Policy</a> | ||||||
|   | |||||||
| @@ -311,7 +311,7 @@ var tlConstruction=[ | |||||||
|         id:"replySound", |         id:"replySound", | ||||||
|         storage:"replySound", |         storage:"replySound", | ||||||
|         checkbox:true, |         checkbox:true, | ||||||
|         setValue:"default", |         setValue:"none", | ||||||
|         text:{ |         text:{ | ||||||
|             head:"Sound(Reply)", |             head:"Sound(Reply)", | ||||||
|             desc:"", |             desc:"", | ||||||
| @@ -321,7 +321,7 @@ var tlConstruction=[ | |||||||
|         id:"favSound", |         id:"favSound", | ||||||
|         storage:"favSound", |         storage:"favSound", | ||||||
|         checkbox:true, |         checkbox:true, | ||||||
|         setValue:"default", |         setValue:"none", | ||||||
|         text:{ |         text:{ | ||||||
|             head:"Sound(Fav)", |             head:"Sound(Fav)", | ||||||
|             desc:"", |             desc:"", | ||||||
| @@ -331,7 +331,7 @@ var tlConstruction=[ | |||||||
|         id:"btSound", |         id:"btSound", | ||||||
|         storage:"btSound", |         storage:"btSound", | ||||||
|         checkbox:true, |         checkbox:true, | ||||||
|         setValue:"default", |         setValue:"none", | ||||||
|         text:{ |         text:{ | ||||||
|             head:"Sound(Boost)", |             head:"Sound(Boost)", | ||||||
|             desc:"", |             desc:"", | ||||||
| @@ -341,7 +341,7 @@ var tlConstruction=[ | |||||||
|         id:"followSound", |         id:"followSound", | ||||||
|         storage:"followSound", |         storage:"followSound", | ||||||
|         checkbox:true, |         checkbox:true, | ||||||
|         setValue:"default", |         setValue:"none", | ||||||
|         text:{ |         text:{ | ||||||
|             head:"Sound(Follow)", |             head:"Sound(Follow)", | ||||||
|             desc:"", |             desc:"", | ||||||
|   | |||||||
| @@ -580,24 +580,19 @@ var tlid=0; | |||||||
| 		<a href="https://thedesk.top" target="_blank">HP</a><br> | 		<a href="https://thedesk.top" target="_blank">HP</a><br> | ||||||
| 		<a href="https://github.com/cutls/TheDesk" target="_blank">GitHub</a><br> | 		<a href="https://github.com/cutls/TheDesk" target="_blank">GitHub</a><br> | ||||||
| 		<br> | 		<br> | ||||||
| 			<div id="release-Usamin_18-2-3" class="release-do" style="display:none; "> | 			<div id="release-Usamin_18-3-0" class="release-do" style="display:none; "> | ||||||
| 					<a href="https://code.cutls.com/thedesk-log/" target="_blank">開発の経緯</a><br> | 					<a href="https://code.cutls.com/thedesk-log/" target="_blank">開発の経緯</a><br> | ||||||
| 					<a href="https://ja.mstdn.wiki/TheDesk" target="_blank">機能一覧</a><br> | 					<a href="https://ja.mstdn.wiki/TheDesk" target="_blank">機能一覧</a><br> | ||||||
| 					Entyでは支援者様限定で様々なTheDeskに関する記事をご覧いただけます。<br> | 					Entyでは支援者様限定で様々なTheDeskに関する記事をご覧いただけます。<br> | ||||||
| 					困ったときは、<a href="https://docs.thedesk.top">TheDesk Docs</a>をご覧ください。 | 					困ったときは、<a href="https://docs.thedesk.top">TheDesk Docs</a>をご覧ください。 | ||||||
| 					<h5>Release Note Usamin (18.2.3)</h5> | 					<h5>Release Note Usamin (18.3.0)</h5> | ||||||
| 					・バグの修正 | ・(既定はオフ)ふぁぼ、フォロー、BTごとの通知音追加(なし/既定/カスタム(4種))<br> | ||||||
| 					<h5>Release Note Usamin (18.2.0)</h5> | ・(Misskey)引用Renoteの簡易表示<br> | ||||||
| ・tootsearchをひとつのカラムにしてエゴサが捗る<br> | ・(dtp-mstdn.jp他)引用(quote)の簡易表示<br> | ||||||
| ・イントロダクション(初回起動時)の挙動修正<br> | ・バグと脆弱性の修正 | ||||||
| ・リンクプレビューを最大1行ずつに省略(タイトルと本文)<br> | <br> | ||||||
| ・ブロックされたときのプロフィールの動作(Mastodon 2.8~)<br> | 通知音「Arctic Bleeze in East 7」はクリエイティブコモンズ(CC BY)で利用できます。<br> | ||||||
| ・(Misskey)MFM追加flipやjumpなど<br> | (C) Cutls P 2019<s>GarageBand適当に叩いたらできた音ですのでご自由に変更どうぞ</s> | ||||||
| ・(Misskey)リストに対応<br> |  | ||||||
| ・(Misskey)カスタム絵文字に対応。カスタム絵文字によるリアクションに対応(対応インスタンスに限る)。<br> |  | ||||||
| ・<b>カスタム絵文字をゼロ幅スペースによる挿入に変更する機能</b><br> |  | ||||||
| ・一部機能の統廃合とバグの修正<br> |  | ||||||
| ・best-friends.chatやキュアスタ!、misskey.devをサポートインスタンスに追加 |  | ||||||
| 			</div> | 			</div> | ||||||
| 			<div id="release-en"> | 			<div id="release-en"> | ||||||
| 				<h5>Let's make it native!</h5> | 				<h5>Let's make it native!</h5> | ||||||
|   | |||||||
| @@ -131,9 +131,9 @@ | |||||||
| 				<div class="input-field"><textarea style="width:300px" id="custom_desc" class="materialize-textarea" | 				<div class="input-field"><textarea style="width:300px" id="custom_desc" class="materialize-textarea" | ||||||
| 						placeholder="説明..."></textarea></div> | 						placeholder="説明..."></textarea></div> | ||||||
| 				<h5>色の系統</h5> | 				<h5>色の系統</h5> | ||||||
| 				<input class="with-gap" name="derection" type="radio" id="dark" value="dark" checked="true" /> | 				<input class="with-gap" name="direction" type="radio" id="dark" value="dark" checked="true" /> | ||||||
| 				<label for="dark">Dark</label> | 				<label for="dark">Dark</label> | ||||||
| 				<input class="with-gap" name="derection" type="radio" id="light" value="light" /> | 				<input class="with-gap" name="direction" type="radio" id="light" value="light" /> | ||||||
| 				<label for="light">Light</label> | 				<label for="light">Light</label> | ||||||
| 				<div id="pickers"> | 				<div id="pickers"> | ||||||
| 					<div> | 					<div> | ||||||
| @@ -425,7 +425,7 @@ | |||||||
| 	<a onclick="localStorage.removeItem('new-ver-skip'); location.href='index.html';" | 	<a onclick="localStorage.removeItem('new-ver-skip'); location.href='index.html';" | ||||||
| 		class="pointer">アップデートを確認</a><br> | 		class="pointer">アップデートを確認</a><br> | ||||||
| 	<a href="oss.html">OSS License(オープンソースライセンス)</a><br> | 	<a href="oss.html">OSS License(オープンソースライセンス)</a><br> | ||||||
| 	<span style="font-family:Open Sans;">Copyright © TheDesk 2018 All Rights Reserved. | 	<span style="font-family:Open Sans;">Copyright © Cutls P 2018 All Rights Reserved. | ||||||
| 		Under <a href="https://github.com/cutls/TheDesk/blob/master/LICENSE">GNU General Public License v3.0</a> and <a | 		Under <a href="https://github.com/cutls/TheDesk/blob/master/LICENSE">GNU General Public License v3.0</a> and <a | ||||||
| 			href="https://thedesk.top/tos.html">Terms of Use</a>/<a href="https://thedesk.top/priv.html">Privacy | 			href="https://thedesk.top/tos.html">Terms of Use</a>/<a href="https://thedesk.top/priv.html">Privacy | ||||||
| 			Policy</a> | 			Policy</a> | ||||||
|   | |||||||
| @@ -311,7 +311,7 @@ var tlConstruction=[ | |||||||
|         id:"replySound", |         id:"replySound", | ||||||
|         storage:"replySound", |         storage:"replySound", | ||||||
|         checkbox:true, |         checkbox:true, | ||||||
|         setValue:"default", |         setValue:"none", | ||||||
|         text:{ |         text:{ | ||||||
|             head:"リプライの通知音", |             head:"リプライの通知音", | ||||||
|             desc:"", |             desc:"", | ||||||
| @@ -321,7 +321,7 @@ var tlConstruction=[ | |||||||
|         id:"favSound", |         id:"favSound", | ||||||
|         storage:"favSound", |         storage:"favSound", | ||||||
|         checkbox:true, |         checkbox:true, | ||||||
|         setValue:"default", |         setValue:"none", | ||||||
|         text:{ |         text:{ | ||||||
|             head:"お気に入り登録の通知音", |             head:"お気に入り登録の通知音", | ||||||
|             desc:"", |             desc:"", | ||||||
| @@ -331,7 +331,7 @@ var tlConstruction=[ | |||||||
|         id:"btSound", |         id:"btSound", | ||||||
|         storage:"btSound", |         storage:"btSound", | ||||||
|         checkbox:true, |         checkbox:true, | ||||||
|         setValue:"default", |         setValue:"none", | ||||||
|         text:{ |         text:{ | ||||||
|             head:"ブーストの通知音", |             head:"ブーストの通知音", | ||||||
|             desc:"", |             desc:"", | ||||||
| @@ -341,7 +341,7 @@ var tlConstruction=[ | |||||||
|         id:"followSound", |         id:"followSound", | ||||||
|         storage:"followSound", |         storage:"followSound", | ||||||
|         checkbox:true, |         checkbox:true, | ||||||
|         setValue:"default", |         setValue:"none", | ||||||
|         text:{ |         text:{ | ||||||
|             head:"フォローの通知音", |             head:"フォローの通知音", | ||||||
|             desc:"", |             desc:"", | ||||||
|   | |||||||
| @@ -589,6 +589,7 @@ var tlid=0; | |||||||
| ・(既定はオフ)ふぁぼ、フォロー、BTごとの通知音追加(なし/既定/カスタム(4種))<br> | ・(既定はオフ)ふぁぼ、フォロー、BTごとの通知音追加(なし/既定/カスタム(4種))<br> | ||||||
| ・(Misskey)引用Renoteの簡易表示<br> | ・(Misskey)引用Renoteの簡易表示<br> | ||||||
| ・(dtp-mstdn.jp他)引用(quote)の簡易表示<br> | ・(dtp-mstdn.jp他)引用(quote)の簡易表示<br> | ||||||
|  | ・バグと脆弱性の修正 | ||||||
| <br> | <br> | ||||||
| 通知音「Arctic Bleeze in East 7」はクリエイティブコモンズ(CC BY)で利用できます。<br> | 通知音「Arctic Bleeze in East 7」はクリエイティブコモンズ(CC BY)で利用できます。<br> | ||||||
| (C) Cutls P 2019<s>GarageBand適当に叩いたらできた音ですのでご自由に変更どうぞ</s> | (C) Cutls P 2019<s>GarageBand適当に叩いたらできた音ですのでご自由に変更どうぞ</s> | ||||||
|   | |||||||
| @@ -131,9 +131,9 @@ | |||||||
| 				<div class="input-field"><textarea style="width:300px" id="custom_desc" class="materialize-textarea" | 				<div class="input-field"><textarea style="width:300px" id="custom_desc" class="materialize-textarea" | ||||||
| 						placeholder="@@desc@@..."></textarea></div> | 						placeholder="@@desc@@..."></textarea></div> | ||||||
| 				<h5>@@customthemeDirection@@</h5> | 				<h5>@@customthemeDirection@@</h5> | ||||||
| 				<input class="with-gap" name="derection" type="radio" id="dark" value="dark" checked="true" /> | 				<input class="with-gap" name="direction" type="radio" id="dark" value="dark" checked="true" /> | ||||||
| 				<label for="dark">Dark</label> | 				<label for="dark">Dark</label> | ||||||
| 				<input class="with-gap" name="derection" type="radio" id="light" value="light" /> | 				<input class="with-gap" name="direction" type="radio" id="light" value="light" /> | ||||||
| 				<label for="light">Light</label> | 				<label for="light">Light</label> | ||||||
| 				<div id="pickers"> | 				<div id="pickers"> | ||||||
| 					<div> | 					<div> | ||||||
|   | |||||||
| @@ -580,24 +580,19 @@ var tlid=0; | |||||||
| 		<a href="https://thedesk.top" target="_blank">HP</a><br> | 		<a href="https://thedesk.top" target="_blank">HP</a><br> | ||||||
| 		<a href="https://github.com/cutls/TheDesk" target="_blank">GitHub</a><br> | 		<a href="https://github.com/cutls/TheDesk" target="_blank">GitHub</a><br> | ||||||
| 		<br> | 		<br> | ||||||
| 			<div id="release-Usamin_18-2-3" class="release-do" style="display:none; "> | 			<div id="release-Usamin_18-3-0" class="release-do" style="display:none; "> | ||||||
| 					<a href="https://code.cutls.com/thedesk-log/" target="_blank">開発の経緯</a><br> | 					<a href="https://code.cutls.com/thedesk-log/" target="_blank">開発の経緯</a><br> | ||||||
| 					<a href="https://ja.mstdn.wiki/TheDesk" target="_blank">機能一覧</a><br> | 					<a href="https://ja.mstdn.wiki/TheDesk" target="_blank">機能一覧</a><br> | ||||||
| 					Entyでは支援者様限定で様々なTheDeskに関する記事をご覧いただけます。<br> | 					Entyでは支援者様限定で様々なTheDeskに関する記事をご覧いただけます。<br> | ||||||
| 					困ったときは、<a href="https://docs.thedesk.top">TheDesk Docs</a>をご覧ください。 | 					困ったときは、<a href="https://docs.thedesk.top">TheDesk Docs</a>をご覧ください。 | ||||||
| 					<h5>Release Note Usamin (18.2.3)</h5> | 					<h5>Release Note Usamin (18.3.0)</h5> | ||||||
| 					・バグの修正 | ・(既定はオフ)ふぁぼ、フォロー、BTごとの通知音追加(なし/既定/カスタム(4種))<br> | ||||||
| 					<h5>Release Note Usamin (18.2.0)</h5> | ・(Misskey)引用Renoteの簡易表示<br> | ||||||
| ・tootsearchをひとつのカラムにしてエゴサが捗る<br> | ・(dtp-mstdn.jp他)引用(quote)の簡易表示<br> | ||||||
| ・イントロダクション(初回起動時)の挙動修正<br> | ・バグと脆弱性の修正 | ||||||
| ・リンクプレビューを最大1行ずつに省略(タイトルと本文)<br> | <br> | ||||||
| ・ブロックされたときのプロフィールの動作(Mastodon 2.8~)<br> | 通知音「Arctic Bleeze in East 7」はクリエイティブコモンズ(CC BY)で利用できます。<br> | ||||||
| ・(Misskey)MFM追加flipやjumpなど<br> | (C) Cutls P 2019<s>GarageBand適当に叩いたらできた音ですのでご自由に変更どうぞ</s> | ||||||
| ・(Misskey)リストに対応<br> |  | ||||||
| ・(Misskey)カスタム絵文字に対応。カスタム絵文字によるリアクションに対応(対応インスタンスに限る)。<br> |  | ||||||
| ・<b>カスタム絵文字をゼロ幅スペースによる挿入に変更する機能</b><br> |  | ||||||
| ・一部機能の統廃合とバグの修正<br> |  | ||||||
| ・best-friends.chatやキュアスタ!、misskey.devをサポートインスタンスに追加 |  | ||||||
| 			</div> | 			</div> | ||||||
| 			<div id="release-en"> | 			<div id="release-en"> | ||||||
| 				<h5>Let's make it native!</h5> | 				<h5>Let's make it native!</h5> | ||||||
|   | |||||||
| @@ -131,9 +131,9 @@ | |||||||
| 				<div class="input-field"><textarea style="width:300px" id="custom_desc" class="materialize-textarea" | 				<div class="input-field"><textarea style="width:300px" id="custom_desc" class="materialize-textarea" | ||||||
| 						placeholder="crwdns2440:0crwdne2440:0..."></textarea></div> | 						placeholder="crwdns2440:0crwdne2440:0..."></textarea></div> | ||||||
| 				<h5>crwdns2426:0crwdne2426:0</h5> | 				<h5>crwdns2426:0crwdne2426:0</h5> | ||||||
| 				<input class="with-gap" name="derection" type="radio" id="dark" value="dark" checked="true" /> | 				<input class="with-gap" name="direction" type="radio" id="dark" value="dark" checked="true" /> | ||||||
| 				<label for="dark">Dark</label> | 				<label for="dark">Dark</label> | ||||||
| 				<input class="with-gap" name="derection" type="radio" id="light" value="light" /> | 				<input class="with-gap" name="direction" type="radio" id="light" value="light" /> | ||||||
| 				<label for="light">Light</label> | 				<label for="light">Light</label> | ||||||
| 				<div id="pickers"> | 				<div id="pickers"> | ||||||
| 					<div> | 					<div> | ||||||
| @@ -425,7 +425,7 @@ | |||||||
| 	<a onclick="localStorage.removeItem('new-ver-skip'); location.href='index.html';" | 	<a onclick="localStorage.removeItem('new-ver-skip'); location.href='index.html';" | ||||||
| 		class="pointer">crwdns667:0crwdne667:0</a><br> | 		class="pointer">crwdns667:0crwdne667:0</a><br> | ||||||
| 	<a href="oss.html">OSS Licensecrwdns668:0crwdne668:0</a><br> | 	<a href="oss.html">OSS Licensecrwdns668:0crwdne668:0</a><br> | ||||||
| 	<span style="font-family:Open Sans;">Copyright © TheDesk 2018 All Rights Reserved. | 	<span style="font-family:Open Sans;">Copyright © Cutls P 2018 All Rights Reserved. | ||||||
| 		Under <a href="https://github.com/cutls/TheDesk/blob/master/LICENSE">GNU General Public License v3.0</a> and <a | 		Under <a href="https://github.com/cutls/TheDesk/blob/master/LICENSE">GNU General Public License v3.0</a> and <a | ||||||
| 			href="https://thedesk.top/tos.html">Terms of Use</a>/<a href="https://thedesk.top/priv.html">Privacy | 			href="https://thedesk.top/tos.html">Terms of Use</a>/<a href="https://thedesk.top/priv.html">Privacy | ||||||
| 			Policy</a> | 			Policy</a> | ||||||
|   | |||||||
| @@ -311,7 +311,7 @@ var tlConstruction=[ | |||||||
|         id:"replySound", |         id:"replySound", | ||||||
|         storage:"replySound", |         storage:"replySound", | ||||||
|         checkbox:true, |         checkbox:true, | ||||||
|         setValue:"default", |         setValue:"none", | ||||||
|         text:{ |         text:{ | ||||||
|             head:"@@replySound@@", |             head:"@@replySound@@", | ||||||
|             desc:"", |             desc:"", | ||||||
| @@ -321,7 +321,7 @@ var tlConstruction=[ | |||||||
|         id:"favSound", |         id:"favSound", | ||||||
|         storage:"favSound", |         storage:"favSound", | ||||||
|         checkbox:true, |         checkbox:true, | ||||||
|         setValue:"default", |         setValue:"none", | ||||||
|         text:{ |         text:{ | ||||||
|             head:"@@favSound@@", |             head:"@@favSound@@", | ||||||
|             desc:"", |             desc:"", | ||||||
| @@ -331,7 +331,7 @@ var tlConstruction=[ | |||||||
|         id:"btSound", |         id:"btSound", | ||||||
|         storage:"btSound", |         storage:"btSound", | ||||||
|         checkbox:true, |         checkbox:true, | ||||||
|         setValue:"default", |         setValue:"none", | ||||||
|         text:{ |         text:{ | ||||||
|             head:"@@btSound@@", |             head:"@@btSound@@", | ||||||
|             desc:"", |             desc:"", | ||||||
| @@ -341,7 +341,7 @@ var tlConstruction=[ | |||||||
|         id:"followSound", |         id:"followSound", | ||||||
|         storage:"followSound", |         storage:"followSound", | ||||||
|         checkbox:true, |         checkbox:true, | ||||||
|         setValue:"default", |         setValue:"none", | ||||||
|         text:{ |         text:{ | ||||||
|             head:"@@followSound@@", |             head:"@@followSound@@", | ||||||
|             desc:"", |             desc:"", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	