Audric Ackermann
b45109985c
use timestamp offset in for messages storage requests ( #1892 )
...
* add using timestamp offset from network for sending part1
* remove MessageController as we now rely on the database
* fix tests for message sending overriding timestamp
4 years ago
audric
0d90248450
fix scrolling jumping to bottom on new messages
4 years ago
audric
7fa50b4a73
do not pass props not needed between message list components
4 years ago
audric
f9988119f9
major UI rewrite of messages view with redux improvements
4 years ago
audric
f7b0c6c7e1
make conversation screen closer to mobile UI part1
4 years ago
Warrick Corfe-Tan
b26ec1996d
yarn ready
4 years ago
Brice-W
a89c6710fb
Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into link-previews
4 years ago
Brice-W
f6d3715dab
add a link icon when there is no image available or when media download is not allowed
4 years ago
audric
9e37985d03
enable no-unused local and imports and fix tslint
4 years ago
audric
07b6d7f6f1
fix a bug with preview of messages not being downloaded
4 years ago
Audric Ackermann
f7658c323d
Merge pull request #1821 from Brice-W/bug-fixes
...
Bug fixes
4 years ago
Brice-W
f7c7d6a3d8
change source of MessageAttributesOptionals to not null
4 years ago
Audric Ackermann
9b98b32d1b
filter out duplicates only if they are less than 10 messages away
4 years ago
Audric Ackermann
3f065a7b0e
improve marking message as read with hooks
4 years ago
Brice-W
47e2f5726e
fix group key pair cache issue
4 years ago
Audric Ackermann
06dfaa2482
always retry all emcyrption keypairs on incoming group msg
4 years ago
Audric Ackermann
12d09bc896
preload messages when switching conversation
4 years ago
Audric Ackermann
f9ecfccc0a
batch UI updates of message added events
4 years ago
audric
8414aa800d
fix a bug not making profile name updates in opengroup
4 years ago
audric
fce86989f0
make sure profileKey is a hex string in all convos
4 years ago
audric
c8f0150aaf
fix unread banner position when first unread is visible
4 years ago
audric
e72885944b
use selector to sort and add first of serie flag
4 years ago
Audric Ackermann
16d34a7137
moved conversations reducer to createSlice
4 years ago
Audric Ackermann
399041c5b3
cache identity pair and add some per measure
4 years ago
Audric Ackermann
e8f0c4aaec
move libloki to webworker and remove unused stuff in it
4 years ago
Audric Ackermann
78caaa2bfd
fix tests
4 years ago
Audric Ackermann
9a302fb5ff
add a cache of the keypairs for a closed group
4 years ago
Audric Ackermann
f0db797a9a
fix loading of messages props
4 years ago
Audric Ackermann
672eb91975
add types for message props and remove props function calls msg
4 years ago
Audric Ackermann
6deb97dbc0
WIP
4 years ago
Audric Ackermann
a0afd3efe4
add some performance measure for commit calls
4 years ago
Audric Ackermann
ef0b07bb7a
WIP
4 years ago
Audric Ackermann
e5a60af93f
Merge pull request #1751 from Bilb/fix-expire-without-seeing
...
do not start expire timer before seing message
4 years ago
audric
9cb69cf8fd
do not start expire timer before seing message
4 years ago
Audric Ackermann
712f76a53c
Merge remote-tracking branch 'upstream/clearnet' into remove-conversationct-singleton
4 years ago
Audric Ackermann
9e5d33d849
trigger download for past messages when trusting contact
4 years ago
Audric Ackermann
e090b8e8c6
remove getInstance on swarmPolling
4 years ago
Audric Ackermann
e9e718bfcb
remove getInstance on MessageController=> getMessageController
4 years ago
Audric Ackermann
0b410404a3
remove keypair request manager
4 years ago
Audric Ackermann
89a0868fc3
remove getInstance of conversationController to get()
4 years ago
Audric Ackermann
09d9db38e8
move taskWithTimeout to typescript
4 years ago
Audric Ackermann
a659d5b480
fix open group invitation logic
4 years ago
Audric Ackermann
b64e8bf610
fix seed dialog and leave group as admin dialog
4 years ago
Audric Ackermann
93e43fe929
move conversation dialogs to redux store
4 years ago
Audric Ackermann
c9d7f4a1ab
Merge remote-tracking branch 'w/onion-paths' into clearnet
4 years ago
Audric Ackermann
8ef9c8ed1a
remove delivery receipt logic
4 years ago
Warrick Corfe-Tan
ee7afb6ebf
WIP: refacotring. confirm modals mostly done. Working on add moderator modal now. Need to toggle via setModal.
4 years ago
Audric Ackermann
5bf844241b
fix tests
4 years ago
Audric Ackermann
03fe67b974
remove unused contact field on message
4 years ago
Audric Ackermann
173b49723b
rename groupInvitation in proto and remove more stuff unused
4 years ago
Audric Ackermann
c090782919
remove UPDATE type of closed group control message
4 years ago
Audric Ackermann
01fd927070
match envelope type with ios protos
4 years ago
Warrick Corfe-Tan
b082dd9f43
delete messages and leave group working with redux modal.
4 years ago
Audric Ackermann
37c9c6b5c3
new closed group send and handle expire timer already set
4 years ago
Warrick Corfe-Tan
4c8f2bf720
WIP refactoring confirm dialog to redux state.
4 years ago
Audric Ackermann
0a208c0d15
store snodes list on db, use them if possible on app start
...
if not enough snodes or no snodes at all, a request to the seed node is
made instead
4 years ago
Warrick Corfe-Tan
1bfdbc5c93
WIP: Refactoring modals.
4 years ago
Audric Ackermann
2e475450ee
fix deduplication using a hash of recent messages
4 years ago
Audric Ackermann
722f240f3d
fix deduplication based on serverTimestamp
4 years ago
Audric Ackermann
f186bdbe39
clear our zombie list if we get readded to a closed group
4 years ago
Audric Ackermann
ecf409bed5
fix slow app while removing v1 convoss
4 years ago
Audric Ackermann
118813661d
remove inte tests + handle opengroupv2 messages in chunk
...
this is to avoid freezing UI and is only a temporary fix
We need to have webworkers in this app
4 years ago
Audric Ackermann
f3768a674a
short error on no network for retry sending message
4 years ago
Audric Ackermann
b055165a5d
display a message when the recipient screenshots an attachemnt
4 years ago
Audric Ackermann
810ccdf675
send dataExtractionNotificaionMessage on saving attachment on priv chats
4 years ago
Audric Ackermann
8a2efb83ec
Merge branch 'clearnet' into remove-fsv1-sogsv1
4 years ago
Audric Ackermann
6f8c8ee1b3
remove most of sogsv1 and fsv1 and update version fetch url
...
version fetch is used to know when we have a new update
4 years ago
Audric Ackermann
f6ced14054
Merge branch 'clearnet' into accept-keypair-closed-group-existing
4 years ago
Audric Ackermann
b15eeb00cd
fixup duration missing
4 years ago
Audric Ackermann
e40a2692d6
Merge branch 'clearnet' into accept-keypair-closed-group-existing
4 years ago
Audric Ackermann
637e092a00
make sure fileserver v1 is not supported and not used anymore
4 years ago
Audric Ackermann
a2ee3ac98f
Merge remote-tracking branch 'upstream/clearnet' into scoring-system
4 years ago
Audric Ackermann
7d73f9a593
drop support for old file server avatar download
4 years ago
Audric Ackermann
11fbf79ab7
switch to dedicated server ( #1646 )
4 years ago
Audric Ackermann
5cab7908b4
add some test for partial path rebuilding
4 years ago
Audric Ackermann
c2298c4c30
Merge branch 'clearnet' into scoring-system
4 years ago
Warrick
3854d0e10d
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.
4 years ago
Audric Ackermann
c599d0b629
WIP
4 years ago
Audric Ackermann
862f8a8e14
accept a closed group NEW encryption keypair even if group exists
4 years ago
Warrick
e6128fa5a7
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.
4 years ago
Audric Ackermann
03aa52f8ce
Merge pull request #1613 from Bilb/fix-crash-left-member-convo-does-not-exist
...
make sure the left member convo exist in rendering GroupUpdate
4 years ago
Audric Ackermann
288d4a6a2e
make sure the left member convo exist in rendering GroupUpdate
4 years ago
Audric Ackermann
531fc5c7ff
fix avatar download on restore when linking device
...
Fixes #1601
4 years ago
Audric Ackermann
e6d78d5830
fallback to envelope timestamp if dataMessage.timestamp is 0
4 years ago
Audric Ackermann
248494f15b
redesign group invitation message type
4 years ago
Audric Ackermann
cbc816c3ed
update displayname even if we dont have avatar on incoming profile
4 years ago
Audric Ackermann
c063848167
pad and unpad message everywhere
...
attachment not padded for opengroup only
4 years ago
Audric Ackermann
7b96aba1bf
padd Message buffer for all outgoing messages (even opengroupv2)
4 years ago
Audric Ackermann
c77b24a2d4
fix avatar loading for opengroupv2
4 years ago
Audric Ackermann
bc4bee6270
hide some logs
4 years ago
Audric Ackermann
2b576de2cd
allow fileserverv2 attachments to be downloaded, upload disabled
4 years ago
Audric Ackermann
64eab5160d
remove zombies from the UI only
4 years ago
Audric Ackermann
2c40d1e623
hide checkmMark on showing group members
4 years ago
Audric Ackermann
c5a4cf674d
remove non explicit group updates support
4 years ago
Audric Ackermann
fae80c327a
mark convo as ActiveAt when we get a message adding us after left
4 years ago
Audric Ackermann
eb0ddd85f4
add zombies logic for member leaving and removing
4 years ago
Audric Ackermann
7ec663df71
move SwarmPolling from window to require singleton
4 years ago
Audric Ackermann
6aa699ad23
fix deduplication for opengroups v1 & v2
4 years ago
Audric Ackermann
a26c5da6cb
Uniformize once and for all the conversation types
...
no more 'direct'. those are private convos
4 years ago
Audric Ackermann
98b69c17f0
add userblocking opengroupv2 and quoting back of messages
4 years ago
Audric Ackermann
4aeec224b4
add download of attachments for opengroupv2
4 years ago
Audric Ackermann
bc938f650e
move AttachmentsDownload to typescript
4 years ago
Audric Ackermann
34148e67ec
add return of url after v2 attachment upload
4 years ago
Audric Ackermann
35d66d8865
fix bug fetching new token every request
4 years ago
Audric Ackermann
3b30d13719
add some regex to identify Opengroupv2 vs Opengroupv1 convo Ids
4 years ago
Audric Ackermann
e3e1296788
add constant openGroupPrefix: publicChat: and use it
4 years ago
Audric Ackermann
786cd384fb
add the OpenGroupManagerV2 logic to add and remove rooms
4 years ago
Audric Ackermann
f7581cf4eb
increase prettier maxWidth to 100
4 years ago
Audric Ackermann
c07271109f
Add a ConversationType OPEN_GROUP
4 years ago
Audric Ackermann
b9586c90ce
working open group v2 getInfo for https only
4 years ago
Audric Ackermann
ec6a5995db
sync expire timer updates
4 years ago
Audric Ackermann
79193ee7be
refactor to Visible and ControlMessage types
4 years ago
Audric Ackermann
24d33c7900
Merge branch 'clearnet' into add-attachment-padding
4 years ago
Audric Ackermann
0228cd5115
add attachment padding
4 years ago
Audric Ackermann
553f264d12
make unread attrs as before a number, and remove calculatingPow
...
calculating pow is just the same as sending state
4 years ago
Audric Ackermann
ad117fe4e5
uniformized redux convo type and getProps() of conversation
4 years ago
Audric Ackermann
e1114c8ce7
add some types to Data.ts calls
4 years ago
Audric Ackermann
95e1d7983f
be sure make contacts appear on left pane on configMessage handling
4 years ago
Audric Ackermann
8c4e071c00
crop avatars to what iOS expects
4 years ago
Audric Ackermann
aac54e6045
Merge remote-tracking branch 'upstream/clearnet' into restore-handle-configuration
4 years ago
Audric Ackermann
8d45ea2742
do not unlock signin by linking if the displayName got is empty
4 years ago
Audric Ackermann
78257037bb
restoreFromSeed restores groups from first configMessage got
4 years ago
Audric Ackermann
0a8335b125
handle message while linking as if were already linked
4 years ago
Audric Ackermann
6fbe060973
move deleteAccount() to AccountManager
4 years ago
Audric Ackermann
c420bfcf74
only handle a single time the groups from a configurationMessage
4 years ago
Audric Ackermann
2fab4f0940
Use sentAt as lastJoinedTimestamp when we get a new closed group
...
This is to make sure we do not drop group updates between the message
adding us and now().
We only have to drop messages before we were added to the group, which
is the sent timestamp
4 years ago
Audric Ackermann
533b95c827
fix updateMessage being always at the end of the messagesList
...
this was because we were using Date.now() always rather than using the
envelope timestamp to save the update
4 years ago
Audric Ackermann
05e9c936ff
speed up loading of messages by not notify on every new message
4 years ago
Audric Ackermann
c656dd25cf
move configMessage handling to a another file
4 years ago
Audric Ackermann
853222d25b
Do not sync configurationMessage on app load if restored from seed
4 years ago
Audric Ackermann
9586c3a06a
add linking of a device to the Registration logic
4 years ago
Audric Ackermann
305ece1c7c
update our profile on incoming configMessage sent after our last update
4 years ago
Audric Ackermann
fc24df00fb
always share our profileKey on outgoing messages
4 years ago
Audric Ackermann
641f9ee368
Fix the bug where if we leave and get added back, we get removed again
4 years ago
Audric Ackermann
c55f204440
Merge branch 'clearnet' into restore-handle-configuration
4 years ago
Audric Ackermann
e466062f15
WIP
4 years ago
Audric Ackermann
31e2341978
update last message on message delete
...
otherwise, we might still see the last message on the leftpane if the
message removed was the last one
4 years ago
Audric Ackermann
ca22b4635f
fixup some building of sync message issues
4 years ago
Audric Ackermann
7a3a12ccdc
Merge branch 'clearnet' into move-models-to-ts-2
4 years ago
Audric Ackermann
8716fbf495
improve sent message handling by setting the correct convoId at start
4 years ago
Audric Ackermann
bb3641b39a
remove the forceSave option for unprocessed message too
4 years ago
Audric Ackermann
25e03eba35
fix lint
4 years ago
Audric Ackermann
3ee0ccfac8
remove the forceSave logic for a message, always insert or replace
4 years ago
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
4 years ago
Audric Ackermann
a34720501c
update avatar on convo only if DL+decrypt is OK
4 years ago
Audric Ackermann
720922cc71
be sure to leave a group when leaving from another device
4 years ago
Audric Ackermann
8ea9f02cec
Move data.js to data.ts
4 years ago
Audric Ackermann
7b81c4213a
Merge clearnet
4 years ago
Audric Ackermann
0c1343cad5
add a way to share currently distributing keypair to added members
4 years ago
Audric Ackermann
78e7255cb8
send the keypair to added members if we are admin
...
and remove request encryption keypair handling
4 years ago
Audric Ackermann
2d7515cf0b
Merge branch 'clearnet' into move-models-to-ts-2
4 years ago
Audric Ackermann
df3ca5d38a
add a sql function to check if a keypair is already saved in db
4 years ago
Audric Ackermann
a31c457c08
allow closedgroup new message to be sent to our other devices
...
also, do not drop it on the receiving side
4 years ago
Audric Ackermann
01f834ae98
only handle the first ever configuration message incoming
4 years ago
Audric Ackermann
6d28f343c9
try to decrypt unprocessed message when we get a new encryptionkeypair
4 years ago
Audric Ackermann
ad06b94708
do not drop a message which was not decrypted for a medium group
...
Instead, trigger a request to the group to get the encryption keypair.
We will try to process those messages on an app restart
4 years ago
Audric Ackermann
375c5ba1a8
add the request and reply of an encryptionKeyPair if needed
4 years ago
Audric Ackermann
850233bc9e
review PR
4 years ago
Audric Ackermann
ed84760f0e
add a tslint rule to forbid use of async without await
4 years ago
Audric Ackermann
36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2
4 years ago
Audric Ackermann
c7fa765b65
be sure to have a conversationId on handleMessageEvent()
4 years ago
Audric Ackermann
df0b44db4c
Merge remote-tracking branch 'upstream/clearnet' into multi-device-v2
4 years ago
Audric Ackermann
5ec9722e00
autobind typescript class methods with autobind
4 years ago
Audric Ackermann
b76ce0f2ff
update models to TS part2
4 years ago
Audric Ackermann
65ed81e980
enable explicit group updates on the sending side
4 years ago
Audric Ackermann
ebd94ce15c
fix order of added new group in leftPane
4 years ago
Audric Ackermann
3b3378a2ee
finish explicit group updates
4 years ago
Audric Ackermann
3342c7fd26
lint
4 years ago
Audric Ackermann
1d85a6dc5f
trigger new message onError while handling a request
4 years ago
Audric Ackermann
a51f95d28c
move models to TS part1
4 years ago
Audric Ackermann
aede96b69b
enable explicit group updates on the sending side
4 years ago
Audric Ackermann
b88ea110e8
Add multi device v2 support
4 years ago
Audric Ackermann
64737a89d7
add ConfigurationMessage
4 years ago
Audric Ackermann
2462e12a04
Merge pull request #1461 from Bilb/explicit-group-updates
...
Explicit group updates
4 years ago
Audric Ackermann
c06f710b3b
fix order of added new group in leftPane
4 years ago
Audric Ackermann
334da0a169
finish explicit group updates
4 years ago
Audric Ackermann
82a7ed73df
trigger new message onError while handling a request
4 years ago
Audric Ackermann
46fdebe3d7
Merge pull request #1459 from Bilb/improve-open-group-loading-speed
...
Improve open group loading speed
4 years ago
Audric Ackermann
0e25ab2874
WIP
4 years ago
Audric Ackermann
6e11c6db2e
remove all reference to closed group update v2
4 years ago
Audric Ackermann
999e6fc712
replace GroupUpdateV2 in proto to ClosedGroupControlMessage
4 years ago
Audric Ackermann
79028ebaeb
remove isUnidentifiedDelivery
4 years ago
Audric Ackermann
c5ad206239
fix message added not shwon on SessionMessageList
4 years ago
Audric Ackermann
8b8fe66615
update profile of users when getting profile from opengroup message
4 years ago
Audric Ackermann
34e5648681
fix metadatabadges for closed group
...
do not show crown nor Mod badge
4 years ago
Audric Ackermann
b218611831
remove contactCollection in convos.
4 years ago
Audric Ackermann
273eedc6a9
remove hasSignalAccount and Sealed Sender unused
4 years ago
Audric Ackermann
e3a6e24898
remove body pending loading of message > 2000.
...
Also remove the limit when sending text messages
4 years ago
Audric Ackermann
eadfbc9f6d
Merge remote-tracking branch 'upstream/clearnet' into clean-and-moderator-dialog-update
4 years ago
Audric Ackermann
bb037f7edb
fix profile updates when flag is set (do not drop message)
4 years ago
Audric Ackermann
a0703bc2f9
remove primary and secondary device separate status
4 years ago
Audric Ackermann
135fc3b366
remove prekeys
4 years ago
Audric Ackermann
fd18345c5a
remove handling of rss related things completely
4 years ago
Audric Ackermann
21c62c167e
remove typing indicator when we get a dataMessage
4 years ago
Audric Ackermann
72c96ea998
remove most of the SessionProtocol unused stuff
...
- prekeys
- SessionCipher
- LokiCipher
- endSession and the reset Session logic
- what we called Sessionprotocol manager (to keep track of session with
everyone)
4 years ago
Audric Ackermann
979a9058e3
remove verified number - related features (partial)
4 years ago
Audric Ackermann
75b7788fa9
remove stuff related to web api
4 years ago
Audric Ackermann
f1d84177a0
fix expirationTimer updates closed group desktop to ios
4 years ago
Audric Ackermann
58be168227
drop groupUpdates which happened before we joined the group
4 years ago
Audric Ackermann
6856c0e748
remove updateTextInputState not needed and add left to menu tests
4 years ago