Commit Graph

246 Commits (d0a40e41cdbd1fcf309339caea068122e2b39b3c)

Author SHA1 Message Date
Audric Ackermann 44483b7d23 fix: use releaseFeature from disappearing message PR as featureFlag 2 years ago
William Grant 778f575bb6 fix: pass yarn ready 2 years ago
William Grant dde244d719 fix: improved comment explaining how seen messages are expired 2 years ago
William Grant c33e471bfc fix: in clearinbox check in memory for conversation instead of db lookup
this is more performent
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 4c64997607 fix: log but continue if there are errors while clearing out sogs inboxes 2 years ago
William Grant 1d6f200d50 fix: pass yarn ready 2 years ago
William Grant 19025cd7e0 feat: abstracted getAllValidOpenGroupV2ConversationRoomInfos function and handled the response correctly
just need to do testing
2 years ago
William Grant db00ed8827 feat: added delete option to inbox request in sogs, linked with delete account modal
still needs testing and handling the response see TODO CONTINUE
2 years ago
William Grant 46ab397a0f fix: read receipt messages now show expireTimer correctly 2 years ago
William Grant 5398f45a26 fix: typing animation alignment 2 years ago
William Grant 029f65280d fix: signature verification now works with updated method for extend and shorten 2 years ago
William Grant 4d0900844b fix: adding shorten and extend to expire rpc endpoint 2 years ago
William Grant 446752cf54 feat: DataExtractionNotifications now expire
MessageRequestResponses should not expire, pass yarn ready
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
Audric Ackermann 0e286142f1 chore: add a redux settings slice, currently outdated banner inc 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 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 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 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
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 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
mdPlusPlus 1d6ed17ac7 Fix typos via codespell 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 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 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 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 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 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
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 135b9cf34d fix: add toast on rate limit hit for reactions 3 years ago
William Grant b3885bf9d9 Merge branch 'clearnet' into theming
Link previews are broken for now
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 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
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
Audric Ackermann 3915e946b4 Merge branch 'clearnet' into settings-redesign 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
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 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
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
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 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 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 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 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 6c05ff3c07
move useTestNet to featureFlag dependent on ENV variables 3 years ago
Audric Ackermann 9bd8b73a0c
fix testnet 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 3cfcf128a5
Merge remote-tracking branch 'upstream/master' into node-side-in-ts 3 years ago
Audric Ackermann 4baedda349
add tests for opengroup utils 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
Audric Ackermann 5047e8921b
made all verifi signatures in a single call to the worker 3 years ago
Audric Ackermann 0ebc1d7e92
split attachmnent logic between what is used on main and renderer 3 years ago
Audric Ackermann 9f8920ef2c mostly working but need to improve perfs 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 3fed22048b
rename a few loki to session 3 years ago
Audric Ackermann b72b8e8387
fix tests 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 c7565fe7b3 Move scale/resize and attachment logic to typescript 3 years ago
Audric Ackermann 1a8a839ba3
no need to deleteAuthToken anymore for opengroupv2 servers 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