Commit Graph

202 Commits (0e286142f1e21c1d4b71a1b1abf60df55f697436)

Author SHA1 Message Date
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 c623e2e49e fix: make the ConfSyncJob fetch be per destination 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
mdPlusPlus 1d6ed17ac7 Fix typos via codespell 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 f870eff45b fix: make syncJob throttled every 3s and start right away if possible
also enable sig_timestamp on mainnet use as every node should have
upgraded now
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 4bfcf91193 fix: add return types for libsession wrapper functions 2 years ago
Audric Ackermann 9cf1419ca5 feat: add first try to build SharedConfigMessages 2 years ago
Audric Ackermann 68852a9e63 chore: move syncUtils to its own folder 2 years ago
Audric Ackermann c8e76b17de chore: refactor db instance to outside its sql.ts file 2 years ago
Audric Ackermann 58edbf44ee add SharedConfig message and signing it when sending them 2 years ago
Audric Ackermann 6d1b406c85 fix: add namespace to all sending message calls 2 years ago
Audric Ackermann d7bcf1026f fix: refactor snodeRPC to use snode batching 2 years ago
Audric Ackermann 3915e946b4 Merge branch 'clearnet' into settings-redesign 3 years ago
Audric Ackermann 55365f817d Merge remote-tracking branch 'upstream/clearnet' into settings-redesign 3 years ago
Audric Ackermann 9ffa529c30 fix: set flags to VOICE_MESSAGE when sending attachment with voice msg 3 years ago
William Grant d77c9fa824 fix: sogs reactions work again and added rate limiting 3 years ago
Audric Ackermann 81fa09b8ee Merge branch 'menu-redesign' into settings-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 cfbb58aa7f fix: remove logs of HF 19.0 and 19.1 values 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 26187da521
force duplicates to -10 and 0 for closed groups between HF 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 475c92eeb4
migrate about_start to not use jquery 3 years ago
Audric Ackermann 261940e978
fix tests 3 years ago
Audric Ackermann 6e8e8eaa9a move errors.js to ts 3 years ago
Audric Ackermann 9d4989b66d
cleanup constants.tsx file
and fixup commit id showing at the bottom in settings
3 years ago
Audric Ackermann 5afbd9c19e
cleanup creation of opengroup message on sync 3 years ago
Audric Ackermann 5e314e4dcc
remove 'recipients' message field and 'destination'
we do not need recipients as it makes no sense for us having medium
groups on the same pubkey

we do not need destination as it can always be guessed from the
direction and the type of conversation of that message
3 years ago
audric fc916ce94c Fix attachments duplication on message syncing with current device 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
Audric Ackermann 1dff310820
no video track by default and will be turn ON if asked to 3 years ago
Audric Ackermann 6f3625f99c
move the state of calling to its own slice 3 years ago
Audric Ackermann c1471426ac
dismiss a call when answered from another of our devices 3 years ago
Audric Ackermann ce16066313
do not try to do an unsend request on a group swarm 3 years ago
Audric Ackermann bb26680b75
unsend for me only on a closed group only deletes locally
also do not await request to PN server
3 years ago
Audric Ackermann 5d9565a559
fix menu action for unsending messages 3 years ago
Warrick Corfe-Tan 6743201cc4 added perfect negotiation
Adding toast for cam and audio permission when making a call.

adding missed call message and toast when a call is received while mid-call.

background call message work
4 years ago
Audric Ackermann 8b611a2867
make call UI react to incoming and ongoing calls 4 years ago
Audric Ackermann d55c96cb67
setup webrtc between two pubkey 4 years ago
Audric Ackermann 4e30614077
disable unsend request on the UI for now (#1934)
* disable unsend request on the UI too

* do not stop propagation of events for message ctx menu
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 e9dfa0704f
do not overwrite sent_at with network time for synced messages (#1921)
* do not update sent_at for synced messages

* reply to message context menu only visible if msg sent
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 68330b42bf Add logs of PN server notify fails 4 years ago