Commit Graph

426 Commits (c2e3e3ca3f3e23aa85be845966945da14c7075aa)

Author SHA1 Message Date
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 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
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 62764d25f6 showDate break on > 5 minutes diff between messages 4 years ago
audric e85f351540 cleanup theme object 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
audric 7b93d5df9a fix caption for attachments not displayed once sent 4 years ago
Warrick Corfe-Tan 48b4aab63c applying PR fixes. 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 abbd0a84a9 increase timeout for snode api requests (mainly for attachment upload)
Relates #1774
4 years ago
audric e2c26e9819 add basic draft support (text only)
Relates #1791
4 years ago
audric 79c8fada6e move all dialogs to a subfolder 4 years ago
audric 9991dc2364 move delete account logic to it's own dialog 4 years ago
audric b05910e219 Merge remote-tracking branch 'upstream/clearnet' into add-message-bottom-keep-scroll 4 years ago
audric bea704ecf0 bump react to 17 4 years ago
Audric Ackermann f7658c323d
Merge pull request #1821 from Brice-W/bug-fixes
Bug fixes
4 years ago
Brice-W f7c7d6a3d8 change source of MessageAttributesOptionals to not null 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 360cb52680
make all messages types a readable message 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 dbf6a0183f remove unread top banner on scroll to bottom 4 years ago
audric bfc4b2b720 lint 4 years ago
audric 588ae85cda fix at lat types for attachment 4 years ago
audric 12ff3379e1 add key for all messages list so we can scroll to them programnatically 4 years ago
audric 8766cf3f8a store offset before refresh of messagesList and restore it 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 6d34a60f94 improve performance by not loading all unread messages 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 4ca5a4f093
fixup selected message in redux logic 4 years ago
Audric Ackermann 16d34a7137
moved conversations reducer to createSlice 4 years ago
Audric Ackermann 63b81b4c8e
cleanup SessionMessageList p1 4 years ago
Brice-W 5d7d58fe05 move NotificationForConvoOption declaration + getConversationNotificationSettingType created as used twice 4 years ago
Brice-W adab2b4506 add Notifications in conversations context menu 4 years ago
Audric Ackermann 5b0b165ba9
Merge remote-tracking branch 'upstream/clearnet' into perf-improv 4 years ago
Audric Ackermann f0fad6edfa
uniformized props for Message 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
Audric Ackermann 97b9156562
improve performamce by memoizing avatar and menus 4 years ago
Brice-W 75a20e5de7 simplification by using derived data 4 years ago
Audric Ackermann 87a8385629
move timerOptions to redux 4 years ago
Audric Ackermann e451cdd78f
rename message props to messageProps 4 years ago
Audric Ackermann c8aa73626e
do not load right panel data unless it is visibl 4 years ago
Brice-W 4ddc00c9b6 set a limit numer to pinned conversations 4 years ago
Audric Ackermann f0db797a9a
fix loading of messages props 4 years ago
Audric Ackermann 672eb91975
add types for message props and remove props function calls msg 4 years ago
Audric Ackermann 6deb97dbc0
WIP 4 years ago
Audric Ackermann a0afd3efe4
add some performance measure for commit calls 4 years ago
Warrick Corfe-Tan 4decda9cff Merge branch 'clearnet' into pin-conversations 4 years ago
Warrick Corfe-Tan 36cf05db1b Switched conversation pin state. 4 years ago
Warrick Corfe-Tan 08db057ad9 Merge branch 'clearnet' into pin-conversations 4 years ago
Warrick Corfe-Tan 49415e3bf0 Yarn formatting and linting. 4 years ago
Warrick Corfe-Tan 264f97663e Persisting conversation pin statuses. 4 years ago
Audric Ackermann e85f69a144
use our retrieve status as isOnline status 4 years ago
Audric Ackermann 19555b99a0
Merge pull request #1723 from Bilb/poll-less-often-group-not-active
Poll less often group not active
4 years ago
Warrick Corfe-Tan 6dd7f34e4d Pin conversations WIP. Pinning functioning and persisting on conversation list. 4 years ago
Warrick Corfe-Tan f2984d0b38 removed comment. 4 years ago
Audric Ackermann 7ea30b70ca
variable swarm polling based on activeAt timestamp 4 years ago
Warrick Corfe-Tan 281b72cca0 delete unused reducer 4 years ago
Warrick Corfe-Tan fc31f8d2b1 Merge branch 'clearnet' into audio-messages-play-all 4 years ago
Warrick Corfe-Tan be11c37a59 Linting and formatting. 4 years ago
Warrick Corfe-Tan da00ac8d44 Saving userConfig redux slice to local storage. 4 years ago
Audric Ackermann 89a0868fc3
remove getInstance of conversationController to get() 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
Audric Ackermann f1ee7589a0
fix session password dialog 4 years ago
Warrick Corfe-Tan f381102860 WIP: autoplay consecutive messages. Setting state done. 4 years ago
Audric Ackermann 9a08ab68bc
fix onion path status light for orange color 4 years ago
Audric Ackermann b64e8bf610
fix seed dialog and leave group as admin dialog 4 years ago
Audric Ackermann 651921590c
reduxify remaining dialogs 4 years ago
Audric Ackermann 93e43fe929
move conversation dialogs to redux store 4 years ago
Audric Ackermann bbbcfd54d6
rename all spacer-* to react component 4 years ago
Audric Ackermann a5d7995168
merge dialog refctor with clearnet 4 years ago
Audric Ackermann c9d7f4a1ab
Merge remote-tracking branch 'w/onion-paths' into clearnet 4 years ago
Audric Ackermann dd9341a196
remove i18n from props everywhere where possible 4 years ago
Audric Ackermann 8ef9c8ed1a
remove delivery receipt logic 4 years ago
Warrick Corfe-Tan ee7afb6ebf WIP: refacotring. confirm modals mostly done. Working on add moderator modal now. Need to toggle via setModal. 4 years ago
Warrick Corfe-Tan b082dd9f43 delete messages and leave group working with redux modal. 4 years ago