Commit graph

1014 commits

Author SHA1 Message Date
Audric Ackermann
e6cd277bd2 fix: allow non admin mods to delete message for deletion 2022-08-09 17:08:59 +10:00
Audric Ackermann
ef27153c69 fix: make sure existing sogs convo do not break on save
the app was crashing if a convo with an invalid read/write/upload capability was saved during a migration
2022-08-08 17:05:42 +10:00
Audric Ackermann
3d05d35bbb fix: sogs deleted message now comes with deleted field set to true 2022-08-08 14:25:51 +10:00
Audric Ackermann
242d51ca8d
Id blinding + onionv4 + new endpoints for sogs and fileserver (#2347)
* Added Onionv4 support to file server, sogs and pn server
* Added blinded message support
* Updated endpoints for sogs and file server to remove legacy ones
2022-08-08 09:50:48 +10:00
Audric Ackermann
40c0b8205e
Merge pull request #2386 from Bilb/fix-call-missed-too-old
fix: show call missed message on call too old received
2022-07-12 10:30:08 +10:00
Audric Ackermann
21af9b5c1b
fix: show call missed message on call too old received 2022-07-04 10:32:01 +10:00
Emily
775ddfda12 fixing the saved media read receipt 2022-05-19 16:42:23 +10:00
Audric Ackermann
f84762c889
fix: attachments download job trying to send function over ipc 2022-05-19 16:21:31 +10:00
Audric Ackermann
f654b0666b fix: contact seed nodes one at a time only
also includes a fix to fix the release builds
2022-05-17 15:47:09 +10:00
Audric Ackermann
ec76057c5e
Merge integration test (#2313)
* Testing playwright for Desktop automation

* add more data-testid field

* remove commited test-results

* test: skip group upkeep for now

* test: mention test create group instead of restoring from seed

* test: run on testnet

* fix: revert messagebanner unread count changes

from commit 8107d75e89

Co-authored-by: Emily <emily@oxen.io>
2022-05-17 13:22:13 +10:00
Audric Ackermann
26187da521
force duplicates to -10 and 0 for closed groups between HF 2022-05-13 14:36:16 +10:00
Audric Ackermann
02ed40455f
fix: run the cleaning opengroup transaction on startup 2022-05-13 11:30:57 +10:00
Audric Ackermann
e4e9d535fc
Merge pull request #2290 from Bilb/pre-hf-inboxes
Add inboxes to retrieve & polling of messages and detection of hardfork
2022-05-10 14:31:49 +10:00
Audric Ackermann
6c05ff3c07
move useTestNet to featureFlag dependent on ENV variables 2022-05-09 16:03:15 +10:00
Audric Ackermann
9bd8b73a0c
fix testnet 2022-05-09 15:15:51 +10:00
Ian Macdonald
09be936aa4
Report number of deletions when a deletion operation completes. 2022-05-05 13:15:00 +02:00
Audric Ackermann
d948045e6a
added hf switching of poll&store requests + tests 2022-05-05 11:25:27 +10:00
Audric Ackermann
363977b358
add polling from namespace 0 and storing lastHash with namespace 2022-05-04 14:55:56 +10:00
Audric Ackermann
50ca1bcda9
added namespace field and signature using it for our own 'retrieve' 2022-05-04 13:25:42 +10:00
Audric Ackermann
da9df532b0
Merge pull request #2242 from Bilb/node-side-in-ts
Node side + web worker in typescript
2022-04-27 12:10:31 +10:00
Audric Ackermann
5c8e2b4044
cleanup swarm unused after removing unused convos 2022-04-21 14:04:11 +10:00
Audric Ackermann
7c1707f48e
drop old messages of opengroup 2022-04-21 11:29:14 +10:00
Audric Ackermann
3cfcf128a5
Merge remote-tracking branch 'upstream/master' into node-side-in-ts 2022-04-20 15:32:05 +10:00
Audric Ackermann
13e2f81f26
Merge remote-tracking branch 'upstream/clearnet' into node-side-in-ts 2022-04-20 15:12:28 +10:00
Audric Ackermann
4baedda349
add tests for opengroup utils 2022-04-20 15:11:22 +10:00
Audric Ackermann
e5c54cc45e
added some test for DecryptingAttachmentManager 2022-04-19 13:27:25 +10:00
Audric Ackermann
e11775a2e0
fix color of opengroup invitation 2022-04-14 15:42:22 +10:00
Audric Ackermann
6001da5ac8
add some [perf] duration measurement 2022-04-14 13:21:09 +10:00
Audric Ackermann
062db5caab
move filterDuplicatesFromDbAndIncoming to its own file and test
also add pending tests to do for in memory db and updater
2022-04-13 14:59:08 +10:00
Audric Ackermann
0158fd5ebb
filter duplicates on opengroup poll in a single sql call 2022-04-13 13:52:05 +10:00
Audric Ackermann
00d70db0be
queue user profile avatars update
also add some tests for the promise utils
2022-04-11 17:18:11 +10:00
Ian Macdonald
d14486b462
Make configuration sync every 2 days, in line with the comment. 2022-04-07 16:18:38 +02:00
Audric Ackermann
a9cc9a7294
add tests for attachment metadata 2022-04-07 14:47:54 +10:00
Audric Ackermann
475c92eeb4
migrate about_start to not use jquery 2022-04-07 11:42:22 +10:00
Audric Ackermann
261940e978
fix tests 2022-04-06 16:21:26 +10:00
Audric Ackermann
5047e8921b
made all verifi signatures in a single call to the worker 2022-04-06 16:21:25 +10:00
Audric Ackermann
b4dc18d65b
migrate app focus logic to events sent from node 2022-04-06 16:21:24 +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
332d58027f
show draggable call container when opening settings from call convo 2022-04-06 14:18:37 +10:00
Audric Ackermann
9f8920ef2c mostly working but need to improve perfs 2022-04-04 08:53:37 +10:00
Audric Ackermann
4d72b92b25 app starts but full of errors 2022-04-01 16:55:17 +11:00
Audric Ackermann
280cc494e8 test with webpack - not working 2022-04-01 09:58:24 +11:00
Audric Ackermann
2dfd09a7b1 app kind of start background side 2022-03-31 10:22:13 +11:00
Audric Ackermann
6e8e8eaa9a move errors.js to ts 2022-03-30 10:23:16 +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
0719700371 do not end call if connection fails, instead wait for new offer 2022-03-29 16:14:32 +11:00
Audric Ackermann
2a11d5e71f
trigger a new offer on connect fail if we are caller
the caller is just supposed to accept the offer and send an answer back
2022-03-28 12:59:07 +11:00
Audric Ackermann
6bd835dfc3
move storage.js to ts 2022-03-23 15:57:11 +11:00
Audric Ackermann
ce0848c8bf
Merge branch 'clearnet' into updater-reword 2022-03-22 11:07:06 +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
Audric Ackermann
74cf88cf81
create closed group mark as approved
also, do not filter closed group based on the isApproved field in redux
2022-03-16 10:51:37 +11:00
Audric Ackermann
71aa6c813c
Merge remote-tracking branch 'upstream/clearnet' into fix-i18n-with-dollars-sign 2022-03-09 12:00:47 +11:00
warrickct
4ee51b4ee9 Removing open group blocklist code. 2022-03-08 13:17:25 +11:00
Audric Ackermann
e1f2393c3a
cleanup translated strings 2022-03-07 13:26:57 +11:00
warrickct
614cdccd2c Switch to window logging. 2022-03-07 11:27:18 +11:00
warrickct
f3cefdcf49 Add logging for debugging. 2022-03-07 11:11:35 +11:00
warrickct
096e1d24df Fix linting error, remove unnecessary conditional 2022-03-07 10:06:41 +11:00
warrickct
380d55066a Reducing excessive calls to open group blocklist. 2022-03-07 09:47:23 +11:00
warrickct
75191ae757 Add blocking joining open group based on blocklist. 2022-03-03 17:14:59 +11:00
warrickct
821f4d73ff Merge branch 'clearnet' into msg-request-ui-2 2022-03-03 14:02:10 +11:00
Audric Ackermann
f1900f9f36
remove some unused strings
and fix tos links #2176
2022-03-03 14:00:47 +11:00
Audric Ackermann
3fed22048b
rename a few loki to session 2022-02-18 13:03:47 +11:00
warrickct
c0622d47f4 Disallow disappearing messages if convo is not approved by recipient. 2022-02-17 22:20:32 +11:00
warrickct
f5972a5d1c Calling setting convo isApproved. Removing some unnecessary conditionals. 2022-02-17 22:05:13 +11:00
warrickct
ffad806366 Prevent attachments being sent for unapproved conversations. 2022-02-17 20:29:31 +11:00
warrickct
0db3c76756 Fixing linting errors 2022-02-15 13:59:58 +11:00
warrickct
893f7e99b8 Merge branch 'clearnet' into message-request-ui 2022-02-15 12:04:14 +11:00
Ian Macdonald
6613161b20
Don't nanny the user. Allow all file types as attachments.
The Android client already has no such restrictions, and these are
ineffective anyway, as they are based on the file's name, not its
payload.
2022-02-14 09:25:53 +01:00
warrickct
ee9156d4f8 Merge clearnet into message-request-ui 2022-02-14 16:42:53 +11:00
warrickct
8a8a5ca82c removing pubkey from message request response. 2022-02-11 14:47:24 +11:00
warrickct
36ca2a767c Adding PR changes 2022-02-11 12:14:58 +11:00
warrickct
0461454e27 Removing toast on request accept 2022-02-11 09:39:53 +11:00
warrickct
d627b8e11d Requesting flow working with sending message as acceptance. 2022-02-10 16:49:56 +11:00
audric
78b84d4ed8 call: pick a sample of 2 of the iceservers before creating connection 2022-02-09 11:13:12 +11:00
Audric Ackermann
a19a6a33c7
migrate already set nickname convo to name + profileName index 2022-02-04 14:32:06 +11:00
warrickct
cdeac8f424 Adding protobuf changes for message request response. 2022-02-04 13:43:04 +11:00
Audric Ackermann
a3eb80abcf
fix group updates outgoing message status in left pane 2022-02-04 13:37:50 +11:00
Audric Ackermann
d6a8f5e92b
allow searching for nickname or name for contacts 2022-02-03 10:58:49 +11:00
Audric Ackermann
ceb5317160
remove profile_images as we are not using it 2022-02-03 10:58:49 +11:00
Audric Ackermann
b72b8e8387
fix tests 2022-02-03 10:58:46 +11:00
Audric Ackermann
7d9f970b2c
remove decrypted_at field from saving message models as unused 2022-02-03 10:58:44 +11:00
Audric Ackermann
6f5bca6660
allow more characters to be used in display name
We just deny the one used to add markers around a mentions on the
desktop client. which is ᅭ

Relates #2132
2022-02-03 10:58:44 +11:00
Audric Ackermann
b3a8692240
cleanup incoming message creation for displaying messageresult 2022-02-03 10:58:44 +11:00
Audric Ackermann
5afbd9c19e
cleanup creation of opengroup message on sync 2022-02-03 10:58:43 +11:00
Audric Ackermann
5e314e4dcc
remove 'recipients' message field and 'destination'
we do not need recipients as it makes no sense for us having medium
groups on the same pubkey

we do not need destination as it can always be guessed from the
direction and the type of conversation of that message
2022-02-03 10:58:42 +11:00
Audric Ackermann
00d2bbc63d
cleanup MessageSearchResults 2022-02-03 10:58:42 +11:00
audric
a21751c611
open convo on last unread, and can scroll up 2022-02-03 10:58:34 +11:00
audric
247cb7c065 cleanup dependencies 2022-01-18 15:21:36 +11:00
audric
e515ce3ca5 Merge remote-tracking branch 'upstream/clearnet' into cleanup-attachment 2022-01-17 16:50:18 +11:00
audric
fc916ce94c Fix attachments duplication on message syncing with current device 2022-01-14 14:56:55 +11:00
audric
4b39b46b6a replace invalid unicode in filename 2022-01-14 11:03:22 +11:00
audric
72409e3f1f make sure to keep error state of attachment DL failing 2022-01-13 18:33:43 +11:00
audric
8feecb777b make sure to scale dowm preview in composition box 2022-01-12 18:38:52 +11:00
Audric Ackermann
c7565fe7b3 Move scale/resize and attachment logic to typescript 2022-01-12 17:01:32 +11:00
Audric Ackermann
cb8704f9b1
bump convo active_at on answered/trigger call 2022-01-06 11:22:54 +11:00
Audric Ackermann
1a8a839ba3
no need to deleteAuthToken anymore for opengroupv2 servers 2021-12-21 15:39:46 +11:00
Audric Ackermann
4a530582b1
catch exception when failing to decode/read an attachment 2021-12-21 07:58:06 +11:00
Audric Ackermann
55cca318e7
lint 2021-12-17 17:00:17 +11:00
Audric Ackermann
eb0cf0938d
make sure to use cached convos for sync logic
otherwise the whole app freezes on a big database
2021-12-17 16:43:16 +11:00
Audric Ackermann
58dc3e26ca
reactify group updates text bubble from redux store (#2083) 2021-12-15 11:32:07 +11:00