Commit Graph

388 Commits (12d9a8db78e198f3216eac8393b3f4ad0aa4d579)

Author SHA1 Message Date
Audric Ackermann 01392b1c99
make sure the log folder exists before fetching it
Relates #1982
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>
4 years ago
audric c880f7c8e9 fix timeout on saveSeenMessage job 4 years ago
audric e5dab2781e remove spectron dependency 4 years ago
audric 7a2d1c07a6 include a 32x32 icon for tray icon for gnome 4 years ago
audric 5384d65d78 darwin icon 16 size tray 4 years ago
audric d2e089b9ab do not count unread of muted conversation in count of total unread
Relates #1840
4 years ago
audric 751a8f1882 start in tray setting directly creates the tray icon 4 years ago
Audric Ackermann 19c6bebab0
make sure to retry fetch sqwarm with a new targetNode if needed 4 years ago
Audric Ackermann 7d4ae4ca6b
swallow exception while saving seen messages 4 years ago
Audric Ackermann 63cad6b05b
test with tray icon with default icon 1024 px 4 years ago
audric b4477744ed fix login with password
Fixes #1798
4 years ago
audric 4b8778d071 fix markRead using timestamp of now when scroll to bottom 4 years ago
audric 1054278a54 disable search in messages for now 4 years ago
audric c2b5ac68d6 don't rely on scrollheight to calculate for ui Updates
as it causes a layout complete refresh
4 years ago
Audric Ackermann 92b6e51ac5
disable foreign-keys sql as we don't use them 4 years ago
Audric Ackermann 1b2a644e7a
fixed crash on leftpaneContactSection 4 years ago
Audric Ackermann 9a302fb5ff
add a cache of the keypairs for a closed group 4 years ago
Audric Ackermann b385a9b101
test with better-sqlite3 bindings 4 years ago
Audric Ackermann 9213f20930
fix tests 4 years ago
Audric Ackermann 9204d2f5dd
remove importer 4 years ago
Audric Ackermann b09c44c964
remove context in locales 4 years ago
Audric Ackermann 3f75fa54ad
delete one opengroupv1 message every 10 sec until there is no more 4 years ago
Audric Ackermann 9796f6fd52
limit the number of returned members to the last 300 4 years ago
Audric Ackermann 27fb732f50
cleanup unused prekeys table 4 years ago
Audric Ackermann 9cff53a256
call table names on sql when possible 4 years ago
Audric Ackermann 722f240f3d
fix deduplication based on serverTimestamp 4 years ago
Audric Ackermann ecf409bed5
fix slow app while removing v1 convoss 4 years ago
Audric Ackermann f3768a674a
short error on no network for retry sending message 4 years ago
Audric Ackermann c516acdb2f
vaccum db on app start and enable SECURE_DELETE
Fixes #1550
4 years ago
Audric Ackermann 7b96aba1bf
padd Message buffer for all outgoing messages (even opengroupv2) 4 years ago
acuifex 08857d01b3
Merge branch 'clearnet' into clearnet 4 years ago
acuifex bda5a6141a fix tray menu 4 years ago
Audric Ackermann 6aa699ad23
fix deduplication for opengroups v1 & v2 4 years ago
Audric Ackermann 9d825dc2d2
add start of OpenGroup Pollers v2 to start of the app 4 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 4 years ago
Audric Ackermann 6896cffd75
Merge branch 'clearnet' into HEAD 4 years ago
Audric Ackermann b9586c90ce
working open group v2 getInfo for https only 4 years ago
Audric Ackermann ccf8a31ae3
move Attachments and Attachments_test to typescript 4 years ago
Audric Ackermann 42f0d21740
generate attachment key on migration 4 years ago
Audric Ackermann 050739b0ab
cleanup old blobs from time to time 4 years ago
Audric Ackermann ed30be5334
fix attachments loading for avatar and exporting files 4 years ago
Audric Ackermann 5c6c5c2b8c
First commit encrypting attachments locally 4 years ago
Audric Ackermann 53d16d7dac
remove fallback to node-fetch 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 7e77a3f3b6 remove unused functions in Data.ts and sql.js 4 years ago
Audric Ackermann 8ea9f02cec Move data.js to data.ts 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 ea2c4437a3
cleanup models with unused events
also, sort message from DB and on redux by sent_at or received_at when
not a public group
4 years ago
Audric Ackermann 3b3378a2ee
finish explicit group updates 4 years ago
Audric Ackermann 334da0a169
finish explicit group updates 4 years ago
Audric Ackermann 6e11c6db2e
remove all reference to closed group update v2 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 d43ae09eb0
first working version of closed group v2 4 years ago
Audric Ackermann 2f2eb2ad53
link back backbone conversation events to redux store 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 5c8c457282
add and use MESSAGE_TABLE const in sql.js 5 years ago
Audric Ackermann e0e0830d3b
remove all ratchet when needed to get fresh senderKey from members 5 years ago
Audric Ackermann 09a93d0648
adress reviews 5 years ago
Audric Ackermann c9b847e464
handle duplicate convos when removing prefix.
we drop the convo with the less messages to keep the unique constraint on
conversation IDs
5 years ago
Audric Ackermann 4505bed61b
add migration to drop existing textsecure prefix from group convo ids 5 years ago
Audric Ackermann b6c7c41402
fix read-receipt being sent onFocus on invalid conversation 5 years ago
Audric Ackermann 48d271578b
fix segfault on app start with tray icon 5 years ago
Audric Ackermann b96ddf4f07
drop duplicate message with a timestamp close to the sent one 5 years ago
Audric Ackermann 76664d9a11
use created_at for public group to order messages 5 years ago
Audric Ackermann c35e1008a5
remove getAllPrivateConversations 5 years ago
Audric Ackermann fec3a0f643
remove install_view.js 5 years ago
Audric Ackermann 70b739d24f
update translation to match android - part 1 5 years ago
Mikunj 49b994367d Remove multi device data.
Force wipe secondary devices.
5 years ago
Audric Ackermann e806e912a3
move password_utils.js to typescript 5 years ago
Audric Ackermann 89579ebd35
refactor SessionPasswordModal to handle errors on length 5 years ago
Mikunj 9e14615cd2 Remove RSS Feeds 5 years ago
Maxim Shishmarev d5a98b8b47 Remove swarm nodes from conversations 5 years ago
Maxim Shishmarev 0904e7a8ca Refactor from message polling to content message handling 5 years ago
Audric Ackermann 4865b72e93
Merge remote-tracking branch 'upstream/clearnet' into receiver-remove-friend-request-logic 5 years ago
Audric Ackermann 28fb1dd12a
address PR reviews 5 years ago
Audric Ackermann eb9a838af1
remove friends from UI logic 5 years ago
Audric Ackermann 66de8d9648
remove plenty of the friend logic 5 years ago
Mikunj c8414fdce6 Simplify sql and data files 5 years ago
Mikunj e6139a5463 Merge branch 'clearnet' into message-sending-refactor 5 years ago
Audric Ackermann fa853538d0
LINT after prettier upgrade 5 years ago
Audric Ackermann 3edff1e364
remove old pairing authorisation when adding a new one 5 years ago
Maxim Shishmarev debb922521 Medium groups with sender keys essentials 5 years ago
Mikunj 0e4f9b4743 Remove duplication 5 years ago
Mikunj a2b60cdd2a Remove token data upon registration reset 5 years ago
Mikunj 8f453bc12e Fix unnecessary db calls 5 years ago
Mikunj Varsani 24a3e05154
Revert "Revert "Clean up unused dependencies."" 5 years ago
Vince 5ff7476359
Revert "Clean up unused dependencies." 5 years ago
Mikunj 828444aadc Linting 5 years ago
Mikunj b38c666e95 Remove js-sha512 5 years ago
Audric Ackermann 9ff16d7e60
move to electron spellchecker 5 years ago
Mikunj 9f58579243 Minor fix 5 years ago
Mikunj fa387b5dfa Linting and review fix 5 years ago
Mikunj 0cccc70b9b Fix integration test running on the wrong environment 5 years ago
Mikunj 3f5a8e7b1b Remove redundance LOKI_DEV variable in scripts 5 years ago
Mikunj b97a68c7f6 Guard against empty NODE_APP_INSTANCE 5 years ago