Commit graph

229 commits

Author SHA1 Message Date
Audric Ackermann e62c1599a5 Merge branch 'clearnet' into feat-move-attachments-outside-messagebox 2022-09-29 15:30:21 +10:00
Audric Ackermann 17913697b9 Merge branch 'fix-link-preview-width-tiny' into feat-move-attachments-outside-messagebox 2022-09-08 14:20:27 +10:00
Audric Ackermann d86d024a0a fix: link preview with image displayed horizontal rather than vertical 2022-09-01 13:38:15 +10:00
Audric Ackermann 30e3cb8755 feat: fix other types of messages now that there is no box around 2022-09-01 11:50:42 +10:00
Audric Ackermann 7c80f9e233 feat: move attachments outside of the message box 2022-08-30 17:10:08 +10:00
Audric Ackermann ef10e0f1d9 chore: move typing animation to styled components 2022-08-23 14:41:24 +10:00
Audric Ackermann 36f929a1ca fix: batch rename margins to their var equivalent
Some of those are used in calculus and cannot be renamed
2022-08-22 10:28:07 +10:00
Audric Ackermann 970e719229 chore: move session radio group to styled components
also clean up unused css
and move some elements from OverlayClosedGroup to styled components
2022-08-19 09:53:53 +10:00
Audric Ackermann 374b71630a feat: wrap up the new Join Community overlay 2022-08-19 09:53:53 +10:00
Audric Ackermann 282e631f73 feat: add menu action and action chooser left pane option 2022-08-19 09:53:53 +10:00
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
2022-08-08 09:50:48 +10:00
warrickct 893f7e99b8 Merge branch 'clearnet' into message-request-ui 2022-02-15 12:04:14 +11:00
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.
2022-02-14 09:25:53 +01:00
warrickct ee9156d4f8 Merge clearnet into message-request-ui 2022-02-14 16:42:53 +11:00
warrickct 02cf6fea2b minor styling fixes 2022-02-10 22:59:03 +11:00
Audric Ackermann 27906de084
grunt keep underscore in for backbone 2022-02-03 16:25:57 +11:00
Audric Ackermann 5b6d0d25f5
fix typo noteSelf results and shortened pubkey for unknown contacts 2022-02-03 16:02:25 +11:00
Audric Ackermann 44f61073dc
move search results to styled components
and cleanup search logic and rendering of message results
2022-02-03 10:58:48 +11:00
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
2022-02-03 10:58:42 +11:00
Audric Ackermann 00d2bbc63d
cleanup MessageSearchResults 2022-02-03 10:58:42 +11:00
Audric Ackermann a3be2c347d
fixup open convo on search, quote click or hit the bottom 2022-02-03 10:58:41 +11:00
audric e515ce3ca5 Merge remote-tracking branch 'upstream/clearnet' into cleanup-attachment 2022-01-17 16:50:18 +11:00
warrickct 804c9a56b9 convert to functional component. Tweak colors for search results. Fix search result header incorrect color. Addressing PR comments from previous search branch. Experimenting trimming approaches. 2022-01-17 14:51:30 +11:00
audric fc916ce94c Fix attachments duplication on message syncing with current device 2022-01-14 14:56:55 +11:00
audric e97ac5d7c7 make the DL spinner a styled component 2022-01-14 14:55:12 +11:00
warrickct 374d5a6619 Global search partially functioning, added basic functions for load testing performance. 2021-12-22 11:20:29 +11:00
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
2021-11-29 17:40:46 +11:00
warrickct f17b923add Fixing rimraf transpile bug. Adding PR fixes - icon buttons. 2021-11-26 15:29:57 +11:00
Audric Ackermann 8df85441f7
fix video stream not displaying in draggable container 2021-11-05 13:30:18 +11:00
Audric Ackermann 945ecf34a1
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
2021-09-17 11:36:46 +10:00
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
2021-09-13 17:07:53 +10:00
audric bfc805c9d4 fix search logic and UI cosmetic fixes 2021-09-03 16:47:04 +10:00
audric 08cdd035ae disable transition for background of leftpane (for app initial load) 2021-09-01 15:25:34 +10:00
audric bd7d88e170 remove theme from css and used variables instead 2021-09-01 14:29:04 +10:00
audric ec2eab6e23 do not trigger redux update if onion path did not change 2021-08-25 16:18:53 +10:00
audric f9988119f9 major UI rewrite of messages view with redux improvements 2021-08-25 15:01:19 +10:00
audric ee4ed2e075 fix attachment logic with ui redesign 2021-08-24 13:23:23 +10:00
audric f7b0c6c7e1 make conversation screen closer to mobile UI part1 2021-08-23 16:32:21 +10:00
Brice-W f6d3715dab add a link icon when there is no image available or when media download is not allowed 2021-08-16 14:46:31 +10:00
audric 4f5072ee65 Merge remote-tracking branch 'upstream/clearnet' into perf-improv 2021-07-21 09:47:10 +10:00
Warrick Corfe-Tan 398e23256d minor style tweak. 2021-07-20 11:09:27 +10:00
Warrick Corfe-Tan ee7e6e47fe applying to outgoing messages 2021-07-20 10:50:06 +10:00
Warrick Corfe-Tan c944fac426 Transparent background for images. 2021-07-20 10:08:09 +10:00
Audric Ackermann 511adcf388
refactored right panel to hook 2021-07-14 13:56:13 +10:00
Audric Ackermann 68f81d387f
fixed mentions overlay with attachment on back 2021-05-26 15:17:54 +10:00
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
2021-05-12 10:35:05 +10:00
Audric Ackermann 720e229c95
do not put DM settings on multiple lines 2021-03-04 14:22:13 +11:00
Audric Ackermann 6edcb88788
remove resend as it does not make any sense with medium groups
and sendAnyway
2021-02-09 11:38:11 +11:00
Audric Ackermann d655c397e0
make the isAdmin coming from the convo props and not the messages 2021-01-22 11:09:34 +11:00
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)
2021-01-18 10:58:34 +11:00