Commit Graph

855 Commits

Author SHA1 Message Date
nulldash 53f4f9a08a Create ms.cljs
Translation for Bahasa Malaysia
2017-06-28 12:34:50 +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
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 fc7cc1d795 Clear :last-message when clearing chat history. Fixes #212 2017-06-26 18:43:08 +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
Julien Eluard 5e5b4fa2cf Tap on return permits sign-in. Fixes #1285 2017-06-26 13:18:05 +03:00
Andrey Shovkoplyas 63bf882e65 fixes https://github.com/status-im/status-react/issues/1217 2017-06-26 13:14:45 +03:00
Julien Eluard 7da40ce7fa Do not prevent input if first character is invalid 2017-06-26 10:50:19 +03:00
Julien Eluard 2ab9e4e85e Clear Seq arguments before navigating back to chat. Fixes #1355 2017-06-26 10:49:29 +03:00
Andrey Shovkoplyas 6d3edd7920 fixes https://github.com/status-im/status-react/issues/1325 2017-06-26 10:46:11 +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
matte171 111c6f3ae0 Update da.cljs
Major update with new sentences from en.cljs
2017-06-05 08:51:37 +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 6921587e13 Navigation in drawer (#1261)
* navigation in drawer

* fix indentation
2017-06-02 17:35:59 +03:00
Roman Volosovskyi ec469f59b1 schedule :check-sync outside callback (which can be not called after locking/unlocking phone) 2017-06-01 11:10:36 +03:00
Roman Volosovskyi 45a08d7643 prevent unecessary :preview calls to jail 2017-06-01 10:55:46 +03:00
Mike Jackson 30ef161afa Bug: Can't set status with #\ (#1245) (#1252)
* escape queries correctly when querying realm
* kill dead code
2017-06-01 10:22:19 +03:00
alwx 2c90faab86 No more react-native-network-info, updated /debug command response 2017-06-01 10:18:04 +03:00
Andrey Shovkoplyas 1a3e346543 fixes https://github.com/status-im/status-go/issues/120 2017-05-30 16:16:18 +03:00
Julien Eluard 034ff3e413 Fixes #1220 Do not let catch escape 2017-05-26 17:34:37 +03:00
Gustavo Nunes 01fabc243d bold username in android 2017-05-26 17:22:45 +03:00
Gustavo Nunes 4c396a130e fix hour format 2017-05-26 17:22:45 +03:00
Gustavo Nunes e52b2c27dd drawer UI refresh 2017-05-26 17:22:45 +03:00
Gustavo Nunes 1119142913 fix #1234 2017-05-26 17:20:26 +03:00
Gustavo Nunes a623c02d53 android device back button goes back in webview #1204 2017-05-26 17:19:47 +03:00
Gustavo Nunes dd976fb2af fixes #1215 2017-05-26 17:18:51 +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
Julien Eluard edd191b705 Fix broken build 2017-05-24 10:13:50 +03:00
Andrey Shovkoplyas d358c33d9d open chat 2017-05-23 15:16:17 +03:00
Julien Eluard 9c6e5e4984 Fixes #1222 Do not crash when sharing null address. 2017-05-23 11:09:27 +03:00
Julien Eluard 48709aced3 Fixes #919 Confirmation dialog for the delete actions 2017-05-22 17:10:31 +03:00
Roman Volosovskyi e16b93fbd0 logging to Instabug 2017-05-19 23:35:17 +03:00
Roman Volosovskyi 0deca1f874 upgrade instabug 2017-05-18 16:12:40 +03:00
Roman Volosovskyi 88cee34997 disable Instabug for development env 2017-05-18 11:30:17 +03:00
alwx f165492b33 Devtools 3.0 support 2017-05-17 13:00:45 +03:00
Roman Volosovskyi 0919b4364e use :topic instead :topics for pending messages from realm 2017-05-17 12:58:33 +03:00
Roman Volosovskyi 4655323fbb migrate to new shh api 2017-05-15 08:12:03 +03:00
matte171 baada8b07f da.cljs
Danish translation. Using the Swedish translation as template.
2017-05-11 13:39:08 +03:00
Andrey Shovkoplyas 6433676f51 fixes https://github.com/status-im/status-react/issues/1016 2017-05-11 13:36:59 +03:00
Julien Eluard 0df5a59e87 Fixes #1180 Cleanup navigation stack when creating public group 2017-05-11 13:31:31 +03:00
Gustavo Nunes 27de707035 fix #1171 2017-05-11 13:27:03 +03:00
Andrey Shovkoplyas c277260b59 fixes https://github.com/status-im/status-react/issues/1170 2017-05-11 11:53:43 +03:00
Andrey Shovkoplyas c46d686632 fixes https://github.com/status-im/status-react/issues/1191 2017-05-10 16:45:53 +03:00
Roman Volosovskyi d4f2983a09 geolocation permissions request on android 2017-05-09 11:59:48 +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 1010dedca9 fix #1173 2017-05-05 16:05:26 +03:00
Roman Volosovskyi e333c12d35 add loading indicator to webview 2017-05-05 13:25:12 +03:00
Roman Volosovskyi 2780e24f04 prevent loading bot's js using dapp-url/commands.js 2017-05-05 12:37:42 +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 808aa46f4f App asks for Microphone access while user tries to scan QR or capture an image (#1148) 2017-05-05 11:18:37 +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 3936d85c77 fixes https://github.com/status-im/status-react/issues/1163 2017-05-04 16:40:12 +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
Gustavo Nunes 0359c2819b fix #1117 2017-05-04 12:17:01 +03:00
Gustavo Nunes b5edab5a21 fix #1157 2017-05-04 12:16:29 +03:00
Gustavo Nunes d533d48402 fix #1154 2017-05-04 12:16:13 +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 93c47904e9 popup menu position 2017-05-03 15:17:30 +03:00
Gustavo Nunes faa146a35d bigger tap area for buttons 2017-05-03 15:17:30 +03:00
alwx a8566759b5 App crashes if access to camera was denied and user tries to scan QR or capture image (#1134) 2017-05-03 13:29:41 +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
alwx 1a88b647b4 No camera is shown if scan QR. White screen is shown instead. (#1120) 2017-05-01 19:24:59 +03:00
Roman Volosovskyi 0c53936d61 fix #1123, fix #1122 2017-05-01 18:53:46 +03:00
Andrey Shovkoplyas fa94340b6a fixes https://github.com/status-im/status-react/issues/871 2017-05-01 14:00:12 +03:00
Roman Volosovskyi 2f1271e6af fix #1118 2017-05-01 12:10:01 +03:00
Roman Volosovskyi 1d532fc820 fix #1124 2017-05-01 11:47:15 +03:00
Roman Volosovskyi 6a20f9040c fix #1112 2017-05-01 11:00:48 +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
Gustavo Nunes d1ec220710 fix action button position 2017-04-28 17:32:04 +03:00
bitzco 97f1c123d9 id.cljs 2017-04-28 17:04:43 +03:00
alwx 504e3493ef Runtime permissions (#762) 2017-04-28 16:45:01 +03:00
Roman Volosovskyi a62d19c7bb :update-suggestions after command'sloading 2017-04-28 15:08:53 +03:00
Roman Volosovskyi 19d65a4d46 fix #987 2017-04-28 15:08:53 +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
Roman Volosovskyi a9d1426426 sendWeb3Request method in StatusModule 2017-04-25 11:00:58 +03:00
Gustavo Nunes 441ca66e96 switch to completeTransactions exposed method 2017-04-25 08:43:01 +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 eeb7d72d4a fixed top margin for android 2017-04-24 10:17:13 +03:00