Commit Graph

186 Commits (bac2887c2804d85726d1ae6ade8ea6577eaf3816)

Author SHA1 Message Date
warrickct 4576f3cb32 Merge branch 'clearnet' into message-requests 4 years ago
warrickct 86a9253144 Merge branch 'clearnet' into message-requests 4 years ago
Audric Ackermann 6f3625f99c
move the state of calling to its own slice 4 years ago
Audric Ackermann 1203f1dc48
remove none state on callState. instead set it to undefined 4 years ago
Audric Ackermann f91ed7729b
cleanup SessionCompositionBox 4 years ago
Audric Ackermann 6a1f575c46
create a hook for listening for video call events
+ wip fullscreen video calls
4 years ago
Audric Ackermann 0f2fcbb6e3
delete for opengroups is working 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 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 56412df2b4 fixup registration page with back buttons for now
Relates #1889
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 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
audric 7b93d5df9a fix caption for attachments not displayed once sent 4 years ago
audric 9e37985d03 enable no-unused local and imports and fix tslint 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 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 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
Audric Ackermann 360cb52680
make all messages types a readable message 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 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
Audric Ackermann 4fbb0d48f2
remove index as key 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 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
Warrick Corfe-Tan 49415e3bf0 Yarn formatting and linting. 4 years ago
Warrick Corfe-Tan 6dd7f34e4d Pin conversations WIP. Pinning functioning and persisting on conversation list. 4 years ago
Audric Ackermann 89a0868fc3
remove getInstance of conversationController to get() 4 years ago
Audric Ackermann 93e43fe929
move conversation dialogs to redux store 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
Audric Ackermann f3768a674a
short error on no network for retry sending message 4 years ago
Audric Ackermann b055165a5d
display a message when the recipient screenshots an attachemnt 4 years ago
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding 4 years ago
Warrick cb307790f6
WIP: User nicknames (#1618)
* WIP Adding change nickname dialog.

* WIP adding nickname change dialog.

* WIP nickname dialog.

* WIP: Able to set conversation nicknames. Next step cleaning and adding to conversation list menu.

* Fix message capitilisations.

* Add change nickname to conversation list menu.

* Enable clear nickname menu item.

* Added messages for changing nicknames.

* Clearing nicknames working from header and message list.

* Adding modal styling to nickname modal.

* Reorder nickname menu item positions.

* Add group based conditional nickname menu options to conversation header menu.

* minor tidying.

* Remove unused error causing el option.

* Formatting.

* Linting fixes.

* Made PR fixes

* Prioritise displaying nicknames for inviting new closed group members
and updating closed group members.
4 years ago
Audric Ackermann a26c5da6cb
Uniformize once and for all the conversation types
no more 'direct'. those are private convos
4 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 4 years ago
Audric Ackermann 1f509e003d
add a markAllAsRead option on menus 4 years ago
Audric Ackermann 08ce55f1a6
move LeftPane items to hooks 4 years ago
Audric Ackermann 553f264d12
make unread attrs as before a number, and remove calculatingPow
calculating pow is just the same as sending state
4 years ago
Audric Ackermann 5f862e4c08
remove uneeded passing of models to Data calls 4 years ago
Audric Ackermann ad117fe4e5
uniformized redux convo type and getProps() of conversation 4 years ago
Audric Ackermann 8ea9f02cec Move data.js to data.ts 4 years ago
Audric Ackermann 36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2 4 years ago
Audric Ackermann f41bf31515
fix tests 4 years ago
Audric Ackermann ea2c4437a3
cleanup models with unused events
also, sort message from DB and on redux by sent_at or received_at when
not a public group
4 years ago
Audric Ackermann a51f95d28c
move models to TS part1 4 years ago
Audric Ackermann 79028ebaeb
remove isUnidentifiedDelivery 4 years ago
Audric Ackermann 2b92386399 debounce calls to write to db last message 4 years ago
Audric Ackermann 13df6c476e remove isClosable for convo as it is unused 4 years ago
Audric Ackermann a0703bc2f9
remove primary and secondary device separate status 4 years ago
Audric Ackermann 135fc3b366
remove prekeys 4 years ago
Audric Ackermann fd18345c5a
remove handling of rss related things completely 4 years ago
Audric Ackermann c0484207d1
Merge branch 'clearnet' into fix-ban-user 4 years ago
Audric Ackermann dc0733968d
make moderators and groupAdmins a single name 4 years ago
Audric Ackermann 6a776b56f6
fix ban of users on open group 4 years ago
Audric Ackermann 72c96ea998
remove most of the SessionProtocol unused stuff
- prekeys
- SessionCipher
- LokiCipher
- endSession and the reset Session logic
- what we called Sessionprotocol manager (to keep track of session with
everyone)
4 years ago
Audric Ackermann 979a9058e3
remove verified number - related features (partial) 4 years ago