Commit graph

124 commits

Author SHA1 Message Date
Brice-W 4ddc00c9b6 set a limit numer to pinned conversations 2021-07-06 13:34:39 +10:00
Audric Ackermann f0db797a9a
fix loading of messages props 2021-07-05 17:09:17 +10:00
Audric Ackermann 672eb91975
add types for message props and remove props function calls msg 2021-07-05 15:54:35 +10:00
Audric Ackermann 6deb97dbc0
WIP 2021-07-05 11:23:47 +10:00
Warrick Corfe-Tan 49415e3bf0 Yarn formatting and linting. 2021-06-29 16:21:45 +10:00
Warrick Corfe-Tan 6dd7f34e4d Pin conversations WIP. Pinning functioning and persisting on conversation list. 2021-06-29 10:52:55 +10:00
Audric Ackermann 89a0868fc3
remove getInstance of conversationController to get() 2021-06-24 15:10:38 +10:00
Audric Ackermann 93e43fe929
move conversation dialogs to redux store 2021-06-18 14:31:16 +10:00
Audric Ackermann c9d7f4a1ab
Merge remote-tracking branch 'w/onion-paths' into clearnet 2021-06-17 14:55:25 +10:00
Audric Ackermann dd9341a196
remove i18n from props everywhere where possible 2021-06-16 15:37:02 +10:00
Audric Ackermann 8ef9c8ed1a
remove delivery receipt logic 2021-06-15 10:12:43 +10:00
Audric Ackermann f3768a674a
short error on no network for retry sending message 2021-06-03 14:30:58 +10:00
Audric Ackermann b055165a5d
display a message when the recipient screenshots an attachemnt 2021-06-01 15:46:29 +10:00
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding 2021-05-19 15:54:31 +10:00
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.
2021-05-12 10:40:49 +10:00
Audric Ackermann a26c5da6cb
Uniformize once and for all the conversation types
no more 'direct'. those are private convos
2021-04-28 14:20:22 +10:00
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 2021-04-22 18:03:58 +10:00
Audric Ackermann 1f509e003d
add a markAllAsRead option on menus 2021-03-19 15:50:46 +11:00
Audric Ackermann 08ce55f1a6
move LeftPane items to hooks 2021-03-16 17:22:46 +11:00
Audric Ackermann 553f264d12
make unread attrs as before a number, and remove calculatingPow
calculating pow is just the same as sending state
2021-03-05 13:48:58 +11:00
Audric Ackermann 5f862e4c08
remove uneeded passing of models to Data calls 2021-03-05 13:47:46 +11:00
Audric Ackermann ad117fe4e5
uniformized redux convo type and getProps() of conversation 2021-03-05 11:11:53 +11:00
Audric Ackermann 8ea9f02cec Move data.js to data.ts 2021-02-15 15:16:52 +11:00
Audric Ackermann 36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2 2021-02-09 15:54:34 +11:00
Audric Ackermann f41bf31515
fix tests 2021-02-09 12:42:41 +11:00
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
2021-02-09 11:40:32 +11:00
Audric Ackermann a51f95d28c
move models to TS part1 2021-02-08 15:20:47 +11:00
Audric Ackermann 79028ebaeb
remove isUnidentifiedDelivery 2021-01-28 11:28:57 +11:00
Audric Ackermann 2b92386399 debounce calls to write to db last message 2021-01-27 18:18:20 +11:00
Audric Ackermann 13df6c476e remove isClosable for convo as it is unused 2021-01-27 18:04:32 +11:00
Audric Ackermann a0703bc2f9
remove primary and secondary device separate status 2021-01-21 17:49:13 +11:00
Audric Ackermann 135fc3b366
remove prekeys 2021-01-21 17:49:07 +11:00
Audric Ackermann fd18345c5a
remove handling of rss related things completely 2021-01-19 16:11:33 +11:00
Audric Ackermann c0484207d1
Merge branch 'clearnet' into fix-ban-user 2021-01-19 15:44:29 +11:00
Audric Ackermann dc0733968d
make moderators and groupAdmins a single name 2021-01-19 13:57:05 +11:00
Audric Ackermann 6a776b56f6
fix ban of users on open group 2021-01-19 11:25:14 +11:00
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)
2021-01-18 10:58:34 +11:00
Audric Ackermann 979a9058e3
remove verified number - related features (partial) 2021-01-18 10:35:16 +11:00
Audric Ackermann 6856c0e748
remove updateTextInputState not needed and add left to menu tests 2021-01-13 15:28:20 +11:00
Audric Ackermann 9048913332
split conversation reducer for convo logic
also
- fix ordering of messages for open groups, when they are added
- fix the way the firstMessageOfSeries for just created clsoed groups
2021-01-07 10:51:20 +11:00
Audric Ackermann 2fe6b11e89
move ConversationController to typescript 2021-01-06 14:26:53 +11:00
Audric Ackermann 98e7d50b73
do not create the convo when fetching avatar.
if the convo is not here, it's likely it was removed by the user itself.
2020-11-26 16:26:07 +11:00
Audric Ackermann 22b4f39e52
MessageDetails: contact status fallbacks to message status
this is used for medium groups
2020-11-25 13:25:08 +11:00
Audric Ackermann 5c55a9411f
add first step to enable back MessageDetails.
Still not much the react way to do it for now
2020-11-25 11:52:20 +11:00
Audric Ackermann 71e1f1e143
ignore ts generated files under subdirectory too 2020-11-25 11:51:14 +11:00
Audric Ackermann a1d4dea845
fix scrolling to unread and marking message as read on scrolling
we need to hit the bottom for the convo to update currently

add smooth scrolling on click on quoted message
2020-11-23 10:48:36 +11:00
Audric Ackermann d533a3aca5
fix unread message banner for MessagesList 2020-11-20 12:17:42 +11:00
Audric Ackermann 535b1d59ef
add a reset conversation action type and call it on message destroyed 2020-11-19 15:55:03 +11:00
Audric Ackermann bb87eb0f52
fix timer expiring sometimes missing a sec 2020-11-19 15:38:58 +11:00
Audric Ackermann 1503d83f3a
add ourPrimary convo to redux and update the actionPanel with it 2020-11-18 18:48:20 +11:00
Audric Ackermann 0beb47e597
add messageDeleted redux action 2020-11-17 13:30:24 +11:00
Audric Ackermann 2fc61d2c96
cleanup expired template from html files 2020-11-17 09:09:04 +11:00
Audric Ackermann f9ab90fb71
link backbone message added to redux 2020-11-16 14:45:13 +11:00
Audric Ackermann 2f2eb2ad53
link back backbone conversation events to redux store 2020-11-13 17:17:48 +11:00
Audric Ackermann 918eeae275
move InboxView to react 2020-11-13 14:29:59 +11:00
Audric Ackermann f3430bdcb5
add toast on isBlocked, isKicked, ... for sending of messages 2020-11-12 14:39:37 +11:00
Audric Ackermann e45ce43e01
store messages currently loaded in convo on redux 2020-11-12 12:18:50 +11:00
Audric Ackermann 07c384aa0d
render GroupNotification messages 2020-10-30 10:24:53 +11:00
Audric Ackermann 96263b4d25
WIP 2020-10-30 08:27:35 +11:00
Audric Ackermann ea617cbc57
remove stuff related to archived state for convo 2020-10-29 16:36:06 +11:00
Audric Ackermann 387f8ff391
Update props of SessionConversation to only get the currently selected convo 2020-10-29 16:23:25 +11:00
Audric Ackermann 8d544a9d87
make redux store update on block/unblock 2020-07-14 15:56:40 +10:00
Audric Ackermann 66de8d9648
remove plenty of the friend logic 2020-06-15 18:05:14 +10:00
Vincent 60ddaa14be Prevent multiple FR conversations 2020-05-21 15:20:51 +10:00
Vincent 7d803280e8 halfway 2020-05-12 13:15:58 +10:00
Vincent 2b7df8e40b Filtering groups fromstate 2020-05-12 09:29:10 +10:00
Audric Ackermann 73041ccef3 show receivedFriendRequest in a popup 2020-01-16 11:19:17 +11:00
Maxim Shishmarev 8be1c61f4c Highlight conversations with unread mentions of the user 2019-10-02 16:18:45 +10:00
Beaudan Brown 66459ac4bd Remove most of the right click and cog menu options for the public chats 2019-09-03 17:53:19 +10:00
Beaudan Brown 662c64f347 Remove ability to delete some rss conversations 2019-08-23 14:23:21 +10:00
Ryan Tharp c57571fdfd loki.network rss feed 2019-08-23 11:11:23 +10:00
Mikunj 7387e88c97 Add showing friends in search. 2019-04-18 10:37:23 +10:00
Scott Nonnenberg 6ffbc0ac06 Archive Conversation 2019-03-12 17:44:14 -07:00
Scott Nonnenberg b3ac1373fa Move left pane entirely to React 2019-03-12 17:44:14 -07:00