William Grant
1609ebfe32
feat: separated quote components
...
removed reference warning component since it is no longer needed
2 years ago
William Grant
ab1cf7a658
feat: added propsForQuote to message model props
2 years ago
William Grant
331a4e1e12
fix: resolved object is not extensible bug
...
forEach and async still don't play nice so used a regular for loop, added QuoteLookupType
2 years ago
William Grant
a83bc64d0a
feat: added quote source data to the conversation state as a separate object
...
this should help performance when loading quotes in the UI since individual db lookups will no longer be required
2 years ago
William Grant
0d5c72555b
feat: started updating reply to ui
...
finished text reply
2 years ago
William Grant
5d4238a3d8
feat: created getMessageExpirationProps selector and used in ExpirableReadableMessage
...
this stops us passing props down from the child components of ExpirableReadableMessage
2 years ago
Audric Ackermann
6f6620f622
fix: skip new group messages when receved after group was removed
2 years ago
William Grant
ec3f62d12f
fix: updated child types from PropsExpiringMessges
...
use type and the ampersand operator instead of the interface with extends for better consistency with the rest of the code base
2 years ago
William Grant
93cb972514
feat: updated hasOutdatedClient to track last user to send a legacy message
...
this makes the banner work properlly in closed groups
2 years ago
William Grant
bd900128f4
feat: added hasOutdated Client to convo model, use feature release check to process disappearing messages
...
trigger banner when receiving a legacy disappearing message via hasOutdatedClient
2 years ago
William Grant
97ecc9e521
feat: fixed double expiration update message issue
...
started creating an inheritable expiration message class, improved start triggering logic
2 years ago
William Grant
5c697572a7
feat: Call Notifications now expire properlly
...
include the direction in the expiration props, setting the start timer doesnt directly update the model
2 years ago
William Grant
4ef3537a53
feat: timer notifications expire correctly when disappearing after sending
2 years ago
William Grant
2d6d6b4134
feat: moved PropsForExpiringMessage to state ducks
2 years ago
William Grant
13f091eff3
feat: added function for calculating the expire start time
...
updated copy for setting change messages
2 years ago
William Grant
0700ac4813
fix: moved disappearing message types to utils
2 years ago
William Grant
b12d086b22
feat: DisappearingMessageType -> DisappearingMessageConversationType
...
this is more explicit and allows use to use DisappearingMessageType in the message model
2 years ago
William Grant
30196a131a
feat: added basic support for different disappearing message modes
...
added expirationType and lastDisappearingMessageChangeTimestamp to conversations table, left a few comments for future work
2 years ago
Audric Ackermann
3ecc89fab3
Merge remote-tracking branch 'upstream/master' into onboarding
2 years ago
Audric Ackermann
55a2767fce
feat: do not approve a convo before sending the first message
...
but still sync it's state through the createdAt with libsession util
2 years ago
Audric Ackermann
faeb95fefd
feat: add block/decline logic to msg request & wrapper
2 years ago
Audric Ackermann
ef6d9f1d51
feat: add empty states for each types of convo
2 years ago
Audric Ackermann
3ff7281b6a
chore: remove isGroup from the redux stored entry
...
as it is always = !isPrivate
2 years ago
Audric Ackermann
f3975b545a
feat: use priority for hidden and pinned conversation
2 years ago
Audric Ackermann
c3e9d503e4
fix: unread count and forced unread is synced
2 years ago
Audric Ackermann
1c50aacc34
chore: remove groupModerators sogs from the db, store in redux only
2 years ago
Audric Ackermann
bf2456df8e
chore: do not store mentionedUs and unreadCount as attribute in convo
2 years ago
Audric Ackermann
f5efb52fea
feat: remove closedgroupv3 uneeded stuff for now
...
also move the room stuff which can be kept in memory into another redux
slice
2 years ago
Audric Ackermann
3c58f9c1e4
feat: add a hidden flag for convos and use it with the contactswrapper
2 years ago
mdPlusPlus
1d6ed17ac7
Fix typos via codespell
2 years ago
Audric Ackermann
22329bc745
chore: cleanup FIXMEs and remove sig_timestamp as we cannot rely on it
...
we use timestamp instead of sig_timestamp for store requests
2 years ago
Audric Ackermann
32e00227a4
Merge pull request #2532 from Bilb/fix-deleted-messages-all-at-once
...
To merge once theming is done: handle deleted messages & deleted reacts all at once
3 years ago
Audric Ackermann
e3006ae157
fix: do not return updated messages from markAllRead if not needed
3 years ago
Audric Ackermann
0cc7994c12
fix: speed up expiration/deletion of messages by batching updates in UI
3 years ago
Audric Ackermann
17742539af
fix: disable typing and message request on sogs without `write`
3 years ago
Audric Ackermann
1d45aa6f45
fix: show loading spinner while sogs is fetching initial messages
3 years ago
Audric Ackermann
b638733090
fix: do not scroll back to unread banner when deleting msgs
...
Relates #2308
3 years ago
Will G
267f49ff1e
Emoji Reacts ( #2320 )
...
Add support for emoji reacts in conversations
Resolves #2375 and #1577
3 years ago
Audric Ackermann
6f4b70e650
fix: allow non admin mods to delete message for deletion
3 years ago
Audric Ackermann
242d51ca8d
Id blinding + onionv4 + new endpoints for sogs and fileserver ( #2347 )
...
* Added Onionv4 support to file server, sogs and pn server
* Added blinded message support
* Updated endpoints for sogs and file server to remove legacy ones
3 years ago
Audric Ackermann
ec76057c5e
Merge integration test ( #2313 )
...
* Testing playwright for Desktop automation
* add more data-testid field
* remove commited test-results
* test: skip group upkeep for now
* test: mention test create group instead of restoring from seed
* test: run on testnet
* fix: revert messagebanner unread count changes
from commit 8107d75e89
Co-authored-by: Emily <emily@oxen.io>
3 years ago
Audric Ackermann
49bae1925d
open message request reset opened convo and is a settings itself
3 years ago
Audric Ackermann
71aa6c813c
Merge remote-tracking branch 'upstream/clearnet' into fix-i18n-with-dollars-sign
3 years ago
Audric Ackermann
75c7c7c27f
try a fix to prevent window from jumping with low number of messages
3 years ago
warrickct
600ef86ea7
linting fixes
3 years ago
warrickct
065b8ab533
Added closing declined conversation requests if theyre open. Return to regular inbox on clear all.
3 years ago
warrickct
ee9156d4f8
Merge clearnet into message-request-ui
3 years ago
warrickct
d627b8e11d
Requesting flow working with sending message as acceptance.
3 years ago
Audric Ackermann
d6a8f5e92b
allow searching for nickname or name for contacts
3 years ago
Audric Ackermann
40344bde52
move search logic to the search input component
3 years ago
Audric Ackermann
1eba9dce30
merge messagesChanged and messagesAdded to a single redux event
3 years ago
Audric Ackermann
949c36a42f
merge fetching more messages for top and bottom in the same flag
3 years ago
Audric Ackermann
9000c649f8
remove optional setToExpire and UnreadMessageIsAbove indicator
3 years ago
Audric Ackermann
4e638d162d
fix the scroll to bottom with button and on send message
3 years ago
Audric Ackermann
792c23da87
cleanup scroll to unread of quote or search result on open
3 years ago
Audric Ackermann
d269693544
cleanup search of contacts excluding not active
3 years ago
Audric Ackermann
a3be2c347d
fixup open convo on search, quote click or hit the bottom
3 years ago
Audric Ackermann
2b0a2cff46
rename console.warn to error or info depending on type
3 years ago
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
72409e3f1f
make sure to keep error state of attachment DL failing
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
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
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
warrickct
86a9253144
Merge branch 'clearnet' into message-requests
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
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