Commit Graph

223 Commits (9fa95377fba0faeb4edb6ed8135b386744039dc9)

Author SHA1 Message Date
audric 62f0edf8cb cleanup console.warn calls 3 years ago
Audric Ackermann 15ae511bca
Merge branch 'clearnet' into small-refactor 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
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
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
Warrick Corfe-Tan cb5551c1e9 PR changes 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 3 years ago
Audric Ackermann a0b33fbbbb
add hook to listen for video call events 3 years ago
Audric Ackermann 6a1f575c46
create a hook for listening for video call events
+ wip fullscreen video calls
3 years ago
Audric Ackermann 5b57e01186
make sure click to trust sender renders without new lines 3 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
Audric Ackermann 8f3b6d9ab2
add wip of call missed notification 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 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 bd7d88e170 remove theme from css and used variables instead 4 years ago
audric 62764d25f6 showDate break on > 5 minutes diff between messages 4 years ago
audric 2825b66ef6 add screen break for jump in messages timestamp 4 years ago
audric 40566a58a4 moved the unread indicator to outside of message items 4 years ago
audric 985a5d92bc do not show search input if we only got a single conversation 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 ee4ed2e075 fix attachment logic with ui redesign 4 years ago
audric f7b0c6c7e1 make conversation screen closer to mobile UI part1 4 years ago
Warrick Corfe-Tan f9ad63d58b Merge branch 'clearnet' into registration-progress-banner 4 years ago
audric 6a11a4c879 store staged Attachments in redux
still an issue with the File in redux
4 years ago
audric 9e37985d03 enable no-unused local and imports and fix tslint 4 years ago
Warrick Corfe-Tan d13a6824ee running yarn ready 4 years ago
Warrick Corfe-Tan b0a8c6c3eb wip: adding recovery phrase prompt. 4 years ago
audric d2e089b9ab do not count unread of muted conversation in count of total unread
Relates #1840
4 years ago
audric e2c26e9819 add basic draft support (text only)
Relates #1791
4 years ago
audric 9991dc2364 move delete account logic to it's own dialog 4 years ago
Audric Ackermann a1ab816076
Merge remote-tracking branch 'upstream/clearnet' into add-message-bottom-keep-scroll 4 years ago
Audric Ackermann 2c174bdac7
fix audio message autoplay as broken with perf improvements
fix bug making "trust contact" first audio message being played on click
to trust
4 years ago
Warrick Corfe-Tan a8a15e3f88 adding PR changes. 4 years ago
Audric Ackermann 3f065a7b0e
improve marking message as read with hooks 4 years ago
Warrick Corfe-Tan 31118ae51f Add notification icon to conversation list item. Add notification subtitle to conversation header on conversation screen. 4 years ago
Audric Ackermann 119b6e1baf
keep scrolled position when adding messages at the bottom 4 years ago
Audric Ackermann 12d09bc896
preload messages when switching conversation 4 years ago
Audric Ackermann f9ecfccc0a
batch UI updates of message added events 4 years ago
audric c8f0150aaf fix unread banner position when first unread is visible 4 years ago
audric c2b5ac68d6 don't rely on scrollheight to calculate for ui Updates
as it causes a layout complete refresh
4 years ago
audric e72885944b use selector to sort and add first of serie flag 4 years ago
audric 4f5072ee65 Merge remote-tracking branch 'upstream/clearnet' into perf-improv 4 years ago
audric b7df0788c2 move mentions state to the ConversationState 4 years ago
audric 23e9a6d31c move some actions to redux in hooks 4 years ago
Audric Ackermann 0e4d7ec21a
WIP 4 years ago
Audric Ackermann a54345a42e
put back quote a message logic with hook 4 years ago
Audric Ackermann 511adcf388
refactored right panel to hook 4 years ago
Audric Ackermann 16d34a7137
moved conversations reducer to createSlice 4 years ago
Audric Ackermann 63b81b4c8e
cleanup SessionMessageList p1 4 years ago
Audric Ackermann 5b0b165ba9
Merge remote-tracking branch 'upstream/clearnet' into perf-improv 4 years ago
Audric Ackermann ee4a0b9b1e
cleanedup redux action openConversationExternal 4 years ago
Audric Ackermann 7f76ab274c
added a hook to fetch avatar of closed group members 4 years ago
Brice-W 5252dd40e3 fixes 4 years ago
Audric Ackermann 4fbb0d48f2
remove index as key 4 years ago
Brice-W 03891a9438 revert last commit 4 years ago
Brice-W 21b8b9f35b memory optimization 4 years ago
Brice-W c3bf2a4e96 fixes and tests 4 years ago
Brice-W 75a20e5de7 simplification by using derived data 4 years ago
Audric Ackermann 87a8385629
move timerOptions to redux 4 years ago
Brice-W 4ddc00c9b6 set a limit numer to pinned conversations 4 years ago
Audric Ackermann 672eb91975
add types for message props and remove props function calls msg 4 years ago
Audric Ackermann e85f69a144
use our retrieve status as isOnline status 4 years ago
Warrick Corfe-Tan 3bd72df258 linting and formatting. 4 years ago
Warrick Corfe-Tan 397b0d09dc Merge branch 'clearnet' into audio-messages-play-all 4 years ago
Warrick Corfe-Tan d35f3f9e62 WIP: audio autoplay working with consecutive messages. Next step store state on shutdown and rename variables. 4 years ago