Commit graph

168 commits

Author SHA1 Message Date
warrickct ffad806366 Prevent attachments being sent for unapproved conversations. 2022-02-17 20:29:31 +11:00
warrickct 09bcbe6139 Adding empty state for request list. 2022-02-17 18:35:58 +11: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 bc6edd7774 Adding unhiding of message request banner when receiving a new convo request. 2022-02-14 14:47:54 +11:00
warrickct ac8c4ac2eb Removing msg req feature flag. 2022-02-14 09:57:43 +11:00
warrickct 36ca2a767c Adding PR changes 2022-02-11 12:14:58 +11:00
warrickct d627b8e11d Requesting flow working with sending message as acceptance. 2022-02-10 16:49:56 +11:00
Audric Ackermann 445852eca1
split up a bit of the mentions/emoji input 2022-02-08 17:07:12 +11:00
Audric Ackermann 2478a78794
move mentions and emojify to a functional component 2022-02-08 11:17:39 +11:00
Audric Ackermann 19722b6bdc
remove other emoji dependency and use unicode to render them in message
Relates #2151
2022-02-08 10:43:56 +11:00
Audric Ackermann 8efc23d619
pull translations from crowdin 2022-02-07 12:05:19 +11:00
warrickct 2d66b1db4e Adding styling to conversation window for a message request. 2022-02-03 14:04:35 +11:00
Audric Ackermann 7d9f970b2c
remove decrypted_at field from saving message models as unused 2022-02-03 10:58:44 +11:00
Audric Ackermann 00d2bbc63d
cleanup MessageSearchResults 2022-02-03 10:58:42 +11:00
audric 247cb7c065 cleanup dependencies 2022-01-18 15:21:36 +11:00
audric e515ce3ca5 Merge remote-tracking branch 'upstream/clearnet' into cleanup-attachment 2022-01-17 16:50:18 +11:00
Audric Ackermann 6a403afb41
Merge pull request #2139 from warrickct/global-search-progress
Global Search and Database Trimming
2022-01-17 16:33:20 +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 4b39b46b6a replace invalid unicode in filename 2022-01-14 11:03:22 +11:00
audric 72409e3f1f make sure to keep error state of attachment DL failing 2022-01-13 18:33:43 +11:00
audric cea2c2460a make sure screenshot of video attachment is saved locally 2022-01-13 16:00:23 +11:00
audric 9f0ae00317 fix up types for link preview generations 2022-01-13 12:21:50 +11:00
audric 131195e2de add another type for when an outgoing attachment was imported to app 2022-01-13 09:57:49 +11:00
audric 1c8e81d8e6 make sure to store generated thumbnail with the attachment message 2022-01-12 18:56:33 +11:00
audric 8feecb777b make sure to scale dowm preview in composition box 2022-01-12 18:38:52 +11:00
Audric Ackermann c7565fe7b3 Move scale/resize and attachment logic to typescript 2022-01-12 17:01:32 +11:00
Audric Ackermann 4349b699cb
remove schemaVersion field and logic from message object 2022-01-07 10:32:58 +11:00
warrickct 3f4db67c1b Merge branch 'clearnet' into global-search-off-clearnet 2022-01-06 11:10:06 +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 7b103226be
add 'contact' or 'group' to delete action menu
Fixes #2066
2021-12-21 13:41:19 +11:00
Audric Ackermann c5f69a2d95
pull translations from crowdin
Relates #2113
2021-12-21 09:56:38 +11:00
Audric Ackermann 6e102644c3
update english translations 2021-12-21 09:49:22 +11:00
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>
2021-12-16 15:04:26 +11:00
Audric Ackermann e17b5e0671
Fix attachment dl freeze (#2086)
* fix attachment download freezing app for some opengroups

* make registration page work with smaller height
2021-12-15 15:56:29 +11:00
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
2021-12-14 15:15:12 +11:00
Audric Ackermann 95e40c9509
keep read-receipts disabled by default (#2071) 2021-12-08 17:44:24 +11:00
Audric Ackermann 48e7a0e25f
Various UI fixes (#2070)
* 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
2021-12-08 14:15:54 +11:00
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
2021-11-30 14:46:06 +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
audric a986931569 make attacments the same size that they are displayed on the UI 2021-08-27 15:18:44 +10:00
audric 9e37985d03 enable no-unused local and imports and fix tslint 2021-08-12 14:48:18 +10:00
audric 588ae85cda fix at lat types for attachment 2021-07-22 16:13:22 +10:00
Audric Ackermann 4ec1392aec
do local attachments decrypt/encrypt in worker 2021-07-13 11:50:11 +10:00
Audric Ackermann c8aa73626e
do not load right panel data unless it is visibl 2021-07-06 14:02:47 +10:00
Audric Ackermann dd9341a196
remove i18n from props everywhere where possible 2021-06-16 15:37:02 +10:00
Audric Ackermann 5bf844241b
fix tests 2021-06-10 10:27:00 +10:00
Audric Ackermann 81553aed57
do not overwrite attachment name on sending side
Relates #1593
2021-05-27 14:41:57 +10:00
Audric Ackermann 1f99f2f71c
use attachment name when we have one for file saving 2021-05-25 10:22:26 +10:00