Commit Graph

191 Commits (804c9a56b93ca3a595f943f3e8907505f50d0097)

Author SHA1 Message Date
warrickct 804c9a56b9 convert to functional component. Tweak colors for search results. Fix search result header incorrect color. Addressing PR comments from previous search branch. Experimenting trimming approaches. 3 years ago
warrickct 7846891359 Fix linting errors 3 years ago
warrickct 374d5a6619 Global search partially functioning, added basic functions for load testing performance. 3 years ago
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 273d866b98
Cleanup message request (#2063)
* close incoming call dialog if endCall from seame sender

* disable message request toggle if featureFlag is OFF

* cleanup UI of message requests

* mark all existing conversations as approved in a migration

* fix regex with conversationID for opengroups
3 years ago
warrickct 4576f3cb32 Merge branch 'clearnet' into message-requests 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
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.
4 years ago
Warrick Corfe-Tan c3924f85a9 Adding blocking of individual requests and syncing of block to devices. Added approval by replying to a message. 4 years ago
Warrick Corfe-Tan 4ad14e4c5b Added syncing accepting of contact between running instances. 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 c880f7c8e9 fix timeout on saveSeenMessage job 4 years ago
audric d2e089b9ab do not count unread of muted conversation in count of total unread
Relates #1840
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 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 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 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 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 42f0d21740
generate attachment key on migration 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