William Grant
4decf22241
feat: improved error messaging when starting a new message
1 year ago
Audric Ackermann
52ebcfdbab
fix: randomly pick a snode topollfrom until we build a better way
1 year ago
William Grant
0f6d80b847
Merge branch 'unstable' into feat/ses-50/onboarding
1 year ago
Audric Ackermann
7f1e3ed8d8
feat: remove custom icon for toasts as only used once
1 year ago
Ryan Miller
5f53b3fe8f
feat: replace and add changed and new localized strings
1 year ago
William Grant
97cd21a77e
Merge branch 'unstable' into feat/ses-899/user_profile_poll
1 year ago
William Grant
8dceb93b09
feat: reset onboarding state when we return to the start stage
...
added better logging for create account flow
1 year ago
Audric Ackermann
d4f3c7fdc1
feat: add ability to unsend messages in groupv2
1 year ago
Audric Ackermann
095a9d33e5
fix: canDisplayImage needs check to be done on the thumbnail
1 year ago
William Grant
fd4e1525cb
Merge branch 'unstable' into feat/ses-50/onboarding
1 year ago
Audric Ackermann
05215d8c61
fix: drop incoming msg if deleteBefore says so
1 year ago
Audric Ackermann
53059135ee
fix: tsc does not overwrite workers compiled content
1 year ago
Audric Ackermann
1c58899558
fix: rekey explicitely when creating a group
1 year ago
William Grant
6f84d5bede
feat: animated progress loader to spec
...
timeout display name fetch to 15 seconds, added display name inital screen still needs work
1 year ago
Audric Ackermann
d6d9bec5ba
fix: fixed a bunch of groupv2 chunk2 issues
1 year ago
Audric Ackermann
a53299377a
chore: fix unit tests with group chunk2
1 year ago
William Grant
ec7ab04d09
refactor: moved related function from registrationstages to createaccount
1 year ago
William Grant
4910911828
fix: rename MAX_USERNAME_BYTES to MAX_NAME_LENGTH to match libsession, updated byte limit to 100
...
added doctstring to explain the prop
1 year ago
Audric Ackermann
b9da60af3b
fix: send msg to group unapproved accepts and then sends message
1 year ago
Audric Ackermann
5867c5af7f
fix: added type for all accessibility ids with react.d.ts
1 year ago
Audric Ackermann
392e243b08
feat: add the sending state to invite&promote actions
1 year ago
William Grant
a098638bc0
refactor: remove unnecessary react imports
...
you don't need it from react 17
1 year ago
Audric Ackermann
5509dc74c5
refactor: move subrequests to classes and fix updateMessages
1 year ago
Audric Ackermann
6094e725fb
chore: move getExpiries request to class
1 year ago
Audric Ackermann
d3ed798d0e
chore: show toast when trying to remove admin of groupv2
1 year ago
Audric Ackermann
4e8ca31c2f
fix: remove isLeft flag as we can't have a left and unremoved group
1 year ago
Audric Ackermann
456df58205
chore: refactor messageSender.send to take an object
1 year ago
Audric Ackermann
77a62e82e7
fix: add avatar change message handling
...
still needs to be able to send one, but that's chunk3
1 year ago
Audric Ackermann
528d15bf2d
fix: fix convo volatile updates for 03-groups
1 year ago
Audric Ackermann
1b50715e8f
fix: wrap groupUpdatesMsg into Envelope before encryption
1 year ago
Audric Ackermann
0be10d1256
fix: move revoke unrevoke to batched push group changes
1 year ago
Audric Ackermann
77fdc97bcf
feat: force group msg request unread when handling invite
1 year ago
Audric Ackermann
8b7ce7f3be
Merge remote-tracking branch 'yougotwill/userconfig_disappearingmessage' into closed-group-chunk2
1 year ago
Audric Ackermann
a203ea79cd
Merge remote-tracking branch 'oxen/unstable' into userconfig_disappearingmessage
1 year ago
Audric Ackermann
6d81f5ff36
Merge remote-tracking branch 'yougotwill/userconfig_disappearingmessage' into closed-group-chunk2
1 year ago
Audric Ackermann
286260fae8
fix: make callMessage forced to be DaR for recipient
...
and put workaround for our local message
1 year ago
Audric Ackermann
ccbe3e13b0
fix: call messages expires with recipients expire settings
1 year ago
Audric Ackermann
b61745fd94
fix: use DaR ttl for synced message store request
...
removing one request at a time
1 year ago
Audric Ackermann
5cfbb8405c
fix: use expiry from swarm to update readAt & expiresAt for msg
1 year ago
Audric Ackermann
82c6f0897b
fix: add jobs for expiry update & expiry fetch
1 year ago
Audric Ackermann
9c4eee8a15
fix: disable frigg&fenrir turn servers for now
1 year ago
Audric Ackermann
98fd834367
fix: already read DaR messages start with right time left on receive
1 year ago
Audric Ackermann
19e9e0311e
feat: add cleanup of old expire update in history
...
we only keep one from each sender
1 year ago
Audric Ackermann
ad9fa6dbee
chore: remove lastChangetimestmap and add explciit expiretype and type
...
on the messages creation
1 year ago
Audric Ackermann
d1068983bb
fix: broken state adding lastDisappearingMessage to chatmsg
1 year ago
Audric Ackermann
e5c76d3b70
feat: group message requests kind of working
...
still need to have them visible in the msg request only
2 years ago
Audric Ackermann
b259d18443
fix: add still broken promote handling with set_sig_keys
2 years ago
Audric Ackermann
08c5f76a15
fix: store envelopetimestamp in cache, and make sure we use network one
...
everywhere
2 years ago
Audric Ackermann
93d87d82ae
chore: renamed getnowwithnetworkoffset to now()
2 years ago
Audric Ackermann
16e7ee1cd6
feat: make groupv2 messages skip cache
...
also add group members change
2 years ago
Audric Ackermann
f9502b4bbe
fix: remove titles from toasts
...
as they have been removed from the guideline
2 years ago
Audric Ackermann
00f93a2754
fix: send sync message with the expireUpdate if provided
2 years ago
Audric Ackermann
99c231c698
fix: allow answered&missed call notification to disappear after read
2 years ago
Audric Ackermann
1dbcd157a0
feat: add invite failed toast debounced
...
also make the toast replace pubkeys with nicknames/names or shortened
pks
2 years ago
Audric Ackermann
f17beaf852
feat: add GroupInviteJob
2 years ago
Audric Ackermann
b8876ebbfe
feat: add subaccount auth
2 years ago
Audric Ackermann
9cc37cc0e7
fix: outgoing start call notification timer start on after read
2 years ago
Audric Ackermann
dbe94f2293
feat: added strings for groupv2 control message and components for them
2 years ago
Audric Ackermann
c9b2d69a73
fix: remove all of the ConfiguratioMessage (legacy) logic
2 years ago
Audric Ackermann
df3a188074
fix: address PR reviews
2 years ago
William Grant
04c3f69398
refactor: export functions from an object for stubbing
...
for disappearing messages index file
2 years ago
William Grant
bb6e09de0a
feat: cleaned up wip logs
2 years ago
Audric Ackermann
b0e38670ab
chore: rename all groupv3 to groupv2
2 years ago
Audric Ackermann
84451399e3
Merge remote-tracking branch 'upstream/unstable' into closed-group-chunk1
2 years ago
William Grant
aad55025ba
fix: more comment cleanup
2 years ago
William Grant
5f3a0899f5
feat: moved remaining code into feature folder
...
also separated out legacy functions
2 years ago
Audric Ackermann
ae67215a7e
test: finished tests for userSyncJob
2 years ago
William Grant
0212166fcc
feat: moved disappearing logic to a feature folder
...
only moved types and timerOptions so far
2 years ago
William Grant
cafa9d80ec
fix: remove all unneeded tslint comments
...
fixed some eslint errors
2 years ago
Audric Ackermann
9492fdc51e
fix: first working test ios to desktop
...
still have some tests to fix
2 years ago
William Grant
a2890925a5
test: fix groups wrapper values test
2 years ago
William Grant
6694f5a86f
refactor: fixed comment typo
...
returned for testing purposes only
2 years ago
William Grant
4b93c5779a
test: started libsession LegacyGroups tests
...
specifically insertGroupsFromDBIntoWrapperAndRefresh
2 years ago
William Grant
bb95aef2d0
test: finished libsession_wrapper_user_profile tests
2 years ago
William Grant
edfcbe2d67
fix: dont use ourNumber in contacts tests
2 years ago
Audric Ackermann
ceffa1e13b
test: add tests for pendingchangesforus
2 years ago
William Grant
3330c64761
test: started insertContactFromDBIntoWrapperAndRefresh
2 years ago
Audric Ackermann
d134da3421
chore: renamed ConfigurationSyncJob to UserSyncJob
2 years ago
Audric Ackermann
eb77c50fa9
chore: renamed GroupConfigurationJob to GroupSyncJob
2 years ago
Audric Ackermann
c14276200e
chore: merged what can be between user and group sync job
2 years ago
Audric Ackermann
d9300e67a0
fix: remove the whole kind logic and use namespace instead
...
this is because session doesn't care about the config it receives
anymore and just forwards them to libsession
2 years ago
Audric Ackermann
51205424d6
test: add tests for GroupSyncJob
2 years ago
William Grant
6379226410
feat: added isValidUnixTimestamp
2 years ago
William Grant
101762918c
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
6b3adff972
test: added a (still broken) test for key conflicts
2 years ago
William Grant
f31e157c12
refactor: replaced get expireTimer calls
...
with getExpireTimer
2 years ago
William Grant
3ed041c4a5
feat: created getters on convo model
...
replaced all expirationMode calls
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
Audric Ackermann
d12071f3c8
chore: big rename of convocontroller to convohub
2 years ago
William Grant
beb04d1b31
feat: improved logging for start expiry timestamp
2 years ago
William Grant
ee5503585a
fix: comment out some unnecessary logging
2 years ago
Audric Ackermann
b53264593b
feat: preload name of group from usergroup wrapper
...
until we get the groupinfo name from polling
2 years ago
Audric Ackermann
cd17a08c2e
chore: lint
2 years ago
Audric Ackermann
1a18054fae
feat: add bump of config hashes for groups when we have admin key
2 years ago
William Grant
60aac9be85
fix: regular messages correctly sync again
2 years ago
William Grant
ec81805745
fix: log pipeline better
2 years ago
William Grant
07097b029d
fix: don't send sync messages for outdated changes
2 years ago
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
Audric Ackermann
46e3675c45
feat: add function to redux to grab group detail outside of store
2 years ago
William Grant
c24487b938
fix: deleteAfterSend now works in private convos again
2 years ago
Audric Ackermann
bbedfd943c
fix: do not confirm keys once pushed, wait for poll event
2 years ago
Audric Ackermann
08164f2fd0
feat: add sending and receiving of libsession encrypted msgs
...
still a wip though
2 years ago
William Grant
a65f02a807
feat: use checkForExpireUpdateInContentMessage on sync messages
2 years ago
Audric Ackermann
90f4dd761c
feat: add meta merge and update of name+members
2 years ago
Audric Ackermann
d89ff59560
feat: store info+members+keys on right namespaces for groups
...
make the signature work with the admin key, fetching it from the
usergroups wrapper
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
f86b3689ba
fix: add GroupSyncJob to push changes for group
2 years ago
Audric Ackermann
42913371df
fix: remove groups from protobuf
2 years ago
William Grant
bb6eb3e84e
feat: fixed 1-1s and added more logging
2 years ago
Audric Ackermann
8c3b6508ad
fix: wip before removing info+members+keys from protobuf kinds
2 years ago
Audric Ackermann
db98cc2812
feat: able to create a broken closedgroup v3
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
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
deceae4119
feat: disappearing messages setting now sync correctly in user config
...
we also load the visible control message, added back a lot of WIP logging while we are testing
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
bfc073ef70
fix: eslint warning in syncutils
2 years ago
Audric Ackermann
5b2580c48d
feat: add poller changes and closed group keypair gen
2 years ago
William Grant
37676e5666
fix: making progress with group migration
...
still getting overriden on render
2 years ago
William Grant
da588a1096
Merge branch 'unstable' into userconfig_disappearingmessage
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
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
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
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
953897cc1c
Merge pull request #2840 from Bilb/replace-tslint-with-eslint
...
Replace tslint with eslint
2 years ago
William Grant
10561e4e3c
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
b7d444e5d5
Merge pull request #2820 from Bilb/chore/remove-unblock-group-string
...
chore: remove the unblockGroupToSend string as we cannot block a group.
2 years ago
Audric Ackermann
d43d6abbae
chore: replace tslint with eslint and fix linting issues
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
0e5ca3f731
chore: remove the unblockGroupToSend string as we cannot block a group.
2 years ago
Audric Ackermann
9a7ef4d373
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
de41988215
fix: typo on no audio output on speaker toggle
2 years ago
Audric Ackermann
83a8adf033
fix: decrease retry timer of confsyncjob to 15s
...
- we need a rather long duration so we don't add a new job while was is
already planned to be runned, and they end up both running at the same
time.
- we also need a not too long duration for integration tests and UX
experience, as a change could take the retry timeout to happen+polling
timer to happen, which used to be 40s total.
This brings that time to worse time change from 40 to 25s
2 years ago
Audric Ackermann
594eee698b
Merge remote-tracking branch 'upstream/clearnet' into unstable
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
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
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
3eb629e33e
fix: cleanup convo selectors to hope to improve performances
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
Audric Ackermann
db9fa14213
fix: don't update state on updates already included in our syncmessage
2 years ago
William Grant
d706ecdead
fix: show authorName in reply ui
2 years ago