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
db9fa14213
fix: don't update state on updates already included in our syncmessage
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
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
44483b7d23
fix: use releaseFeature from disappearing message PR as featureFlag
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
William Grant
12087da2be
fix: repaired closed group disappearing messages
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
3ff7281b6a
chore: remove isGroup from the redux stored entry
...
as it is always = !isPrivate
2 years ago
Audric Ackermann
f3975b545a
feat: use priority for hidden and pinned conversation
2 years ago
Audric Ackermann
796ccf0582
feat: add handling and setting of the expireTimer for contacts
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
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
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
bb0112c6c5
feat: increase max upload size to 10MB
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
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
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
5627ab4583
finish the .set and toCppContact function
2 years ago
Audric Ackermann
ffe9e26d76
test: finish contact test but still missing the .set function
2 years ago
Audric Ackermann
a77aa610f8
finish contact test1, still need to fix the .set with a struct
2 years ago
Audric Ackermann
65df3157bd
chore: lint
2 years ago
Audric Ackermann
9749529e25
feat: add dependency to our libsession wrapper for nodejs
...
also add a basic test to make sure it works
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
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
3788f5a4d5
Merge pull request #2488 from Bilb/message-request-include-profile
...
Profile in messageRequest
3 years ago
Audric Ackermann
4ed837e57e
fix: add test for MessageRequestResponse outgoing message
3 years ago
Audric Ackermann
0eac74dd07
Merge branch 'dev' into menu-redesign
3 years ago
William Grant
f138ea31b2
test: finished writing tests for sogs mutation cache
...
refactored processMessagesWithCachce function
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
b33ea096b4
fix: speed up reaction UI update for opengroups
3 years ago
William Grant
07c56e79f2
fix: make reaction UI updates when reacting faster in 1-1 and closed groups
3 years ago
William Grant
4889cb5b32
fix: ReactionList Senders is now an array since we want to handle opengroup reactions separately
...
we no longer need the messagehash and server id for rendering reactions in the UI, ignore reactions using the outdated type
3 years ago
Audric Ackermann
ef1f634e6b
Merge remote-tracking branch 'upstream/clearnet' into menu-redesign
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
542c704b64
feat: add search by contacts to closed group overlay
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
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
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
71aa6e8bb4
lint and add test for getInitials and name with '-' as separator
3 years ago
Audric Ackermann
851d5280e0
fixup build appImage sqlite3 module not found
3 years ago
Audric Ackermann
0efce6ea2d
updating workflows actions version
3 years ago
Audric Ackermann
2207b53890
add a test to make sure the targets in package.json are well formatted
3 years ago
Audric Ackermann
b8498f7a2b
fix display of spinner while db decrypting
3 years ago
Audric Ackermann
dbcae0f844
fix logs privacy test
3 years ago
Audric Ackermann
c8e7be066e
remove messages from opengroup > 2k messages and older than 6 months
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
5c9b34fb86
lint files
3 years ago
Audric Ackermann
e5c54cc45e
added some test for DecryptingAttachmentManager
3 years ago
Audric Ackermann
b76797d264
do not use a custom sandbox for testing
...
instead use the one from Sinon as it is exposed for a good reason
3 years ago
Audric Ackermann
e11775a2e0
fix color of opengroup invitation
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
00d70db0be
queue user profile avatars update
...
also add some tests for the promise utils
3 years ago
Audric Ackermann
261940e978
fix tests
3 years ago
Audric Ackermann
0ebc1d7e92
split attachmnent logic between what is used on main and renderer
3 years ago
Audric Ackermann
2dfd09a7b1
app kind of start background side
3 years ago
Audric Ackermann
0cb4a13494
add tests for timerBucket icon
...
this marks unit test number 302, previous: 237
3 years ago
Audric Ackermann
fd1657037a
add tests for emoji size rendering in messages
3 years ago
Audric Ackermann
ba53330afd
add tests for getInitials
3 years ago
Audric Ackermann
3fed22048b
rename a few loki to session
3 years ago
Audric Ackermann
ceb5317160
remove profile_images as we are not using it
3 years ago
Audric Ackermann
c7565fe7b3
Move scale/resize and attachment logic to typescript
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
warrickct
e32f20d8bc
PR changes
3 years ago
Audric Ackermann
4d72f24fd5
make sure test ip for snodes are random
4 years ago
Warrick
1d459ba533
Unsend messages (only message hashes saving for now is enabled) ( #1891 )
...
* WIP unsending message.
* retrieving message with hash from db on receiving unsend request.
* outgoing messages hashes updated on message sent success
* unsend messaging
* unsend message - deleting messages and marking as isDeleted.
* add msg hash to unprocessed records.
* Message unsending working for closed groups provided the message has been updated with a hash from server.
* adding 2-stage confirmation modal for message deletion
* adding rendering of removed incoming messages, disabling rendering of unsent outgoing messages in coversation screen.
* Adding logging
* debugging.
* outgoing only saved for sync message instead of regular message.
* deleting locally
* adding post unsend deletioncode.
* starting adding feature flag.
* Added feature flag.
* addding mandatory messageHash pollling pipeline methods swarm polling.
* Conversation list item message preview showing deletion placeholder text if deleted.
* add condition to drop unsend requests not send by message author
* refactoring deleteMessage. Saving response hash for closed group message sending
* running yarn ready
* removing logging.
* Adding PR fixes
* Minor changes and running yarn ready
* fix typo
* Moved feature flag to lokiFeatureFlags. Fixing linting errors
Co-authored-by: Audric Ackermann <audric@loki.network>
4 years ago
Audric Ackermann
b17312c13c
Cleanup redux store ( #1925 )
...
* do not consider expire timer update unread messages #1881
* cleanup conversation props in redux to only have what cannot be derived
* fix app not starting without the await on convo creation
* cleanup props of message model
4 years ago
Audric Ackermann
b45109985c
use timestamp offset in for messages storage requests ( #1892 )
...
* add using timestamp offset from network for sending part1
* remove MessageController as we now rely on the database
* fix tests for message sending overriding timestamp
4 years ago
Audric Ackermann
c92baad736
Fix path building ( #1903 )
...
* Keep line breaks when message has some new lines
Relates #1758 and #1898 and #1901
* fix link preview cropped when received
* make sure we fetch from seed if we end up with not enough snodes
* try to download recent previews if we just trusted a user
* throw if we need to rebuild path while fetching snode list from snode
* fixup no refecthing of snode list while we are fetching them already
* added test for fetch from db or seed
* fetch snode list from snode every hour
also make sure the path building does not try to get more snodes. It
just throws
* do not drop a path if an opengroup room is down and we get errors back
* do not throw an error if the snode in error in not in any path
* fix tests
* bump to v1.7.11
4 years ago
audric
ffe8375dd1
fix build of onion path when snodes count is exactly 12
4 years ago
audric
6a50484597
fix tests for swarm polling
4 years ago
audric
8344c48d88
handle offline status for selectGuardNodes stuff
4 years ago
audric
9e37985d03
enable no-unused local and imports and fix tslint
4 years ago
audric
01ff290f85
fix tests
4 years ago
audric
c83776e510
fix the log file space usage on path building error
...
the issue seems to be coming from the fact that we need at least
minSnodePool count snodes to build a path reliably.
4 years ago
audric
2ebae9a746
fix tests for variable swarm polling
4 years ago
audric
bea704ecf0
bump react to 17
4 years ago
audric
e69873d6ba
fix link preview url onClick
...
Fixes https://github.com/oxen-io/session-android/issues/669
4 years ago
audric
a814937c08
disable test for attachemnt read/write
...
as they are too much linked to the window object for now
4 years ago
audric
bfc4b2b720
lint
4 years ago
audric
4f5072ee65
Merge remote-tracking branch 'upstream/clearnet' into perf-improv
4 years ago
Brice-W
adab2b4506
add Notifications in conversations context menu
4 years ago
Audric Ackermann
e8f0c4aaec
move libloki to webworker and remove unused stuff in it
4 years ago
Audric Ackermann
5b0b165ba9
Merge remote-tracking branch 'upstream/clearnet' into perf-improv
4 years ago
Audric Ackermann
32cb19125f
remove signalprotocoladress unused
4 years ago
Audric Ackermann
7f76ab274c
added a hook to fetch avatar of closed group members
4 years ago
Brice-W
c3bf2a4e96
fixes and tests
4 years ago
Audric Ackermann
447f862ace
add some static glowing to the actionpanel light
4 years ago
Audric Ackermann
19555b99a0
Merge pull request #1723 from Bilb/poll-less-often-group-not-active
...
Poll less often group not active
4 years ago
Audric Ackermann
50d4481672
fix symbols allowed for password + update tests
4 years ago
Audric Ackermann
13bc1a21d9
add test for swarmPolling variable rate
4 years ago
Audric Ackermann
0b410404a3
remove keypair request manager
4 years ago
Audric Ackermann
89a0868fc3
remove getInstance of conversationController to get()
4 years ago
Audric Ackermann
09d9db38e8
move taskWithTimeout to typescript
4 years ago
Audric Ackermann
a659d5b480
fix open group invitation logic
4 years ago
Audric Ackermann
a5d7995168
merge dialog refctor with clearnet
4 years ago
Audric Ackermann
4b9d2c0692
fix tests
4 years ago
Audric Ackermann
8ef9c8ed1a
remove delivery receipt logic
4 years ago
Audric Ackermann
c5287158c4
merge protobuf attachment and preview types
4 years ago
Audric Ackermann
173b49723b
rename groupInvitation in proto and remove more stuff unused
4 years ago
Audric Ackermann
01fd927070
match envelope type with ios protos
4 years ago
Audric Ackermann
37c9c6b5c3
new closed group send and handle expire timer already set
4 years ago
Audric Ackermann
0a208c0d15
store snodes list on db, use them if possible on app start
...
if not enough snodes or no snodes at all, a request to the seed node is
made instead
4 years ago
Audric Ackermann
118813661d
remove inte tests + handle opengroupv2 messages in chunk
...
this is to avoid freezing UI and is only a temporary fix
We need to have webworkers in this app
4 years ago
Audric Ackermann
6f8c8ee1b3
remove most of sogsv1 and fsv1 and update version fetch url
...
version fetch is used to know when we have a new update
4 years ago
Audric Ackermann
3456162402
Moved opengroupv1 test to opengroupv2 tests
4 years ago
Audric Ackermann
88036edd38
add more tests for multi errors onion rebuild
4 years ago
Audric Ackermann
05745d7726
add tests to drop snode from path after 3 failure
4 years ago
Audric Ackermann
2e9a34f72b
add tests for handling of OXEN_SERVER_ERRORS
4 years ago
Audric Ackermann
53c9bb1012
add some tests for 421 handling at destination
4 years ago
Audric Ackermann
372119b17b
WIP
4 years ago