Commit Graph

1337 Commits

Author SHA1 Message Date
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