Commit Graph

99 Commits (12d9a8db78e198f3216eac8393b3f4ad0aa4d579)

Author SHA1 Message Date
Audric Ackermann 12d9a8db78
electron-renderer webpack seems to be generating main_renderer.js 2 years ago
Audric Ackermann d99cdc48f4
rename background.js to main_start.js 2 years ago
Audric Ackermann b3a8692240
cleanup incoming message creation for displaying messageresult 2 years ago
Audric Ackermann 5afbd9c19e
cleanup creation of opengroup message on sync 2 years ago
Audric Ackermann 00d2bbc63d
cleanup MessageSearchResults 2 years ago
audric fc916ce94c Fix attachments duplication on message syncing with current device 2 years ago
audric e97ac5d7c7 make the DL spinner a styled component 2 years ago
Audric Ackermann 28892ce8cc
remove the deduplication by hash for opengroup messages
Relates #2069
3 years ago
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
3 years ago
warrickct 4576f3cb32 Merge branch 'clearnet' into message-requests 3 years ago
warrickct 86a9253144 Merge branch 'clearnet' into message-requests 3 years ago
Audric Ackermann 6f3625f99c
move the state of calling to its own slice 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 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>
3 years ago
audric f9988119f9 major UI rewrite of messages view with redux improvements 3 years ago
audric 9e37985d03 enable no-unused local and imports and fix tslint 3 years ago
Warrick Corfe-Tan ec447b2e2e network clear all WIP 3 years ago
Audric Ackermann 399041c5b3
cache identity pair and add some per measure 3 years ago
Audric Ackermann e8f0c4aaec
move libloki to webworker and remove unused stuff in it 3 years ago
Audric Ackermann 89a0868fc3
remove getInstance of conversationController to get() 3 years ago
Audric Ackermann 09d9db38e8
move taskWithTimeout to typescript 3 years ago
Audric Ackermann 2e475450ee
fix deduplication using a hash of recent messages 3 years ago
Audric Ackermann 722f240f3d
fix deduplication based on serverTimestamp 3 years ago
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding 3 years ago
Audric Ackermann e6d78d5830
fallback to envelope timestamp if dataMessage.timestamp is 0 3 years ago
Audric Ackermann c063848167
pad and unpad message everywhere
attachment not padded for opengroup only
3 years ago
Audric Ackermann 7b96aba1bf
padd Message buffer for all outgoing messages (even opengroupv2) 3 years ago
Audric Ackermann c77b24a2d4
fix avatar loading for opengroupv2 3 years ago
Audric Ackermann a26c5da6cb
Uniformize once and for all the conversation types
no more 'direct'. those are private convos
3 years ago
Audric Ackermann 98b69c17f0
add userblocking opengroupv2 and quoting back of messages 3 years ago
Audric Ackermann 34148e67ec
add return of url after v2 attachment upload 3 years ago
Audric Ackermann 35d66d8865
fix bug fetching new token every request 3 years ago
Audric Ackermann 3b30d13719
add some regex to identify Opengroupv2 vs Opengroupv1 convo Ids 3 years ago
Audric Ackermann e3e1296788
add constant openGroupPrefix: publicChat: and use it 3 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 3 years ago
Audric Ackermann c07271109f
Add a ConversationType OPEN_GROUP 3 years ago
Audric Ackermann 79193ee7be
refactor to Visible and ControlMessage types 3 years ago
Audric Ackermann 8716fbf495 improve sent message handling by setting the correct convoId at start 3 years ago
Audric Ackermann bb3641b39a remove the forceSave option for unprocessed message too 3 years ago
Audric Ackermann 25e03eba35 fix lint 3 years ago
Audric Ackermann 3ee0ccfac8 remove the forceSave logic for a message, always insert or replace 3 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
3 years ago
Audric Ackermann 2d7515cf0b
Merge branch 'clearnet' into move-models-to-ts-2 3 years ago
Audric Ackermann 6d28f343c9
try to decrypt unprocessed message when we get a new encryptionkeypair 3 years ago
Audric Ackermann ed84760f0e
add a tslint rule to forbid use of async without await 3 years ago
Audric Ackermann 36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2 3 years ago
Audric Ackermann b76ce0f2ff
update models to TS part2 3 years ago
Audric Ackermann a51f95d28c
move models to TS part1 3 years ago
Audric Ackermann b88ea110e8
Add multi device v2 support 3 years ago