Commit Graph

657 Commits (7b467d044d73570bf893a5c9dce56c06cfd1b8d7)

Author SHA1 Message Date
Emily 0e588cf045 Adding new function to check if element is deleted and wait for deletion if not 2 years ago
Audric Ackermann b5f85e029e test: fix integration tests except disappearing message one 2 years ago
Audric Ackermann 9a7ef4d373 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 4966cf9192 fix: a few integration tests broken with latest changes 2 years ago
Emily 15b53cab06 delete account 2 years ago
Emily 75addecb07 Adding test to delete account from device 2 years ago
Emily 91b84c5608 Adding test to delete account from device 2 years ago
Audric Ackermann 5d2d901aa0 Merge remote-tracking branch 'upstream/unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 3eb629e33e fix: cleanup convo selectors to hope to improve performances 2 years ago
Audric Ackermann 4637f4609a Merge remote-tracking branch 'yougotwill/disappearing_messages' into userconfig_disappearingmessage 2 years ago
Emily df56f0cdbf Adds in hardcoded accessibility ids for automated tests 2 years ago
Emily cda3007702 Adding accessibility ids into types, fixing disappearing messages and deleting from swarm test 2 years ago
Audric Ackermann db9fa14213 fix: don't update state on updates already included in our syncmessage 2 years ago
Emily 088a1e1e74 Fixes delete account from swarm test to check for contacts or conversations 2 years ago
Emily 75c42356c7 Adding in data test-id to path light and fixing disappearing messages test 2 years ago
Audric Ackermann 50459d8da8 chore: remove completely commented test files related to groupv3 2 years ago
Audric Ackermann 6676bf77f9 chore: fix unit tests for userconfig changes 2 years ago
Emily 4f66ff4c98 Removed double waitForAnimation function 2 years ago
Emily eeb94b937e Remove look for text in blocked user test and updated disappearing message test 2 years ago
Audric Ackermann 37639077a1 chore: fix the "Add contact to group" integrationt test 2 years ago
Audric Ackermann 739693024b test: fix create group integration test 2 years ago
Audric Ackermann 52291ff524 chore: update integration tests to use generic open and close function 2 years ago
Audric Ackermann eb04e75e33 chore: add cleanup of integration test linux cmd 2 years ago
Audric Ackermann 3827298078 Merge remote-tracking branch 'emily/integration_tests_2' into onboarding-with-integrationtest-2 2 years ago
Emily 9e3a569fac Adding tests set nickname, call checks, change profile picture on linked device and unsend message check. Adding into data-testids for aforementioned tests and cleaning up typings 2 years ago
Audric Ackermann 2a4bbbd587 feat: add the deleteContact and deleteConversation only menu items 2 years ago
Audric Ackermann 760ce5caa5 fix: add the maxSizeMap to have priority per retrieve namespaces 2 years ago
Audric Ackermann 44483b7d23 fix: use releaseFeature from disappearing message PR as featureFlag 2 years ago
Audric Ackermann 6fe6544d6c fix: split up migration of initial user config dumps into two 2 years ago
Emily eeb6cfb435 Adds data-testid to loading-animation, microphone recording button, recording permissions button, stop recording button, consolidates tests into user actions test, adds media to fixtures folder, updates linked device tests with avatar change, username change and group tests. Adds tests for messaging, sending image, video, document, gif and link with preview. Also updates reply message functionality to wait for loading animation 2 years ago
Audric Ackermann ce186517a3 chore: lint code 2 years ago
William Grant 12087da2be fix: repaired closed group disappearing messages 2 years ago
Audric Ackermann c2e3f1b587 chore: update libsession-util name & dependency 2 years ago
Audric Ackermann 3ecc89fab3 Merge remote-tracking branch 'upstream/master' into onboarding 2 years ago
Audric Ackermann dc329668fa chore: fix unit tests 2 years ago
Emily d64dbc163f Updates typing to User and Group, splits openApp function and create user function, updates saved test users for group upkeep function 2 years ago
Audric Ackermann 55a2767fce feat: do not approve a convo before sending the first message
but still sync it's state through the createdAt with libsession util
2 years ago
Audric Ackermann 3ff7281b6a chore: remove isGroup from the redux stored entry
as it is always = !isPrivate
2 years ago
Audric Ackermann f3975b545a feat: use priority for hidden and pinned conversation 2 years ago
Audric Ackermann 796ccf0582 feat: add handling and setting of the expireTimer for contacts 2 years ago
Audric Ackermann 1c50aacc34 chore: remove groupModerators sogs from the db, store in redux only 2 years ago
Audric Ackermann bf2456df8e chore: do not store mentionedUs and unreadCount as attribute in convo 2 years ago
Audric Ackermann f5efb52fea feat: remove closedgroupv3 uneeded stuff for now
also move the room stuff which can be kept in memory into another redux
slice
2 years ago
Audric Ackermann 21d8151b8b feat: add convo volatile info mgmt 2 years ago
Audric Ackermann c4e17d0825 fix: add mgmt of members in user groups wrapper 2 years ago
Audric Ackermann bc905bdba1 feat: start of community handling in libsession util
also remove tracking of hashes for config namespaces
2 years ago
Audric Ackermann 37e335097e chore: remove unused bdecode logic as it is now in libsession util 2 years ago
Audric Ackermann 3c58f9c1e4 feat: add a hidden flag for convos and use it with the contactswrapper 2 years ago
Audric Ackermann c4217cb564 feat: sync nickname, blocked and approved status for contacts 2 years ago
Audric Ackermann f88acdb567 feat: remove blocked group tracking separately from the pubkeys 2 years ago
mdPlusPlus 1d6ed17ac7 Fix typos via codespell 2 years ago
Audric Ackermann b2237efe51 feat: insert all contacts into wrapper before syncing it 2 years ago
Audric Ackermann 22329bc745 chore: cleanup FIXMEs and remove sig_timestamp as we cannot rely on it
we use timestamp instead of sig_timestamp for store requests
2 years ago
Audric Ackermann f215535f75 fix: set and get profile picture from libsession 2 years ago
Audric Ackermann 6bbb16b46d feat: track and delete configMessageHashes 2 years ago
Audric Ackermann 7c56310e69 feat: addConfSyncJob start 2 years ago
Audric Ackermann bb0112c6c5 feat: increase max upload size to 10MB 2 years ago
Audric Ackermann 4bfcf91193 fix: add return types for libsession wrapper functions 2 years ago
Audric Ackermann 90804491d6 feat: add job result enum with success, retry and permanent fail 2 years ago
Audric Ackermann 08a15b210a feat: move avatar downloading to JobRunner 2 years ago
Audric Ackermann 9cf1419ca5 feat: add first try to build SharedConfigMessages 2 years ago
Audric Ackermann 141c22ed43 tesat: add tests for the JobRunner class 2 years ago
Audric Ackermann b3995c117b feat: add a PersistedJobRunner which can handle SyncConfJobs 2 years ago
Audric Ackermann 2da2c95272 chore: cleanedup the stubbing logic 2 years ago
William Grant 504f60cb97 fix: resolved missing reactions in open groups, fixed mutation cache logic 2 years ago
Audric Ackermann 68852a9e63 chore: move syncUtils to its own folder 2 years ago
Audric Ackermann 6d1b406c85 fix: add namespace to all sending message calls 2 years ago
Audric Ackermann 0f58e11a17 chore: update with latest libsession wrapper 2 years ago
Audric Ackermann 5627ab4583 finish the .set and toCppContact function 2 years ago
Audric Ackermann ffe9e26d76 test: finish contact test but still missing the .set function 2 years ago
Audric Ackermann a77aa610f8 finish contact test1, still need to fix the .set with a struct 2 years ago
Audric Ackermann 1a65b7a7f2 feat: working calls to node module from renderer through worker 2 years ago
Audric Ackermann bace70c6bc chore: move util worker to its own folder 2 years ago
Audric Ackermann 65df3157bd chore: lint 2 years ago
Audric Ackermann 9749529e25 feat: add dependency to our libsession wrapper for nodejs
also add a basic test to make sure it works
2 years ago
Audric Ackermann 2a8d764bfb fix tests 2 years ago
Audric Ackermann fddfc8c501 fix: hide v3 closed group protobuf messages for now 2 years ago
Audric Ackermann 456d52ab1a fix: make sure we do not use "group" or "private" without the enum 2 years ago
Audric Ackermann 4b97f14edf fix: added batch requests for snode but signature fails 2 years ago
Audric Ackermann d7bcf1026f fix: refactor snodeRPC to use snode batching 2 years ago
Audric Ackermann 0e4920cb0d feat: add bencoded/decoded + tests 2 years ago
Audric Ackermann 32e00227a4
Merge pull request #2532 from Bilb/fix-deleted-messages-all-at-once
To merge once theming is done: handle deleted messages & deleted reacts all at once
2 years ago
Audric Ackermann ec5f3307ac test: fix integration tests 3 years ago
Audric Ackermann 69a07a8eb1 test: fix change avatar test 3 years ago
Audric Ackermann 256672e5a3 test: fix theme switch test 3 years ago
William Grant 5b44565b5f Merge branch 'clearnet' into theming 3 years ago
Audric Ackermann 4271e66fb6 feat: add custom sound for notification so it works for Linux too 3 years ago
Audric Ackermann 1ce8fd5979 fix: make circular buffer not recreate an array on each overflow 3 years ago
Audric Ackermann c617976be0 test: added tests for RingBuffer & sogsRollingDeletions 3 years ago
Audric Ackermann 460cbce119 fix: selected message box shadow and hide button while loading DB
also fix about/debug window first showing
3 years ago
William Grant 0d10667d6e feat: updated settings password modal 3 years ago
Audric Ackermann 3788f5a4d5
Merge pull request #2488 from Bilb/message-request-include-profile
Profile in messageRequest
3 years ago
Audric Ackermann 4ed837e57e fix: add test for MessageRequestResponse outgoing message 3 years ago
Audric Ackermann 2010fa89f5 test: fix integration tests 3 years ago
Audric Ackermann c6e3116b06 fix integration tests 3 years ago
Audric Ackermann 0eac74dd07 Merge branch 'dev' into menu-redesign 3 years ago
William Grant f138ea31b2 test: finished writing tests for sogs mutation cache
refactored processMessagesWithCachce function
3 years ago
William Grant 3060ffd25a test: added tests for adding and updating sogs cache entries
updated idForLogging for opengroups to be more verbose, updated reaction method calls to use exported Reactions object
3 years ago
William Grant b33ea096b4 fix: speed up reaction UI update for opengroups 3 years ago
William Grant 07c56e79f2 fix: make reaction UI updates when reacting faster in 1-1 and closed groups 3 years ago
William Grant 4889cb5b32 fix: ReactionList Senders is now an array since we want to handle opengroup reactions separately
we no longer need the messagehash and server id for rendering reactions in the UI, ignore reactions using the outdated type
3 years ago
Audric Ackermann ef1f634e6b Merge remote-tracking branch 'upstream/clearnet' into menu-redesign 3 years ago
Will G 267f49ff1e
Emoji Reacts (#2320)
Add support for emoji reacts in conversations

Resolves #2375 and #1577
3 years ago
Audric Ackermann 542c704b64 feat: add search by contacts to closed group overlay 3 years ago
Audric Ackermann cac63a7edb fix: integration tests with the new design 3 years ago
Audric Ackermann 9b405b86ab fix: do not attempt to connect to an sogs already join
make sure we consider http://, https:// and no protocol at all to look
for matches
3 years ago
Audric Ackermann 6f4b70e650 fix: allow non admin mods to delete message for deletion 3 years ago
Audric Ackermann 242d51ca8d
Id blinding + onionv4 + new endpoints for sogs and fileserver (#2347)
* Added Onionv4 support to file server, sogs and pn server
* Added blinded message support
* Updated endpoints for sogs and file server to remove legacy ones
3 years ago
Audric Ackermann 71a3e13ea5 test: fix new contact test to use waitForMatchingText 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 9bd8b73a0c
fix testnet 3 years ago
Audric Ackermann d948045e6a
added hf switching of poll&store requests + tests 3 years ago
Audric Ackermann 363977b358
add polling from namespace 0 and storing lastHash with namespace 3 years ago
Audric Ackermann 50ca1bcda9
added namespace field and signature using it for our own 'retrieve' 3 years ago
Audric Ackermann 71aa6e8bb4
lint and add test for getInitials and name with '-' as separator 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 2207b53890
add a test to make sure the targets in package.json are well formatted 3 years ago
Audric Ackermann b8498f7a2b
fix display of spinner while db decrypting 3 years ago
Audric Ackermann dbcae0f844
fix logs privacy test 3 years ago
Audric Ackermann c8e7be066e
remove messages from opengroup > 2k messages and older than 6 months 3 years ago
Audric Ackermann 335e452730
moved DebugLogView to components folder 3 years ago
Audric Ackermann 13e2f81f26
Merge remote-tracking branch 'upstream/clearnet' into node-side-in-ts 3 years ago
Audric Ackermann 4baedda349
add tests for opengroup utils 3 years ago
Audric Ackermann 5c9b34fb86
lint files 3 years ago
Audric Ackermann e5c54cc45e
added some test for DecryptingAttachmentManager 3 years ago
Audric Ackermann b76797d264
do not use a custom sandbox for testing
instead use the one from Sinon as it is exposed for a good reason
3 years ago
Audric Ackermann e11775a2e0
fix color of opengroup invitation 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 00d70db0be
queue user profile avatars update
also add some tests for the promise utils
3 years ago
Audric Ackermann a9cc9a7294
add tests for attachment metadata 3 years ago
Audric Ackermann 261940e978
fix tests 3 years ago
Audric Ackermann 0ebc1d7e92
split attachmnent logic between what is used on main and renderer 3 years ago
Audric Ackermann 2dfd09a7b1 app kind of start background side 3 years ago
Audric Ackermann 0cb4a13494
add tests for timerBucket icon
this marks unit test number 302, previous: 237
3 years ago
Audric Ackermann fd1657037a
add tests for emoji size rendering in messages 3 years ago
Audric Ackermann ba53330afd
add tests for getInitials 3 years ago
Audric Ackermann 15260c9718
move logging.js to ts 3 years ago
warrickct 821f4d73ff Merge branch 'clearnet' into msg-request-ui-2 3 years ago
Audric Ackermann 3fed22048b
rename a few loki to session 3 years ago
warrickct 0db3c76756 Fixing linting errors 3 years ago
Ian Macdonald 6613161b20
Don't nanny the user. Allow all file types as attachments.
The Android client already has no such restrictions, and these are
ineffective anyway, as they are based on the file's name, not its
payload.
3 years ago
Audric Ackermann ceb5317160
remove profile_images as we are not using it 3 years ago
Audric Ackermann 00d2bbc63d
cleanup MessageSearchResults 3 years ago
Audric Ackermann d269693544
cleanup search of contacts excluding not active 3 years ago
audric a21751c611
open convo on last unread, and can scroll up 3 years ago
audric 381cb77ad9 fixup tsconfi complaining about playwright.config being above it 3 years ago
audric 247cb7c065 cleanup dependencies 3 years ago
audric e515ce3ca5 Merge remote-tracking branch 'upstream/clearnet' into cleanup-attachment 3 years ago
burtonemily ffdf2519ca
Integration test (#2128)
* Testing playwright for Desktop automation

* converting tests from javascript to typescript and finishing create user automated test

* Trying to delete app data when test finishes, not through UI

* Undoing the code for clear database once test completes

* Creating POM for cleanup function

* cleanup function for playwright tests

* Creating a new user function, open electron function and clean up function

* fixes user object for new user function

* Adds a login function and start of send message test

* Creating test for sending messages, logging in and adding in data test id tags

* add more data-testid field

* updates new contact test, to have multiple windows and users running simultaneously

* updating clean up and new user test

* Fixing issues with creating new user

* new contact test

* New test to check password functionality

* make sure to cleanup data before running tests

* New group creation test and sending message function

* Adding new automated test for sending message to a contact

* create group test and updating new contact test to include date in test message

* updating package.json to remove webdriver and chromedriver and spectron

Co-authored-by: Audric Ackermann <audric@loki.network>
3 years ago