Commit Graph

1619 Commits

Author SHA1 Message Date
Foo Pang 27e777d1bd
[Fix #1785] Handle timeout for network failure in utils.utils/http-get and http-post
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-13 16:22:09 +01:00
alwxndr 1b5b6e33b4
[#3325]: Transaction fee field is hidden behind keyboard if Amount field had focus
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-13 16:17:02 +01:00
Foo Pang cad3770b48
[Fix #3485] Increase tap zones for rows with checkboxes
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-13 13:24:57 +01:00
Julien Eluard 615fd7a32b
[ISSUE #3482] Fixe profile UI regression
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-13 12:47:29 +01:00
Pedro Pombeiro 009f9cb125
Update mailserver to Whisperv6-ready mailserver
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-03-13 11:28:28 +01:00
alwxndr 5bbc6d2dd8
[#3478]: Buttons are to close to status bar on Edit profile for group chat
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-12 16:29:18 +01:00
Dmitry Novotochinov 1f1ff9cbaf
[fix #3505] Fix account initialization events order
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-03-12 17:48:43 +03:00
Julien Eluard ed7705ca7f
[ISSUE #3051] Implemented notification settings redirection
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-12 13:36:53 +01:00
Eric Dvorsak e9e1456afc
Fixing fx arguments and event dispatches
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-03-05 04:27:23 +01:00
janherich 7efcdcb150
Fix message ordering for 1-1 chats 2018-03-04 19:26:08 +01:00
Eric Dvorsak 54546204ae
[fix 3424] visually indicated when mailserver or all peers are disconnected
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-03-04 17:43:15 +01:00
Hanwen Cheng 502a28ec7a
Fix #3013 Swipe chat based deletion
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-02 12:27:21 +01:00
Itoh, Masaru 35e8278e8c
Upgrade react native to 0.53.3
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-03-02 12:21:21 +03:00
Goran Jovic a4efcd99c6
bug #3463 - disabled update of group chat participants
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-02 10:00:49 +01:00
teddy070891 ba056beef2
Update de.cljs
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-01 15:36:18 +01:00
Julien Eluard 2dee50e790
[ISSUE #3224] Click on user picture open profile
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-01 15:06:58 +01:00
Dmitry Novotochinov ac9b5cd976
Use re-frame fork with js/setTimeout as next-tick
Change app initialization process. Dispatch :initialize-app
only when jail has been initialized.

Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-03-01 19:06:39 +07:00
Julien Eluard 1905530044
[ISSUE #3312] Implemented invite friends feature
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-01 11:24:47 +01:00
Andrey Shovkoplyas eb8557dde8
Introduced onboarding sign in
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-03-01 12:16:03 +03:00
Eric Dvorsak 8b1288e20b
add merge-fx macro
this macro allows safe merging of cofx, making complex events easier
to understand while avoiding the risk to overwrite the db effect when
threading multiple effects creating functions

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-28 19:37:12 +01:00
Roman Volosovskyi b1ce44af3a
implement ConnectionChange call, upgrade status-go
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-28 18:38:51 +01:00
Julien Eluard efb8c3cdf2
[ISSUE #3316] Do not avoid keyboard in wallet/fee screen
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-28 15:32:11 +01:00
Julien Eluard a86e59dbbe
[ISSUE #3331] Allow to configure view compilation
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-28 11:11:56 +01:00
Foo Pang c1900a24ec
[Fix #3252] Remove dependency on react-native-autolink
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-28 10:57:58 +01:00
Julien Eluard 3510f79e89
[ISSUE #3429] Use proper etherscan URLs
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-27 16:47:40 +01:00
Julien Eluard 50ac9125fe
[ISSUE #3386] Improved group chat details action label 2018-02-27 15:34:38 +01:00
Julien Eluard 57278d2cf9
[ISSUE #3432] Make sure public chat topic can be fully erased 2018-02-27 14:08:02 +01:00
Goran Jovic b5b3ad204d
feature #3011 - reworked group chat profile and refactored common profile elements
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-02-27 12:12:51 +01:00
alwxndr 80b1edfff6
[#3350]: 2 send commands are shown if chat contains 1 or more request messages
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-26 20:35:49 +01:00
alwxndr 64b248268d
[#3366, #3349]: Fixes for expandable, better animations for parameter boxes
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-26 14:59:39 +01:00
KatieStarks 847795f3a7
[FIX #3229] Change home add button on ios to blue
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-26 14:58:01 +01:00
Ihor Kysylevych 0da3ccd5ea
[FIX #3223] Fit Recipient screen to mocks on iOS
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-26 12:16:37 +01:00
janherich e3fe6d48da
Properly open/navigate-to chat 2018-02-26 11:41:32 +08:00
Julien Eluard 8d9675154c
Increased chat icon tapping area
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-22 16:40:20 +01:00
Rob Culliton 2d6d7d1327
kebab-case re-agent attributes that were formerly camelCased
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-22 16:39:06 +01:00
Ihor Kysylevych 5f5412d91b
[FIX #3123] ui: fix network field overflow on long network names in profile settings
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-22 12:26:27 +01:00
Julien Eluard 33f1d8d26b
[ISSUE #3313] Migrated public chat creation flow
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-22 12:22:08 +01:00
Julien Eluard cc6414c204
[ISSUE #3396] Fixed incorrect atom access
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-22 12:06:52 +01:00
tarekskr 6098da936a
Updated to the new etherscan API URL scheme.
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-21 20:45:28 +01:00
Dmitry Novotochinov 65a2f440c6
[refs #3210] replace contacts/get-by-id with app-db read
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-02-21 19:40:26 +01:00
Dmitry Novotochinov d799396851
[refs #3210] remove unnecessary reads from Realm for messages
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-21 18:24:16 +03:00
Dmitry Novotochinov 8abdd77fb4
[refs #3210] Replace realm reads for chats with app-db reads
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-21 18:22:35 +03:00
janherich 15f4c90caa
Simplify input handling
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-21 18:19:58 +03:00
Julien Eluard 526d11469a
Improved french translation
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-21 15:06:28 +01:00
Pedro Pombeiro a4bc752e77
[ISSUE #2287] Push Notifications: Use status-go NotifyUsers
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-21 11:10:36 +03:00
Eric Dvorsak cc8ef6580e
Revert "Fix #3013 Swipe chat based deletion"
This reverts commit f4f1ab4e2f.

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-21 04:03:15 +01:00
Eric Dvorsak 3c3c347123
Fix wrong derefs
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-21 02:43:56 +01:00
Hanwen Cheng f4f1ab4e2f
Fix #3013 Swipe chat based deletion
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-20 22:47:00 +03:00
Ihor Kysylevych 0a17d75ff4
[FIX #3351] chat: fix extra new lines adding in the text input on enter (ios)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-20 22:40:21 +03:00
alwxndr 44b10850ed
fix
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-20 22:38:31 +03:00
alwxndr 5280f3d9a0
Returning expandable animations back, removing :get-max-container-area-height 2018-02-20 22:38:19 +03:00
Dmitry Novotochinov 4fa9459e40
Update mailserver node id
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-02-20 14:46:59 +01:00
Julien Eluard 223ab2694f
[ISSUE #3320] Fixed incorrect label
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-20 14:07:00 +01:00
Julien Eluard 63b1dbdb76
[ISSUE #3321] Migrated group chat creation flow
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-19 20:21:41 +01:00
janherich fb4ea0572b
Fix latest nightly -> nigthly migration 2018-02-19 18:43:35 +01:00
Roman Volosovskyi 7e4903826f
turn off auto capitalization in url text inputs 2018-02-19 11:45:09 +08:00
Konstantinos Raptis dd83212eba Remove library duplication 2018-02-18 07:39:53 +08:00
alwxndr 2aa6c1992f
[#3014]: Updated chat input
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-16 20:58:44 +03:00
Julien Eluard 058e6c5412
ISSUE #3083] Adapted chat menu to latest mockups
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-16 16:04:27 +01:00
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