406 Commits

Author SHA1 Message Date
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
Jan Herich
fa8fe11bd7 chat: fix broken chat delete logic (#1343)
* chat: fix broken chat delete logic

Previously, persisting the chat delete functionality was working
only for group chats, where the `debug?` flag decided if delete was
a real "hard" delete (deleting data from the realm database) or just
marking with the `inactive` flag.

However non-group chats were not deleted at all, which I believe is a
bug fixed by this commit.

* chat: fix broken chat delete logic

Fix the branching logic with `if` instead of `when`
2017-06-26 20:41:58 +03:00
Julien Eluard
90d8b5c23c Fixes #1212 (#1249)
* Make sure suggestions properly popsup when command starts with space

* Added basic tests for splt-command-args

* Properly handle white spaces

* Added tests for commands with whitespaces
2017-06-26 13:45:49 +03:00
Andrey Shovkoplyas
63bf882e65 fixes https://github.com/status-im/status-react/issues/1217 2017-06-26 13:14:45 +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
5b69439d3d allows markup returned from bot's init function to be shown 2017-06-05 08:10:49 +03:00
Roman Volosovskyi
6f6849f635 use status-go's hackaton-alt branch 2017-06-02 17:45:02 +03:00
Roman Volosovskyi
45a08d7643 prevent unecessary :preview calls to jail 2017-06-01 10:55:46 +03:00
alwx
2c90faab86 No more react-native-network-info, updated /debug command response 2017-06-01 10:18:04 +03:00
alwx
1b2f657bfb Support for status-dev-cli 3.2.0 — NDS, responses and 3 more commands 2017-05-24 12:49:17 +03:00
alwx
f165492b33 Devtools 3.0 support 2017-05-17 13:00:45 +03:00
Andrey Shovkoplyas
6433676f51 fixes https://github.com/status-im/status-react/issues/1016 2017-05-11 13:36:59 +03:00
Gustavo Nunes
27de707035 fix #1171 2017-05-11 13:27:03 +03:00
Roman Volosovskyi
34b77022f7 another attempt to fix #1088 2017-05-08 15:43:40 +03:00
Roman Volosovskyi
07c247be93 back/forward buttons always enabled in @browse 2017-05-05 16:56:06 +03:00
Roman Volosovskyi
e333c12d35 add loading indicator to webview 2017-05-05 13:25:12 +03:00
alwx
08247698c3 Input field takes 3 lines for 1-line browse command [webview-command-actions] (#1155) 2017-05-04 21:05:43 +03:00
Andrey Shovkoplyas
52c10562dc fixes https://github.com/status-im/status-react/issues/1096 2017-05-04 15:33:00 +03:00
alwx
bdd2c3aa14 Input field takes 3 lines for 1-line browse command [webview-command-actions] (#1155) 2017-05-04 15:32:47 +03:00
alwx
ff59f8a375 The concept of command actions; /browse command actions (back, forward, fullscreen) (#1093) 2017-05-04 14:26:52 +03:00
Andrey Shovkoplyas
a17c00398b fixes https://github.com/status-im/status-react/issues/1111 2017-05-04 12:15:40 +03:00
Roman Volosovskyi
3607032a4e hide mailman contact
inject mailman's commands

ensure that mailman's commands are injected after loading
prevent loading of default contacts at account creation
2017-05-03 17:07:56 +03:00
alwx
1eaea101dd Command and argument are misaligned [iOS only] (#1151); Redundant :secure-text-entry value removed 2017-05-03 16:46:40 +03:00
alwx
145e3ba1d4 Invalid phone number error is shown for valid phone number (#1087) 2017-05-03 16:46:07 +03:00
Gustavo Nunes
6e5c8d91dd fix chat long tap not working with input focused 2017-05-03 12:13:09 +03:00
alwx
ddb6344dca Input fixes (#1067, #676), #1110 2017-05-02 18:49:44 +03:00
Andrey Shovkoplyas
05886cc628 fixes https://github.com/status-im/status-react/issues/1138 and https://github.com/status-im/status-react/issues/837 2017-05-02 17:19:26 +03:00
Roman Volosovskyi
72d06426d8 fix #1135 2017-05-02 16:25:00 +03:00
alwx
561c66084c Hide opened keyboard when user taps on chat (#1057) 2017-05-02 13:47:46 +03:00
Roman Volosovskyi
1d532fc820 fix #1124 2017-05-01 11:47:15 +03:00
Roman Volosovskyi
de2e4d105b avoid sending 1-to-1 messages to dapps over shh 2017-05-01 10:14:05 +03:00
alwx
73965c70d7 IP address is not shown for /debug On (#1101) 2017-04-28 17:32:57 +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
deb7b2b617 init command
move commands and responses to :contacts from :chats
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
4e932d9ae8 Chat commands fix 2017-04-27 17:16:12 +03:00
Andrey Shovkoplyas
0d55009388 improved status-bar for android, implemented animated expandable overlay 2017-04-27 13:52:02 +03:00
alwx
9d975c497f Fix for :set-chat-ui-props call 2017-04-25 16:49:05 +03:00
alwx
e34d9fbc49 Emoji and numeric keyboards are shown when tap on /send while emojis are opened (#1056) 2017-04-25 13:57:32 +03:00
Alexander Pantyuhov
8c262d0b07 Upgrade to React Native 0.43 (#1079)
* React Native 0.40 migration (#1076)
2017-04-24 17:50:16 +03:00
alwx
735639776b text-change optimisations (#971) 2017-04-24 12:37:31 +03:00
Andrey Shovkoplyas
e86e622924 hide overlay 2017-04-21 13:01:31 +03:00
Andrey Shovkoplyas
6da18d3fca fixes https://github.com/status-im/status-react/issues/1055 2017-04-21 13:01:31 +03:00
Gustavo Nunes
6b524cf50d expanded toolbar buttons' touch area 2017-04-21 09:14:53 +03:00
Roman Volosovskyi
bafa2820e1 undo bug/#1057 fix 2017-04-20 21:24:23 +03:00
alwx
746d038c05 Hide opened keyboard when user taps on chat (#1057) 2017-04-20 17:24:22 +03:00
Roman Volosovskyi
4f7f5c11c9 fix #1045 2017-04-20 14:25:18 +03:00