Audric Ackermann
738fc63a49
only return one logger instance and create log folder on fetch
...
Relates #1982
2021-10-28 16:42:49 +11:00
Audric Ackermann
01392b1c99
make sure the log folder exists before fetching it
...
Relates #1982
2021-10-27 16:31:16 +11: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
c880f7c8e9
fix timeout on saveSeenMessage job
2021-08-16 11:14:39 +10:00
audric
e5dab2781e
remove spectron dependency
2021-08-13 14:47:00 +10:00
audric
7a2d1c07a6
include a 32x32 icon for tray icon for gnome
2021-08-12 10:54:02 +10:00
audric
5384d65d78
darwin icon 16 size tray
2021-08-11 17:04:17 +10:00
audric
d2e089b9ab
do not count unread of muted conversation in count of total unread
...
Relates #1840
2021-08-11 16:15:32 +10:00
audric
751a8f1882
start in tray setting directly creates the tray icon
2021-08-10 13:47:37 +10:00
Audric Ackermann
19c6bebab0
make sure to retry fetch sqwarm with a new targetNode if needed
2021-08-02 14:33:39 +10:00
Audric Ackermann
7d4ae4ca6b
swallow exception while saving seen messages
2021-07-30 10:36:25 +10:00
Audric Ackermann
63cad6b05b
test with tray icon with default icon 1024 px
2021-07-29 10:11:57 +10:00
audric
b4477744ed
fix login with password
...
Fixes #1798
2021-07-28 17:25:20 +10:00
audric
4b8778d071
fix markRead using timestamp of now when scroll to bottom
2021-07-27 11:16:23 +10:00
audric
1054278a54
disable search in messages for now
2021-07-27 10:29:18 +10:00
audric
c2b5ac68d6
don't rely on scrollheight to calculate for ui Updates
...
as it causes a layout complete refresh
2021-07-22 10:20:09 +10:00
Audric Ackermann
92b6e51ac5
disable foreign-keys sql as we don't use them
2021-07-13 13:42:34 +10:00
Audric Ackermann
1b2a644e7a
fixed crash on leftpaneContactSection
2021-07-12 16:08:35 +10:00
Audric Ackermann
9a302fb5ff
add a cache of the keypairs for a closed group
2021-07-09 11:45:26 +10:00
Audric Ackermann
b385a9b101
test with better-sqlite3 bindings
2021-07-08 13:00:20 +10:00
Audric Ackermann
9213f20930
fix tests
2021-06-21 16:58:16 +10:00
Audric Ackermann
9204d2f5dd
remove importer
2021-06-21 16:54:20 +10:00
Audric Ackermann
b09c44c964
remove context in locales
2021-06-16 11:20:31 +10:00
Audric Ackermann
3f75fa54ad
delete one opengroupv1 message every 10 sec until there is no more
2021-06-11 15:14:52 +10:00
Audric Ackermann
9796f6fd52
limit the number of returned members to the last 300
2021-06-11 13:12:41 +10:00
Audric Ackermann
27fb732f50
cleanup unused prekeys table
2021-06-11 12:09:57 +10:00
Audric Ackermann
9cff53a256
call table names on sql when possible
2021-06-11 12:04:07 +10:00
Audric Ackermann
722f240f3d
fix deduplication based on serverTimestamp
2021-06-07 15:54:44 +10:00
Audric Ackermann
ecf409bed5
fix slow app while removing v1 convoss
2021-06-04 12:19:44 +10:00
Audric Ackermann
f3768a674a
short error on no network for retry sending message
2021-06-03 14:30:58 +10:00
Audric Ackermann
c516acdb2f
vaccum db on app start and enable SECURE_DELETE
...
Fixes #1550
2021-05-27 10:50:37 +10:00
Audric Ackermann
7b96aba1bf
padd Message buffer for all outgoing messages (even opengroupv2)
2021-05-07 10:16:15 +10:00
acuifex
08857d01b3
Merge branch 'clearnet' into clearnet
2021-05-04 15:41:23 +03:00
acuifex
bda5a6141a
fix tray menu
2021-04-28 09:20:38 +03:00
Audric Ackermann
6aa699ad23
fix deduplication for opengroups v1 & v2
2021-04-28 15:53:30 +10:00
Audric Ackermann
9d825dc2d2
add start of OpenGroup Pollers v2 to start of the app
2021-04-23 14:59:08 +10:00
Audric Ackermann
f7581cf4eb
increase prettier maxWidth to 100
2021-04-22 18:03:58 +10:00
Audric Ackermann
6896cffd75
Merge branch 'clearnet' into HEAD
2021-04-22 18:02:01 +10:00
Audric Ackermann
b9586c90ce
working open group v2 getInfo for https only
2021-04-20 14:52:02 +10:00
Audric Ackermann
ccf8a31ae3
move Attachments and Attachments_test to typescript
2021-04-14 10:34:48 +10:00
Audric Ackermann
42f0d21740
generate attachment key on migration
2021-04-14 10:33:52 +10:00
Audric Ackermann
050739b0ab
cleanup old blobs from time to time
2021-04-13 14:16:50 +10:00
Audric Ackermann
ed30be5334
fix attachments loading for avatar and exporting files
2021-03-26 16:31:27 +11:00
Audric Ackermann
5c6c5c2b8c
First commit encrypting attachments locally
2021-03-26 13:07:19 +11:00
Audric Ackermann
53d16d7dac
remove fallback to node-fetch
2021-03-24 10:30:23 +11:00
Audric Ackermann
bb3641b39a
remove the forceSave option for unprocessed message too
2021-02-19 17:46:13 +11:00
Audric Ackermann
25e03eba35
fix lint
2021-02-19 15:13:43 +11:00
Audric Ackermann
3ee0ccfac8
remove the forceSave logic for a message, always insert or replace
2021-02-19 13:01:24 +11:00
Audric Ackermann
7e77a3f3b6
remove unused functions in Data.ts and sql.js
2021-02-19 11:57:23 +11:00
Audric Ackermann
8ea9f02cec
Move data.js to data.ts
2021-02-15 15:16:52 +11:00