Commit graph

1872 commits

Author SHA1 Message Date
Audric Ackermann
adfaa8861f
fix build 2020-09-02 13:51:14 +10:00
Audric Ackermann
cd686269cb
use server created_at timestamp to order messages
Also update the way we check for duplicated message to allow a 10s
window with the same body rather than an exact match of timestamp.

This is needed as the timestamp of the message pulled is now the one of
the creation of the server, and not the same we have locally (sent at).
2020-09-02 12:09:23 +10:00
Audric Ackermann
dafe8a80ab
shortcut newReceiver when calling dataMessage exported functions 2020-09-02 12:07:44 +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
73e2250ca8
add submenu rtl support (disabled for now) 2020-08-31 14:53:17 +10:00
Audric Ackermann
c47d0e5707
rename friend-.. css to contact- 2020-08-31 14:52:26 +10:00
Audric Ackermann
22b2d80993
make light theme default for existing users and show dialog to revert 2020-08-28 10:10:45 +10:00
Audric Ackermann
d4a954e53f
add sun SessionIcon and a MAX size for SessionIconSize 2020-08-28 10:10:23 +10:00
Audric Ackermann
f420559f3f
add types for window.confirmationDialog 2020-08-28 10:09:17 +10:00
Audric Ackermann
94bd47fb8c
add way to add icon to SessionConfirm dialog 2020-08-28 10:08:32 +10:00
Audric Ackermann
339bc35975
shorten pubkey when replying to a user 2020-08-26 16:11:43 +10:00
Audric Ackermann
4070a7099f
Merge remote-tracking branch 'upstream/clearnet' into add-light-theme 2020-08-26 12:04:00 +10:00
Audric Ackermann
094cd0ae47
Merge pull request #1306 from Bilb/make-cheap-translations 2020-08-26 11:58:40 +10:00
Audric Ackermann
fca83b65cc
make min group member 1 on creation 2020-08-26 11:46:12 +10:00
Audric Ackermann
a03132f088
remove qrDialogView unused 2020-08-26 10:48:23 +10:00
Audric Ackermann
1eb8f8e6b1
remove ConfirmationDialogView unused 2020-08-26 09:51:40 +10:00
Audric Ackermann
5f51573f53
remove unused templates 2020-08-25 16:58:24 +10:00
Audric Ackermann
291982c2aa
cleanup css and themify missing stuff 2020-08-25 15:58:14 +10:00
Audric Ackermann
9cbf21547b
cleanup scss and themify message view 2020-08-25 11:25:41 +10:00
Audric Ackermann
5cdb25ca00
themify widget selection, compose and slider 2020-08-24 19:11:26 +10:00
Audric Ackermann
5bede47608
make svg check create Closed group color dynamic 2020-08-24 14:26:14 +10:00
Audric Ackermann
422c2610b6
add light theme for leftpane conversation list view 2020-08-24 12:06:03 +10:00
Audric Ackermann
39463d2f93
enable back ability to switch theme from leftpane 2020-08-21 12:54:29 +10:00
Audric Ackermann
ed9f4e713e
add type for mnemonic.js and replace some calls with recoveryPhrase 2020-08-20 10:19:47 +10:00
Audric Ackermann
94146124ff
Merge pull request #1312 from konstantinullrich/bug/#1311-Unblock-Users-Page-in-Settings-is-broken 2020-08-20 08:37:27 +10:00
Audric Ackermann
b75bb71a22
Merge remote-tracking branch 'upstream/clearnet' into make-cheap-translations 2020-08-18 12:34:13 +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
Konstantin Ullrich
5b7c58c0d4 Refresh after unblocking a SessionID without model 2020-08-17 06:57:28 +02:00
Audric Ackermann
fec3a0f643
remove install_view.js 2020-08-17 14:03:51 +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
730c520b22
remove seed name from Registration tabs components 2020-08-17 11:29:14 +10:00
Audric Ackermann
38c099cdf0
rename seed to recovery phrase 2020-08-17 11:21:57 +10:00
Konstantin Ullrich
2f35d9d2a6 lint fix 2020-08-15 13:58:24 +02:00
Konstantin Ullrich
86f8fe54ae Check for model in blocked settings 2020-08-15 13:21:35 +02:00
Audric Ackermann
ad4c024530
Merge remote-tracking branch 'upstream/clearnet' into make-cheap-translations 2020-08-14 14:31:33 +10:00
Audric Ackermann
dc77e6e44e
remove toggle use sender keys. Rely on lokiFeatureFlag directly 2020-08-14 14:25:39 +10:00
Audric Ackermann
13b28e565d
hide copy option for closed group 2020-08-14 11:25:54 +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
d108630f22
add a toastUtils file and replace all pushToast calls in ts files 2020-08-14 10:56:22 +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
71004f04a2
add a getDeleteMenuItem and hide on open groups as
leave and delete messages does the same in fact
2020-08-13 16:45:11 +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
cf3352d0af
add a timeout function to promiseUtils for attemptConnection 2020-08-13 15:30:44 +10:00
Audric Ackermann
eb3ee8f6b0
make leftpane overlay closer to android 2020-08-13 13:44:03 +10:00
Audric Ackermann
08433aa676
Merge pull request #1297 from konstantinullrich/feature/blocked-list-in-settings 2020-08-12 10:39:19 +10:00
Audric Ackermann
d793220772
fix integration-tests with translation change 2020-08-12 10:19:26 +10:00
Audric Ackermann
c90e696da3
fix types for $ conflicting between jQuery and webdriverIO 2020-08-12 10:05:18 +10:00
Konstantin Ullrich
8bc7528e85
Merge branch 'clearnet' into feature/blocked-list-in-settings 2020-08-10 09:27:16 +02:00
Audric Ackermann
599b2e6555
add back way to remove existing nickname set for a user 2020-08-10 15:11:32 +10: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
Audric Ackermann
6cffb3c31f
lint 2020-08-07 10:06:52 +10:00
Audric Ackermann
58dd064e93
Merge remote-tracking branch 'upstream/clearnet' into fix-integration-tests 2020-08-07 10:00:37 +10:00
Audric Ackermann
756f0d8ce5
fix delete can send attachment test 2020-08-07 09:14:58 +10:00
Audric Ackermann
e24fc12b93
fix sender_keys itest 2020-08-07 08:52:28 +10:00
Konstantin Ullrich
380d533da8 fix lint 2020-08-06 10:30:22 +02:00
Konstantin Ullrich
7ec263f273 fixed transaltion key 2020-08-06 09:35:01 +02:00
Konstantin Ullrich
b430848c53 Get only blocked SessionIDs even if conv is gone 2020-08-06 09:08:18 +02:00
Konstantin Ullrich
fde6723584 Fix Lint problem 2020-08-05 09:42:12 +02:00
Audric Ackermann
3e56eb6133
add beta german translation copy pasted from android 2020-08-05 16:58:36 +10:00
Audric Ackermann
80946c0ea5
Merge remote-tracking branch 'upstream/clearnet' into clean-en-translation 2020-08-05 14:24:09 +10:00
Audric Ackermann
9315ed5238
add tool to find unused localized string and fix our current en locale 2020-08-05 11:40:48 +10:00
Audric Ackermann
c41a064880
add tool to find unused localized string and fix our current en locale 2020-08-05 11:39:03 +10:00
Mikunj
b75b02c5a2 Hide multi device UI if flag is not set 2020-08-04 16:06:18 +10:00
Mikunj
22c64395d9 Remove multi-device warnings 2020-08-04 12:45:12 +10:00
Mikunj
49b994367d Remove multi device data.
Force wipe secondary devices.
2020-08-04 11:56:15 +10:00
Mikunj
c0fca99485 Disable multi device 2020-08-04 11:23:48 +10:00
Audric Ackermann
10ea59246f
add back closed group tests 2020-08-04 10:00:55 +10:00
Audric Ackermann
878619a0bc
move integration tests to _itest.ts suffix 2020-08-03 16:00:12 +10:00
Audric Ackermann
38b9736314
skip linking test integration test 2020-08-03 13:20:20 +10:00
Audric Ackermann
933eb73aa1
Merge remote-tracking branch 'upstream/clearnet' into fix-integration-tests 2020-08-03 11:48:00 +10:00
Audric Ackermann
80b0821781
move unit tests to sub folder 2020-08-03 11:45:19 +10:00
Audric Ackermann
c12c3b5f64
move stub of integration tests to typescript 2020-08-03 11:25:06 +10:00
Konstantin Ullrich
e800e5509b Placeholder for no DisplayName-Contacts in blocked 2020-07-31 09:23:56 +02:00
Audric Ackermann
6d65c9cc0a
make sendMessage return -1 on fail rather than false 2020-07-31 11:37:59 +10:00
Audric Ackermann
2637981fdb
fix tests 2020-07-31 11:03:52 +10:00
Audric Ackermann
44349079ab
fix delete of open group messages 2020-07-31 09:49:36 +10:00
Konstantin Ullrich
7de0a0ae65 Add Subscreen for blocked Users 2020-07-30 16:49:11 +02:00
Audric Ackermann
2c45ff73b2
Merge pull request #1288 from Bilb/disable-link-warning-multi 2020-07-30 16:38:15 +10:00
Audric Ackermann
471a381b4b
show disabled multi device message every 5 loads 2020-07-30 16:27:09 +10:00
Audric Ackermann
9464c03806
adress reviews 2020-07-30 15:53:44 +10:00
Audric Ackermann
761ebf4a7c
lint 2020-07-30 15:03:08 +10:00
Audric Ackermann
abc9456d14
add popup for disabling multi device 2020-07-30 15:01:11 +10:00
Audric Ackermann
a4397ceeb3
Merge remote-tracking branch 'upstream/clearnet' into fix-drop-message-closed-group 2020-07-30 12:57:30 +10:00
Audric Ackermann
ba624d5d2f
Merge pull request #1292 from Bilb/fix-caption-attachments 2020-07-30 12:52:05 +10:00
Audric Ackermann
b237d20e62
treat mentions to our primary as us from secondary 2020-07-30 12:44:47 +10:00
Audric Ackermann
12ec5beb95
fix bug preventing loading of out of view cells in conversations list 2020-07-30 11:19:52 +10:00
Audric Ackermann
e806e912a3
move password_utils.js to typescript 2020-07-30 11:07:36 +10:00
Audric Ackermann
89579ebd35
refactor SessionPasswordModal to handle errors on length 2020-07-30 10:58:17 +10:00
Audric Ackermann
582499be25
do not drop group control message from blocked user 2020-07-30 08:42:31 +10:00
Audric Ackermann
6063e0757d
remove 'friend' reference from messages.json 2020-07-29 15:33:02 +10:00
Audric Ackermann
64dff64925
fix mentions notification displayname rather than pubkeys
* replace @pubkeys with their corresponding display name if found
* fix the display of the @ sign on the conversationListItem
2020-07-29 15:22:49 +10:00
Audric Ackermann
708a999ff6
fix caption for attachments when they are set 2020-07-29 12:07:06 +10:00
Audric Ackermann
fec0ead1de
fix link device test and lint 2020-07-29 11:27:20 +10:00
Audric Ackermann
e2a42d1b61
add stubbing of messageQueue in window from ts tests 2020-07-29 11:25:36 +10:00
Audric Ackermann
4c4c7795d2
Merge pull request #1290 from Bilb/fix-lightbox-size-big-pictures 2020-07-29 11:19:13 +10:00
Audric Ackermann
bbd16dbb54
fix size of dialog lightbox with big pictures 2020-07-28 15:12:34 +10:00
Maxim Shishmarev
d95dfdc04a
Merge pull request #1280 from msgmaxim/medium-group-fixes
Medium group protocol changes
2020-07-28 14:23:58 +10:00
Audric Ackermann
5f47c42038
when pulling public message, use the MultiDeviceProtocol to check
if this message is coming from us rather than checking the cached values
2020-07-28 12:20:54 +10:00
Maxim Shishmarev
db05592400 Address review comments 2020-07-28 12:13:41 +10:00
Audric Ackermann
720bb54bc1
move add_contacts_test open_group_test and registration_test to ts 2020-07-28 11:08:34 +10:00
Audric Ackermann
592c31dfc0
fix tslint issues with spectron includes 2020-07-28 10:57:59 +10:00
Audric Ackermann
a983085cbd
move page-objects to .ts files 2020-07-28 10:56:32 +10:00
Audric Ackermann
a853d27b28
disable multi device link and show warnings placeholder 2020-07-28 08:58:55 +10:00
Audric Ackermann
ad24ad28d6
Merge pull request #1284 from Bilb/fix-ttl-ugly-hack 2020-07-27 16:52:48 +10:00
Audric Ackermann
eb06356b26
Merge pull request #1277 from Bilb/fix-blocklist-handle 2020-07-27 16:52:40 +10:00
Audric Ackermann
8558764768
fix open group integration tests 2020-07-27 11:27:37 +10:00
Audric Ackermann
52cb50f063
make lokiPlainFetch return a SnodeResponse object 2020-07-27 10:59:29 +10:00
Audric Ackermann
38724d0992
filter convos to block sync by getting list from BlockedNumberController 2020-07-27 08:57:44 +10:00
Maxim Shishmarev
f1bc0ffc27 Fix export for file onions 2020-07-24 17:29:43 +10:00
Audric Ackermann
401c37c39e
make standardized menu, use them in ConversationHeader
and ConversationListItem
2020-07-24 16:40:44 +10:00
Audric Ackermann
394030b711
remove getDefaultTTL and use Constants values instead 2020-07-24 15:37:28 +10:00
Audric Ackermann
48edd431da
use constants rather than string for ttl 2020-07-24 15:29:33 +10:00
Audric Ackermann
467f96acac
substract 1 hour for control of ttl message so PN can ignore them 2020-07-24 14:48:56 +10:00
Vincent
d7de09e475 linter-fixes 2020-07-24 11:36:14 +10:00
Audric Ackermann
ce6263dc21
share ContextMenu item tests for ConversationListeItem and ConversationHeader 2020-07-24 11:24:37 +10:00
Audric Ackermann
8105f0647a
make a few unit tests quicker by polling more aggressively on results 2020-07-23 16:49:53 +10:00
Audric Ackermann
cd516aab64
lint 2020-07-23 16:29:19 +10:00
Audric Ackermann
ffbba2480f
hide blocking option from UI for blocking groups 2020-07-23 16:16:52 +10:00
Audric Ackermann
3e23039adb
do not sync blocked closed group as mobile is not ready yet 2020-07-23 16:15:34 +10:00
Maxim Shishmarev
cc43555cd2 Merge branch 'clearnet' into medium-group-fixes 2020-07-23 15:39:46 +10:00
Audric Ackermann
d2a4757061
trigger and handle blocked contacts/groups as a list on block/unblock 2020-07-23 10:53:24 +10:00
Vincent
2603401207 sleek-emoji-rendering 2020-07-23 09:58:46 +10:00
Maxim Shishmarev
87144336b7 Large refactor of medium groups. Fixes them for multidevice 2020-07-22 17:41:21 +10:00
Vincent
7d4383301d emoji-definition-reversion 2020-07-22 14:57:45 +10:00
Vincent
5165bfdba4 jsx-emoji-overlay 2020-07-22 14:03:24 +10:00
Vincent
9f1cef9844 emoji-rendering 2020-07-21 17:37:34 +10:00
Vincent
bf32cd3ae6 fixed up 2020-07-21 16:46:01 +10:00
Vincent
704d5a1184 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into refactor-ts-react 2020-07-21 16:30:35 +10:00
Vincent
efd5b20a6e Super fast message receiving 2020-07-21 16:22:53 +10:00
Vincent
28a0d82ea2 Updating message recieving 2020-07-21 14:43:46 +10:00
Vincent
d823e2a758 safety-number-view 2020-07-20 17:46:13 +10:00
Maxim Shishmarev
8f0d59f9b8 Fix not shuffling nodes requested for pubkey 2020-07-20 12:31:56 +10:00
Audric Ackermann
ae6db8640a
Merge pull request #1273 from Bilb/fix-showing-secondary-conversation-sync 2020-07-20 11:36:57 +10:00
Vincent
134df7e389 Temporarily remove sending progress 2020-07-20 09:55:18 +10:00
Audric Ackermann
dd3080d9fe
mark conversation as secondary on message synced when needed 2020-07-20 09:46:05 +10:00
Vincent
79e821e342 dropZone inti 2020-07-17 16:38:51 +10:00
Vincent
707200718d Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into refactor-ts-react 2020-07-17 16:37:05 +10:00
Vincent
5ed6a9dda9 reorganise-dropin 2020-07-17 15:44:44 +10:00
Vincent
5b69f19410 compositionbox 2020-07-17 13:46:46 +10:00
Vincent
35218ec2d1 merged-w-clearnet 2020-07-17 12:07:06 +10:00
Vincent
3591001ef1 audio component ui 2020-07-16 18:22:09 +10:00
Vincent
c26e20d33f css-loader 2020-07-16 16:39:35 +10:00