Commit Graph

2640 Commits

Author SHA1 Message Date
Brandon Wissmann 701773608c
remove ability to change values while signing transaction
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-04-24 12:00:00 +02:00
Andrey Shovkoplyas 722fd67938
[#8008] Error "No protocol method IDeref.-deref defined for type undefined:" and crash if open DApp permissions
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-04-24 11:58:17 +02:00
Andrey Shovkoplyas 0d2be79452
react switch warnings fix
Signed-off-by: yenda <eric@status.im>
2019-04-23 22:36:55 +02:00
yenda 3134d1dfce
[fix] fetch wallet token transactions
- previously wallet transaction fetching was quite hazardous
- most of the time the `:wallet/all-tokens` map was nil so no token
was recognized
- the query for transfers was made accross 100000 blocks, now it
only checks that the first time, then from latest block checked minus
12 to follow progress of unconfirmed transactions

Signed-off-by: yenda <eric@status.im>
2019-04-23 14:24:41 +02:00
yenda 9d84ef3ad1
[feature] implement erc20 get-transaction for SNT and STT
- change `ethereum/get-transaction` to use call-private-rpc instead
of web3 object
- implement a version for erc20 tokens SNT and STT that provides enriches
result of get-transaction with `:recipient` and `:snt-amount`

Signed-off-by: yenda <eric@status.im>
2019-04-23 14:23:44 +02:00
yenda 2c028a474b
[refactor] send-transaction-message fx/defn
- turn :send-transaction-message event into an fx producing function
- allow transaction with defined on-result event to also send transaction
message

Signed-off-by: yenda <eric@status.im>
2019-04-23 14:23:00 +02:00
bitsikka 8482ea5b5a
[#7933] fix - joining public chat with messages throws error
[#7933] fix - joining public chat with messages throws error
2019-04-19 13:00:23 +03:00
Andrey Shovkoplyas 6f16ccf416
[#6457] Implement extension data persistence
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-04-18 15:53:22 +02:00
Andrey Shovkoplyas 159199a1b3
removed dapps list and introduced simple Dapp store dapp
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-04-18 15:49:06 +02:00
bitsikka cd1dfb67f4
[#7917] fix - Contacts are not synced between 0.11.0 and current nightly
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-16 21:33:46 +02:00
Roman Volosovskyi 5bd25515e4
Fix endless spinner on Fetch messages 2019-04-16 22:10:39 +03:00
Roman Volosovskyi 2753b0ef60
Skip fetching 24h of discovery topics on a new account
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-16 11:55:17 +02:00
Andrey Shovkoplyas 0fb9cabcfc
new profile hook and capacities
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-04-15 16:45:47 +02:00
Andrey Shovkoplyas b721f4810f
fixes and improvements for chat command
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-04-15 16:44:42 +02:00
Kris Calabio a06ca37de5
Emoji-only messages can be long-pressed
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-15 10:25:13 +02:00
Roman Volosovskyi a4d8f57b09
Fetch missed range of messages 2019-04-12 16:22:44 +03:00
Emilio Silva Schlenker 64b63d5593
[#7598] Beta alert on upgrading
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-11 20:50:10 +02:00
bitsikka 316a50b032
[#7930] fix - No label is shown for empty chat screen if you open public chat via deep link after opening another public chat via deep link
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-11 19:35:29 +02:00
Dmitry Novotochinov 14f3b43090
[#7892] generate mnemonic offline
pass bip39 words list to keycard sdk, instead of fetch it from github

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-04-10 14:38:30 +03:00
Jakub Sokołowski 1d00e9bb3d
change App ID for PRs on Android to avoid replacing release
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-10 11:49:40 +02:00
bitsikka be2b2a112e
[#7931] fix - Text for chat name for empty public chat is not centered if contains > 1 row
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-08 19:27:37 +02:00
bitsikka 234a51c97e
[#4158] Fix New messages counter being shown for already seen messages
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-08 19:26:57 +02:00
Kris Calabio 386c678caf
After dismissing error, no redirect to home and new qr can be
scanned.

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-08 19:26:24 +02:00
bitsikka 22bd2f1761
[#7799] fix chat does not scroll if touch starts on top of datemark
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-05 17:08:04 +02:00
Julien Eluard 7dae2ecaf6
Fixed incorrect wallet on-open payload
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-04-05 16:00:01 +02:00
Dmitry Novotochinov 4decedf5f6
Revert "Revert "[#7133] sign tx with keycard""
This reverts commit 4ccb1ea52d.

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-04-05 15:49:47 +03:00
Andrea Maria Piana f8674c0ee1
Add reading nodes from contract
This PR is part of network incentivisation. It adds a way for a client
to pull nodes from a contract.

This is done by selecting the `eth.contract` fleet. If that is selected
on login it will fetch nodes from a contract and pass them to status-go.
If these can't be fetched, it will default to `eth.beta`.

Currently contract information are hard-coded, but eventually the user
will be able to add their own (probably).

Toggled off in release.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-04-05 14:32:15 +02:00
yenda 9b47275249
[fix] don't lose big number precision above 53 bits in abi-spec
- convert to string instead of numbers in hex-to-number
- remove usage of full web3 lib

Signed-off-by: yenda <eric@status.im>
2019-04-04 13:53:15 +02:00
bitsikka 6aae0b76b9
[#7454] fix add basic copy to public chat empty screen state + related issues/feature regarding chat message-views intro screens for all chats types
[#7454] fix add basic copy to public chat empty screen state + chat messages-views intro screens for all chats

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-04 12:34:37 +02:00
yenda c9a8fb2684
[fix] contract call effect should destructure keys not vector
- return params decoding should return nil and not "0x"

Signed-off-by: yenda <eric@status.im>
2019-04-04 10:04:29 +02:00
yenda 06f72e749e
[fix] missing cofx for ipfs/cat call in contenthash/cat
Signed-off-by: yenda <eric@status.im>
2019-04-04 10:01:50 +02:00
tbenr 38fc712f07
fixes #7667
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-04-03 11:50:56 +02:00
yenda e690dbdf89
[feature] contracts namespace
* `open-sign-transaction-flow` cleaner version of
`open-modal-wallet-for-transaction`
* The contract namespace provides the `call` effect:
- takes contract identifier from contracts, method, params and callback
- select the correct contract address based on current network
- encode params, decodes results
- start wallet transaction flow for write calls

Signed-off-by: yenda <eric@status.im>
2019-04-03 10:26:26 +02:00
Dmitry Novotochinov 4ccb1ea52d
Revert "[#7133] sign tx with keycard"
This reverts commit feffcaf33d.

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-04-02 20:12:40 +03:00
Dmitry Novotochinov feffcaf33d
[#7133] sign tx with keycard
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-04-02 18:07:41 +03:00
Julien Eluard e66452ba4b
Fixed missing parameter usage
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-04-02 14:35:03 +02:00
Julien Eluard fb27e13a31
[Fixed #7864] Removed now irrelevant dapps
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-04-02 13:08:44 +02:00
tbenr 6e84cf22a9
fixes #7363
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-04-02 13:06:58 +02:00
Roman Volosovskyi 24a978d442
Migrate to RN 0.59.2 2019-04-01 17:42:57 +03:00
Vitaliy Vlasov 76c2ad2bc4
Add mailserver and bootnodes settings
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-03-29 14:20:53 +02:00
tbenr 648dc9b74a
fixes value -> data
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-03-29 09:14:19 +01:00
yenda 89902947b6
[feature] contenthash utility namespace
- support for ipfs only
- provides fns to encode and decode contenthashes as defined in EIP1577
- provides cat fx to retrieve contenthash

Signed-off-by: yenda <eric@status.im>
2019-03-28 17:23:00 +01:00
yenda 884a44b5df
use call-private-rpc in ethereum/call
- remove web3 parameter for ethereum/call
- remove first parameter for callback of ethereum/call which
was always nil

Signed-off-by: yenda <eric@status.im>
2019-03-28 17:20:36 +01:00
Julien Eluard 1bfa3cf178
Upgraded to latest pluto
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-03-28 15:48:44 +01:00
yenda a6616033f4
[refactor] add check in abi-spec decode and expect a hex string
Signed-off-by: yenda <eric@status.im>
2019-03-28 15:38:20 +01:00
yenda 9aea669da3
[feature] add ipfs module to add and cat content on ipfs
Signed-off-by: yenda <eric@status.im>
2019-03-28 14:41:09 +01:00
yenda 1de40487e8
docstring have to be placed before arglist in defn
Signed-off-by: yenda <eric@status.im>
2019-03-28 13:38:23 +01:00
Andrea Maria Piana 3eb570f082
Set chaos mode every time, dont show the popup everytime
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-03-26 15:58:21 +01:00
Andrea Maria Piana 29c168dfa1
Upgrade status-go and turn chaos mode on
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-26 10:59:21 +01:00
yenda 26b97ddf43
introduce system-tags
Signed-off-by: yenda <eric@status.im>
2019-03-25 16:55:09 +01:00