Audric Ackermann
197383a52f
feat: move some the convomodel.get attributes to functions
...
this is because we need to be able to override what is returned by what
is in the redux lib slice if needed (libsession data overrides what is
in the DB for groupv3)
2 years ago
William Grant
ab13f39a10
fix: newlines for logging
2 years ago
William Grant
50f144a8c3
fix: improved logging
...
made some progress with fixing things but other things broke
2 years ago
William Grant
c24487b938
fix: deleteAfterSend now works in private convos again
2 years ago
Audric Ackermann
08164f2fd0
feat: add sending and receiving of libsession encrypted msgs
...
still a wip though
2 years ago
William Grant
710da30594
feat: shouldDisappearButIsntMessage is now a function
...
result is added to the expireUpdate and improves outdated client checking logic
2 years ago
William Grant
b88842b687
feat: tested v2 releas
...
made some updates to expire update generation and handling, one final fix required
2 years ago
Audric Ackermann
8c3b6508ad
fix: wip before removing info+members+keys from protobuf kinds
2 years ago
William Grant
2a05185138
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
William Grant
e8c927f580
feat: setExpirationStartTimestamp uses DisappearingMessageConversationType
...
easier to manage starting a legacy disappearing message and always pass expiration type and timer
2 years ago
Audric Ackermann
e98c9720c8
fix: fix synced messages sometimes not appearing
2 years ago
William Grant
9d8cca1970
feat: convert between conversation and message model disappearing modes in key locations
...
remove disappearing messages from convo header context menu
2 years ago
William Grant
60e5503e6a
feat: check for v2 release correctly on startup
...
improvements to creating and updating closed groups with disappearing message settings
2 years ago
William Grant
ff19c95a92
fix: remove using legacy as a string for disappearing messages except in the UI
...
created new isLegacyDisappearingModeEnabled check, default use UNKNOWN expiration type in message classes if not defined
2 years ago
William Grant
41af1e7865
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
d43d6abbae
chore: replace tslint with eslint and fix linting issues
2 years ago
Audric Ackermann
9a7ef4d373
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
594eee698b
Merge remote-tracking branch 'upstream/clearnet' into unstable
2 years ago
Audric Ackermann
4637f4609a
Merge remote-tracking branch 'yougotwill/disappearing_messages' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
db9fa14213
fix: don't update state on updates already included in our syncmessage
2 years ago
William Grant
3bc187fa5e
feat: performance improvements to quote lookup
...
getMessagesByConversation optionally returns quotes from messages in view, quoted messages that are deleted are removed from the lookup map. getMessageBySenderAndSentAt supports an array of messages and renamed to getMessagesBySenderAndSentAt
2 years ago
William Grant
1ff2969750
refactor: rename getMessageBySenderAndTimestamp to getMessageBySenderAndSentAt
...
its more clear what parameters are needed
2 years ago
Audric Ackermann
318a77be4b
fix: mark messages sent before our lastreadts from the wrapper as read
2 years ago
William Grant
cfcf400ecf
fix: cleaned up WIP logging and used the window log debug function where appropriate
2 years ago
William Grant
1de21ea8c0
feat: only show banner after v2 is released
2 years ago
William Grant
2221d81a23
fix: reverted setToExpire timer,
...
fixed incorrect expirationLength value in getPropsForExpiringMessage
2 years ago
William Grant
6a38e09f4f
feat: moved setToExpire calls to the correct locations within the message pipeline depending on the expirationType of a message model
2 years ago
William Grant
b6c3edbac4
fix: pass yarn ready
2 years ago
William Grant
e5ecff7ec3
fix: fixed legacy disappearing messages on call notifications and others
2 years ago
William Grant
ceeb9b790a
fix: finally got all the test cases to pass!
...
removed misMatchedMessage and replaced with shouldDisappearButIsntMessage which is a more explicit check
2 years ago
William Grant
89c70760a5
fix: refactor and works for all legacy test cases, modern to modern is broken
2 years ago
William Grant
6dd340ca6c
feat: handle legacy disappearing messages more gracefully due to protobuf issues
...
added utility function for checking for undefined properties on a protobuf, renamed expireTimer to expirationTimer in some places
2 years ago
William Grant
4c4bc045d7
fix: renamed ExpirationType enum value LEGACY to UNKNOWN
2 years ago
William Grant
df40ff8855
feat: added legacy to the ExpirationType enum in the protobuf and updated support
...
the desktop protobuf implementation doesnt support undefined for optional enum values this is a known bug.
2 years ago
William Grant
b8ab952c33
fix: explicitly set expirationType to undefined if sending a legacy message
2 years ago
William Grant
2f4c0114aa
feat: tested new expiration modes with legacy and new clients
...
fixed banner logic
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
84dec94450
fix: cleanup logging
2 years ago
William Grant
6de7c5c405
fix: legacy message checks must look for the ExpirationTimerUpdate flag explicitly
...
use correct model for a message in a closed group
2 years ago
William Grant
854742c0b1
fix: improved logic for turning off disappearing messages
2 years ago
William Grant
a3a0c3f9de
feat: fixed closed groups legacy mode
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
255b6225c9
feat: block sending disappearing messages of the wrong type in different conversations,
...
improved disappear after send or read logic, disable legacy sending for now
2 years ago
William Grant
7d0673f7f2
wip: added new legacy mode to panel, improved backwards compatibility
...
legacy mode support in conversation header, added typing for the expireUpdate, next is sending support
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
446752cf54
feat: DataExtractionNotifications now expire
...
MessageRequestResponses should not expire, pass yarn ready
2 years ago
William Grant
f122c206da
fix: improved backwards compatibility
2 years ago
William Grant
ac844af691
feat: updated timer notification design and copy
2 years ago
William Grant
d358ab2fb1
feat: fixed closed groups
...
improved setExpirationStartTimestamp logic
2 years ago
William Grant
8dc7dac55e
feat: control available modes depending on the conversation
2 years ago
William Grant
2745571790
fix: correctly write to db when setting changes
2 years ago
William Grant
ee6607b96a
feat: added expirationType and expireTimer to content message and updated message pipeline
...
this includes sync messages and updating the protobuf, haven't tested closed groups
2 years ago
Audric Ackermann
cbffc29950
fix: run tests for libsession-util integration and fix issue
2 years ago
Audric Ackermann
3ecc89fab3
Merge remote-tracking branch 'upstream/master' into onboarding
2 years ago
Audric Ackermann
f3975b545a
feat: use priority for hidden and pinned conversation
2 years ago
Audric Ackermann
1c50aacc34
chore: remove groupModerators sogs from the db, store in redux only
2 years ago
Audric Ackermann
c4e17d0825
fix: add mgmt of members in user groups wrapper
2 years ago
Audric Ackermann
3c58f9c1e4
feat: add a hidden flag for convos and use it with the contactswrapper
2 years ago
Audric Ackermann
c4217cb564
feat: sync nickname, blocked and approved status for contacts
2 years ago
Audric Ackermann
b2237efe51
feat: insert all contacts into wrapper before syncing it
2 years ago
Audric Ackermann
d2d2a418eb
fix: use envelope time when dont have msg request response timestamp
2 years ago
Audric Ackermann
08a15b210a
feat: move avatar downloading to JobRunner
2 years ago
Audric Ackermann
9cf1419ca5
feat: add first try to build SharedConfigMessages
2 years ago
Audric Ackermann
d1cefd4729
feat: add contacts & user profile handling of incoming messages
2 years ago
Audric Ackermann
0f58e11a17
chore: update with latest libsession wrapper
2 years ago
Audric Ackermann
d7bcf1026f
fix: refactor snodeRPC to use snode batching
3 years ago
William Grant
367c0c94d0
Merge branch 'clearnet' into theming
3 years ago
Audric Ackermann
12161a1fde
fix: INVALID_DATE (-Infinity) when merging two conversations inactive
3 years ago
Audric Ackermann
3788f5a4d5
Merge pull request #2488 from Bilb/message-request-include-profile
...
Profile in messageRequest
3 years ago
Audric Ackermann
84f2ce777a
fix: include profile in message request response
3 years ago
Audric Ackermann
67817c516f
fix: typing message trigger ui refresh
...
also do not mark a conversation as trusted for attachment when getting
messagerequest response
3 years ago
Audric Ackermann
4ff0b63e36
fix: drop .group from incoming messages & exclude it from visible check
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
Emily
775ddfda12
fixing the saved media read receipt
3 years ago
Audric Ackermann
d5e3f73035
fix: read receipts handling for private chats
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
13e2f81f26
Merge remote-tracking branch 'upstream/clearnet' into node-side-in-ts
3 years ago
Audric Ackermann
6001da5ac8
add some [perf] duration measurement
3 years ago
Audric Ackermann
01bb200b24
reduce number of commits during opengroup handling of message
3 years ago
Audric Ackermann
0ebc1d7e92
split attachmnent logic between what is used on main and renderer
3 years ago
Audric Ackermann
fe57531797
Sesion 1.8.4 with calls enabled
3 years ago
Audric Ackermann
6bd835dfc3
move storage.js to ts
3 years ago
Audric Ackermann
0d4059ccb1
move read_receipts to ts
3 years ago
Audric Ackermann
74cf88cf81
create closed group mark as approved
...
also, do not filter closed group based on the isApproved field in redux
3 years ago
warrickct
821f4d73ff
Merge branch 'clearnet' into msg-request-ui-2
3 years ago
warrickct
1ca66e6bcf
Fix read receipts being considered as inferred request approvals. Fix preventing subsequent request messages from reactivating the request banner.
3 years ago
warrickct
08ba24c3c9
refactoring
3 years ago
Audric Ackermann
3fed22048b
rename a few loki to session
3 years ago
warrickct
f5972a5d1c
Calling setting convo isApproved. Removing some unnecessary conditionals.
3 years ago
warrickct
abc188e889
Additional PR changes
3 years ago
warrickct
efa482b002
adding pr changes
3 years ago
warrickct
0db3c76756
Fixing linting errors
3 years ago
warrickct
c3d9912572
Adding handling of edge case for messaging clients without request approval update.
3 years ago
warrickct
6a02846829
Correcting merge errors.
3 years ago
warrickct
ee9156d4f8
Merge clearnet into message-request-ui
3 years ago
warrickct
8ebfa4b7a3
Move message receival UI toggling to event.
3 years ago
warrickct
bc6edd7774
Adding unhiding of message request banner when receiving a new convo request.
3 years ago
warrickct
8a8a5ca82c
removing pubkey from message request response.
3 years ago
warrickct
36ca2a767c
Adding PR changes
3 years ago
warrickct
0461454e27
Removing toast on request accept
3 years ago