Commit Graph

216 Commits

Author SHA1 Message Date
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
Roman Volosovskyi 87824f4697 Console chat cosmetic changes. Fixes #281, #284, #285, #287
Former-commit-id: 6effc91d3c
2016-10-04 11:35:32 +03:00
Roman Volosovskyi 6c96591cb1 password validation in !keypair command, closes #238
Former-commit-id: 9b8f079606
2016-09-22 11:46:31 +03:00
Roman Volosovskyi 23dfab5c3a missed console.js
Former-commit-id: 5fb6a19d0a
2016-09-22 08:24:25 +03:00
Roman Volosovskyi b59419a9b7 closes #245
Former-commit-id: 263e48de04
2016-09-21 12:43:20 +03:00
Roman Volosovskyi a694034d20 Merge pull request #250 from status-im/bug/#231
Fix styles for validation messages in chat

Former-commit-id: c0fae5b4b7
2016-09-20 17:17:12 +03:00
Roman Volosovskyi 38505bd2cc validate empty input in send command
Former-commit-id: 29968b2ff3
2016-09-20 17:15:29 +03:00
Roman Volosovskyi d0d3cf107d fix #231
Former-commit-id: ccb2b4cf98
2016-09-20 16:38:07 +03:00
Roman Volosovskyi e8c462d7ba statusAPI in webview
Former-commit-id: effadc6d5f
2016-08-23 17:03:42 +03:00
Roman Volosovskyi 5940af50ad send-transaction in commands.js
Former-commit-id: 871f803651
2016-08-19 11:52:44 +03:00
Roman Volosovskyi e9e3dc3896 on boarding tests
Former-commit-id: a0912230d4
2016-07-27 16:08:53 +03:00
Roman Volosovskyi 6b0d236c42 browser
Former-commit-id: 20ff7b23a5
2016-07-20 17:03:46 +03:00
Roman Volosovskyi f5ff014b9d validation handlers & views
Former-commit-id: 7c3c3d8008
2016-07-07 19:09:16 +03:00
Roman Volosovskyi 63fb7dce94 locations
Former-commit-id: 58675d5509
2016-06-29 14:28:43 +03:00
Roman Volosovskyi 5e94fb9b7b first parameter
Former-commit-id: 013e4e79ae
2016-06-27 18:38:44 +03:00
Roman Volosovskyi 771f046e96 handle responses from jail
Former-commit-id: 7632de08cf
2016-06-25 16:28:45 +03:00
Roman Volosovskyi f1005daeed Merge branch 'develop' into feature/#123
First attempt.
 Conflicts:
	.re-natal
	android/app/build.gradle
	android/settings.gradle
	src/status_im/chat/handlers.cljs
	src/status_im/chat/views/command.cljs
	src/status_im/chat/views/content_suggestions.cljs
	src/status_im/chat/views/message.cljs
	src/status_im/chat/views/plain_input.cljs


Former-commit-id: 474729f230
2016-06-15 10:47:38 +03:00
Roman Volosovskyi 8f37885e18 staged command preview
Former-commit-id: 02f37e6c97
2016-06-14 17:36:39 +03:00
Roman Volosovskyi b9973cee6d cleanup
Former-commit-id: 62e68fc3da
2016-06-14 15:56:03 +03:00
Roman Volosovskyi 4301c813f4 parsing of commands.js, command's handler, suggestions handler in jail (commit contains .aar oops)
Former-commit-id: ab93b21a4c
2016-06-14 14:19:56 +03:00
michaelr 5ed5e91e2d removed redundant deps and changes protocol version to latest
Former-commit-id: b9a6253357
2016-03-14 00:29:07 +02:00
virvar 93848fd255 Use syng-im/protocol to get whisper identity
Former-commit-id: 119c613f8a
2016-03-07 11:09:41 +03:00