Commit Graph

294 Commits (c9ed54b1d89de9fdf73e0064627072fb01645f2d)

Author SHA1 Message Date
William Grant 40014544d1 fix: closed group groupId is now PubKey only 2 years ago
William Grant 8838477e34 refactor: ttl_config to config_message
inside of TTL_DEFAULT. This is more readable and explicit
2 years ago
William Grant 0212166fcc feat: moved disappearing logic to a feature folder
only moved types and timerOptions so far
2 years ago
Audric Ackermann d9300e67a0 fix: remove the whole kind logic and use namespace instead
this is because session doesn't care about the config it receives
anymore and just forwards them to libsession
2 years ago
Audric Ackermann d12071f3c8 chore: big rename of convocontroller to convohub 2 years ago
William Grant 958f64e27f feat: get_expiries implementation done
now just need to make sure to call both endpoints in the correct places
2 years ago
William Grant a2185625c8 fix: use TTL_CONFIG in retrieve request
also some comment cleanup
2 years ago
Audric Ackermann cd17a08c2e chore: lint 2 years ago
Audric Ackermann 1a18054fae feat: add bump of config hashes for groups when we have admin key 2 years ago
William Grant 50f144a8c3 fix: improved logging
made some progress with fixing things but other things broke
2 years ago
Audric Ackermann 08164f2fd0 feat: add sending and receiving of libsession encrypted msgs
still a wip though
2 years ago
Audric Ackermann be50aa7a2e feat: add support for retrieve signs with admin key of group 2 years ago
Audric Ackermann 42913371df fix: remove groups from protobuf 2 years ago
Audric Ackermann 8c3b6508ad fix: wip before removing info+members+keys from protobuf kinds 2 years ago
William Grant e8c927f580 feat: setExpirationStartTimestamp uses DisappearingMessageConversationType
easier to manage starting a legacy disappearing message and always pass expiration type and timer
2 years ago
William Grant ff19c95a92 fix: remove using legacy as a string for disappearing messages except in the UI
created new isLegacyDisappearingModeEnabled check, default use UNKNOWN expiration type in message classes if not defined
2 years ago
Audric Ackermann 5b2580c48d feat: add poller changes and closed group keypair gen 2 years ago
William Grant da588a1096 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
William Grant 43276b069e Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann e3b6be7318 chore: fix typos
this comes from mdplusplus https://github.com/mdPlusPlus/session-desktop/tree/codespell

duplicated to fix conflicts
2 years ago
Audric Ackermann 84deed19f9 feat: add block msg requests from sogs 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 3 years ago
Audric Ackermann 6676bf77f9 chore: fix unit tests for userconfig changes 3 years ago
Audric Ackermann 2a4bbbd587 feat: add the deleteContact and deleteConversation only menu items 3 years ago
William Grant 90e29c7b74 fix: updated groupId comment for future work 3 years ago
William Grant b3297ab816 fix: remove isFinite comment 3 years ago
William Grant 647e542128 feat: add comments after run through 3 years ago
William Grant b6c3edbac4 fix: pass yarn ready 3 years ago
William Grant 4c4bc045d7 fix: renamed ExpirationType enum value LEGACY to UNKNOWN 3 years ago
William Grant df40ff8855 feat: added legacy to the ExpirationType enum in the protobuf and updated support
the desktop protobuf implementation doesnt support undefined for optional enum values this is a known bug.
3 years ago
William Grant b8ab952c33 fix: explicitly set expirationType to undefined if sending a legacy message 3 years ago
William Grant 6de7c5c405 fix: legacy message checks must look for the ExpirationTimerUpdate flag explicitly
use correct model for a message in a closed group
3 years ago
William Grant 854742c0b1 fix: improved logic for turning off disappearing messages 3 years ago
William Grant a3a0c3f9de feat: fixed closed groups legacy mode 3 years ago
William Grant 8117e631d0 feat: legacy mode now works for 1-1 chats 3 years ago
William Grant d698f66d50 feat: updated clients can send ExpirationTimerUpdateMessages to older clients
fixed syncing of ExpirationTimerUpdateMessages
3 years ago
William Grant 255b6225c9 feat: block sending disappearing messages of the wrong type in different conversations,
improved disappear after send or read logic, disable legacy sending for now
3 years ago
William Grant 12087da2be fix: repaired closed group disappearing messages 3 years ago
William Grant 97ecc9e521 feat: fixed double expiration update message issue
started creating an inheritable expiration message class, improved start triggering logic
3 years ago
William Grant 4ef3537a53 feat: timer notifications expire correctly when disappearing after sending 3 years ago
William Grant f36bbb9c7c feat: group invitiations now disappear 3 years ago
William Grant f825b74895 feat: disappearing messages are now correctly deleted from the swarm after they expire 3 years ago
William Grant d358ab2fb1 feat: fixed closed groups
improved setExpirationStartTimestamp logic
3 years ago
William Grant ee4aa333fc feat: disappearing after send is not working correctly 3 years ago
William Grant ee6607b96a feat: added expirationType and expireTimer to content message and updated message pipeline
this includes sync messages and updating the protobuf, haven't tested closed groups
3 years ago
Audric Ackermann 0e286142f1 chore: add a redux settings slice, currently outdated banner inc 3 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
3 years ago
Audric Ackermann 7c56310e69 feat: addConfSyncJob start 3 years ago
Audric Ackermann 9cf1419ca5 feat: add first try to build SharedConfigMessages 3 years ago
Audric Ackermann d1cefd4729 feat: add contacts & user profile handling of incoming messages 3 years ago
Audric Ackermann 58edbf44ee add SharedConfig message and signing it when sending them 3 years ago
Audric Ackermann 6d1b406c85 fix: add namespace to all sending message calls 3 years ago
Audric Ackermann fddfc8c501 fix: hide v3 closed group protobuf messages for now 3 years ago
Audric Ackermann d7bcf1026f fix: refactor snodeRPC to use snode batching 3 years ago
Audric Ackermann 4ed837e57e fix: add test for MessageRequestResponse outgoing message 3 years ago
Audric Ackermann 84f2ce777a fix: include profile in message request response 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 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
Emily 775ddfda12 fixing the saved media read receipt 4 years ago
warrickct 0db3c76756 Fixing linting errors 4 years ago
warrickct ee9156d4f8 Merge clearnet into message-request-ui 4 years ago
warrickct 8a8a5ca82c removing pubkey from message request response. 4 years ago
warrickct 36ca2a767c Adding PR changes 4 years ago
warrickct d627b8e11d Requesting flow working with sending message as acceptance. 4 years ago
warrickct cdeac8f424 Adding protobuf changes for message request response. 4 years ago
warrickct 86a9253144 Merge branch 'clearnet' into message-requests 4 years ago
Warrick Corfe-Tan c3924f85a9 Adding blocking of individual requests and syncing of block to devices. Added approval by replying to a message. 4 years ago
Audric Ackermann 8468598b3a
send a pre offer to the PNServer for video calls 4 years ago
Audric Ackermann 8618cf75e9
send and handle uuid for multi device calls 4 years ago
Warrick Corfe-Tan 9e0f128fc6 Adding isApproved field to protobuf. 4 years ago
Audric Ackermann d55c96cb67
setup webrtc between two pubkey 4 years ago
Audric Ackermann a538cac491
add callmessage typescript class 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 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 9e37985d03 enable no-unused local and imports and fix tslint 4 years ago
audric e69873d6ba fix link preview url onClick
Fixes https://github.com/oxen-io/session-android/issues/669
4 years ago
Audric Ackermann c8aa73626e
do not load right panel data unless it is visibl 5 years ago
Audric Ackermann 4a491e6a6a
lint 5 years ago
Audric Ackermann e9e718bfcb
remove getInstance on MessageController=> getMessageController 5 years ago
Audric Ackermann 89a0868fc3
remove getInstance of conversationController to get() 5 years ago
Audric Ackermann a659d5b480
fix open group invitation logic 5 years ago
Audric Ackermann 8ef9c8ed1a
remove delivery receipt logic 5 years ago
Audric Ackermann c5287158c4
merge protobuf attachment and preview types 5 years ago
Audric Ackermann c1225b3a74
made some timestamp required in the protobuf 5 years ago
Audric Ackermann 173b49723b
rename groupInvitation in proto and remove more stuff unused 5 years ago
Audric Ackermann 37c9c6b5c3
new closed group send and handle expire timer already set 5 years ago
Audric Ackermann b055165a5d
display a message when the recipient screenshots an attachemnt 5 years ago
Audric Ackermann 810ccdf675
send dataExtractionNotificaionMessage on saving attachment on priv chats 5 years ago
Audric Ackermann 3456162402
Moved opengroupv1 test to opengroupv2 tests 5 years ago
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding 5 years ago
Audric Ackermann e10a3cd4a9
remove the channelId from groupInvitation 5 years ago
Audric Ackermann 8444c7cbfc
increase to ttl of 14 days for everything except TypingMessages 5 years ago
Audric Ackermann f7e163c142
add sending of message for opengroupv2` 5 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 5 years ago
Audric Ackermann b9586c90ce
working open group v2 getInfo for https only 5 years ago
Audric Ackermann ec6a5995db
sync expire timer updates 5 years ago
Audric Ackermann 79193ee7be
refactor to Visible and ControlMessage types 5 years ago
Audric Ackermann aac54e6045
Merge remote-tracking branch 'upstream/clearnet' into restore-handle-configuration 5 years ago