Commit Graph

160 Commits (3fed22048b382d0f6be78dea50aab81a24263973)

Author SHA1 Message Date
Audric Ackermann 3fed22048b
rename a few loki to session 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
Audric Ackermann 445852eca1
split up a bit of the mentions/emoji input 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 8efc23d619
pull translations from crowdin 3 years ago
Audric Ackermann 7d9f970b2c
remove decrypted_at field from saving message models as unused 3 years ago
Audric Ackermann 00d2bbc63d
cleanup MessageSearchResults 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 6a403afb41
Merge pull request #2139 from warrickct/global-search-progress
Global Search and Database Trimming
3 years ago
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. 3 years ago
audric 4b39b46b6a replace invalid unicode in filename 3 years ago
audric 72409e3f1f make sure to keep error state of attachment DL failing 3 years ago
audric cea2c2460a make sure screenshot of video attachment is saved locally 3 years ago
audric 9f0ae00317 fix up types for link preview generations 3 years ago
audric 131195e2de add another type for when an outgoing attachment was imported to app 3 years ago
audric 1c8e81d8e6 make sure to store generated thumbnail with the attachment message 3 years ago
audric 8feecb777b make sure to scale dowm preview in composition box 3 years ago
Audric Ackermann c7565fe7b3 Move scale/resize and attachment logic to typescript 3 years ago
Audric Ackermann 4349b699cb
remove schemaVersion field and logic from message object 3 years ago
warrickct 3f4db67c1b Merge branch 'clearnet' into global-search-off-clearnet 3 years ago
warrickct 374d5a6619 Global search partially functioning, added basic functions for load testing performance. 3 years ago
Audric Ackermann 7b103226be
add 'contact' or 'group' to delete action menu
Fixes #2066
3 years ago
Audric Ackermann c5f69a2d95
pull translations from crowdin
Relates #2113
3 years ago
Audric Ackermann 6e102644c3
update english translations 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 e17b5e0671
Fix attachment dl freeze (#2086)
* fix attachment download freezing app for some opengroups

* make registration page work with smaller height
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 95e40c9509
keep read-receipts disabled by default (#2071) 3 years ago
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
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 a986931569 make attacments the same size that they are displayed on the UI 4 years ago
audric 9e37985d03 enable no-unused local and imports and fix tslint 4 years ago
audric 588ae85cda fix at lat types for attachment 4 years ago
Audric Ackermann 4ec1392aec
do local attachments decrypt/encrypt in worker 4 years ago
Audric Ackermann c8aa73626e
do not load right panel data unless it is visibl 4 years ago
Audric Ackermann dd9341a196
remove i18n from props everywhere where possible 4 years ago
Audric Ackermann 5bf844241b
fix tests 4 years ago
Audric Ackermann 81553aed57
do not overwrite attachment name on sending side
Relates #1593
4 years ago
Audric Ackermann 1f99f2f71c
use attachment name when we have one for file saving 4 years ago
Audric Ackermann 12d40aa94e
Fix attachment extension vnd (#1628)
* allow openoffice document extension and don't use

* allow opendocument to be shared with the extension rather than mimetype

Fixes #1593

* allow message without padding

* add test for odt files
4 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 4 years ago
Audric Ackermann ba5ec93505
Merge pull request #1554 from Bilb/encrypt-local-attachments
Encrypt local attachments
4 years ago
Audric Ackermann 2e29206c99
Merge remote-tracking branch 'upstream/clearnet' into voice-message-record-mp3 4 years ago
Audric Ackermann ccf8a31ae3
move Attachments and Attachments_test to typescript 4 years ago
Audric Ackermann 42f0d21740
generate attachment key on migration 4 years ago
Audric Ackermann ed30be5334
fix attachments loading for avatar and exporting files 4 years ago
Audric Ackermann def03c8baa
working encrypt/decrypt of attachments 4 years ago