Commit graph

3207 commits

Author SHA1 Message Date
Audric Ackermann
61277a5397
fix replying to message focus composition box
Relates #1808
2021-07-30 08:55:46 +10:00
Audric Ackermann
99f862dd0f
fix send link preview keep being shown
Relates #1810
2021-07-30 08:51:37 +10:00
Audric Ackermann
119b6e1baf
keep scrolled position when adding messages at the bottom 2021-07-29 17:27:29 +10:00
Brice-W
47e2f5726e fix group key pair cache issue 2021-07-29 16:59:29 +10:00
Audric Ackermann
06dfaa2482
always retry all emcyrption keypairs on incoming group msg 2021-07-29 16:31:35 +10:00
Audric Ackermann
12d09bc896
preload messages when switching conversation 2021-07-29 15:29:32 +10:00
Audric Ackermann
e5bbfc8c1e
transparency disabled if png and text are present 2021-07-29 14:01:43 +10:00
Audric Ackermann
f9ecfccc0a
batch UI updates of message added events 2021-07-29 13:44:38 +10:00
Audric Ackermann
506a0b2927
fix profileKey share in config message for base64 profileKey 2021-07-29 13:42:36 +10:00
Audric Ackermann
8b88eca050
Merge pull request #1799 from Brice-W/oxen-logo
Oxen logo in the Settings
2021-07-29 09:30:17 +10:00
Warrick Corfe-Tan
2e5ffc3196 wip delete all network message. 2021-07-28 17:10:46 +10:00
Brice-W
3995dbdeee oxen icon svg added 2021-07-28 16:45:46 +10:00
Brice-W
0d5e52678f add link to Oxen website in the settings (right icon missing) 2021-07-28 15:19:07 +10:00
Audric Ackermann
d236ef9cde
Merge pull request #1796 from Bilb/fix-profile-name-update-without-profile-key
fix a bug not making profile name updates in opengroup
2021-07-28 07:00:12 +02:00
audric
8414aa800d fix a bug not making profile name updates in opengroup 2021-07-28 14:46:13 +10:00
Audric Ackermann
2a371d3c57
Merge pull request #1794 from Bilb/fix-profile-key-config-message
Fix profile key config message
2021-07-27 09:29:38 +02:00
audric
316f37ae3d fix a bug of attachment not loading in one to one chats 2021-07-27 17:06:11 +10:00
audric
fce86989f0 make sure profileKey is a hex string in all convos 2021-07-27 16:41:15 +10:00
Audric Ackermann
77a6be3432
Merge pull request #1793 from Brice-W/group-edition-fix
Fix for name change and adding members in groups
2021-07-27 06:27:33 +02:00
Brice-W
eb3851592c lint 2021-07-27 14:02:22 +10:00
Brice-W
a6aed4d7d1 fix isAdmin to return the right value for closed groups 2021-07-27 13:54:38 +10:00
audric
9f62d6577c remove unused accessKey derived from profileKey 2021-07-27 13:19:48 +10:00
Brice-W
bfa68fc9b5 add isGroup test 2021-07-27 12:05:49 +10:00
Brice-W
b89f55dd02 update displayed buttons on groups 2021-07-27 12:01:11 +10:00
audric
5b487b0fec Merge remote-tracking branch 'upstream/clearnet' into disable-search-for-now 2021-07-27 11:25:14 +10:00
audric
4b8778d071 fix markRead using timestamp of now when scroll to bottom 2021-07-27 11:16:23 +10:00
Brice-W
9c61defc0b small update 2021-07-27 10:33:35 +10:00
audric
1054278a54 disable search in messages for now 2021-07-27 10:29:18 +10:00
Brice-W
e31b219bd4 fix 2021-07-26 15:46:36 +10:00
Brice-W
54a2eef700 change the way skipTimerInit is defined in MessageModel 2021-07-26 15:11:20 +10:00
Brice-W
bec9bd553e Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into filter-expired-messages 2021-07-26 12:19:20 +10:00
audric
dbf6a0183f remove unread top banner on scroll to bottom 2021-07-26 11:30:53 +10:00
Brice-W
751d0b9348 clearTimout call added to checkExpired to avoid multiple calls to setExpired 2021-07-26 11:12:42 +10:00
Brice-W
d7eafb7e15 rollback changes 2021-07-26 10:49:35 +10:00
Brice-W
72868c10e5 clean 2021-07-26 10:47:10 +10:00
Brice-W
beca14982c manage expired nessage deletion in setExpired 2021-07-26 10:43:12 +10:00
audric
e82d51fff0 do not show warning about link preview if they are already ON 2021-07-23 15:21:51 +10:00
audric
e69873d6ba fix link preview url onClick
Fixes https://github.com/oxen-io/session-android/issues/669
2021-07-23 15:16:51 +10:00
audric
59baa08f73 Merge remote-tracking branch 'upstream/clearnet' into perf-improv 2021-07-23 10:42:02 +10:00
audric
a814937c08 disable test for attachemnt read/write
as they are too much linked to the window object for now
2021-07-22 17:20:52 +10:00
Audric Ackermann
5d1d21f715
Merge pull request #1788 from warrickct/send-seed-confirmation
Send seed confirmation
2021-07-22 16:50:28 +10:00
Audric Ackermann
ece7f3e184
Merge pull request #1785 from warrickct/close-modals-easier
Close modals easier
2021-07-22 16:48:02 +10:00
audric
bfc4b2b720 lint 2021-07-22 16:34:17 +10:00
audric
588ae85cda fix at lat types for attachment 2021-07-22 16:13:22 +10:00
Brice-W
6bbabce8e3 fix async issue 2021-07-22 15:21:52 +10:00
audric
12ff3379e1 add key for all messages list so we can scroll to them programnatically 2021-07-22 15:04:46 +10:00
Brice-W
e5615357f7 call setToExpire when expire timer is started to set expire_at property of message 2021-07-22 14:58:00 +10:00
audric
8766cf3f8a store offset before refresh of messagesList and restore it 2021-07-22 14:40:35 +10:00
audric
c8f0150aaf fix unread banner position when first unread is visible 2021-07-22 12:30:01 +10:00
audric
c2b5ac68d6 don't rely on scrollheight to calculate for ui Updates
as it causes a layout complete refresh
2021-07-22 10:20:09 +10:00
audric
e72885944b use selector to sort and add first of serie flag 2021-07-21 17:14:14 +10:00
audric
6d34a60f94 improve performance by not loading all unread messages 2021-07-21 13:40:21 +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
4f5072ee65 Merge remote-tracking branch 'upstream/clearnet' into perf-improv 2021-07-21 09:47:10 +10:00
audric
b7df0788c2 move mentions state to the ConversationState 2021-07-20 17:14:04 +10:00
Brice-W
18f15615d4 don't render messages that are already expired 2021-07-20 17:09:17 +10:00
audric
23e9a6d31c move some actions to redux in hooks 2021-07-20 16:58:51 +10:00
Warrick Corfe-Tan
ca4dec9fda linting, formatting, testing 2021-07-20 15:23:48 +10:00
Audric Ackermann
6df84fbd1e
Merge pull request #1778 from Brice-W/focus-issue
Fix for focus issue
2021-07-20 15:20:09 +10:00
Warrick Corfe-Tan
28924a63bb removing some unusued imports. 2021-07-20 15:03:30 +10:00
Warrick Corfe-Tan
3fca7ef4de remove unused imports. 2021-07-20 14:47:57 +10:00
Warrick Corfe-Tan
973df5d245 clicking outside of confirmation modal body closes confirmation modal. 2021-07-20 14:46:19 +10:00
Warrick Corfe-Tan
4cdc852ea3 cherry-pick conflicts. 2021-07-20 10:55:13 +10:00
Brice-W
829fd1c199 menu fixes 2021-07-19 10:23:20 +10:00
Brice-W
e9f70d8c82 fix issue 2021-07-19 09:31:24 +10:00
Brice-W
9a420f85ce fixes 2021-07-16 16:20:34 +10:00
Brice-W
74147d8c3d Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into focus-issue 2021-07-16 15:53:46 +10:00
Brice-W
4f98917eaf clean 2021-07-16 13:49:32 +10:00
Brice-W
1397107dff fix issues 2021-07-16 13:48:08 +10:00
Brice-W
db46c2960b update in marking read message 2021-07-16 13:32:58 +10:00
Audric Ackermann
3c0ea2b900
Merge pull request #1781 from Bilb/fix-link-device
fix link device. start polling for our pubkey
2021-07-16 10:50:54 +10:00
audric
41c2ce67a7 fix link device. start polling for our pubkey 2021-07-16 10:33:06 +10:00
Audric Ackermann
0e4d7ec21a
WIP 2021-07-16 09:34:32 +10:00
Brice-W
c38d2a5ea7 revert prev changes + marking read now based on received_at 2021-07-15 16:48:54 +10:00
Audric Ackermann
a54345a42e
put back quote a message logic with hook 2021-07-14 16:36:55 +10:00
Audric Ackermann
9a380b716b
put saveAttachemntToDisk outside of component 2021-07-14 15:57:03 +10:00
Audric Ackermann
5c8bb358c6
mmeoise callbacks for right panel attachments 2021-07-14 14:39:19 +10:00
Audric Ackermann
511adcf388
refactored right panel to hook 2021-07-14 13:56:13 +10:00
Audric Ackermann
4ca5a4f093
fixup selected message in redux logic 2021-07-14 11:48:57 +10:00
Audric Ackermann
787e3a32d0
remove count of unread in unread message banner 2021-07-14 11:30:02 +10:00
Audric Ackermann
16d34a7137
moved conversations reducer to createSlice 2021-07-14 10:53:03 +10:00
Audric Ackermann
63b81b4c8e
cleanup SessionMessageList p1 2021-07-13 17:00:20 +10:00
Brice-W
46dc6c6275 pin conversations added to header menu 2021-07-13 15:38:59 +10:00
Brice-W
5d7d58fe05 move NotificationForConvoOption declaration + getConversationNotificationSettingType created as used twice 2021-07-13 15:34:56 +10:00
Brice-W
adab2b4506 add Notifications in conversations context menu 2021-07-13 15:14:43 +10:00
Audric Ackermann
399041c5b3
cache identity pair and add some per measure 2021-07-13 14:19:06 +10:00
Brice-W
14ef4cd39a adding lastReadTimestamp property 2021-07-13 13:08:46 +10:00
Audric Ackermann
4ec1392aec
do local attachments decrypt/encrypt in worker 2021-07-13 11:50:11 +10:00
Audric Ackermann
e8f0c4aaec
move libloki to webworker and remove unused stuff in it 2021-07-13 11:16:59 +10:00
Brice-W
151fc758c0 format 2021-07-12 16:44:31 +10:00
Audric Ackermann
1b2a644e7a
fixed crash on leftpaneContactSection 2021-07-12 16:08:35 +10:00
Audric Ackermann
3e27a397d7
bump version of node-sass 2021-07-12 15:49:51 +10:00
Audric Ackermann
78caaa2bfd
fix tests 2021-07-12 15:22:06 +10:00
Audric Ackermann
c1ffe23b1e
moved verifySignature of opengroup messages to a worker 2021-07-12 15:15:40 +10:00
Brice-W
c98fdec10e adding new files 2021-07-12 15:03:30 +10:00
Brice-W
2af9d9e15d use of a custom hook to detect focus 2021-07-12 14:35:43 +10:00
Audric Ackermann
5b0b165ba9
Merge remote-tracking branch 'upstream/clearnet' into perf-improv 2021-07-12 13:01:23 +10:00
Audric Ackermann
3ae1ac6118
remove unused libsignal stuff 2021-07-12 10:38:03 +10:00
Audric Ackermann
8760a59875
nodefetch headers as on mobile + cleanup worker code 2021-07-09 15:31:10 +10:00
Audric Ackermann
aead3d6510
force headers to be empty for onion_req request 2021-07-09 14:20:48 +10:00
Audric Ackermann
32cb19125f
remove signalprotocoladress unused 2021-07-09 14:00:28 +10:00
Audric Ackermann
9a302fb5ff
add a cache of the keypairs for a closed group 2021-07-09 11:45:26 +10:00
Audric Ackermann
7cc7db5d4a
batch conversaiton UI refreshes 2021-07-08 17:21:27 +10:00
Audric Ackermann
f0fad6edfa
uniformized props for Message 2021-07-08 16:43:32 +10:00
Audric Ackermann
ee4a0b9b1e
cleanedup redux action openConversationExternal 2021-07-08 16:12:58 +10:00
Audric Ackermann
7f76ab274c
added a hook to fetch avatar of closed group members 2021-07-08 16:11:43 +10:00
Brice-W
936f9a3efc don't mark message as read if app isn't focused 2021-07-08 15:03:27 +10:00
Audric Ackermann
016461f506
mark message as read on click on scroll to bottom button 2021-07-08 13:30:09 +10:00
Audric Ackermann
b385a9b101
test with better-sqlite3 bindings 2021-07-08 13:00:20 +10:00
Audric Ackermann
bf76abacee
Merge pull request #1770 from Brice-W/pin-conversations
Pin conversations
2021-07-07 14:03:01 +10:00
Brice-W
5252dd40e3 fixes 2021-07-07 13:43:33 +10:00
Brice-W
f1e4cbaabf clean 2021-07-07 11:16:12 +10:00
Audric Ackermann
4fbb0d48f2
remove index as key 2021-07-07 10:40:02 +10:00
Brice-W
14cecb1216 menu item creation moved to getPinConversationMenuItem 2021-07-07 10:37:35 +10:00
Brice-W
ff7f201e04 add feature flag 2021-07-07 10:19:35 +10:00
Brice-W
03891a9438 revert last commit 2021-07-07 09:29:04 +10:00
Brice-W
21b8b9f35b memory optimization 2021-07-06 17:21:43 +10:00
Brice-W
c3bf2a4e96 fixes and tests 2021-07-06 17:16:05 +10:00
Audric Ackermann
97b9156562
improve performamce by memoizing avatar and menus 2021-07-06 17:14:00 +10:00
Brice-W
b2deeb39be clean 2021-07-06 15:05:04 +10:00
Brice-W
75a20e5de7 simplification by using derived data 2021-07-06 15:02:29 +10:00
Audric Ackermann
87a8385629
move timerOptions to redux 2021-07-06 14:40:45 +10:00
Audric Ackermann
e451cdd78f
rename message props to messageProps 2021-07-06 14:22:22 +10:00
Audric Ackermann
c8aa73626e
do not load right panel data unless it is visibl 2021-07-06 14:02:47 +10:00
Brice-W
e3aa500ba0 i18n labels for pin conversations limit 2021-07-06 14:01:29 +10:00
Brice-W
4ddc00c9b6 set a limit numer to pinned conversations 2021-07-06 13:34:39 +10:00
Audric Ackermann
f0db797a9a
fix loading of messages props 2021-07-05 17:09:17 +10:00
Audric Ackermann
3f0088ed2a
fix memory leak on avatar place holder useEffect 2021-07-05 15:55:04 +10:00
Audric Ackermann
672eb91975
add types for message props and remove props function calls msg 2021-07-05 15:54:35 +10:00
Audric Ackermann
6deb97dbc0
WIP 2021-07-05 11:23:47 +10:00
Audric Ackermann
a0afd3efe4
add some performance measure for commit calls 2021-07-05 10:30:33 +10:00
Audric Ackermann
ca331b95a6
remove coverage unused 2021-07-05 10:26:40 +10:00
Brice-W
dcd8da87ca fix errors 2021-07-02 14:59:09 +10:00
Brice-W
6b8a4ffc6c display link preview popup only time 2021-07-02 14:35:28 +10:00
Audric Ackermann
6ca466cc22
fix about window localized string 2021-07-02 11:58:43 +10:00
Audric Ackermann
ef0b07bb7a
WIP 2021-07-01 14:39:13 +10:00
Warrick Corfe-Tan
4decda9cff Merge branch 'clearnet' into pin-conversations 2021-06-30 15:39:30 +10:00
Warrick Corfe-Tan
535a66b879 minor tidying 2021-06-30 15:36:19 +10:00
Warrick Corfe-Tan
cf6ac09300 Refactor to functional components 2021-06-30 15:19:37 +10:00
Audric Ackermann
e5a60af93f
Merge pull request #1751 from Bilb/fix-expire-without-seeing
do not start expire timer before seing message
2021-06-30 15:09:44 +10:00
Audric Ackermann
e9714f8db8
Merge pull request #1734 from Bilb/fix-clear-all-data
add loading for leaving opengroup dialog
2021-06-30 15:09:23 +10:00
Audric Ackermann
a0811b699c
Merge pull request #1744 from Bilb/use-retrieve-status-for-isOnline
use our retrieve status as isOnline status
2021-06-30 15:08:49 +10:00
audric
9cb69cf8fd do not start expire timer before seing message 2021-06-30 15:02:22 +10:00
Warrick Corfe-Tan
563dff64ae yarn linting and formatting, 2021-06-30 13:12:25 +10:00
Warrick Corfe-Tan
36cf05db1b Switched conversation pin state. 2021-06-30 13:09:09 +10:00
Audric Ackermann
52293d6787
fix trust do not trigger redownload of already dl medias 2021-06-29 16:37:49 +10:00
Warrick Corfe-Tan
08db057ad9 Merge branch 'clearnet' into pin-conversations 2021-06-29 16:27:22 +10:00
Warrick Corfe-Tan
49415e3bf0 Yarn formatting and linting. 2021-06-29 16:21:45 +10:00
Warrick Corfe-Tan
264f97663e Persisting conversation pin statuses. 2021-06-29 15:57:37 +10:00
Audric Ackermann
447f862ace
add some static glowing to the actionpanel light 2021-06-29 15:23:48 +10:00
Audric Ackermann
504a9afc0a
fix up handling of clock out of sync 2021-06-29 14:55:59 +10:00
Audric Ackermann
e85f69a144
use our retrieve status as isOnline status 2021-06-29 13:59:41 +10:00
Warrick Corfe-Tan
60b3032833 Exclude showing pin icon and menu item for contacts list. 2021-06-29 13:14:35 +10:00
Audric Ackermann
19555b99a0
Merge pull request #1723 from Bilb/poll-less-often-group-not-active
Poll less often group not active
2021-06-29 11:48:42 +10:00
Audric Ackermann
50d4481672
fix symbols allowed for password + update tests 2021-06-29 11:21:03 +10:00
Warrick Corfe-Tan
6dd7f34e4d Pin conversations WIP. Pinning functioning and persisting on conversation list. 2021-06-29 10:52:55 +10:00
Audric Ackermann
10702088e2
allow sending messages even if our app is expired 2021-06-29 10:39:40 +10:00
Audric Ackermann
bab0a94e0d
make moderator strings add/remove error more explicit 2021-06-29 10:01:04 +10:00
Audric Ackermann
66c86a3cf6
never show pubkey for quoted message author 2021-06-28 16:55:44 +10:00
Audric Ackermann
3424796212
Merge pull request #1735 from Bilb/vertical-line-onion
Vertical line on onion path modal
2021-06-28 15:37:44 +10:00
Audric Ackermann
5e55c2cfab
fix lint 2021-06-28 15:09:14 +10:00
Audric Ackermann
4eb76df60c
fix line on onion path modal 2021-06-28 15:02:02 +10:00
Audric Ackermann
15aa6b5ef9
add loading for leaving opengroup dialog 2021-06-28 13:31:21 +10:00
Warrick Corfe-Tan
00c7c8b969 vertical line wip. 2021-06-28 13:25:20 +10:00
Audric Ackermann
4e8dcefa9a
Merge pull request #1731 from Bilb/fix-clear-all-data
show loading while sending last config message
2021-06-28 11:50:10 +10:00
Audric Ackermann
ce9155a6bf
fix refresh random snode pool after getting new guardNodes 2021-06-28 11:46:35 +10:00
Audric Ackermann
e4dae7f408
show loading while sending last config message 2021-06-28 11:45:44 +10:00
Warrick Corfe-Tan
fe474425ba wip vertical line. 2021-06-28 11:30:22 +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
Audric Ackermann
4a491e6a6a
lint 2021-06-25 15:33:31 +10:00
Audric Ackermann
13bc1a21d9
add test for swarmPolling variable rate 2021-06-25 15:22:26 +10:00
Warrick Corfe-Tan
5b5cea6831 minor formatting and linting changes. 2021-06-25 15:16:37 +10:00
Warrick Corfe-Tan
c04d3cd7d1 minor move function to larger scope 2021-06-25 14:47:42 +10:00
Warrick Corfe-Tan
f2984d0b38 removed comment. 2021-06-25 14:02:04 +10:00
Warrick Corfe-Tan
210ca13271 Merge branch 'clearnet' into audio-messages-play-all 2021-06-25 11:05:50 +10:00
Audric Ackermann
51e5ded36b
auto download attachment in closed group 2021-06-25 10:57:51 +10:00
Audric Ackermann
7ea30b70ca
variable swarm polling based on activeAt timestamp 2021-06-25 10:47:25 +10:00
Warrick Corfe-Tan
184c4d5d3e Audio autoplay stop when sent from a different user. 2021-06-25 10:18:53 +10:00
Warrick Corfe-Tan
281b72cca0 delete unused reducer 2021-06-25 09:47:54 +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
Warrick Corfe-Tan
be11c37a59 Linting and formatting. 2021-06-24 17:06:21 +10:00
Warrick Corfe-Tan
5a62fabd1c Doesn't autoplay new messages once if last message received was an autoplayed. 2021-06-24 16:53:34 +10:00
Audric Ackermann
712f76a53c
Merge remote-tracking branch 'upstream/clearnet' into remove-conversationct-singleton 2021-06-24 16:42:00 +10:00
Audric Ackermann
9e5d33d849
trigger download for past messages when trusting contact 2021-06-24 16:37:37 +10:00
Audric Ackermann
a0b3e1c40f
add a gallery icon and cleanup 2021-06-24 16:22:01 +10:00
Audric Ackermann
802bd169d7
remove opengroupmanager singlteon 2021-06-24 15:35:42 +10:00
Warrick Corfe-Tan
da00ac8d44 Saving userConfig redux slice to local storage. 2021-06-24 15:31:20 +10:00
Audric Ackermann
e090b8e8c6
remove getInstance on swarmPolling 2021-06-24 15:28:20 +10:00
Audric Ackermann
e9e718bfcb
remove getInstance on MessageController=> getMessageController 2021-06-24 15:20:47 +10:00
Audric Ackermann
0b410404a3
remove keypair request manager 2021-06-24 15:19:04 +10:00
Audric Ackermann
89a0868fc3
remove getInstance of conversationController to get() 2021-06-24 15:10:38 +10:00
Warrick Corfe-Tan
3bd72df258 linting and formatting. 2021-06-24 14:13:45 +10:00
Warrick Corfe-Tan
397b0d09dc Merge branch 'clearnet' into audio-messages-play-all 2021-06-24 14:01:34 +10:00
Warrick Corfe-Tan
856ced056a Minor tidying. 2021-06-24 14:00:07 +10:00
Warrick Corfe-Tan
d35f3f9e62 WIP: audio autoplay working with consecutive messages. Next step store state on shutdown and rename variables. 2021-06-24 13:43:52 +10:00
Audric Ackermann
7fadfac7dc
fix spinner for onion path loading dialog 2021-06-24 12:59:34 +10:00
Audric Ackermann
d7eb0d5af1
lint 2021-06-24 11:15:44 +10:00
Audric Ackermann
27b4ac283f
render spinner onion path dialog if no path 2021-06-24 11:13:11 +10:00
Audric Ackermann
54f06cca1b
disable editing of open group name 2021-06-24 11:01:03 +10:00
Audric Ackermann
f1ee7589a0
fix session password dialog 2021-06-24 10:50:35 +10:00
Audric Ackermann
151dcd1431 fix up onion path animation with no glowing nodes 2021-06-23 13:19:02 +10:00
Warrick Corfe-Tan
f381102860 WIP: autoplay consecutive messages. Setting state done. 2021-06-22 17:04:57 +10:00
Audric Ackermann
e8020348b4
fix up onion path animation with no glowing nodes 2021-06-22 14:28:46 +10:00
Warrick Corfe-Tan
02713328db removed line. 2021-06-22 11:47:29 +10:00
Warrick Corfe-Tan
fce639bb6c Fix snode return 2021-06-22 11:43:27 +10:00
Audric Ackermann
bfb4c00583
Merge pull request #1709 from Bilb/fix-fetch-snodes-from-db
fix snode fetch from seed if not enough on app start in db
2021-06-22 11:28:36 +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
Audric Ackermann
bc3819aab7
Merge pull request #1708 from warrickct/link-visit-confirmation
Link visit confirmation
2021-06-22 11:26:55 +10:00
Audric Ackermann
156a880472
fix snode fetch from seed if not enough on app start in db 2021-06-22 11:26:30 +10:00
Warrick Corfe-Tan
82d79accdb remove unused import 2021-06-22 09:34:09 +10:00
Warrick Corfe-Tan
877bd34271 Minor formatting 2021-06-22 09:30:12 +10:00
Warrick Corfe-Tan
23c83662e7 Added message entries for message link visit warning. 2021-06-22 09:15:47 +10:00
Warrick Corfe-Tan
a9913d29f7 Link guard working. 2021-06-21 17:09:15 +10:00
Warrick Corfe-Tan
4776c6bd57 Revert "WIP refactoring message component."
This reverts commit ad175fafd7.
2021-06-21 16:37:54 +10:00
Audric Ackermann
09d9db38e8
move taskWithTimeout to typescript 2021-06-21 16:12:51 +10:00
Audric Ackermann
34835ef68f
fix createf instead use useRef for h5 audio player 2021-06-21 15:36:12 +10:00
Audric Ackermann
013df7fa2c
Merge remote-tracking branch 'upstream/clearnet' into fix-onion-path-light-orange 2021-06-21 15:18:47 +10:00
Warrick Corfe-Tan
e2ce6c35ee PR fixes. 2021-06-21 15:07:58 +10:00
Audric Ackermann
788493e856
remove some unused props for messages 2021-06-21 14:46:29 +10:00
Warrick Corfe-Tan
ad175fafd7 WIP refactoring message component. 2021-06-21 14:43:27 +10:00
Audric Ackermann
a659d5b480
fix open group invitation logic 2021-06-21 14:26:28 +10:00
Audric Ackermann
9ed030fac6
fix moderator add/remove 2021-06-21 14:10:06 +10:00
Warrick Corfe-Tan
b92efb9fc6 minor animation tweak 2021-06-21 13:50:47 +10:00
Warrick Corfe-Tan
250db61356 Merge branch 'clearnet' into merge-dialogs 2021-06-21 13:50:37 +10:00
Warrick Corfe-Tan
061cb38300 Linting and formatting changes applied. 2021-06-21 13:36:28 +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
Audric Ackermann
9a08ab68bc
fix onion path status light for orange color 2021-06-21 12:08:51 +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
6c1cac9203
fixup edit profile dialog 2021-06-21 11:42:25 +10:00
Audric Ackermann
b64e8bf610
fix seed dialog and leave group as admin dialog 2021-06-21 10:59:37 +10:00
Warrick Corfe-Tan
43855f9986 animation tweak to onion path status. 2021-06-21 10:25:29 +10:00
Warrick Corfe-Tan
740dedecc7 Switched hook used for checking online status. 2021-06-21 09:44:02 +10:00
Warrick Corfe-Tan
0c5fd6236d lengthen glow animation cycle length. 2021-06-21 09:41:34 +10:00
Audric Ackermann
fa6fcfc829
Merge remote-tracking branch 'w/link-preview-dialog' into merge-dialogs 2021-06-18 16:56:08 +10:00
Audric Ackermann
0d11dab622
fix onion path since moved to redux 2021-06-18 16:49:13 +10:00
Audric Ackermann
651921590c
reduxify remaining dialogs 2021-06-18 16:44:28 +10:00
Warrick Corfe-Tan
6affca034d yarn linting fixes. 2021-06-18 16:36:43 +10:00
Warrick Corfe-Tan
f356c9b843 Yarn formatting. 2021-06-18 16:30:42 +10:00
Warrick Corfe-Tan
15afdbfa7d Link preview confirmation dialog working. 2021-06-18 16:28:24 +10:00
Warrick Corfe-Tan
e27e299f14 minor refactor. 2021-06-18 16:18:51 +10:00
Warrick Corfe-Tan
5c9e4b7c86 Merge branch 'merge-dialogs' into link-preview-dialog 2021-06-18 15:57:26 +10:00
Warrick Corfe-Tan
64545ec7c4 Merge branch 'merge-dialogs' of https://github.com/Bilb/loki-messenger into merge-dialogs 2021-06-18 15:56:46 +10:00
Warrick Corfe-Tan
6393a4ff27 Confirmation box appearing on link paste but no functionality is changed yet. 2021-06-18 15:44:11 +10:00
Warrick Corfe-Tan
4f8e455b38 WIP. Adding confirmation to show link preview on pasting into composition box. 2021-06-18 15:02:55 +10:00
Audric Ackermann
93e43fe929
move conversation dialogs to redux store 2021-06-18 14:31:16 +10:00
Warrick Corfe-Tan
eb2e60b2eb Fixed update-group-name dialog styling. 2021-06-18 11:34:10 +10:00
Warrick Corfe-Tan
24749ddd5a Fixed onion path glow animation. 2021-06-18 10:31:05 +10:00
Audric Ackermann
b4fc19fa78
remove lodash calls left from window 2021-06-17 17:00:59 +10:00
Audric Ackermann
bbbcfd54d6
rename all spacer-* to react component 2021-06-17 16:51:59 +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
eae9321522
Merge pull request #1701 from Bilb/fix-ons-single-char
allow single chars ONS
2021-06-17 09:40:09 +10:00
Audric Ackermann
09799d83c6
allow single chars ONS 2021-06-17 09:23:54 +10:00
Warrick Corfe-Tan
7c82ccb3e9 user details modal refactor functioning. 2021-06-16 16:08:08 +10:00
Warrick Corfe-Tan
e8d06e86b5 Fixed error message always appearing for group rename. 2021-06-16 16:08:08 +10:00
Warrick Corfe-Tan
8c0bec7a97 invite contacts dialog functioning. 2021-06-16 16:07:52 +10:00
Warrick Corfe-Tan
59b02a5ed4 Update group name modal dialog fixes 2021-06-16 16:07:13 +10:00
Warrick Corfe-Tan
9e5824cee1 Update group rename dialog 2021-06-16 16:06:42 +10:00
Warrick Corfe-Tan
b278aa09df add / remove moderator modals refactored. Need to remove old whisper code and files. 2021-06-16 16:06:42 +10:00
Warrick Corfe-Tan
e55cae697d Refactor confirm modal to redux. 2021-06-16 16:04:05 +10:00
Audric Ackermann
dd9341a196
remove i18n from props everywhere where possible 2021-06-16 15:37:02 +10:00
Audric Ackermann
4b9d2c0692
fix tests 2021-06-16 15:36:06 +10:00
Audric Ackermann
e9217168e4
improve 502 handling with guard node in fault in some cases 2021-06-16 14:52:00 +10:00
Audric Ackermann
b09c44c964
remove context in locales 2021-06-16 11:20:31 +10:00
Audric Ackermann
adb9775848
cleanup trasnlation with latest from crowdin 2021-06-16 10:14:09 +10:00
Audric Ackermann
8ef9c8ed1a
remove delivery receipt logic 2021-06-15 10:12:43 +10:00
Audric Ackermann
3f75fa54ad
delete one opengroupv1 message every 10 sec until there is no more 2021-06-11 15:14:52 +10:00
Audric Ackermann
9796f6fd52
limit the number of returned members to the last 300 2021-06-11 13:12:41 +10:00
Audric Ackermann
27fb732f50
cleanup unused prekeys table 2021-06-11 12:09:57 +10:00
Audric Ackermann
9cff53a256
call table names on sql when possible 2021-06-11 12:04:07 +10:00
Audric Ackermann
c5287158c4
merge protobuf attachment and preview types 2021-06-10 12:27:03 +10:00
Audric Ackermann
b403b89224
fix bug with quote empty profileName 2021-06-10 12:26:48 +10:00
Audric Ackermann
3c80869418
improve bad path handling when snode not in path 2021-06-10 11:41:11 +10:00
Audric Ackermann
5bf844241b
fix tests 2021-06-10 10:27:00 +10:00
Audric Ackermann
03fe67b974
remove unused contact field on message 2021-06-10 09:58:30 +10:00
Audric Ackermann
c1225b3a74
made some timestamp required in the protobuf 2021-06-10 09:58:10 +10:00
Audric Ackermann
173b49723b
rename groupInvitation in proto and remove more stuff unused 2021-06-10 09:08:20 +10:00
Audric Ackermann
c090782919
remove UPDATE type of closed group control message 2021-06-10 09:00:54 +10:00
Audric Ackermann
01fd927070
match envelope type with ios protos 2021-06-10 08:55:25 +10:00
Audric Ackermann
37c9c6b5c3
new closed group send and handle expire timer already set 2021-06-09 11:49:19 +10:00
Audric Ackermann
0a208c0d15
store snodes list on db, use them if possible on app start
if not enough snodes or no snodes at all, a request to the seed node is
made instead
2021-06-08 14:35:30 +10:00
Warrick Corfe-Tan
1bfdbc5c93 WIP: Refactoring modals. 2021-06-08 14:04:09 +10:00
Warrick Corfe-Tan
ddda525f63 refactored password change modal. 2021-06-07 20:27:54 +10:00
Audric Ackermann
2e475450ee
fix deduplication using a hash of recent messages 2021-06-07 17:58:27 +10:00
Warrick Corfe-Tan
09f4b703ef seed dialog refactored 2021-06-07 17:42:45 +10:00
Warrick Corfe-Tan
85e83a221d white sapce 2021-06-07 17:15:06 +10:00
Warrick Corfe-Tan
234ec42162 working with styling 2021-06-07 17:12:21 +10:00
Warrick Corfe-Tan
1925f7725f Session confirm modal appearing and deleting account on OK click. 2021-06-07 17:04:13 +10:00
Audric Ackermann
722f240f3d
fix deduplication based on serverTimestamp 2021-06-07 15:54:44 +10:00
Audric Ackermann
bf9a3e6fad
hide settings for mentions_only notif for 1o1 chats 2021-06-07 15:13:05 +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
b2dcb695f8 Fixed modal header styling for onion path dialog. 2021-06-07 11:44:49 +10:00
Audric Ackermann
f9dfe4290a
Merge pull request #1680 from Bilb/fix-readd-clear-zombies
add pn server dev url fallback to v2/lsrpc
2021-06-07 11:02:23 +10:00
Audric Ackermann
6b399e3683
add pn server dev url fallback to v2/lsrpc
the dev pn server is not used in the app, this change is just here to
not have to think of switching this part too when debugging against the
pn dev server
2021-06-07 11:00:38 +10:00
Audric Ackermann
94cdbeaa3a
Merge pull request #1678 from Bilb/fix-readd-clear-zombies
Fix readd clear zombies
2021-06-07 10:41:07 +10:00
Audric Ackermann
f186bdbe39
clear our zombie list if we get readded to a closed group 2021-06-07 09:58:33 +10:00
Audric Ackermann
10b5ff9e0d
fix deleteAuthToken by including it on the request 2021-06-07 09:48:53 +10:00
Warrick Corfe-Tan
de3536081a onion-paths-WIP 2021-06-07 08:36:48 +10:00
Warrick Corfe-Tan
e435b6c932 Making some PR changes. 2021-06-04 17:56:09 +10:00
Warrick Corfe-Tan
ec39f7ae9b Moved edit profile saving into edit profile component file. 2021-06-04 14:48:05 +10:00
Audric Ackermann
623f3da4a2
avoid refreshing mentions too often 2021-06-04 13:38:14 +10:00
Audric Ackermann
ecf409bed5
fix slow app while removing v1 convoss 2021-06-04 12:19:44 +10:00
Audric Ackermann
d44c55b6af
WIP 2021-06-04 10:21:05 +10:00
Audric Ackermann
118813661d
remove inte tests + handle opengroupv2 messages in chunk
this is to avoid freezing UI and is only a temporary fix

We need to have webworkers in this app
2021-06-03 18:27:11 +10:00
Audric Ackermann
f3768a674a
short error on no network for retry sending message 2021-06-03 14:30:58 +10:00
Warrick Corfe-Tan
72d31bf158 Modal header additions. Close and back button. 2021-06-02 19:58:33 +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
94a0748d71
add some logs to opengroup retry 2021-06-02 15:57:38 +10:00
Audric Ackermann
9a9fb7271e
add some logs when fetching a new token opengroupv2 2021-06-02 14:24:20 +10:00
Audric Ackermann
0aefd1b2bf
add handling of old ONS names too 2021-06-02 13:59:48 +10:00
Audric Ackermann
60f40c44c6
make sure the returned ONS session id is a valid sessionID 2021-06-02 12:36:25 +10:00
Audric Ackermann
a8a8372a08
disable ONS input while fetching 2021-06-02 12:31: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
61b04929f0
show a spinner while default rooms are loading 2021-06-01 16:01:59 +10:00
Audric Ackermann
b055165a5d
display a message when the recipient screenshots an attachemnt 2021-06-01 15:46:29 +10:00
Audric Ackermann
810ccdf675
send dataExtractionNotificaionMessage on saving attachment on priv chats 2021-06-01 10:08:16 +10:00
Audric Ackermann
b87faa9291
fix SessionIcon viewbox being out of bounds 2021-05-31 15:40:23 +10:00
Audric Ackermann
d6b7463f5f
remove unused crypto marking us as coinminer
hopefully
2021-05-31 14:26:50 +10:00
Audric Ackermann
70e72cb92d
fix compile errors with SessionIcon 2021-05-31 14:11:20 +10:00
Audric Ackermann
718f6dea9f
Merge remote-tracking branch 'upstream/master' into remove-fsv1-sogsv1 2021-05-31 13:48:20 +10:00
Audric Ackermann
8a2efb83ec
Merge branch 'clearnet' into remove-fsv1-sogsv1 2021-05-31 13:46:19 +10:00
Audric Ackermann
0192f295f2
move the user fetch for mentions to redux 2021-05-31 13:44:13 +10:00
Audric Ackermann
c8878f0a19
remove existing opengroups v1 from db along with every messages 2021-05-31 13:08:26 +10:00
Audric Ackermann
744be229b7
move the PN server notify() to not use dot_net_api 2021-05-31 12:16:48 +10:00
Audric Ackermann
6f8c8ee1b3
remove most of sogsv1 and fsv1 and update version fetch url
version fetch is used to know when we have a new update
2021-05-31 11:22:37 +10:00
Audric Ackermann
c9614cea9e
Merge pull request #1667 from Bilb/fix-attachment-name-sending
do not overwrite attachment name on sending side
2021-05-27 15:12:03 +10:00
Audric Ackermann
3456162402
Moved opengroupv1 test to opengroupv2 tests 2021-05-27 14:51:56 +10:00
Audric Ackermann
81553aed57
do not overwrite attachment name on sending side
Relates #1593
2021-05-27 14:41:57 +10:00
Audric Ackermann
cbae5af36a
remove dialog unstable attachment
again
2021-05-27 12:47:08 +10:00
Audric Ackermann
f6ced14054
Merge branch 'clearnet' into accept-keypair-closed-group-existing 2021-05-27 11:05:35 +10:00
Audric Ackermann
b15eeb00cd
fixup duration missing 2021-05-27 11:05:00 +10:00
Audric Ackermann
e40a2692d6
Merge branch 'clearnet' into accept-keypair-closed-group-existing 2021-05-27 10:56:13 +10:00
Audric Ackermann
caf8397d29
Merge pull request #1652 from Bilb/fetch-x-messages-long-away
Fetch last messages only when long away from room
2021-05-27 10:39:39 +10:00
Audric Ackermann
9c568caf1f
fix replying to audio message crash
Fixes #1657
2021-05-26 15:47:02 +10:00
Audric Ackermann
9c8f935e03
fix up dirty hack to display mentions correctly
Fixes #1658
2021-05-26 15:41:49 +10:00
Audric Ackermann
db54cb37b9
hide failing call to deleteAuthToken logs 2021-05-26 15:04:28 +10:00
Audric Ackermann
637e092a00
make sure fileserver v1 is not supported and not used anymore 2021-05-26 14:35:09 +10:00
Audric Ackermann
a2ee3ac98f
Merge remote-tracking branch 'upstream/clearnet' into scoring-system 2021-05-26 14:15:54 +10:00
Audric Ackermann
7d73f9a593
drop support for old file server avatar download 2021-05-26 14:14:14 +10:00
Audric Ackermann
88036edd38
add more tests for multi errors onion rebuild 2021-05-26 13:47:53 +10:00
Warrick Corfe-Tan
98fe0a87d8 WIP making changes to modal. 2021-05-26 10:05:07 +10:00
Warrick Corfe-Tan
22a32283b7 WIP Adding country and styling to modals. 2021-05-26 10:04:26 +10:00
Warrick Corfe-Tan
d7b22e13e1 WIP: Onion path modal using redux state and refactored modals. 2021-05-26 09:58:33 +10:00
Audric Ackermann
05745d7726
add tests to drop snode from path after 3 failure 2021-05-25 17:40:08 +10:00
Audric Ackermann
2e9a34f72b
add tests for handling of OXEN_SERVER_ERRORS 2021-05-25 16:10:00 +10:00
Audric Ackermann
53c9bb1012
add some tests for 421 handling at destination 2021-05-25 15:11:58 +10:00
Audric Ackermann
bfa203f28b
retry posting message to opengroupv2 2021-05-25 13:44:06 +10:00
Audric Ackermann
1afbd2809a
lint 2021-05-25 13:24:33 +10:00
Audric Ackermann
8c726fd745
reupload avatar every 10 days 2021-05-25 13:19:57 +10:00
Audric Ackermann
adb9208491
do not retry Oxen Server Error 2021-05-25 11:06:01 +10:00
Audric Ackermann
558761ba31
Merge pull request #1660 from Bilb/fix-attachment-name
use attachment name when we have one for file saving
2021-05-25 10:30:17 +10:00
Audric Ackermann
1f99f2f71c
use attachment name when we have one for file saving 2021-05-25 10:22:26 +10:00
Audric Ackermann
372119b17b
WIP 2021-05-25 09:53:11 +10:00
Audric Ackermann
a2ea02960e
add some retries for not already retries requests 2021-05-24 16:03:52 +10:00
Warrick
d86e8cd198
Does not display pubkey on message author unless its an open group chat. (#1656) 2021-05-24 15:48:20 +10:00
Audric Ackermann
a24e0ccb32
Merge branch 'master' into clearnet 2021-05-24 14:33:44 +10:00
Audric Ackermann
4f55bb4281
remove unstable attachment for next 48 hours dialog (#1653) 2021-05-24 13:31:26 +10:00
Audric Ackermann
eff4f490f3
do not fetch all messages for room if user was away for > 2 weeks 2021-05-24 13:19:43 +10:00
Audric Ackermann
a777b09165
cleanup tests 2021-05-24 11:43:51 +10:00
Audric Ackermann
f4c3c82e31
Add some test for onion path rebuild handling 2021-05-24 11:17:31 +10:00
Audric Ackermann
81f8870f41
Session V1.6.3 (#1647) 2021-05-20 13:05:13 +10:00
Audric Ackermann
11fbf79ab7
switch to dedicated server (#1646) 2021-05-20 12:06:34 +10:00
Audric Ackermann
5cab7908b4
add some test for partial path rebuilding 2021-05-19 15:54:31 +10:00
Audric Ackermann
4514714d60
WIP 2021-05-19 11:44:30 +10:00
Audric Ackermann
72ddbb7db2
1.6.2 (#1642)
* padd Message buffer for all outgoing messages (even opengroupv2)

* pad and unpad message everywhere

attachment not padded for opengroup only

* lint

* enable fileserver v2 sending side

* removed all en unused local strings

* remove all unused keys for other locales

* update displayname even if we dont have avatar on incoming profile

* redesign group invitation message type

* ask confirmation before joining opengroup invitation

* remove the channelId from groupInvitation

* fallback to envelope timestamp if dataMessage.timestamp is 0

* match group invitation design with ios

* speed up first load of room message by prefetching token

* create convo for members if they don't exist

also, removing a private convo does not remove it entirely as we need
the convo to be able to remove members

* fix avatar download on restore when linking device

Fixes  #1601

* make sure the left member convo exist in rendering GroupUpdate

* Reply attachments (#1591)

* First attachment showing in reply composition.

* WIP: Adding thumbnail to quote response composition component.

* Added icon for voice recording attachment

* Updated formatting.

* Formatting.

* removed duplicate styling.

* WIP: Converting quote component to functional components.

* Fix bug where thumbnails for attachment replies wasn't showing.

* yarn Formatting.

* Removed old quote component.

* Add type to contentTypeSupported method.

* Moved  quote subcomponents out of Quote component.

* yarn format

* Add export to quote subcomponents.

* Fixing linting errors.

* remove commented line.

* Addressing PR comments.

* Allow pasting images into composition box as attachments (#1616)

* Allow pasting images into composition box as attachments

* Fix linter errors

* Fix typo

* Get snode from snode (#1614)

* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo

* Fix fonts sans serif (#1619)

* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo

* fix font sans serif by using roboto instead

Fixes #1617

* 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.

* Fix app image start for non-debian based distribs (#1622)

Fixes #1620

* fixup nickname dialog for enter key pressed event (#1623)

also add some type for it and remove unused props

* 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

* More Japanese translations (#1632)

* Translate some untranslated strings into Japanese

* Tweak some Japanese translations

* Add new Japanese translations

* 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.

* test fixing windows build

* Revert "test fixing windows build"

This reverts commit 8ed2e0891d.

* attachment padding not enforced to be 0x00 (#1640)

* Consider anything padding (#1641)

* Session v1.6.2 (#1639)

* padd Message buffer for all outgoing messages (even opengroupv2)

* pad and unpad message everywhere

attachment not padded for opengroup only

* lint

* enable fileserver v2 sending side

* removed all en unused local strings

* remove all unused keys for other locales

* update displayname even if we dont have avatar on incoming profile

* redesign group invitation message type

* ask confirmation before joining opengroup invitation

* remove the channelId from groupInvitation

* fallback to envelope timestamp if dataMessage.timestamp is 0

* match group invitation design with ios

* speed up first load of room message by prefetching token

* create convo for members if they don't exist

also, removing a private convo does not remove it entirely as we need
the convo to be able to remove members

* fix avatar download on restore when linking device

Fixes  #1601

* make sure the left member convo exist in rendering GroupUpdate

* Reply attachments (#1591)

* First attachment showing in reply composition.

* WIP: Adding thumbnail to quote response composition component.

* Added icon for voice recording attachment

* Updated formatting.

* Formatting.

* removed duplicate styling.

* WIP: Converting quote component to functional components.

* Fix bug where thumbnails for attachment replies wasn't showing.

* yarn Formatting.

* Removed old quote component.

* Add type to contentTypeSupported method.

* Moved  quote subcomponents out of Quote component.

* yarn format

* Add export to quote subcomponents.

* Fixing linting errors.

* remove commented line.

* Addressing PR comments.

* Allow pasting images into composition box as attachments (#1616)

* Allow pasting images into composition box as attachments

* Fix linter errors

* Fix typo

* Get snode from snode (#1614)

* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo

* Fix fonts sans serif (#1619)

* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo

* fix font sans serif by using roboto instead

Fixes #1617

* 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.

* Fix app image start for non-debian based distribs (#1622)

Fixes #1620

* fixup nickname dialog for enter key pressed event (#1623)

also add some type for it and remove unused props

* 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

* More Japanese translations (#1632)

* Translate some untranslated strings into Japanese

* Tweak some Japanese translations

* Add new Japanese translations

* 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.

* test fixing windows build

* Revert "test fixing windows build"

This reverts commit 8ed2e0891d.

Co-authored-by: Warrick <wcor690@aucklanduni.ac.nz>
Co-authored-by: shellhazard <unva1idated@protonmail.com>
Co-authored-by: beantaco <64012487+beantaco@users.noreply.github.com>

* attachment padding not enforced to be 0x00

* add message an attachment padding test

Co-authored-by: Warrick <wcor690@aucklanduni.ac.nz>
Co-authored-by: shellhazard <unva1idated@protonmail.com>
Co-authored-by: beantaco <64012487+beantaco@users.noreply.github.com>

* Consider anything padding (#1643)

* Session v1.6.2 (#1639)

* padd Message buffer for all outgoing messages (even opengroupv2)

* pad and unpad message everywhere

attachment not padded for opengroup only

* lint

* enable fileserver v2 sending side

* removed all en unused local strings

* remove all unused keys for other locales

* update displayname even if we dont have avatar on incoming profile

* redesign group invitation message type

* ask confirmation before joining opengroup invitation

* remove the channelId from groupInvitation

* fallback to envelope timestamp if dataMessage.timestamp is 0

* match group invitation design with ios

* speed up first load of room message by prefetching token

* create convo for members if they don't exist

also, removing a private convo does not remove it entirely as we need
the convo to be able to remove members

* fix avatar download on restore when linking device

Fixes  #1601

* make sure the left member convo exist in rendering GroupUpdate

* Reply attachments (#1591)

* First attachment showing in reply composition.

* WIP: Adding thumbnail to quote response composition component.

* Added icon for voice recording attachment

* Updated formatting.

* Formatting.

* removed duplicate styling.

* WIP: Converting quote component to functional components.

* Fix bug where thumbnails for attachment replies wasn't showing.

* yarn Formatting.

* Removed old quote component.

* Add type to contentTypeSupported method.

* Moved  quote subcomponents out of Quote component.

* yarn format

* Add export to quote subcomponents.

* Fixing linting errors.

* remove commented line.

* Addressing PR comments.

* Allow pasting images into composition box as attachments (#1616)

* Allow pasting images into composition box as attachments

* Fix linter errors

* Fix typo

* Get snode from snode (#1614)

* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo

* Fix fonts sans serif (#1619)

* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo

* fix font sans serif by using roboto instead

Fixes #1617

* 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.

* Fix app image start for non-debian based distribs (#1622)

Fixes #1620

* fixup nickname dialog for enter key pressed event (#1623)

also add some type for it and remove unused props

* 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

* More Japanese translations (#1632)

* Translate some untranslated strings into Japanese

* Tweak some Japanese translations

* Add new Japanese translations

* 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.

* test fixing windows build

* Revert "test fixing windows build"

This reverts commit 8ed2e0891d.

Co-authored-by: Warrick <wcor690@aucklanduni.ac.nz>
Co-authored-by: shellhazard <unva1idated@protonmail.com>
Co-authored-by: beantaco <64012487+beantaco@users.noreply.github.com>

* attachment padding not enforced to be 0x00

* add message an attachment padding test

Co-authored-by: Warrick <wcor690@aucklanduni.ac.nz>
Co-authored-by: shellhazard <unva1idated@protonmail.com>
Co-authored-by: beantaco <64012487+beantaco@users.noreply.github.com>

Co-authored-by: Warrick <wcor690@aucklanduni.ac.nz>
Co-authored-by: shellhazard <unva1idated@protonmail.com>
Co-authored-by: beantaco <64012487+beantaco@users.noreply.github.com>
2021-05-19 10:56:20 +10:00
Audric Ackermann
c2298c4c30
Merge branch 'clearnet' into scoring-system 2021-05-19 10:43:49 +10:00
Audric Ackermann
3393c7dfe4
Consider anything padding (#1641)
* Session v1.6.2 (#1639)

* padd Message buffer for all outgoing messages (even opengroupv2)

* pad and unpad message everywhere

attachment not padded for opengroup only

* lint

* enable fileserver v2 sending side

* removed all en unused local strings

* remove all unused keys for other locales

* update displayname even if we dont have avatar on incoming profile

* redesign group invitation message type

* ask confirmation before joining opengroup invitation

* remove the channelId from groupInvitation

* fallback to envelope timestamp if dataMessage.timestamp is 0

* match group invitation design with ios

* speed up first load of room message by prefetching token

* create convo for members if they don't exist

also, removing a private convo does not remove it entirely as we need
the convo to be able to remove members

* fix avatar download on restore when linking device

Fixes  #1601

* make sure the left member convo exist in rendering GroupUpdate

* Reply attachments (#1591)

* First attachment showing in reply composition.

* WIP: Adding thumbnail to quote response composition component.

* Added icon for voice recording attachment

* Updated formatting.

* Formatting.

* removed duplicate styling.

* WIP: Converting quote component to functional components.

* Fix bug where thumbnails for attachment replies wasn't showing.

* yarn Formatting.

* Removed old quote component.

* Add type to contentTypeSupported method.

* Moved  quote subcomponents out of Quote component.

* yarn format

* Add export to quote subcomponents.

* Fixing linting errors.

* remove commented line.

* Addressing PR comments.

* Allow pasting images into composition box as attachments (#1616)

* Allow pasting images into composition box as attachments

* Fix linter errors

* Fix typo

* Get snode from snode (#1614)

* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo

* Fix fonts sans serif (#1619)

* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo

* fix font sans serif by using roboto instead

Fixes #1617

* 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.

* Fix app image start for non-debian based distribs (#1622)

Fixes #1620

* fixup nickname dialog for enter key pressed event (#1623)

also add some type for it and remove unused props

* 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

* More Japanese translations (#1632)

* Translate some untranslated strings into Japanese

* Tweak some Japanese translations

* Add new Japanese translations

* 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.

* test fixing windows build

* Revert "test fixing windows build"

This reverts commit 8ed2e0891d.

Co-authored-by: Warrick <wcor690@aucklanduni.ac.nz>
Co-authored-by: shellhazard <unva1idated@protonmail.com>
Co-authored-by: beantaco <64012487+beantaco@users.noreply.github.com>

* attachment padding not enforced to be 0x00

* add message an attachment padding test

Co-authored-by: Warrick <wcor690@aucklanduni.ac.nz>
Co-authored-by: shellhazard <unva1idated@protonmail.com>
Co-authored-by: beantaco <64012487+beantaco@users.noreply.github.com>
2021-05-19 10:27:29 +10:00
Audric Ackermann
57192699fa
attachment padding not enforced to be 0x00 (#1640) 2021-05-19 10:04:51 +10:00
Audric Ackermann
ed461b8f18
Session v1.6.2 (#1639)
* padd Message buffer for all outgoing messages (even opengroupv2)

* pad and unpad message everywhere

attachment not padded for opengroup only

* lint

* enable fileserver v2 sending side

* removed all en unused local strings

* remove all unused keys for other locales

* update displayname even if we dont have avatar on incoming profile

* redesign group invitation message type

* ask confirmation before joining opengroup invitation

* remove the channelId from groupInvitation

* fallback to envelope timestamp if dataMessage.timestamp is 0

* match group invitation design with ios

* speed up first load of room message by prefetching token

* create convo for members if they don't exist

also, removing a private convo does not remove it entirely as we need
the convo to be able to remove members

* fix avatar download on restore when linking device

Fixes  #1601

* make sure the left member convo exist in rendering GroupUpdate

* Reply attachments (#1591)

* First attachment showing in reply composition.

* WIP: Adding thumbnail to quote response composition component.

* Added icon for voice recording attachment

* Updated formatting.

* Formatting.

* removed duplicate styling.

* WIP: Converting quote component to functional components.

* Fix bug where thumbnails for attachment replies wasn't showing.

* yarn Formatting.

* Removed old quote component.

* Add type to contentTypeSupported method.

* Moved  quote subcomponents out of Quote component.

* yarn format

* Add export to quote subcomponents.

* Fixing linting errors.

* remove commented line.

* Addressing PR comments.

* Allow pasting images into composition box as attachments (#1616)

* Allow pasting images into composition box as attachments

* Fix linter errors

* Fix typo

* Get snode from snode (#1614)

* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo

* Fix fonts sans serif (#1619)

* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo

* fix font sans serif by using roboto instead

Fixes #1617

* 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.

* Fix app image start for non-debian based distribs (#1622)

Fixes #1620

* fixup nickname dialog for enter key pressed event (#1623)

also add some type for it and remove unused props

* 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

* More Japanese translations (#1632)

* Translate some untranslated strings into Japanese

* Tweak some Japanese translations

* Add new Japanese translations

* 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.

* test fixing windows build

* Revert "test fixing windows build"

This reverts commit 8ed2e0891d.

Co-authored-by: Warrick <wcor690@aucklanduni.ac.nz>
Co-authored-by: shellhazard <unva1idated@protonmail.com>
Co-authored-by: beantaco <64012487+beantaco@users.noreply.github.com>
2021-05-18 16:00:44 +10:00
Audric Ackermann
ed53ab43e6
WIP 2021-05-18 14:22:57 +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
Audric Ackermann
c599d0b629
WIP 2021-05-17 14:39:56 +10:00
Audric Ackermann
a83a2afa4f
scoring system kind of working 2021-05-17 10:07:27 +10:00
Lucas Phang
ffb8331bf9 Add i18n TODO 2021-05-14 17:14:57 +10:00
Lucas Phang
b4ac4db452 Change path node colors depending on status 2021-05-14 17:14:57 +10:00
Lucas Phang
ae393d6344 Display actual IP address on onion path dialog 2021-05-14 17:14:57 +10:00
Lucas Phang
2f3dbb5be4 Rename interface name 2021-05-14 17:14:57 +10:00
Lucas Phang
56bd22fd76 Refactor Onion Path rendering logic 2021-05-14 17:14:56 +10:00
Lucas Phang
244817490a Display Onion Status Indicator 2021-05-14 17:14:56 +10:00
Lucas Phang
dc8c3138d5 Remove lines from dialog 2021-05-14 17:14:56 +10:00
Lucas Phang
07b434ccc8 Add CSS for Nodes and Lines 2021-05-14 17:14:56 +10:00
Lucas Phang
9cfb39bb97 Add button to dialog and css updates 2021-05-14 17:14:56 +10:00
Lucas Phang
dc2f62d5eb Display Onion Path Dialog 2021-05-14 17:14:46 +10:00
Lucas Phang
f1bfd363e5 Add display dialog logic 2021-05-14 17:13:49 +10:00
Lucas Phang
211477f172 Create Onion Status Dialog 2021-05-14 17:11:21 +10:00
Lucas Phang
6047d05dda Color circle icon 2021-05-14 17:11:21 +10:00
Lucas Phang
67bf0f0398 Add Circle SVG 2021-05-14 17:11:21 +10:00
Lucas Phang
f1aad750f2 Add new icon to actions panel 2021-05-14 17:11:21 +10:00
Audric Ackermann
c63d5a4581
rename serviceNodeApi to SNodeApi 2021-05-13 14:52:13 +10:00
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
2021-05-13 13:32:52 +10:00
Audric Ackermann
8cb50ebc91
move onionPath building to outside of index.ts 2021-05-13 13:18:16 +10:00
Audric Ackermann
2f14030194
allow unpadded messages (#1625)
* allow unpadded messages

* bump to v1.6.1

* lint

* Fix app image start for non-debian based distribs

Fixes #1620
2021-05-12 16:40:34 +10:00
Audric Ackermann
3d9fbd9153
fixup nickname dialog for enter key pressed event (#1623)
also add some type for it and remove unused props
2021-05-12 15:55:14 +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
e41d182972
Fix fonts sans serif (#1619)
* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo

* fix font sans serif by using roboto instead

Fixes #1617
2021-05-12 10:35:05 +10:00
Audric Ackermann
58abd08e6d
Get snode from snode (#1614)
* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo
2021-05-12 10:34:53 +10:00
Audric Ackermann
862f8a8e14
accept a closed group NEW encryption keypair even if group exists 2021-05-12 10:15:09 +10:00
shellhazard
442b881438
Allow pasting images into composition box as attachments (#1616)
* Allow pasting images into composition box as attachments

* Fix linter errors

* Fix typo
2021-05-11 17:05:12 +10:00
Warrick
e6128fa5a7
Reply attachments (#1591)
* First attachment showing in reply composition.

* WIP: Adding thumbnail to quote response composition component.

* Added icon for voice recording attachment

* Updated formatting.

* Formatting.

* removed duplicate styling.

* WIP: Converting quote component to functional components.

* Fix bug where thumbnails for attachment replies wasn't showing.

* yarn Formatting.

* Removed old quote component.

* Add type to contentTypeSupported method.

* Moved  quote subcomponents out of Quote component.

* yarn format

* Add export to quote subcomponents.

* Fixing linting errors.

* remove commented line.

* Addressing PR comments.
2021-05-11 17:02:41 +10:00
Audric Ackermann
2e5a27a81c
Merge pull request #1611 from Bilb/fix-remove-member-no-convo
create convo for members if they don't exist
2021-05-10 13:15:46 +10:00
Audric Ackermann
03aa52f8ce
Merge pull request #1613 from Bilb/fix-crash-left-member-convo-does-not-exist
make sure the left member convo exist in rendering GroupUpdate
2021-05-10 13:15:39 +10:00
Audric Ackermann
288d4a6a2e
make sure the left member convo exist in rendering GroupUpdate 2021-05-10 12:01:54 +10:00
Audric Ackermann
531fc5c7ff
fix avatar download on restore when linking device
Fixes  #1601
2021-05-10 11:23:06 +10:00
Audric Ackermann
6591702c08
create convo for members if they don't exist
also, removing a private convo does not remove it entirely as we need
the convo to be able to remove members
2021-05-10 10:31:00 +10:00
Audric Ackermann
77f80c4bc1
Merge pull request #1610 from Bilb/speed-up-room-first-load
speed up first load of room message by prefetching token
2021-05-10 10:28:11 +10:00
Audric Ackermann
1a4cf30d57
speed up first load of room message by prefetching token 2021-05-10 10:09:27 +10:00
Audric Ackermann
642a7457e6
Merge pull request #1608 from Bilb/fix-message-duplication
Fix message duplication
2021-05-07 17:33:05 +10:00
Audric Ackermann
b574fd731d
match group invitation design with ios 2021-05-07 16:52:10 +10:00
Audric Ackermann
e6d78d5830
fallback to envelope timestamp if dataMessage.timestamp is 0 2021-05-07 16:06:51 +10:00
Audric Ackermann
e10a3cd4a9
remove the channelId from groupInvitation 2021-05-07 15:01:15 +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
cbc816c3ed
update displayname even if we dont have avatar on incoming profile 2021-05-07 13:35:08 +10:00
Audric Ackermann
5c594ca2ed
removed all en unused local strings 2021-05-07 13:22:56 +10:00
Audric Ackermann
682508bf3b
enable fileserver v2 sending side 2021-05-07 13:00:23 +10:00
Audric Ackermann
e733f29395
lint 2021-05-07 11:49:45 +10:00
Audric Ackermann
c063848167
pad and unpad message everywhere
attachment not padded for opengroup only
2021-05-07 10:56:14 +10:00
Audric Ackermann
7b96aba1bf
padd Message buffer for all outgoing messages (even opengroupv2) 2021-05-07 10:16:15 +10:00
Audric Ackermann
c77b24a2d4
fix avatar loading for opengroupv2 2021-05-06 17:56:02 +10:00
Audric Ackermann
bc4bee6270
hide some logs 2021-05-06 16:02:47 +10:00
Audric Ackermann
5525312542
syncConf every 7 days and fix link device 2021-05-06 16:00:41 +10:00
Warrick Corfe-Tan
c808c5df32 Merge branch 'clearnet' into password-confirm 2021-05-06 14:49:18 +10:00
Warrick Corfe-Tan
0a6e4bcf87 Merge branch 'clearnet' into password-confirm 2021-05-06 14:44:59 +10:00
Audric Ackermann
2b576de2cd
allow fileserverv2 attachments to be downloaded, upload disabled 2021-05-06 14:02:49 +10:00
Audric Ackermann
64eab5160d
remove zombies from the UI only 2021-05-05 18:14:59 +10:00
Audric Ackermann
2c40d1e623
hide checkmMark on showing group members 2021-05-05 16:40:16 +10:00
Audric Ackermann
c5a4cf674d
remove non explicit group updates support 2021-05-05 16:40:16 +10:00
Audric Ackermann
64ad399daf
close overlay on clicking Next on new conversation 2021-05-05 16:40:16 +10:00
Audric Ackermann
fae80c327a
mark convo as ActiveAt when we get a message adding us after left 2021-05-05 16:40:15 +10:00
Audric Ackermann
eb0ddd85f4
add zombies logic for member leaving and removing 2021-05-05 16:40:15 +10:00
Audric Ackermann
7ec663df71
move SwarmPolling from window to require singleton 2021-05-05 16:40:14 +10:00
Audric Ackermann
51e95bb16a
fix avatar click for closed group generated avatar 2021-05-05 16:40:14 +10:00
Audric Ackermann
4547afd97f
Poll for preview on room creation 2021-05-04 13:41:42 +10:00
Warrick Corfe-Tan
6079f43cd8 Re-applied formatting fixes. 2021-05-04 12:45:56 +10:00
Warrick Corfe-Tan
56b8dfacc1 Revert "Updated formatting."
This reverts commit 6b40428ad9.
2021-05-04 12:44:24 +10:00
Warrick Corfe-Tan
6b40428ad9 Updated formatting. 2021-05-04 12:42:46 +10:00
Audric Ackermann
66d5fd93e2
Merge branch 'master' into open-group-v2 2021-05-04 12:34:07 +10:00
Audric Ackermann
32f7c1df9d
fix windows build 2021-05-04 11:33:47 +10:00
Audric Ackermann
930c4d5b81
fix windows build 2021-05-04 11:31:18 +10:00
Warrick Corfe-Tan
7ec90d55e9 Password confirmation field appearing and preventing submission of mismatching passwords. 2021-05-03 22:23:53 +10:00
Audric Ackermann
14234032eb
WIP 2021-05-03 14:49:24 +10:00
Audric Ackermann
3aa9ca785f
fix leave opengroup button right panel, and add memberCount 2021-05-03 10:40:43 +10:00
Audric Ackermann
127b7d41fa
fix update of avatar image for opengroupv2 2021-05-03 10:06:35 +10:00
Audric Ackermann
5c4f544b1a
Do not rebuild onion path everyday 2021-04-30 16:12:36 +10:00
Audric Ackermann
bdcdca206b
write attachment path with absolute attachment to disk for opengroupv2 2021-04-30 15:48:12 +10:00
Audric Ackermann
87c3fa0c55
refresh snode list and rebuild onion path once in a day 2021-04-30 15:15:59 +10:00
Audric Ackermann
9bf3cb1880
cleanup actionPanel 2021-04-30 13:26:33 +10:00