Audric Ackermann
1eba9dce30
merge messagesChanged and messagesAdded to a single redux event
3 years ago
Audric Ackermann
949c36a42f
merge fetching more messages for top and bottom in the same flag
3 years ago
Audric Ackermann
9000c649f8
remove optional setToExpire and UnreadMessageIsAbove indicator
3 years ago
Audric Ackermann
4e638d162d
fix the scroll to bottom with button and on send message
3 years ago
Audric Ackermann
7d9f970b2c
remove decrypted_at field from saving message models as unused
3 years ago
Audric Ackermann
b3a8692240
cleanup incoming message creation for displaying messageresult
3 years ago
Audric Ackermann
5afbd9c19e
cleanup creation of opengroup message on sync
3 years ago
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
3 years ago
Audric Ackermann
00d2bbc63d
cleanup MessageSearchResults
3 years ago
Audric Ackermann
c7565fe7b3
Move scale/resize and attachment logic to typescript
3 years ago
Audric Ackermann
4349b699cb
remove schemaVersion field and logic from message object
3 years ago
Audric Ackermann
58dc3e26ca
reactify group updates text bubble from redux store ( #2083 )
3 years ago
warrickct
2d664a2df7
Applying PR changes.
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
40396224dc
adding feature flag for config message receiving
3 years ago
warrickct
e5a203a48e
adding setting of active_at to hide unapproved messages.
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
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
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
audric
9e37985d03
enable no-unused local and imports and fix tslint
4 years ago
Audric Ackermann
3f065a7b0e
improve marking message as read with hooks
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
fce86989f0
make sure profileKey is a hex string in all convos
4 years ago
audric
e72885944b
use selector to sort and add first of serie flag
4 years ago
Audric Ackermann
672eb91975
add types for message props and remove props function calls msg
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
e9e718bfcb
remove getInstance on MessageController=> getMessageController
4 years ago
Audric Ackermann
89a0868fc3
remove getInstance of conversationController to get()
4 years ago
Audric Ackermann
a659d5b480
fix open group invitation logic
4 years ago
Audric Ackermann
8ef9c8ed1a
remove delivery receipt logic
4 years ago
Audric Ackermann
03fe67b974
remove unused contact field on message
4 years ago
Audric Ackermann
5cab7908b4
add some test for partial path rebuilding
4 years ago
Audric Ackermann
c599d0b629
WIP
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
cbc816c3ed
update displayname even if we dont have avatar on incoming profile
4 years ago
Audric Ackermann
c77b24a2d4
fix avatar loading for opengroupv2
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
34148e67ec
add return of url after v2 attachment upload
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
ec6a5995db
sync expire timer updates
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
05e9c936ff
speed up loading of messages by not notify on every new message
4 years ago
Audric Ackermann
fc24df00fb
always share our profileKey on outgoing messages
4 years ago
Audric Ackermann
ca22b4635f
fixup some building of sync message issues
4 years ago
Audric Ackermann
8ea9f02cec
Move data.js to data.ts
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
5ec9722e00
autobind typescript class methods with autobind
4 years ago
Audric Ackermann
b76ce0f2ff
update models to TS part2
4 years ago
Audric Ackermann
a51f95d28c
move models to TS part1
4 years ago
Audric Ackermann
b88ea110e8
Add multi device v2 support
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
b218611831
remove contactCollection in convos.
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
21c62c167e
remove typing indicator when we get a dataMessage
4 years ago
Audric Ackermann
979a9058e3
remove verified number - related features (partial)
4 years ago
Audric Ackermann
6856c0e748
remove updateTextInputState not needed and add left to menu tests
4 years ago
Audric Ackermann
2fe6b11e89
move ConversationController to typescript
4 years ago
Audric Ackermann
228e4ed662
move MessageController to typescript
4 years ago
Audric Ackermann
184b1984c3
fix autoplay unmuted video when video attachment is added
4 years ago
Audric Ackermann
221f264de6
rename all saveMessage to message.commit()
4 years ago
Audric Ackermann
357421f161
rename window.console.log to window.log.info
4 years ago
Audric Ackermann
940ad57f83
rework the way unread count works
...
we no longer refresh on each message read, only once the whole
conversation is read.
5 years ago
Audric Ackermann
ef3f3d0af5
enable back link previews in sent message
5 years ago
Audric Ackermann
3998bbc97d
fix more typing errors of conversation object
5 years ago
Maxim Shishmarev
87144336b7
Large refactor of medium groups. Fixes them for multidevice
5 years ago
Mikunj
f48e10fccd
Fix profile keys not being decoded properly
5 years ago
Audric Ackermann
db1a133c25
drop an expiretimer message with the same timer already on use
5 years ago
Audric Ackermann
15b8600e25
fix display name and avatar not being updated when message from secondary
5 years ago
Maxim Shishmarev
255c7ada68
More clean up in message_receiver.js
5 years ago
Maxim Shishmarev
e2b5b6654b
Clean up more imports
5 years ago
Maxim Shishmarev
6295e4206d
Clean up imports
5 years ago
Maxim Shishmarev
0904e7a8ca
Refactor from message polling to content message handling
5 years ago
Mikunj
225d7f84e4
Fix declaration file names
5 years ago
Audric Ackermann
1b011ca74e
fix groupUpdate including an empty kicked field
5 years ago
Audric Ackermann
28fb1dd12a
address PR reviews
5 years ago
Audric Ackermann
bccdc3cf34
Merge remote-tracking branch 'upstream/clearnet' into receiver-remove-friend-request-logic
5 years ago
Maxim Shishmarev
b98543a9fc
Fix enum in a definition type
5 years ago
Maxim Shishmarev
eb280ec1e4
Move model definition files
5 years ago
Maxim Shishmarev
8ca7b8cfb4
Message receiving refactor: handleDataMessage onwards
5 years ago