Commit Graph

508 Commits

Author SHA1 Message Date
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
2021-11-29 17:40:46 +11:00
warrickct 9823a700e2 Addressing PR fixes 2021-11-24 11:14:24 +11:00
warrickct 86a9253144 Merge branch 'clearnet' into message-requests 2021-11-22 17:24:53 +11:00
warrickct 2e2941ba9b message request refactoring. 2021-11-22 12:08:48 +11:00
warrickct 2eab74246b PR changes. Disabling message requests behind feature flags. 2021-11-16 13:46:59 +11:00
Audric Ackermann 390af96514
WIP 2021-10-29 16:24:22 +11:00
Audric Ackermann dd281de903
cleanup feature flags 2021-10-27 13:57:14 +11:00
Audric Ackermann 5d9565a559
fix menu action for unsending messages 2021-10-26 16:08:04 +11:00
Audric Ackermann 314b76388f
WIP 2021-10-25 17:24:37 +11:00
Audric Ackermann f74ce2a3ae
msg with attachments gets no bigger than the attachment container 2021-10-21 17:07:57 +11:00
Audric Ackermann 99b139f5c4
split settings folder and start adding the settings for video call 2021-10-21 13:18:50 +11:00
Audric Ackermann bd53490d80
enable unsend requests 2021-10-15 12:18:20 +11:00
Audric Ackermann 6bd8b3695a
remove deferred promise unused 2021-10-05 16:37:10 +11:00
Audric Ackermann 1e8c8991ad
more cleanup 2021-10-04 10:56:54 +11:00
Audric Ackermann fa32e61982
network delete_all force retries if we get a 421 2021-09-29 17:04:38 +10:00
Audric Ackermann d55c96cb67
setup webrtc between two pubkey 2021-09-22 11:55:30 +10:00
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>
2021-09-20 13:47:59 +10:00
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
2021-09-16 14:48:46 +10:00
Audric Ackermann ab75f945ff
Ask confirm before delete account (#1910)
* disable sending on enter while composing

Fixes #1899 #1497

* ask confirmation before deleting account

* fix app start delete db when passowrd error

* fix double dialog issue with delete account

* fixup login screen
2021-09-16 14:42:13 +10:00
audric 1af08311dd fix tray cannot be destroyed
Relates #https://github.com/electron/electron/issues/17622
2021-08-13 15:44:32 +10:00
audric e5dab2781e remove spectron dependency 2021-08-13 14:47:00 +10:00
audric 1ffadad2ad remove ip_url from seed nodes as this is unused 2021-08-12 14:24:20 +10:00
audric c58312e853 do not render typing animation at all if not typing 2021-08-11 12:28:44 +10:00
audric 751a8f1882 start in tray setting directly creates the tray icon 2021-08-10 13:47:37 +10:00
audric 612e99af4a add a setting to start the app with a tray icon
Relates #1759
2021-08-10 11:57:27 +10:00
audric c276bf8dbe fix delete_all endpoint for testnet 2021-08-06 10:59:32 +10:00
Brice-W c415c715a5 added access to camera check 2021-07-30 16:44:01 +10:00
Brice-W 347038cf82 added microphone access check 2021-07-30 16:31:35 +10:00
audric 4f5072ee65 Merge remote-tracking branch 'upstream/clearnet' into perf-improv 2021-07-21 09:47:10 +10:00
Brice-W 8256451ec6 enable pinning conversations 2021-07-20 15:06:58 +10:00
Audric Ackermann af00c31a54
remove blake2b unused stuff 2021-07-12 17:28:23 +10:00
Audric Ackermann 02bc52f5ec
remove decrypt-lns unused 2021-07-12 17:27:12 +10:00
Audric Ackermann 85e0c9cf36
remove backup_test, backup and crypto related to backup only 2021-07-12 17:25:44 +10:00
Audric Ackermann 5b0b165ba9
Merge remote-tracking branch 'upstream/clearnet' into perf-improv 2021-07-12 13:01:23 +10:00
Brice-W ff7f201e04 add feature flag 2021-07-07 10:19:35 +10:00
Audric Ackermann c8aa73626e
do not load right panel data unless it is visibl 2021-07-06 14:02:47 +10:00
Audric Ackermann ef0b07bb7a
WIP 2021-07-01 14:39:13 +10:00
Audric Ackermann e090b8e8c6
remove getInstance on swarmPolling 2021-06-24 15:28:20 +10:00
Audric Ackermann e9e718bfcb
remove getInstance on MessageController=> getMessageController 2021-06-24 15:20:47 +10:00
Audric Ackermann 0b410404a3
remove keypair request manager 2021-06-24 15:19:04 +10:00
Audric Ackermann 89a0868fc3
remove getInstance of conversationController to get() 2021-06-24 15:10:38 +10:00
Audric Ackermann 9204d2f5dd
remove importer 2021-06-21 16:54:20 +10:00
Audric Ackermann 93e43fe929
move conversation dialogs to redux store 2021-06-18 14:31:16 +10:00
Audric Ackermann b4fc19fa78
remove lodash calls left from window 2021-06-17 17:00:59 +10:00
Audric Ackermann 744be229b7
move the PN server notify() to not use dot_net_api 2021-05-31 12:16:48 +10:00
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
2021-05-31 11:22:37 +10:00
Audric Ackermann a2ee3ac98f
Merge remote-tracking branch 'upstream/clearnet' into scoring-system 2021-05-26 14:15:54 +10:00
Audric Ackermann 8c726fd745
reupload avatar every 10 days 2021-05-25 13:19:57 +10:00
Audric Ackermann a2ea02960e
add some retries for not already retries requests 2021-05-24 16:03:52 +10:00
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding 2021-05-19 15:54:31 +10:00