William Grant
3fce414e7c
fix: remove unnecessary else in onQuoteClick
2 years ago
William Grant
9b1be604b1
fix: removed redundant empty string check on quote author
2 years ago
William Grant
4d874d2738
fix: use --font-size-md for quote author size
2 years ago
William Grant
feb8f46966
fix: removed redundant document check from getTypeLabel
2 years ago
William Grant
ca6463da02
fix: make sure to show the quoted message above quotes that only have attachments and no text
2 years ago
William Grant
d60d2c8c75
feat: quotes will show the authors name where possible
...
cleaned up extra author props on quote and created a hook instead
2 years ago
William Grant
e1a6f8e3fc
feat: cleaned up getPropsForQuote and rely on getMessageQuoteProps selector for creating quote object
...
authorName is broken for some reason and we will need to fix it
2 years ago
William Grant
92ed15c6c4
feat: pass yarn ready
2 years ago
William Grant
e90e548715
feat: improved quoted message not found
...
consolidated quote props lookup into getMessageQuoteProps, only use the db message in the quote components
2 years ago
William Grant
d706ecdead
fix: show authorName in reply ui
2 years ago
William Grant
1da8fd9f96
feat: load quote images correctly on first render
2 years ago
William Grant
acdeabf306
feat: fixed click on a quote to go to the original message
...
added animation support to attachments when opening it via a quote
2 years ago
William Grant
ab028307f4
fix: show play button in video quote attachments
2 years ago
William Grant
761a536b32
feat: removed unneeded quote stylesheet and QuoteGenericFile
2 years ago
William Grant
98e4474e75
feat: use quoteicon component in quoteimage
...
make sure to load message text is it exists for all quotes
2 years ago
William Grant
ff4366002b
feat: converted quoteiconcontainer and to styled components
...
added support for generic file icon with consistent design. Still need to support know file types and metdata from the generic file component
2 years ago
William Grant
bdbdb477da
feat: pass in all props to quote component
...
converted quote primary text to styled components
2 years ago
William Grant
f0aeb59d54
feat: converted quote image to styled components
...
remove border on quote if there is an attachment
2 years ago
William Grant
bf170e6e77
fix: fixed QuoteText type labels
...
show message not found in correct context
2 years ago
William Grant
23b6c9d25e
feat: converted quote to styled components
2 years ago
William Grant
3249d2ff4c
feat: converted quote author and text to styled components
2 years ago
William Grant
d7bc8213d6
fix: community quotes now dont break the app
2 years ago
William Grant
1d413a2f76
fix: moved QuoteIcon component into QuoteIconContainer
2 years ago
William Grant
1609ebfe32
feat: separated quote components
...
removed reference warning component since it is no longer needed
2 years ago
William Grant
5d4238a3d8
feat: created getMessageExpirationProps selector and used in ExpirableReadableMessage
...
this stops us passing props down from the child components of ExpirableReadableMessage
2 years ago
William Grant
a1a3d68e45
feat: added data test ids
2 years ago
Audric Ackermann
3827298078
Merge remote-tracking branch 'emily/integration_tests_2' into onboarding-with-integrationtest-2
2 years ago
William Grant
a50ea95bf3
fix: fixed timer alignment once and for all
2 years ago
William Grant
42356b0d60
fix: duplicate timer update messages
2 years ago
William Grant
97ecc9e521
feat: fixed double expiration update message issue
...
started creating an inheritable expiration message class, improved start triggering logic
2 years ago
William Grant
446752cf54
feat: DataExtractionNotifications now expire
...
MessageRequestResponses should not expire, pass yarn ready
2 years ago
William Grant
5c697572a7
feat: Call Notifications now expire properlly
...
include the direction in the expiration props, setting the start timer doesnt directly update the model
2 years ago
William Grant
f36bbb9c7c
feat: group invitiations now disappear
2 years ago
William Grant
2d6d6b4134
feat: moved PropsForExpiringMessage to state ducks
2 years ago
William Grant
513f94cb25
feat: extracted expiry logic from the GenericReadableMessage to a new component
...
This allows use to use the expiry logic for different visible messages not just generic ones
2 years ago
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
Emily
d64dbc163f
Updates typing to User and Group, splits openApp function and create user function, updates saved test users for group upkeep function
2 years ago
Audric Ackermann
796ccf0582
feat: add handling and setting of the expireTimer for contacts
2 years ago
Audric Ackermann
0050352470
chore: move selected convo selectors to another file
2 years ago
Audric Ackermann
c3e9d503e4
fix: unread count and forced unread is synced
2 years ago
Audric Ackermann
1c50aacc34
chore: remove groupModerators sogs from the db, store in redux only
2 years ago
Audric Ackermann
bf2456df8e
chore: do not store mentionedUs and unreadCount as attribute in convo
2 years ago
Audric Ackermann
c4e17d0825
fix: add mgmt of members in user groups wrapper
2 years ago
mdPlusPlus
1d6ed17ac7
Fix typos via codespell
2 years ago
Audric Ackermann
e48307e625
fix: avatar alignment with emojis
2 years ago
Audric Ackermann
e5c6e34c86
fix: avatar alignement issue with message
2 years ago
Audric Ackermann
d512a1a131
fix: various UI margins and dedup official sogs join
2 years ago
William Grant
a8b8692016
fix: improved reaction alignment based on avatar visibility
2 years ago
tomobre
828f1923a0
fix: avatar at bottom, reacts with margin
2 years ago
Audric Ackermann
2a8d764bfb
fix tests
2 years ago
Audric Ackermann
456d52ab1a
fix: make sure we do not use "group" or "private" without the enum
2 years ago
William Grant
bf057057d0
Merge branch 'clearnet' into theming_hotfixes
3 years ago
William Grant
9ffa63ccdc
fix: changed remaing ems to rem and set root font size
3 years ago
Audric Ackermann
32e00227a4
Merge pull request #2532 from Bilb/fix-deleted-messages-all-at-once
...
To merge once theming is done: handle deleted messages & deleted reacts all at once
3 years ago
William Grant
e28c5e9885
fix: qa feedback - Fixed community invitation theming and icons
3 years ago
William Grant
de94d2e64a
fix: pr review - create selectors for isDarkTheme and isLight Theme
3 years ago
William Grant
5b44565b5f
Merge branch 'clearnet' into theming
3 years ago
William Grant
b4828b141e
verified MessageAuthor Text Colors
3 years ago
Audric Ackermann
0cc7994c12
fix: speed up expiration/deletion of messages by batching updates in UI
3 years ago
Audric Ackermann
c75cf6e1af
fix: UI for link previews when the image is too less than 200px
3 years ago
Audric Ackermann
1fbeb9fa5f
Merge pull request #2538 from Bilb/fix-ui-issues
...
fix: selected message box shadow and hide button while loading DB
3 years ago
Audric Ackermann
460cbce119
fix: selected message box shadow and hide button while loading DB
...
also fix about/debug window first showing
3 years ago
Audric Ackermann
51e03cf4e5
fix: rerender loop of react list modal
...
update redux related libraries
and update imports to use the RTK ones
3 years ago
William Grant
d95bd47438
fix: link previews styling correction
3 years ago
William Grant
0f3a23779a
Merge branch 'clearnet' into theming
3 years ago
William Grant
8fae1f979b
feat: themed confirm and react modals
3 years ago
Audric Ackermann
1fb082917f
fix: copy of login screen with password and setting screen
3 years ago
William Grant
b3885bf9d9
Merge branch 'clearnet' into theming
...
Link previews are broken for now
3 years ago
William Grant
c6af1a7468
feat: upgraded emoji-mart and added theme support
3 years ago
Audric Ackermann
72348d198e
fix: read receipt on scrolling
3 years ago
Audric Ackermann
f4c91d0c91
fix: link preview rendering
3 years ago
Audric Ackermann
e62c1599a5
Merge branch 'clearnet' into feat-move-attachments-outside-messagebox
3 years ago
William Grant
dd58d29450
feat: huge refactor of the quote styling for theming
3 years ago
Audric Ackermann
d944379dd7
fix: update copy and clear account modal
3 years ago
William Grant
8b06ea88f9
feat: initial styling for audio player
3 years ago
William Grant
e25a0dc5b2
feat: styled reactions
3 years ago
William Grant
0bb3035ebb
feat: styled unread scroll, expire timer, last seen, click to trust
3 years ago
William Grant
3abd69a3ea
feat: styled message bubbles, control messages and the session dropdown
3 years ago
Audric Ackermann
dcf2f96c9f
fix: address regression tests UI issues
3 years ago
William Grant
7e01c9f39a
feat: fixed link preview and message details styling
3 years ago
William Grant
e5bfda37af
feat: primary color switching now persists
...
fixed isDarkMode, will need to confirm when we add ocean themes
3 years ago
William Grant
edefa21a2b
feat: we can now toggle to the classic dark theme
...
fixed ocean dark colors and updating theme setting logic
3 years ago
William Grant
27e19f3afa
feat: updated SessionIconButton to support themes
3 years ago
William Grant
831cdee0f1
feat: updated danger color setup
...
updated inbox color and added modal colors to SessionTheme
3 years ago
William Grant
a54fb65d0b
Merge branch 'theming' into theming_left_pane
3 years ago
William Grant
3c4fc8d919
Merge branch 'clearnet' into theming
3 years ago
Audric Ackermann
179f872679
fix: disable typing and message request on sogs without `write`
3 years ago
William Grant
772fe27b2b
fix: compressed reactions shouldn't wrap, when expanded we show at most 10 reactions on a time
3 years ago
William Grant
9ee89fd099
feat: made more progress with left pane and left more comments
3 years ago
William Grant
6cd81e06f2
Merge branch 'ui-redesigns' into theming
3 years ago
Audric Ackermann
17913697b9
Merge branch 'fix-link-preview-width-tiny' into feat-move-attachments-outside-messagebox
3 years ago
Audric Ackermann
0eac74dd07
Merge branch 'dev' into menu-redesign
3 years ago
William Grant
e298f6820c
Merge branch 'settings-redesign' into theming
3 years ago
William Grant
e8d9676e94
fix: fixed reaction text alignment in the react list modal
...
this is pretty nuanced, when we have flex nowrap the descendants can be squished so we have to force no wrapping
3 years ago
William Grant
131ee22099
Merge branch 'settings-redesign' into theming
3 years ago
Audric Ackermann
b9cccfc2a8
feat: open convo a session sogs when joined from the UI
3 years ago
William Grant
2d23d3d850
refactor: finished converting sass colors in _session.scss
...
moved react-contextify overwrites to styled compeonts, consolidated some grays and semanic colors, for rgba colors we need to set css variables with RGB values since nothing else is supported
3 years ago
William Grant
df73b5dd33
fix: improved reaction popup positioning for tooltip and box
3 years ago
William Grant
8879893798
fix: wrap reactors list in popup so we don't have overflow
3 years ago
Audric Ackermann
dab9428c02
fix: address PR reviews
3 years ago
Audric Ackermann
d86d024a0a
fix: link preview with image displayed horizontal rather than vertical
3 years ago
Audric Ackermann
30e3cb8755
feat: fix other types of messages now that there is no box around
3 years ago
William Grant
243f07858e
fix: others text in reaction popup on light theme should be black
3 years ago
Audric Ackermann
25f54a13ff
Merge pull request #2454 from yougotwill/sogs_poller_conflict_resolver
...
Opengroup Poller Reaction Conflict Resolution + Fixes
3 years ago
William Grant
3060ffd25a
test: added tests for adding and updating sogs cache entries
...
updated idForLogging for opengroups to be more verbose, updated reaction method calls to use exported Reactions object
3 years ago
Audric Ackermann
7c80f9e233
feat: move attachments outside of the message box
3 years ago
Audric Ackermann
3fd6c570c7
fix: click on a link preview shows the dialog to open or copy url
3 years ago
Audric Ackermann
a8c3463673
fix: set a min height for attachments preview so they cover their box
...
even if they are smaller that them
and close the replyTo in composition box on Escape press
3 years ago
Audric Ackermann
e125979b7a
fix: disable having some corner large and small for message bubbles
3 years ago
Audric Ackermann
98ea07a361
fix: right margin on body shorted than author name
3 years ago
William Grant
8b8be7a45d
Merge branch 'clearnet' into reactions_fixes
3 years ago
William Grant
7a80e18327
fix: improved react popup localisation, review fixes
3 years ago
Audric Ackermann
7e32880ab0
fix: use js variables instead of css variables for Message corners
3 years ago
William Grant
05b7bdb956
fix: show correct count value for open group reactions
3 years ago
Audric Ackermann
98b1302589
fix: rounded corners around messages
...
looks like node-sass tries to be too clever
3 years ago
William Grant
4889cb5b32
fix: ReactionList Senders is now an array since we want to handle opengroup reactions separately
...
we no longer need the messagehash and server id for rendering reactions in the UI, ignore reactions using the outdated type
3 years ago
Audric Ackermann
866527de17
fix: make sure a double click on the picker does not trigger reply msg
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
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
Ian Macdonald
aeb5caf921
Trim leading and trailing whitespace on message composition and display.
3 years ago
Audric Ackermann
19decad766
fix: send read receipt when settings ON and window focused
3 years ago
Audric Ackermann
ec76057c5e
Merge integration test ( #2313 )
...
* Testing playwright for Desktop automation
* add more data-testid field
* remove commited test-results
* test: skip group upkeep for now
* test: mention test create group instead of restoring from seed
* test: run on testnet
* fix: revert messagebanner unread count changes
from commit 8107d75e89
Co-authored-by: Emily <emily@oxen.io>
3 years ago
Audric Ackermann
bfb33d14c5
Merge pull request #2269 from Bilb/get-initials-skip-non-alphabet-chars
...
Get initials skip non alphabet chars
3 years ago
Audric Ackermann
a115d385dd
merge linkify component to messagebody as this is the only one using it
3 years ago
Audric Ackermann
cae4d46492
allow to save attachments even if there is multiple of them
...
This is a bit dirty for now
Relates #2229
3 years ago
Audric Ackermann
3cfcf128a5
Merge remote-tracking branch 'upstream/master' into node-side-in-ts
3 years ago
Audric Ackermann
01bb200b24
reduce number of commits during opengroup handling of message
3 years ago
Audric Ackermann
02612280c3
fix multi select including audio messages
3 years ago
Audric Ackermann
1ebff6b3ae
make sure reply is available to read messages
...
and do not handle read messages for non private convo1
3 years ago
Audric Ackermann
2cf2d9eff7
make sure datebreak keep text color
3 years ago
Audric Ackermann
461ce4a7fb
Merge branch 'clearnet' into fix-unread-indicator-light
3 years ago
Audric Ackermann
e853f57e6b
fix unread indicator color for light theme
3 years ago
warrickct
913947a517
Minor padding fixes
3 years ago
warrickct
893f7e99b8
Merge branch 'clearnet' into message-request-ui
3 years ago
Ian Macdonald
6613161b20
Don't nanny the user. Allow all file types as attachments.
...
The Android client already has no such restrictions, and these are
ineffective anyway, as they are based on the file's name, not its
payload.
3 years ago
warrickct
ee9156d4f8
Merge clearnet into message-request-ui
3 years ago
warrickct
36ca2a767c
Adding PR changes
3 years ago
warrickct
d627b8e11d
Requesting flow working with sending message as acceptance.
3 years ago
Audric Ackermann
2478a78794
move mentions and emojify to a functional component
3 years ago
Audric Ackermann
19722b6bdc
remove other emoji dependency and use unicode to render them in message
...
Relates #2151
3 years ago
Audric Ackermann
280128ec43
update search result to have sender on the msg line
3 years ago
Audric Ackermann
1eba9dce30
merge messagesChanged and messagesAdded to a single redux event
3 years ago
Audric Ackermann
949c36a42f
merge fetching more messages for top and bottom in the same flag
3 years ago
Audric Ackermann
4e638d162d
fix the scroll to bottom with button and on send message
3 years ago
Audric Ackermann
792c23da87
cleanup scroll to unread of quote or search result on open
3 years ago
Audric Ackermann
d269693544
cleanup search of contacts excluding not active
3 years ago
Audric Ackermann
a3be2c347d
fixup open convo on search, quote click or hit the bottom
3 years ago
audric
12b00720f4
split up load more messages from top or bottom
...
also split up just fetching the last messages from fetching based on
unread/ lastTopMessageId
3 years ago
audric
83d27ed3b7
update quoted message to animate to have border-green instead of bg green
3 years ago
audric
247cb7c065
cleanup dependencies
3 years ago
audric
e515ce3ca5
Merge remote-tracking branch 'upstream/clearnet' into cleanup-attachment
3 years ago
Audric Ackermann
15ae511bca
Merge branch 'clearnet' into small-refactor
3 years ago
burtonemily
ffdf2519ca
Integration test ( #2128 )
...
* Testing playwright for Desktop automation
* converting tests from javascript to typescript and finishing create user automated test
* Trying to delete app data when test finishes, not through UI
* Undoing the code for clear database once test completes
* Creating POM for cleanup function
* cleanup function for playwright tests
* Creating a new user function, open electron function and clean up function
* fixes user object for new user function
* Adds a login function and start of send message test
* Creating test for sending messages, logging in and adding in data test id tags
* add more data-testid field
* updates new contact test, to have multiple windows and users running simultaneously
* updating clean up and new user test
* Fixing issues with creating new user
* new contact test
* New test to check password functionality
* make sure to cleanup data before running tests
* New group creation test and sending message function
* Adding new automated test for sending message to a contact
* create group test and updating new contact test to include date in test message
* updating package.json to remove webdriver and chromedriver and spectron
Co-authored-by: Audric Ackermann <audric@loki.network>
3 years ago
audric
e97ac5d7c7
make the DL spinner a styled component
3 years ago
audric
72409e3f1f
make sure to keep error state of attachment DL failing
3 years ago
audric
8159613626
make sure we do not useInterval if not expiring for expiretimer
3 years ago
Audric Ackermann
c7565fe7b3
Move scale/resize and attachment logic to typescript
3 years ago
Audric Ackermann
1c46d81a20
rename authorPhoneNumber to what ever makes more sense
3 years ago
Audric Ackermann
62edcb0cc8
fetch translations from crowdin
3 years ago
Audric Ackermann
abd146c4ca
use React Provider for convoListItem ( #2088 )
...
this is to avoid passing down the prop to all the components
3 years ago
Audric Ackermann
38325215e6
Unban UI ( #2091 )
...
* adding basic functionaliy for unbanning a user
* merge ban and unban user dialog in to one dialog
Co-authored-by: warrickct <warrickct@gmail.com>
3 years ago
Audric Ackermann
b68cb07e3e
add crown icon for closed group admins ( #2084 )
3 years ago
Audric Ackermann
58dc3e26ca
reactify group updates text bubble from redux store ( #2083 )
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
651b1c4376
Fetch translations ( #2056 )
...
* 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
* add type for i18n to run update after crowdin fetch with tools/updateI18nKeysType.py
* update to latest translations
3 years ago
Audric Ackermann
cf44896a03
Minor call tweaks ( #2051 )
...
* 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
3 years ago
Audric Ackermann
894349e710
cleanup props passing of avatar and name with a custom hook
3 years ago
Audric Ackermann
16ab506eb6
double click on message replies to
...
Relaes #2006
4 years ago
Audric Ackermann
dfa04c68f4
fix emoji click on button while open closes it
...
Fixes #1980
4 years ago
Audric Ackermann
5b57e01186
make sure click to trust sender renders without new lines
4 years ago
Audric Ackermann
0f2fcbb6e3
delete for opengroups is working
4 years ago
Audric Ackermann
f74ce2a3ae
msg with attachments gets no bigger than the attachment container
4 years ago
Warrick Corfe-Tan
04e0023d38
fix import warning
4 years ago
Warrick Corfe-Tan
1fe6b61308
Re-adding code that wasn't commited. Adding button for debug log in settings.
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
Audric Ackermann
15ac6ed23c
Merge remote-tracking branch 'upstream/master' into clearnet
4 years ago
Audric Ackermann
e3c27f1016
fix reply for incoming messages ( #1930 )
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
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
525f9dcfb2
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
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 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
7c49c51cf8
make outgoing status align flex-end
4 years ago
audric
bfc805c9d4
fix search logic and UI cosmetic fixes
4 years ago
audric
bd7d88e170
remove theme from css and used variables instead
4 years ago
audric
350f00283b
move tsx and theme to css variables part1
4 years ago
audric
a30876fd65
removed the enum from SessionIconType. Just rely on the type itself
4 years ago
audric
a53392853f
make the CompositionBox closer to the mobile UI
4 years ago
audric
8ebcb2d1e1
replace SessionIcon size enum with type
4 years ago
audric
1048042f7d
fix attachment pre-decrypting when out of view
4 years ago
audric
cdd11eee47
speed up attachment loading by only loading those inview
4 years ago
audric
2e9cd0ada6
add date break with full date when older than a week
4 years ago
audric
2825b66ef6
add screen break for jump in messages timestamp
4 years ago
audric
4968244491
fix tooltip error in debug run related to memory leak
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
audric
9e37985d03
enable no-unused local and imports and fix tslint
4 years ago
Audric Ackermann
57aa8cba69
cursor pointer on click to trust contact message body
4 years ago
Audric Ackermann
f9ecfccc0a
batch UI updates of message added events
4 years ago
audric
588ae85cda
fix at lat types for attachment
4 years ago
audric
23e9a6d31c
move some actions to redux in hooks
4 years ago
Audric Ackermann
f0fad6edfa
uniformized props for Message
4 years ago
Audric Ackermann
97b9156562
improve performamce by memoizing avatar and menus
4 years ago
Audric Ackermann
52293d6787
fix trust do not trigger redownload of already dl medias
4 years ago
Audric Ackermann
29c29c5752
fix click to trust only dling file received
4 years ago
Audric Ackermann
712f76a53c
Merge remote-tracking branch 'upstream/clearnet' into remove-conversationct-singleton
4 years ago
Audric Ackermann
9e5d33d849
trigger download for past messages when trusting contact
4 years ago
Audric Ackermann
8ef9c8ed1a
remove delivery receipt logic
4 years ago
Audric Ackermann
5289d4c2aa
add joinable rooms on opengroupv2 joining screen
4 years ago
Audric Ackermann
f7581cf4eb
increase prettier maxWidth to 100
4 years ago
Audric Ackermann
553f264d12
make unread attrs as before a number, and remove calculatingPow
...
calculating pow is just the same as sending state
4 years ago
Audric Ackermann
b76ce0f2ff
update models to TS part2
4 years ago
Audric Ackermann
7054385d4a
remove body pending loading of message > 2000.
...
Also remove the limit when sending text messages
4 years ago
Audric Ackermann
a51f95d28c
move models to TS part1
4 years ago
Audric Ackermann
34e5648681
fix metadatabadges for closed group
...
do not show crown nor Mod badge
4 years ago
Audric Ackermann
dc0733968d
make moderators and groupAdmins a single name
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
7f5515cf6b
split Message metadatas rendering to a sub component
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
4c0a988fe5
Move the metadata badges to use react functional components
4 years ago