forked from oxen-io/session-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New media permission, show dialog when not enabled for voice msg
UI now in separate renderer: - the permissions popup - settings dialog - debug log dialog - about window Couple bug fixes: - About Window: Fix 'escape' to close window - Remove outdated dist/copy tasks from Gruntfile Eslintified settings_view.js
- Loading branch information
1 parent
9d9a797
commit ad43878
Showing
33 changed files
with
1,193 additions
and
384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,50 @@ | ||
<html> | ||
<head> | ||
<link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" /> | ||
<style> | ||
|
||
body { | ||
text-align: center; | ||
background-color: #2090EA; | ||
color: white; | ||
font-size: 14px; | ||
} | ||
|
||
img { | ||
margin-top: 1em; | ||
} | ||
|
||
a { | ||
color: white; | ||
} | ||
|
||
</style> | ||
<meta http-equiv="Content-Security-Policy" | ||
content="default-src 'none'; | ||
child-src 'self'; | ||
connect-src 'self' https: wss:; | ||
font-src 'self'; | ||
form-action 'self'; | ||
frame-src 'none'; | ||
img-src 'self' blob: data:; | ||
media-src 'self' blob:; | ||
object-src 'none'; | ||
script-src 'self'; | ||
style-src 'self' 'unsafe-inline';" | ||
> | ||
<link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" /> | ||
<style> | ||
body { | ||
text-align: center; | ||
background-color: #2090EA; | ||
color: white; | ||
font-size: 14px; | ||
} | ||
|
||
img { | ||
margin-top: 1em; | ||
} | ||
|
||
a { | ||
color: white; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
|
||
<img src='images/icon_250.png'> | ||
|
||
<div> | ||
<script> | ||
document.write('v', window.getVersion()); | ||
</script> | ||
</div> | ||
<div> | ||
<script> | ||
const states = []; | ||
|
||
if (window.getEnvironment() !== 'production') { | ||
states.push(window.getEnvironment()); | ||
} | ||
if (window.getAppInstance()) { | ||
states.push(window.getAppInstance()); | ||
} | ||
|
||
document.write(states.join(' - ')); | ||
</script> | ||
</div> | ||
<div> | ||
<a href="https://signal.org">signal.org</a> | ||
</div> | ||
<br> | ||
<div> | ||
<a class="privacy" href="https://signal.org/legal">Terms & Privacy Policy</a> | ||
</div> | ||
|
||
<script type='text/javascript' src='node_modules/jquery/dist/jquery.js'></script> | ||
<script> | ||
$(document).on('keyup', function(e) { | ||
if (e.keyCode === 27) { | ||
window.closeAbout(); | ||
} | ||
}); | ||
|
||
$('.privacy').text(window.i18n('privacyPolicy')); | ||
</script> | ||
|
||
|
||
<img src='images/icon_250.png'> | ||
|
||
<div class='version'></div> | ||
<div class='environment'></div> | ||
<div> | ||
<a href="https://signal.org">signal.org</a> | ||
</div> | ||
<br> | ||
<div> | ||
<a class="privacy" href="https://signal.org/legal">Terms & Privacy Policy</a> | ||
</div> | ||
|
||
<script type='text/javascript' src='node_modules/jquery/dist/jquery.js'></script> | ||
<script type='text/javascript' src='js/about_start.js'></script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.