Commit Graph

313 Commits (9cf874db5e054a8a66cf77e07465edf59c23e9c3)

Author SHA1 Message Date
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