Commit Graph

142 Commits (2068737cdd2f291060233bfc96399aef7f005be8)

Author SHA1 Message Date
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 2 years ago
Audric Ackermann ae51b0cd96 fix: include auth sogs headers everywhere 2 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