Commit Graph

792 Commits (290cc5f8fee94c740fe4fdbe69e1f1f3a272bb82)

Author SHA1 Message Date
Audric Ackermann 84451399e3 Merge remote-tracking branch 'upstream/unstable' into closed-group-chunk1 2 years ago
William Grant 40014544d1 fix: closed group groupId is now PubKey only 2 years ago
Audric Ackermann 2ee4cad33e chore: move mocha config to .mocharc.yml to package.json is cleaner 2 years ago
William Grant ee38af12dd test: restructed tests to match feature folder 2 years ago
William Grant 5f3a0899f5 feat: moved remaining code into feature folder
also separated out legacy functions
2 years ago
Audric Ackermann ae67215a7e test: finished tests for userSyncJob 2 years ago
William Grant 0212166fcc feat: moved disappearing logic to a feature folder
only moved types and timerOptions so far
2 years ago
Audric Ackermann 9492fdc51e fix: first working test ios to desktop
still have some tests to fix
2 years ago
William Grant 286418976b test: updated ChatMessage with disappearing tests
for both modes
2 years ago
William Grant 06099966b0 fix: make sure to use convo getters
instead of backbone get function
2 years ago
William Grant d89741cb29 test: finished insertGroupsFromDBIntoWrapperAndRefresh 2 years ago
William Grant a2890925a5 test: fix groups wrapper values test 2 years ago
William Grant 4b93c5779a test: started libsession LegacyGroups tests
specifically insertGroupsFromDBIntoWrapperAndRefresh
2 years ago
William Grant bf690868f1 test: stub libsession workers in all places
instead of stub the set function
2 years ago
William Grant cc01da5a8a fix: use generated pubkeys
in disappearing message tests
2 years ago
William Grant bb95aef2d0 test: finished libsession_wrapper_user_profile tests 2 years ago
William Grant edfcbe2d67 fix: dont use ourNumber in contacts tests 2 years ago
Audric Ackermann ceffa1e13b test: add tests for pendingchangesforus 2 years ago
William Grant 3330c64761 test: started insertContactFromDBIntoWrapperAndRefresh 2 years ago
William Grant 36e114a662 test: throw when we want a defined result
this fixings the typings with test when look for props on objects
2 years ago
Audric Ackermann d134da3421 chore: renamed ConfigurationSyncJob to UserSyncJob 2 years ago
William Grant 8d87779554 chore: remove unneeded stubWindowLog calls 2 years ago
Audric Ackermann eb77c50fa9 chore: renamed GroupConfigurationJob to GroupSyncJob 2 years ago
William Grant 95852d8002 refactor: remove duplicate test
libsession_wrapper_test.ts
2 years ago
William Grant 3f843aa72c test: finished processGetExpiriesRequestResponse 2 years ago
William Grant 2cd51cc187 test: finished buildGetExpiriesRequest
added TypedStub type
2 years ago
William Grant a00b016233 test: wip getExpiriesRequest Started 2 years ago
Audric Ackermann c14276200e chore: merged what can be between user and group sync job 2 years ago
William Grant b9f1378133 test: finished processExpireRequestResponse 2 years ago
William Grant 16aad0c748 test: started processExpireRequestResponse 2 years ago
William Grant 1ce1924389 test: finished verifyExpireMsgsResponseSignature 2 years ago
William Grant f28bb66742 test: started expireRequest
added tests for buildExpireRequest
2 years ago
Audric Ackermann d9300e67a0 fix: remove the whole kind logic and use namespace instead
this is because session doesn't care about the config it receives
anymore and just forwards them to libsession
2 years ago
William Grant c4a9555ba8 test: added false case for isExpirationTimerUpdate 2 years ago
William Grant bde674cbac test: finished isExpirationTimerUpdate
added generateFakeExpirationTimerUpdate for testing
2 years ago
William Grant bf5bcae4ac refactor: rename generateDisappearingMessage
to generateDisappearingVisibleMessage
2 years ago
William Grant 6941682173 test: started updateExpireTimer 2 years ago
Audric Ackermann 0ef2df801e test: speedup onion tests by stubbing retries timeout 2 years ago
Audric Ackermann 51205424d6 test: add tests for GroupSyncJob 2 years ago
William Grant 4971267c69 test: finished checkForExpireUpdateInContentMessage 2 years ago
William Grant 5fbed0a5f6 test: function for generating disappearing messages 2 years ago
William Grant a1797e73d4 fix: remove unneeded comment 2 years ago
William Grant b280358081 test: finished changeToDisappearingMessageType tests
the last commit was actually for changeToDisappearingConversationMode
2 years ago
William Grant 769808bd5c test: finished changeToDisappearingMessageType tests 2 years ago
William Grant a9d1abbfff test: finished setExpirationStartTimestamp tests 2 years ago
William Grant 3a930eb323 test: start setExpirationStartTimestamp
tested different modes
2 years ago
William Grant cc0ef3502f feat: setup test outline for disappearing messages 2 years ago
William Grant 34940adda9 feat: backported user_profile test 2 years ago
William Grant 101762918c Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 6b3adff972 test: added a (still broken) test for key conflicts 2 years ago
Audric Ackermann e24ec9e1a8 test: added tests for metagroup members wrapper 2 years ago
Audric Ackermann cf44ea1da1 test: added tests for group info get/set 2 years ago
Audric Ackermann 9cf5d4d7c5 test: add unit tests for encrypting/decryption groups messages 2 years ago
Audric Ackermann 7c16ce9da4 fix: do not try to store contacts not matching pubkey regex in wrapper
also remove existing convo with spaces and 05 on start
2 years ago
Audric Ackermann cc7e6f03db test: add tests for swarmPolling of new groups 03 2 years ago
Audric Ackermann e69c5c4b35 chore: fixed unit tests 2 years ago
Audric Ackermann d12071f3c8 chore: big rename of convocontroller to convohub 2 years ago
Audric Ackermann e8e0e19b40 chore: added tests for SnodeSignatures calls 2 years ago
Audric Ackermann 1dc5224c26 test: added unit tests for pubkeys constructor checks 2 years ago
Audric Ackermann e220aeea91 feat: add working encrypt/decrypt for 03 group with libsession 2 years ago
Audric Ackermann 1a18054fae feat: add bump of config hashes for groups when we have admin key 2 years ago
Audric Ackermann 46e3675c45 feat: add function to redux to grab group detail outside of store 2 years ago
Audric Ackermann be50aa7a2e feat: add support for retrieve signs with admin key of group 2 years ago
Audric Ackermann 8c3b6508ad fix: wip before removing info+members+keys from protobuf kinds 2 years ago
Audric Ackermann 5b2580c48d feat: add poller changes and closed group keypair gen 2 years ago
William Grant 43276b069e Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 2d9fb7f18a chore: remove playwright and integration tests from this repo 2 years ago
Audric Ackermann c796afe4c8 Merge remote-tracking branch 'upstream/unstable' into integration_tests_2 2 years ago
William Grant 41af1e7865 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 953897cc1c
Merge pull request #2840 from Bilb/replace-tslint-with-eslint
Replace tslint with eslint
2 years ago
Audric Ackermann 63228a97ee chore: update pbjs package and make integration test more reliable 2 years ago
Emily b7e0d08a25 Adds data-testid to toggle to enable read receipts 2 years ago
Emily 7991c7eb58 adding new snapshot 2 years ago
Audric Ackermann ab946e69b1 fix: finish updating dependencies 2 years ago
William Grant 10561e4e3c Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann fe2d5ffe6d test: fix remaining integration tests
"Check profile picture syncs" is not fixed yet as it need to be fully
updated and not just fixed (not done as part of this eslint-related PR)
2 years ago
Audric Ackermann feaba36fa4 fix: picker emoji-mart errors after update 2 years ago
Audric Ackermann d43d6abbae chore: replace tslint with eslint and fix linting issues 2 years ago
William Grant 90cf82f795 fix: revert rm to rmdirSync so we don't remove config files before a test has been completed 2 years ago
William Grant d06446441c fix: resolved macOS config folder path for integration tests
we should use path.join instead of a hard strings for the application support folder
2 years ago
William Grant 905fe5aab9 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 83c7de8b88 test: fix test with feature flag userconfig off for now 2 years ago
Audric Ackermann 77acd1396b feat: add support for blinded25 receipt of messages for later impl 2 years ago
Emily 5e2e3840cf Changing tests names to match appium 2 years ago
Emily a00bca03a7 delete account from stash 2 years ago
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
3 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