Session Desktop - Onion routing based messenger
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
Audric Ackermann cf6be8312f
Consider anything padding (#1643)
* Session v1.6.2 (#1639)

* padd Message buffer for all outgoing messages (even opengroupv2)

* pad and unpad message everywhere

attachment not padded for opengroup only

* lint

* enable fileserver v2 sending side

* removed all en unused local strings

* remove all unused keys for other locales

* update displayname even if we dont have avatar on incoming profile

* redesign group invitation message type

* ask confirmation before joining opengroup invitation

* remove the channelId from groupInvitation

* fallback to envelope timestamp if dataMessage.timestamp is 0

* match group invitation design with ios

* speed up first load of room message by prefetching token

* create convo for members if they don't exist

also, removing a private convo does not remove it entirely as we need
the convo to be able to remove members

* fix avatar download on restore when linking device

Fixes  #1601

* make sure the left member convo exist in rendering GroupUpdate

* Reply attachments (#1591)

* First attachment showing in reply composition.

* WIP: Adding thumbnail to quote response composition component.

* Added icon for voice recording attachment

* Updated formatting.

* Formatting.

* removed duplicate styling.

* WIP: Converting quote component to functional components.

* Fix bug where thumbnails for attachment replies wasn't showing.

* yarn Formatting.

* Removed old quote component.

* Add type to contentTypeSupported method.

* Moved  quote subcomponents out of Quote component.

* yarn format

* Add export to quote subcomponents.

* Fixing linting errors.

* remove commented line.

* Addressing PR comments.

* Allow pasting images into composition box as attachments (#1616)

* Allow pasting images into composition box as attachments

* Fix linter errors

* Fix typo

* Get snode from snode (#1614)

* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo

* Fix fonts sans serif (#1619)

* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo

* fix font sans serif by using roboto instead

Fixes #1617

* WIP: User nicknames (#1618)

* WIP Adding change nickname dialog.

* WIP adding nickname change dialog.

* WIP nickname dialog.

* WIP: Able to set conversation nicknames. Next step cleaning and adding to conversation list menu.

* Fix message capitilisations.

* Add change nickname to conversation list menu.

* Enable clear nickname menu item.

* Added messages for changing nicknames.

* Clearing nicknames working from header and message list.

* Adding modal styling to nickname modal.

* Reorder nickname menu item positions.

* Add group based conditional nickname menu options to conversation header menu.

* minor tidying.

* Remove unused error causing el option.

* Formatting.

* Linting fixes.

* Made PR fixes

* Prioritise displaying nicknames for inviting new closed group members
and updating closed group members.

* Fix app image start for non-debian based distribs (#1622)

Fixes #1620

* fixup nickname dialog for enter key pressed event (#1623)

also add some type for it and remove unused props

* Fix attachment extension vnd (#1628)

* allow openoffice document extension and don't use

* allow opendocument to be shared with the extension rather than mimetype

Fixes #1593

* allow message without padding

* add test for odt files

* More Japanese translations (#1632)

* Translate some untranslated strings into Japanese

* Tweak some Japanese translations

* Add new Japanese translations

* WIP: Closed group reliability (#1630)

* WIP: added non-durable messaging function.

* WIP: Non-durable sending

* WIP: adding dialog box.

* Creating dialog if group invite message promises don't return true.

* removed console log

* applied PR changes, linting and formatting.

* WIP: allowing resend invite to failures.

* using lookup.

* WIP: recursively opening dialog.

* WIP: debugging reject triggering on confirmation modal.

* register events fix.

* Closed group invite retry dialog working.

* Added english text to messages.

* Prevent saving of hexkey pair if it already exists.

* Fixed nickname edit
input trimming end letter.

* Don't show closed group invite dialog unless it has failed at least once.

* Fix linting error.

* Fix plurality.

* Ensure admin members are included in all invite reattempts, mixed plurality.

* test fixing windows build

* Revert "test fixing windows build"

This reverts commit 8ed2e0891d.

Co-authored-by: Warrick <wcor690@aucklanduni.ac.nz>
Co-authored-by: shellhazard <unva1idated@protonmail.com>
Co-authored-by: beantaco <64012487+beantaco@users.noreply.github.com>

* attachment padding not enforced to be 0x00

* add message an attachment padding test

Co-authored-by: Warrick <wcor690@aucklanduni.ac.nz>
Co-authored-by: shellhazard <unva1idated@protonmail.com>
Co-authored-by: beantaco <64012487+beantaco@users.noreply.github.com>
4 years ago
.github Revert "test fixing windows build" 4 years ago
.husky prettier on pre-commit 4 years ago
.tx Transifex config specific to electron, updated translations (#1478) 8 years ago
_locales WIP: Closed group reliability (#1630) 4 years ago
app allow unpadded messages (#1625) 4 years ago
build allow unpadded messages (#1625) 4 years ago
certificates pin certificate for seed nodes 4 years ago
components remove unused qrcode.js 4 years ago
config cleanup actionPanel 4 years ago
fixtures add back file which should have not been deleted 5 years ago
fonts Fix fonts sans serif (#1619) 4 years ago
images Merge clearnet 4 years ago
js WIP: Closed group reliability (#1630) 4 years ago
libloki fix http request over onion 4 years ago
libtextsecure Get snode from snode (#1614) 4 years ago
mnemonic_languages languages json 6 years ago
patches patch react-mentions types with custom one 4 years ago
protos remove the channelId from groupInvitation 4 years ago
session-file-server@5173163fe1 hide logs on session-file-server by default 5 years ago
stylesheets WIP: User nicknames (#1618) 4 years ago
test fix leave opengroup button right panel, and add memberCount 4 years ago
tools locale tools, map indonesia `in` mobile locale to our `id` 5 years ago
ts Consider anything padding (#1641) 4 years ago
.aptly.conf Setup publishing to s3 8 years ago
.editorconfig Use 2 spaces for indentation 7 years ago
.eslintignore ignore ts generated files under subdirectory too 4 years ago
.eslintrc.js increase prettier maxWidth to 100 4 years ago
.gitattributes Stop git from defaulting to changing line endings 6 years ago
.gitignore WIP: User nicknames (#1618) 4 years ago
.gitmodules use the session branch of the file server 5 years ago
.nvmrc fix windows build 4 years ago
.prettierignore add a way to disable sandbox if we cannot use it without crashing 4 years ago
.prettierrc.js increase prettier maxWidth to 100 4 years ago
.yarnclean node-sqlcipher update: always build, statically link openssl 7 years ago
BUILDING.md update BUILDING.md 4 years ago
CONTRIBUTING.md Replace loki -> oxen in UI 4 years ago
Gruntfile.js remove pow 4 years ago
LICENSE Add GPLv3 LICENSE file (#1309) 8 years ago
README.md Replace loki -> oxen in UI 4 years ago
RELEASING.md Update RELEASING.md 5 years ago
about.html Merge pull request #1554 from Bilb/encrypt-local-attachments 4 years ago
about_preload.js Fix missing bytebuffer in preloads 5 years ago
background.d.ts lint 5 years ago
background.html WIP: User nicknames (#1618) 4 years ago
background_test.html remove unused templates and css 4 years ago
bower.json remove unused qrcode.js 4 years ago
debug_log.html add csp for image load from blob so attachments are loaded correctly 5 years ago
debug_log_preload.js Fix missing bytebuffer in preloads 5 years ago
dev-app-update.yml.sample Enable auto-updating using electron-updater 5 years ago
find_broken_perms.sh Add two scripts to handle broken permissions in release dir 8 years ago
fix_broken_perms.sh Replaced more references to signal with loki and updated CONTRIBUTING.md 6 years ago
index.html cleanup unused svg files from Signal 4 years ago
main.js Merge branch 'clearnet' into clearnet 4 years ago
package.json Merge remote-tracking branch 'upstream/master' into clearnet 4 years ago
password.html fix some tests 4 years ago
password_preload.js increase prettier maxWidth to 100 4 years ago
preload.js Fix attachment extension vnd (#1628) 4 years ago
styleguide.config.js fix up a few test 4 years ago
tsconfig.json Message receiving refactor: handleDataMessage onwards 5 years ago
tslint.json increase prettier maxWidth to 100 4 years ago
yarn.lock update node-sqlcipher commit hash 4 years ago

README.md

Session Desktop

Summary

Session integrates directly with Oxen Service Nodes, which are a set of distributed, decentralized and Sybil resistant nodes. Service Nodes act as servers which store messages offline, and a set of nodes which allow for onion routing functionality obfuscating users IP Addresses. For a full understanding of how Session works, read the Session Whitepaper.

DesktopSession

Want to Contribute? Found a Bug or Have a feature request?

Please search for any existing issues that describe your bugs in order to avoid duplicate submissions.

Submissions can be made by making a pull request to our development branch. If you don't know where to start contributing, try reading the Github issues page for ideas.

Build instruction

Build instructions can be found in BUILDING.md.

Debian repository

Please visit https://deb.oxen.io/

License

Copyright 2011 Whisper Systems
Copyright 2013-2017 Open Whisper Systems
Copyright 2019-2020 The Loki Project
Licensed under the GPLv3: http://www.gnu.org/licenses/gpl-3.0.html