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
3 years ago
Audric Ackermann
cf44896a03
Minor call tweaks ( #2051 )
...
* show missed-call,started-call and answered call notification in chat
* fix types for createLastMessageUpdate
* show incoming dialog if we have a pending call when enable call receptio
* simplify a bit the avatar component
* move disableDrag to a custom hook
* speed up hash colors of avatarPlaceHolders
* fixup text selection and double click reply on message
* keep avatar decoded items longer before releasing memory
* add incoming/outgoing/missed call notification
also, merge that notification with the timer and group notification
component
* hangup call if no answer after 30sec
* refactor SessionInput using hook + add testid field for recovery
* disable message request feature flag for now
* fix merge issue
* force loading screen to be black instead of white
for our dark theme user's eyes safety
3 years ago
warrickct
e32f20d8bc
PR changes
3 years ago
warrickct
4576f3cb32
Merge branch 'clearnet' into message-requests
3 years ago
warrickct
f91e2c4edd
Minor PR fixes
3 years ago
warrickct
97fe0c7a7a
Merge branch 'clearnet' into message-requests
3 years ago
warrickct
b5df47c2b8
Addressing PR comments
3 years ago
warrickct
726418887c
Addressing PR comments
3 years ago
warrickct
2d664a2df7
Applying PR changes.
3 years ago
warrickct
3602b51986
Fixing up block all logic.
3 years ago
Audric Ackermann
af75b6f0e2
disable deduplication based serverId+sender
...
only use the serverTimestamp+sender for searching because
serverId+sender might have false positive
3 years ago
warrickct
ac8dbb341b
linting and formatting changes
3 years ago
warrickct
86a9253144
Merge branch 'clearnet' into message-requests
3 years ago
warrickct
2144a3980f
Linting and formatting.
3 years ago
warrickct
23ca19b125
Only updating approval when it is a true value as we consider a block a decline.
3 years ago
warrickct
9c9a43ee97
Adding improvements to message request handling.
3 years ago
Audric Ackermann
1dff310820
no video track by default and will be turn ON if asked to
3 years ago
Audric Ackermann
6f3625f99c
move the state of calling to its own slice
3 years ago
Audric Ackermann
c1471426ac
dismiss a call when answered from another of our devices
3 years ago
Audric Ackermann
22e4c9d850
fix archlinux pw unused issue
...
on archlinux, the appimage links to the system sqlite by default which
does not support sqlcipher
3 years ago
warrickct
40396224dc
adding feature flag for config message receiving
3 years ago
warrickct
2eab74246b
PR changes. Disabling message requests behind feature flags.
3 years ago
warrickct
e5a203a48e
adding setting of active_at to hide unapproved messages.
3 years ago
Audric Ackermann
67665dde56
handle network switching with webrtc
...
dirty hack from
https://bugs.chromium.org/p/chromium/issues/detail?id=982793
3 years ago
Warrick Corfe-Tan
cb5551c1e9
PR changes
3 years ago
Warrick Corfe-Tan
6a62437c3e
Blocking, accepting on click and accepting on msg send
...
working across clients.
3 years ago
Audric Ackermann
ef25e5956f
add a spinner for when video call video is loading
3 years ago
Warrick Corfe-Tan
87235641cb
fixed typos for translations and method name.
3 years ago
Warrick Corfe-Tan
c3924f85a9
Adding blocking of individual requests and syncing of block to devices. Added approval by replying to a message.
3 years ago
Audric Ackermann
8468598b3a
send a pre offer to the PNServer for video calls
3 years ago
Warrick Corfe-Tan
4ad14e4c5b
Added syncing accepting of contact between running instances.
3 years ago
Audric Ackermann
ce16066313
do not try to do an unsend request on a group swarm
3 years ago
Audric Ackermann
bb26680b75
unsend for me only on a closed group only deletes locally
...
also do not await request to PN server
4 years ago
Audric Ackermann
5d9565a559
fix menu action for unsending messages
4 years ago
Audric Ackermann
0f2fcbb6e3
delete for opengroups is working
4 years ago
Audric Ackermann
251309656b
Merge remote-tracking branch 'upstream/clearnet' into webrtc-calls-p2
4 years ago
Audric Ackermann
5c7615d205
removed old fileserver support
4 years ago
Audric Ackermann
8e6d9ca036
Merge pull request #1969 from Bilb/webrtc-calls
...
Webrtc video calls - first part - disabled
4 years ago
Audric Ackermann
a629985a4f
fix toggling input source and off in video calls
4 years ago
Warrick Corfe-Tan
8d75fde012
yarn ready changes
4 years ago
Warrick Corfe-Tan
ff1d7cefe4
changing some code.
4 years ago
Warrick Corfe-Tan
3c7c3220a1
Marking conversation as read if received a sync message from same users other device.
4 years ago
Audric Ackermann
4277c29bd8
make sure to refetch messageModel from db when saving attachments
4 years ago
Warrick Corfe-Tan
1522e5102d
removed isCall property from message. Fixed text
4 years ago
Warrick Corfe-Tan
0b8f3255b0
corrections to pass yarn ready
4 years ago
Warrick Corfe-Tan
6743201cc4
added perfect negotiation
...
Adding toast for cam and audio permission when making a call.
adding missed call message and toast when a call is received while mid-call.
background call message work
4 years ago
Audric Ackermann
8b611a2867
make call UI react to incoming and ongoing calls
4 years ago
Audric Ackermann
d55c96cb67
setup webrtc between two pubkey
4 years ago
Warrick
1d459ba533
Unsend messages (only message hashes saving for now is enabled) ( #1891 )
...
* WIP unsending message.
* retrieving message with hash from db on receiving unsend request.
* outgoing messages hashes updated on message sent success
* unsend messaging
* unsend message - deleting messages and marking as isDeleted.
* add msg hash to unprocessed records.
* Message unsending working for closed groups provided the message has been updated with a hash from server.
* adding 2-stage confirmation modal for message deletion
* adding rendering of removed incoming messages, disabling rendering of unsent outgoing messages in coversation screen.
* Adding logging
* debugging.
* outgoing only saved for sync message instead of regular message.
* deleting locally
* adding post unsend deletioncode.
* starting adding feature flag.
* Added feature flag.
* addding mandatory messageHash pollling pipeline methods swarm polling.
* Conversation list item message preview showing deletion placeholder text if deleted.
* add condition to drop unsend requests not send by message author
* refactoring deleteMessage. Saving response hash for closed group message sending
* running yarn ready
* removing logging.
* Adding PR fixes
* Minor changes and running yarn ready
* fix typo
* Moved feature flag to lokiFeatureFlags. Fixing linting errors
Co-authored-by: Audric Ackermann <audric@loki.network>
4 years ago
Audric Ackermann
b17312c13c
Cleanup redux store ( #1925 )
...
* do not consider expire timer update unread messages #1881
* cleanup conversation props in redux to only have what cannot be derived
* fix app not starting without the await on convo creation
* cleanup props of message model
4 years ago
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