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
* 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
* cleanup unused convo json fields in db
* display a toast if the user is not approved yet on call OFFER received
* enable CBR for calls
* do not update active_at on configMessage if !!active_at
* remove mkdirp dependency
* disable call button if focused convo is blocked
* quote: do not include the full body in quote, but just the first 100
* click on the edit profile qr code padding
* Allow longer input for opengroup join overlay
Fixes#2068
* Fix overlay feature for start new session button
* make ringing depend on redux CALL status
* turn ON read-receipt by default
* close incoming call dialog if endCall from seame sender
* disable message request toggle if featureFlag is OFF
* cleanup UI of message requests
* mark all existing conversations as approved in a migration
* fix regex with conversationID for opengroups
* show missed-call,started-call and answered call notification in chat
* fix types for createLastMessageUpdate
* show incoming dialog if we have a pending call when enable call receptio
* simplify a bit the avatar component
* move disableDrag to a custom hook
* speed up hash colors of avatarPlaceHolders
* fixup text selection and double click reply on message
* keep avatar decoded items longer before releasing memory
* add incoming/outgoing/missed call notification
also, merge that notification with the timer and group notification
component
* hangup call if no answer after 30sec
* refactor SessionInput using hook + add testid field for recovery
* disable message request feature flag for now
* fix merge issue
* force loading screen to be black instead of white
for our dark theme user's eyes safety
* 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>
* 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
* do not update sent_at for synced messages
* reply to message context menu only visible if msg sent
* Allow scrolling in mentioning people in composition box
Relates #1849
* fix selection colors for sent messages and make link selectable
Relates #1922
* do not update sent_at for synced messages
* reply to message context menu only visible if msg sent
* Allow scrolling in mentioning people in composition box
Relates #1849
* 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
WIP glow cycle.
Glow animation working.
Glow animation working, modal no longer interferring with left menu margins.
Cleaning up code. Adding PR suggestions.
Adding typing.
Refactor edit profile modal dialog to no longer use the signal code.
* WIP Adding change nickname dialog.
* WIP adding nickname change dialog.
* WIP nickname dialog.
* WIP: Able to set conversation nicknames. Next step cleaning and adding to conversation list menu.
* Fix message capitilisations.
* Add change nickname to conversation list menu.
* Enable clear nickname menu item.
* Added messages for changing nicknames.
* Clearing nicknames working from header and message list.
* Adding modal styling to nickname modal.
* Reorder nickname menu item positions.
* Add group based conditional nickname menu options to conversation header menu.
* minor tidying.
* Remove unused error causing el option.
* Formatting.
* Linting fixes.
* Made PR fixes
* Prioritise displaying nicknames for inviting new closed group members
and updating closed group members.
* force deleteAccount after 10sec timeout waiting for configMessage
* move some constants to file where they are used
* add a way to fetch snodes from snodes
* remove a snode from a pubkey's swarm if we get 421 without valid content
* remove getVersion from snodes
* hide groupMembers in right panel for non-group convo
* fix font sans serif by using roboto instead
Fixes#1617
- prekeys
- SessionCipher
- LokiCipher
- endSession and the reset Session logic
- what we called Sessionprotocol manager (to keep track of session with
everyone)
* hide borders of images in bg when in the message details view
* force color of caption edits to white, as the background is grey and
it is more readable
* fix a bug preventing to quote the same message twice when switing
between two conversation after starting to quote one