Commit Graph

196 Commits (ad9fa6dbee2e5eadb741d0df67e5e8a550500038)

Author SHA1 Message Date
Audric Ackermann 9251711fa5
fix: optmize markAllAsRead when no expiration timer
we basically do a single sql call to mark everything as read for that
conversation, force unreadCount to 0 and mention state to false, and
trigger read syncs if needed.

the optomization cannot work for conversation with expiration timer for
now
3 years ago
Ian Macdonald 0a5add5869
Update message expiry comment to match what the code does.
The code was changed in c8e7be066e on
2022-04-20, but the associated comment was not updated accordingly.
3 years ago
Audric Ackermann 3713e95a9f
feat: ask user for opengroup pruning on/off 3 years ago
Ian Macdonald 695e867221
Add setting to specify minimum age of open group messages to prune.
When an open group has more than 2000 messages, those older than the
specified number of months will be pruned on application start-up.

Fixes #2310.
3 years ago
Audric Ackermann ec76057c5e
Merge integration test (#2313)
* Testing playwright for Desktop automation

* add more data-testid field

* remove commited test-results

* test: skip group upkeep for now

* test: mention test create group instead of restoring from seed

* test: run on testnet

* fix: revert messagebanner unread count changes

from commit 8107d75e89

Co-authored-by: Emily <emily@oxen.io>
3 years ago
Audric Ackermann 02ed40455f
fix: run the cleaning opengroup transaction on startup 3 years ago
Audric Ackermann 623ad33923
fix start of app without account setup 3 years ago
Audric Ackermann 6c05ff3c07
move useTestNet to featureFlag dependent on ENV variables 3 years ago
Audric Ackermann 9bd8b73a0c
fix testnet 3 years ago
Audric Ackermann 363977b358
add polling from namespace 0 and storing lastHash with namespace 3 years ago
Audric Ackermann 851d5280e0
fixup build appImage sqlite3 module not found 3 years ago
Audric Ackermann 0efce6ea2d
updating workflows actions version 3 years ago
Audric Ackermann 4010373a7b
make sure we do not save more than one entry in the read_by
Session has read by only for private chats, so we do not care about
having more than one entry  in read_by
3 years ago
Audric Ackermann 368c0cd01b
drop sourceDevice and other unused json fields from msg table 3 years ago
Audric Ackermann 5c8e2b4044
cleanup swarm unused after removing unused convos 3 years ago
Audric Ackermann b8498f7a2b
fix display of spinner while db decrypting 3 years ago
Audric Ackermann 7c1707f48e
drop old messages of opengroup 3 years ago
Audric Ackermann c8e7be066e
remove messages from opengroup > 2k messages and older than 6 months 3 years ago
Audric Ackermann 5c9b34fb86
lint files 3 years ago
Audric Ackermann add267ae69
make the util worker be bundled with parcel 3 years ago
Audric Ackermann af9d2fdfa1
get rid of libtextsecure.js and componnets.js 3 years ago
Audric Ackermann 323b7ec45c
cleanup >2 months old messages in opengroups 3 years ago
Audric Ackermann 01bb200b24
reduce number of commits during opengroup handling of message 3 years ago
Audric Ackermann 062db5caab
move filterDuplicatesFromDbAndIncoming to its own file and test
also add pending tests to do for in memory db and updater
3 years ago
Audric Ackermann 0158fd5ebb
filter duplicates on opengroup poll in a single sql call 3 years ago
Audric Ackermann 00d70db0be
queue user profile avatars update
also add some tests for the promise utils
3 years ago
Audric Ackermann 475c92eeb4
migrate about_start to not use jquery 3 years ago
Audric Ackermann f164302617
remove files which shouldn't be here 3 years ago
Audric Ackermann 261940e978
fix tests 3 years ago
Audric Ackermann 940972db2f
fix libsodium call from webworker 3 years ago
Audric Ackermann 0ebc1d7e92
split attachmnent logic between what is used on main and renderer 3 years ago
Audric Ackermann 9f8920ef2c mostly working but need to improve perfs 3 years ago
Audric Ackermann 4d72b92b25 app starts but full of errors 3 years ago
Audric Ackermann 2b17ad5cfa WIP 3 years ago
Audric Ackermann 280cc494e8 test with webpack - not working 3 years ago
Audric Ackermann 2dfd09a7b1 app kind of start background side 3 years ago
Audric Ackermann 5bc576249b move signal.js to TS 3 years ago
Audric Ackermann ff43cfa593 move worker_interface and logs and i18n to TS 3 years ago
Audric Ackermann 0dfa3e35cc refactor main_node.js to TS 3 years ago
Audric Ackermann 70ee8cefdc WIP sql.js 3 years ago
Audric Ackermann 9f3379e702 moved global_errors.js to ts 3 years ago
Audric Ackermann f433acda77 move config.js to typescript 3 years ago
Audric Ackermann 175c0e4843 move logging.js to ts 3 years ago
Audric Ackermann d37d7af667 moved permissions.js to ts 3 years ago
Audric Ackermann 5b1379f930 move protocol_filter to typescript 3 years ago
Audric Ackermann 38774a9344 moved a bunch of node files to typescript 3 years ago