Commit Graph

444 Commits (557c2b8d2884a16046c9260f0a57b0509600d09a)

Author SHA1 Message Date
Audric Ackermann 6bd835dfc3
move storage.js to ts 3 years ago
Audric Ackermann 74cf88cf81
create closed group mark as approved
also, do not filter closed group based on the isApproved field in redux
3 years ago
Audric Ackermann 49bae1925d
open message request reset opened convo and is a settings itself 3 years ago
Audric Ackermann 461ce4a7fb
Merge branch 'clearnet' into fix-unread-indicator-light 3 years ago
Audric Ackermann ad653e4aac
change sent background and text color for light mode
use black text on green instead of white on darker green
3 years ago
Audric Ackermann e853f57e6b
fix unread indicator color for light theme 3 years ago
Audric Ackermann 71aa6c813c
Merge remote-tracking branch 'upstream/clearnet' into fix-i18n-with-dollars-sign 3 years ago
Audric Ackermann 75c7c7c27f
try a fix to prevent window from jumping with low number of messages 3 years ago
warrickct cf6a5b3446 Request banner appearing and tallying based on only unread requests 3 years ago
warrickct 451fb351a3 removing comments 3 years ago
warrickct e4f4328232 rename request evaluating function for clarity. Prevent disappearing messsages from being activated by request recipient before the request has been accepted. 3 years ago
warrickct 3be0f86978 Menu options have black text when highlighted. 3 years ago
warrickct 56c1a06a28 Adding rightclick accept/decline menu options for message requests. Adding hide menu item for message request banner. 3 years ago
warrickct 600ef86ea7 linting fixes 3 years ago
warrickct 065b8ab533 Added closing declined conversation requests if theyre open. Return to regular inbox on clear all. 3 years ago
Ian Macdonald 0c0543cc45
Use accent colour to distinguish last read indicator. 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 5cc7ccbfa8 fixing accepted convos not appearing in inbox. removing blocked contacts from contact list. 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
Audric Ackermann 3fed22048b
rename a few loki to session 3 years ago
warrickct dcd78e85f6 QA fix - msg request accept buttons showing at wrong stage. 3 years ago
warrickct ee9156d4f8 Merge clearnet into message-request-ui 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 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 36ca2a767c Adding PR changes 3 years ago
warrickct d627b8e11d Requesting flow working with sending message as acceptance. 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 d6a8f5e92b
allow searching for nickname or name for contacts 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 1eba9dce30
merge messagesChanged and messagesAdded to a single redux event 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 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 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 62f0edf8cb cleanup console.warn calls 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
Audric Ackermann 6a403afb41
Merge pull request #2139 from warrickct/global-search-progress
Global Search and Database Trimming
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 72409e3f1f make sure to keep error state of attachment DL failing 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 1c46d81a20
rename authorPhoneNumber to what ever makes more sense 3 years ago
warrickct 374d5a6619 Global search partially functioning, added basic functions for load testing performance. 3 years ago
Audric Ackermann 38325215e6
Unban UI (#2091)
* adding basic functionaliy for unbanning a user

* merge ban and unban user dialog in to one dialog

Co-authored-by: warrickct <warrickct@gmail.com>
3 years ago
Audric Ackermann 58dc3e26ca
reactify group updates text bubble from redux store (#2083) 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 48e7a0e25f
Various UI fixes (#2070)
* cleanup unused convo json fields in db

* display a toast if the user is not approved yet on call OFFER received

* enable CBR for calls

* do not update active_at on configMessage if !!active_at

* remove mkdirp dependency

* disable call button if focused convo is blocked

* quote: do not include the full body in quote, but just the first 100

* click on the edit profile qr code padding

* Allow longer input for opengroup join overlay

Fixes #2068

* Fix overlay feature for start new session button

* make ringing depend on redux CALL status

* turn ON read-receipt by default
3 years ago
Audric Ackermann 1a699879cf
Add call duration (#2059)
* add call duration once connected

* close incoming call dialog if endCall from same sender

* disable message request toggle if featureFlag is OFF
3 years ago
Audric Ackermann 651b1c4376
Fetch translations (#2056)
* 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

* add type for i18n to run update after crowdin  fetch with tools/updateI18nKeysType.py

* update to latest translations
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
Audric Ackermann bef9058ffe
Merge branch 'clearnet' into message-requests 3 years ago
warrickct f17b923add Fixing rimraf transpile bug. Adding PR fixes - icon buttons. 3 years ago
warrickct e32f20d8bc PR changes 3 years ago
warrickct 4576f3cb32 Merge branch 'clearnet' into message-requests 3 years ago
warrickct c3e58f725e Adding trigger logic for conversation filtering of requests. 3 years ago
warrickct 97fe0c7a7a Merge branch 'clearnet' into message-requests 3 years ago
warrickct 9823a700e2 Addressing PR fixes 3 years ago
warrickct 2d664a2df7 Applying PR changes. 3 years ago
Audric Ackermann 5ba7f20162
speed up fetching closed group's members avatar 3 years ago
Audric Ackermann 8fea533124
darken a bit the green of sent message box in light theme 3 years ago
warrickct 86a9253144 Merge branch 'clearnet' into message-requests 3 years ago
warrickct f0161ec338 More formatting and linting 3 years ago
warrickct 9c9a43ee97 Adding improvements to message request handling. 3 years ago
Audric Ackermann d5f6180ae6
create offer and answer ourselves and do not use the negotiation needed
event.

this event is causing us to loop in negotiation needed when each side
try to create one, gets the answer and so on...
3 years ago
warrickct 2e2941ba9b message request refactoring. 3 years ago
Audric Ackermann 6f3625f99c
move the state of calling to its own slice 3 years ago
Audric Ackermann 1d3a89f058
hide activeAt = 0 convo from search results
Fixes #2033
3 years ago
warrickct 2eab74246b PR changes. Disabling message requests behind feature flags. 3 years ago
Audric Ackermann 1203f1dc48
remove none state on callState. instead set it to undefined 3 years ago
Warrick Corfe-Tan cb5551c1e9 PR changes 3 years ago
Warrick Corfe-Tan 690abb9d52 adding simple PR changes requested. 3 years ago
Audric Ackermann cca1b4dabe
add a button to start a video call 3 years ago
Audric Ackermann f91ed7729b
cleanup SessionCompositionBox 3 years ago
Warrick Corfe-Tan c3924f85a9 Adding blocking of individual requests and syncing of block to devices. Added approval by replying to a message. 3 years ago
Audric Ackermann 27e87edac2
add a ringing and establishing connection label video calls 3 years ago
Audric Ackermann 0f21e12073
make resizable the height of the inconvo call 4 years ago
Audric Ackermann a0b33fbbbb
add hook to listen for video call events 4 years ago
Audric Ackermann 6a1f575c46
create a hook for listening for video call events
+ wip fullscreen video calls
4 years ago
Audric Ackermann 5b57e01186
make sure click to trust sender renders without new lines 4 years ago
Audric Ackermann 0f2fcbb6e3
delete for opengroups is working 4 years ago
Warrick Corfe-Tan dcfa286d77 WIP: fixing missing spaces for list items that have been removed. 4 years ago
Audric Ackermann a596531c57
cleanup SessionSettings by making them less a IdoEverything 4 years ago
Audric Ackermann 99b139f5c4
split settings folder and start adding the settings for video call 4 years ago
Warrick Corfe-Tan c3f20aceb2 WIP message requesting. Banner styling finished. 4 years ago
Audric Ackermann 8f3b6d9ab2
add wip of call missed notification 4 years ago