Commit Graph

1710 Commits

Author SHA1 Message Date
Foo Pang ce34bb4349
Fix broken spec validator for screen params
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-02-15 17:31:57 +01:00
Roman Volosovskyi c8ba9bd074
clean non-working dapps
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-14 17:49:33 +03:00
Eric Dvorsak 85ed3b3686
Revert "upgrade rn-camera (attempt to fix #3289)"
This reverts commit 032c5b42eb.

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-14 14:54:20 +01:00
janherich 86aea8a623
Effects should be dumb, without any logic 2018-02-14 14:19:34 +01:00
Julien Eluard d74b27f951
[ISSUE #3241] Do not use hardcoded gas price
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-14 12:27:02 +01:00
Roman Volosovskyi 032c5b42eb
upgrade rn-camera (attempt to fix #3289)
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-14 12:26:25 +01:00
Roman Volosovskyi 8fa22831ee
fix location/phone commands migrations #3256
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-14 12:24:53 +01:00
janherich 0b8356a96e
Fetch short preview during sending 2018-02-13 17:11:55 +01:00
Goran Jovic d1fbde8a40
feature #3243 - contact profile screen cleanup
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-13 17:55:39 +03:00
Goran Jovic 7e1376aeaa
bug #3300 - updated leftover sub after rebase
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-13 14:45:06 +03:00
Julien Eluard ab5f1aef37
[ISSUE #3213] Allow to reset gas details
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-13 12:10:15 +01:00
Foo Pang eba8df6703
[Fix #2719] App does not fit on iPhone X screen
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-12 20:57:07 +03:00
Goran Jovic 8696629b66
bug #3232 - fixed profile image setting
Signed-off-by: alwxndr <alwxndr@gmail.com>
2018-02-12 11:44:18 +01:00
alwxndr ce524507da
[#3006]: No more search features
Signed-off-by: alwxndr <alwxndr@gmail.com>
2018-02-12 11:42:48 +01:00
Julien Eluard 1e262fc277
[ISSUE #3208] Removed ContextMenu usage
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-09 17:35:28 +03:00
Julien Eluard 748b0fcf09
[ISSUE #2883] Migrate wallet/request to latest mockups
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-02-08 16:22:33 +01:00
Goran Jovic 96f08abc7d
refactor #3141 - replaced :refer with :as in ui.components
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-02-08 15:35:34 +01:00
Foo Pang 90863f1670
[Fix #2987] Improve screen navigation
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-02-08 11:44:52 +01:00
Dmitry Novotochinov faa690950f
align
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 20:53:14 +01:00
Dmitry Novotochinov ddb15863f1
[refs #3055] increase number of retries before mark-trusted-peer call 2018-02-07 20:53:08 +01:00
Julien Eluard 52cc220f21
[ISSUE #3246] Fixed regression when opening URL
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 20:45:36 +01:00
janherich c7e34ed122
Use blocking puts 2018-02-07 16:07:29 +01:00
Eric Dvorsak 0b0405d9a5
[fix #3163] remove phone command
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 15:48:53 +01:00
Foo Pang 8582be2e69
[Fix #2751] Allow switching between wnodes for offline messaging
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 08:29:27 +01:00
Hanwen Cheng 3b6b987db4
Fix #3145 Update Ethereum to Ether asset name
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 08:27:36 +01:00
janherich 3c406b24bb
Remove obsolete `:on-send` checking 2018-02-06 16:08:12 +01:00
Andrey Shovkoplyas 2e669ef525
introduced new, new chat, open dapp screens
Signed-off-by: Andy Tudhope <tuddy0525@gmail.com>
2018-02-06 15:18:19 +02:00
Alexander Pantyuhov 790655b6cf Post-merge issues - greek translation, correct namespaces (#3215) 2018-02-06 01:21:37 +08:00
Foo Pang cd90e59325
[Fix #2408] Alternative setTimeout for long timers
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-02-05 23:44:42 +08:00
Julien Eluard d958c96d67
[ISSUE #2881] Updated wallet / send transaction to latest design
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-02-05 23:14:42 +08:00
Konstantinos Raptis 1046560498
Added Greek translation
Signed-off-by: Andy Tudhope <tuddy0525@gmail.com>
2018-02-05 17:10:27 +02:00
janherich 80fb8dde8b
Read at startup & write through async queues 2018-02-05 12:28:08 +01:00
Eric Dvorsak 8e7bf6eab4
Format translations
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-05 10:18:04 +01:00
Eric Dvorsak dc646b2ad3
[fix #3127] fix wrong branch order in conditional statement
Fix bug where user could not go back to account selection after
tapping create new account

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-05 09:20:14 +01:00
Audrius Molis cf83725ef1
Replaced incorrect aget access FIX #3067
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-02-02 20:27:34 +03:00
Foo Pang ae04dde8ba
[Fix #3076] Separate figwheel from dev lein profile
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-02-02 17:02:45 +03:00
alwxndr 03e62548a6 [#3007] Removed location command 2018-02-01 22:25:50 +01:00
Alexander Pantyukhov 74f9ea32a3
[fix #1604]: Commands send, request, location are sent several times if quickly tap on send button
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-02-01 19:16:53 +03:00
Dmitry Novotochinov 008f877cd6
Check admin.peers() before markTrustedPeer() call
addPeer() doesn't add peer right away so markTrustedPeer() could fail.
2018-02-01 14:29:53 +03:00
Jakub Dušek 8f1bc58b4b
[FIX #3136] Add a line under profile image when editing profile
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-01-30 16:48:31 +01:00
Andrey Shovkoplyas 7e78acc0cc
implemented browser , removed browse command 2018-01-30 16:19:59 +03:00
Roman Volosovskyi 1ba7c33868
improve navigation duration 2018-01-30 13:52:38 +02:00
Roman Volosovskyi f65e200fca
integrate rn-snoopy https://github.com/status-im/rn-snoopy
add warnings on suspicious activity in RN bridge communication
2018-01-29 21:45:51 +02:00
Roman Volosovskyi c4151534fb
send correct username in public group chat message and show it 2018-01-26 13:42:51 +02:00
Goran Jovic 5ecdb174e2 feature #3052 and #3054 - edit profile and qr code viewer 2018-01-25 14:22:04 +01:00
Andrea Maria Piana 334b15961c
Refactor add-contacts & add-pending-contact
We wanted to move towards having multiple functions
manipulating the data rather than relying on a chain of
dispatched events.

I have refactored ui.screens.contacts.events so that now the
functions mainly manipulate fx, passed as a first parameter.

Their responsability is to make sure their fx are merged in, so
that they can be composed more easily.

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-01-24 18:13:52 +01:00
Andrea Maria Piana 7012125024
Add :add-pending-contact-and-open-chat handler 2018-01-24 18:13:36 +01:00
Andrea Maria Piana 3a65dcd3c2
Start chat when user adds a pending contact from the "new contact" view
When a contact is removed it is set to pending?.

If the same contact is added again we now dispatch a :start-chat event
which initiate a 1-1 chat with them.
2018-01-24 18:13:36 +01:00
Eric Dvorsak 63afd37921
[fix #2985] Show sent transaction immediatly in history 2018-01-24 09:27:10 +01:00
Julien Eluard b3e2a610f1
[ISSUE#3105] Fixed section renderer data access 2018-01-23 18:17:24 +01:00
Julien Eluard 4dd9b9c18c
[ISSUE#3099] Do not hardocde list item height 2018-01-23 18:09:08 +01:00
Dmitry Novotochinov b7dadc78c2
[fix #2754] Don't update contact with old data
When contact-request message arrives, it may contain outdated info
about contact including old profile picture.
2018-01-23 18:57:49 +03:00
Dmitry Novotochinov 9f35d265c8
[fix #3091] fix edit group chat contact list 2018-01-23 14:26:25 +03:00
Goran Jovic ef57a5ca35
feature #2906 - new profile screen 2018-01-22 12:21:34 +01:00
Roman Volosovskyi 54e83c584d
set useNativeDriver to true in request-button animation 2018-01-19 17:08:04 +02:00
Julien Eluard 07fecc4e28
[BUG #3083] Added extra delete options to current menu 2018-01-18 15:21:47 +01:00
Andrea Maria Piana 0b035cfad7
Remove unused erc20-enabled flag
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-01-18 10:02:00 +01:00
janherich dff107f669
Add react key metadata to messages list 2018-01-17 21:11:53 +01:00
Oskar Thoren 3cdb05e5b8
Perf experiment spike: Change 1on1 send/filter to partial pub-key
- Add MANY_WHISPER_TOPICS_ENABLED flag
- Jenknisfile.parameters
2018-01-17 17:15:39 +01:00
Mikhail Gusarov 4a08d2a818
[FIX #1048] Localize timestamps in chat history
If current locale is xx-YY, looks up xx_YY first, xx then and finally
falls back to us.

goog.i18n.DateTimeSymbols database is used for localization.

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-01-17 17:06:44 +01:00
Eric Dvorsak b8ddc2b16b
[fix #3057] fix chat-contact.identity must be of type string error 2018-01-17 16:34:49 +01:00
Dmitry Novotochinov 17e886da11
[experiment #3038] Add buffer to process incoming messages asynchronously 2018-01-17 16:31:02 +01:00
janherich 8396442847
Change messages subscription 2018-01-17 15:57:34 +01:00
Julien Eluard fc92dafca6 Fixed android build script.
Upgraded to latest dependencies and removed useless plugins.
2018-01-17 14:56:52 +01:00
Julien Eluard d05f50db62 [BUG #2881] Migrated wallet main screen to latest mockups 2018-01-17 10:36:43 +01:00
Foo Pang e35edf1e90
[Fix #2810] Support markTrustedPeer in web3.js
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-01-16 19:14:57 +03:00
Foo Pang fe697bfcc8
[Fix #2809] Support requestMessages in web3.js
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-01-16 18:56:16 +03:00
Andrea Maria Piana 29657a08de
Add back icons/chats icon
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-16 23:52:02 +09:00
janherich eb17f24f0b
Fix realm migration 2018-01-16 14:48:10 +01:00
Eric Dvorsak 5c359886e5
[feature] refactor discover events
use re-frame idiomatic register-handler-fx, reg-fx and coeffect.
the events are still not free of side-effects as there is some
db calls involved which will be taken care of in a future PR

it also reduces the events fired at app init from 3 to 1
discover-related event
2018-01-15 16:18:24 +01:00
Dmitry Novotochinov 5f02e4287f
Refactor offline inbox events
- Add error handlers
- Memoize calls to add-peer and mark-trusted-peer
- Use re-frame events to control flow
2018-01-15 12:43:38 +03:00
Eugene Zadyra 485db2f35a
Fixed #2334. Translated App Strings to Ukrainian
Signed-off-by: andytudhope <tuddy0525@gmail.com>
2018-01-14 17:59:13 +02:00
dumiz eab79e8a0f
Update ja.cljs
address review comments

address review comments

minor change

Signed-off-by: andytudhope <tuddy0525@gmail.com>
2018-01-14 09:13:59 +02:00
janherich 4ce70f86fb
Remove message data remnants 2018-01-13 22:09:32 +01:00
Goran Jovic 9f9d788e2c restored the previously removed switch user ie logout action 2018-01-13 16:39:42 +01:00
Foo Pang 343f5c1e8e
[Fix #2900] Unread badge counter doesn't fit large numbers
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-13 03:53:10 +09:00
Goran Jovic 8e5fc1d6f1
bug #2949 - resolved unset gas info after send from chat 2018-01-13 03:47:51 +09:00
janherich 2f6742cdc7
Fix id->message-id 2018-01-13 01:26:12 +09:00
janherich 24d0b68c1f
Async audit 2018-01-13 01:26:11 +09:00
Oskar Thoren 87dc4ead85
Revert "Async audit"
This reverts commit e379168452.
2018-01-13 00:09:41 +09:00
Oskar Thoren 00d665b2d5
Revert "Fix recur in go-loop"
This reverts commit bd6adac02b.
2018-01-13 00:09:19 +09:00
Alexander Pantyukhov a40f9bc8c1
[fix #1604]: Commands send, request, location are sent several times if quickly tap on send button 2018-01-12 23:12:50 +09:00
Eric Dvorsak 65f2f51632
[fix #2426] prevent sending same command multiple times 2018-01-12 23:11:06 +09:00
m'hammed 91a7dc2cdf
[BUG #2419] Adapt description text input size to make it not overlap with save button. And make parent view scrollable
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-12 22:51:37 +09:00
janherich bd6adac02b
Fix recur in go-loop 2018-01-12 12:59:18 +01:00
janherich e379168452
Async audit 2018-01-12 12:47:46 +01:00
janherich 2b405d4d6c
Fix chat list rendering 2018-01-12 11:37:00 +01:00
Andrey Shovkoplyas 8b6f007313 fixed tests 2018-01-12 12:10:15 +03:00
Andrey Shovkoplyas a3cffebb23 code review, renamed chats-list to home 2018-01-12 12:10:15 +03:00
Andrey Shovkoplyas d582e6e366 reworked main tabs, removed swiper and drawer npm libs 2018-01-12 12:10:15 +03:00
Dmitry Novotochinov 350fc7aa03
[fix #2870] Mark 1-1 chat as inactive when user removes it 2018-01-11 19:17:19 +03:00
Julien Eluard b76095e599
[BUG#2417] Update balance when sending request from chat 2018-01-11 18:39:55 +09:00
Oskar Thoren 413f9c2fad
Introduce OFFLINE_INBOX_MANY_ENABLED flag for perf quickfix
Since offline inboxing and desktop were introduced, we went from testing with
~10 messages to ~1000 messages. This surfaced inefficiencies such as this issue.
It also means someone who joins a public channel such as #status will experience
significant lag when signing in. To remedy this, we put offline inboxing for
public/group chats under a flag until the underlying perf issue has been
resolved.
2018-01-11 18:32:22 +09:00
Dmitry Novotochinov df96d6e826
[fix #2924] change currency font color to white on send screen for android 2018-01-10 21:35:06 +03:00
Julien Eluard 7cb9e09c08 [BUG#2882] Improved wallet asset selection 2018-01-10 13:35:03 +01:00
Goran Jovic b1f49a7730
bug #2950 - missing action buttons in unsigned transactions list 2018-01-10 17:09:25 +09:00
janherich d98f3846fd
Fix group commands 2018-01-09 17:00:13 +01:00
Eric Dvorsak c99af08c4f
[fix #2903] fix arity bug on iOS
also use ListEmptyComponent prop for section-list
2018-01-09 15:18:18 +01:00
Eric Dvorsak 7685b43049
use not= 2018-01-09 15:12:56 +01:00
Eric Dvorsak c0ba70c28a
[fix #] pass network-status to account app-db
when login offline the offline gray box was not shown in chat-list
and the fix in #2314 would not work in that case
2018-01-09 15:12:56 +01:00
Eric Dvorsak 156089b07b
[fix #2314] do not try to update wallet and transactions when offline 2018-01-09 15:12:56 +01:00
Dmitry Novotochinov dc61971608
Fix "Invalid arity: 0" error on sign screen
flat-list fails when :separator parameter provided.
2018-01-09 17:09:56 +03:00
janherich 201484f37f
Faster msg status updates 2018-01-09 15:00:06 +01:00
janherich 1ec7053aee
Remove status message from messages stream 2018-01-09 12:54:27 +01:00
Eric Dvorsak 4fe3c63923
[fix #2957] no matching clause error in transaction details
symbol is a string, add readable error in case happens again
2018-01-09 09:23:32 +01:00
Julien Eluard b5735230ff
[BUG#2927] Fixed regression when showing transaction detail 2018-01-08 23:07:23 +09:00
Julien Eluard f90e1a4ed3
[BUG #2029] Properly handle gas details from payment requests 2018-01-05 22:44:12 +09:00
Oskar Thoren 751998e980
Intercept received messages and queue them
- Exposes behavior under QUEUE_MESSAGE_ENABLED flag that is turned off in
production.

- Delays messages to allow for reordering of latecoming messages up to 500ms
2018-01-05 17:25:27 +09:00
Igor Mandrigin d35ba2544e
[FIX #2530] Create `catalog` variable on client-side.
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-05 15:55:44 +09:00
Taylor Dawson db293e7ad5
Removed NOTIFICATIONS_WIP_ENABLED flag
fixes #2813

status: ready
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-05 15:54:44 +09:00
Goran Jovic 5a58211703 bug #2899 - using /send command always uses ETH currency 2018-01-04 15:34:33 +01:00
janherich 52ddccca96
Refactored statuses 2018-01-04 13:49:21 +01:00
Julien Eluard 7c4d2f2ece [ISSUE #2642] Allow to send ERC20 tokens 2018-01-04 09:29:49 +01:00
Julien Eluard 7c8aa75724 [ISSUE #1840] Migrated to FlatList 2018-01-03 16:20:28 +01:00
pablodip e273568544
hide react native long timeout warning [ref #2408]
Signed-off-by: andytudhope <tuddy0525@gmail.com>
2018-01-02 21:05:36 +02:00
m'hammed 01d993c32e
[bug] fix #1379 change "Unknown contact" message to "Anonymous contact"
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-02 20:37:11 +09:00
Oskar Thoren bb69995aa4
Introduce 'pre-receiver' for more intuitive message order
Includes tests and explanation of logic. Doesn't change any behavior, just
provides a new capability to be used when messages are received.
2018-01-02 19:00:46 +09:00
nrakochy c531ece0bd [FIX #2620] Refactored doall dispatch into single event and fixed component navigation flag 2017-12-28 18:02:57 +02:00
janherich 77b966c864 Send message refactoring 2017-12-28 15:06:15 +03:00
Vitaliy Vlasov 9f15a2db71 [FIX #2118] ui: store search-key under [:toolbar-search :show]
Chat list used to store booleans under [:toolbar-search :show] which is
different from other views and caused the issue described in #2118.
2017-12-27 10:35:08 +03:00
Foo Pang 792e599dd4 [Fix #2775] Discover: Popular hashtags counter is misplaced 2017-12-27 10:33:41 +03:00
Foo Pang 3e8ce2d6d7 [Fix #2683] Do not run sync state loop on upstream RPC networks 2017-12-27 08:40:18 +02:00
Stefan Parviainen 5206f297cf Add swedish as supported language 2017-12-26 18:26:33 +02:00
Stefan Parviainen 6edfff84d5 A few more fixes for swedish translation 2017-12-26 18:26:33 +02:00
Stefan Parviainen dc83a50815 Fix some problems with swedish translation 2017-12-26 18:26:33 +02:00
pafcu 7f408bb2e8 Update swedish translation
Closes #2335
2017-12-26 18:26:33 +02:00
Foo Pang e804ae25e7 [Fix #2590] Blank QR code on a quick double tap of the 'Show QR code' 2017-12-26 18:14:52 +02:00
janherich 1c85797121
Generate `:short-preview` when msg received 2017-12-25 20:28:27 +01:00
alwx a813ff9e9f Chat refactoring: updated console (former sign-up) namespace 2017-12-25 22:16:01 +03:00
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
Goran Jovic 1c43702c32 #2078 - alignment in discover main - empty states 2017-10-17 15:46:15 +02:00
Andrey Shovkoplyas 3ed2fb6a07 fixed wallet ui issues 2017-10-17 14:53:07 +02:00
Oskar Thorén 86b8a38f08 Recent statuses pixel perfect must haves (+ popular bonus)
- fix bug where toolbar wasn't ready with zero statuses
- fix toolbar center and margin to top
- fix grey background missing
- fix top status text margin from the top of the card
- fix separation lines between statuses edge to edge
- margin with chat icon to bottom 12

Also apply same to popular hashtags for consistency
2017-10-17 14:25:53 +02:00
Eric Dvorsak 0564551782 [bug] fix #2132 clear unsigned transactions when switching account
- works with PR #2137
2017-10-17 14:21:47 +02:00
Eric Dvorsak 0707af2ad6 [bug] fix #2128 No feedback on insufficient funds from unsigned
- move current unsigned-transaction to wallet
- move some logic from view to subscriptions and events
2017-10-17 14:21:47 +02:00
Goran Jovic 71a3cda5d5 #2083 - dapp profile styling must haves 2017-10-17 13:12:12 +02:00
Oskar Thorén f1f43258fb Discover pixel perfect: Main screen and empty main screen
Addresses all non-test must haves except "All content hidden behind right edge on smaller screen (check 5s)"

- Main screen (empty): fix topbar margin
- Main screen: Font size name (and dapp list item)
- Main screen: Get rid of popular hashtag border
- Main screen: All for DApps should be blue
- Main screen: tap on number of popular hashtag -> error
2017-10-17 13:08:43 +02:00
Julien Eluard 8393f19596 [BUG #2133] Correctly parse/generate amount from QR code 2017-10-17 10:18:26 +02:00
Roman Volosovskyi ec32917155 fix wrong transaformation of value form transaction.queued signal 2017-10-17 10:03:16 +02:00
Roman Volosovskyi af052d2c65 fix faucet url formatting 2017-10-17 08:12:02 +02:00
Audrius Molis 47c4b9014f Lithuanian translation file added. 2017-10-16 21:50:49 +02:00
Julien Eluard e5c7d81b65 [BUG #2156] Fixed incorrect address parsing 2017-10-16 15:05:59 +02:00
Goran Jovic 8a0607654e fix #2160 - status author name no longer overlaps with chat button on smaller screens 2017-10-16 15:05:27 +02:00
Goran Jovic 8236302041 fix #2119 - discover chat button formatting, hashtag color in status 2017-10-16 13:29:02 +02:00
Andrey Shovkoplyas 9aa0b1b4b2 fixed qr data 2017-10-16 12:32:33 +02:00
Oskar Thorén de161c4412 Upgrade status-go to bugfix-no-messaging-rinkeby-gd04e667-12 (geth 1.7 rebase) (#2067)
* Upgrade status-go to bugfix-no-messaging-rinkeby-gd04e667-12 (geth 1.7 rebase)

* [bug] fix #2089 and #2098 with geth update

with geth 1.7 addresses are passed with 0x prefix and mix of lower/upper cases
update the normalize hex function so that addresses are always without prefix
and entirely lower-cased.
2017-10-16 11:49:25 +02:00
Roman Volosovskyi 4a669ba331 comments 2017-10-16 11:47:22 +02:00
Roman Volosovskyi 57c80ea533 hide Add network and Edit network config buttons 2017-10-16 11:47:22 +02:00
Andrey Shovkoplyas cf2be3b176 added network info form 2017-10-16 10:37:16 +02:00
alwx 4078fe9980 wallet-bot has been added to js-resources 2017-10-16 10:14:29 +02:00
Alexander Pantyuhov fef984d0b6 Fixes: #2061, #2072, #2075 (#2129) 2017-10-16 09:51:52 +02:00
alwx cb72190a18 API commands scopes, changes for API semantics (#1546) 2017-10-16 09:51:52 +02:00
Julien Eluard ba98b6a3b5 [BUG #2087] [BUG #2088] Fixed style issues when amount is too long 2017-10-16 09:21:08 +02:00
Julien Eluard 4c7d045c47 Fixed broken action button style on iOS 2017-10-16 09:21:08 +02:00
Oskar Thorén fa9c85b04a Update feature flags & enable push notifications in production build
- Comment on flag lifecycle
- Explicitly declare all flags
2017-10-16 09:20:46 +02:00
Andrey Shovkoplyas 56fe8f3763 wallet modal android fix 2017-10-16 09:19:44 +02:00
Goran Jovic 12080ba4d8 fix #2081 - fixed toolbar title for smaller ios screens 2017-10-16 09:16:49 +02:00
Julien Eluard 3fba4d7b16 Extend tap area for sign buttons 2017-10-16 09:12:20 +02:00
Andrey Shovkoplyas c2ef0e4547 pending wallet in default contacts 2017-10-13 17:49:25 +02:00
Andrey Shovkoplyas 6b9095d235 removed messages to wallet 2017-10-13 17:49:25 +02:00
Andrey Shovkoplyas 8269d6d9a9 hide old wallet Dapp #2021 2017-10-13 17:49:25 +02:00
Oskar Thorén e17d3bc05e Discover: main screen pixel perfect progression
- Fix icon size and remove badge numbers
- Preview: tighten up margins
- Hide horizontal scrollbar
- Padding for public chats
2017-10-13 15:19:47 +02:00
Julien Eluard 990232782f Added Status identifier when calling cryptocompare API 2017-10-13 13:28:28 +02:00
Goran Jovic a8bb85fc72 fix #2081 - fixed style issues with popular hashtags screen header - android 2017-10-13 13:05:38 +02:00
Julien Eluard 3b6b5e2da1 [BUG #2025] Ensure QR code data is properly parsed 2017-10-13 13:01:16 +02:00
Julien Eluard 0a94d10559 Fixed amount validation regression 2017-10-13 11:50:27 +02:00
Oskar Thorén 1df074c100 Extend list components to set separator? with same default behavior
- base-list props private and takes additional separator arg
- flat-list and section-list extended with separator? key that defaults to true
2017-10-13 10:57:35 +02:00
janherich 5267d55ec8 Fix bug #2031 2017-10-12 17:42:58 +02:00
Eric Dvorsak 748f1c6772 fix unsigned transaction expiring while user checks details
previously one would get a red screen in develop and probably a white screen
in the app
now it shows a label indicating that the transaction has expired
2017-10-12 16:21:24 +02:00
Julien Eluard 0e63b09dcd Ask for confirmation before unsigned transaction deletion 2017-10-12 16:12:23 +02:00
Julien Eluard a1c300c73d [BUG #2023] Improved QR code readability 2017-10-12 14:46:30 +02:00
Julien Eluard 9640b3d6cc [BUG #2102] Fixed discover toolbar regression 2017-10-12 12:47:03 +02:00
Oskar Thorén 1b7d2db71d Discover: work towards pixel perfection
- Refactor: more consistent styles naming
- Align text next to icon
- Grey background whole discover
- Set background popular apps
- Fix margin-bottom for all-dapps
2017-10-12 09:53:18 +02:00
Roman Volosovskyi 50919c8eb8 hide faucet when in mainnet, show different in renkeby 2017-10-11 16:46:24 +02:00
Andrey Shovkoplyas 7133c4a655 flex shrink for wallet value 2017-10-11 16:28:14 +02:00
Andrey Shovkoplyas 278748f0d6 removed line height for android 2017-10-11 16:28:14 +02:00
Oskar Thorén 5f35ff7eda Discover: refactor platform styles
All styles belonging to screen/component should be in styles.cljs. This commit
moves platform specific styles to appropriate place.

Also fixes misc weird ns imports.

Also moves colors to common ns (FUBAR).
2017-10-11 15:17:14 +02:00
Goran Jovic dc192005b1 feature #1999 - discover screen, empty states for recent statuses and popular hashtags 2017-10-11 12:36:13 +02:00
Roman Volosovskyi 11f410f3af fix for Use of undeclared Var re-frame.core/subscribe 2017-10-11 12:17:37 +02:00
Eric Dvorsak c7893ebd17 [feature] update react-native-swiper
rework current use of swiper to make it reusable
2017-10-11 12:17:37 +02:00
Julien Eluard fb10b580d4 Fixed incorrect wallet buttons styles
Make wallet list show correct amount
Wallet name should be cut if too long
2017-10-11 12:07:27 +02:00
angusiguess 78d76292e1 Add loading spinner logic to transaction-modal
Block screen while signing

Move threaded assocs into an update

Add assoc
2017-10-11 11:08:05 +02:00
Eric Dvorsak 10cfef3bdb [Feature] #2040 Show Recipient name if available in Unsigned/History 2017-10-11 09:23:54 +02:00
Eric Dvorsak 5fcf482ef0 hash is not applicable for unsigned transactions details 2017-10-10 23:27:46 +02:00
angusiguess 833072087f Prevent pointer events from propagating
Fix map alignment
2017-10-10 17:55:17 +02:00
Roman Volosovskyi d7fcb333da show warning in profile for all testnet networks 2017-10-10 17:20:27 +02:00
Oskar Thorén e732f5559c Discover: replace carousel with horizontal flat list 2017-10-10 12:48:37 +02:00
angusiguess 1d2a7e2f6e Add ios-specific permissions checking
- Move permission check from main screen (no longer makes sense given
  choose recipient is reached from send)
- Add ios-specific display and permission checks
2017-10-10 12:28:22 +02:00
Eric Dvorsak e8c8dbc098 [bug] fixes #2064 red screen caused by carousel 2017-10-10 10:50:27 +02:00
Oskar Thorén 61a6167998 Discover: Fix toolbar title styling
Center, margin, font
2017-10-09 18:38:13 +02:00
Goran Jovic ddc2bb3501 feature #1973 and #2042 - discover - dapp details screen connected to dapp carousel and all dapps screen 2017-10-09 15:53:30 +02:00
angusiguess 8b1bf510ef Fix precondition for flat-list
The flat-list component handles the nil case but the precondition does
not.

This is currently causing transaction list failures when the list of
unsigned transactions is empty.
2017-10-09 15:52:47 +02:00
Oskar Thorén baccb01334 Discover: App dapps grid styling and tweaks
- Use flat-list and 3 column layout for grid
- Get rid of platform ns dependency
- Minor refactor: "wrap" -> :wrap, backgroundColor -> background-color
2017-10-09 12:23:19 +02:00
Oskar Thorén b84e17b974 Assert flat-list sequential data
Deals with vector-of-maps vs map-of-maps issues, e.g. map-of-maps hangs with
bad errors from React Native side
2017-10-09 10:36:15 +02:00
angusiguess 3225d1a258 Add progress-spinner to sign-transaction
Disable screen while transaction is signing

Add handling for incorrect password on signing

Fix bug where spinner doesn't appear on the second time

Address feedback

More rebase fixes

Fix spec failure
2017-10-07 19:21:23 +02:00
Oskar Thorén 4c8935a16f Discover: Show all apps
- Addresses https://github.com/status-im/status-react/issues/1972
- WIP carousel
- Not pixel perfect
2017-10-06 15:36:26 +02:00
Eric Dvorsak 6e2e14dfea rework swiper 2017-10-06 15:35:36 +02:00
Eric Dvorsak 03a37b34ec [bug] fix 2003 unsigned transaction count upon expiration
this fixed involved changing the swiper so that a function can be passed as
title instead of a string.
this allows developpers to pass custom elements as titles and still use style
and variables that are computed when tab is built
2017-10-06 15:35:36 +02:00
Julien Eluard e99cae58cc [BUG #1991] Make sure provided eth address is valid 2017-10-06 14:31:26 +02:00
Andrey Shovkoplyas 54d68081b4 send command and remove old wallet 2017-10-06 12:13:14 +02:00
Roman Volosovskyi 91bb69c6f7 fix printing type symbol as event name 2017-10-06 09:29:55 +02:00
Eric Dvorsak e66ae8b388 [bug] fix order of transactions in sections of transactions history
order should be latest transaction first
2017-10-05 20:14:44 +02:00
Eric Dvorsak d022c286bb [Wallet] remove syncing animation (#2011)
* [design] remove syncing animation outside of chat views

replace no-sync-bar? parameter by show-sync-bar? parameter as not showing
the sync bar is the norm and showing it the exception (only appears in chats)

* add suscription and spec for sync-state
2017-10-05 19:16:41 +02:00
Goran Jovic ba5bd2b511 feature #1969 - public chats teaser in discover 2017-10-05 18:32:44 +02:00
angusiguess 34c3295f84 Fix spelling issues in labels 2017-10-05 14:56:53 +02:00
Roman Volosovskyi 2a9ac44564 close app on switching from network with local LES (#2007) 2017-10-05 13:23:25 +02:00
Julien Eluard 23eeadf95a [BUG #1990] Improved amount validation in wallet/send screen 2017-10-05 10:12:56 +02:00
Goran Jovic dd5c433687 fix #1977 - discover recent statuses and statuses per popular hashtags 2017-10-05 08:59:57 +02:00
Roman Volosovskyi a7950af335 remove code related to restarting RPC server on entering background (#2008)
* remove restart-rpc-server, stop-rpc-server, start-rpc-server functions and related code

* clean native code
2017-10-04 21:56:27 +02:00
Roman Volosovskyi cede095746 reset shh keys on starting whisper, fix warnings related to outdated shh keys 2017-10-03 17:54:18 +02:00
Roman Volosovskyi 2763c87c40 use account-update function instead of dispatching :account-update (#1995)
* use account-update function instead of dispatching :account-update
* add (inject-cofx :now) to default interceptors
2017-10-03 17:06:12 +02:00
Roman Volosovskyi 4b6f920e43 add predefined ethereum networks 2017-10-03 10:32:49 +02:00
angusiguess 8d2992d1a4 Fix viewport translucency math 2017-10-03 10:32:16 +02:00
angusiguess 3578eed912 Update navigation for QR scan
Factor copy/paste to use choose-recipient

Change assoc to an update

Set name to nil
2017-10-03 10:32:16 +02:00
Eric Dvorsak db7614f8f7 Various styling fixes for wallet
[bugfix] transaction details background should be white

[bugfix] button styling in unsigned transactions

[bugfix] make whole item touchable in transactions history and unsigned

[bugfix] correction of icons styling in transactions history

[bugfix] error message should not touch the toolbar in wallet

[bugfix] add asset icon and text are different on ios and android

PR review fixes
2017-10-03 10:32:16 +02:00
angusiguess 69a6baf09b Add flashlight functionality to choose recipient screen 2017-10-03 10:32:16 +02:00
Andrey Shovkoplyas 499cd393ad fixes tests 2017-10-03 10:32:16 +02:00
Andrey Shovkoplyas 9246d7df21 send transaction layer 1 2017-10-03 10:32:16 +02:00
Eric Dvorsak 62affda881 add unsigned transactions bindings in new wallet 2017-10-03 10:32:16 +02:00
angusiguess 498f641c8a Initial Commit for first send screen:
- Update toolbar text
- Add frame for camera/qr
- Add button for choose contacts
- Add button for address from clipboard
- Add button for browse photos

Set recipient from clipboard.

Added functionality and event handling necessary to set recipient
from clipboard.

Add choose-recipient event to assoc into the database

Add QR code scanning to first screen

Add vector icons for copy and select image

Fix svg

Fix rebase, localize labels

Add checkmark icon (this is a placeholder, current svg won't render)

Remove leak from develop

Vertical alignment fixes

Vertically align maps in view

Address review comments

Fix rebase reference problems/styling issues

Small style tweaks, fix icon

Fix small design issues

Indentation fixes

Address review points

Fix indentation

Prevent permissions request on ios

On ios, a permissions request results in a null reference error,
do a platform check before performing a permissions request.

Fix compile error

Restyle for ios, colours, layout

Update icons on ios

Restyle disabled button

Browse photos button disabled

Add viewfinder and platform specific styling.

Viewfinder and style changes

Add some torch functionality, fix toolbar, style issues

Refactor view style, add translucent bits to viewfinder

Address pull request feedback

Replace a style by defstyle
2017-10-03 10:32:16 +02:00
angusiguess 3b4d140ef6 Initial Commit for first send screen:
- Update toolbar text
- Add frame for camera/qr
- Add button for choose contacts
- Add button for address from clipboard
- Add button for browse photos

Set recipient from clipboard.

Added functionality and event handling necessary to set recipient
from clipboard.

Add choose-recipient event to assoc into the database

Add QR code scanning to first screen

Add vector icons for copy and select image

Fix svg

Fix rebase, localize labels

Add checkmark icon (this is a placeholder, current svg won't render)

Remove leak from develop

Vertical alignment fixes

Vertically align maps in view

Address review comments

Fix rebase reference problems/styling issues

Small style tweaks, fix icon

Fix small design issues

Indentation fixes

Address review points

Fix indentation

Prevent permissions request on ios

On ios, a permissions request results in a null reference error,
do a platform check before performing a permissions request.

Fix compile error
2017-10-03 10:32:16 +02:00
Herich d9db548e57 Refactoring chat events to shorten event chains 2017-10-03 09:28:38 +02:00
Roman Volosovskyi 5a49926ad0 remove status-im.utils.ethereum-network ns 2017-10-03 08:26:00 +02:00
Roman Volosovskyi bc9e65774c remove duplicate calls to jail 2017-10-02 18:12:25 +02:00
Roman Volosovskyi cf7a9845c6 data_store and network_settings from #1115
missed default networks
fix :load-default-networks
network settings screen
fix network details screen
networks in account
fix network property saving
update startNode and stopNode on iOS
test RPC proxy on iOS
StopNode and StartNode on androd
pass UpstreamConfig to status-go
upgrade status-go
added default network on login
fixed UI, added vector icons
added network name in drawer
migrated accounts
workaround for account v4 migration
2017-10-02 14:13:10 +02:00
Roman Volosovskyi a0872fb1bf ensure that bool value is set to refreshing prop 2017-09-28 16:05:55 +02:00
Andrey Shovkoplyas f36dca3b5c fixes vector icons 2017-09-28 16:56:58 +03:00
Eric Dvorsak 3f2416fafd refactor chat actions view 2017-09-25 19:55:47 +02:00
Eric Dvorsak 28355ca3c5 add accessibility ids for end-to-end tests 2017-09-25 19:55:47 +02:00
Eric Dvorsak 17011f6d9e refactor toolbar action 2017-09-25 19:55:47 +02:00
Eric Dvorsak 998df74b10 add gas price in gwei in transaction details 2017-09-25 19:54:57 +02:00
Oskar Thorén 9ab7ebdcf2 Push notifications: Print notif and data payload when resuming app
- on-notification listener registered in root component
- print data (hardcoded keys) and notif payload to debug
2017-09-25 16:32:35 +02:00
Roman Volosovskyi 0badfd6b5b fix Use of undeclared Var status-im.utils.platform/platform warning 2017-09-25 14:07:08 +02:00
Eric Dvorsak 7d9190bb85 fix #1893 cannot scroll to last 2 transactions in history
update react-native-swipper to latest working version
remove bottom margin hack in other screens with similar bug
fixes Cannot scroll transaction history when app is syncing #1902 as well
2017-09-25 13:09:27 +02:00
Oskar Thorén c846574155 Fix portfolio change to 0 if balance is zero
If you don't have money in your balance, your "portfolio" change is nothing.

- Positive portfolio change includes if it is zero
2017-09-25 11:17:50 +02:00
Roman Volosovskyi d86a853f07 atomic Confirm button for transactions 2017-09-21 14:46:49 +03:00
Jan Herich 805d874846 Fix #1886 (#1894)
* Fix #1886

Completly rework the way how async handlers work

Delay further processing of message till async handler returns result

* Fix indent

* Fix #1903
2017-09-21 14:08:51 +03:00
Eric Dvorsak bce18bf32c typo prevented error on prices-update from clearing 2017-09-20 17:26:58 +03:00
Eric Dvorsak 8d80e35305 make history-list the default transactions tab 2017-09-19 13:17:15 +03:00
Julien Eluard b8dff77311 [FIX #1854] Fixed broken pull-to-refresh behavior 2017-09-19 13:17:15 +03:00
Eric Dvorsak d6966e2d34 remove unsigned transactions before they are implemented 2017-09-19 13:17:15 +03:00
Eric Dvorsak 5e31fcdacc add transaction details screen 2017-09-19 13:17:15 +03:00
Oskar Thorén 1b0409fdc9 Bugfix: correct realm schema for release
In release 0.9.11 we'll have v13, so we don't want to modify this in develop.
This moves Push notification related changes into a new migration as opposed to
merging them into one.
2017-09-18 17:51:53 +03:00
Oskar Thorén d30a14a774 Bugfix: resolve undeclared var for status/notify
Rebasing introduced regression due to refactoring of how native modules are
called. Call implementation when available, noop when stubbing status-go.
2017-09-18 17:48:44 +03:00
Oskar Thorén b5c0b24f30 Push notifications: end to end v1
- Send notification when sending message in 1on1 chat
- Add notify FFI with binds for ObjC and Java
- Add fcm-token to contacts in spec and realm
- Add notifications to db
- Include fcm-token in contact request
- Update fcm-token when it arrives and put it in DB
- Disable copy-paste hijacking and popup
- Turn on notifications flag in Jenkins build
2017-09-18 16:28:04 +03:00
Jan Herich b889a07a86 Implement possibility for async command handlers (#1857)
* Implement possibility for async command handlers

Command handler can now return results asynchronously,
and those results as saved and persisted, indexed by
command message-id.

* Address feedback raised in PR comments

* Different handler codes + simplified error message
2017-09-18 16:08:06 +03:00
Roman Volosovskyi e961801429 utilize single jail.signal event for all signals from jail 2017-09-18 16:06:22 +03:00
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
Julien Eluard 7c82f3f0c3 [FIX #1851] Improved iOS wallet UI 2017-09-15 18:28:24 +02:00
Andrey Shovkoplyas 9f5d808702 fixes Wallet Request screen UI issues 2017-09-15 16:37:27 +02:00
Andrey Shovkoplyas 66dd3a2e82 implemented request transaction 2017-09-15 16:37:27 +02:00