Signal branding

This commit is contained in:
Vincent 2020-01-21 14:59:18 +11:00
parent ee77897a84
commit 5fbbdc33c3
31 changed files with 65 additions and 64 deletions

View File

@ -63,7 +63,7 @@ yarn install --frozen-lockfile # Install and build dependencies (this will take
yarn grunt # Generate final JS and CSS assets
yarn icon-gen # Generate full set of icons for Electron
yarn test # A good idea to make sure tests run first
yarn start # Start Loki Messenger!
yarn start # Start Signal Messenger!
```
You'll need to restart the application regularly to see your changes, as there
@ -84,7 +84,7 @@ yarn grunt dev # runs until you stop it, re-generating built assets on file chan
## Additional storage profiles
Since there is no registration for Loki Messenger, you can create as many accounts as you
Since there is no registration for Signal Messenger, you can create as many accounts as you
can public keys. To test the P2P functionality on the same machine, however, requries
that each client binds their message server to a different port.

View File

@ -1,8 +1,8 @@
# Loki Messenger
# Signal Messenger
[![Build Status](https://travis-ci.org/loki-project/loki-messenger.svg?branch=development)](https://travis-ci.org/loki-project/loki-messenger)
Loki Messenger allows for truly decentralized, end to end, and private encrypted chats. Loki Messenger is built to handle both online and fully Asynchronous offline messages. Loki messenger implements the Signal protocol for message encryption. Our Client interface is a fork of [Signal Messenger](https://signal.org/). All communication that passes through Loki messenger is routed through [Lokinet](https://github.com/loki-project/loki-network).
Signal Messenger allows for truly decentralized, end to end, and private encrypted chats. Signal Messenger is built to handle both online and fully Asynchronous offline messages. Loki messenger implements the Signal protocol for message encryption. Our Client interface is a fork of [Signal Messenger](https://signal.org/). All communication that passes through Loki messenger is routed through [Lokinet](https://github.com/loki-project/loki-network).
## Summary
@ -14,11 +14,11 @@ If Alice and Bob are both online they can simply resolve each others public keys
**Offline messages**
Offline messaging uses Swarms, given any users public key the user can resolve a public key to a specific grouping of Service Nodes (AKA Swarm) each user in Loki Messenger belongs to a Swarm. When routing a message offline the user selects a Service node in the destination users Swarm, when the user comes online they query any node in their Swarm, if the Swarm is holding any messages for the user they disseminate those messages to the user.
Offline messaging uses Swarms, given any users public key the user can resolve a public key to a specific grouping of Service Nodes (AKA Swarm) each user in Signal Messenger belongs to a Swarm. When routing a message offline the user selects a Service node in the destination users Swarm, when the user comes online they query any node in their Swarm, if the Swarm is holding any messages for the user they disseminate those messages to the user.
![Swarm Messaging](https://i.imgur.com/o13Knds.png)
Spam protections for Loki Messenger are based on a Proof of Work which is attached to any message that exceeds a default size or Time To Live, this process is discussed further in the [Loki whitepaper](https://loki.network/whitepaper).
Spam protections for Signal Messenger are based on a Proof of Work which is attached to any message that exceeds a default size or Time To Live, this process is discussed further in the [Loki whitepaper](https://loki.network/whitepaper).
## Want to Contribute? Found a Bug or Have a feature request?

View File

@ -52,7 +52,7 @@
"description": "Application menu command to show all application windows"
},
"appMenuQuit": {
"message": "Quit Loki Messenger",
"message": "Quit Signal Messenger",
"description": "Application menu command to close the application"
},
"editMenuUndo": {

View File

@ -52,7 +52,7 @@
"description": "Application menu command to show all application windows"
},
"appMenuQuit": {
"message": "Quit Loki Messenger",
"message": "Quit Signal Messenger",
"description": "Application menu command to close the application"
},
"editMenuUndo": {

View File

@ -52,7 +52,7 @@
"description": "Application menu command to show all application windows"
},
"appMenuQuit": {
"message": "Opustit Loki Messenger",
"message": "Opustit Signal Messenger",
"description": "Application menu command to close the application"
},
"editMenuUndo": {

View File

@ -66,7 +66,7 @@
"description": "Application menu command to show all application windows"
},
"appMenuQuit": {
"message": "Quit Loki Messenger",
"message": "Quit Signal Messenger",
"description": "Application menu command to close the application"
},
"editMenuUndo": {
@ -265,7 +265,7 @@
"Header shown on the screen at the end of a successful import process"
},
"importCompleteStartButton": {
"message": "Start using Loki Messenger",
"message": "Start using Signal Messenger",
"description":
"Button shown at end of successful import process, nothing left but a restart"
},
@ -719,12 +719,12 @@
"Item under the Help menu, takes you to GitHub new issue form (title case)"
},
"signalDesktopPreferences": {
"message": "Loki Messenger Preferences",
"message": "Signal Messenger Preferences",
"description":
"Title of the window that pops up with Signal Desktop preferences in it"
},
"aboutSignalDesktop": {
"message": "About Loki Messenger",
"message": "About Signal Messenger",
"description": "Item under the Help menu, which opens a small about window"
},
"speech": {
@ -745,7 +745,7 @@
"description": "Command in the tray icon menu, to quit the application"
},
"lokiMessenger": {
"message": "Loki Messenger"
"message": "Signal Messenger"
},
"search": {
"message": "Search",
@ -895,7 +895,7 @@
},
"audioPermissionNeeded": {
"message":
"To send audio messages, allow Loki Messenger to access your microphone.",
"To send audio messages, allow Signal Messenger to access your microphone.",
"description":
"Shown if the user attempts to send an audio message without audio permssions turned on"
},
@ -1266,7 +1266,7 @@
}
},
"installWelcome": {
"message": "Welcome to Loki Messenger",
"message": "Welcome to Signal Messenger",
"description": "Welcome title on the install page"
},
"installTagline": {
@ -1275,12 +1275,12 @@
"Tagline displayed under 'installWelcome' string on the install page"
},
"linkYourPhone": {
"message": "Link your phone to Loki Messenger",
"message": "Link your phone to Signal Messenger",
"description":
"Shown on the front page when the application first starst, above the QR code"
},
"signalSettings": {
"message": "Loki Messenger Settings",
"message": "Signal Messenger Settings",
"description":
"Used in the guidance to help people find the 'link new device' area of their Signal mobile app"
},
@ -1491,7 +1491,7 @@
},
"expiredWarning": {
"message":
"This version of Loki Messenger has expired. Please upgrade to the latest version to continue messaging.",
"This version of Signal Messenger has expired. Please upgrade to the latest version to continue messaging.",
"description":
"Warning notification that this version of the app has expired"
},
@ -2500,7 +2500,7 @@
},
"devicePairingHeader": {
"message":
"Open the Loki Messenger App on your primary device and select Device Pairing from the main menu. Then, enter your Session ID below to sign in."
"Open the Signal Messenger App on your primary device and select Device Pairing from the main menu. Then, enter your Session ID below to sign in."
},
"enterSessionIDHere": {
"message": "Enter your Session ID here"

View File

@ -36,7 +36,7 @@
"description": "Application menu command to show all application windows"
},
"appMenuQuit": {
"message": "Quit Loki Messenger",
"message": "Quit Signal Messenger",
"description": "Application menu command to close the application"
},
"editMenuUndo": {

View File

@ -52,7 +52,7 @@
"description": "Application menu command to show all application windows"
},
"appMenuQuit": {
"message": "Quit Loki Messenger",
"message": "Quit Signal Messenger",
"description": "Application menu command to close the application"
},
"editMenuUndo": {

View File

@ -52,7 +52,7 @@
"description": "Application menu command to show all application windows"
},
"appMenuQuit": {
"message": "Quit Loki Messenger",
"message": "Quit Signal Messenger",
"description": "Application menu command to close the application"
},
"editMenuUndo": {

View File

@ -52,7 +52,7 @@
"description": "Application menu command to show all application windows"
},
"appMenuQuit": {
"message": "Quit Loki Messenger",
"message": "Quit Signal Messenger",
"description": "Application menu command to close the application"
},
"editMenuUndo": {

View File

@ -52,7 +52,7 @@
"description": "Application menu command to show all application windows"
},
"appMenuQuit": {
"message": "Quit Loki Messenger",
"message": "Quit Signal Messenger",
"description": "Application menu command to close the application"
},
"editMenuUndo": {

View File

@ -52,7 +52,7 @@
"description": "Application menu command to show all application windows"
},
"appMenuQuit": {
"message": "Quit Loki Messenger",
"message": "Quit Signal Messenger",
"description": "Application menu command to close the application"
},
"editMenuUndo": {

View File

@ -52,7 +52,7 @@
"description": "Application menu command to show all application windows"
},
"appMenuQuit": {
"message": "Quit Loki Messenger",
"message": "Quit Signal Messenger",
"description": "Application menu command to close the application"
},
"editMenuUndo": {

View File

@ -52,7 +52,7 @@
"description": "Application menu command to show all application windows"
},
"appMenuQuit": {
"message": "Quit Loki Messenger",
"message": "Quit Signal Messenger",
"description": "Application menu command to close the application"
},
"editMenuUndo": {

View File

@ -52,7 +52,7 @@
"description": "Application menu command to show all application windows"
},
"appMenuQuit": {
"message": "Quit Loki Messenger",
"message": "Quit Signal Messenger",
"description": "Application menu command to close the application"
},
"editMenuUndo": {

View File

@ -19,7 +19,7 @@
script-src 'self';
style-src 'self' 'unsafe-inline';"
>
<title>Loki Messenger</title>
<title>Signal Messenger</title>
<link href='images/loki/loki_icon_128.png' rel='shortcut icon'>
<link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" />
@ -196,15 +196,15 @@
<div class="content">
<div class="betaDisclaimerView" style="display: none;">
<h2>
Thanks for testing Loki Messenger!
Thanks for testing Signal Messenger!
</h2>
<p>
Thanks for testing Loki Messenger! This software is a beta version of the full Loki Messenger software suite, and so is missing some of the features the full version will have.
Thanks for testing Signal Messenger! This software is a beta version of the full Signal Messenger software suite, and so is missing some of the features the full version will have.
</p>
<p>
<b>
This version of Loki Messenger provides no guarantees of metadata privacy.
This version of Signal Messenger provides no guarantees of metadata privacy.
</b>
</p>
@ -217,7 +217,7 @@
</p>
<p>
However, no one except you and your intended recipients will be able to see the contents of your messages. We recommend using existing methods, like Tor or I2P to mask your IP address while using Loki Messenger beta version.
However, no one except you and your intended recipients will be able to see the contents of your messages. We recommend using existing methods, like Tor or I2P to mask your IP address while using Signal Messenger beta version.
</p>
<p>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 353 KiB

After

Width:  |  Height:  |  Size: 0 B

BIN
build/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View File

@ -6,7 +6,7 @@ const got = require('got');
const BASE_URL = 'https://debuglogs.org';
const VERSION = window.getVersion();
const USER_AGENT = `Loki Messenger ${VERSION}`;
const USER_AGENT = `Signal Messenger ${VERSION}`;
// Workaround: Submitting `FormData` using native `FormData::submit` procedure
// as integration with `got` results in S3 error saying we havent set the

View File

@ -222,7 +222,7 @@ function _promiseAjax(providedUrl, options) {
method: options.type,
body: options.data || null,
headers: {
'User-Agent': 'Loki Messenger',
'User-Agent': 'Signal Messenger',
'X-Loki-Messenger-Agent': 'OWD',
...options.headers,
},

View File

@ -108,7 +108,7 @@
const last = this.last().toJSON();
switch (userSetting) {
case SettingNames.COUNT:
title = 'Loki Messenger';
title = 'Signal Messenger';
if (last.isFriendRequest) {
message = `Friend request ${last.friendRequestType}`;

View File

@ -75,7 +75,7 @@ describe('Snode Channel', () => {
});
it('should encrypt data correctly', async () => {
// message sent by Loki Messenger
// message sent by Signal Messenger
const snode = await generateSnodeKeysAndAddress();
const messageSent = 'I am Groot';
const textEncoder = new TextEncoder();
@ -133,7 +133,7 @@ describe('Snode Channel', () => {
const encryptedBase64 = dcodeIO.ByteBuffer.wrap(encrypted).toString(
'base64'
);
// message received by Loki Messenger
// message received by Signal Messenger
const decrypted = await channel.decrypt(snode.address, encryptedBase64);
assert.strictEqual(messageSent, decrypted);
});

View File

@ -321,7 +321,7 @@ OutgoingMessage.prototype = {
return Promise.all(
devicesPubKeys.map(async devicePubKey => {
// Loki Messenger doesn't use the deviceId scheme, it's always 1.
// Signal Messenger doesn't use the deviceId scheme, it's always 1.
// Instead, there are multiple device public keys.
const deviceId = 1;
const updatedDevices = await this.getStaleDeviceIdsForNumber(

View File

@ -1,6 +1,6 @@
{
"name": "loki-messenger-desktop",
"productName": "Loki Messenger",
"productName": "Signal Messenger",
"description": "Private messaging from your desktop",
"repository": "https://github.com/loki-project/loki-messenger.git",
"version": "1.0.0-beta9",
@ -22,6 +22,7 @@
"generate": "yarn icon-gen && yarn grunt",
"build": "electron-builder --config.extraMetadata.environment=$SIGNAL_ENV",
"build-release": "export SIGNAL_ENV=production && npm run build -- --config.directories.output=release",
"make:linux:x64:appimage": "electron-builder build --linux appimage --x64",
"sign-release": "node ts/updater/generateSignature.js",
"build-module-protobuf": "pbjs --target static-module --wrap commonjs --out ts/protobuf/compiled.js protos/*.proto && pbts --out ts/protobuf/compiled.d.ts ts/protobuf/compiled.js",
"clean-module-protobuf": "rm -f ts/protobuf/compiled.d.ts ts/protobuf/compiled.js",
@ -239,7 +240,7 @@
"linux": {
"category": "Network",
"desktop": {
"StartupWMClass": "Loki Messenger"
"StartupWMClass": "Signal Messenger"
},
"asarUnpack": "node_modules/spellchecker/vendor/hunspell_dictionaries",
"target": [

View File

@ -27,16 +27,16 @@ const PRODUCTION_NAME = 'loki-messenger-desktop';
const BETA_NAME = 'loki-messenger-desktop-beta';
const PRODUCT_NAME_PATH = 'productName';
const PRODUCTION_PRODUCT_NAME = 'Loki Messenger';
const BETA_PRODUCT_NAME = 'Loki Messenger Beta';
const PRODUCTION_PRODUCT_NAME = 'Signal Messenger';
const BETA_PRODUCT_NAME = 'Signal Messenger Beta';
const APP_ID_PATH = 'build.appId';
const PRODUCTION_APP_ID = 'com.loki-project.messenger-desktop';
const BETA_APP_ID = 'com.loki-project.messenger-desktop-beta';
const STARTUP_WM_CLASS_PATH = 'build.linux.desktop.StartupWMClass';
const PRODUCTION_STARTUP_WM_CLASS = 'Loki Messenger';
const BETA_STARTUP_WM_CLASS = 'Loki Messenger Beta';
const PRODUCTION_STARTUP_WM_CLASS = 'Signal Messenger';
const BETA_STARTUP_WM_CLASS = 'Signal Messenger Beta';
// -------

View File

@ -1,9 +1,9 @@
[
{
"label": "Loki Messenger",
"label": "Signal Messenger",
"submenu": [
{
"label": "About Loki Messenger",
"label": "About Signal Messenger",
"click": null
},
{
@ -33,7 +33,7 @@
"type": "separator"
},
{
"label": "Quit Loki Messenger",
"label": "Quit Signal Messenger",
"role": "quit"
}
]

View File

@ -1,9 +1,9 @@
[
{
"label": "Loki Messenger",
"label": "Signal Messenger",
"submenu": [
{
"label": "About Loki Messenger",
"label": "About Signal Messenger",
"click": null
},
{
@ -33,7 +33,7 @@
"type": "separator"
},
{
"label": "Quit Loki Messenger",
"label": "Quit Signal Messenger",
"role": "quit"
}
]

View File

@ -21,7 +21,7 @@
"type": "separator"
},
{
"label": "Quit Loki Messenger",
"label": "Quit Signal Messenger",
"role": "quit"
}
]
@ -138,7 +138,7 @@
"type": "separator"
},
{
"label": "About Loki Messenger",
"label": "About Signal Messenger",
"click": null
}
]

View File

@ -10,7 +10,7 @@
"type": "separator"
},
{
"label": "Quit Loki Messenger",
"label": "Quit Signal Messenger",
"role": "quit"
}
]
@ -127,7 +127,7 @@
"type": "separator"
},
{
"label": "About Loki Messenger",
"label": "About Signal Messenger",
"click": null
}
]

View File

@ -146,15 +146,15 @@
<div class="content">
<div class="betaDisclaimerView" style="display: none;">
<h2>
Thanks for testing Loki Messenger!
Thanks for testing Signal Messenger!
</h2>
<p>
Thanks for testing Loki Messenger! This software is a beta version of the full Loki Messenger software suite, and so is missing some of the features the full version will have.
Thanks for testing Signal Messenger! This software is a beta version of the full Signal Messenger software suite, and so is missing some of the features the full version will have.
</p>
<p>
<b>
This version of Loki Messenger provides no guarantees of metadata privacy.
This version of Signal Messenger provides no guarantees of metadata privacy.
</b>
</p>
@ -167,7 +167,7 @@
</p>
<p>
However, no one except you and your intended recipients will be able to see the contents of your messages. We recommend using existing methods, like Tor or I2P to mask your IP address while using Loki Messenger beta version.
However, no one except you and your intended recipients will be able to see the contents of your messages. We recommend using existing methods, like Tor or I2P to mask your IP address while using Signal Messenger beta version.
</p>
<p>

View File

@ -156,15 +156,15 @@ export class SettingsView extends React.Component<SettingsViewProps, State> {
defaultValue=""
placeholder={' '}
/>
<div className="spacer-sm" />
<div className="spacer-xs" />
{this.state.pwdLockError && (
<>
<div className="session-label warning">
{this.state.pwdLockError}
</div>
<div className="spacer-sm" />
<div className="spacer-lg" />
</>
)}
@ -186,7 +186,7 @@ export class SettingsView extends React.Component<SettingsViewProps, State> {
this.setState({
pwdLockError: window.i18n('noGivenPassword'),
});
return false;
}