Commit graph

1023 commits

Author SHA1 Message Date
Audric Ackermann
119b6e1baf
keep scrolled position when adding messages at the bottom 2021-07-29 17:27:29 +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
Warrick Corfe-Tan
2e5ffc3196 wip delete all network message. 2021-07-28 17:10:46 +10: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
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
bfc4b2b720 lint 2021-07-22 16:34:17 +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
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
Audric Ackermann
399041c5b3
cache identity pair and add some per measure 2021-07-13 14:19:06 +10:00
Audric Ackermann
e8f0c4aaec
move libloki to webworker and remove unused stuff in it 2021-07-13 11:16:59 +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
9a302fb5ff
add a cache of the keypairs for a closed group 2021-07-09 11:45:26 +10:00
Audric Ackermann
7f76ab274c
added a hook to fetch avatar of closed group members 2021-07-08 16:11:43 +10:00
Audric Ackermann
b385a9b101
test with better-sqlite3 bindings 2021-07-08 13:00:20 +10:00
Audric Ackermann
97b9156562
improve performamce by memoizing avatar and menus 2021-07-06 17:14:00 +10:00
Audric Ackermann
c8aa73626e
do not load right panel data unless it is visibl 2021-07-06 14:02: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
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
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
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
bab0a94e0d
make moderator strings add/remove error more explicit 2021-06-29 10:01:04 +10:00
Audric Ackermann
ce9155a6bf
fix refresh random snode pool after getting new guardNodes 2021-06-28 11:46:35 +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
Audric Ackermann
7ea30b70ca
variable swarm polling based on activeAt timestamp 2021-06-25 10:47:25 +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
802bd169d7
remove opengroupmanager singlteon 2021-06-24 15:35:42 +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
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
156a880472
fix snode fetch from seed if not enough on app start in db 2021-06-22 11:26:30 +10:00
Audric Ackermann
09d9db38e8
move taskWithTimeout to typescript 2021-06-21 16:12:51 +10:00
Audric Ackermann
a659d5b480
fix open group invitation logic 2021-06-21 14:26:28 +10:00
Audric Ackermann
9a08ab68bc
fix onion path status light for orange color 2021-06-21 12:08:51 +10:00
Audric Ackermann
93e43fe929
move conversation dialogs to redux store 2021-06-18 14:31:16 +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
Audric Ackermann
dd9341a196
remove i18n from props everywhere where possible 2021-06-16 15:37:02 +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
8ef9c8ed1a
remove delivery receipt logic 2021-06-15 10:12:43 +10:00
Warrick Corfe-Tan
eb964f8aeb removed intentional COG invite fail. 2021-06-14 18:42:16 +10:00
Warrick Corfe-Tan
ee7afb6ebf WIP: refacotring. confirm modals mostly done. Working on add moderator modal now. Need to toggle via setModal. 2021-06-11 17:02:02 +10:00
Audric Ackermann
27fb732f50
cleanup unused prekeys table 2021-06-11 12:09:57 +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
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
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
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
10b5ff9e0d
fix deleteAuthToken by including it on the request 2021-06-07 09:48:53 +10:00
Warrick Corfe-Tan
e435b6c932 Making some PR changes. 2021-06-04 17:56:09 +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
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
0aefd1b2bf
add handling of old ONS names too 2021-06-02 13:59:48 +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
810ccdf675
send dataExtractionNotificaionMessage on saving attachment on priv chats 2021-06-01 10:08:16 +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
3456162402
Moved opengroupv1 test to opengroupv2 tests 2021-05-27 14:51:56 +10:00
Audric Ackermann
b15eeb00cd
fixup duration missing 2021-05-27 11:05:00 +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
88036edd38
add more tests for multi errors onion rebuild 2021-05-26 13:47:53 +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
adb9208491
do not retry Oxen Server Error 2021-05-25 11:06:01 +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
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
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
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
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
ae393d6344 Display actual IP address on onion path dialog 2021-05-14 17:14:57 +10:00
Lucas Phang
244817490a Display Onion Status Indicator 2021-05-14 17:14:56 +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
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
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
e10a3cd4a9
remove the channelId from groupInvitation 2021-05-07 15:01:15 +10:00
Audric Ackermann
248494f15b
redesign group invitation message type 2021-05-07 14:49:38 +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
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
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
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
4547afd97f
Poll for preview on room creation 2021-05-04 13:41:42 +10:00
Audric Ackermann
66d5fd93e2
Merge branch 'master' into open-group-v2 2021-05-04 12:34:07 +10:00
Audric Ackermann
3aa9ca785f
fix leave opengroup button right panel, and add memberCount 2021-05-03 10:40:43 +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
ad26e50de1
fix attachment upload for opengroupv1 and old file server 2021-04-30 11:37:28 +10:00
Audric Ackermann
710c9fa269
fix http request over onion 2021-04-30 11:12:44 +10:00
Audric Ackermann
cca4de710b
remove featureFlag onion v2 => if onion enabled it is v2 2021-04-29 14:44:16 +10:00
Audric Ackermann
5289d4c2aa
add joinable rooms on opengroupv2 joining screen 2021-04-29 10:43:14 +10:00
Audric Ackermann
0c0da48150
remove pow 2021-04-28 15:24:45 +10:00
Audric Ackermann
8444c7cbfc
increase to ttl of 14 days for everything except TypingMessages 2021-04-28 15:18:11 +10:00
Audric Ackermann
a26c5da6cb
Uniformize once and for all the conversation types
no more 'direct'. those are private convos
2021-04-28 14:20:22 +10:00
Audric Ackermann
e274313f23
add and remove Moderatos opengroupv2 (not yet working server side) 2021-04-28 11:49:41 +10:00
Audric Ackermann
98b69c17f0
add userblocking opengroupv2 and quoting back of messages 2021-04-27 16:56:34 +10:00
Audric Ackermann
5916ce5cbe
add the ban/unban logic for opengroupv2 2021-04-27 12:06:13 +10:00
Audric Ackermann
4aeec224b4
add download of attachments for opengroupv2 2021-04-27 11:14:07 +10:00
Audric Ackermann
bc938f650e
move AttachmentsDownload to typescript 2021-04-26 16:29:04 +10:00
Audric Ackermann
34148e67ec
add return of url after v2 attachment upload 2021-04-26 16:15:27 +10:00
Audric Ackermann
f7e163c142
add sending of message for opengroupv2` 2021-04-26 11:56:00 +10:00
Audric Ackermann
35d66d8865
fix bug fetching new token every request 2021-04-23 17:05:10 +10:00
Audric Ackermann
40793eb74d
fix leave of opengroupv2 logic 2021-04-23 15:43:49 +10:00
Audric Ackermann
9d825dc2d2
add start of OpenGroup Pollers v2 to start of the app 2021-04-23 14:59:08 +10:00
Audric Ackermann
193fb2a101
move some message interactions logic to another file 2021-04-23 11:08:38 +10:00
Audric Ackermann
9de65c8813
move ConversationController to its own file so we can fetch it easily 2021-04-23 10:12:53 +10:00
Audric Ackermann
f7581cf4eb
increase prettier maxWidth to 100 2021-04-22 18:03:58 +10:00
Audric Ackermann
6896cffd75
Merge branch 'clearnet' into HEAD 2021-04-22 18:02:01 +10:00
Audric Ackermann
27323a12f4
Merge branch 'master' into clearnet 2021-04-22 17:55:35 +10:00
Audric Ackermann
19f3b6014d
add poller for open group v2 2021-04-22 17:00:02 +10:00
Audric Ackermann
897bad2d5e
throw only for breaking stuff on ApiV2 calls 2021-04-22 10:37:55 +10:00
Audric Ackermann
b68338e26c
working get and post request with opengroup api v2 2021-04-21 14:42:59 +10:00
Audric Ackermann
c07271109f
Add a ConversationType OPEN_GROUP 2021-04-20 15:52:19 +10:00
Audric Ackermann
b9586c90ce
working open group v2 getInfo for https only 2021-04-20 14:52:02 +10:00
Ryan Tharp
6a1d0e93a3
Make 502 retry 2021-04-14 19:41:54 -07:00
Audric Ackermann
05987c6e8b
Merge remote-tracking branch 'upstream/master' into allow-unpad-attachments 2021-04-14 14:16:06 +10:00
Audric Ackermann
d98700b17f
allow unpadding of attachments if needed
currently, the padding of attachments is disabled behind  a featureFlags
2021-04-14 14:15:02 +10:00
Audric Ackermann
1a2d148482
add attachment padding 2021-04-14 14:12:22 +10:00
Audric Ackermann
bbe62417e9
Merge branch 'clearnet' into encrypt-local-attachments 2021-04-14 10:48:15 +10:00
Audric Ackermann
cfc7825eee
Merge remote-tracking branch 'upstream/master' into clearnet 2021-04-14 10:45:52 +10:00
Audric Ackermann
ccf8a31ae3
move Attachments and Attachments_test to typescript 2021-04-14 10:34:48 +10:00
Audric Ackermann
42f0d21740
generate attachment key on migration 2021-04-14 10:33:52 +10:00
Audric Ackermann
050739b0ab
cleanup old blobs from time to time 2021-04-13 14:16:50 +10:00
Audric Ackermann
2393dce448
fix tslint 2021-04-13 10:27:33 +10:00
Audric Ackermann
a0698202df
redact snode IP used in logs on production builds 2021-04-13 10:21:09 +10:00
Audric Ackermann
3ea628a02f
pin certificate for seed nodes 2021-04-13 10:20:56 +10:00
Audric Ackermann
f12ca66008
redact snode IP used in logs on production builds 2021-04-12 16:46:20 +10:00
Audric Ackermann
47026b8d5b
pin certificate for seed nodes 2021-04-12 15:38:19 +10:00
Audric Ackermann
ed30be5334
fix attachments loading for avatar and exporting files 2021-03-26 16:31:27 +11:00
Audric Ackermann
def03c8baa
working encrypt/decrypt of attachments 2021-03-26 13:07:42 +11:00
Audric Ackermann
142bbd8eee
disable getVersion to snodes calls as we don't need it anymore 2021-03-24 13:34:08 +11:00
Audric Ackermann
8a2b6a5519
remove fallback to node-fetch 2021-03-24 13:33:55 +11:00
Audric Ackermann
2132395afb
disable getVersion to snodes calls as we don't need it anymore 2021-03-24 10:58:30 +11:00
Audric Ackermann
53d16d7dac
remove fallback to node-fetch 2021-03-24 10:30:23 +11:00
Audric Ackermann
f5a4094e0a
Merge pull request #1542 from Bilb/refactor-message-types
refactor to Visible and ControlMessage types
2021-03-19 12:57:12 +11:00
Audric Ackermann
ec6a5995db
sync expire timer updates 2021-03-19 12:14:23 +11:00
Audric Ackermann
79193ee7be
refactor to Visible and ControlMessage types 2021-03-19 10:43:47 +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
24d33c7900
Merge branch 'clearnet' into add-attachment-padding 2021-03-16 11:22:48 +11:00
Audric Ackermann
0228cd5115
add attachment padding 2021-03-05 17:13:46 +11:00
Audric Ackermann
35e57f2509
move mnemonic.js to typescript 2021-03-05 14:52:44 +11:00
Audric Ackermann
553f264d12
make unread attrs as before a number, and remove calculatingPow
calculating pow is just the same as sending state
2021-03-05 13:48:58 +11:00
Audric Ackermann
ad117fe4e5
uniformized redux convo type and getProps() of conversation 2021-03-05 11:11:53 +11:00
Audric Ackermann
4a794e90a0
signInWithRecovery = show full screen loader 2021-03-04 10:43:17 +11:00
Audric Ackermann
39f8ca293a
speedup tests 2021-03-04 09:55:44 +11:00
Audric Ackermann
aac54e6045
Merge remote-tracking branch 'upstream/clearnet' into restore-handle-configuration 2021-03-03 13:54:39 +11:00
Audric Ackermann
6fbe060973
move deleteAccount() to AccountManager 2021-03-03 10:36:30 +11:00
Audric Ackermann
feb6d5a39a
register allconvos on ActionPanel start 2021-03-03 09:31:24 +11:00
Audric Ackermann
2ae259092f
fix propagation of WrongSwarmError in pollForAllKeys() 2021-03-03 09:29:03 +11:00
Audric Ackermann
533b95c827 fix updateMessage being always at the end of the messagesList
this was because we were using Date.now() always rather than using the
envelope timestamp to save the update
2021-03-02 13:40:48 +11:00
Audric Ackermann
db167eaf1b fix a bug preventing our avatar to be updated on restore from seed
this was due to the fact that the redux was not ready when our
conversation is created. so the events were not linked
2021-03-02 13:31:12 +11:00
Audric Ackermann
05e9c936ff speed up loading of messages by not notify on every new message 2021-03-02 12:41:25 +11:00
Audric Ackermann
f6e3b354d0 join openGroup => allow only one at a time for each channel/server 2021-03-02 11:52:00 +11:00
Audric Ackermann
c656dd25cf move configMessage handling to a another file 2021-03-02 11:27:20 +11:00
Audric Ackermann
b8a17bcd94 do not include lokiProfile on sync Message => we use ConfigMessage now 2021-03-01 16:46:16 +11:00
Audric Ackermann
e052a6743a fix building of sync message from 1-to-1 convo 2021-03-01 16:38:40 +11:00
Audric Ackermann
9586c3a06a add linking of a device to the Registration logic 2021-03-01 16:20:35 +11:00
Audric Ackermann
305ece1c7c update our profile on incoming configMessage sent after our last update 2021-03-01 14:21:29 +11:00
Audric Ackermann
5d6d81b9ef Move accountManager to typescript 2021-03-01 10:39:46 +11:00
Audric Ackermann
0a539c79ce
on signup/register, set last_profile_update_timestamp to now() 2021-02-26 16:14:13 +11:00
Audric Ackermann
b6ff4dc186
always share profileKey if it is set 2021-02-26 16:07:13 +11:00
Audric Ackermann
43e2ca00ff
do not sync profileKey on sync => only on ConfigurationMessage 2021-02-26 12:08:07 +11:00
Audric Ackermann
fc24df00fb
always share our profileKey on outgoing messages 2021-02-26 11:48:08 +11:00
Audric Ackermann
01085244bd
split up registration signup tab logic to sub components 2021-02-26 11:27:29 +11:00
Audric Ackermann
641f9ee368
Fix the bug where if we leave and get added back, we get removed again 2021-02-25 17:31:18 +11:00
Audric Ackermann
c55f204440
Merge branch 'clearnet' into restore-handle-configuration 2021-02-25 16:36:03 +11:00
Audric Ackermann
08c41004a2
do not send expire timer to member added on closed group 2021-02-25 15:16:23 +11:00
Audric Ackermann
215cffdd75
address reviews 2021-02-25 14:48:11 +11:00
Audric Ackermann
e0c2cf8e9a
Force configuration message on avatar or display name update 2021-02-25 14:23:09 +11:00
Audric Ackermann
3f59ce1692
fix updates of message on message syncing 2021-02-25 12:59:18 +11:00
Audric Ackermann
a61f5e6814
add contacts to ConfigurationMessage 2021-02-25 12:50:23 +11:00
Audric Ackermann
0a82bf98fa
Add displayName and avatar pointer to ConfigurationMessage 2021-02-25 10:28:41 +11:00
Audric Ackermann
e466062f15 WIP 2021-02-23 14:22:01 +11:00
Audric Ackermann
ca22b4635f fixup some building of sync message issues 2021-02-22 12:00:08 +11:00
Audric Ackermann
58cc6551e5 fix updates of message on message syncing 2021-02-22 09:58:29 +11:00
Audric Ackermann
5ab3680903 make OnionPath a singleton and build path on app Start only 2021-02-22 09:35:05 +11:00
Audric Ackermann
7a3a12ccdc Merge branch 'clearnet' into move-models-to-ts-2 2021-02-19 17:53:26 +11:00
Audric Ackermann
8716fbf495 improve sent message handling by setting the correct convoId at start 2021-02-19 17:47:54 +11:00
Audric Ackermann
8a800cf58c move the logic of handling when a message is sent to MessageSentHandler 2021-02-19 16:43:50 +11:00
Audric Ackermann
25e03eba35 fix lint 2021-02-19 15:13:43 +11:00
Audric Ackermann
3ee0ccfac8 remove the forceSave logic for a message, always insert or replace 2021-02-19 13:01:24 +11:00
Audric Ackermann
d844c5141e remove unprocessed from store. Nothing was stored in the store
it was simply as passthrough to the Data file.
No we directly call the data file instead
2021-02-19 10:35:11 +11:00
Audric Ackermann
3f43ae48ad WIP 2021-02-17 11:17:50 +11:00
Audric Ackermann
370158951a move events from MessageQueue to MessageSentHandler 2021-02-16 18:12:49 +11:00
Audric Ackermann
a34720501c update avatar on convo only if DL+decrypt is OK 2021-02-16 14:22:22 +11:00
Audric Ackermann
8ea9f02cec Move data.js to data.ts 2021-02-15 15:16:52 +11:00
Audric Ackermann
7b81c4213a
Merge clearnet 2021-02-12 14:08:11 +11:00
Audric Ackermann
0c1343cad5
add a way to share currently distributing keypair to added members 2021-02-12 11:00:22 +11:00
Audric Ackermann
78e7255cb8
send the keypair to added members if we are admin
and remove request encryption keypair handling
2021-02-11 16:40:05 +11:00
Audric Ackermann
ebf9714e49
remove MessageQueueInterface 2021-02-11 15:00:52 +11:00
Audric Ackermann
2d7515cf0b
Merge branch 'clearnet' into move-models-to-ts-2 2021-02-11 14:45:09 +11:00
Audric Ackermann
a31c457c08
allow closedgroup new message to be sent to our other devices
also, do not drop it on the receiving side
2021-02-11 14:04:08 +11:00
Audric Ackermann
375c5ba1a8 add the request and reply of an encryptionKeyPair if needed 2021-02-10 17:45:11 +11:00
Audric Ackermann
ed84760f0e
add a tslint rule to forbid use of async without await 2021-02-09 17:00:54 +11:00
Audric Ackermann
36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2 2021-02-09 15:54:34 +11:00
Audric Ackermann
df0b44db4c
Merge remote-tracking branch 'upstream/clearnet' into multi-device-v2 2021-02-09 13:46:06 +11:00
Audric Ackermann
ea2c4437a3
cleanup models with unused events
also, sort message from DB and on redux by sent_at or received_at when
not a public group
2021-02-09 11:40:32 +11:00
Audric Ackermann
20cf5dbf10
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2 2021-02-08 17:27:32 +11:00
Audric Ackermann
b76ce0f2ff
update models to TS part2 2021-02-08 16:18:36 +11:00
Audric Ackermann
65ed81e980
enable explicit group updates on the sending side 2021-02-08 15:37:40 +11:00
Audric Ackermann
5a7c8ffa35
fix previews sent on next message if they are resolved too late 2021-02-08 15:35:56 +11:00
Audric Ackermann
89ea946b3f
disable sending of explicit group updates for now - only receiving is ON 2021-02-08 15:35:22 +11:00
Audric Ackermann
267a3e6bf6
disable closedgroup update groups for now 2021-02-08 15:34:01 +11:00
Audric Ackermann
ebd94ce15c
fix order of added new group in leftPane 2021-02-08 15:33:39 +11:00
Audric Ackermann
3b3378a2ee
finish explicit group updates 2021-02-08 15:33:16 +11:00
Audric Ackermann
7054385d4a
remove body pending loading of message > 2000.
Also remove the limit when sending text messages
2021-02-08 15:23:23 +11:00
Audric Ackermann
a51f95d28c
move models to TS part1 2021-02-08 15:20:47 +11:00
Audric Ackermann
aede96b69b
enable explicit group updates on the sending side 2021-02-08 14:12:44 +11:00
Audric Ackermann
b88ea110e8
Add multi device v2 support 2021-02-08 11:56:14 +11:00
Audric Ackermann
64737a89d7
add ConfigurationMessage 2021-02-04 11:53:37 +11:00
Audric Ackermann
fb9f615a11
Merge remote-tracking branch 'upstream/clearnet' into fix-explicit-updates-not-yet-sending 2021-02-02 10:25:52 +11:00
Audric Ackermann
859cbfbe36
Merge pull request #1466 from Bilb/fix-link-previews
fix previews sent on next message if they are resolved too late
2021-02-02 10:23:48 +11:00
Audric Ackermann
ab8aa0d982
disable sending of explicit group updates for now - only receiving is ON 2021-02-01 16:40:23 +11:00
Audric Ackermann
2462e12a04
Merge pull request #1461 from Bilb/explicit-group-updates
Explicit group updates
2021-02-01 15:45:11 +11:00
Audric Ackermann
cdd6fb61eb
fix previews sent on next message if they are resolved too late 2021-02-01 14:45:46 +11:00
Audric Ackermann
7048f81214
disable closedgroup update groups for now 2021-02-01 13:14:19 +11:00
Audric Ackermann
c06f710b3b
fix order of added new group in leftPane 2021-02-01 13:12:44 +11:00
Audric Ackermann
334da0a169
finish explicit group updates 2021-02-01 11:35:06 +11:00
Audric Ackermann
46fdebe3d7
Merge pull request #1459 from Bilb/improve-open-group-loading-speed
Improve open group loading speed
2021-01-29 11:43:41 +11:00
Audric Ackermann
0e25ab2874
WIP 2021-01-29 11:29:42 +11:00
Audric Ackermann
6e11c6db2e
remove all reference to closed group update v2 2021-01-28 12:06:51 +11:00
Audric Ackermann
999e6fc712
replace GroupUpdateV2 in proto to ClosedGroupControlMessage 2021-01-28 11:39:07 +11:00
Audric Ackermann
3d47d7d0e8
remove EbeddedContact components 2021-01-28 10:52:16 +11:00
Audric Ackermann
02fb5783a4
remove regionCode and PhoneNumber.ts 2021-01-28 09:46:15 +11:00
Audric Ackermann
c7d6e940ce speed up loading of messages by removing db call to fetch our pubkey 2021-01-27 18:09:46 +11:00
Audric Ackermann
e3a6e24898 remove body pending loading of message > 2000.
Also remove the limit when sending text messages
2021-01-27 15:26:30 +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
a0703bc2f9
remove primary and secondary device separate status 2021-01-21 17:49:13 +11:00
Audric Ackermann
135fc3b366
remove prekeys 2021-01-21 17:49:07 +11:00
Audric Ackermann
fd18345c5a
remove handling of rss related things completely 2021-01-19 16:11:33 +11:00
Audric Ackermann
c0484207d1
Merge branch 'clearnet' into fix-ban-user 2021-01-19 15:44:29 +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
6dd9dde44f
increase closed group size limit to 100 2021-01-19 15:35:20 +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
72c96ea998
remove most of the SessionProtocol unused stuff
- prekeys
- SessionCipher
- LokiCipher
- endSession and the reset Session logic
- what we called Sessionprotocol manager (to keep track of session with
everyone)
2021-01-18 10:58:34 +11:00
Audric Ackermann
979a9058e3
remove verified number - related features (partial) 2021-01-18 10:35:16 +11:00
Audric Ackermann
75b7788fa9
remove stuff related to web api 2021-01-15 10:56:49 +11:00
Audric Ackermann
f1d84177a0 fix expirationTimer updates closed group desktop to ios 2021-01-14 16:34:05 +11:00
Audric Ackermann
eb9828a3b7 fix tests 2021-01-14 10:44:15 +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
6cf838ade8
disallow remove of an admin from a closed group 2021-01-13 12:36:31 +11:00
Audric Ackermann
19f59ca41e
add some logs for message sending 2021-01-13 11:03:59 +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
d43ae09eb0
first working version of closed group v2 2021-01-12 16:56:21 +11:00
Audric Ackermann
9048913332
split conversation reducer for convo logic
also
- fix ordering of messages for open groups, when they are added
- fix the way the firstMessageOfSeries for just created clsoed groups
2021-01-07 10:51:20 +11:00
Audric Ackermann
2fe6b11e89
move ConversationController to typescript 2021-01-06 14:26:53 +11:00
Audric Ackermann
adf0d03d35
add test for the MessageEncrypter using Session protocol 2021-01-05 14:48:46 +11:00
Audric Ackermann
0a4cae4183
fix duplicates message for open groups 2020-12-17 15:07:32 +11:00
Audric Ackermann
2af4938ff2
fix SessionProtocol decrypt of messages with Android
also disable the old SessionRequest logic
2020-12-17 12:17:11 +11:00
Audric Ackermann
b0a229bf13 add Dialog on app start to ask to update SessionID 2020-12-16 16:35:30 +11:00
Audric Ackermann
1045bfeba8 add SessionProtocol wip 2020-12-16 13:56:29 +11:00
Audric Ackermann
cd3ec67099 add the encryptWithSessionProtocol method 2020-12-15 17:15:00 +11:00
Audric Ackermann
f28dfe5a94 use fallbacks for message even if we have a session with the device 2020-12-07 17:06:46 +11:00
Audric Ackermann
9fe87ca8c3
fix typing of MessageController 2020-12-02 16:23:58 +11:00
Audric Ackermann
4c0a988fe5
Move the metadata badges to use react functional components 2020-12-02 16:23:51 +11:00
Audric Ackermann
228e4ed662
move MessageController to typescript 2020-12-02 11:26:31 +11:00
Audric Ackermann
727261b36a
be sure to register outgoing message for medium groups when created 2020-12-01 17:14:43 +11:00
Audric Ackermann
60a4fcbfcc
small UI fixes for caption editor 2020-11-26 15:53:52 +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
5e43210493
Merge branch 'clearnet' of github.com:loki-project/loki-messenger into react-refactor 2020-11-25 13:42:56 +11:00
Audric Ackermann
465c9dfa77
remove dirty hack used before we use the notify on PN
this was used to not trigger events when sending a control message
2020-11-25 13:25:59 +11:00
Audric Ackermann
80523a9a3e
rename MessageQueue event to be more easily searchable
success -> sendSuccess
fail -> sendFail
2020-11-25 12:26:42 +11:00
Audric Ackermann
cc049065da
do not use v3 for live.apns.getsession.org PN calls 2020-11-24 11:47:44 +11:00
Audric Ackermann
9f14924e65
push toast if gif size is too big 2020-11-23 17:05:41 +11:00
Audric Ackermann
da62ba6829
Merge remote-tracking branch 'upstream/clearnet' into react-refactor 2020-11-23 16:26:52 +11:00
Audric Ackermann
f2074f502a
Uniformize size of accepted attachment to 10MB
Some image files can be scaled automatically, so this size is not the
same for them, they will just be scaled down
2020-11-23 16:25:20 +11:00
Audric Ackermann
edd984e0f5
make quotes stay empty when there object isEmpty() 2020-11-19 11:56:34 +11:00
Audric Ackermann
b5af8eb215
Add Mentions with react-mentions 2020-11-18 15:27:13 +11:00
Audric Ackermann
828aa4413f
remove unused group_member_list component 2020-11-17 16:46:04 +11:00
Audric Ackermann
2f2eb2ad53
link back backbone conversation events to redux store 2020-11-13 17:17:48 +11:00
Audric Ackermann
f3430bdcb5
add toast on isBlocked, isKicked, ... for sending of messages 2020-11-12 14:39:37 +11:00
Audric Ackermann
30f93b2ad3
remove conversation stack 2020-11-11 10:01:17 +11:00
Audric Ackermann
190d597814
only trigger new msg on open group if we are still running 2020-11-10 17:33:44 +11:00
Audric Ackermann
c039c89a26
remove resetMessageSelection() as unused and cleanup toast 2020-11-10 16:15:27 +11:00
Maxim Shishmarev
27859b13aa Added an option to use v3/lsrpc endpoint for more compact (base64) file reponses 2020-11-09 14:25:24 +11:00
Audric Ackermann
8710b7a9e8
medium group: send existing expiretimer to joining members if set 2020-11-09 13:58:37 +11:00
Audric Ackermann
545eef4edb
include expireTimer in group invitation message so it does not reset it 2020-11-09 12:06:26 +11:00
Audric Ackermann
e613613416
show toast with react-toastify and make them a styled-component 2020-11-09 11:25:57 +11:00
Audric Ackermann
6fd8ea20c7
fix restoring of session after restore from seed 2020-11-06 14:44:04 +11:00
Audric Ackermann
0b4400837b
fix scroll to quoted message and contact display name of group updates 2020-11-04 16:55:52 +11:00
Audric Ackermann
940ad57f83
rework the way unread count works
we no longer refresh on each message read, only once the whole
conversation is read.
2020-10-30 16:02:18 +11:00
Audric Ackermann
13e02b5bf1
add staged link previews for everything from signal 2020-10-28 11:06:47 +11:00
Audric Ackermann
12bf46e09e
use pushToast through ToastUtils when it's a static toast content 2020-10-27 12:56:32 +11:00
Audric Ackermann
79eae4838d
Merge remote-tracking branch 'upstream/clearnet' into react-refactor 2020-10-27 09:59:23 +11:00
Audric Ackermann
17ac8c4343
Merge remote-tracking branch 'upstream/clearnet' into react-refactor 2020-10-27 09:14:08 +11:00
Audric Ackermann
55fa65fc31
override attachments name on upload 2020-10-27 09:13:29 +11:00
Audric Ackermann
5de2dea407
use .ok field on serverRequest to check for request success 2020-10-26 10:35:33 +11:00
Audric Ackermann
fe3cfb9e82
move all menu to react-contexify 2020-10-22 16:34:41 +11:00
Audric Ackermann
2b13321c23
remove completely send to proxy 2020-10-22 09:58:32 +11:00
Audric Ackermann
4c91d977ca
move token and submit challenge call to onion request 2020-10-22 09:56:44 +11:00
Maxim Shishmarev
61897df7dd Lint 2020-10-21 15:51:52 +11:00
Maxim Shishmarev
c5b2b64d7f Add onions-v2 support for fileserver requests 2020-10-21 14:08:12 +11:00
Maxim Shishmarev
692a0e8cff Optionally use v2 onions for snode requests 2020-10-21 14:08:12 +11:00
Audric Ackermann
b46ed237b3
allow empty message when they have attachments 2020-10-20 15:02:16 +11:00
Audric Ackermann
c5927cfc4b
focus composition box after adding an attachment 2020-10-20 14:31:10 +11:00
Audric Ackermann
363da7aa80
add back toast on attachment adding error 2020-10-20 14:07:48 +11:00
Audric Ackermann
026a1930ed
add a getOrThrow to ConversationController when we expect this convo 2020-10-15 17:19:49 +11:00
Audric Ackermann
144ae41529
add type for ConversationController, remove showStartConversation
and cleanup scss
2020-10-15 16:43:51 +11:00
Audric Ackermann
1a379d2466
add theme logic to switch between dark/light theme based on redux store 2020-10-15 10:07:38 +11:00