Commit Graph

1200 Commits

Author SHA1 Message Date
Julien Eluard 4cd140f701 Added missing spec for :sync-data key 2017-07-12 08:57:13 +03:00
Roman Volosovskyi 06bff32f79 fix handlers-> macro 2017-07-11 20:16:02 +03:00
Roman Volosovskyi 1a997cad39 fix Unhandled JS Exception: Vector's key for assoc must be a number. 2017-07-11 19:12:07 +03:00
Andrey Shovkoplyas 1485e07259 make all specs nilable 2017-07-11 15:06:23 +03:00
Julien Eluard 6e5e6200ab Upgraded to re-frame 0.9.4
Simplify handlers chaining
Moved to reg-sub usage
Use reg-sub 3-arity to remove subscribe calls
2017-07-11 11:03:28 +03:00
Andrey Shovkoplyas f846cb8a92 fixes specs 2017-07-11 10:33:14 +03:00
Andrey Shovkoplyas 21626549d1 implemented spec for app-db 2017-07-10 22:57:36 +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 a2b2851061 upgrade clojurescript to 1.9.671 2017-07-05 11:26:07 +03:00
Tienson Qin 4d73c47e62 status hashtags, android: fix #1247
Summary:

(.startsWith "#你好" "#") not works, but both
(.startsWith "#你好" "#你") and (.startsWith "#abc" "#") works.
2017-07-04 17:32:58 +03:00
nulldash 93889722fe Update Bahasa Malaysia translation
Translated some more, corrected some misspelling and improved some phrase structure.
2017-07-01 20:15:06 +03:00
Mike Jackson 561e0fe77a data-store: update command_parameter schema and create new migration to fix missing placeholders 2017-06-30 19:17:05 +03:00
Matthieu Béteille 8a3b7372ab chat: emoji replace 2017-06-30 17:22:56 +03:00
Roman Volosovskyi 173d4afbf3 letsubs macro (#1392)
* letsubs macro
2017-06-30 16:49:28 +03:00
Roman Volosovskyi 9665ea466d review comments 2017-06-28 17:57: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
Andrey Shovkoplyas cc9b0c32c8
added translations from onehourtranslation 2017-06-28 17:41:20 +03:00
Yalu 9bbd96199f noticed some typos after previous pull request was pulled.
Made a semantical correction for "left" which at first was interpreted as having to do with direction, where actually it was about "leaving".

Made a grammatical correction relating to singular plural usage.

Made comment consistent.
2017-06-28 16:32:01 +03:00
Andrey Shovkoplyas 0b2483bf3b temporary fix for #1369
added new languages, fixed small shortcomings
2017-06-28 13:41:29 +03:00
aissenhub 32359d82b2 Create lv.cljs
Latvia (latvian language)
2017-06-28 12:34:54 +03:00
Cryotech06 310db2b103 Update to FR translation (#1311)
Create fr.cljs
2017-06-28 12:34:54 +03:00
skrinnikov 70d7349fbf bel.cljs 2017-06-28 12:34:54 +03:00
Yooji 52625d8788 Create de.cljs (#1330)
- fixed some typos
- changed some wordings
2017-06-28 12:34:54 +03:00
Kadauserer ac19bb0520 Create de.cljs (#1304)
update de.cljs
2017-06-28 12:34:54 +03:00
JackCandem 1517b02216 "Patch" 1.0
Tried to do it on mobile 2 hours ago and ended up accidentally deleting it...so again:

changed "formal" you to "personal" you as thought it would fit better.
changed several changes, small as well as big ones
will need to play around with the app more to be sure if i interpreted the constellation of some of those translations correctly
2017-06-28 12:34:53 +03:00
Zino Hofmann 655f1e17cc 🇳🇱 Update nl.cljs (#1356)
Update nl.cljs
2017-06-28 12:34:53 +03:00
yāλu dfc3d4939e added Nepali translation (#1346)
added Nepali translation
2017-06-28 12:34:53 +03:00
pedrobraz1990 c6493f6a4a Update pt_br.cljs
Based on whatsapp's words I changed a few translations, also found a couple of typos.
2017-06-28 12:34:53 +03:00
Yooji cc03fdcffa Create de_ch.cljs 2017-06-28 12:34:53 +03:00
Paradontix 2912adf8c9 Create la.cljs
"Hey guys I/we kinda thought whats the best way to advertise your project if not being able to tell that your supporters are actually so dedicated they will even translate your app into a dead language? (I mean there are propably a million better ways...but still) 
WE/I DID IT!
With the best of our/mine school latin and some dictionaries we translated Status into LATIN ! "
2017-06-28 12:34:52 +03:00
Bumsoo Kim de906ba5ef Added missing translation & some improvements 2017-06-28 12:34:52 +03:00
vehbimerakli 6ceab6e158 Create tr.cljs 2017-06-28 12:34:52 +03:00
Wietze Bronkema 2f8cc6b5fe Create fy.cljs (#1314)
Create fy.cljs. Translation of Status for the Frisian language
2017-06-28 12:34:52 +03:00
matte171 01779c8373 Small update 2017-06-28 12:34:52 +03:00
CopyyCatt 052647edac he.cljs (#1296)
Create he.cljs
2017-06-28 12:34:51 +03:00
Foo Pang 4ccc1dcbc4 Update Chinese translations 2017-06-28 12:34:51 +03:00
Guillaume 2c44fe9201 Fix some typos 2017-06-28 12:34:51 +03:00
ayakix 1b286a729c Update ja.cljs 2017-06-28 12:34:50 +03:00
Ante Sarkkinen a061bc5590 Create fi.cljs
Need to check the translations in the app later on.
2017-06-28 12:34:50 +03:00
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
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
Andrey Shovkoplyas 04546fd8f9 fixes https://github.com/status-im/status-react/issues/1062 2017-04-20 17:27:06 +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
alwx 9d6f155c38 Style fixes; Emoji in Display name is cut on Chats, View Profile and Contacts (#945) 2017-04-20 14:23:52 +03:00
Roman Volosovskyi b52428d319 fix #1049 2017-04-20 12:55:00 +03:00
Roman Volosovskyi 949ff2554e fix #1036 2017-04-20 11:21:13 +03:00