Commit Graph

2367 Commits

Author SHA1 Message Date
Andrey Shovkoplyas 2a828007fb
[#6957] Wallet shouldn't allows redirect to Home after a transaction completion
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-04 10:10:29 +01:00
Andrea Maria Piana 9adffeb55f
Dont try to show current chat if nil
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-04 08:50:57 +01:00
Andrey Shovkoplyas 22167db7a2
desktop popup
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-03 14:54:42 +01:00
Andrey Shovkoplyas 0ead731239
[#6958] Only render command message when relevant
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-03 09:55:35 +01:00
Andrey Shovkoplyas fcd5a16409
fixed styles for generated names on desktop
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-12-01 11:44:09 +01:00
Vitaliy Vlasov dc4841f041
Add react-native-desktop-menu native module
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-12-01 02:03:06 +02:00
tbenr 1152ad4afd
fixes #6856
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-30 11:38:04 +01:00
Andrea Maria Piana 5795ca8d1a
Enable group chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-30 11:12:34 +01:00
Andrea Maria Piana 9c67aab2c9
Use whole message to calculate message-id
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-30 10:12:25 +01:00
Julien Eluard e3e75e0498
[Fixes #6874] Added transaction-receipt, schedule and balance events
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-29 23:09:45 +01:00
Andrey Shovkoplyas 582c2960ec
[#6644] Chat command recipients should be able to install an extension
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-29 16:43:15 +01:00
Rob Culliton 91e5ac3ccd
Connection status info (#6865)
* display mailserver state and peers count under advanced settings on
the desktop profile tab
2018-11-29 10:16:41 -05:00
tbenr 3070e1f8a6
fixes #6789
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-29 15:01:38 +01:00
Andrea Maria Piana 08291a8396
Keep username/photo-path synced across devices
We add syncing of account fields in pairing messages (only photo-path &
name for now). Also a sync message is sent each time we send a
contact-update, to keep other devices in sync. The change is compatible
with previous clients as it's just an accretion of transit.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-29 11:37:14 +01:00
Andrey Shovkoplyas 89f66eab0e
fixed Download latest button for Mac
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-29 10:25:42 +01:00
Vitaliy Vlasov 92d00f4250
Use multiple app instances simultaneously
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-11-28 19:10:12 +02:00
Roman Volosovskyi c506521778
[slow sign in] Better handling of migration failures and db encryption problems.
Migration failures are handled separately from other errors which might appear
during opening account's realm DB. In case if user chooses to erase
the account's database, only this database will be removed and other accounts
will not be touched.
2018-11-28 14:13:30 +02:00
Andrey Shovkoplyas 028ab522b9
[#6867] Add on-send-sync to chat.command extension
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-27 21:23:20 +01:00
Igor Mandrigin 0547bfec0c
Don't show the LES debug label if the network wasn't initialized just yet.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-11-27 17:32:51 +01:00
Andrea Maria Piana 1e5b686027
Disable send button when no peers are connected.
Previously we were only checking whether `network-status` is equal to
`:offline`, therefore allowing the user to send messages even when no
peers are connected (i.e. the app is displaying Connecting to peers..).

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-27 13:15:57 +01:00
Julien Eluard a20f3ec546
[Fixes #6800] Introduce picker componenet (and expose activity-loading,
list)

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-26 15:04:07 +01:00
Andrey Shovkoplyas ac7c20ac45
[#6802] Expose a query allowing to access supported ERC20 tokens
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-26 12:42:59 +01:00
Frederik Bolding 3c04982616
Fixed an issue with uninstalling non-active extensions
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-26 10:51:30 +01:00
tbenr 2d5c4e3892
fixes #6601
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-25 21:02:58 +01:00
yenda 60d85b4a2e
[fix 6841] wrongs subscription in group chat 2018-11-23 18:12:23 +01:00
Roman Volosovskyi 5d5847e4b9
[slow sign in] Add unviewed messages counter to chat entity.
Before we fetched ALL user-statuses with `status=received` (which means that
a message hasn't been seen), iterated them, grouped by chat and then stored
`message-ids` of these `user-statuses` in chat's `:unviewed-messages` key.

This commit introduces :unviewed-messages-count field in chat entity.
That means that there is no need to iterate `user-statuses` in order to count
a total number of unviewed messages, it is always stored along with chat.
In the rest of it, the difference is only that chat's db record should be
updated each time when unviewed messages are seen.
2018-11-23 17:08:48 +02:00
Julien Eluard 6f08a9fe7f
Fixed broken extensions HTTP events
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-23 14:00:25 +01:00
Roman Volosovskyi 6ca3933b71
fix user-statuses after migration from #6722 2018-11-23 13:50:52 +02:00
Andrey Shovkoplyas 719b9f199c
[#6642] Allow adding extra key/value pair to chat command
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-23 09:34:05 +01:00
Dmitry 43be2d3614
Add LES nodes back into list of static nodes
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-11-23 09:12:18 +01:00
Bruce Hauman 880d1da3d1
[#6815] restyle sent-transaction screen
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-23 08:33:54 +01:00
Bruce Hauman f7c9f8631d
[#6786] restyle main wallet screen
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-22 18:26:46 +01:00
Andrey Shovkoplyas 5dd345fe49
[#6643] Allow chat command suggestions to select parameter
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-22 15:57:39 +01:00
Dmitry 7a0fc763a4
Rendezvous should be false if list of nodes is empty
We can disable this validation in status-go. I am not sure why we have it.
But it will take longer.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-11-22 11:51:20 +01:00
Bruce Hauman a5c5e1831f
better protect transaction history polling from errors
Go blocks parse try catch blocks and turn them into event
dispatches. This captures the original intent of the code to catch
errors and terminate the current async worker execution.

Signed-off-by: yenda <eric@status.im>
2018-11-21 17:25:36 +01:00
Roman Volosovskyi d66198a420
[slow sign in]
fix iterating over all messages from realm db (was done for deduplication)
async loading of chats (:init-chats event)
2018-11-21 18:21:52 +02:00
Julien Eluard 205c9aaecc
[Fixes #6825] Do not open settings as a modal
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-21 16:36:06 +01:00
Jakub Sokołowski 01c8d9b25b
stop using build-* git tags for counting build numbers
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-21 13:43:12 +01:00
yenda 20bd65c0c0
[refactor] differentiate private and public chat and contact subs
- aliased namespace keywords are used for local subs used for caching
- synthetic :chat namespace is used for subs used elsewhere

Signed-off-by: yenda <eric@status.im>
2018-11-21 12:08:51 +01:00
Julien Eluard ee4cafbbe3
[Fixes #6784] Fixed some ABI codec issues
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-21 11:12:19 +01:00
Julien Eluard f78f98ff6f
Renamed hook name
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-21 11:11:03 +01:00
Roman Volosovskyi 1dcc7727f1
[slow sign in] faster :get-referenced-messages 2018-11-21 10:50:45 +02:00
yenda 79c149af7d
[fix] usernames in bold on Linux
Signed-off-by: yenda <eric@status.im>
2018-11-21 08:40:35 +01:00
Roman Volosovskyi b792ab5cf3
[slow sign in] faster get-unviewed-messages 2018-11-21 08:04:33 +02:00
Julien Eluard 605f8d2590
[Fixes #6793] Improved hook name
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-20 18:20:28 +01:00
Julien Eluard 529eabb1f4
[Fixes #6739] Introduced wallet.settings hook
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-20 18:04:25 +01:00
Dmitry 09fba00492
Add rendezvous nodes to configuration
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-20 17:25:59 +01:00
Goran Jovic 28c6d46c49
bug #6768 - updating enabled tokens before navigation to wallet
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-20 17:22:36 +01:00
Bruce Hauman d5dde69af9
[#6718] restyle wallet onboarding flow
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-20 17:21:26 +01:00
Goran Jovic 72e7ae2fff
feature #6509 - validating token config against their contracts; moved token info from compile time list to app-db; fixed any discrepancies in existing info
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-20 17:18:08 +01:00
Frederik Bolding 5d549fec12
Changed to popups for installing and uninstalling extensions
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-20 15:19:57 +01:00
yenda c48dd4597f
[fix] current chat in bold on Linux
Signed-off-by: yenda <eric@status.im>
2018-11-20 10:40:04 +01:00
Andrey Shovkoplyas 624130e440
[#6736] support multi-extensions store
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-19 22:54:25 +01:00
yenda b119facb2a
[fix] query-chat-contacts subscription params
Signed-off-by: yenda <eric@status.im>
2018-11-19 15:59:44 +01:00
yenda 1ba7feb439
[refactor] move contact.subs and utils.contacts to contact.db
functions defined in subs need to be reusable and testable independently
from re-frame framework. they are moved into db namespace for that purpose

Signed-off-by: yenda <eric@status.im>
2018-11-19 14:30:25 +01:00
yenda 73ccb44663
introduce priority map
- in future PRs we want to reduce the expensive sort operations
on list of messages while keeping the possibility to get a message
by its ID
- priority map allow to keep a map sorted by it's value which
is what we want to do here. we want to keep the messages ordered
by clock-value

Signed-off-by: yenda <eric@status.im>
2018-11-19 12:32:01 +01:00
yenda 77e9aea755
[refactor] move chat.subs fns to chat.db
Signed-off-by: yenda <eric@status.im>
2018-11-19 12:30:58 +01:00
yenda 2ccc8fef0d
[fix] align min input container height with tab menu
Signed-off-by: yenda <eric@status.im>
2018-11-16 22:43:30 +01:00
Oleksii Lymarenko 360ee565f2
recovery view: added accessibility labels for passphrase and password
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-11-16 14:56:34 +02:00
yenda b41df3b3c2
updating cljs compiler
Signed-off-by: yenda <eric@status.im>
2018-11-16 13:10:31 +01:00
Pedro Pombeiro 9f350765e9
Show chat name, source contact and time in PN body. Part of #6621
- Add higher priority for 1:1 messages

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-16 11:17:24 +01:00
Andy Tudhope 43357e1708
Update links
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-16 10:17:51 +01:00
Bruce Hauman 1716643c46
[#5749] transaction history fixes
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-16 10:03:54 +01:00
Igor Mandrigin 83ef7746d4
Show debug information when LES is selected (in the titlebar).
To simplify testing and debugging, there is a very simple sync indicator
(debug) for LES. This UI is not even close to being production and will
be reworked in the future.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-11-15 10:34:31 +01:00
Andrey Shovkoplyas 1f2e2728cb
use ens name for granting permissions
Signed-off-by: yenda <eric@status.im>
2018-11-14 16:34:29 +01:00
janherich f5ab49a4a4
Make bold work on desktop again
Signed-off-by: yenda <eric@status.im>
2018-11-14 16:33:19 +01:00
Andrea Maria Piana 1104becfba
Enable syncing of contacts & style pairing section
Everytime a contact request is sent/confirmed a sync message is also
sent to other devices so the contact is kept in sync.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-14 13:21:14 +01:00
Julien Eluard e8d3e39063
Adding SNT voting DApp
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-14 10:55:54 +01:00
tbenr c363c06a17
fixes #5699
gas estimation sets original-gas when nil

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-12 11:04:05 +01:00
Aleksandr Pantiukhov 17f74ff2f6
[#6455]: Updated extension management
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-11-12 10:28:48 +01:00
Martin Schenck 8592b25093
Add ST to assets list
Adds ST token to list of available assets.

- Open Status
- Go to Manage Assets, add ST.
- You'll see that you can now add ST.

status: ready

Fixes #6624

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-12 10:00:30 +01:00
yenda 014d564e72
[fix] error when switching chats
- a subscription name change was missed during rebase

Signed-off-by: yenda <eric@status.im>
2018-11-10 13:41:44 +01:00
Andrey Shovkoplyas 44aef6788f
open chat for ens names
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-09 17:47:35 +01:00
Andrey Shovkoplyas 88b43e7dc2
introduced browser privacy mode
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-09 13:22:42 +01:00
Julien Eluard 6730a48da4
Added some new DApps
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-09 11:54:19 +01:00
Julien Eluard 2f8414b982
[Fixes #6665] Wrap view child elements when needed
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-09 11:34:35 +01:00
Eric Dvorsak 26ec3f8cd7
[refactor] remove unused functions in handlers
Signed-off-by: yenda <eric@status.im>
2018-11-09 11:16:46 +01:00
Eric Dvorsak 548162f733
[refactor] remove current-public-key 2018-11-09 11:16:27 +01:00
Eric Dvorsak f8f499d9b0
[refactor] rename whisper-id and whisper-identity to public-key 2018-11-09 11:16:27 +01:00
Eric Dvorsak a6da75f8e9
[refactor] remove email field in account 2018-11-09 11:16:27 +01:00
Eric Dvorsak 38ec77b97b
[refactor] remove default contacts
transactor and demo-bot are not used anymore and related code can therefore
be deleted
2018-11-09 11:16:26 +01:00
Eric Dvorsak b7b7806ed1
[refactor] remove allowed-keys macro
The initial purpose of the allowed keys macro was to only accept maps
with a defined set of keys so that the maps can be serialized into the db.
The way maps are serialized has been changed so that only the existing keys
in the db are cherry picked so passing maps with extra keys is no longer a
problem
2018-11-09 11:16:26 +01:00
Eric Dvorsak 4804d11b0f
[refactor] remove jail-loaded? and jail-loaded-events 2018-11-09 11:16:23 +01:00
Julien Eluard 009d974d83
Improved extensions error handling. Various fixes.
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-09 09:42:23 +01:00
yenda 93db31d867
[6628] don't block message sending when mailserver disconnected
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-11-08 19:37:13 +03:00
yenda 5594fb6c60
[fix 6508] user own picture should be unclickable in chats
Signed-off-by: yenda <eric@status.im>
2018-11-08 16:02:05 +01:00
Andrey Shovkoplyas e9bf1d7864
[#6169] Display .eth or other domain rather than IPFS redirect
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-08 15:53:38 +01:00
Roman Volosovskyi 7264ae2a14
prevent logging of re-frame events parameters
mask password received from keychain
2018-11-08 12:39:50 +01:00
Dmitry Novotochinov ae3029c2d9
[#6294] add desktop alpha release warning
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-11-07 22:10:39 +03:00
Andrey Shovkoplyas 36ef541037
fixed CK
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-07 17:14:01 +01:00
yenda a3b2bc1b87
[fix #3913] do not logout when changing mailserver
- do not logout and remove previous mailserver
from peers when changing mailserver
- rename wnode mailserver
- move transport.inbox to mailserver.core
- fix all subs and db keys

Signed-off-by: yenda <eric@status.im>
2018-11-07 17:10:18 +01:00
Aleksandr Pantiukhov 358b447b67
React Native HTTP Bridge 0.6.1 update: ability to handle simultaneous HTTP requests properly
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-11-07 16:24:51 +01:00
Dmitry Novotochinov 737d44931f
[#4433] update mac os dock badge label on new messages
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-11-07 18:18:35 +03:00
Andrea Maria Piana 693eae9cf9
Send your own messages
Adds a `chat-id` field in `content` map.

The reason it has been added to the map instead of augmenting transit is
that it would simplify the calculation of `message-id`, which in this
case is consistent for both old & new clients.

`chat-id` also represents the `chat-id` with respect of the sender, as
in 1-to-1 chats that is asymmetric.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-06 21:19:50 +01:00
janherich ff97345f07
Plug-in new text parsing engine 2018-11-06 19:59:24 +01:00
Goran Jovic 8d168bf3cd
bug #5899 - restored missing transaction error messages
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-06 17:46:09 +01:00
karol 18b4bf590c
[#2884] added name lookup for recipient after qr code scanning, moved address comparision function to utils.ethereum namespace, address= will now expect address to be passed (instead of contact)
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-06 17:44:55 +01:00
Andrey Shovkoplyas e09476f5d3
added Inter UI font and made some cleanup
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-06 16:46:58 +01:00
Julien Eluard fceaa0981f
Fixed some extensions issues (smallish)
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-06 15:56:37 +01:00
Julien Eluard 747bac2738
Updated Kudos address to reflect latest contract
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-11-06 15:05:20 +01:00