William Grant
190357b006
fix: cleanup
2 years ago
William Grant
12087da2be
fix: repaired closed group disappearing messages
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
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
307fefcedc
feat: improved sender disappear after reading time
2 years ago
William Grant
4ef3537a53
feat: timer notifications expire correctly when disappearing after sending
2 years ago
William Grant
f36bbb9c7c
feat: group invitiations now disappear
2 years ago
William Grant
e34e3d4a4b
fix: resolved some yarn ready issues
2 years ago
William Grant
f825b74895
feat: disappearing messages are now correctly deleted from the swarm after they expire
2 years ago
William Grant
d358ab2fb1
feat: fixed closed groups
...
improved setExpirationStartTimestamp logic
2 years ago
William Grant
996d204dc8
feat: improved syncing of timers for disappear after send
2 years ago
William Grant
6febf2859e
feat: disappear after reading now works
2 years ago
William Grant
4ee440304c
feat: attempted to improve the accuracy of the start timer for disappear after send
2 years ago
William Grant
ee4aa333fc
feat: disappearing after send is not working correctly
2 years ago
William Grant
22e02633a9
feat: started consolidating send and receive dm logic.
...
updated in parts but haven't test what happens
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
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
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
da57379762
fix: update certificate of seed nodes expiring soon
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
0050352470
chore: move selected convo selectors to another file
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
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
d512a1a131
fix: various UI margins and dedup official sogs join
2 years ago
Audric Ackermann
bb0112c6c5
feat: increase max upload size to 10MB
2 years ago
William Grant
5b59b3eef2
fix: extract max unread count to a constant
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
2da2c95272
chore: cleanedup the stubbing logic
2 years ago
William Grant
504f60cb97
fix: resolved missing reactions in open groups, fixed mutation cache logic
2 years ago
Audric Ackermann
68852a9e63
chore: move syncUtils to its own folder
2 years ago
Audric Ackermann
c8e76b17de
chore: refactor db instance to outside its sql.ts file
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
0f58e11a17
chore: update with latest libsession wrapper
2 years ago
Audric Ackermann
1a65b7a7f2
feat: working calls to node module from renderer through worker
2 years ago
Audric Ackermann
bace70c6bc
chore: move util worker to its own folder
2 years ago
Audric Ackermann
65df3157bd
chore: lint
2 years ago
Audric Ackermann
2a8d764bfb
fix tests
2 years ago
Audric Ackermann
fddfc8c501
fix: hide v3 closed group protobuf messages for now
2 years ago
Audric Ackermann
456d52ab1a
fix: make sure we do not use "group" or "private" without the enum
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
16d14043b8
fix: use token from first room info to build conversationId for sogs
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
984dbf777d
fix: do not lowercase roomId before joining sogs room
2 years ago
Audric Ackermann
37cedaf24a
fix: make allowOneAtATime take a generic
3 years ago
Audric Ackermann
ae51b0cd96
fix: include auth sogs headers everywhere
3 years ago
Audric Ackermann
07dfdb3350
fix: remove spinner of first poll of sogs even when not selected
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
0cc7994c12
fix: speed up expiration/deletion of messages by batching updates in UI
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
0f3a23779a
Merge branch 'clearnet' into theming
3 years ago
William Grant
adf370997e
feat: added theming to the about page
3 years ago
Audric Ackermann
3788f5a4d5
Merge pull request #2488 from Bilb/message-request-include-profile
...
Profile in messageRequest
3 years ago
William Grant
b3885bf9d9
Merge branch 'clearnet' into theming
...
Link previews are broken for now
3 years ago
Audric Ackermann
4ed837e57e
fix: add test for MessageRequestResponse outgoing message
3 years ago
Audric Ackermann
84f2ce777a
fix: include profile in message request response
3 years ago
William Grant
c6af1a7468
feat: upgraded emoji-mart and added theme support
3 years ago
Audric Ackermann
e62c1599a5
Merge branch 'clearnet' into feat-move-attachments-outside-messagebox
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
William Grant
3c4fc8d919
Merge branch 'clearnet' into theming
3 years ago
Audric Ackermann
c6e3116b06
fix integration tests
3 years ago
William Grant
39a710afad
Merge branch 'clearnet' into theming
3 years ago
Audric Ackermann
c2e3e3ca3f
Merge remote-tracking branch 'upstream/clearnet' into ui-redesigns
3 years ago
Audric Ackermann
afe573fd06
Merge pull request #2482 from Bilb/crypto-magic-swallow-exception
...
fix: swallow exception while doing tryMatchBlindWithStandardKey
3 years ago
Audric Ackermann
d2472007b8
fix: swallow exception while doing tryMatchBlindWithStandardKey
3 years ago
William Grant
6cd81e06f2
Merge branch 'ui-redesigns' into theming
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
38d85a653a
fix: do not wait for sogs messages on join of unofficial sogs
3 years ago
Audric Ackermann
0eac74dd07
Merge branch 'dev' into menu-redesign
3 years ago
Audric Ackermann
ad04faca6f
fix: increment bad snode if we timeout of guard node
3 years ago
Audric Ackermann
e8fe564a08
fix: show sogs without display name in convo list
...
also use the pollinfo to update whatever the displayname if needed
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
2e2dac6c08
Merge pull request #2458 from Bilb/fix-add-voice-message-flag
...
fix: set flags to VOICE_MESSAGE when sending attachment with voice msg
3 years ago
Audric Ackermann
bb72833e60
Merge pull request #2462 from Bilb/fix-send-attachment-width-height
...
fix: make sure we include width and height when sending attachments
3 years ago
Audric Ackermann
2bd6c01ee3
Merge pull request #2473 from Bilb/fix-remove-admin-remove-mod-topo
...
Fix remove admin remove mod permission too
3 years ago
Audric Ackermann
aa0c15c8c1
fix: drop messages from a room left since start of current poll
3 years ago
Audric Ackermann
e14ff787d4
chore: update strings of moderator to admins until we have mods support
3 years ago
Audric Ackermann
f1358c4049
fix: make sure that removing an admin also removes the mod permission
...
because we cannot currently choose in the app what type of admin/mod we
want, it makes sense that adding/removing changes both permissions
3 years ago
William Grant
131ee22099
Merge branch 'settings-redesign' into theming
3 years ago
Audric Ackermann
55365f817d
Merge remote-tracking branch 'upstream/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
William Grant
9251e7687f
refactor: improved logging for mutation cache
3 years ago
William Grant
58e4b4e896
fix: make sure to clear a reaction is the count is 0 on an opengroup
3 years ago
William Grant
f138ea31b2
test: finished writing tests for sogs mutation cache
...
refactored processMessagesWithCachce function
3 years ago
William Grant
7c6af17327
fix: dont log removing entries from cache when there are none
3 years ago
William Grant
3060ffd25a
test: added tests for adding and updating sogs cache entries
...
updated idForLogging for opengroups to be more verbose, updated reaction method calls to use exported Reactions object
3 years ago
Audric Ackermann
9ffa529c30
fix: set flags to VOICE_MESSAGE when sending attachment with voice msg
3 years ago
William Grant
bbfb55f211
fix: pr review fixes
3 years ago
William Grant
b33ea096b4
fix: speed up reaction UI update for opengroups
3 years ago
William Grant
dde61bb35b
feat: moderator clear all reactions behaviour now uses the cache
3 years ago
William Grant
5ebd1775c0
feat: open group messages are now procesed via the cache
...
cached entries are now added or removed based on the "optimistic" state that we want
3 years ago
William Grant
e409c7ca82
feat: created a cache for opengroups reactions, we can add and update them
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
c54a438f7c
fix: add some aria labels and match QA test
3 years ago
William Grant
d77c9fa824
fix: sogs reactions work again and added rate limiting
3 years ago
Audric Ackermann
81fa09b8ee
Merge branch 'menu-redesign' into settings-redesign
3 years ago
Audric Ackermann
f87d902c98
fix: PR Reviews
3 years ago
Audric Ackermann
ef1f634e6b
Merge remote-tracking branch 'upstream/clearnet' into menu-redesign
3 years ago
Audric Ackermann
530ed5991a
Merge pull request #2423 from Bilb/track-hidden_mods-hidden-admins-too
...
fix: track hidden mods and admins if we get them
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
cfbb58aa7f
fix: remove logs of HF 19.0 and 19.1 values
3 years ago
Audric Ackermann
5266a24d88
fix: track hidden mods and admins if we get them
3 years ago
Audric Ackermann
970e719229
chore: move session radio group to styled components
...
also clean up unused css
and move some elements from OverlayClosedGroup to styled components
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
9cf874db5e
Merge pull request #2414 from Bilb/sogs-convo-dedup
...
Sogs convo dedup + fix sogs fetching of sogs messages
3 years ago
Audric Ackermann
eabee8f39a
fix: split migrations and sql files
...
also address PR reviews
3 years ago
Audric Ackermann
18ab715e93
fix: sogs messages being skipped and not handled
3 years ago
Audric Ackermann
2faab12c2f
chore: update comments about parrallelism in AttachmentJobs
3 years ago
Audric Ackermann
fac41bc6c4
fix: migrate session sogs room to their DomaiName syntax
3 years ago
Audric Ackermann
9b405b86ab
fix: do not attempt to connect to an sogs already join
...
make sure we consider http://, https:// and no protocol at all to look
for matches
3 years ago
Audric Ackermann
c08f761d47
fix: revert to allow 3 attachments download at a time
3 years ago
Audric Ackermann
e6cd277bd2
fix: allow non admin mods to delete message for deletion
3 years ago
Audric Ackermann
ef27153c69
fix: make sure existing sogs convo do not break on save
...
the app was crashing if a convo with an invalid read/write/upload capability was saved during a migration
3 years ago
Audric Ackermann
3d05d35bbb
fix: sogs deleted message now comes with `deleted` field set to true
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
Emily
775ddfda12
fixing the saved media read receipt
3 years ago
Audric Ackermann
f84762c889
fix: attachments download job trying to send function over ipc
3 years ago
Audric Ackermann
f654b0666b
fix: contact seed nodes one at a time only
...
also includes a fix to fix the release builds
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
26187da521
force duplicates to -10 and 0 for closed groups between HF
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
Audric Ackermann
6c05ff3c07
move useTestNet to featureFlag dependent on ENV variables
3 years ago
Audric Ackermann
9bd8b73a0c
fix testnet
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
363977b358
add polling from namespace 0 and storing lastHash with namespace
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
5c8e2b4044
cleanup swarm unused after removing unused convos
3 years ago
Audric Ackermann
7c1707f48e
drop old messages of opengroup
3 years ago
Audric Ackermann
3cfcf128a5
Merge remote-tracking branch 'upstream/master' into node-side-in-ts
3 years ago
Audric Ackermann
13e2f81f26
Merge remote-tracking branch 'upstream/clearnet' into node-side-in-ts
3 years ago
Audric Ackermann
4baedda349
add tests for opengroup utils
3 years ago
Audric Ackermann
e5c54cc45e
added some test for DecryptingAttachmentManager
3 years ago
Audric Ackermann
e11775a2e0
fix color of opengroup invitation
3 years ago
Audric Ackermann
6001da5ac8
add some [perf] duration measurement
3 years ago
Audric Ackermann
062db5caab
move filterDuplicatesFromDbAndIncoming to its own file and test
...
also add pending tests to do for in memory db and updater
3 years ago
Audric Ackermann
0158fd5ebb
filter duplicates on opengroup poll in a single sql call
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
475c92eeb4
migrate about_start to not use jquery
3 years ago
Audric Ackermann
261940e978
fix tests
3 years ago
Audric Ackermann
5047e8921b
made all verifi signatures in a single call to the worker
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
9f8920ef2c
mostly working but need to improve perfs
3 years ago
Audric Ackermann
4d72b92b25
app starts but full of errors
3 years ago
Audric Ackermann
280cc494e8
test with webpack - not working
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
ce0848c8bf
Merge branch 'clearnet' into updater-reword
3 years ago
Audric Ackermann
9d4989b66d
cleanup constants.tsx file
...
and fixup commit id showing at the bottom in settings
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
warrickct
4ee51b4ee9
Removing open group blocklist code.
3 years ago
Audric Ackermann
e1f2393c3a
cleanup translated strings
3 years ago
warrickct
614cdccd2c
Switch to window logging.
3 years ago
warrickct
f3cefdcf49
Add logging for debugging.
3 years ago
warrickct
096e1d24df
Fix linting error, remove unnecessary conditional
3 years ago
warrickct
380d55066a
Reducing excessive calls to open group blocklist.
3 years ago
warrickct
75191ae757
Add blocking joining open group based on blocklist.
3 years ago
warrickct
821f4d73ff
Merge branch 'clearnet' into msg-request-ui-2
3 years ago
Audric Ackermann
f1900f9f36
remove some unused strings
...
and fix tos links #2176
3 years ago
Audric Ackermann
3fed22048b
rename a few loki to session
3 years ago
warrickct
c0622d47f4
Disallow disappearing messages if convo is not approved by recipient.
3 years ago
warrickct
f5972a5d1c
Calling setting convo isApproved. Removing some unnecessary conditionals.
3 years ago
warrickct
ffad806366
Prevent attachments being sent for unapproved conversations.
3 years ago
warrickct
0db3c76756
Fixing linting errors
3 years ago
warrickct
893f7e99b8
Merge branch 'clearnet' into message-request-ui
3 years ago
Ian Macdonald
6613161b20
Don't nanny the user. Allow all file types as attachments.
...
The Android client already has no such restrictions, and these are
ineffective anyway, as they are based on the file's name, not its
payload.
3 years ago
warrickct
ee9156d4f8
Merge clearnet into message-request-ui
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
warrickct
d627b8e11d
Requesting flow working with sending message as acceptance.
3 years ago
audric
78b84d4ed8
call: pick a sample of 2 of the iceservers before creating connection
3 years ago
Audric Ackermann
a19a6a33c7
migrate already set nickname convo to name + profileName index
3 years ago
warrickct
cdeac8f424
Adding protobuf changes for message request response.
3 years ago
Audric Ackermann
a3eb80abcf
fix group updates outgoing message status in left pane
3 years ago
Audric Ackermann
d6a8f5e92b
allow searching for nickname or name for contacts
3 years ago
Audric Ackermann
ceb5317160
remove profile_images as we are not using it
3 years ago
Audric Ackermann
b72b8e8387
fix tests
3 years ago
Audric Ackermann
7d9f970b2c
remove decrypted_at field from saving message models as unused
3 years ago
Audric Ackermann
6f5bca6660
allow more characters to be used in display name
...
We just deny the one used to add markers around a mentions on the
desktop client. which is ᅭ
Relates #2132
3 years ago
Audric Ackermann
b3a8692240
cleanup incoming message creation for displaying messageresult
3 years ago
Audric Ackermann
5afbd9c19e
cleanup creation of opengroup message on sync
3 years ago
Audric Ackermann
5e314e4dcc
remove 'recipients' message field and 'destination'
...
we do not need recipients as it makes no sense for us having medium
groups on the same pubkey
we do not need destination as it can always be guessed from the
direction and the type of conversation of that message
3 years ago
Audric Ackermann
00d2bbc63d
cleanup MessageSearchResults
3 years ago
audric
a21751c611
open convo on last unread, and can scroll up
3 years ago
audric
247cb7c065
cleanup dependencies
3 years ago
audric
e515ce3ca5
Merge remote-tracking branch 'upstream/clearnet' into cleanup-attachment
3 years ago
audric
fc916ce94c
Fix attachments duplication on message syncing with current device
3 years ago
audric
4b39b46b6a
replace invalid unicode in filename
3 years ago
audric
72409e3f1f
make sure to keep error state of attachment DL failing
3 years ago
audric
8feecb777b
make sure to scale dowm preview in composition box
3 years ago
Audric Ackermann
c7565fe7b3
Move scale/resize and attachment logic to typescript
3 years ago
Audric Ackermann
cb8704f9b1
bump convo active_at on answered/trigger call
3 years ago
Audric Ackermann
1a8a839ba3
no need to deleteAuthToken anymore for opengroupv2 servers
3 years ago
Audric Ackermann
4a530582b1
catch exception when failing to decode/read an attachment
3 years ago
Audric Ackermann
55cca318e7
lint
3 years ago
Audric Ackermann
eb0cf0938d
make sure to use cached convos for sync logic
...
otherwise the whole app freezes on a big database
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
48e7a0e25f
Various UI fixes ( #2070 )
...
* cleanup unused convo json fields in db
* display a toast if the user is not approved yet on call OFFER received
* enable CBR for calls
* do not update active_at on configMessage if !!active_at
* remove mkdirp dependency
* disable call button if focused convo is blocked
* quote: do not include the full body in quote, but just the first 100
* click on the edit profile qr code padding
* Allow longer input for opengroup join overlay
Fixes #2068
* Fix overlay feature for start new session button
* make ringing depend on redux CALL status
* turn ON read-receipt by default
3 years ago
Audric Ackermann
273d866b98
Cleanup message request ( #2063 )
...
* close incoming call dialog if endCall from seame sender
* disable message request toggle if featureFlag is OFF
* cleanup UI of message requests
* mark all existing conversations as approved in a migration
* fix regex with conversationID for opengroups
3 years ago
Audric Ackermann
1a699879cf
Add call duration ( #2059 )
...
* add call duration once connected
* close incoming call dialog if endCall from same sender
* disable message request toggle if featureFlag is OFF
3 years ago
Audric Ackermann
651b1c4376
Fetch translations ( #2056 )
...
* 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
* add type for i18n to run update after crowdin fetch with tools/updateI18nKeysType.py
* update to latest translations
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
Audric Ackermann
bef9058ffe
Merge branch 'clearnet' into message-requests
3 years ago
warrickct
4576f3cb32
Merge branch 'clearnet' into message-requests
3 years ago
warrickct
b5df47c2b8
Addressing PR comments
3 years ago
warrickct
726418887c
Addressing PR comments
3 years ago
Audric Ackermann
faeb6e206a
fix a bug releasing the decrypted attachment blobs too early
3 years ago
warrickct
86a9253144
Merge branch 'clearnet' into message-requests
3 years ago
warrickct
2144a3980f
Linting and formatting.
3 years ago
Audric Ackermann
a4daabfa75
add a way to choose the audioouput/mute a webrtc call
3 years ago
Audric Ackermann
53289298a9
auto select the first audio input on connection success webrtc
3 years ago
Audric Ackermann
d5f6180ae6
create offer and answer ourselves and do not use the negotiation needed
...
event.
this event is causing us to loop in negotiation needed when each side
try to create one, gets the answer and so on...
3 years ago
warrickct
2e2941ba9b
message request refactoring.
3 years ago
Audric Ackermann
1dff310820
no video track by default and will be turn ON if asked to
3 years ago
Audric Ackermann
6f3625f99c
move the state of calling to its own slice
3 years ago
Audric Ackermann
2f49228317
update turn servers
3 years ago
Audric Ackermann
c1471426ac
dismiss a call when answered from another of our devices
3 years ago
Audric Ackermann
485a5b257d
fix ringing sound for in release builds
3 years ago
Audric Ackermann
67665dde56
handle network switching with webrtc
...
dirty hack from
https://bugs.chromium.org/p/chromium/issues/detail?id=982793
3 years ago
Audric Ackermann
1203f1dc48
remove none state on callState. instead set it to undefined
3 years ago
Audric Ackermann
b8d5a1c166
disable audio output switching as this is broken for now
3 years ago
Warrick Corfe-Tan
cb5551c1e9
PR changes
3 years ago
Audric Ackermann
6625b7c7b6
calls fix cross platforms issue with uuid
3 years ago
Warrick Corfe-Tan
6a62437c3e
Blocking, accepting on click and accepting on msg send
...
working across clients.
3 years ago
Audric Ackermann
8c9832f118
add a toggle audio output button
3 years ago
Audric Ackermann
dafb536f58
disable negotiationevent on recipient side
...
probably cause issues on network changes
3 years ago
Audric Ackermann
29c187c6a0
add a notification on incoming call + an audio playing
3 years ago
Audric Ackermann
25c7a2febd
data extraction notification on a line rather than a column
3 years ago
Audric Ackermann
f91ed7729b
cleanup SessionCompositionBox
3 years ago
Audric Ackermann
57449857f6
reject call after 1 minute showing the dialog
3 years ago
Audric Ackermann
4700a0c832
allow to hangup even if current call should already be closed
3 years ago
Warrick Corfe-Tan
c3924f85a9
Adding blocking of individual requests and syncing of block to devices. Added approval by replying to a message.
3 years ago
Audric Ackermann
dd25d9cb7f
fix flickering of video stream on mute/unmute
3 years ago
Audric Ackermann
8468598b3a
send a pre offer to the PNServer for video calls
3 years ago
Audric Ackermann
8618cf75e9
send and handle uuid for multi device calls
3 years ago
Audric Ackermann
73d36c9769
send hangup event on datachannel to close video stream quicker
...
on the recipient side too
4 years ago
Audric Ackermann
25910be0fd
do not display the reveal seed banner if user just used it
4 years ago
Audric Ackermann
390af96514
WIP
4 years ago
Audric Ackermann
a0b33fbbbb
add hook to listen for video call events
4 years ago
Warrick Corfe-Tan
4ad14e4c5b
Added syncing accepting of contact between running instances.
4 years ago
Audric Ackermann
6a1f575c46
create a hook for listening for video call events
...
+ wip fullscreen video calls
4 years ago
Audric Ackermann
d50d7eb803
our video off => show our avatar
4 years ago
Audric Ackermann
dd281de903
cleanup feature flags
4 years ago
Audric Ackermann
ce16066313
do not try to do an unsend request on a group swarm
4 years ago
Warrick Corfe-Tan
9e0f128fc6
Adding isApproved field to protobuf.
4 years ago
Audric Ackermann
bb26680b75
unsend for me only on a closed group only deletes locally
...
also do not await request to PN server
4 years ago
Audric Ackermann
5d9565a559
fix menu action for unsending messages
4 years ago
Warrick Corfe-Tan
e405b5ffd9
git stash
4 years ago
Audric Ackermann
0f2fcbb6e3
delete for opengroups is working
4 years ago
Audric Ackermann
0ae23875b7
finish cleaning up Settings page
4 years ago
Audric Ackermann
a596531c57
cleanup SessionSettings by making them less a IdoEverything
4 years ago
Audric Ackermann
99b139f5c4
split settings folder and start adding the settings for video call
4 years ago
Warrick Corfe-Tan
c3f20aceb2
WIP message requesting. Banner styling finished.
4 years ago
Audric Ackermann
760b99587a
make sure to poll quicker if we get >95 messages on one polling
4 years ago
Audric Ackermann
ae8688bf2a
cleanup UI for missed call messages in msg list
4 years ago
Audric Ackermann
121f8927ed
exclude same /24 subnet from onion path building candidates
4 years ago
Audric Ackermann
8f3b6d9ab2
add wip of call missed notification
4 years ago
Audric Ackermann
678a5bcb3b
center avatar in draggable video window and handle mute video events
4 years ago
Audric Ackermann
ecceaeaa8f
got datachannel working
4 years ago
Audric Ackermann
0bfa41c7b8
switch to our turn servers
4 years ago
Audric Ackermann
30a234158f
lint
4 years ago
Audric Ackermann
87e7cc5ebf
Merge remote-tracking branch 'upstream/clearnet' into webrtc-calls
4 years ago
Audric Ackermann
cade0ffeb6
make sure audio locally is muted so we do not hear ourselves
4 years ago
Audric Ackermann
ce79ce1f8b
add buttons with popover to choose call src device
4 years ago
Audric Ackermann
a629985a4f
fix toggling input source and off in video calls
4 years ago
Audric Ackermann
fbd51c2974
add buttons to display list of inputs + toast on empty
4 years ago
Audric Ackermann
b85425ff83
make a draggable or in conversation call container
4 years ago
Audric Ackermann
4277c29bd8
make sure to refetch messageModel from db when saving attachments
4 years ago
Audric Ackermann
f75f63e4e9
handle 421 on sending delete_all
4 years ago
Audric Ackermann
1e8c8991ad
more cleanup
4 years ago
Warrick Corfe-Tan
1522e5102d
removed isCall property from message. Fixed text
4 years ago
Warrick Corfe-Tan
0b8f3255b0
corrections to pass yarn ready
4 years ago
Warrick Corfe-Tan
6743201cc4
added perfect negotiation
...
Adding toast for cam and audio permission when making a call.
adding missed call message and toast when a call is received while mid-call.
background call message work
4 years ago