Commit Graph

136 Commits (4f44a7a5fa05ef3855530e87fa4600e776367c61)

Author SHA1 Message Date
William Grant bc5615e880 feat: test for correct background color order is done
use libsodium for hash so we can unit test, remove crypto stub
11 months ago
William Grant 91d1229023 feat: made good progress on avatar place holder unit test
feat added stubCrypto function
11 months ago
William Grant 121d968ad3 feat: add component name support to printing functions
use prettyDom function for formatting instead of prettier directly
11 months ago
William Grant 7d4b96145d feat: added print functions for react render results and html elements
used for unit testing
11 months ago
William Grant b13e907753 fix: resolve cyclic imports in avatarplaceholder
bt moving types from data module identitykey, guardnode, snode, swarmnode to a separate file
11 months ago
William Grant 6c93639c4b fix: turn off enableLogRedirect 12 months ago
William Grant e97ca2c7f3 test: validity check for signInByLinkedDevice done
made stubs for window whisper and storage
1 year ago
William Grant d06a294aaa feat: added stubbing for window.i18n 1 year ago
Audric Ackermann 53059135ee fix: tsc does not overwrite workers compiled content 1 year ago
Audric Ackermann ad9fa6dbee chore: remove lastChangetimestmap and add explciit expiretype and type
on the messages creation
1 year ago
Audric Ackermann d1068983bb fix: broken state adding lastDisappearingMessage to chatmsg 1 year ago
William Grant be8c3b042f feat: added checkForExpiringOutgoingMessage
triggers timer for all outgoing messages. includes unit tests
2 years ago
William Grant 40014544d1 fix: closed group groupId is now PubKey only 2 years ago
William Grant 0212166fcc feat: moved disappearing logic to a feature folder
only moved types and timerOptions so far
2 years ago
William Grant 36e114a662 test: throw when we want a defined result
this fixings the typings with test when look for props on objects
2 years ago
William Grant 2cd51cc187 test: finished buildGetExpiriesRequest
added TypedStub type
2 years ago
William Grant a00b016233 test: wip getExpiriesRequest Started 2 years ago
William Grant bde674cbac test: finished isExpirationTimerUpdate
added generateFakeExpirationTimerUpdate for testing
2 years ago
William Grant bf5bcae4ac refactor: rename generateDisappearingMessage
to generateDisappearingVisibleMessage
2 years ago
William Grant 5fbed0a5f6 test: function for generating disappearing messages 2 years ago
William Grant 41af1e7865 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann d43d6abbae chore: replace tslint with eslint and fix linting issues 2 years ago
Audric Ackermann 4637f4609a Merge remote-tracking branch 'yougotwill/disappearing_messages' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 6676bf77f9 chore: fix unit tests for userconfig changes 2 years ago
William Grant 12087da2be fix: repaired closed group disappearing messages 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 f88acdb567 feat: remove blocked group tracking separately from the pubkeys 2 years ago
Audric Ackermann 2da2c95272 chore: cleanedup the stubbing logic 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 d7bcf1026f fix: refactor snodeRPC to use snode batching 2 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
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 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 335e452730
moved DebugLogView to components folder 3 years ago
Audric Ackermann 5c9b34fb86
lint files 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 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 a9cc9a7294
add tests for attachment metadata 3 years ago
Audric Ackermann 261940e978
fix tests 3 years ago
warrickct 0db3c76756 Fixing linting errors 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 86a9253144 Merge branch 'clearnet' into message-requests 3 years ago
Audric Ackermann 4d72f24fd5
make sure test ip for snodes are random 4 years ago
Warrick Corfe-Tan 123e68c167 WIP: Adding message requests using existing convo list item. 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 6a50484597 fix tests for swarm polling 4 years ago
audric e5dab2781e remove spectron dependency 4 years ago