2014-09-01 18:52:58 +00:00
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
2017-05-12 00:17:49 +00:00
|
|
|
<meta charset='utf-8'>
|
2014-09-01 18:52:58 +00:00
|
|
|
<title>TextSecure test runner</title>
|
2018-05-20 03:53:12 +00:00
|
|
|
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
|
2016-09-22 23:37:12 +00:00
|
|
|
<link rel="stylesheet" href="../stylesheets/manifest.css" />
|
2014-09-01 18:52:58 +00:00
|
|
|
</head>
|
2015-01-14 21:21:54 +00:00
|
|
|
<body>
|
2015-01-06 22:46:33 +00:00
|
|
|
<div id="mocha">
|
|
|
|
</div>
|
|
|
|
<div id="tests">
|
|
|
|
</div>
|
2016-09-22 23:37:12 +00:00
|
|
|
<div id="render-android" class='index' style="width: 800; height: 500; margin:10px; border: solid 1px black;">
|
|
|
|
</div>
|
2016-11-17 16:21:03 +00:00
|
|
|
<div id="render-android-dark" class='index' style="width: 800; height: 500; margin:10px; border: solid 1px black;">
|
|
|
|
</div>
|
2016-09-22 23:37:12 +00:00
|
|
|
<div id="render-ios" class='index' style="width: 800; height: 500; margin:10px; border: solid 1px black;">
|
|
|
|
</div>
|
2017-07-25 01:43:35 +00:00
|
|
|
<script type='text/x-tmpl-mustache' id='app-loading-screen'>
|
|
|
|
<div class='content'>
|
|
|
|
<img src='/images/icon_128.png'>
|
|
|
|
<div class='container'>
|
|
|
|
<span class='dot'></span>
|
|
|
|
<span class='dot'></span>
|
|
|
|
<span class='dot'></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='conversation-loading-screen'>
|
|
|
|
<div class='content'>
|
|
|
|
<img src='/images/icon_128.png'>
|
|
|
|
<div class='container'>
|
|
|
|
<span class='dot'></span>
|
|
|
|
<span class='dot'></span>
|
|
|
|
<span class='dot'></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</script>
|
2016-09-22 23:37:12 +00:00
|
|
|
<script type='text/x-tmpl-mustache' id='two-column'>
|
|
|
|
<div class='gutter'>
|
2017-01-04 03:37:56 +00:00
|
|
|
<div class='network-status-container'></div>
|
2016-09-22 23:37:12 +00:00
|
|
|
<div class='title-bar active' id='header'>
|
|
|
|
<h1>Signal</h1>
|
|
|
|
<div class='tool-bar clearfix'>
|
|
|
|
<input type='search' class='search' placeholder='{{ searchForPeopleOrGroups }}' dir='auto'>
|
|
|
|
<span class='search-icon'></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class='content'>
|
|
|
|
<div class='conversations scrollable inbox'></div>
|
|
|
|
<div class='conversations scrollable search-results hide'>
|
|
|
|
<div class='new-contact contact hide'></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class='conversation-stack'>
|
|
|
|
<div class='conversation placeholder'>
|
|
|
|
<div class='conversation-header'></div>
|
|
|
|
<div class='content'>
|
|
|
|
<img src='/images/icon_128.png' />
|
|
|
|
<h3>{{ welcomeToSignal }}</h3>
|
|
|
|
<p>{{ selectAContact }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</script>
|
2017-06-14 00:36:32 +00:00
|
|
|
<script type='text/x-tmpl-mustache' id='scroll-down-button-view'>
|
|
|
|
<button class='text {{ cssClass }}' alt='{{ moreBelow }}'>
|
|
|
|
<div class='icon'></div>
|
|
|
|
</button>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='last-seen-indicator-view'>
|
|
|
|
<div class='bar'>
|
|
|
|
<div class='text'>
|
|
|
|
{{ unreadMessages }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</script>
|
2016-09-22 23:37:12 +00:00
|
|
|
<script type='text/x-tmpl-mustache' id='expired_alert'>
|
2018-03-23 14:21:17 +00:00
|
|
|
<a target='_blank' href='https://signal.org/download/'>
|
2016-09-22 23:37:12 +00:00
|
|
|
<button class='upgrade'>{{ upgrade }}</button>
|
|
|
|
</a>
|
|
|
|
{{ expiredWarning }}
|
|
|
|
</script>
|
2017-06-14 00:36:32 +00:00
|
|
|
<script type='text/x-tmpl-mustache' id='banner'>
|
|
|
|
<div class='body'>
|
2017-06-16 21:29:27 +00:00
|
|
|
<span class='icon warning'></span>
|
2017-06-14 00:36:32 +00:00
|
|
|
{{ message }}
|
2017-06-16 21:29:27 +00:00
|
|
|
<span class='icon dismiss'></span>
|
2017-06-14 00:36:32 +00:00
|
|
|
</div>
|
|
|
|
</script>
|
2016-09-22 23:37:12 +00:00
|
|
|
<script type='text/x-tmpl-mustache' id='toast'>
|
|
|
|
{{ toastMessage }}
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='hint'>
|
|
|
|
<p> {{ content }}</p>
|
|
|
|
</script>
|
2014-09-01 18:52:58 +00:00
|
|
|
<script type='text/x-tmpl-mustache' id='conversation'>
|
2016-09-22 23:37:12 +00:00
|
|
|
<div class='conversation-header {{ avatar.color }}'>
|
|
|
|
<div class='header-buttons left'>
|
|
|
|
<div class='vertical-align'>
|
|
|
|
<button class='back hide'></button>
|
2014-09-01 18:52:58 +00:00
|
|
|
</div>
|
2016-09-22 23:37:12 +00:00
|
|
|
</div>
|
|
|
|
<div class='header-buttons right'>
|
|
|
|
<div class='vertical-align'>
|
|
|
|
<div class='conversation-menu menu'>
|
|
|
|
<button class='hamburger' alt='conversation menu'></button>
|
|
|
|
<ul class='menu-list'>
|
2017-06-10 19:18:24 +00:00
|
|
|
<li class='disappearing-messages'>{{ disappearing-messages }}</li>
|
2016-09-22 23:37:12 +00:00
|
|
|
{{#group}}
|
2017-06-10 19:18:24 +00:00
|
|
|
<li class='show-members'>{{ show-members }}</li>
|
2016-09-22 23:37:12 +00:00
|
|
|
<!-- <li class='update-group'>Update group</li> -->
|
|
|
|
<!-- <li class='leave-group'>Leave group</li> -->
|
|
|
|
{{/group}}
|
|
|
|
{{^group}}
|
2017-06-14 17:58:05 +00:00
|
|
|
{{ ^isMe }}
|
|
|
|
<li class='show-identity'>{{ show-identity }}</li>
|
|
|
|
{{ /isMe }}
|
2017-06-10 19:18:24 +00:00
|
|
|
<li class='end-session'>{{ end-session }}</li>
|
2016-09-22 23:37:12 +00:00
|
|
|
{{/group}}
|
|
|
|
<li class='destroy'>{{ destroy }}</li>
|
2014-09-01 18:52:58 +00:00
|
|
|
</ul>
|
2016-09-22 23:37:12 +00:00
|
|
|
</div>
|
2014-09-01 18:52:58 +00:00
|
|
|
</div>
|
2016-09-22 23:37:12 +00:00
|
|
|
</div>
|
2017-06-14 19:29:32 +00:00
|
|
|
<span class='conversation-title'></span>
|
2016-09-22 23:37:12 +00:00
|
|
|
{{> avatar }}
|
|
|
|
</div>
|
|
|
|
<div class='main panel'>
|
|
|
|
<div class='discussion-container'>
|
|
|
|
<div class='bar-container hide'>
|
|
|
|
<div class='bar active progress-bar-striped progress-bar'></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class='bottom-bar' id='footer'>
|
|
|
|
<form class='send clearfix'>
|
|
|
|
<div class='attachment-previews'></div>
|
|
|
|
<div class='flex'>
|
|
|
|
<div class='choose-file'>
|
|
|
|
<button class='paperclip thumbnail'></button>
|
|
|
|
<input type='file' class='file-input'>
|
|
|
|
</div>
|
|
|
|
<textarea class='send-message' placeholder='{{ send-message }}' rows='1' dir='auto'></textarea>
|
|
|
|
<div class='capture-audio'>
|
|
|
|
<!--<button class='microphone'></button>-->
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='recorder'>
|
|
|
|
<button class='finish'><span class='icon'></span></button>
|
|
|
|
<span class='time'>0:00</span>
|
|
|
|
<button class='close'><span class='icon'></span></button>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='confirmation-dialog'>
|
|
|
|
<div class="content">
|
|
|
|
<div class='message'>{{ message }}</div>
|
|
|
|
<div class='buttons'>
|
2017-07-11 22:54:46 +00:00
|
|
|
{{ #showCancel }}
|
|
|
|
<button class='cancel' tabindex='2'>{{ cancel }}</button>
|
|
|
|
{{ /showCancel }}
|
|
|
|
<button class='ok' tabindex='1'>{{ ok }}</button>
|
2016-09-22 23:37:12 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='attachment-preview'>
|
|
|
|
<img src='{{ source }}' class='preview' />
|
|
|
|
<a class='x close' alt='remove attachment' href='#'></a>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='hasRetry'>
|
|
|
|
{{ messageNotSent }}
|
|
|
|
<span href='#' class='retry'>{{ resend }}</span>
|
2014-09-01 18:52:58 +00:00
|
|
|
</script>
|
2017-06-15 19:27:41 +00:00
|
|
|
<script type='text/x-tmpl-mustache' id='keychange'>
|
2017-06-16 21:56:38 +00:00
|
|
|
<span class='content' dir='auto'><span class='shield icon'></span> {{ content }}</span>
|
2017-06-15 19:27:41 +00:00
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='verified-change'>
|
|
|
|
<span class='content' dir='auto'><span class='{{ icon }} icon'></span> {{ content }}</span>
|
|
|
|
</script>
|
2014-09-01 18:52:58 +00:00
|
|
|
<script type='text/x-tmpl-mustache' id='message'>
|
2015-11-08 08:15:14 +00:00
|
|
|
{{> avatar }}
|
2016-09-01 20:31:36 +00:00
|
|
|
<div class='bubble {{ avatar.color }}'>
|
2018-04-06 21:51:52 +00:00
|
|
|
<div class='sender' dir='auto'>
|
|
|
|
{{ sender }}
|
|
|
|
{{ #profileName }}
|
|
|
|
<span class='profileName'>{{ profileName }} </span>
|
|
|
|
{{ /profileName }}
|
|
|
|
</div>
|
2018-04-14 00:34:53 +00:00
|
|
|
<div class='tail-wrapper {{ innerBubbleClasses }}'>
|
|
|
|
<div class='inner-bubble'>
|
2018-04-17 16:39:41 +00:00
|
|
|
{{ #hasAttachments }}
|
|
|
|
<div class='attachments'></div>
|
|
|
|
{{ /hasAttachments }}
|
|
|
|
{{ #hasBody }}
|
|
|
|
<div class='content' dir='auto'>
|
|
|
|
{{ #message }}
|
2018-05-14 20:52:10 +00:00
|
|
|
<div class='body'></div>
|
2018-04-17 16:39:41 +00:00
|
|
|
{{ /message }}
|
|
|
|
</div>
|
|
|
|
{{ /hasBody }}
|
2018-04-12 07:57:07 +00:00
|
|
|
</div>
|
2018-04-06 21:51:52 +00:00
|
|
|
</div>
|
2015-03-07 01:01:04 +00:00
|
|
|
<div class='meta'>
|
2015-11-08 08:15:14 +00:00
|
|
|
<span class='timestamp' data-timestamp={{ timestamp }}></span>
|
|
|
|
<span class='status hide'></span>
|
2018-04-06 21:51:52 +00:00
|
|
|
<span class='timer'></span>
|
2015-03-07 01:01:04 +00:00
|
|
|
</div>
|
2018-04-17 01:46:36 +00:00
|
|
|
{{ #hoverIcon }}
|
2018-04-18 23:10:14 +00:00
|
|
|
<div class='menu-container menu'>
|
|
|
|
<div class='menu-anchor'>
|
|
|
|
<span class='dots-horizontal-icon'></span>
|
|
|
|
<ul class='menu-list'>
|
|
|
|
<li class='reply'>{{ reply }}</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2018-04-17 01:46:36 +00:00
|
|
|
</div>
|
|
|
|
{{ /hoverIcon }}
|
2014-09-01 18:52:58 +00:00
|
|
|
</div>
|
|
|
|
</script>
|
2017-06-16 21:56:38 +00:00
|
|
|
<script type='text/x-tmpl-mustache' id='hourglass'>
|
|
|
|
<span class='hourglass'><span class='sand'></span></span>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='expirationTimerUpdate'>
|
|
|
|
<span class='content'><span class='icon clock'></span> {{ content }}</span>
|
|
|
|
</script>
|
2016-09-22 23:37:12 +00:00
|
|
|
<script type='text/x-tmpl-mustache' id='new-group-update'>
|
|
|
|
<div class='conversation-header'>
|
|
|
|
<button class='back'></button>
|
|
|
|
<button class='send check'></button>
|
|
|
|
<span class='conversation-title'>Update group</span>
|
|
|
|
</div>
|
|
|
|
{{> group_info_input }}
|
|
|
|
<div class='container'>
|
|
|
|
<div class='scrollable'></div>
|
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='identicon-svg'>
|
|
|
|
<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'>
|
|
|
|
<circle cx='50' cy='50' r='40' fill='{{ color }}' />
|
2017-07-07 20:18:29 +00:00
|
|
|
<text text-anchor='middle' fill='white' font-family='sans-serif' font-size='24px' x='50' y='50' baseline-shift='-8px'>
|
2016-09-22 23:37:12 +00:00
|
|
|
{{ content }}
|
|
|
|
</text>
|
|
|
|
</svg>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='avatar'>
|
|
|
|
<span aria-hidden class='avatar
|
|
|
|
{{ ^avatar.url }}
|
|
|
|
{{ avatar.color }}
|
|
|
|
{{ /avatar.url }}
|
|
|
|
'
|
|
|
|
{{ #avatar.url }}
|
|
|
|
style='background-image: url("{{ avatar.url }}");'
|
|
|
|
{{ /avatar.url }}
|
|
|
|
>
|
|
|
|
{{ avatar.content }}
|
|
|
|
</span>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='contact_pill'>
|
|
|
|
<span>{{ name }}</span><span class='remove'>x</span>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='contact_name_and_number'>
|
|
|
|
<h3 class='name' dir='auto'> {{ title }} </h3>
|
2017-06-17 00:44:02 +00:00
|
|
|
<div class='number'>{{ #isVerified }}<span class='verified-icon'></span> {{ verified }} ·{{ /isVerified }} {{ number }}</div>
|
2016-09-22 23:37:12 +00:00
|
|
|
</script>
|
2014-09-01 18:52:58 +00:00
|
|
|
<script type='text/x-tmpl-mustache' id='contact'>
|
2016-09-22 23:37:12 +00:00
|
|
|
{{> avatar }}
|
|
|
|
<div class='contact-details'> {{> contact_name_and_number }} </div>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='new-contact'>
|
|
|
|
{{> avatar }}
|
2014-09-01 18:52:58 +00:00
|
|
|
<div class='contact-details'>
|
2016-09-22 23:37:12 +00:00
|
|
|
{{> contact_name_and_number }}
|
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='conversation-preview'>
|
|
|
|
{{> avatar }}
|
|
|
|
<div class='contact-details'>
|
|
|
|
<span class='last-timestamp' data-timestamp='{{ last_message_timestamp }}' dir='auto' > </span>
|
|
|
|
{{> contact_name_and_number }}
|
|
|
|
{{ #unreadCount }}
|
|
|
|
<span class='unread-count'>{{ unreadCount }}</span>
|
|
|
|
{{ /unreadCount }}
|
|
|
|
{{ #last_message }}
|
2018-05-14 20:52:10 +00:00
|
|
|
<p class='last-message' dir='auto'></p>
|
2016-09-22 23:37:12 +00:00
|
|
|
{{ /last_message }}
|
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='phone-number'>
|
|
|
|
<div class='phone-input-form'>
|
|
|
|
<div class='number-container'>
|
|
|
|
<input type='tel' class='number' placeholder="Phone Number" />
|
2014-09-01 18:52:58 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-09-22 23:37:12 +00:00
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='file-size-modal'>
|
|
|
|
{{ file-size-warning }}
|
|
|
|
({{ limit }}{{ units }})
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='attachment-type-modal'>
|
|
|
|
Sorry, your attachment has a type, {{type}}, that is not currently supported.
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='message-detail'>
|
|
|
|
<div class='container'>
|
|
|
|
<div class='message-container'></div>
|
|
|
|
<div class='info'>
|
|
|
|
<table>
|
|
|
|
{{ #errors }}
|
|
|
|
<tr>
|
|
|
|
<td class='label'>{{ errorLabel }}</td>
|
|
|
|
<td> <span class='error-message'>{{message}}</span> </td>
|
|
|
|
</tr>
|
|
|
|
{{ /errors }}
|
|
|
|
<tr>
|
|
|
|
<td class='label'>{{ sent }}</td>
|
|
|
|
<td> {{ sent_at }}</td>
|
|
|
|
</tr>
|
|
|
|
{{ #received_at }}
|
|
|
|
<tr>
|
|
|
|
<td class='label'>{{ received }}</td>
|
|
|
|
<td> {{ received_at }}</td>
|
|
|
|
</tr>
|
|
|
|
{{ /received_at }}
|
|
|
|
<tr> <td class='tofrom label'>{{tofrom}}</td> </tr>
|
|
|
|
</table>
|
|
|
|
<div class='contacts'>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</script>
|
2017-07-03 18:52:12 +00:00
|
|
|
<script type='text/x-tmpl-mustache' id='identity-key-send-error'>
|
|
|
|
<div class='container'>
|
|
|
|
<div class='explanation'>
|
|
|
|
{{ errorExplanation }}
|
|
|
|
</div>
|
|
|
|
<div class='safety-number'>
|
|
|
|
<button class='show-safety-number grey'>{{ showSafetyNumber }}</button>
|
|
|
|
</div>
|
|
|
|
<div class='actions'>
|
|
|
|
<button class='send-anyway grey'>{{ sendAnyway }}</button>
|
|
|
|
<button class='cancel grey'>{{ cancel }}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</script>
|
2016-09-22 23:37:12 +00:00
|
|
|
<script type='text/x-tmpl-mustache' id='group-member-list'>
|
2017-06-16 23:48:06 +00:00
|
|
|
<div class='container'>
|
|
|
|
{{ #summary }} <div class='summary'>{{ summary }}</div>{{ /summary }}
|
|
|
|
</div>
|
2016-09-22 23:37:12 +00:00
|
|
|
</script>
|
2017-06-09 01:08:41 +00:00
|
|
|
<script type='text/x-tmpl-mustache' id='key-verification'>
|
2016-09-22 23:37:12 +00:00
|
|
|
<div class='container'>
|
2017-07-11 22:54:46 +00:00
|
|
|
{{ ^hasTheirKey }}
|
|
|
|
<div class='placeholder'>{{ theirKeyUnknown }}</div>
|
|
|
|
{{ /hasTheirKey }}
|
|
|
|
{{ #hasTheirKey }}
|
2017-06-09 01:08:41 +00:00
|
|
|
<label> {{ yourSafetyNumberWith }} </label>
|
|
|
|
<!--<div class='qr'></div>-->
|
2016-09-22 23:37:12 +00:00
|
|
|
<div class='key'>
|
2017-06-09 01:08:41 +00:00
|
|
|
{{ #chunks }} <span>{{ . }}</span> {{ /chunks }}
|
2016-09-22 23:37:12 +00:00
|
|
|
</div>
|
2017-07-11 22:54:46 +00:00
|
|
|
{{ /hasTheirKey }}
|
|
|
|
{{ verifyHelp }}
|
2017-06-09 01:08:41 +00:00
|
|
|
<p> {{> link_to_support }} </p>
|
2017-06-30 00:32:40 +00:00
|
|
|
<div class='summary'>
|
|
|
|
{{ #isVerified }}
|
|
|
|
<span class='icon verified'></span>
|
|
|
|
{{ /isVerified }}
|
|
|
|
{{ ^isVerified }}
|
|
|
|
<span class='icon shield'></span>
|
|
|
|
{{ /isVerified }}
|
|
|
|
{{ verifiedStatus }}
|
|
|
|
</div>
|
|
|
|
<div class='verify'>
|
|
|
|
<button class='verify grey'>
|
|
|
|
{{ verifyButton }}
|
|
|
|
</button>
|
|
|
|
</div>
|
2017-06-09 01:08:41 +00:00
|
|
|
</div>
|
2016-09-22 23:37:12 +00:00
|
|
|
</script>
|
|
|
|
<!-- index -->
|
|
|
|
<script type='text/x-tmpl-mustache' id='group_info_input'>
|
|
|
|
<div class='group-info-input'>
|
|
|
|
<div class='group-avatar'>
|
|
|
|
<div class='choose-file attachment-previews thumbnail'>
|
|
|
|
{{> avatar }}
|
|
|
|
</div>
|
|
|
|
<input type='file' name='avatar' class='file-input'>
|
|
|
|
</div>
|
|
|
|
<input type='text' name='name' class='name' placeholder='Group Name' value='{{ name }}'>
|
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='new-conversation'>
|
|
|
|
<div class='conversation-header'>
|
|
|
|
<button class='back'></button>
|
|
|
|
<button class='create check hide'></button>
|
|
|
|
<span class='conversation-title'>New Message</span>
|
|
|
|
</div>
|
|
|
|
{{> group_info_input }}
|
|
|
|
<div class='container'>
|
|
|
|
<div class='scrollable'>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='recipients-input'>
|
|
|
|
<div class='recipients-container'>
|
|
|
|
<span class='recipients'></span>
|
|
|
|
<input type='text' class='search' placeholder='{{ placeholder }}' dir='auto' />
|
|
|
|
</div>
|
|
|
|
<div class='results'>
|
|
|
|
<div class='new-contact contact hide'></div>
|
|
|
|
<div class='contacts'></div>
|
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='generic-error'>
|
|
|
|
<p>{{ message }}</p>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='error-icon'>
|
|
|
|
<span class='error-icon'>
|
|
|
|
</span>
|
|
|
|
{{ #message }}
|
|
|
|
<span class='error-message'>{{message}}</span>
|
|
|
|
{{ /message }}
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='contact-detail'>
|
|
|
|
<div class='clearfix'>
|
|
|
|
{{> avatar }}
|
|
|
|
<div class='contact-details'>
|
|
|
|
{{ #errors }}
|
|
|
|
<div class='error-icon-container'>
|
|
|
|
<span class='error-icon'></span>
|
|
|
|
</div>
|
|
|
|
{{ /errors }}
|
|
|
|
<span class='name' dir='auto'>{{ name }}</span>
|
|
|
|
{{ #errors }}
|
|
|
|
{{ #message }}
|
|
|
|
<p class='error-message'>{{message}}</p>
|
|
|
|
{{ /message }}
|
|
|
|
{{ /errors }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='link_to_support'>
|
2018-01-30 22:22:51 +00:00
|
|
|
<a href='http://support.signal.org/hc/articles/213134107' target='_blank'>
|
2016-09-22 23:37:12 +00:00
|
|
|
{{ learnMore }}
|
|
|
|
</a>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='debug-log'>
|
|
|
|
<div class='content'>
|
|
|
|
<div>
|
|
|
|
<a class='x close' alt='close debug log' href='#'></a>
|
|
|
|
<h1> {{ title }} </h1>
|
|
|
|
<p> {{ debugLogExplanation }}</p>
|
|
|
|
</div>
|
2017-07-21 22:24:43 +00:00
|
|
|
<textarea spellcheck='false' rows='5'></textarea>
|
2016-09-22 23:37:12 +00:00
|
|
|
<div class='buttons'>
|
|
|
|
<button class='grey submit'>{{ submit }}</button>
|
|
|
|
</div>
|
|
|
|
<div class='result'>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='debug-log-link'>
|
|
|
|
<div class='input-group clearfix'>
|
|
|
|
<input type='text' class='link' readonly value='{{ url }}' />
|
|
|
|
<a class='open' alt='open in a new browser tab' target='_blank' href='{{ url }}'></a>
|
|
|
|
</div>
|
|
|
|
<p>
|
|
|
|
<a class='report-link' target='_blank'
|
2018-01-30 22:22:51 +00:00
|
|
|
href='https://github.com/signalapp/Signal-Desktop/issues/new/'>
|
2016-09-22 23:37:12 +00:00
|
|
|
{{ reportIssue }}
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='settings'>
|
|
|
|
<div class='content'>
|
|
|
|
<a class='x close' alt='close settings' href='#'></a>
|
|
|
|
<h2>{{ settings }}</h2>
|
|
|
|
<hr>
|
|
|
|
<div class='theme-settings'>
|
2016-09-23 12:12:07 +00:00
|
|
|
<h3>{{ theme }}</h3>
|
2016-09-22 23:37:12 +00:00
|
|
|
<div>
|
|
|
|
<input type='radio' name='theme' id='theme-setting-android' value='android'>
|
|
|
|
<label for='theme-setting-android'>Android</label>
|
|
|
|
</div>
|
2016-11-17 16:21:03 +00:00
|
|
|
<div>
|
|
|
|
<input type='radio' name='theme' id='theme-setting-android-dark' value='android-dark'>
|
2017-06-14 17:45:13 +00:00
|
|
|
<label for='theme-setting-android-dark'>{{ themeAndroidDark }}</label>
|
2016-11-17 16:21:03 +00:00
|
|
|
</div>
|
2016-09-22 23:37:12 +00:00
|
|
|
<div>
|
|
|
|
<input type='radio' name='theme' id='theme-setting-ios' value='ios'/>
|
|
|
|
<label for='theme-setting-ios'>iOS</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
<div class='notification-settings'>
|
|
|
|
<h3>{{ notifications }}</h3>
|
|
|
|
<p>{{ notificationSettingsDialog }}</p>
|
|
|
|
<div>
|
|
|
|
<input type='radio' name='notifications' id='notification-setting-message' value='message'>
|
|
|
|
<label for='notification-setting-message'>{{ nameAndMessage }} </label>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<input type='radio' name='notifications' id='notification-setting-name' value='name'/>
|
|
|
|
<label for='notification-setting-name'>{{ nameOnly }} </label>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<input type='radio' name='notifications' id='notification-setting-count' value='count'/>
|
|
|
|
<label for='notification-setting-count'>{{ noNameOrMessage }} </label>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<input type='radio' name='notifications' id='notification-setting-off' value='off'/>
|
|
|
|
<label for='notification-setting-off'>{{ disableNotifications }} </label>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-06-14 17:45:13 +00:00
|
|
|
<br />
|
|
|
|
<div class='audio-notification-setting'>
|
|
|
|
<input type='checkbox' name='audio-notification' id='audio-notification'/>
|
|
|
|
<label for='audio-notification'>{{ audioNotificationDescription }}</label>
|
|
|
|
</div>
|
2016-09-22 23:37:12 +00:00
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
<script type='text/x-tmpl-mustache' id='syncSettings'>
|
|
|
|
<hr>
|
|
|
|
<h3>{{ sync }}</h3>
|
|
|
|
<div>
|
|
|
|
<button class='grey sync'>{{ syncNow }}</button>
|
|
|
|
<p>
|
|
|
|
{{ syncExplanation }}
|
|
|
|
<div class='synced_at'>
|
|
|
|
{{ lastSynced }} {{ syncDate }} {{ syncTime }}
|
2014-09-01 18:52:58 +00:00
|
|
|
</div>
|
2016-09-22 23:37:12 +00:00
|
|
|
<div class='sync_failed'>{{ syncFailed }}</div>
|
|
|
|
</p>
|
2014-09-01 18:52:58 +00:00
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
|
2017-01-04 03:37:56 +00:00
|
|
|
|
|
|
|
<script type='text/x-tmpl-mustache' id='networkStatus'>
|
2017-04-13 18:59:33 +00:00
|
|
|
<div class='network-status-message'>
|
|
|
|
<h3>{{ message }}</h3>
|
2017-01-04 03:37:56 +00:00
|
|
|
<span>{{ instructions }}</span>
|
|
|
|
</div>
|
|
|
|
{{ #reconnectDurationAsSeconds }}
|
|
|
|
<div class="network-status-message">
|
|
|
|
{{ attemptingReconnectionMessage }}
|
|
|
|
</div>
|
|
|
|
{{/reconnectDurationAsSeconds }}
|
2017-04-13 18:59:33 +00:00
|
|
|
{{ #action }}
|
|
|
|
<div class="action">
|
|
|
|
<button class='small blue {{ buttonClass }}'>{{ action }}</button>
|
|
|
|
</div>
|
|
|
|
{{/action }}
|
2017-01-04 03:37:56 +00:00
|
|
|
</script>
|
2017-04-18 23:03:23 +00:00
|
|
|
<script type='text/x-tmpl-mustache' id='file-view'>
|
2017-05-09 21:28:21 +00:00
|
|
|
<div class='icon'></div>
|
|
|
|
<div class='text'>
|
|
|
|
<div class='fileName' alt='{{ fileName }}' title='{{ altText }}'>{{ fileName }}</div>
|
|
|
|
<div class='fileSize'>{{ fileSize }}</div>
|
|
|
|
</div>
|
2017-04-18 23:03:23 +00:00
|
|
|
</script>
|
2017-01-04 03:37:56 +00:00
|
|
|
|
2018-05-26 01:01:56 +00:00
|
|
|
<script type="text/javascript" src="../libtextsecure/test/fake_web_api.js"></script>
|
|
|
|
|
2017-04-13 18:59:33 +00:00
|
|
|
<script type="text/javascript" src="../js/components.js"></script>
|
2017-07-19 18:59:08 +00:00
|
|
|
<script type="text/javascript" src="../js/reliable_trigger.js" data-cover></script>
|
2015-01-06 22:46:33 +00:00
|
|
|
<script type="text/javascript" src="test.js"></script>
|
2014-10-29 20:46:09 +00:00
|
|
|
|
2017-07-03 22:08:10 +00:00
|
|
|
<script type='text/javascript' src='../js/registration.js' data-cover></script>
|
|
|
|
<script type="text/javascript" src="../js/expire.js" data-cover></script>
|
|
|
|
<script type="text/javascript" src="../js/chromium.js" data-cover></script>
|
|
|
|
<script type="text/javascript" src="../js/database.js" data-cover></script>
|
|
|
|
<script type="text/javascript" src="../js/storage.js" data-cover></script>
|
|
|
|
<script type="text/javascript" src="../js/signal_protocol_store.js" data-cover></script>
|
|
|
|
<script type="text/javascript" src="../js/libtextsecure.js" data-cover></script>
|
2015-01-14 00:09:32 +00:00
|
|
|
|
|
|
|
<script type="text/javascript" src="../js/libphonenumber-util.js"></script>
|
2015-01-06 22:46:33 +00:00
|
|
|
<script type="text/javascript" src="../js/models/messages.js" data-cover></script>
|
|
|
|
<script type="text/javascript" src="../js/models/conversations.js" data-cover></script>
|
2017-05-18 19:28:06 +00:00
|
|
|
<script type="text/javascript" src="../js/models/blockedNumbers.js" data-cover></script>
|
2015-09-17 18:40:19 +00:00
|
|
|
<script type="text/javascript" src="../js/conversation_controller.js" data-cover></script>
|
2017-07-03 22:08:10 +00:00
|
|
|
<script type="text/javascript" src="../js/keychange_listener.js" data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/expiring_messages.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/notifications.js' data-cover></script>
|
2017-10-13 23:48:50 +00:00
|
|
|
<script type='text/javascript' src='../js/focus_listener.js'></script>
|
2014-09-01 18:52:58 +00:00
|
|
|
|
2017-07-03 22:08:10 +00:00
|
|
|
<script type="text/javascript" src="../js/chromium.js" data-cover></script>
|
2014-09-04 07:16:06 +00:00
|
|
|
|
2018-04-19 23:10:08 +00:00
|
|
|
<script type='text/javascript' src='../js/views/react_wrapper_view.js'></script>
|
2016-09-22 23:37:12 +00:00
|
|
|
<script type='text/javascript' src='../js/views/whisper_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/debug_log_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/toast_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/attachment_preview_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/file_input_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/list_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/conversation_list_item_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/conversation_list_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/contact_list_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/new_group_update_view.js' data-cover></script>
|
2015-01-09 22:53:39 +00:00
|
|
|
<script type="text/javascript" src="../js/views/group_update_view.js"></script>
|
2016-09-22 23:37:12 +00:00
|
|
|
<script type='text/javascript' src='../js/views/attachment_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/error_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/timestamp_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/message_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/key_verification_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/message_detail_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/message_list_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/group_member_list_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/recorder_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/conversation_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/conversation_search_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/hint_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/inbox_view.js' data-cover></script>
|
2017-01-04 03:37:56 +00:00
|
|
|
<script type='text/javascript' src='../js/views/network_status_view.js'></script>
|
2016-09-22 23:37:12 +00:00
|
|
|
<script type='text/javascript' src='../js/views/confirmation_dialog_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/identicon_svg_view.js' data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/settings_view.js' data-cover></script>
|
2017-05-18 19:28:06 +00:00
|
|
|
<script type='text/javascript' src='../js/views/last_seen_indicator_view.js' data-cover></script>
|
2017-05-19 01:33:35 +00:00
|
|
|
<script type='text/javascript' src='../js/views/scroll_down_button_view.js' data-cover></script>
|
2017-06-14 00:36:32 +00:00
|
|
|
<script type='text/javascript' src='../js/views/banner_view.js' data-cover></script>
|
2017-07-03 18:52:12 +00:00
|
|
|
<script type="text/javascript" src='../js/views/identity_key_send_error_view.js' data-cover></script>
|
2014-09-04 07:16:06 +00:00
|
|
|
|
2015-03-05 23:25:49 +00:00
|
|
|
<script type="text/javascript" src="views/whisper_view_test.js"></script>
|
2015-01-09 22:53:39 +00:00
|
|
|
<script type="text/javascript" src="views/group_update_view_test.js"></script>
|
2015-01-06 22:46:33 +00:00
|
|
|
<script type="text/javascript" src="views/message_view_test.js"></script>
|
2017-02-06 02:59:20 +00:00
|
|
|
<script type="text/javascript" src="views/attachment_view_test.js"></script>
|
2015-12-20 12:34:35 +00:00
|
|
|
<script type="text/javascript" src="views/timestamp_view_test.js"></script>
|
2014-10-18 14:08:57 +00:00
|
|
|
<script type="text/javascript" src="views/list_view_test.js"></script>
|
2018-02-04 01:11:49 +00:00
|
|
|
<script type="text/javascript" src="views/inbox_view_test.js"></script>
|
2015-12-05 01:21:41 +00:00
|
|
|
<script type="text/javascript" src="views/conversation_search_view_test.js"></script>
|
2017-01-04 03:37:56 +00:00
|
|
|
<script type="text/javascript" src="views/network_status_view_test.js"></script>
|
2017-05-18 19:28:06 +00:00
|
|
|
<script type="text/javascript" src="views/last_seen_indicator_view_test.js"></script>
|
2017-05-19 01:33:35 +00:00
|
|
|
<script type='text/javascript' src='views/scroll_down_button_view_test.js'></script>
|
|
|
|
|
Full export, migration banner, and full migration workflow - behind flag (#1342)
* Add support for backup and restore
This first pass works for all stores except messages, pending some scaling
improvements.
// FREEBIE
* Import of messages and attachments
Properly sanitize filenames. Logging information that will help with
debugging but won't threaten privacy (no contact or group names),
where the on-disk directories have this information to make things
human-readable
FREEBIE
* First fully operational single-action export and import!
FREEBIE
* Add migration export flow
A banner alert leads to a blocking ui for the migration. We close the socket and
wait for incoming messages to drain before starting the export.
FREEBIE
* A number of updates for the export flow
1. We don't immediately pop the directory selection dialog box, instead
showing an explicit 'choose directory' button after explaining what is
about to happen
2. We show a 'submit debug log' button on most steps of the process
3. We handle export errors and encourage the user to double-check their
filesystem then submit their log
4. We are resilient to restarts during the process
5. We handle the user cancelling out of the directory selection dialog
differently from other errors.
6. The export process is now serialized: non-messages, then messages.
7. After successful export, show where the data is on disk
FREEBUE
* Put migration behind a flag
FREEBIE
* Shut down websocket before proceeding with export
FREEBIE
* Add MigrationView to test/index.html to fix test
FREEBIE
* Remove 'Submit Debug Log' button when the export process is complete
FREEBIE
* Create a 'Signal Export' directory below user-chosen dir
This cleans things up a bit so we don't litter the user's target
directory with lots of stuff.
FREEBIE
* Clarify MessageReceiver.drain() method comments
FREEBIE
* A couple updates for clarity - event names, else handling
Also the removal of wait(), which wasn't used anywhere.
FREEBIE
* A number of wording updates for the export flow
FREEBIE
* Export complete: put dir on its own line, make text selectable
FREEBIE
2017-08-28 20:06:10 +00:00
|
|
|
|
2015-01-06 22:46:33 +00:00
|
|
|
<script type="text/javascript" src="models/conversations_test.js"></script>
|
|
|
|
<script type="text/javascript" src="models/messages_test.js"></script>
|
2017-05-19 01:33:35 +00:00
|
|
|
|
|
|
|
<script type="text/javascript" src="libphonenumber_util_test.js"></script>
|
2017-12-15 00:30:11 +00:00
|
|
|
<script type="text/javascript" src="conversation_controller_test.js"></script>
|
2015-04-01 20:08:09 +00:00
|
|
|
<script type="text/javascript" src="storage_test.js"></script>
|
2017-05-07 21:18:22 +00:00
|
|
|
<script type="text/javascript" src="keychange_listener_test.js"></script>
|
2017-07-19 18:59:08 +00:00
|
|
|
<script type="text/javascript" src="reliable_trigger_test.js"></script>
|
2017-09-07 01:20:42 +00:00
|
|
|
<script type="text/javascript" src="backup_test.js"></script>
|
2018-03-19 19:42:12 +00:00
|
|
|
<script type="text/javascript" src="crypto_test.js"></script>
|
2018-03-08 00:16:03 +00:00
|
|
|
<script type="text/javascript" src="database_test.js"></script>
|
2017-05-15 21:48:19 +00:00
|
|
|
<script type="text/javascript" src="i18n_test.js"></script>
|
2017-05-18 19:34:09 +00:00
|
|
|
<script type="text/javascript" src="spellcheck_test.js"></script>
|
2016-09-22 23:37:12 +00:00
|
|
|
|
|
|
|
<script type="text/javascript" src="fixtures.js"></script>
|
|
|
|
<script type="text/javascript" src="fixtures_test.js"></script>
|
2017-05-18 18:10:52 +00:00
|
|
|
|
2017-07-05 23:31:06 +00:00
|
|
|
<!-- Comment out to turn off code coverage. Useful for getting real callstacks. -->
|
2018-05-26 01:01:56 +00:00
|
|
|
<!-- NOTE: blanket doesn't support modern syntax and will choke until we find a replacement. :0( -->
|
2017-07-05 23:31:06 +00:00
|
|
|
<!-- <script type="text/javascript" src="blanket_mocha.js"></script> -->
|
|
|
|
|
|
|
|
<!-- Uncomment to start tests without code coverage enabled -->
|
2017-05-18 18:10:52 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
mocha.run();
|
|
|
|
</script>
|
2014-09-01 18:52:58 +00:00
|
|
|
</body>
|
|
|
|
</html>
|