Commit Graph

453 Commits (cac63a7edb98cb0bd34f7b1da17e2d6dbdc86ed0)

Author SHA1 Message Date
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
Audric Ackermann c7565fe7b3 Move scale/resize and attachment logic to typescript 3 years ago
Audric Ackermann 28c7445dce
refactor most of the components to outside of their Session folder (#2072)
* refactor most of the components to outside of their Session folder

* finish moving overlay and memberListItem to react hook

* fix bug with kicked member len >2 not being displayed

also sort admins first in UpdateGroupMembers dialog

* fix admin leaving text of groupNotification

* add a useFocusMount hook to focus input fields on mount

* make click avatar convo item open only user dialog

* cleanup config default.json

* make sure to use convoController to build sync message

* disable showing pubkey on opengroups

* add a pause on audio playback

Fixes #2079
3 years ago
Audric Ackermann cf44896a03
Minor call tweaks (#2051)
* show missed-call,started-call and answered call notification in chat

* fix types for createLastMessageUpdate

* show incoming dialog if we have a pending call when enable call receptio

* simplify a bit the avatar component

* move disableDrag to a custom hook

* speed up hash colors of avatarPlaceHolders

* fixup text selection and double click reply on message

* keep avatar decoded items longer before releasing memory

* add incoming/outgoing/missed call notification

also, merge that notification with the timer and group notification
component

* hangup call if no answer after 30sec

* refactor SessionInput using hook + add testid field for recovery

* disable message request feature flag for now

* fix merge issue

* force loading screen to be black instead of white

for our dark theme user's eyes safety
3 years ago
warrickct e32f20d8bc PR changes 3 years ago