Commit Graph

305 Commits (dcf2f96c9fc20c16e29edfcc95bac0fb966578fe)

Author SHA1 Message Date
Audric Ackermann 449751a891
remove some refs to Signal.Data in ts 3 years ago
Audric Ackermann 15260c9718
move logging.js to ts 3 years ago
Audric Ackermann 7d570fec52
move linkPreviews.js to ts 3 years ago
Audric Ackermann 0e2cf98d96
move privacy.js to ts 3 years ago
Audric Ackermann 6bd835dfc3
move storage.js to ts 3 years ago
Audric Ackermann 747bcb766c
move notifications.js to ts 3 years ago
Audric Ackermann 6334f7cb45
move registration.js to ts 3 years ago
Audric Ackermann 0d4059ccb1
move read_receipts to ts 3 years ago
Audric Ackermann 1ff836865a
after moving focusListener to ts 3 years ago
Audric Ackermann e78224db05
after moving expiring message and wallclock to TS 3 years ago
Audric Ackermann 43d133519e
do not shrink member list items when list is full 3 years ago
Ian Macdonald fa0c1fff88
Use up to two scaled initials as a placeholder for users with no avatar.
If the user's name consists of just a single word, then use up to two
letters from that word as the placeholder.

This provides better differentiation of users than the current practice
of using just a single letter for everyone.
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 19722b6bdc
remove other emoji dependency and use unicode to render them in message
Relates #2151
3 years ago
Audric Ackermann 40344bde52
move search logic to the search input component 3 years ago
Audric Ackermann 44f61073dc
move search results to styled components
and cleanup search logic and rendering of message results
3 years ago
Audric Ackermann 1e5a45d95b
cleanup timestamp display for search results 3 years ago
audric 247cb7c065 cleanup dependencies 3 years ago
audric 4b39b46b6a replace invalid unicode in filename 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 3338a3c75b remove fetching of description for link preview as we do not send it 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 dd52ad336f
use variables for common settings key
also turn off typing message by default
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 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 f91ed7729b
cleanup SessionCompositionBox 3 years ago
Audric Ackermann 1e8c8991ad
more cleanup 4 years ago
audric a30876fd65 removed the enum from SessionIconType. Just rely on the type itself 4 years ago
audric 7fa50b4a73 do not pass props not needed between message list components 4 years ago
audric 7b93d5df9a fix caption for attachments not displayed once sent 4 years ago
audric 6a11a4c879 store staged Attachments in redux
still an issue with the File in redux
4 years ago
audric 8a19b50c0f fix attachment not being uploaded since electron upgrade 4 years ago
audric e5dab2781e remove spectron dependency 4 years ago
audric 9e37985d03 enable no-unused local and imports and fix tslint 4 years ago
audric 61b48dd06b move delete_all api call to snodeAPI.ts 4 years ago
audric 9991dc2364 move delete account logic to it's own dialog 4 years ago
Audric Ackermann 3dd1a534d3 fix delete all on network request 4 years ago
audric ab8b6e85b4 Merge remote-tracking branch 'upstream/clearnet' into network-clear-all 4 years ago
Audric Ackermann ef2d22ce8a
fix app icon for all platforms 4 years ago
Audric Ackermann 6e8d25e530
Fixes mentions in message body and resolve them quicker
Relates #1815
4 years ago
Warrick Corfe-Tan f087937f6f WIP debugging network deletion failing. 4 years ago
Warrick Corfe-Tan ec447b2e2e network clear all WIP 4 years ago
Warrick Corfe-Tan 2e5ffc3196 wip delete all network message. 4 years ago
audric 6d34a60f94 improve performance by not loading all unread messages 4 years ago
audric 4f5072ee65 Merge remote-tracking branch 'upstream/clearnet' into perf-improv 4 years ago
audric b7df0788c2 move mentions state to the ConversationState 4 years ago
Audric Ackermann 3c0ea2b900
Merge pull request #1781 from Bilb/fix-link-device
fix link device. start polling for our pubkey
4 years ago
audric 41c2ce67a7 fix link device. start polling for our pubkey 4 years ago
Audric Ackermann 9a380b716b
put saveAttachemntToDisk outside of component 4 years ago
Audric Ackermann e8f0c4aaec
move libloki to webworker and remove unused stuff in it 4 years ago
Audric Ackermann 5b0b165ba9
Merge remote-tracking branch 'upstream/clearnet' into perf-improv 4 years ago
Audric Ackermann ca331b95a6
remove coverage unused 4 years ago
Warrick Corfe-Tan 36cf05db1b Switched conversation pin state. 4 years ago
Warrick Corfe-Tan 08db057ad9 Merge branch 'clearnet' into pin-conversations 4 years ago
Warrick Corfe-Tan 49415e3bf0 Yarn formatting and linting. 4 years ago
Warrick Corfe-Tan 60b3032833 Exclude showing pin icon and menu item for contacts list. 4 years ago
Audric Ackermann 19555b99a0
Merge pull request #1723 from Bilb/poll-less-often-group-not-active
Poll less often group not active
4 years ago
Audric Ackermann 50d4481672
fix symbols allowed for password + update tests 4 years ago
Audric Ackermann 4a491e6a6a
lint 4 years ago
Audric Ackermann 13bc1a21d9
add test for swarmPolling variable rate 4 years ago
Audric Ackermann 89a0868fc3
remove getInstance of conversationController to get() 4 years ago
Audric Ackermann bbbcfd54d6
rename all spacer-* to react component 4 years ago
Audric Ackermann a5d7995168
merge dialog refctor with clearnet 4 years ago
Audric Ackermann c9d7f4a1ab
Merge remote-tracking branch 'w/onion-paths' into clearnet 4 years ago
Audric Ackermann dd9341a196
remove i18n from props everywhere where possible 4 years ago
Audric Ackermann 27fb732f50
cleanup unused prekeys table 4 years ago
Audric Ackermann 5bf844241b
fix tests 4 years ago
Audric Ackermann 10b5ff9e0d
fix deleteAuthToken by including it on the request 4 years ago
Warrick Corfe-Tan ec39f7ae9b Moved edit profile saving into edit profile component file. 4 years ago
Audric Ackermann 0192f295f2
move the user fetch for mentions to redux 4 years ago
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding 4 years ago
Audric Ackermann a26c5da6cb
Uniformize once and for all the conversation types
no more 'direct'. those are private convos
4 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 4 years ago
Audric Ackermann c07271109f
Add a ConversationType OPEN_GROUP 4 years ago
Audric Ackermann 53d16d7dac
remove fallback to node-fetch 4 years ago
Audric Ackermann 35e57f2509
move mnemonic.js to typescript 4 years ago
Audric Ackermann ad117fe4e5
uniformized redux convo type and getProps() of conversation 4 years ago
Audric Ackermann 8c33d89057
make AccountManager functions only rather than full static class 4 years ago
Audric Ackermann 8c4e071c00
crop avatars to what iOS expects 4 years ago
Audric Ackermann 6fbe060973
move deleteAccount() to AccountManager 4 years ago
Audric Ackermann db167eaf1b fix a bug preventing our avatar to be updated on restore from seed
this was due to the fact that the redux was not ready when our
conversation is created. so the events were not linked
4 years ago
Audric Ackermann 853222d25b Do not sync configurationMessage on app load if restored from seed 4 years ago
Audric Ackermann 9586c3a06a add linking of a device to the Registration logic 4 years ago
Audric Ackermann 305ece1c7c update our profile on incoming configMessage sent after our last update 4 years ago
Audric Ackermann e6cf28cb2a prettier on pre-commit 4 years ago
Audric Ackermann 5d6d81b9ef Move accountManager to typescript 4 years ago
Audric Ackermann 99cc5b448a remove unused qrcode.js 4 years ago
Audric Ackermann 8ea9f02cec Move data.js to data.ts 4 years ago
Audric Ackermann 36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2 4 years ago
Audric Ackermann 5a7c8ffa35
fix previews sent on next message if they are resolved too late 4 years ago
Audric Ackermann 874e3f863b
remove unused worker 4 years ago
Audric Ackermann 0fe026ab15
Fix the password length limit when not setting a new password
Relates #1446
4 years ago