Commit Graph

145 Commits (821a304fa331c21395de30b600461196ffc3448c)

Author SHA1 Message Date
Audric Ackermann 77e5e38e46 chore: update lodash types, use prebuilt curbe25519-js 2 years ago
Audric Ackermann 6676bf77f9 chore: fix unit tests for userconfig changes 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 3cd52d5b1a fix: add currentHashes and update expiry on every poll 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 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
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 ef6d9f1d51 feat: add empty states for each types of convo 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 c3e9d503e4 fix: unread count and forced unread is synced 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 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
mdPlusPlus 1d6ed17ac7 Fix typos via codespell 2 years ago
Audric Ackermann d512a1a131 fix: various UI margins and dedup official sogs join 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 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 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 3 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
3 years ago
Audric Ackermann 984dbf777d fix: do not lowercase roomId before joining sogs room 3 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 c6af1a7468 feat: upgraded emoji-mart and added theme support 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 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 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 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 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 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 5266a24d88 fix: track hidden mods and admins if we get them 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 6f4b70e650 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 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 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 6e8e8eaa9a move errors.js to ts 3 years ago
Audric Ackermann 5afbd9c19e
cleanup creation of opengroup message on sync 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