Commit Graph

251 Commits

Author SHA1 Message Date
Audric Ackermann d50413ce7c chore: cleanup package.json 2022-08-29 13:50:49 +10:00
William Grant 5cf76c5f08 feat: build sass files using parcel instead of grunt
added sass watch command for auto building sass on file changes, cleaned up IE7 fallback css
2022-05-23 16:36:03 +10:00
Audric Ackermann 5c9b34fb86
lint files 2022-04-20 10:34:21 +10:00
Audric Ackermann 6001da5ac8
add some [perf] duration measurement 2022-04-14 13:21:09 +10:00
Audric Ackermann af9d2fdfa1
get rid of libtextsecure.js and componnets.js 2022-04-14 11:18:01 +10:00
Audric Ackermann 0ebc1d7e92
split attachmnent logic between what is used on main and renderer 2022-04-06 16:21:19 +10:00
Audric Ackermann 2dfd09a7b1 app kind of start background side 2022-03-31 10:22:13 +11:00
Audric Ackermann 79bf0c53ee move libtextsecure/crypto.js to ts
used mostly for attachments encrypting before upload/decrypt and profile
encrypt/derypt
2022-03-30 09:18:09 +11:00
Audric Ackermann 6bd835dfc3
move storage.js to ts 2022-03-23 15:57:11 +11:00
Audric Ackermann 9d4989b66d
cleanup constants.tsx file
and fixup commit id showing at the bottom in settings
2022-03-22 10:59:45 +11:00
warrickct b166a0483a Adding logging output for dropping outdated config messages. Removing libsodium-wrapper usage as we use sumo version now. Making target for linux build on one line. 2022-03-08 16:30:50 +11:00
warrickct ee9156d4f8 Merge clearnet into message-request-ui 2022-02-14 16:42:53 +11:00
audric 247cb7c065 cleanup dependencies 2022-01-18 15:21:36 +11:00
Audric Ackermann 3d2158f469
no need to build libtextsecuretest anymore 2022-01-06 11:32:07 +11:00
Audric Ackermann 28c7445dce
refactor most of the components to outside of their Session folder (#2072)
* refactor most of the components to outside of their Session folder

* finish moving overlay and memberListItem to react hook

* fix bug with kicked member len >2 not being displayed

also sort admins first in UpdateGroupMembers dialog

* fix admin leaving text of groupNotification

* add a useFocusMount hook to focus input fields on mount

* make click avatar convo item open only user dialog

* cleanup config default.json

* make sure to use convoController to build sync message

* disable showing pubkey on opengroups

* add a pause on audio playback

Fixes #2079
2021-12-14 15:15:12 +11:00
Audric Ackermann 48e7a0e25f
Various UI fixes (#2070)
* cleanup unused convo json fields in db

* display a toast if the user is not approved yet on call OFFER received

* enable CBR for calls

* do not update active_at on configMessage if !!active_at

* remove mkdirp dependency

* disable call button if focused convo is blocked

* quote: do not include the full body in quote, but just the first 100

* click on the edit profile qr code padding

* Allow longer input for opengroup join overlay

Fixes #2068

* Fix overlay feature for start new session button

* make ringing depend on redux CALL status

* turn ON read-receipt by default
2021-12-08 14:15:54 +11:00
Audric Ackermann 1e8c8991ad
more cleanup 2021-10-04 10:56:54 +11:00
audric e5dab2781e remove spectron dependency 2021-08-13 14:47:00 +10:00
Audric Ackermann 4ec1392aec
do local attachments decrypt/encrypt in worker 2021-07-13 11:50:11 +10:00
Audric Ackermann e8f0c4aaec
move libloki to webworker and remove unused stuff in it 2021-07-13 11:16:59 +10:00
Audric Ackermann c1ffe23b1e
moved verifySignature of opengroup messages to a worker 2021-07-12 15:15:40 +10:00
Audric Ackermann 8760a59875
nodefetch headers as on mobile + cleanup worker code 2021-07-09 15:31:10 +10:00
Audric Ackermann a547922e01
remove tx not used 2021-07-01 13:32:17 +10:00
Audric Ackermann 09d9db38e8
move taskWithTimeout to typescript 2021-06-21 16:12:51 +10:00
Audric Ackermann 0c0da48150
remove pow 2021-04-28 15:24:45 +10:00
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 2021-04-22 18:03:58 +10:00
Audric Ackermann 5d6d81b9ef Move accountManager to typescript 2021-03-01 10:39:46 +11:00
Audric Ackermann 4f7cb04552 remove completely SignalProtocolStore 2021-02-22 14:10:26 +11:00
Audric Ackermann d844c5141e remove unprocessed from store. Nothing was stored in the store
it was simply as passthrough to the Data file.
No we directly call the data file instead
2021-02-19 10:35:11 +11:00
Audric Ackermann a6cecd33e3 remove ContactDetails unused 2021-01-27 15:49:06 +11:00
Audric Ackermann ec9bd4a3a9
remove unused proto files and ProvisioningCipher.js 2021-01-22 10:26:22 +11:00
Audric Ackermann 46dfb3489b
remove mock sockets and websockets unused resources 2021-01-19 16:01:53 +11:00
Audric Ackermann 75b7788fa9
remove stuff related to web api 2021-01-15 10:56:49 +11:00
Audric Ackermann 2bcc7be3e6
remove mp3 lame already file and webrecorder worker unused 2020-12-14 14:38:05 +11:00
Audric Ackermann 291d4682e4
fix some tests 2020-11-25 09:14:22 +11:00
Audric Ackermann 53433261d9
remove outgoing_message.js and everything related to it 2020-07-13 17:10:20 +10:00
Mikunj 57b5effaf2 Replace long 2020-06-18 10:57:39 +10:00
Mikunj ae2b8334e0 Replace bytebuffer component 2020-06-18 10:49:59 +10:00
Audric Ackermann 66de8d9648
remove plenty of the friend logic 2020-06-15 18:05:14 +10:00
Audric Ackermann fa853538d0
LINT after prettier upgrade 2020-05-29 16:25:15 +10: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
Audric Ackermann 887ba53902 yarn grunt/ watch for sub-sub folders too 2020-01-03 17:07:40 +11:00
sachaaaaa 37f0fced29 Show commit hash in About window for beta builds 2019-03-01 17:10:20 +11:00
Beaudan 9ff96a0250 Fixed tests and moved friend request status enum to new friends file 2019-01-31 10:26:46 +11:00
Mikunj 1a15ec9c15 Merge commit signal/master into signal-1.20 2019-01-22 13:54:03 +11:00
Mikunj 6bd2d3962e Linted files 2019-01-16 16:18:08 +11:00
Mikunj 982f10a505 Split libloki logic.
Added to gruntfile.
2019-01-10 10:06:15 +11:00
sachaaaaa 583a10628a run service_node in the browser instead of as a nodejs module 2019-01-09 16:55:52 +11:00
Scott Nonnenberg e4babdaef0 Updates to backup infrastructure 2019-01-04 12:21:26 -08:00
Mikunj cbb62f4a71 Added tsx files to grunt watch.
Fixed minor bug in conversation view.
2018-12-20 15:30:19 +11:00