Commit Graph

222 Commits (51575d2f565892d64d9a0a21f6efc12b2ad13242)

Author SHA1 Message Date
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
Audric Ackermann 135fc3b366
remove prekeys 4 years ago
Audric Ackermann d43ae09eb0
first working version of closed group v2 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 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 70b739d24f
update translation to match android - part 1 5 years ago
Mikunj 49b994367d Remove multi device data.
Force wipe secondary devices.
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
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
Maxim Shishmarev 0221e7b8c0 fix linter warnings 5 years ago
Maxim Shishmarev 3a746109ea Path building for onion requests 5 years ago
Mikunj 78389440c0 Update sqlcipher to 4.2.0. 5 years ago
Ryan Tharp d9bd481366 Make RSS feed names match iOS 5 years ago
Ryan Tharp 2b53146362 make RSS feeds title case match 5 years ago
Vincent de4edf9252 CLosed groups ui initial listprops 5 years ago
Vincent 9dcc851ebd Updated all icon references 5 years ago
Maxim Shishmarev d910633422
Merge pull request #746 from msgmaxim/no-autojoin-loki-chats
Disable auto-joining default loki open groups
5 years ago
Maxim Shishmarev cf10a19b34 Disable auto-joining default loki open groups 5 years ago
Maxim Shishmarev 033492a200 Sort messages by sent_at 5 years ago
Beaudan Brown 685ada5cc5 Merge branch 'clearnet' into prep-merge 5 years ago
sachaaaaa 2c1375e42a Fix recurring memory leak in mentions 5 years ago
Beaudan Brown de0a5c7b78 Unique constraint and prevent some undefined bugs 6 years ago
sachaaaaa 8df692901a Merge branch 'clearnet' into multi-device
* clearnet:
  set active_at to now() for public channels
6 years ago
sachaaaaa 634d274ffc
Merge pull request #531 from sachaaaaa/remove_all_private_conv
[multi-device] Remove private convs only
6 years ago
sachaaaaa 8ce21b13fe Remove only private conversation during secondary registrations steps to keep public chats in db 6 years ago
sachaaaaa 5a8ab00a96 Rename pairing getters to specify secondary or primary. Add getGrantAuthForPrimary. 6 years ago
sachaaaaa 7d7eea9547 set active_at to now() for public channels 6 years ago
sachaaaaa f8e9e1d3bd Remove rejected authorisation from database 6 years ago
sachaaaaa 0426d85e7a Merge branch 'clearnet' into multi-device
* clearnet: (136 commits)
  Fix more check on deletion.
  Only shorten pubkeys if name is present
  Shorten pubkeys in quotations too
  better guard
  pass serverId back to the server
  Bump version.
  Purge cache on failure.
  Fix unnecessary link preview fetches.
  Review changes. Increase mod time to 30 seconds.
  Undo defaultPublicChatServer change,
  Modified colour of dark mod badge
  Linting.
  Updated design
  Show crown icon for moderators
  Fix last hash all being NULL in database
  Poll for moderators, store them on the conversation and use the list to determine our own mod status
  Make sure we are always updating the last deleted id
  Update ts/components/conversation/FriendRequest.md
  Fix #355 Display timestamp for friend requests
  Fix duplicate detection for sent messages in public chat
  ...

# Conflicts:
#	app/sql.js
#	js/background.js
#	js/models/messages.js
#	js/views/app_view.js
#	libloki/crypto.js
#	libtextsecure/message_receiver.js
6 years ago
sachaaaaa d17f86679f
Merge pull request #495 from sachaaaaa/fix_unknown_signedkey
[multi-device] Ensure the latest contact signed prekey is used
6 years ago
sachaaaaa 6de6b762e6 Ensure the latest contact signed prekey is used 6 years ago
sachaaaaa d3c3184405 Search returns primary device when looking up secondary pub key 6 years ago
sachaaaaa b10835ffc7 Share contact upon authorising secondary device 6 years ago
Beaudan Brown 6f995d6a96 Resolve linter issues 6 years ago
Ryan Tharp b4277532d6
Update app/sql.js
Co-Authored-By: Beaudan Campbell-Brown <beau@loki.network>
6 years ago
Ryan Tharp dffcf51f88 add defaultPublicChatServer to config 6 years ago
sachaaaaa 35b6182074 Clean up after account registration failure 6 years ago
Beaudan Brown 6392c77952 Fix database helpers 6 years ago
Beaudan Brown 700ed5d2a8 Some refactoring from reviews, and include the token in the message pipeline instead of getting in message_api 6 years ago
Beaudan Brown 716e142ac4 Reviews 6 years ago
Beaudan Brown 37366198fc Add database tables and helper functions for public server auth 6 years ago
sachaaaaa a4411007b0 Pairing authorisations: refactor proto, change sql table, add getters 6 years ago
Beaudan Brown 895cedc801 Lint 6 years ago
Beaudan Brown 3f4b94ba74 Transition to initialising rss feeds in schema update 6 years ago
sachaaaaa edd800d382 Make linter happy 6 years ago
sachaaaaa 88c1454c18 Use Loki Schema for database versioning 6 years ago
sachaaaaa d208614909 Multi-device part 1: make primary account generate and send authorisation to secondary 6 years ago
Beaudan c9f433fbba Save message id when sending/receiving to/from public server and lint 6 years ago
Beaudan 899bfc3b2b Add channel id to message table and provide helper functions 6 years ago
Beaudan 1fc2173d9b Update header template to display group names properly and update migration to only store name for public chat 6 years ago
Beaudan 014558d939 Squash and clean of old PRs, move towards sending cleartext again 6 years ago
Beaudan 90f788c591 Add the server and channel plus proper displayName 6 years ago