Commit Graph

3467 Commits (afd63c230e7f7fea9e37bea53fb0c03845200511)

Author SHA1 Message Date
warrickct 065b8ab533 Added closing declined conversation requests if theyre open. Return to regular inbox on clear all. 3 years ago
warrickct af4457f68f Clicking message icon in action panel closes request overlay. 3 years ago
warrickct 07533232fb Move clear all button for request to bottom of overlay panel. 3 years ago
warrickct 5888fecda4 Add confirmation dialog for clear all message requests. 3 years ago
warrickct 79c1c52034 Dont send read receipts for msg requests or blocked convos. 3 years ago
Ian Macdonald 0c0543cc45
Use accent colour to distinguish last read indicator. 3 years ago
warrickct 1ca66e6bcf Fix read receipts being considered as inferred request approvals. Fix preventing subsequent request messages from reactivating the request banner. 3 years ago
warrickct c5afcb72df stack tracing 3 years ago
warrickct c2722ed87f fixing linting errors. 3 years ago
warrickct 08ba24c3c9 refactoring 3 years ago
warrickct 5437433232 Fix passing wrong values to convo list. 3 years ago
warrickct 93f37ba66f Refactoring to evaluate conversation request status in a single place. 3 years ago
warrickct 2b42290bca Fixing case where restoring device restores declined message requests. 3 years ago
warrickct 9338f2fc20 Fixed issue preventing approval message being shown as approval was set before handling config messages ending the handling early. 3 years ago
warrickct ba30dc57c2 Adding conditional to prevent adding multiple approval sync messages for the acceptor of the request. 3 years ago
warrickct 2b84a53959 Fixed conditional stopping sync of convo approval from firing due to inferred approval from polled messages with incoming direction. 3 years ago
warrickct 2d9679315c Fix convo screen request UI appearing when creating a new convo while having another convo active with incoming messages. 3 years ago
warrickct 5cc7ccbfa8 fixing accepted convos not appearing in inbox. removing blocked contacts from contact list. 3 years ago
warrickct 2258c6da4c Fixing linting errors. 3 years ago
warrickct 2957c131c0 removing blocked convos no longer appear in regular inbox and using processing of polled swarm messages to infer approval. 3 years ago
warrickct 18a739b05b update local UI for blocking all conversations. Removing some unused vars 3 years ago
warrickct a90960c502 Fix conditional for config message to avoid false negatives. 3 years ago
warrickct 539458fe8a Adding setting of approval fields on message processing. 3 years ago
warrickct 5002a77e60 Dont send typing message to unapprove conversations. 3 years ago
warrickct e5ecb9c106 Adding checks for potentially undefined fields on config messages to prevent false negatives. 3 years ago
warrickct 8ba0020a6c Add extra conditional for more than 1 message in the same chat. 3 years ago
warrickct 9bbac225ad Remove prevention of sending more than one message for an unapproved conversation. 3 years ago
Audric Ackermann 3fed22048b
rename a few loki to session 3 years ago
warrickct 8dfd748ce0 adding conditional for only 1-1 convos to disallow disappearing messages. 3 years ago
warrickct c0622d47f4 Disallow disappearing messages if convo is not approved by recipient. 3 years ago
warrickct f5972a5d1c Calling setting convo isApproved. Removing some unnecessary conditionals. 3 years ago
warrickct ffad806366 Prevent attachments being sent for unapproved conversations. 3 years ago
warrickct 09bcbe6139 Adding empty state for request list. 3 years ago
warrickct dcd78e85f6 QA fix - msg request accept buttons showing at wrong stage. 3 years ago
warrickct e049934510 Handling approval edge cases for restoring devices. 3 years ago
warrickct bfec321da7 PR changes 3 years ago
warrickct abc188e889 Additional PR changes 3 years ago
warrickct efa482b002 adding pr changes 3 years ago
warrickct 0db3c76756 Fixing linting errors 3 years ago
warrickct 893f7e99b8 Merge branch 'clearnet' into message-request-ui 3 years ago
warrickct 3138279a8d remove unapprove 3 years ago
warrickct c3d9912572 Adding handling of edge case for messaging clients without request approval update. 3 years ago
warrickct 6a02846829 Correcting merge 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
warrickct ee9156d4f8 Merge clearnet into message-request-ui 3 years ago
warrickct 8ebfa4b7a3 Move message receival UI toggling to event. 3 years ago
warrickct bc6edd7774 Adding unhiding of message request banner when receiving a new convo request. 3 years ago
warrickct 8eeec6b96c Exclude unapproved contacts/conversations from contacts list. 3 years ago
warrickct 7223fc067f Adding ability to view requests from settings. 3 years ago
warrickct 07f6681aae Refactoring subcomponents. Adjusting conditional inbox filters to always apply msg request logic. 3 years ago
warrickct ac8c4ac2eb Removing msg req feature flag. 3 years ago
warrickct 8a8a5ca82c removing pubkey from message request response. 3 years ago
warrickct f93a2e5fad Adding more PR review changes. 3 years ago
warrickct 36ca2a767c Adding PR changes 3 years ago
warrickct 0461454e27 Removing toast on request accept 3 years ago
warrickct 02cf6fea2b minor styling fixes 3 years ago
warrickct 11e6d80419 minor renaming. 3 years ago
warrickct d627b8e11d Requesting flow working with sending message as acceptance. 3 years ago
audric 5b34419461
disable selection update on emoji selected for now
this is kind of broken when adding emojis not at the end
3 years ago
audric 78b84d4ed8 call: pick a sample of 2 of the iceservers before creating connection 3 years ago
audric b1221c6809 call: show video buttons if the cursor is over the app anywhere 3 years ago
audric 5c8e4ef12b call: add local stream display in fullscreen 3 years ago
Audric Ackermann 445852eca1
split up a bit of the mentions/emoji input 3 years ago
Audric Ackermann 2478a78794
move mentions and emojify to a functional component 3 years ago
Audric Ackermann 19722b6bdc
remove other emoji dependency and use unicode to render them in message
Relates #2151
3 years ago
Audric Ackermann 8efc23d619
pull translations from crowdin 3 years ago
Audric Ackermann 1efe6ca728
click oin @ bring to latest mention 3 years ago
Audric Ackermann 42ccf06ff0
fetch last active users quicker on convo changes to public convo 3 years ago
Audric Ackermann a19a6a33c7
migrate already set nickname convo to name + profileName index 3 years ago
warrickct cdeac8f424 Adding protobuf changes for message request response. 3 years ago
Audric Ackermann a3eb80abcf
fix group updates outgoing message status in left pane 3 years ago
Audric Ackermann 5b6d0d25f5
fix typo noteSelf results and shortened pubkey for unknown contacts 3 years ago
warrickct 2d66b1db4e Adding styling to conversation window for a message request. 3 years ago
Audric Ackermann 07a1beae5e
exclude ids from search entry 3 years ago
Audric Ackermann d6a8f5e92b
allow searching for nickname or name for contacts 3 years ago
Audric Ackermann ceb5317160
remove profile_images as we are not using it 3 years ago
Audric Ackermann 98bdd53bd5
fix release build and decrese search results to 150 for messages 3 years ago
Audric Ackermann 40344bde52
move search logic to the search input component 3 years ago
Audric Ackermann 44f61073dc
move search results to styled components
and cleanup search logic and rendering of message results
3 years ago
Audric Ackermann 108d810fde
make sure pills of joinable room take 100% width if they can 3 years ago
Audric Ackermann 1e5a45d95b
cleanup timestamp display for search results 3 years ago
Audric Ackermann 280128ec43
update search result to have sender on the msg line 3 years ago
Audric Ackermann 1eba9dce30
merge messagesChanged and messagesAdded to a single redux event 3 years ago
Audric Ackermann b72b8e8387
fix tests 3 years ago
Audric Ackermann 949c36a42f
merge fetching more messages for top and bottom in the same flag 3 years ago
Audric Ackermann 9000c649f8
remove optional setToExpire and UnreadMessageIsAbove indicator 3 years ago
Audric Ackermann 4e638d162d
fix the scroll to bottom with button and on send message 3 years ago
Audric Ackermann 7d9f970b2c
remove decrypted_at field from saving message models as unused 3 years ago
Audric Ackermann 6f5bca6660
allow more characters to be used in display name
We just deny the one used to add markers around a mentions on the
desktop client. which is ᅭ

Relates #2132
3 years ago
Audric Ackermann b3a8692240
cleanup incoming message creation for displaying messageresult 3 years ago
Audric Ackermann 5afbd9c19e
cleanup creation of opengroup message on sync 3 years ago
Audric Ackermann 5e314e4dcc
remove 'recipients' message field and 'destination'
we do not need recipients as it makes no sense for us having medium
groups on the same pubkey

we do not need destination as it can always be guessed from the
direction and the type of conversation of that message
3 years ago
Audric Ackermann 00d2bbc63d
cleanup MessageSearchResults 3 years ago
Audric Ackermann 792c23da87
cleanup scroll to unread of quote or search result on open 3 years ago
Audric Ackermann d269693544
cleanup search of contacts excluding not active 3 years ago
Audric Ackermann a3be2c347d
fixup open convo on search, quote click or hit the bottom 3 years ago
Audric Ackermann 2b0a2cff46
rename console.warn to error or info depending on type 3 years ago
audric a21751c611
open convo on last unread, and can scroll up 3 years ago
warrickct fb862fe451 Updating message request overlay styling 3 years ago
warrickct 31f4e294c6 Altering message request banner styling 3 years ago
audric 12b00720f4 split up load more messages from top or bottom
also split up just fetching the last messages from fetching based on
unread/ lastTopMessageId
3 years ago
audric 381cb77ad9 fixup tsconfi complaining about playwright.config being above it 3 years ago
audric 83d27ed3b7 update quoted message to animate to have border-green instead of bg green 3 years ago
audric 62f0edf8cb cleanup console.warn calls 3 years ago
audric 247cb7c065 cleanup dependencies 3 years ago
audric e515ce3ca5 Merge remote-tracking branch 'upstream/clearnet' into cleanup-attachment 3 years ago
Audric Ackermann 15ae511bca
Merge branch 'clearnet' into small-refactor 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 6a403afb41
Merge pull request #2139 from warrickct/global-search-progress
Global Search and Database Trimming
3 years ago
warrickct 04241daa08 Fixin linting errors. 3 years ago
Audric Ackermann f07aba72df
Merge pull request #2136 from Bilb/global-search-off-clearnet
Global search off clearnet
3 years ago
warrickct 804c9a56b9 convert to functional component. Tweak colors for search results. Fix search result header incorrect color. Addressing PR comments from previous search branch. Experimenting trimming approaches. 3 years ago
audric fc916ce94c Fix attachments duplication on message syncing with current device 3 years ago
audric e97ac5d7c7 make the DL spinner a styled component 3 years ago
audric 4b39b46b6a replace invalid unicode in filename 3 years ago
audric 72409e3f1f make sure to keep error state of attachment DL failing 3 years ago
audric fe269a0cfe make sure to update displayName even if avatar failed to DL 3 years ago
audric 8159613626 make sure we do not useInterval if not expiring for expiretimer 3 years ago
audric cea2c2460a make sure screenshot of video attachment is saved locally 3 years ago
audric 9f0ae00317 fix up types for link preview generations 3 years ago
audric 131195e2de add another type for when an outgoing attachment was imported to app 3 years ago
audric 3338a3c75b remove fetching of description for link preview as we do not send it 3 years ago
audric 1c8e81d8e6 make sure to store generated thumbnail with the attachment message 3 years ago
audric 8feecb777b make sure to scale dowm preview in composition box 3 years ago
Audric Ackermann c7565fe7b3 Move scale/resize and attachment logic to typescript 3 years ago
Audric Ackermann 6992305e27
cleanup last commit 3 years ago
Audric Ackermann 4349b699cb
remove schemaVersion field and logic from message object 3 years ago
Audric Ackermann 580a59ba3c
refactor menu items to react components 3 years ago
Audric Ackermann cb8704f9b1
bump convo active_at on answered/trigger call 3 years ago
Audric Ackermann 9bb19540a9
add back deleteContact and deleteGroup translations 3 years ago
warrickct 3f4db67c1b Merge branch 'clearnet' into global-search-off-clearnet 3 years ago
Audric Ackermann 1c46d81a20
rename authorPhoneNumber to what ever makes more sense 3 years ago
Audric Ackermann 46d838218d
remove unused .md files for components 3 years ago
Audric Ackermann 62edcb0cc8
fetch translations from crowdin 3 years ago
Audric Ackermann 44c44ec174
Merge pull request #2122 from Bilb/remove-dedupe-by-hash-sogs
Remove dedupe by hash sogs + update electron
3 years ago
Audric Ackermann 72f4c284d9
Merge pull request #2121 from Bilb/no-delete-auth-token-pysogs
No delete auth token pysogs + update electron
3 years ago
warrickct 7846891359 Fix linting errors 3 years ago
warrickct 2122214ee4 Fixed contact names not showing for search results 3 years ago
warrickct 374d5a6619 Global search partially functioning, added basic functions for load testing performance. 3 years ago
Audric Ackermann 790120f484
add data-testid to sessionIdEditable 3 years ago
Audric Ackermann 0e39b6b152
minor rename 3 years ago
Audric Ackermann 28892ce8cc
remove the deduplication by hash for opengroup messages
Relates #2069
3 years ago
Audric Ackermann 1a8a839ba3
no need to deleteAuthToken anymore for opengroupv2 servers 3 years ago
Audric Ackermann 7b103226be
add 'contact' or 'group' to delete action menu
Fixes #2066
3 years ago
Audric Ackermann c5f69a2d95
pull translations from crowdin
Relates #2113
3 years ago
Audric Ackermann 6e102644c3
update english translations 3 years ago
Audric Ackermann 7b45635296
do not call home/end events if target is textbox
Closes #2114
3 years ago
Audric Ackermann 7033f38928
Merge pull request #2117 from Bilb/use-variable-for-settings-key
use variables for common settings key
3 years ago
Audric Ackermann 2822f8ddd2
Merge pull request #2116 from Bilb/move-confirm-right-dialogs
Move confirm right dialogs
3 years ago
Audric Ackermann dd52ad336f
use variables for common settings key
also turn off typing message by default
3 years ago