1084 Commits

Author SHA1 Message Date
Julien Eluard
c3f38249e5 Improved eexception-handler to provide more contextual info 2017-09-05 17:19:39 +03:00
Goran Jovic
2fc6854543 fix #1448 #1741 - workaround to identify a group chat by existence of group-id rather than unreliable group-chat flag 2017-09-05 09:25:06 +03:00
Andrey Shovkoplyas
a3700c19ac made user pics circle in chat 2017-09-05 07:29:31 +03:00
Andrey Shovkoplyas
1655873738 [fix #1460] hide emoji on commands selection 2017-09-04 17:16:11 +03:00
Julien Eluard
99e04105ec [FIX #1731] Prepare configuration allowing to fail build 2017-09-04 11:16:44 +03:00
Julien Eluard
bc73fbd83e [FIX #1721] Disable sign-in button when no password has been entered 2017-09-04 11:16:03 +03:00
vojta
c6daeaa1ee Added Czech translation 2017-09-04 08:01:23 +03:00
Eric Dvorsak
c46a465b98 fix compilation warnings 2017-09-02 10:01:13 +03:00
angusiguess
bc37283cb7 Add wallet error message.
- Add wallet key to db
- Add sub for wallet error messages
- Add event handlers to set wallet values
- Cover the above with tests

Oh and add the tests

Add error view

Add exclamation mark, style error message, add message to view

Remove commented styling

Localise wallet error

Add translation

- Add an english translation for the error message
- Change error representation in db to a keyword
- Update handlers to set and clear keywords

Constrain spec, make view conditional

- The spec for error messages now takes a predefined set.
- Error message only pops on error

Fix test

Align maps

Reduce event chain size, move logging to timbre
2017-09-01 19:01:12 +02:00
Goran Jovic
d2530517c4 feature #1585 generate signing phrase, show it to the user during on-boarding, store in the account; account schema updated, added migration, generating a new signing phrase on recovery 2017-08-31 15:41:15 +03:00
Julien Eluard
dd6d679322 Improve error message when status-go throw an error 2017-08-31 10:25:37 +02:00
Eric Dvorsak
37a67b3ccf create subscriptions for wallet data bindings 2017-08-30 14:08:58 +02:00
Oskar Thorén
e169949e0a Push notifications: Spike for Android
- Print FCMToken which can be used to send PNs from Firebase Console
- Include react-native-fcm and related packages
- Update capabilities for iOS
- google service config files for Android and iOS
2017-08-30 13:58:52 +02:00
Andrey Shovkoplyas
be57d85147 implemented svg icons 2017-08-30 11:09:27 +02:00
Gustavo Nunes
9a06417b6e New screen: Wallets list (ui only) 2017-08-29 16:51:17 +02:00
Oskar Thorén
f07eff4ab1 Merge pull request #1686 from status-im/feature/wallet-transactions
Implemented all wallet/transactions screens
2017-08-28 09:32:42 +02:00
Goran Jovic
e6e65a41d8 fix #1397 - two sent messages instead of one in group chat, only recipient's wallet updated 2017-08-28 10:03:31 +03:00
angusiguess
0df8dcad32 [FIX #1474] Fix copy/paste of coordinates, address, and map viewing 2017-08-25 16:27:08 +03:00
Julien Eluard
a2b717cfbb
Implemented all wallet/transactions screens 2017-08-25 12:46:41 +02:00
angusiguess
6fa9040def [FIX #1668] Prevent UI keys from propagating to account model.
The ```:account-update``` event was being passed the key
```update-status?``` which has nothing to do with an account as
represented in the db. This resulted in a spec failure when this
key was detected on an attempt to save changes.

I've sanitized this event by pulling out the three account keys,
```[:name :photo-path :status]```
that are relevant to ```profile``` and ensuring that only they get
passed to ```:account-update```.

Profile updates now work as expected.

Add tests covering profile events

Fix the runner
2017-08-25 13:10:18 +03:00
angusiguess
52c8fc967d [FIX #1602] Trim whitespace from passphrase during account recovery
Currently account recovery includes whitespace on either side of the
passphrase, preventing recovery of the desired account.

We trim that whitespace in the account-recovery-fx
2017-08-24 16:36:47 +03:00
Julien Eluard
2585a32c7a Enable main wallet screen. WIP features are hidden behind flag 2017-08-23 12:28:42 +03:00
Oskar Thorén
8ac1535dab wallet: main screen live data binding
Initial utility for live data binding in the new wallet.

- Add prices namespace to get fiat prices from Cryptocompare
- Events to init wallet balance and load prices
- Listen to these events in wallet main view
- Show accurate ETH balance, USD value and %change from yesterday
- Enable wallet tab in Jenkins
2017-08-22 11:52:31 +03:00
Julien Eluard
55fd200c71 Introduced tab switching for wallet transactions screen 2017-08-22 11:41:37 +03:00
Eric Dvorsak
92f3f9a4c5 Fix #1648
Popup null is not an object (evaluating 'e.replace') if tap on
status -> username -> status in drawer
2017-08-21 10:20:31 +03:00
Andrey Shovkoplyas
bab4e33ec2 Accounts refactoring #1610 2017-08-21 10:19:03 +03:00
Eric Dvorsak
cb48195383 fix #1571 Feature/profile refactoring
Second step of refactoring guidelines to fix #1571

- use fx and cofx
- specs
- simplify event chain
2017-08-18 13:15:25 +03:00
Julien Eluard
a22bde50c7 First implementation of the unsigned transactions list 2017-08-18 12:34:16 +03:00
Mihael Konjevic
90c26570f8 [FIX #148] Disable back button on QR code reader page until camera is available. 2017-08-18 10:47:25 +03:00
Mihael Konjevic
41429cf1ed Ensure that :initialCenterCoordinate attribute gets the correct data
Mapview component accepts the `:initialCenterCoordinate` which always must have
longitude and latitude attributes. This ensures that they will always be present
even when they are missing from the map passed retreived from the app state.
2017-08-18 10:43:45 +03:00
Goran Jovic
1ca35db17c fix #1518 and #1573 - removed potentially offensive words, made username generation deterministic, updated unit tests 2017-08-17 18:43:15 +03:00
Oskar Thorén
8e22ce9466 utils: Support ERC20 balance-of in order to get token balance
This is necessary in order to display token balance in Wallet.
2017-08-17 17:19:49 +03:00
Herich
e3f27ee5ee Refactor command data loading + chat input handling
Also accomplished was removal of redundant preview loading
and command markup is now stored as cljs data in app-db,
only being translated to RN components in subscriptions
2017-08-17 09:08:07 +03:00
Andrey Shovkoplyas
7506689fe5 navigation refactoring #1609 2017-08-16 13:13:38 +03:00
Julien Eluard
9bacc65c8d Implement wallet/transactions basic skeleton 2017-08-16 12:09:01 +03:00
Eric Dvorsak
69a84c8315 Costmetic refactoring according to refactoring guidelines 2017-08-16 11:00:25 +03:00
Roman Volosovskyi
a93cb0b1d1 show testfairy warning on startup (#1569) 2017-08-14 21:44:48 +03:00
Andrey Shovkoplyas
1fe17305af removed an unnecessary character 2017-08-14 14:27:27 +03:00
Andrey Shovkoplyas
e158ba5d4f fixed wallet screens 2017-08-14 14:15:48 +03:00
Andrey Shovkoplyas
883b702fcb Introduced new hierarchy ,refactored core 2017-08-14 13:42:20 +03:00
Oskar Thorén
8d040aee11 wallet (WIP): Hook up handlers to minimal send-transaction screen 2017-08-11 12:14:17 +03:00
Roman Volosovskyi
13dcf9dafe fix main_screen dir 2017-08-10 17:32:38 +03:00
Gustavo Nunes
dc42a9a719 Created Wallet main screen 2017-08-10 11:42:29 +03:00
Andrey Shovkoplyas
a91a945bfa tests for group module 2017-08-10 10:05:29 +03:00
Roman Volosovskyi
0ada614d62 utilise CallRPC in react-native-status module 2017-08-09 19:38:48 +03:00
Andrey Shovkoplyas
6d62a21af7 tests for contacts events 2017-08-09 16:43:40 +03:00
Oskar Thorén
db6b80d529 chat, protocol: Introduce Lamport clock semantics for message order
This commit ensures messages are ordered correctly when participants join and
leave a group chat. Specifically, the last received message will appear last.
Previously the user and chat clock was queried and updated in an ad hoc manner.
With this change there are only two clock changes to keep track of:

Sending messages:
time = time+1;
time_stamp = time;
send(message, time_stamp);

Receiving messages:
(message, time_stamp) = receive();
time = max(time_stamp, time)+1;

(See https://en.wikipedia.org/wiki/Lamport_timestamps)

Note that this means we can get rid of all the non-message clock queries and
updates.
2017-08-09 12:34:36 +03:00
Julien Eluard
646f61a406 Give all components a :display-name.
Make sure components use :reagent-render.
2017-08-08 21:42:26 +03:00
Oskar Thorén
b510488f11 fix #1050
Introduce a money namespace that solves a bunch of issues related to significant
numbers being preserved and converted correctly.
2017-08-07 13:55:22 +03:00
Roman Volosovskyi
f91c480ad8 remove sensitive data from debug output 2017-08-04 20:45:24 +03:00