Commit Graph

200 Commits (edccc8bec6e00ba34da64d9037e206f26aa46202)

Author SHA1 Message Date
Audric Ackermann 17680380a7
Session 1.7.2 (#1932)
* Keep line breaks when message has some new lines

Relates #1758 and #1898 and #1901

* 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

* disable sending on enter while composing (#1909)

Fixes #1899 #1497

* Speedup body update composition box (#1911)

* disable sending on enter while composing

Fixes #1899 #1497

* ask confirmation before deleting account

* move drafts outside of redux to speedup body message writing

* Ask confirm before delete account (#1910)

* disable sending on enter while composing

Fixes #1899 #1497

* ask confirmation before deleting account

* fix app start delete db when passowrd error

* fix double dialog issue with delete account

* fixup login screen

* 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

* Fix today for translated date break (#1915)

* 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

* Fixs date break translations of today etc

Relates #1913

* Fix video play lightbox autostart (#1920)

* disable sending on enter while composing

Fixes #1899 #1497

* ask confirmation before deleting account

* fix app start delete db when passowrd error

* fix double dialog issue with delete account

* fixup login screen

* Fix video autoplay start when not initialized

Relates #1904

* 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

* Out of sync message sync (#1923)

* 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 select colors for sent messages and link text not selectable (#1924)

* 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

* 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

* 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>

* fix reply for incoming messages (#1930)

* bump to 1.7.2 (#1926)

* 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

* bump to 1.7.2

* Session 1.7.1 (#1908) (#1931)

* Keep line breaks when message has some new lines

Relates #1758 and #1898 and #1901

* 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

* 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

Co-authored-by: Warrick <wcor690@aucklanduni.ac.nz>
4 years ago
Audric Ackermann 797bf0650f
Session 1.7.1 (#1908)
* Keep line breaks when message has some new lines

Relates #1758 and #1898 and #1901

* 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 bfc805c9d4 fix search logic and UI cosmetic fixes 4 years ago
audric 08cdd035ae disable transition for background of leftpane (for app initial load) 4 years ago
audric bd7d88e170 remove theme from css and used variables instead 4 years ago
audric ec2eab6e23 do not trigger redux update if onion path did not change 4 years ago
audric f9988119f9 major UI rewrite of messages view with redux improvements 4 years ago
audric ee4ed2e075 fix attachment logic with ui redesign 4 years ago
audric f7b0c6c7e1 make conversation screen closer to mobile UI part1 4 years ago
Brice-W f6d3715dab add a link icon when there is no image available or when media download is not allowed 4 years ago
audric 4f5072ee65 Merge remote-tracking branch 'upstream/clearnet' into perf-improv 4 years ago
Warrick Corfe-Tan 398e23256d minor style tweak. 4 years ago
Warrick Corfe-Tan ee7e6e47fe applying to outgoing messages 4 years ago
Warrick Corfe-Tan c944fac426 Transparent background for images. 4 years ago
Audric Ackermann 511adcf388
refactored right panel to hook 4 years ago
Audric Ackermann 68f81d387f
fixed mentions overlay with attachment on back 4 years ago
Audric Ackermann e41d182972
Fix fonts sans serif (#1619)
* 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
4 years ago
Audric Ackermann 720e229c95
do not put DM settings on multiple lines 4 years ago
Audric Ackermann 6edcb88788
remove resend as it does not make any sense with medium groups
and sendAnyway
4 years ago
Audric Ackermann d655c397e0
make the isAdmin coming from the convo props and not the messages 4 years ago
Audric Ackermann 72c96ea998
remove most of the SessionProtocol unused stuff
- prekeys
- SessionCipher
- LokiCipher
- endSession and the reset Session logic
- what we called Sessionprotocol manager (to keep track of session with
everyone)
4 years ago
Audric Ackermann 979a9058e3
remove verified number - related features (partial) 4 years ago
Audric Ackermann 1a128ab055
fix colors for caption editor 4 years ago
Audric Ackermann 766a9f9c45
fix theme for voice messages and recording 4 years ago
Audric Ackermann 4bab6cc8b4
fix typing bubbles on SessionConversation
for some reasons, they were sometimes not visible due to the message
list bottom padding
4 years ago
Audric Ackermann 46fa6e39f6 fix position of play button on right panel medias 4 years ago
Audric Ackermann cb2f90f7f7
make SessioNotificationCount a styled component 4 years ago
Audric Ackermann c128684ffe
cleanup unused svg files from Signal 4 years ago
Audric Ackermann 4c6a05c6d7
make timestamp a styled-component too 4 years ago
Audric Ackermann e1fbcade0f
move expiretimer bucket svg to ts & style them with styled-components 4 years ago
Audric Ackermann 15ae97e0a7
use OutgoingMessageStatus in ConversationListItem too
also, enable back the delivered/read status on message metadata
4 years ago
Audric Ackermann 0a6a49eda5 Add an Outgoing Message Status react component 4 years ago
Audric Ackermann e38be266c2 major rework of session icon => make them styled with styled-component 4 years ago
Audric Ackermann f0a58b01b0
remove calculatingPow animation on msg => use the one for sending 4 years ago
Audric Ackermann 4c0a988fe5
Move the metadata badges to use react functional components 4 years ago
Audric Ackermann 29eb528d1f
remove signal gear icon, and show back ours on calculatingPow
this is used for a message in the message list and in the conversation
list item
4 years ago
Audric Ackermann f9783be764
various UI fixes
* 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
4 years ago
Audric Ackermann 60a4fcbfcc
small UI fixes for caption editor 4 years ago
Audric Ackermann c1c1cde14b
improve caption editor, and disable right panel if messagedetails shown 4 years ago
Audric Ackermann 22b4f39e52
MessageDetails: contact status fallbacks to message status
this is used for medium groups
4 years ago
Audric Ackermann 5c55a9411f
add first step to enable back MessageDetails.
Still not much the react way to do it for now
4 years ago
Audric Ackermann 2ec337dd31
Add back ability to edit caption before sending attachments 4 years ago
Audric Ackermann edd984e0f5
make quotes stay empty when there object isEmpty() 4 years ago
Audric Ackermann 051436339d
remove unused font 4 years ago
Audric Ackermann 7058bc0319
fix metadata styles for media message without body on light mode 4 years ago
Audric Ackermann 7ae79ee0a2
make timer notification work with empty profile name (display pubkey) 4 years ago
Audric Ackermann b865810cb0
fix expiretimer color for incoming message in light mode 4 years ago
Audric Ackermann 07c384aa0d
render GroupNotification messages 4 years ago
Audric Ackermann 857bea50ea
enable back keyboard navigation on message list 5 years ago
Audric Ackermann ba959f3379
link preview state moved to SessionCompositionBox 5 years ago