Commit graph

747 commits

Author SHA1 Message Date
Audric Ackermann
453d260d5c
Merge pull request #2027 from Bilb/fix-netwokr-switching
Fix network switching with ongoing webrtc calls
2021-11-15 16:54:15 +11:00
Audric Ackermann
b8d5a1c166
disable audio output switching as this is broken for now 2021-11-15 14:46:22 +11:00
Audric Ackermann
af7cdfc4b4
Merge pull request #2024 from Bilb/setup-test-playwright
Webrtc calls caller UI +  playwright setup
2021-11-12 16:13:37 +11:00
Audric Ackermann
8c9832f118
add a toggle audio output button 2021-11-12 11:45:17 +11:00
Audric Ackermann
cca1b4dabe
add a button to start a video call 2021-11-08 15:33:49 +11:00
Warrick Corfe-Tan
87235641cb fixed typos for translations and method name. 2021-11-04 16:07:27 +11:00
Warrick Corfe-Tan
c3924f85a9 Adding blocking of individual requests and syncing of block to devices. Added approval by replying to a message. 2021-11-04 14:47:47 +11:00
Audric Ackermann
27e87edac2
add a ringing and establishing connection label video calls 2021-11-04 14:28:04 +11:00
Warrick Corfe-Tan
8180200b3a Saving logs to desktop. 2021-10-29 15:27:42 +11:00
Audric Ackermann
a45f5f520a
incoming call dialog show avatar + caller name 2021-10-28 13:36:01 +11:00
Audric Ackermann
d50d7eb803
our video off => show our avatar 2021-10-28 12:03:11 +11:00
Audric Ackermann
0f2fcbb6e3
delete for opengroups is working 2021-10-25 17:04:51 +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
55313deb91
add a show user details option in the menu
Fixes #1971
2021-10-20 15:54:26 +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
Audric Ackermann
182192124e
update localized strings from crowdin 2021-10-18 15:59:56 +11:00
Audric Ackermann
fbd51c2974
add buttons to display list of inputs + toast on empty 2021-10-14 14:12:08 +11:00
Warrick Corfe-Tan
2b28ec93f9 removed translation for debug logs. 2021-10-11 14:20:33 +11:00
Warrick Corfe-Tan
1fe6b61308 Re-adding code that wasn't commited. Adding button for debug log in settings. 2021-10-11 12:25:27 +11:00
Warrick Corfe-Tan
ab6bccade6 Added additional information to debug logs. 2021-10-06 11:35:57 +11:00
Audric Ackermann
1e8c8991ad
more cleanup 2021-10-04 10:56:54 +11:00
Warrick Corfe-Tan
1522e5102d removed isCall property from message. Fixed text 2021-10-01 15:13:02 +10:00
Warrick Corfe-Tan
6743201cc4 added perfect negotiation
Adding toast for cam and audio permission when making a call.

adding missed call message and toast when a call is received while mid-call.

background call message work
2021-10-01 13:39:47 +10:00
Audric Ackermann
c54f63ab45
add listener for video calls events 2021-09-27 13:57:31 +10:00
Warrick Corfe-Tan
daae55d62c Adding survey button to settings menu. 2021-09-20 15:44:19 +10:00
Warrick
1d459ba533
Unsend messages (only message hashes saving for now is enabled) (#1891)
* WIP unsending message.

* retrieving message with hash from db on receiving unsend request.

* outgoing messages hashes updated on message sent success

* unsend messaging

* unsend message - deleting messages and marking as isDeleted.

* add msg hash to unprocessed records.

* Message unsending working for closed groups provided the message has been updated with a hash from server.

* adding 2-stage confirmation modal for message deletion

* adding rendering of removed incoming messages, disabling rendering of unsent outgoing messages in coversation screen.

* Adding logging

* debugging.

* outgoing only saved for sync message instead of regular message.

* deleting locally

* adding post unsend deletioncode.

* starting adding feature flag.

* Added feature flag.

* addding mandatory messageHash  pollling pipeline methods swarm polling.

* Conversation list item message preview showing deletion placeholder text if deleted.

* add condition to drop unsend requests not send by message author

* refactoring deleteMessage. Saving response hash for closed group message sending

* running yarn ready

* removing logging.

* Adding PR fixes

* Minor changes and running yarn ready

* fix typo

* Moved feature flag to lokiFeatureFlags. Fixing linting errors


Co-authored-by: Audric Ackermann <audric@loki.network>
2021-09-20 13:47:59 +10:00
Audric Ackermann
25453ee807
Speedup body update composition box (#1911)
* disable sending on enter while composing

Fixes #1899 #1497

* ask confirmation before deleting account

* move drafts outside of redux to speedup body message writing
2021-09-16 14:34:02 +10:00
audric
3221dd8921 pull latest translations from crowdin 2021-09-02 17:20:25 +10:00
audric
985a5d92bc do not show search input if we only got a single conversation 2021-08-26 16:44:58 +10:00
audric
a9dcdea796 update with latet locales from crowdin 2021-08-24 11:39:42 +10:00
audric
f7b0c6c7e1 make conversation screen closer to mobile UI part1 2021-08-23 16:32:21 +10:00
Warrick Corfe-Tan
ebb37b44b6 Merge branch 'clearnet' into registration-progress-banner 2021-08-19 13:51:12 +10:00
Warrick Corfe-Tan
dbc19adeb8 Adding PR changes, running yarn ready 2021-08-19 12:10:11 +10:00
Warrick Corfe-Tan
48b4aab63c applying PR fixes. 2021-08-18 11:17:42 +10:00
Warrick Corfe-Tan
f9ad63d58b Merge branch 'clearnet' into registration-progress-banner 2021-08-18 11:14:06 +10:00
Warrick Corfe-Tan
af298936d9 Combining and 80 and 90 completion stages. 2021-08-17 10:05:12 +10:00
Warrick Corfe-Tan
a1194fa7bb Merge branch 'clearnet' into simplify-onboarding 2021-08-16 09:45:10 +10:00
Warrick Corfe-Tan
bf645f36b7 Combining registration steps. 2021-08-16 09:27:29 +10:00
Warrick Corfe-Tan
b0a8c6c3eb wip: adding recovery phrase prompt. 2021-08-12 09:23:47 +10:00
audric
612e99af4a add a setting to start the app with a tray icon
Relates #1759
2021-08-10 11:57:27 +10:00
audric
426f2000b8 fixup delete all and handle errors 2021-08-09 11:32:42 +10:00
audric
9991dc2364 move delete account logic to it's own dialog 2021-08-06 10:59:32 +10:00
Audric Ackermann
7365cb2291
Merge pull request #1819 from Brice-W/ban-and-delete-messages
'Ban user and delete all messages' added to menu
2021-08-02 14:34:57 +10:00
Brice-W
2c6821097d adding Ban user and delete all his messages to the menu for moderators 2021-08-02 11:57:10 +10:00
Warrick Corfe-Tan
a8a15e3f88 adding PR changes. 2021-08-02 10:52:53 +10:00
Warrick Corfe-Tan
31118ae51f Add notification icon to conversation list item. Add notification subtitle to conversation header on conversation screen. 2021-07-30 15:07:52 +10:00
audric
1054278a54 disable search in messages for now 2021-07-27 10:29:18 +10:00
audric
59baa08f73 Merge remote-tracking branch 'upstream/clearnet' into perf-improv 2021-07-23 10:42:02 +10:00
Warrick Corfe-Tan
6a536a4f60 grammar fix 2021-07-22 16:49:10 +10:00
audric
8766cf3f8a store offset before refresh of messagesList and restore it 2021-07-22 14:40:35 +10:00
Warrick Corfe-Tan
966012016b Popup confirmation before sending a message containing the users recovery phrase. 2021-07-21 12:22:03 +10:00
Audric Ackermann
787e3a32d0
remove count of unread in unread message banner 2021-07-14 11:30:02 +10:00
Brice-W
e3aa500ba0 i18n labels for pin conversations limit 2021-07-06 14:01:29 +10:00
Warrick Corfe-Tan
08db057ad9 Merge branch 'clearnet' into pin-conversations 2021-06-29 16:27:22 +10:00
Warrick Corfe-Tan
264f97663e Persisting conversation pin statuses. 2021-06-29 15:57:37 +10:00
Audric Ackermann
bab0a94e0d
make moderator strings add/remove error more explicit 2021-06-29 10:01:04 +10:00
Audric Ackermann
d686076ba8
Merge remote-tracking branch 'upstream/clearnet' into play-custom-speed-button 2021-06-25 16:33:06 +10:00
Audric Ackermann
9bdd6ad139
add button to control speed playback on the player 2021-06-25 16:19:16 +10:00
Warrick Corfe-Tan
fc31f8d2b1 Merge branch 'clearnet' into audio-messages-play-all 2021-06-25 09:10:44 +10:00
Audric Ackermann
29c29c5752
fix click to trust only dling file received 2021-06-24 17:12:34 +10:00
Audric Ackermann
9e5d33d849
trigger download for past messages when trusting contact 2021-06-24 16:37:37 +10:00
Warrick Corfe-Tan
f381102860 WIP: autoplay consecutive messages. Setting state done. 2021-06-22 17:04:57 +10:00
Audric Ackermann
bfbcde1c2b
Merge pull request #1707 from Bilb/fix-onion-path-light-orange
fix moderator dialogs and opengroup
2021-06-22 11:27:06 +10:00
Warrick Corfe-Tan
4d985e84b2 minor message rewording 2021-06-22 09:58:49 +10:00
Warrick Corfe-Tan
23c83662e7 Added message entries for message link visit warning. 2021-06-22 09:15:47 +10:00
Audric Ackermann
9204d2f5dd
remove importer 2021-06-21 16:54:20 +10:00
Warrick Corfe-Tan
207026025c Merge branch 'merge-dialogs' of https://github.com/Bilb/loki-messenger into merge-dialogs 2021-06-21 12:59:36 +10:00
Warrick Corfe-Tan
9730471d59 Added ability to toggle playback speed for audio messages via context menu, 2021-06-21 11:42:27 +10:00
Audric Ackermann
b64e8bf610
fix seed dialog and leave group as admin dialog 2021-06-21 10:59:37 +10:00
Audric Ackermann
a5d7995168
merge dialog refctor with clearnet 2021-06-17 16:38:20 +10:00
Audric Ackermann
c9d7f4a1ab
Merge remote-tracking branch 'w/onion-paths' into clearnet 2021-06-17 14:55:25 +10:00
Audric Ackermann
99ac887a56
reply changes to locale made to clearnet since crownin setup 2021-06-16 14:34:11 +10:00
Audric Ackermann
b09c44c964
remove context in locales 2021-06-16 11:20:31 +10:00
Audric Ackermann
08d895afa3
remove entry message in locale as it cause issues with crowdin 2021-06-16 10:33:02 +10:00
Audric Ackermann
adb9775848
cleanup trasnlation with latest from crowdin 2021-06-16 10:14:09 +10:00
Audric Ackermann
3d0bee63d2
first commit with changes from crowdin 2021-06-15 15:26:58 +10:00
Audric Ackermann
a5515a9309
remove androidKey and android mapping logic for locales 2021-06-15 13:23:02 +10:00
Audric Ackermann
4a98d911a2
add a HeaderOption to change the notification settings for each convo 2021-06-07 14:20:07 +10:00
Warrick Corfe-Tan
066e0d954e lights glowing but not yet in order.
WIP glow cycle.

Glow animation working.

Glow animation working, modal no longer interferring with left menu margins.

Cleaning up code. Adding PR suggestions.

Adding typing.

Refactor edit profile modal dialog to no longer use the signal code.
2021-06-02 15:57:56 +10:00
Audric Ackermann
d0c1a2bf3a
add ONS resolve for new ONS and loading on message overlay 2021-06-02 12:29:06 +10:00
Audric Ackermann
b055165a5d
display a message when the recipient screenshots an attachemnt 2021-06-01 15:46:29 +10:00
Audric Ackermann
3e9f9a1af4
fix text saying that linkPreviews are only for some websites
The fetch for every possible url is already enabled

fixes #552
2021-05-26 15:58:55 +10:00
Warrick Corfe-Tan
d7b22e13e1 WIP: Onion path modal using redux state and refactored modals. 2021-05-26 09:58:33 +10:00
Warrick Corfe-Tan
8374cbab08 Merge branch 'clearnet' into add-onion-path-indicator 2021-05-18 13:56:22 +10:00
Warrick
3854d0e10d
WIP: Closed group reliability (#1630)
* WIP: added non-durable messaging function.

* WIP: Non-durable sending

* WIP: adding dialog box.

* Creating dialog if group invite message promises don't return true.

* removed console log

* applied PR changes, linting and formatting.

* WIP: allowing resend invite to failures.

* using lookup.

* WIP: recursively opening dialog.

* WIP: debugging reject triggering on confirmation modal.

* register events fix.

* Closed group invite retry dialog working.

* Added english text to messages.

* Prevent saving of hexkey pair if it already exists.

* Fixed nickname edit
input trimming end letter.

* Don't show closed group invite dialog unless it has failed at least once.

* Fix linting error.

* Fix plurality.

* Ensure admin members are included in all invite reattempts, mixed plurality.
2021-05-18 13:12:51 +10:00
Lucas Phang
9cfb39bb97 Add button to dialog and css updates 2021-05-14 17:14:56 +10:00
Lucas Phang
211477f172 Create Onion Status Dialog 2021-05-14 17:11:21 +10:00
Warrick
cb307790f6
WIP: User nicknames (#1618)
* WIP Adding change nickname dialog.

* WIP adding nickname change dialog.

* WIP nickname dialog.

* WIP: Able to set conversation nicknames. Next step cleaning and adding to conversation list menu.

* Fix message capitilisations.

* Add change nickname to conversation list menu.

* Enable clear nickname menu item.

* Added messages for changing nicknames.

* Clearing nicknames working from header and message list.

* Adding modal styling to nickname modal.

* Reorder nickname menu item positions.

* Add group based conditional nickname menu options to conversation header menu.

* minor tidying.

* Remove unused error causing el option.

* Formatting.

* Linting fixes.

* Made PR fixes

* Prioritise displaying nicknames for inviting new closed group members
and updating closed group members.
2021-05-12 10:40:49 +10:00
Audric Ackermann
b574fd731d
match group invitation design with ios 2021-05-07 16:52:10 +10:00
Audric Ackermann
bd2777ace3
ask confirmation before joining opengroup invitation 2021-05-07 14:54:34 +10:00
Audric Ackermann
248494f15b
redesign group invitation message type 2021-05-07 14:49:38 +10:00
Audric Ackermann
5c594ca2ed
removed all en unused local strings 2021-05-07 13:22:56 +10:00
Audric Ackermann
64eab5160d
remove zombies from the UI only 2021-05-05 18:14:59 +10:00
Audric Ackermann
eb0ddd85f4
add zombies logic for member leaving and removing 2021-05-05 16:40:15 +10:00
Audric Ackermann
01aae16e2e
add title for joining default rooms 2021-04-29 10:55:57 +10:00
Audric Ackermann
5916ce5cbe
add the ban/unban logic for opengroupv2 2021-04-27 12:06:13 +10:00
Audric Ackermann
1f509e003d
add a markAllAsRead option on menus 2021-03-19 15:50:46 +11:00
Audric Ackermann
02fe7ad753
add a way to copy an open group url 2021-03-19 15:31:13 +11:00
Audric Ackermann
eb30c7823c
add a way to click the toast to turn on microphone to show the settings 2021-03-16 15:19:56 +11:00
Audric Ackermann
01085244bd
split up registration signup tab logic to sub components 2021-02-26 11:27:29 +11:00
Audric Ackermann
6edcb88788
remove resend as it does not make any sense with medium groups
and sendAnyway
2021-02-09 11:38:11 +11:00
Audric Ackermann
b76ce0f2ff
update models to TS part2 2021-02-08 16:18:36 +11:00
Audric Ackermann
0fe026ab15
Fix the password length limit when not setting a new password
Relates #1446
2021-02-08 15:21:14 +11:00
Audric Ackermann
eadfbc9f6d
Merge remote-tracking branch 'upstream/clearnet' into clean-and-moderator-dialog-update 2021-01-22 14:41:06 +11:00
Audric Ackermann
ce8bc84de0
add way to add/remove moderators from the message click handler 2021-01-22 10:13:01 +11:00
Audric Ackermann
5c3cb0a165
make moderator dialogs the Session way 2021-01-21 17:49:14 +11:00
Audric Ackermann
3afd23c379
Increase closed group size to 100 2021-01-21 15:24:56 +11:00
Audric Ackermann
21c3e4717e
Merge pull request #1434 from Bilb/remove-prekey
Remove prekeys message and Session managment.
2021-01-19 15:43:01 +11:00
Audric Ackermann
39c64b9fbf
toast adding moderator to remind that the user needs to be registered 2021-01-18 17:02:02 +11:00
Audric Ackermann
979a9058e3
remove verified number - related features (partial) 2021-01-18 10:35:16 +11:00
Audric Ackermann
6856c0e748
remove updateTextInputState not needed and add left to menu tests 2021-01-13 15:28:20 +11:00
Audric Ackermann
b15984aa08
cosmetic UI for updateGroupMembersDialog 2021-01-13 14:06:27 +11:00
Audric Ackermann
6cf838ade8
disallow remove of an admin from a closed group 2021-01-13 12:36:31 +11:00
Audric Ackermann
cbd0e63641
add admin dialog to warn him about leaving for v2 closed group 2021-01-13 11:02:22 +11:00
Audric Ackermann
82b59f808d
no confirmation on message delete from the message detail view 2020-11-26 15:16:44 +11:00
Audric Ackermann
2ec337dd31
Add back ability to edit caption before sending attachments 2020-11-24 16:12:28 +11:00
Audric Ackermann
b46ed237b3
allow empty message when they have attachments 2020-10-20 15:02:16 +11:00
Audric Ackermann
b7f5a32570
add reply to message UI logic 2020-10-15 11:18:37 +11:00
Audric Ackermann
4d991d3992
Merge branch 'clearnet' into react-refactor 2020-10-08 17:23:55 +11:00
Audric Ackermann
c052b1a2ec
update group size limit to 20 now that those are ssk groups
Also removed removed description while creating a medium group as it was
removed on mobile
2020-09-25 09:35:39 +10:00
Audric Ackermann
cd1a940719
add back Copy Session ID but show it only for user context click 2020-09-15 10:32:16 +10:00
Audric Ackermann
66dcfdfe6e
show message when no blocked contact in settings 2020-09-02 15:28:24 +10:00
Audric Ackermann
d670a47d5c
remove duplicated key translation 2020-09-01 15:30:15 +10:00
Audric Ackermann
0e75510e5b
remove ttl unused settings and all translated key 2020-09-01 11:14:59 +10:00
Audric Ackermann
5f9348d21e
replace whole word Signal to Session on all translations 2020-09-01 10:11:16 +10:00
Audric Ackermann
68c1f1f781
use sentence case for android to desktop translation morphing 2020-09-01 10:08:00 +10:00
Audric Ackermann
0d908665c4
remove unused key in english locale 2020-08-31 10:49:11 +10:00
Audric Ackermann
fca83b65cc
make min group member 1 on creation 2020-08-26 11:46:12 +10:00
Audric Ackermann
7942b9410c
update russian locale 2020-08-26 11:16:51 +10:00
Audric Ackermann
785efcbe3c
add option to ignore case on match anroidEn - desktopEn 2020-08-21 09:29:53 +10:00
Audric Ackermann
a1824215d4
matching en translations desktop to android & scripts to verify 2020-08-19 12:17:54 +10:00
Audric Ackermann
0b6c915f8f
update translation to match android - part 2 2020-08-18 12:31:03 +10:00
Audric Ackermann
5739d78ada
edit group editing title to match Android 2020-08-18 11:35:58 +10:00
Audric Ackermann
fec3a0f643
remove install_view.js 2020-08-17 14:03:51 +10:00
Audric Ackermann
457a8967d6
remove beta disclaimer entirely 2020-08-17 12:12:54 +10:00
Audric Ackermann
90fac8f75e
show group members => groupmember 2020-08-17 11:44:51 +10:00
Audric Ackermann
70b739d24f
update translation to match android - part 1 2020-08-17 11:36:25 +10:00
Audric Ackermann
ad4c024530
Merge remote-tracking branch 'upstream/clearnet' into make-cheap-translations 2020-08-14 14:31:33 +10:00
Audric Ackermann
9d4dff611f
simplify Copied xxx => Copied to clipboard 2020-08-14 11:25:31 +10:00
Audric Ackermann
4fbbbc26a4
make blockled list number updates on unblock 2020-08-14 10:56:44 +10:00
Audric Ackermann
e008dbd0d5
"leave {Closed|Open} Group" => "leave group" 2020-08-14 10:07:47 +10:00
Audric Ackermann
66d3a2b86c
replace unsend with deleteForEveryone 2020-08-13 17:22:02 +10:00
Audric Ackermann
edf25e8cbc
clean up menu on message click 2020-08-13 17:01:08 +10:00
Audric Ackermann
d4254b0bda
fix input translation for searches with android translations 2020-08-13 16:06:30 +10:00
Audric Ackermann
30937f4ae3
make start new session screen closer to the android one 2020-08-13 15:31:51 +10:00
Audric Ackermann
eb3ee8f6b0
make leftpane overlay closer to android 2020-08-13 13:44:03 +10:00
Konstantin Ullrich
8bc7528e85
Merge branch 'clearnet' into feature/blocked-list-in-settings 2020-08-10 09:27:16 +02:00
Audric Ackermann
1f9aff5d1d
fix merge issue 2020-08-10 15:08:00 +10:00
Audric Ackermann
3945c6b208
Merge remote-tracking branch 'upstream/clearnet' into react-refactor 2020-08-10 10:51:33 +10:00