Commit Graph

5084 Commits

Author SHA1 Message Date
Audric Ackermann afd63c230e
remove unused curve compiled files 2022-04-07 11:47:22 +10:00
Audric Ackermann 9f8920ef2c mostly working but need to improve perfs 2022-04-04 08:53:37 +10:00
Audric Ackermann 4d72b92b25 app starts but full of errors 2022-04-01 16:55:17 +11:00
Audric Ackermann 280cc494e8 test with webpack - not working 2022-04-01 09:58:24 +11:00
Audric Ackermann 5bc576249b move signal.js to TS 2022-03-30 08:53:08 +11:00
Audric Ackermann ff43cfa593 move worker_interface and logs and i18n to TS 2022-03-30 08:36:20 +11:00
Audric Ackermann 92814ba36c remove libloki references from ingored files 2022-03-29 12:19:54 +11:00
Audric Ackermann 12d9a8db78
electron-renderer webpack seems to be generating main_renderer.js 2022-03-28 17:28:36 +11:00
Audric Ackermann 51575d2f56
moved views to TS but broken 2022-03-24 11:15:21 +11:00
Audric Ackermann 449751a891
remove some refs to Signal.Data in ts 2022-03-23 16:55:04 +11:00
Audric Ackermann d99cdc48f4
rename background.js to main_start.js 2022-03-23 16:50:17 +11:00
Audric Ackermann 15260c9718
move logging.js to ts 2022-03-23 16:35:29 +11:00
Audric Ackermann 7d570fec52
move linkPreviews.js to ts 2022-03-23 16:19:38 +11:00
Audric Ackermann 0e2cf98d96
move privacy.js to ts 2022-03-23 16:11:44 +11:00
Audric Ackermann 6bd835dfc3
move storage.js to ts 2022-03-23 15:57:11 +11:00
Audric Ackermann 747bcb766c
move notifications.js to ts 2022-03-23 14:27:10 +11:00
Audric Ackermann 6334f7cb45
move registration.js to ts 2022-03-23 14:26:46 +11:00
Audric Ackermann 0d4059ccb1
move read_receipts to ts 2022-03-23 13:35:44 +11:00
Audric Ackermann 0b814d4d16
remove read sync as we do not care about them on Session 2022-03-23 13:06:50 +11:00
Audric Ackermann 1ff836865a
after moving focusListener to ts 2022-03-23 10:44:47 +11:00
Audric Ackermann e78224db05
after moving expiring message and wallclock to TS 2022-03-23 10:30:57 +11:00
Audric Ackermann 89757a95a6
use readyForUpdates to trigger update from renderer
this is used to only start the updater once the fileserver returned use
the latest release
2022-03-21 16:48:25 +11:00
Audric Ackermann e1f2393c3a
cleanup translated strings 2022-03-07 13:26:57 +11:00
Audric Ackermann e2f9b3e764
make sure to render localized strings with $ in them correctly 2022-03-07 09:58:33 +11:00
Audric Ackermann f1900f9f36
remove some unused strings
and fix tos links #2176
2022-03-03 14:00:47 +11:00
Audric Ackermann 3fed22048b
rename a few loki to session 2022-02-18 13:03:47 +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 a3be2c347d
fixup open convo on search, quote click or hit the bottom 2022-02-03 10:58:41 +11:00
Audric Ackermann 2b0a2cff46
rename console.warn to error or info depending on type 2022-02-03 10:58:41 +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 8159613626 make sure we do not useInterval if not expiring for expiretimer 2022-01-13 16:02:02 +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 62edcb0cc8
fetch translations from crowdin 2022-01-05 14:37:54 +11:00
Audric Ackermann dd52ad336f
use variables for common settings key
also turn off typing message by default
2021-12-21 08:16:22 +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 b68cb07e3e
add crown icon for closed group admins (#2084) 2021-12-15 14:41:55 +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 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 1a699879cf
Add call duration (#2059)
* add call duration once connected

* close incoming call dialog if endCall from same sender

* disable message request toggle if featureFlag is OFF
2021-12-02 11:13:47 +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 Ackermann 1c27ceb2d0
Merge pull request #2045 from Bilb/fix-bug-release-blob-decrypted
Fix bug release blob decrypted
2021-11-26 10:28:49 +11:00
Audric Ackermann 5ba7f20162
speed up fetching closed group's members avatar 2021-11-23 15:18:46 +11:00
Warrick Corfe-Tan 6da08b807c removed old log submit code. 2021-10-29 15:55:16 +11:00
Warrick Corfe-Tan 8180200b3a Saving logs to desktop. 2021-10-29 15:27:42 +11:00
Audric Ackermann f74ce2a3ae
msg with attachments gets no bigger than the attachment container 2021-10-21 17:07:57 +11:00
Audric Ackermann 251309656b
Merge remote-tracking branch 'upstream/clearnet' into webrtc-calls-p2 2021-10-21 13:52:20 +11:00
Audric Ackermann 99b139f5c4
split settings folder and start adding the settings for video call 2021-10-21 13:18:50 +11:00
Audric Ackermann 8e6d9ca036
Merge pull request #1969 from Bilb/webrtc-calls
Webrtc video calls - first part - disabled
2021-10-18 16:00:56 +11:00