Commit Graph

258 Commits (a21751c611140f3e762a50d2bbd5eeea0a226bee)

Author SHA1 Message Date
audric a21751c611
open convo on last unread, and can scroll up 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 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 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 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 4576f3cb32 Merge branch 'clearnet' into message-requests 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 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
Audric Ackermann 6f3625f99c
move the state of calling to its own slice 3 years ago
Audric Ackermann 1203f1dc48
remove none state on callState. instead set it to undefined 3 years ago
Warrick Corfe-Tan 690abb9d52 adding simple PR changes requested. 3 years ago
Audric Ackermann f91ed7729b
cleanup SessionCompositionBox 3 years ago
Audric Ackermann 6a1f575c46
create a hook for listening for video call events
+ wip fullscreen video calls
3 years ago
Audric Ackermann 0f2fcbb6e3
delete for opengroups is working 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
Warrick Corfe-Tan 123e68c167 WIP: Adding message requests using existing convo list item. 4 years ago
Audric Ackermann 94bc3da2c7
working video calls accept with real streaming with android 4 years ago
Audric Ackermann 8b611a2867
make call UI react to incoming and ongoing calls 4 years ago
Warrick 1d459ba533
Unsend messages (only message hashes saving for now is enabled) (#1891)
* WIP unsending message.

* retrieving message with hash from db on receiving unsend request.

* outgoing messages hashes updated on message sent success

* unsend messaging

* unsend message - deleting messages and marking as isDeleted.

* add msg hash to unprocessed records.

* Message unsending working for closed groups provided the message has been updated with a hash from server.

* adding 2-stage confirmation modal for message deletion

* adding rendering of removed incoming messages, disabling rendering of unsent outgoing messages in coversation screen.

* Adding logging

* debugging.

* outgoing only saved for sync message instead of regular message.

* deleting locally

* adding post unsend deletioncode.

* starting adding feature flag.

* Added feature flag.

* addding mandatory messageHash  pollling pipeline methods swarm polling.

* Conversation list item message preview showing deletion placeholder text if deleted.

* add condition to drop unsend requests not send by message author

* refactoring deleteMessage. Saving response hash for closed group message sending

* running yarn ready

* removing logging.

* Adding PR fixes

* Minor changes and running yarn ready

* fix typo

* Moved feature flag to lokiFeatureFlags. Fixing linting errors


Co-authored-by: Audric Ackermann <audric@loki.network>
4 years ago
Audric Ackermann b17312c13c
Cleanup redux store (#1925)
* do not consider expire timer update unread messages #1881

* cleanup conversation props in redux to only have what cannot be derived

* fix app not starting without the await on convo creation

* cleanup props of message model
4 years ago
Audric Ackermann 945ecf34a1
Fix select colors for sent messages and link text not selectable (#1924)
* do not update sent_at for synced messages

* reply to message context menu only visible if msg sent

* Allow scrolling in mentioning people in composition box

Relates #1849

* fix selection colors for sent messages and make link selectable

Relates #1922
4 years ago
Audric Ackermann 25453ee807
Speedup body update composition box (#1911)
* disable sending on enter while composing

Fixes #1899 #1497

* ask confirmation before deleting account

* move drafts outside of redux to speedup body message writing
4 years ago
audric bfc805c9d4 fix search logic and UI cosmetic fixes 4 years ago
audric 56412df2b4 fixup registration page with back buttons for now
Relates #1889
4 years ago
audric 08cdd035ae disable transition for background of leftpane (for app initial load) 4 years ago
audric bd7d88e170 remove theme from css and used variables instead 4 years ago
audric 350f00283b move tsx and theme to css variables part1 4 years ago
audric e85f351540 cleanup theme object 4 years ago
audric 40566a58a4 moved the unread indicator to outside of message items 4 years ago
audric 7fa50b4a73 do not pass props not needed between message list components 4 years ago
audric ea2dbb4a69 onionpath status only has ip needed 4 years ago
audric 38665e105a remove search messages frpm search result 4 years ago
audric f9988119f9 major UI rewrite of messages view with redux improvements 4 years ago
audric f7b0c6c7e1 make conversation screen closer to mobile UI part1 4 years ago