Commit Graph

1331 Commits

Author SHA1 Message Date
Dmitry Novotochinov 484e982bdf
Rename 'peer' parameter to 'mailServerPeer' in shh_requestMessages call
To conform to the latest status-go interface

Update status-go build to 'develop-gb7fb51d9'

Remove "from" parameter as it defaults to 0
2017-12-25 20:54:57 +03:00
Dmitry Novotochinov 26dad8cf33
[ref #2764] Add offline messaging settings screen
Screen shows what whisper node we connected to. No adding/editing
allowed yet, screen is ready-only for now.
2017-12-25 20:11:00 +03:00
Vitaliy Vlasov b0b4226680 [FIX #2565] data-store: escape leading tildes in message content 2017-12-25 16:19:32 +02:00
janherich c8168e9ff0
Use the correct group chat id 2017-12-24 01:53:44 +01:00
janherich f3519b975c
Fix stale subscriptions 2017-12-24 01:46:29 +01:00
Foo Pang 43c2f09324 [Fix #2613] Long username is not cut with ... on Discover screen 2017-12-21 21:56:28 +02:00
Foo Pang 1657f189ba Refactor: replace global platform-specific styles with local styles 2017-12-21 16:11:35 +01:00
pablodip 1837623c3a [FIX #2780] hide re-frame warning when reloading 2017-12-21 12:45:42 +01:00
Roman Volosovskyi c84641bd04
with-activity-indicator component
main-tab: render only current tab immediatly on navigation, other three 100ms later
2017-12-21 10:41:53 +02:00
pablodip b28765c38a improve re-frame db spec report 2017-12-21 08:48:38 +01:00
Dmitry Novotochinov 9ca54e9adc
Offline inbox support for public chats
- Add `allowP2P` flag to group messages filter
- Remove `to` option from historic messages whisper request
2017-12-20 15:15:41 +03:00
janherich fecdef4124 Simplify input height management 2017-12-20 09:08:23 +01:00
janherich eb8d0a8a79
Refactored message data-model and view 2017-12-19 12:50:36 +01:00
Roman Volosovskyi 8349379509
fix account creation without status-go 2017-12-18 09:06:20 +02:00
Andy Tudhope a7f8526c88
Merge pull request #2552 from foreseaz/feature/#2528
[feature #2528] separate zh_hant to zh_hant_tw, zh_hant_hk and zh_han_sg
2017-12-17 11:01:14 +02:00
foreseaz 9597e34e79 [feature #2528]
- separate zh_hant to zh_hant_tw, zh_hant_hk and zh_hant_sg
 - add new locales `zh-hant-sg`, `zh-hant-hk`, `zh-hant-tw`
 - fix zh_hant and zh_hans typo and layout
 - update `bots/browse/translations.js` `bots/console/translations.js`
`bots/mailman/translations.js` `bots/transactor/translations.js`
2017-12-17 11:13:28 +08:00
janherich d9a6a627d3
Avoid compiler warnings 2017-12-15 20:35:55 +01:00
Dmitry Novotochinov 6d966b4648
[fixes #2546] Add chat-preview-text component to status.js
Apply default styling for message commands preview in chat
2017-12-15 18:15:03 +03:00
Eric Dvorsak 56c59c741f update react-native and project dependencies
[#bug] fix realm version
2017-12-15 16:06:13 +01:00
Oskar Thoren ce3d5936ec
Offline inboxing: End to end MVP
- Turns on flag for dev and Jenkins
- Change enode to peer in requestMessages arg
- Upgrades status-go to get ssh_requestMessages
- Use status-cluster enode
- Fix Android AddPeer binding bug
2017-12-15 10:29:48 +01:00
Foo Pang 460f6a38e8 [Fix #2640] Cleanup react-native source folder 2017-12-14 16:57:09 +02:00
Audrius cdfe134466 [FIX #1393] Line breaks properly when contact is selected for send command (#2601) 2017-12-14 15:04:16 +01:00
Julien Eluard 2256628c97 Added assets icons and allow to filter tokens 2017-12-08 16:36:38 +01:00
Oskar Thoren 6aed718984
Offline inbox: Mark mailserver as trusted peer with RPC
Also document get-sym-key memoization
2017-12-07 14:01:52 +01:00
Audrius Molis addaeba706 Added password validation for Restore Access flow #1224
Added password validation for Restore Access flow #1224
2017-12-06 16:16:42 +01:00
Dmitry Novotochinov 1e7366be6a [fixes #2523] fix RU translations
add missing :status-sending RU translation
2017-12-06 16:15:12 +01:00
Oskar Thoren 091045a700
Offline inbox: Requests messages on startup
- protocol/web3/inbox: make request-messages work by adding enode peer,
  generating and using symkey, and finally using raw CallRPC for
  shh_requestMessages.

- protocol/core: Clean up log lines
2017-12-06 14:51:12 +01:00
Oskar Thoren 6d5251ad20
Offline inboxing: integrate AddPeer binding
- Add add-peer call to IReactNativeStatus
- Upgrade status-go
- Bindings for addEnode(enode string) in Java and ObjC
2017-12-05 18:52:22 +01:00
Vitaliy Vlasov 5ef8ea4c0c [FIX #2423] ui: fix typo in render-public-chats-item 2017-12-05 16:33:25 +01:00
Goran Jovic feed287457 feature #1996 - navigation from status author name or profile image to profile screen 2017-12-05 16:13:17 +01:00
Roman Volosovskyi 8886bfd5d0
JavaScriptCore jail as alternative for Otto vm 2017-12-05 12:09:34 +02:00
Andrey Shovkoplyas afd7fca6d8 refactored protocol handlers 2017-12-04 23:08:18 +03:00
Oskar Thoren 90a0058a43
Under offline inbox flag: sketch allowp2p, request-messages
- Add OFFLINE_INBOX_ENABLED flag
- Under offline inbox flag: add allowp2p for 1on1 filter
- Add skeleton web3.inbox ns with request-messages
2017-12-04 19:12:50 +01:00
janherich 25d3940d49 More efficient subscriptions 2017-12-04 17:52:39 +01:00
Goran Jovic c38f1ce8a4 feature #1996 - navigation from status author name or profile image to profile screen 2017-12-04 17:40:12 +01:00
Alexander Pantyuhov 3795cd9888 Chat WebView bridge refactoring (#2535) 2017-12-04 13:22:41 +01:00
janherich 4ddbacd612 Fix migrations 2017-12-01 12:14:58 +01:00
Eric Dvorsak 92b22abbef [bug] fix regressions on creating new account 2017-11-30 14:01:47 +01:00
Julien Eluard cfa14ff6b3 [ISSUE #2449] Make sure DApps transaction amount is never nil 2017-11-30 12:29:27 +01:00
Julien Eluard 7f2085fb14 Fixed regression when sending transaction
Remove obsolete realm
2017-11-30 11:04:33 +01:00
Julien Eluard d78e0ca4e9 Fixed regression when sending transaction 2017-11-29 18:35:59 +01:00
pablodip 2dbefb706e supported languages and trans ids
rename test

fix test `supported-locales-are-actually-supported` and improve failing message

fix some coding standards

rename old `str` namespace alias to `string`

fixing cs

rename translation id to label and explain checkpoints

remove non-existent labels in translations

add some comments

add status 0.9.12 as first checkpoint in translations, plus current supported locales

remove non-existent label from base checkpoint and fix locale->checkpoint and supported locales

format checkpoint-0-9-12-labels in several lines

add fn labels-that-are-not-in-current-checkpoint
2017-11-29 17:13:38 +01:00
Eric Dvorsak 7cc3918b8d [bug] check if account is new by checking accounts
previous behavior was using context (which screen we were on) to
determine if account was new or not.

in order to be able to have more straightforward automation this
commit now checks the list of accounts to get that information
which is more accurate and allows to login without navigating screens.
2017-11-29 14:53:22 +01:00
Julien Eluard 3df4a7f1e4 Added ERC20 listing support 2017-11-29 09:56:01 +01:00
janherich 56eb3f7a43 Fix broken realm sorting
This fixes bugs #2520 and #2484
The cause of the bugs is the fact that calling `.sorted` method
on the realm resultset produces another resultset which is sorted
when iterated through `Iterator<T>` interface, but does absolutely
nothing to way how resultset object is serialised (printed out
as JSON).
So when we sorted, printed to json, parsed back through transit
and expected the order to be retained, it was not, and it was
failing quite randomly.
To be precise, it failed in a case where we sorted the resultset
according to some property and picked the top element from the result.
As the top element picking was done AFTER the sorted realm resultset
was converted into cljs datastructure, it was sometimes failing.

This fix just ensures that we select the single element from js
resultset (where sorting info is still retained) and only convert
that single element to cljs (it's also much more efficient).
2017-11-28 16:25:26 +01:00
Julien Eluard 0730420017 [BUG #2228] Implemented wallet filtering screen 2017-11-28 09:14:08 +01:00
Goran Jovic 3545969d87 bug #2210 - alignment and margins for smaller screens 2017-11-27 15:02:48 +01:00
Andy Tudhope e9a07149c1
Merge pull request #2416 from poiga/translation/lithuanian-fix3-2351
Updated Lithuanian translation. Fixes #2351
2017-11-27 10:24:21 +02:00
Goran Jovic 43537fd644 feature #2465 - my token screen layout 2017-11-25 09:26:05 +01:00
m'hammed 319a770872 [bug] fix #2329 Generate username as Unknown for nil and 0 public key 2017-11-23 11:59:10 +03:00
kaichao 6882dc7bcd Translate App Strings to Chinese (Simplified zh_hans) 2017-11-23 11:58:52 +03:00
Andrey Shovkoplyas 4e31d76049 re-frisk new features 2017-11-23 09:55:56 +03:00
Audrius Molis fdf1cf72a5 [FIX #2351] Lt translation fixed.
Lt translation fixed.
2017-11-22 20:13:15 +02:00
Eric Dvorsak 9bf5facb63 [bug] fix error when receiving message from unknown contact 2017-11-22 17:45:50 +01:00
janherich 395f67fffd Fix borked migration 2017-11-22 15:49:34 +01:00
Dmitry Novotochinov 122bcec8b9 [fixes #2447] correct ru translation of validation-amount-invalid-number string 2017-11-21 13:35:37 +01:00
Eric Dvorsak 945ccecf64 [feature] log faucet error 2017-11-21 11:39:47 +01:00
janherich e50d56a4d0 Refactored jail loading + commands/responses 2017-11-21 10:51:15 +01:00
Jan Herich ff0f5b5d56
Merge pull request #2470 from status-im/bug-broken-group-chat-#2418
Fix broken group chats
2017-11-20 16:09:21 +01:00
janherich 16fcef909f Fix broken group chats 2017-11-20 14:20:29 +01:00
Goran Jovic 8700ec77f5 issue #1951 - added a hardcoded snt entry under asset list - hidden behind ERC20_ENABLED flag 2017-11-20 12:05:46 +01:00
Julien Eluard 7e6507be7c [ISSUE #2391] Added support for ERC681 2017-11-16 13:07:33 +01:00
Goran Jovic 6a1dfb7ba4 added Serbian translation - both Cyrillic and Latin script form 2017-11-15 14:59:31 +01:00
Roman Volosovskyi 3d89143d72 set log level from .env configuration 2017-11-15 11:54:41 +01:00
m'hammed 777c9d04bc add missing app strings to french and clean non used ones 2017-11-14 22:09:57 +03:00
Eric Dvorsak 2ff2bfacf0 [bug] fix #1784 db fields passed from one account to the other 2017-11-13 15:25:00 +01:00
Alexander McCormmach 80f9d018f2 chat: hide emoji keyboard when tapping inside chat 2017-11-13 15:22:33 +01:00
Audrius Molis 11cf29ec79 Fixed padding in transaction list. #1880 2017-11-13 15:22:05 +01:00
Frank Yang fa3a435a90 Fixes #2348: Update korean translation (#2359)
* translations: Update korean translation
2017-11-13 08:54:40 +01:00
Eric Dvorsak def864a64b remove :browsing-browse from the translations
it shouldn't be translated because it is the command name
2017-11-13 08:32:42 +01:00
Eric Dvorsak 2e1a8dc6af [bug] fix #2403 can't recover account 2017-11-11 08:14:44 +01:00
Julien Eluard 0d4cbd98e5 [ISSUE #2177] Moved component into ui 2017-11-10 10:49:21 +01:00
Chris Hutchinson c9c5c57980
Merge pull request #2355 from alan-andrade/feature/es-translation
Fixes #2332 Adds Spanish translations
2017-11-09 00:43:30 -06:00
Alan Andrade a6ac180d90 Updates Spanish translations. 2017-11-08 09:58:51 -08:00
Goran Jovic edd4df85f9 bug #2381 - updated statuses are broadcast 2017-11-08 14:55:16 +01:00
fkbenjamin 54209b5190 Translate App Strings to German #2330 (#2364)
* Translate App Strings to German #2330
2017-11-08 11:04:09 +01:00
Alexander McCormmach bf1940bb11 ui: hide chats list item overflow 2017-11-07 21:56:40 +01:00
Roman Volosovskyi d051d0e628 stay at :choose-recipient screen when address is invalid 2017-11-07 17:50:21 +01:00
janherich d39357996b Proceed with move from side-effect to functional 2017-11-07 13:35:12 +01:00
janherich 40e006ef00 Fix some typos in develop 2017-11-07 11:53:25 +01:00
PA a995f73638 Fixes #2333 Update ru.cljs (#2361)
* Update ru.cljs
2017-11-06 15:13:58 +01:00
janherich d2a2bd3fa7 Fix missing translation + bot-id in the jail call 2017-11-06 12:40:25 +01:00
janherich 55164b8eac Refactor adding subscriptions + basic tests 2017-11-06 08:14:10 +01:00
Eric Dvorsak df83cbb987 update realm version 2017-11-04 11:00:14 +01:00
AlessandroSpallina 29e40fa86e Fix #2350: Added Italian translation for OpenBounty (#2357)
* Added Italian translation for OpenBounty, addresses #2350

* Fix #2350: riview from vigliag done
2017-11-03 11:13:13 +01:00
Julien Eluard e334512a01 Migrated toolbar_new/toolbar to toolbar_new/toolbar2 2017-11-02 22:17:51 +01:00
alwx 20e76c21ee Phone number is not updated in profile and shows 'Not Specified' value if use /phone command (#2256) 2017-11-02 11:43:49 +01:00
alwx 0656a3a093 debug -> status-im.commands.handlers.debug (#2285); restructuring of the namespace 2017-11-02 09:37:01 +01:00
Oskar Thorén 2cb5ed07f8 Break v17 migration into two, v17 and v18, due to 0.9.12b release
We want minimial scope for 0.9.12b release so only relevant migrations made it
into that. To ensure a happy upgrade path in future versions, other v17
migrations (all related to pending messages) have been moved into v18.

This means develop will break for current developers, but 0.9.12 -> 0.9.12b
-> (next version / develop after this commit) will work as expected.
2017-10-30 17:13:20 +01:00
Andy Tudhope b3a2ddf2b6 Update en.cljs
Removed unused commands and cleaned up to prepare for other translations.
2017-10-30 09:26:25 +01:00
Goran Jovic 058448eafd added devcon to the list of public chats 2017-10-29 12:44:01 -04:00
Goran Jovic a6f9eb6cea delete any open chats with removed default contacts; remove etherplay and commiteth 2017-10-29 12:25:55 -04:00
Roman Volosovskyi 18ca23accc remove logging of command's parameters 2017-10-29 17:20:33 +01:00
Roman Volosovskyi 5dd2f899ad remove password from db
fix incorrect :bot field in commands and requests
2017-10-27 18:09:00 +02:00
Oskar Thorén 666ec73959 Overwrite default contacts with default.json
Also cleanup migration for changed whisper-identities
2017-10-27 15:40:24 +02:00
Roman Volosovskyi 88d368e970 fix pending messages with symmetric keys 2017-10-27 14:39:42 +02:00
Eric Dvorsak bdf962a140 Fix semantics of request-contacts-by-address 2017-10-27 09:42:43 +02:00
janherich bf71df17b5 Finish jail-call deduplication 2017-10-27 09:41:17 +02:00
Goran Jovic ef27444ba8 bug #2222 - dapp name in two lines and centered 2017-10-27 09:40:50 +02:00
Roman Volosovskyi 8b2fa695af fix wallet contact migration 2017-10-25 11:21:43 +02:00
Roman Volosovskyi 21a80d71ad migrations for command-requests and commands wit nil :bot 2017-10-25 08:54:30 +02:00
Oskar Thorén 1e9ed89a7f Discover: Public chats preview style fixup 2017-10-24 15:41:00 +02:00
Oskar Thorén f37a5a39a7 Discover: Public chats hooked up, hardcoded topics 2017-10-24 14:42:51 +02:00
Oskar Thorén 2e57d476a8 Discover tag search screen: Fix margins and some nice to haves 2017-10-24 13:46:25 +02:00
janherich 429ec89c62 Remove phone asking message 2017-10-24 13:04:10 +02:00
Goran Jovic b00ebe5e02 bug #2281 - wrong hashtags in discover main screen 2017-10-24 12:44:06 +02:00
Andrey Shovkoplyas 33bda2ca26 removed usused server ns 2017-10-24 11:08:22 +02:00
Andrey Shovkoplyas 0822e5a9bd fixed send from profile 2017-10-23 15:07:51 +02:00
Andrey Shovkoplyas 38db60eabe request from wallet 2017-10-23 14:53:56 +02:00
Goran Jovic 7bbd6cc6c6 bug #2270 - wrong username in received discoveries 2017-10-23 14:53:30 +02:00
janherich 0ccfefa6c3 Fix bot subscriptions 2017-10-23 14:06:35 +02:00
Oskar Thorén ec2d3a77a7 [FIX: #2262]: DApp description for default contacts (partial fix)
Adds description to default contacts load. Partial fix in the sense that
overwriting contacts don't work yet. Add description key to v16 migration.
2017-10-23 12:07:24 +02:00
Andrey Shovkoplyas 29030db2b6 browse from message bug 2017-10-23 11:55:06 +02:00
Andy Tudhope a8baf43681 Update en.cljs
Change public key info message
2017-10-23 11:54:16 +02:00
Julien Eluard e80db63ede [BUG #2251] Added proper margin around warning text 2017-10-23 09:52:16 +02:00
Vic Shybaiev 95d2a6b1ee [bug #2255] Fixed the accidentally deleted line in the translations file en.cljs 2017-10-21 12:55:57 +02:00
Vic Shybaiev 4a7663c741 [bug #2260] Fixing the Etherscan domain name 2017-10-21 12:38:40 +02:00
Vic Shybaiev 2d010e81c7 [bug #2259] Fixing the misleading message about purpose of the public key 2017-10-21 12:23:49 +02:00
Roman Volosovskyi 0ebd4fbd33 fix showing twice word ETH 2017-10-21 07:56:37 +02:00
Roman Volosovskyi 88326d4b56 remove NETWORK_SWITCHING flag 2017-10-20 18:46:07 +02:00
Oskar Thorén 0f97f16a38 [BUG #2242]: Quickfix to make phone command reanswerable again 2017-10-20 18:40:12 +02:00
Eric Dvorsak 070c8bd91a [bug] fix scientific notation on main wallet screen 2017-10-20 16:44:08 +02:00
Goran Jovic bd7f256e83 - #2084 - discover dapp profile pixel perfect nice haves 2017-10-20 15:25:10 +02:00
Oskar Thorén eaa63c265e [BUG #2241] Fullscreen webview don't overlap topbar 2017-10-20 13:18:23 +02:00
Julien Eluard 0273043265 [ISSUE # 2233] Fixed crash when showing QR code 2017-10-20 13:16:43 +02:00
Roman Volosovskyi 4c4cf7a5e4 fix /request preview
fix duplication of /send command in suggestions
2017-10-20 13:13:51 +02:00
Eric Dvorsak 2a166c3a37 [bug] fix #2243 align network badge and connect button 2017-10-20 13:13:31 +02:00
alwx 9e1d289a9b 2167: Web3 suggestions are missing in Console chat 2017-10-20 11:46:26 +02:00
alwx b6f7cc8629 #2185: After upgrade faucet, send and location messages are shown as plain text, request is shown without a text 2017-10-20 11:46:26 +02:00
Goran Jovic 74e81f7faf bug #2205 - discover all links are disabled when empty 2017-10-20 11:40:18 +02:00
Roman Volosovskyi 7dd0ba21a2 hide mainnet networks in prod build 2017-10-20 09:41:31 +02:00
Andy Tudhope 576ece4032 Update en.cljs
Latest changes from Vic
2017-10-20 09:25:29 +02:00
Andy Tudhope 06772c4c42 Update en.cljs
Grammar fixes, consistency across contexts, and some good ol' content changes.

Some minor content changes for better, clearer explanations.
Lots of spelling and grammar changes.
Most of the grammar changes were to capitalised letters (which I have made at least consistent in different contexts) and whether or not the prompt ends with a full stop (again, context dependent)

status: ready
2017-10-20 09:25:29 +02:00
Andrey Shovkoplyas 01b1f2da4b No option to recover immediately after a fresh install. #741 2017-10-20 08:49:35 +02:00
Julien Eluard dba52f9de7 Use unique etherscan key 2017-10-20 08:40:38 +02:00
Andrey Shovkoplyas 780efc3ac1 added transaction sent modal 2017-10-19 12:05:01 +02:00
Eric Dvorsak aeee3a6583 [bug] #2144 warning not shown when app is syncing 2017-10-18 23:55:30 +02:00
Andrey Shovkoplyas fd09a16ca5 close send screen and show alert if error 2017-10-18 18:12:38 +02:00
janherich e8602eb3bd Display time in transaction history list
Also make `[list/item-content]` element more modular and reusable
as it was necessary to accomplish the task.
2017-10-18 17:31:48 +02:00
alwx 1eba86b7bf Command scopes spec fix, removed contacts leftovers 2017-10-18 16:06:51 +02:00
Eric Dvorsak 3b824d1821 [feature] user feedbacks related to unsigned transaction
- in unsigned transaction tab, show the transaction sent screen when user
signs a transaction
- in send command flow, show dialog when users want to sign later
2017-10-18 10:10:18 +02:00
Andrey Shovkoplyas e1d655789d handle signing error 2017-10-18 10:07:29 +02:00
janherich 4062eed675 Properly clearing `[:wallet :send-transaction]`
This PR fixes the fact, that `[:wallet :send-transaction]` path
in db was not properly cleared in some cases, which demonstrated
as couple of the subtle issues (like that you were taken straight
to the signing state on tx-modal in when sending `/send` command
and some tx was sent previously from wallet, and some quite serious,
like #2197, which was caused by password info not properly cleared
between multiple invocations of the `/send` command.
2017-10-18 10:04:51 +02:00
Eric Dvorsak 22f39e88c0 show warning when app is syncing 2017-10-18 10:02:18 +02:00
Eric Dvorsak dea6bdb2ca add positional argument for hiding tabs to swipable-tabs component
- makes it possible to hide the tabs in a view under certain conditions (e.g
when the keyboard is displayed)
- hide tabs in main screens when the keyboard is displayed
2017-10-18 09:57:20 +02:00
Roman Volosovskyi f22cf27a66 fix undeclared var 2017-10-18 09:56:13 +02:00
alwx 712b1d3a61 wallet bot has been removed completely 2017-10-18 09:56:13 +02:00
Andrey Shovkoplyas 23c663f3ef returned network-badge 2017-10-17 18:51:44 +02:00
Goran Jovic e6f8eec7c5 #2084 - proper sizes of open icon and button 2017-10-17 18:49:06 +02:00
Julien Eluard eea4eeb549 [BUG #2189] Do not clear user set amount when scanning QR code 2017-10-17 17:31:31 +02:00