Commit Graph

118 Commits

Author SHA1 Message Date
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