William Grant
101762918c
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
William Grant
515805b94d
fix: messages are no longer randomly deleted
...
forgot to expire only unread disappearing messages and not all messages
2 years ago
William Grant
250e3d0238
refactor: rename expirationType on convo to expirationMode
...
this means convo has expirationMode and messages have expirationType
2 years ago
Audric Ackermann
7c16ce9da4
fix: do not try to store contacts not matching pubkey regex in wrapper
...
also remove existing convo with spaces and 05 on start
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
250e593831
fix: make sure migration still added database columns changes even if the user isn't logged in
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
37676e5666
fix: making progress with group migration
...
still getting overriden on render
2 years ago
William Grant
45cfa6b38b
feat: fixed groups migration v34
2 years ago
William Grant
4aba2493e5
fix: remove convo volatile update from v34 migration since it's not related to disappearing messages
2 years ago
William Grant
03c0d74820
feat: migrations works correctly for private conversations
2 years ago
William Grant
da588a1096
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
William Grant
88a87903cb
feat: updated UserConfigDump functions to support any variant config dump for migration 34
2 years ago
William Grant
22e9e6bb44
feat: started working on disappearing messages migration 34
...
note to self and private conversations are mvp, still some initial cleanup todo
2 years ago
William Grant
b556d2bc54
feat: updated migration 33 to use a new migration style to prevent typing issues with future versions of libsession
2 years ago
William Grant
b00f7283e8
feat: updated migration 31 to use a new migration style to prevent typing issues with future versions of libsession
2 years ago
William Grant
6af27d85de
feat: moved non libsession migration util functions into a separate file
2 years ago
William Grant
43276b069e
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
e3b6be7318
chore: fix typos
...
this comes from mdplusplus https://github.com/mdPlusPlus/session-desktop/tree/codespell
duplicated to fix conflicts
2 years ago
Audric Ackermann
84deed19f9
feat: add block msg requests from sogs
2 years ago
William Grant
a25d94fa6c
fix: moved disappearing messages migration to a separate file
...
updated note to self function calls in the user config wrapper
2 years ago
William Grant
4d77b1c6d0
fix: added proper typing when fetching a dump to update it
2 years ago
William Grant
ff27913b66
fix: migration started and working for note to self for user config
...
updated libsession to use setExpiry and getExpiry since we can't add new arguments to the getUserInfo and setUserInfo
2 years ago
William Grant
2a6d8a6544
feat: remove legacy from expirationType during db migration
...
fix migrations to work with user config changes
2 years ago
William Grant
d794b0a0d4
fix: comment out user config disappearing messages stuff for now
2 years ago
William Grant
5762342e03
fix: spaces on fixme comments
2 years ago
William Grant
41af1e7865
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
41ca0666ce
chore: remove () => void for misused promises
2 years ago
Audric Ackermann
ab946e69b1
fix: finish updating dependencies
2 years ago
Audric Ackermann
feaba36fa4
fix: picker emoji-mart errors after update
2 years ago
Audric Ackermann
d43d6abbae
chore: replace tslint with eslint and fix linting issues
2 years ago
Audric Ackermann
49955a3947
chore: update node version, electron and deps
2 years ago
William Grant
ed2a372ca3
Merge branch 'unstable' into feature/ses-145/leave-conversation-update
2 years ago
William Grant
905fe5aab9
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
77acd1396b
feat: add support for blinded25 receipt of messages for later impl
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
dcdbc07195
fix: delete actions for admins on communities
2 years ago
William Grant
d37aa42084
Merge branch 'unstable' into feature/ses-145/leave-conversation-update
2 years ago
Audric Ackermann
adf5574318
fix: add libsession nodejs with expiretimer and resolve issues
2 years ago
Audric Ackermann
5d2d901aa0
Merge remote-tracking branch 'upstream/unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
dc3e8450e9
fix: memoize selected conversation props to avoid unneeded rerenders
2 years ago
Audric Ackermann
524debb307
fix: improve delete messages perfs and search logic
2 years ago
Audric Ackermann
4280d83ba8
fix: bump libsession to allow createdAt to be given during migration
2 years ago
Audric Ackermann
fed58161a0
fix: address PR reviews and optimize search results
2 years ago
Audric Ackermann
0e18bf4640
fix: disable expire timer tracking for all libsession logic
...
this will need to be turned on when the disappearing branch is merged
2 years ago
Audric Ackermann
bec667ebee
fix: remove row_number ordering when looking up message
2 years ago
Audric Ackermann
3eb629e33e
fix: cleanup convo selectors to hope to improve performances
2 years ago
William Grant
24776c0d5c
feat: moved convo model interaction props into the lastMessage logic
...
this makes it easier to interact with since if an interaction fails we save it to the db as a message
2 years ago
William Grant
de614109d0
feat: added lastMessageId to convo model to uniquely identify a lastMessage
2 years ago
William Grant
8a7007e7c3
feat: added interaction properties to conversation modal and started UI changes in ConversationListItem based on confirming an interaction
...
still to to port the original modal checks to use thd convo props
2 years ago
Audric Ackermann
4637f4609a
Merge remote-tracking branch 'yougotwill/disappearing_messages' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
5a5f069cca
fix: add tracking of expiration timer for nts through libsession
2 years ago
William Grant
e8b5f399f7
fix: made sure items in getMessagesBySenderAndSentAt are unique
2 years ago
William Grant
92ed15c6c4
feat: pass yarn ready
2 years ago
William Grant
e90e548715
feat: improved quoted message not found
...
consolidated quote props lookup into getMessageQuoteProps, only use the db message in the quote components
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
William Grant
bd8ce826a8
fix: replaced getMessageBySenderAndSentAt with getMessageBySenderAndTimestamp
...
which does the same thing but is more verbose
2 years ago
Audric Ackermann
c42f828044
fix: hide logs when fetched items are sent back on saveConversation
2 years ago
William Grant
f41c28a873
fix: moved feature release timestamp to constants so it only has to be defined once
2 years ago
William Grant
df27fa1b82
fix: cleanup comments
2 years ago
Audric Ackermann
4d0e79f195
fix: legacy group with wrapper and disable right click while searching
2 years ago
Audric Ackermann
2a4bbbd587
feat: add the deleteContact and deleteConversation only menu items
2 years ago
Audric Ackermann
6f6620f622
fix: skip new group messages when receved after group was removed
2 years ago
Audric Ackermann
bac2887c28
fix: update with latest libsession util
2 years ago
Audric Ackermann
6fe6544d6c
fix: split up migration of initial user config dumps into two
2 years ago
Audric Ackermann
e263b701b0
chore: fetch latest archive from libsession nodejs git repo
2 years ago
Audric Ackermann
9d87ca2546
fix: test with libsession compiled with node-api
2 years ago
William Grant
f68fbb05f9
fix: resolve turning off disappearing messages empty messages in most cases
...
still requires more tweaking
2 years ago
William Grant
f7e5719eac
feat: reverted bak to stage 1
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
61b91e2485
fix: make sure migration triggers with the correct date for current development
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
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
4dbbada728
feat: added notice banner component
...
show notice when conversation is in legacy mode, extracted some UI components from the ConversationHeader, updated featureReleaseTimestamp
2 years ago
William Grant
93005d32d8
feat: updated db migration to support legacy mode
2 years ago
William Grant
e34e3d4a4b
fix: resolved some yarn ready issues
2 years ago
William Grant
2745571790
fix: correctly write to db when setting changes
2 years ago
William Grant
1303707cd7
feat: added expirationType to message model with correct typings
...
added to migration
2 years ago
William Grant
976cb2a55f
fix: improved migration queries
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
0e286142f1
chore: add a redux settings slice, currently outdated banner inc
2 years ago
Audric Ackermann
cbffc29950
fix: run tests for libsession-util integration and fix issue
2 years ago
Audric Ackermann
c2e3f1b587
chore: update libsession-util name & dependency
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
b843d66084
feat: add the lastJoined and createdAt timestamp from wrapper logic
2 years ago
Audric Ackermann
51e4f1dd48
feat: UI, use group info from wrapper if we have them or from DB
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
796ccf0582
feat: add handling and setting of the expireTimer for contacts
2 years ago
Audric Ackermann
51df7d80bb
chore: remove parcel completely and grunt
2 years ago
Audric Ackermann
8a0074d2bd
feat: add convo volatile info during migrations for each convo tracked
2 years ago
Audric Ackermann
554b445a3e
feat: lookup for shared config message on link device
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