Commit Graph

146 Commits (cea2c2460a507f798a3d0bb0a14bbb7d0217f73c)

Author SHA1 Message Date
audric cea2c2460a make sure screenshot of video attachment is saved locally 4 years ago
audric 9f0ae00317 fix up types for link preview generations 4 years ago
audric 131195e2de add another type for when an outgoing attachment was imported to app 4 years ago
audric 1c8e81d8e6 make sure to store generated thumbnail with the attachment message 4 years ago
audric 8feecb777b make sure to scale dowm preview in composition box 4 years ago
Audric Ackermann c7565fe7b3 Move scale/resize and attachment logic to typescript 4 years ago
Audric Ackermann 4349b699cb
remove schemaVersion field and logic from message object 4 years ago
warrickct 3f4db67c1b Merge branch 'clearnet' into global-search-off-clearnet 4 years ago
warrickct 374d5a6619 Global search partially functioning, added basic functions for load testing performance. 4 years ago
Audric Ackermann 7b103226be
add 'contact' or 'group' to delete action menu
Fixes #2066
4 years ago
Audric Ackermann c5f69a2d95
pull translations from crowdin
Relates #2113
4 years ago
Audric Ackermann 6e102644c3
update english translations 4 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>
4 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
4 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
4 years ago
Audric Ackermann 95e40c9509
keep read-receipts disabled by default (#2071) 4 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
4 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
4 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
4 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
5 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 5 years ago
Audric Ackermann ba5ec93505
Merge pull request #1554 from Bilb/encrypt-local-attachments
Encrypt local attachments
5 years ago
Audric Ackermann 2e29206c99
Merge remote-tracking branch 'upstream/clearnet' into voice-message-record-mp3 5 years ago
Audric Ackermann ccf8a31ae3
move Attachments and Attachments_test to typescript 5 years ago
Audric Ackermann 42f0d21740
generate attachment key on migration 5 years ago
Audric Ackermann ed30be5334
fix attachments loading for avatar and exporting files 5 years ago
Audric Ackermann def03c8baa
working encrypt/decrypt of attachments 5 years ago
Audric Ackermann 5c6c5c2b8c
First commit encrypting attachments locally 5 years ago
Audric Ackermann f704708524
fix bug with extension not being send if we don't have contenttype set 5 years ago
Audric Ackermann 24a67a1ec3
record voice message as opus 5 years ago
Audric Ackermann a51f95d28c
move models to TS part1 5 years ago
Audric Ackermann 02fb5783a4
remove regionCode and PhoneNumber.ts 5 years ago
Audric Ackermann 273eedc6a9 remove hasSignalAccount and Sealed Sender unused 5 years ago
Audric Ackermann 135fc3b366
remove prekeys 5 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)
5 years ago
Audric Ackermann 979a9058e3
remove verified number - related features (partial) 5 years ago
Audric Ackermann 6afe893359
fix up a few test 5 years ago
Audric Ackermann 7f5515cf6b split Message metadatas rendering to a sub component 5 years ago
Audric Ackermann 13e02b5bf1
add staged link previews for everything from signal 5 years ago
Audric Ackermann 7c47150194
fix attachments download with already set url 5 years ago
Audric Ackermann 55fa65fc31
override attachments name on upload 5 years ago