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
Audric Ackermann
2068737cdd
fix: break down deleteContact based on convo type
2 years ago
Audric Ackermann
7b42c64cf3
fix: make sure to include the associatedWith to handle 421
2 years ago
Audric Ackermann
0cbcecb508
fix: make avatar download job only take conversationId
...
and not the profileKey+url too as we need the db entry to be in sync
with the config wrapper data (otherwise the next commit would be made
with data out of date from the wrapper side)
2 years ago
Audric Ackermann
50459d8da8
chore: remove completely commented test files related to groupv3
2 years ago
Audric Ackermann
6676bf77f9
chore: fix unit tests for userconfig changes
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
760ce5caa5
fix: add the maxSizeMap to have priority per retrieve namespaces
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
318a77be4b
fix: mark messages sent before our lastreadts from the wrapper as read
2 years ago
Audric Ackermann
328c131d8b
chore: cleanup commented caching code of some wrappers
2 years ago
Audric Ackermann
44483b7d23
fix: use releaseFeature from disappearing message PR as featureFlag
2 years ago
Audric Ackermann
8edb1275c2
fix: keep updating dumps even if user config feature is off
2 years ago
Audric Ackermann
051c4bb262
fix: merge the confSyncDumpJob into the confSyncJob
2 years ago
Audric Ackermann
6fe6544d6c
fix: split up migration of initial user config dumps into two
2 years ago
Audric Ackermann
ce186517a3
chore: lint code
2 years ago
Audric Ackermann
e263b701b0
chore: fetch latest archive from libsession nodejs git repo
2 years ago
William Grant
cfcf400ecf
fix: cleaned up WIP logging and used the window log debug function where appropriate
2 years ago
Audric Ackermann
9d87ca2546
fix: test with libsession compiled with node-api
2 years ago
William Grant
afaaedac3e
feat: added proper note to self support
...
note to self is always delete after send
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
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
349b513051
fix: only log errors when syncing an expire timer message and not all sync messages
2 years ago
William Grant
d698f66d50
feat: updated clients can send ExpirationTimerUpdateMessages to older clients
...
fixed syncing of ExpirationTimerUpdateMessages
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
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
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
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
dc329668fa
chore: fix unit tests
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
760642e149
feat: use the lastJoinedAt and createdAt from the wrapper
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
f3975b545a
feat: use priority for hidden and pinned conversation
2 years ago
Audric Ackermann
fe5eea4c8d
chore: fix critical yarn audit issues
2 years ago
Audric Ackermann
796ccf0582
feat: add handling and setting of the expireTimer for contacts
2 years ago
Audric Ackermann
8a0074d2bd
feat: add convo volatile info during migrations for each convo tracked
2 years ago
Audric Ackermann
1dcee5bc93
feat: wait for confSyncJob to be done before deleting account
2 years ago
Audric Ackermann
c623e2e49e
fix: make the ConfSyncJob fetch be per destination
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
2a5dc5f2a5
feat: add more compilation errors if forgetting to handle a wrapper type
2 years ago
Audric Ackermann
21d8151b8b
feat: add convo volatile info mgmt
2 years ago
Audric Ackermann
c4e17d0825
fix: add mgmt of members in user groups wrapper
2 years ago
Audric Ackermann
bc905bdba1
feat: start of community handling in libsession util
...
also remove tracking of hashes for config namespaces
2 years ago
Audric Ackermann
37e335097e
chore: remove unused bdecode logic as it is now in libsession util
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
f88acdb567
feat: remove blocked group tracking separately from the pubkeys
2 years ago
mdPlusPlus
1d6ed17ac7
Fix typos via codespell
2 years ago
Audric Ackermann
b2237efe51
feat: insert all contacts into wrapper before syncing it
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
f870eff45b
fix: make syncJob throttled every 3s and start right away if possible
...
also enable sig_timestamp on mainnet use as every node should have
upgraded now
2 years ago
Audric Ackermann
f215535f75
fix: set and get profile picture from libsession
2 years ago
Audric Ackermann
6bbb16b46d
feat: track and delete configMessageHashes
2 years ago
Audric Ackermann
7c56310e69
feat: addConfSyncJob start
2 years ago
Audric Ackermann
4bfcf91193
fix: add return types for libsession wrapper functions
2 years ago
Audric Ackermann
90804491d6
feat: add job result enum with success, retry and permanent fail
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
141c22ed43
tesat: add tests for the JobRunner class
2 years ago
Audric Ackermann
b3995c117b
feat: add a PersistedJobRunner which can handle SyncConfJobs
2 years ago
Audric Ackermann
68852a9e63
chore: move syncUtils to its own folder
2 years ago
Audric Ackermann
58edbf44ee
add SharedConfig message and signing it when sending them
2 years ago
Audric Ackermann
6d1b406c85
fix: add namespace to all sending message calls
2 years ago
Audric Ackermann
65df3157bd
chore: lint
2 years ago
Audric Ackermann
4b97f14edf
fix: added batch requests for snode but signature fails
2 years ago
Audric Ackermann
d7bcf1026f
fix: refactor snodeRPC to use snode batching
2 years ago
Audric Ackermann
0e4920cb0d
feat: add bencoded/decoded + tests
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
2 years ago
Audric Ackermann
37cedaf24a
fix: make allowOneAtATime take a generic
3 years ago
William Grant
367c0c94d0
Merge branch 'clearnet' into theming
3 years ago
Audric Ackermann
26290ffd8b
fix: mark attachment as failure if we get a 404
3 years ago
William Grant
5b44565b5f
Merge branch 'clearnet' into theming
3 years ago
William Grant
177e2df768
feat: consolidated theme switching code
3 years ago
William Grant
2f0e993af3
feat: moved constants into a constants folder
3 years ago
Audric Ackermann
1ce8fd5979
fix: make circular buffer not recreate an array on each overflow
3 years ago
Audric Ackermann
c617976be0
test: added tests for RingBuffer & sogsRollingDeletions
3 years ago
Audric Ackermann
ad03fbd497
fix: skip recent deleted message empty react changes
3 years ago
Audric Ackermann
ad22482274
fix: add toast on rate limit hit for reactions
3 years ago
Audric Ackermann
4e913f1439
fix: displayName allowed length based on bytes rather than char
3 years ago
Audric Ackermann
e2c3ccef84
Merge pull request #2539 from Bilb/add-toast-react-rate-limit
...
fix: add toast on rate limit hit for reactions
3 years ago
Audric Ackermann
135b9cf34d
fix: add toast on rate limit hit for reactions
3 years ago
Audric Ackermann
51e03cf4e5
fix: rerender loop of react list modal
...
update redux related libraries
and update imports to use the RTK ones
3 years ago
William Grant
adf370997e
feat: added theming to the about page
3 years ago
William Grant
b3885bf9d9
Merge branch 'clearnet' into theming
...
Link previews are broken for now
3 years ago
Audric Ackermann
dcf2f96c9f
fix: address regression tests UI issues
3 years ago
William Grant
e575bed6ea
feat: added sun icon for light color mode
...
renamed SectionType Moon to ColorMode
3 years ago
William Grant
edefa21a2b
feat: we can now toggle to the classic dark theme
...
fixed ocean dark colors and updating theme setting logic
3 years ago
Audric Ackermann
1d45aa6f45
fix: show loading spinner while sogs is fetching initial messages
3 years ago
Audric Ackermann
e464d6c573
Merge branch 'settings-redesign' into feature-menu-redesign
3 years ago
Audric Ackermann
d9621f79c3
fix: allow any sogs to be awaited until messages are fetched
3 years ago
Audric Ackermann
0eac74dd07
Merge branch 'dev' into menu-redesign
3 years ago
William Grant
e298f6820c
Merge branch 'settings-redesign' into theming
3 years ago
Audric Ackermann
3915e946b4
Merge branch 'clearnet' into settings-redesign
3 years ago
Audric Ackermann
b9cccfc2a8
feat: open convo a session sogs when joined from the UI
3 years ago
William Grant
82c505895c
fix: errors from merging latest settings redesign
3 years ago
Audric Ackermann
dcf9212b07
fix: make sure we include width and height when sending attachments
3 years ago
Audric Ackermann
1e202fcdab
feat: add theme switcher +accent color from settings
...
not all of the logic is linked and not all of the colors are there as this is part of theming
3 years ago
Audric Ackermann
9e3b76dd28
fix: catch exception when raised in last dljob
...
this is for attachment download. We don't want to throw an uncaught
exception in the catch block
3 years ago
Audric Ackermann
2faab12c2f
chore: update comments about parrallelism in AttachmentJobs
3 years ago
Audric Ackermann
c08f761d47
fix: revert to allow 3 attachments download at a time
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
40c0b8205e
Merge pull request #2386 from Bilb/fix-call-missed-too-old
...
fix: show call missed message on call too old received
3 years ago
Audric Ackermann
21af9b5c1b
fix: show call missed message on call too old received
3 years ago
Audric Ackermann
f84762c889
fix: attachments download job trying to send function over ipc
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
02ed40455f
fix: run the cleaning opengroup transaction on startup
3 years ago
Audric Ackermann
e4e9d535fc
Merge pull request #2290 from Bilb/pre-hf-inboxes
...
Add inboxes to retrieve & polling of messages and detection of hardfork
3 years ago
Ian Macdonald
09be936aa4
Report number of deletions when a deletion operation completes.
3 years ago
Audric Ackermann
d948045e6a
added hf switching of poll&store requests + tests
3 years ago
Audric Ackermann
50ca1bcda9
added namespace field and signature using it for our own 'retrieve'
3 years ago
Audric Ackermann
da9df532b0
Merge pull request #2242 from Bilb/node-side-in-ts
...
Node side + web worker in typescript
3 years ago
Audric Ackermann
13e2f81f26
Merge remote-tracking branch 'upstream/clearnet' into node-side-in-ts
3 years ago
Audric Ackermann
00d70db0be
queue user profile avatars update
...
also add some tests for the promise utils
3 years ago
Ian Macdonald
d14486b462
Make configuration sync every 2 days, in line with the comment.
3 years ago
Audric Ackermann
a9cc9a7294
add tests for attachment metadata
3 years ago
Audric Ackermann
261940e978
fix tests
3 years ago
Audric Ackermann
b4dc18d65b
migrate app focus logic to events sent from node
3 years ago
Audric Ackermann
0ebc1d7e92
split attachmnent logic between what is used on main and renderer
3 years ago
Audric Ackermann
332d58027f
show draggable call container when opening settings from call convo
3 years ago
Audric Ackermann
4d72b92b25
app starts but full of errors
3 years ago
Audric Ackermann
2dfd09a7b1
app kind of start background side
3 years ago
Audric Ackermann
6e8e8eaa9a
move errors.js to ts
3 years ago
Audric Ackermann
79bf0c53ee
move libtextsecure/crypto.js to ts
...
used mostly for attachments encrypting before upload/decrypt and profile
encrypt/derypt
3 years ago
Audric Ackermann
0719700371
do not end call if connection fails, instead wait for new offer
3 years ago
Audric Ackermann
2a11d5e71f
trigger a new offer on connect fail if we are caller
...
the caller is just supposed to accept the offer and send an answer back
3 years ago
Audric Ackermann
6bd835dfc3
move storage.js 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
Audric Ackermann
71aa6c813c
Merge remote-tracking branch 'upstream/clearnet' into fix-i18n-with-dollars-sign
3 years ago