Commit Graph

171 Commits

Author SHA1 Message Date
Goran Jović 465b4eef9c fix #1888 ether amount not updated in /send suggestion if it was init… (#1904)
* fix #1888 ether amount not updated in /send suggestion if it was initially undefined

* dummy change to trigger jenkins rebuild

* another dummy commit to trigger jenkins build
2017-09-25 19:56:24 +02:00
janherich e2f36d4935 Be more defensive when checking user balance 2017-09-25 19:54:40 +02:00
Jan Herich 805d874846 Fix #1886 (#1894)
* Fix #1886

Completly rework the way how async handlers work

Delay further processing of message till async handler returns result

* Fix indent

* Fix #1903
2017-09-21 14:08:51 +03:00
Jan Herich b889a07a86 Implement possibility for async command handlers (#1857)
* Implement possibility for async command handlers

Command handler can now return results asynchronously,
and those results as saved and persisted, indexed by
command message-id.

* Address feedback raised in PR comments

* Different handler codes + simplified error message
2017-09-18 16:08:06 +03:00
Roman Volosovskyi e961801429 utilize single jail.signal event for all signals from jail 2017-09-18 16:06:22 +03:00
Roman Volosovskyi 43a5d91ca2 upgrade status-go to bugfix-updated-cht-#185-gd84d10d
changes in shh API according to https://github.com/ethereum/go-ethereum/wiki/Whisper-v5-RPC-API
2017-09-18 16:06:22 +03:00
Andrey Shovkoplyas 66dd3a2e82 implemented request transaction 2017-09-15 16:37:27 +02:00
Andrey Shovkoplyas f88c3feaf6 reworked main tabs using svg icons [#1748 2017-09-06 17:05:56 +03:00
Julien Eluard 36d1568a76 Fixed main wallet discrepancies 2017-09-05 17:38:19 +03:00
angusiguess bc37283cb7 Add wallet error message.
- Add wallet key to db
- Add sub for wallet error messages
- Add event handlers to set wallet values
- Cover the above with tests

Oh and add the tests

Add error view

Add exclamation mark, style error message, add message to view

Remove commented styling

Localise wallet error

Add translation

- Add an english translation for the error message
- Change error representation in db to a keyword
- Update handlers to set and clear keywords

Constrain spec, make view conditional

- The spec for error messages now takes a predefined set.
- Error message only pops on error

Fix test

Align maps

Reduce event chain size, move logging to timbre
2017-09-01 19:01:12 +02:00
Andrey Shovkoplyas be57d85147 implemented svg icons 2017-08-30 11:09:27 +02:00
Andrey Shovkoplyas 883b702fcb Introduced new hierarchy ,refactored core 2017-08-14 13:42:20 +03:00
Andrey Shovkoplyas 5051d1ce9e /location command 2017-07-10 18:20:58 +03:00
alwx 5c15df9b64 /send and /request commands; commands in group chats and fixes for parameter and result boxes 2017-07-10 12:41:30 +03:00
Roman Volosovskyi 4f6ebb53d3 text-message in command handler
to and from props in context in suggestions function
ability to send request using text-message property in handler and via status.sendMessage
show request's text if it exists
2017-06-28 17:57:30 +03:00
alwx 1596b61b46 More UI components accessible from API, ability to generate QR codes, small cleanup 2017-06-28 10:38:23 +03:00
Matus Lestan 7591baa5ee Fixed old URL for Ethlance 2017-06-26 10:40:47 +03:00
Roman Volosovskyi 024cf6d6b8 status.sendMessage in jail
status.showSuggestions in jail
jail: fix localStorage behaviour on setItem with null value and getItem with key without value
2017-06-05 19:09:51 +03:00
Roman Volosovskyi c56fa0c688 localStorage in jail 2017-06-05 16:53:20 +03:00
Gustavo Nunes 27de707035 fix #1171 2017-05-11 13:27:03 +03:00
Roman Volosovskyi 4265e73f33 add global-command to default_contacts
load browse first
prefill global-commands before bot's jails are loaded
2017-05-05 11:41:43 +03:00
alwx ff59f8a375 The concept of command actions; /browse command actions (back, forward, fullscreen) (#1093) 2017-05-04 14:26:52 +03:00
alwx 504e3493ef Runtime permissions (#762) 2017-04-28 16:45:01 +03:00
Roman Volosovskyi 03cab7ace2 interactive suggestions 2017-04-28 15:08:53 +03:00
Roman Volosovskyi d044b1cf43 resolve #850
add on-message-input-change and on-message-send listeners
logging in jail
2017-04-28 15:08:53 +03:00
Roman Volosovskyi 1fbb447761 use global @browse command for opening dapps (#847) 2017-04-28 15:08:53 +03:00
Roman Volosovskyi 239a0cbfe6 split console bot into separate files
bots dir
slurp-bot macro
split commands.js into browse, mailman and wallet
bot-url & loading of default bots
command schema
command-parameter schema
global-command in default_commands
@browse command in all chats
load global command from jail
optimize applications startup

 Conflicts:
	bots/wallet/translations.js
	resources/console.js
	resources/dapp.js
	resources/default_contacts.json
	resources/status.js
	resources/wallet.js
	src/status_im/accounts/screen.cljs
	src/status_im/chat/constants.cljs
	src/status_im/chat/handlers.cljs
	src/status_im/chat/handlers/commands.cljs
	src/status_im/chat/handlers/send_message.cljs
	src/status_im/chat/subs.cljs
	src/status_im/chat/suggestions.cljs
	src/status_im/chat/views/command.cljs
	src/status_im/chat/views/suggestions.cljs
	src/status_im/commands/handlers/jail.cljs
	src/status_im/commands/handlers/loading.cljs
	src/status_im/contacts/handlers.cljs
	src/status_im/data_store/realm/schemas/account/core.cljs
	src/status_im/data_store/realm/schemas/account/v5/core.cljs
	src/status_im/models/commands.cljs
	src/status_im/utils/js_resources.cljs
2017-04-28 15:08:53 +03:00
alwx db46b0e433 Any sum with more than 19 digits after comma is converted to 0 ETH (if /send) (#1046) 2017-04-25 14:42:17 +03:00
Roman Volosovskyi c689ab2feb fix keyboardShouldPersistTaps in console 2017-04-25 11:49:06 +03:00
Roman Volosovskyi a9d1426426 sendWeb3Request method in StatusModule 2017-04-25 11:00:58 +03:00
alwx c8a3d13ca3 Transaction fixes (#997, #1004) 2017-04-19 06:56:07 +03:00
Roman Volosovskyi 10cce42403 fix #1001 2017-04-15 00:07:11 +03:00
alwx 004b87ebd1 Correct keyboard types (#1002) 2017-04-14 21:26:17 +03:00
alwx 6e4931417b Password and phone inputs [chat-ui] 2017-04-13 18:17:56 +03:00
alwx a15fb7e2a8 New chat input & suggestions area; new handlers to work with the improved logic (#880) 2017-04-13 18:17:56 +03:00
Andrey Shovkoplyas 895b848dfe json fix 2017-04-13 18:15:40 +03:00
Andrey Shovkoplyas ae632b6acc rebase 2017-04-13 18:15:40 +03:00
Roman Volosovskyi 58f8eecffa fix #980 2017-04-12 16:51:32 +03:00
Roman Volosovskyi 41af22463a comment faucet.ropsten.be:3001 faucet 2017-04-05 15:12:59 +03:00
wighawag 482effacaa Please add Etherplay (testnet) (#942)
* add etherplay

* link to test.etherplay.io
2017-03-29 16:55:15 +03:00
didi 951b25716c fixes #873 and some german grammar 2017-03-16 18:47:25 +02:00
Jarrad Hope 04bae32005 add commiteth dapp 2017-03-15 15:11:29 +02:00
madvas 539587d38b Added Ethlance into contacts 2017-03-15 10:28:30 +02:00
tomkysar d439e66107 Addition of Augur 2017-03-12 16:21:14 +02:00
Timothy Roy 7f2059070b resources, commands.js, replace() comma to period 2017-03-12 16:20:59 +02:00
Alexander Pantyuhov 874bf16f97 Switching networks (#845) (#852)
* Switching networks (#845)

* pass RPC host to webview bridge
2017-03-08 13:45:02 +02:00
Erli 15d3d758ad add Dentacoin dapp 2017-03-07 12:38:37 +02:00
alwx d6f43d3248 Move command-content to js files (#779) 2017-03-02 00:15:23 +02:00
Roman Volosovskyi 99931c24b9 upgrade react-native-webview-bridge (fix preloading of js on the first page, Android)
ensure that preloaded js in webview is executed only once
2017-02-22 17:54:14 +02:00
Jarrad Hope 37932bce74 add bchat default contact 2017-02-21 17:10:30 +02:00
Roman Volosovskyi 89eb890d94 use standard Web3 HttpProvider for http & fix jQuery conflict 2017-02-21 16:44:49 +02:00
Smouki 79669234f4 Add Melonport to default contacts 2017-02-20 14:29:12 +02:00
Roman Volosovskyi 0548ca6f98 add jquery support in WebView 2017-02-20 14:28:40 +02:00
alwx bf27c55398 Development tools (#719) 2017-02-13 12:14:28 +02:00
Roman Volosovskyi 80f4c54357 implement StatusProvider.send for Android and iOS (only http) 2017-02-03 13:05:28 +02:00
alwx 78e70571df Generating message preview on the fly, localization of request data and previews (#645, #754) 2017-02-01 16:12:45 +02:00
Gustavo Nunes 016e9b31d1 Add Gnosis dapp to default contacts list #748 2017-01-21 10:09:41 +02:00
alwx 374264e108 Semicolon in password works fine now (#684); fix for crash #25 2017-01-21 09:56:23 +02:00
alwx a4526f7e3f Alternate Currency Formats breaks ability to send ETH (#665) 2017-01-20 16:00:32 +02:00
alwx d260117c85 Phone fixes (#539, #566, #634) 2017-01-17 17:43:27 +02:00
Auryn Macmillan 351e54129c Add FirstBlood to existing dapps (#728) 2017-01-17 00:29:30 +03:00
Gustavo Nunes 66c9e97eef Prevent non-positive-number amounts for send / request commands 2017-01-11 13:57:18 -02:00
Harsh Vakharia 302a1c7214 Add missing comma 2017-01-05 23:07:04 +05:30
Jarrad 13e9283477 Merge pull request #614 from status-im/feature/default-contacts
add default DApp contacts
2017-01-04 13:04:42 +07:00
Jarrad Hope 0eefb02e25 add default dapps
new file:   images/contacts/flight-delays-suck.png
	new file:   images/contacts/jarrad.png
	new file:   images/contacts/mkr-market.png
	new file:   images/contacts/oaken-water-meter.png
	modified:   resources/default_contacts.json
	modified:   src/status_im/resources.cljs
2017-01-04 13:02:39 +07:00
Jarrad a38671e4d8 Merge pull request #606 from status-im/bug/#601
!send command validation
2017-01-03 15:01:30 +07:00
Roman Volosovskyi 27df2705ed !send command validation with estimatedGas 2017-01-02 23:09:45 +02:00
alwx 0985db819b Strange suggestion behaviour (#602) 2017-01-02 19:26:28 +03:00
Roman Volosovskyi 206f336dff Merge pull request #589 from status-im/feature/#334
Translations for DApps (#334)
2017-01-02 12:38:56 +02:00
Roman Volosovskyi 6504b7fc9e wallet dapp over https 2017-01-02 12:01:32 +02:00
Roman Volosovskyi b93cc4669e fix #595 2017-01-02 10:17:44 +02:00
Roman Volosovskyi e511baca50 fix #593 2017-01-02 10:08:22 +02:00
alwx 5a872c8ca5 Translations for DApps (#334) 2016-12-30 20:45:14 +03:00
Roman Volosovskyi 323a91760f add StatusHttpProview for accessing web3 in webview 2016-12-29 22:48:00 +02:00
Jarrad e6e59f158d Merge pull request #583 from status-im/feature/dapps-#580
Default DApp data structure (#580)
2016-12-27 17:22:21 +07:00
alwx 0e190c624b Default contacts (#580) 2016-12-27 13:18:22 +03:00
Roman Volosovskyi aad122a724 fix #573 & remove staged-commands 2016-12-27 11:15:30 +02:00
Roman Volosovskyi fc39346bc2 inject web3 before page loading in webview (works only on android) 2016-12-19 14:40:16 +02:00
Roman Volosovskyi 048ef0a4fe fix !send command message style 2016-12-15 11:53:22 +02:00
Jarrad b6b46d19af Ropsten faucet typo 2016-12-10 11:01:20 +08:00
alwx 430229d192 faucet command (#445) 2016-12-09 13:04:14 +03:00
Adrian Tiberius 974ff50b02 implement console message handling and suggestions 2016-12-02 19:13:55 +02:00
alwx 3e4b943e72 No more error when tapping on command suggestion icon (#517) 2016-11-30 23:31:40 +03:00
Jarrad Hope ea54b9b6e1 !js command in console chat 2016-11-30 20:35:37 +02:00
Adrian Tiberius 33c334ae6a add translations 2016-11-22 16:23:14 +02:00
Roman Volosovskyi 80be20666b send command styling 2016-11-18 17:13:38 +02:00
Roman Volosovskyi 5fe3a1b91a add locale and debug props to context object in jail (#459) 2016-11-18 12:19:28 +02:00
Roman Volosovskyi acfedd19f6 Merge pull request #447 from status-im/bug/#430
Prevent !send with null "to" address
2016-11-15 15:22:12 +02:00
Roman Volosovskyi 459ce93220 fix #450; fix #451 2016-11-12 11:25:48 +02:00
Roman Volosovskyi 29a6832974 fixes #430
ignore transaction without "to" address
prevent !send command without "to" address
only contacts with address in wallet's contacts screen
2016-11-11 09:34:07 +02:00
Jarrad Hope b0fac8ff84 update wallet url 2016-11-10 22:02:12 +08:00
Roman Volosovskyi 48dc1b6e19 closes #441 2016-11-10 10:33:44 +02:00
Adrian Tiberius 083ade766e implement new wallet flow 2016-11-08 19:38:59 +02:00
Roman Volosovskyi 4fd5be78b4 wallet dapp icon & border
commands/requests icons


Former-commit-id: e4a23bba54
2016-10-31 16:54:49 +02:00
Roman Volosovskyi b6fa6c366c fix #394
Former-commit-id: 58aaacf044
2016-10-29 23:02:49 +03:00
Roman Volosovskyi 8439407520 show connectivity issues & retry sending of phone/confirmation code to server if application is offline
Former-commit-id: 2580b0a9d9
2016-10-23 12:49:36 +03:00
Roman Volosovskyi 2c8ade2346 fixes #383
Former-commit-id: 371c4889ac
2016-10-21 17:42:08 +03:00
Roman Volosovskyi 956da9b82e rework !send command
Former-commit-id: 608243bd3d
2016-10-18 15:40:57 +03:00
Alexander Pantyuhov edc5530d0c Various !browse command issues on open (#349)
Former-commit-id: 312a3d994c
2016-10-18 14:14:18 +03:00
Roman Volosovskyi 90ace73995 Console chat: password request (fixes #286)
Former-commit-id: 9624bd6d0f
2016-10-07 15:31:12 +03:00