Commit graph

252 commits

Author SHA1 Message Date
Audric Ackermann 7dfe8042cd
fix SUID issue 2021-03-16 13:56:18 +11:00
Audric Ackermann 56c4065abd
move some types from dep to dev dependencies 2021-03-04 13:05:27 +11:00
Audric Ackermann e6cf28cb2a prettier on pre-commit 2021-03-01 12:05:39 +11:00
Audric Ackermann 8ea9f02cec Move data.js to data.ts 2021-02-15 15:16:52 +11:00
Audric Ackermann cf25e89a14 cleanup unused code 2020-12-15 17:14:18 +11:00
Audric Ackermann 3df0a425de
remove permissions popup window and related stuff 2020-12-09 11:35:31 +11:00
Audric Ackermann c128684ffe
cleanup unused svg files from Signal 2020-12-04 15:47:33 +11:00
Audric Ackermann 2f2eb2ad53
link back backbone conversation events to redux store 2020-11-13 17:17:48 +11:00
Audric Ackermann b42e96c31b
store the ed25519KeyPair temp key too on storage under 'identityKey' 2020-10-30 09:46:05 +11:00
Audric Ackermann 1f2c01722a
move to new identity key mechanism
now we do as followed:
• Generate 16 bytes of random data
• Add 16 bytes of zeros
• Use the 16 bytes of random + 16 bytes of zeros to generate an ED25519 key pair
• Convert the ED25519 key pair to an X25519 key pair

All of this is happening with libsodiumm called over IPC
2020-10-29 13:36:40 +11:00
Audric Ackermann 3f4be17393
do not draw attention for linux env 2020-10-07 15:55:12 +11:00
Audric Ackermann fec3a0f643
remove install_view.js 2020-08-17 14:03:51 +10:00
Audric Ackermann 70b739d24f
update translation to match android - part 1 2020-08-17 11:36:25 +10:00
Audric Ackermann bf05e10160
enable back local switch. use sh LANGUAGE=fr_FR to switch 2020-08-05 16:58:46 +10:00
Audric Ackermann e806e912a3
move password_utils.js to typescript 2020-07-30 11:07:36 +10:00
Mikunj a351ce6c30 Linting 2020-05-26 14:04:30 +10:00
Mikunj bf4557fbe8 Fix styling on registration page 2020-05-26 12:39:03 +10:00
Mikunj 373224eee2 Fix window sizing 2020-05-26 11:47:34 +10:00
Ryan Tharp 99202947ce add note 2020-05-12 22:55:05 -07:00
Audric Ackermann f41ba8163d
fix-menu-bar-setting 2020-04-23 17:00:13 +10:00
Audric Ackermann 9041c2ad06
Merge pull request #1036 from Bilb/fix-password-login-crash
Close the password window once mainwindow is focused
2020-04-02 23:49:52 +01:00
Ryan Tharp 2e3ebc0c8a
Merge pull request #1043 from neuroscr/fix-int-tests
make closed group create button clickable (via minimum height), onBlur calls onChange
2020-04-01 23:57:21 -07:00
Maxim Shishmarev 804b4e54ac
Merge pull request #1041 from msgmaxim/lns
API implementation for LNS
2020-04-02 17:25:04 +11:00
Ryan Tharp 86ab440bb8 make minimum window height, so integration tests can clicked on closed group button 2020-04-01 23:11:15 -07:00
Maxim Shishmarev 932ea23ceb API implementation for LNS 2020-04-02 13:35:31 +11:00
Mikunj Varsani 32b9f2b5a9
Merge pull request #1029 from Mikunj/theme-setting
Fix theme setting not being sent back to main.js
2020-04-01 12:55:12 +11:00
Mikunj 915ea1e283 fix quotes 2020-04-01 11:13:25 +11:00
Audric Ackermann b39ac9f44e
Close the password window once mainwindow is focused
password was closed to early and no windows were shown which triggered
the app stop
2020-03-31 17:36:51 +11:00
Vincent 330a070fdf Height params adjusted to fit modals 2020-03-31 13:51:35 +11:00
Mikunj 09f1e635c8 Fix theme setting not being send back to main.js 2020-03-31 12:11:03 +11:00
Audric Ackermann 9ff16d7e60
move to electron spellchecker 2020-03-27 17:25:59 +11:00
Mikunj 0cccc70b9b Fix integration test running on the wrong environment 2020-03-27 09:09:41 +11:00
Mikunj 6d87904d18 Clean up config files.
Removed unused scripts.
Removed unused files.
2020-03-27 09:09:41 +11:00
Audric Ackermann 9ddda73ca2
Integration tests (#975)
* add first integration test Session

Checking window title
Checking window count
Can restore from seed

* FIXME torevert once found why this crash on app close

* [test] add join valid open group test

* [test] validate cannot join two times the same open group

* [test] move common things to common.js

* [test] move tests to separate files

* [test] clean

* [test] add send message to open group test

* [test] lint

* [test] rename hooks -> common

* [test] add 15s delay before considering test as slow

* upgrade electron 8.0.3 and spectron 10.0.0

* [test] signin from seed: validate pubkey

* Replace spellchecker in favor of typo-js

* [test] refactor common calls to common.js

* [test] add two different pubkey, mnemonic and displayname

* [test] FIXME unsafe eval needed for now

* [test] add: add friends test

* [test] working multi instance tests

* [test] FIXME disable snodeproxy

* [test] update yarn.lock

* [test] make tests more robust with restart from scratch each test

* [test] add link of two devices test and hard rm of apps before start (rm -r)

* remove unused file

* [test] lint

* [test] add registration from generated pubkey test

* [test] add beginning of network stub

* [test] stub "token" endpoint

* [test] add test of one message on pub group pull

* [test] add starting port randomize. looks to help for some bad start with multi instance

* [test] add stub for one to one chats (sessions)

* [test] clean code

* [test] finish add friend test and stub snode server

* [test] stub calls during link device test

* [test] add a flag to show some logs on stubbed snode

* [test] finish link of two device test. check both pubkey matches

* [test] add and use function to wrap erase+start+login+stub app

* [test] add method to login as friend and closed group test&messages

* Revert "[test] FIXME unsafe eval needed for now"

This reverts commit de5322fdae6cdab8e3b9bd9a52b7d172c9bc2d26.

* [test] apply review

* [test] fix lint

* [test] fix existing test with new spectron version

* [test] fix lint

* [test] refactor page objects

* [test] add delete account test

* [test] add unlink of two device test

* [test] make tiny waitForExists -> isExisting

* [test] add checks of link new device buttons

* upgrade fs-extra@9.0.0

* address pr review

* [test] fix spell_check test

Co-authored-by: Josh Perez <60019601+josh-signal@users.noreply.github.com>
2020-03-25 11:42:53 +11:00
Vince 458254d6b1
Update main.js 2020-03-20 10:28:59 +11:00
Vincent 67f94334c2 hardcoded 2020-03-20 10:25:15 +11:00
Vince 54c5f31433
Merge pull request #967 from Mikunj/auto-update-setting
Added setting to disable checking for auto updates.
2020-03-19 16:38:15 +11:00
Mikunj Varsani 75dadb2054
Merge pull request #960 from neuroscr/fix952
Fix #952: remove org.whispersystems in notifications
2020-03-13 12:13:10 +11:00
Mikunj d31feed2c0 Review fixes 2020-03-10 14:58:44 +11:00
Mikunj d10a8f0a6f Added setting to disable checking for auto updates. 2020-03-10 14:22:07 +11:00
Mikunj 6767f71a6b Make getMediaPermissions synchronous 2020-03-10 10:49:07 +11:00
Mikunj eeb6257526 Remove settings view 2020-03-10 10:24:23 +11:00
Ryan Tharp 837dfe1af5 remove org.whispersystems from notifications to match package.json build appId, fixes #952 2020-03-05 22:27:09 -08:00
Ryan Tharp 178d788dca Enable auto-updating using electron-updater 2020-03-05 15:39:43 +11:00
Vince 67e3846787
Merge pull request #905 from jian10au/scaleslider
Zoom factor slider
2020-03-02 11:48:43 +11:00
Brian Jian Zhao 203d314254 fix the slider bug 2020-02-26 13:30:56 +11:00
Brian Jian Zhao 23da1831c2 removed unnecessary comments after review 2020-02-26 11:54:44 +11:00
Audric Ackermann ff45fb27f2
Set a bg color to the mainwindow
Might improve sharpness of font rendering
@see https://github.com/electron/electron/blob/master/docs/faq.md#the-font-looks-blurry-what-is-this-and-what-can-i-do
2020-02-21 15:32:30 +11:00
Brian 96e9a68abd add zoomfactor to main 2020-02-20 00:08:47 +11:00
Ryan Tharp 2f73836f85
Update Messenger/Messenger to Messenger/Session
per Jimmy
2020-02-17 18:06:28 -08:00