Commit Graph

1520 Commits

Author SHA1 Message Date
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
Eric Dvorsak a43af5e078 rename wallet history -> wallet transactions 2017-09-15 16:37:27 +02:00
Eric Dvorsak c22060542a sort completed-transactions by timestamp 2017-09-15 16:37:27 +02:00
Roman Volosovskyi 8c044d9991 stub for ReactNativeModule 2017-09-15 14:15:32 +03:00
Goran Jovic eac7e06f40 feature #1805 refactored protocol listeners 2017-09-15 14:15:04 +03:00
Julien Eluard a85929e72d [FIX #1802] Make sure wallet buttons have proper width 2017-09-13 09:43:09 +03:00
Oskar Thorén cdc996caa2 Remove cljs-priority-map
cljs-priority-map provides a special purpose data structure that needlessly
complicated things and doesn't appear to provide much value for what it gives
us.

Instead, keep :chats an ordinary map and sort vector on final subscription, as
our ListView destructures data-source items correctly.

This means we can upgrade Clojurescript.
2017-09-13 08:46:35 +03:00
Julien Eluard 9cda6806e3 Fixed various wallet UI inconsistencies 2017-09-12 10:46:15 +03:00
Goran Jovic a764da2b4b fix #1605 protocol message parser catches all invalid payload as errors 2017-09-11 09:46:24 +03:00
Eric Dvorsak 7a06bb8278 fix #1804 - duplicated status in discover tab 2017-09-11 09:18:11 +03:00
alwx 7875e11ea0 1628: Add Testnet warning, so no real ether or SNT is sent to the app 2017-09-10 12:23:49 +03:00
Julien Eluard 3e1d731111 Fixed incorrect margin for toolbar action buttons 2017-09-09 17:31:33 +03:00
Oskar Thorén ef777511dc Enable treating warnings as errors and list acceptable warnings 2017-09-09 14:05:13 +03:00
Eric Dvorsak 35b69030bf fix compilation warnings 2017-09-09 12:48:30 +03:00
Oskar Thorén 60515a01e6 Turn off NOTIFICATIONS_WIP_ENABLED for Jenkins; remove dup event
- After testing we don't need to expose this WIP with popups etc
- get-fcm-token event was accidentally included twice during rebase leading to warnings
2017-09-09 12:11:09 +03:00
Henrik Kjerringvåg 51730d2404 Added a translations-file for Norwegian Bokmål 2017-09-09 07:45:32 +03:00
Eric Dvorsak ab98de0be5 moving drawer local state to db and fixing bug 2017-09-09 07:36:05 +03:00
Eric Dvorsak d5981c65a1 add accessibility labels for UI testing 2017-09-08 16:39:54 +03:00
Julien Eluard ad7c6b8542 Fixed tabs component 2017-09-08 14:50:19 +03:00
Oskar Thorén aaa13b922b Push notifications: iOS request permissions, listen for token, flags
- Asks for permissions on iOS at startup
- Introduce NOTIFICATIONS_WIP_ENABLED flag
- Surface FCM Token and put it in clipboard for QA manual end to end testing
- Listen for FCM RefreshToken event at root
2017-09-08 12:05:21 +03:00
Eric Dvorsak c1cac1eb7c wallet UX error fixes and more frequent refreshes
fix wallet errors that were sticking when refresh occured
add separate errors for transaction history fetching with visual feedback
update wallet when going on wallet tab
update transaction list when opening transaction modal
2017-09-08 11:53:49 +03:00
Julien Eluard 97789feb6b [FIX #1772] Fixed incorrect icon padding 2017-09-08 11:53:27 +03:00
Eric Dvorsak 5d2a0e836a link transaction history with real transactions data
- add transactions utils namespace
- link transactions to view
2017-09-07 16:02:13 +03:00
Andrey Shovkoplyas f88c3feaf6 reworked main tabs using svg icons [#1748 2017-09-06 17:05:56 +03:00
Julien Eluard 1a6bfd06a6 Fixed UI glitch when switching to wallet tab on iOS 2017-09-06 14:51:45 +03:00
Eric Dvorsak de9905a14e Fix: timezone offset for today was missing 2017-09-06 11:08:52 +03:00
Julien Eluard 36d1568a76 Fixed main wallet discrepancies 2017-09-05 17:38:19 +03:00
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
Andrey Shovkoplyas b429076cad refactored new-group events using fx and cofx
reorganized modules structure, renamed files, improved requirements
2017-08-04 06:36:16 +03:00
Herich d9800fe9a7 fix #1469 chat: location is shown as plaintext 2017-08-03 17:05:39 +03:00
alwx abafa3308a Unit tests for input model 2017-08-02 17:03:11 +03:00
Oskar Thorén fc59f8d7f1 fix #1050 transaction view: app crash
Transactions with 15 significant digits crashes the app due to something weird
going on in the Clojurescript -> web3 -> BigNumber chain. This fix converts the
number into a BigNumber before converting it into Ether.
2017-08-01 15:41:12 +03:00
Herich 4521020ce5 fix #1486 chat: removable console chat 2017-07-31 14:58:42 +03:00
Andrey Shovkoplyas 3d05f99bd4 implemented fx handler, rewrite handlers using fx and cfx, optimized subscriptions, reorganized structure and renamed files, implemented re-frame-test and wrote some tests 2017-07-28 17:25:55 +03:00
Danny Wilson 68fe57b016 fix #1171: hide remove option from profile menu for unremovable contacts 2017-07-28 15:40:00 +03:00
Basile Beldame 5b4f15659d Fix french translation
"Address" in english is "Adresse" in French + Everything in the page is in Zero infinitive exect this "Entrez Addresse", which sounded weird.
2017-07-28 15:39:33 +03:00
Herich 9f35e0c983 fix #1488 new_group: once-only handler for save 2017-07-28 14:07:49 +03:00
Oskar Thorén 7eb5cdb9ab chat: fix #1390, selection OOB
When the input field includes an unmatched " in the input-text, there's a
mismatch between the parsed command-args and the length of the text field,
causing text selection to be out of bounds. By bounding the new selection to a
maximum of the input text, this is avoided.
2017-07-28 12:45:58 +03:00
Julien Eluard 614a2d89cb Added basic exception handler. 2017-07-26 21:40:38 +03:00
Herich 63d9301a27 fix #1499 chat: don't persist null properties 2017-07-26 18:27:47 +03:00
Oskar Thorén 389e79d683 console: amend fix of #1207 (bad suggestions)
A single unbalanced ')' shouldn't count as nesting, so ')' and 'a)' etc don't make the form ''.

console: add ad-hoc test script for suggestions
This creates a quicker feedback loop for testing console suggestions, as well as making sure we don't introduce suggestions regressions.

chat, parameter-box: hide parameter-box when {markup: null} is returned
2017-07-26 16:16:59 +03:00
Herich f5b0c0c368 chat, data, utils: add implementation of simple preview caching 2017-07-26 15:00:14 +03:00
Julien Eluard 98b58c9036 Removed useless natal-shell dependency 2017-07-26 08:37:59 +03:00
alwx fe78e7d786 Can use requesting message to send ether if recipient name contains double quotes (#1411) 2017-07-25 13:56:07 +03:00
alwx 32b64dcdb9 App no longer crashes if start deleting url while browsing (#1468) 2017-07-25 11:15:49 +03:00
Julien Eluard cdbabca9fe Multiple hit on save should not create multiple groups 2017-07-25 10:24:02 +03:00
Julien Eluard 20550b42c6 Upgraded translations to reflect changes to :debug-enabled 2017-07-21 12:55:27 +02:00
Julien Eluard eed74d8af0 Fixed incorrect message keys 2017-07-21 12:53:57 +02:00
nulldash 76e3068220 Update Bahasa Malaysia translation
Translated the new added/fixed strings on the tracked en.cljs following commit 5051d1ce9e and 41ee6bfa89 plus properly translated the word `Wallet`.
2017-07-21 12:52:46 +02:00
Roman Volosovskyi cad5e0c567 fix missed web3 object 2017-07-18 10:17:58 +03:00
jaimeagudo 41ee6bfa89 Refine translations/es.cljs, fix en `:send-command-description` 2017-07-18 08:50:42 +03:00
Julien Eluard adc55d6fb9 Make sure validation-messages are nil when navigating to a chat 2017-07-18 08:49:32 +03:00
TheHealthyCat 909f697efd Update it.cljs 2017-07-18 08:46:38 +03:00
Roman Volosovskyi be463e0947 messaging test 2017-07-18 08:41:03 +03:00
Andrey Shovkoplyas 0bf8b711be removed old unused code and resources 2017-07-17 22:48:06 +03:00
Roman Volosovskyi 04c047a811 fix #1458 2017-07-17 16:01:07 +03:00
Roman Volosovskyi 23399c63e1 extract React Native dependencies 2017-07-17 11:38:48 +03:00
alwx 6669f79c44 Comments for input model; redundant functions has been removed; refactoring 2017-07-17 08:05:41 +03:00
Andrey Shovkoplyas f5348df929 fixes https://github.com/status-im/status-react/issues/1394 2017-07-15 07:13:09 +03:00
alwx a0de31ebb6 Requesting message in group chat now contains recipient name (#1396); restructuring of commands 2017-07-14 10:11:24 +03:00
Roman Volosovskyi 29ccf9546f remove :chat-properties sub 2017-07-13 16:13:08 +03:00
Roman Volosovskyi 1a056d0256 fix #1414 by adding necessary data to bot-db 2017-07-13 16:13:08 +03:00
Herich ac699e3320 chat: fix input length styling after commands 2017-07-13 14:01:35 +03:00
Andrey Shovkoplyas 458c884462 fixed es-mx ns 2017-07-12 13:12:40 +03:00
Roman Volosovskyi 8e896fcdfb fix #1432 (related to re-frame migration) 2017-07-12 10:04:20 +03:00
Julien Eluard 585d4e0195 Reduce captured photo size. 2017-07-12 09:21:11 +03:00
Raúl Velázquez Collado 70e068b8b0 Create es-mx.cljs
Spanish translation for Mexico.
2017-07-12 09:09:09 +03:00
Julien Eluard 4cd140f701 Added missing spec for :sync-data key 2017-07-12 08:57:13 +03:00
Roman Volosovskyi 06bff32f79 fix handlers-> macro 2017-07-11 20:16:02 +03:00
Roman Volosovskyi 1a997cad39 fix Unhandled JS Exception: Vector's key for assoc must be a number. 2017-07-11 19:12:07 +03:00
Andrey Shovkoplyas 1485e07259 make all specs nilable 2017-07-11 15:06:23 +03:00
Julien Eluard 6e5e6200ab Upgraded to re-frame 0.9.4
Simplify handlers chaining
Moved to reg-sub usage
Use reg-sub 3-arity to remove subscribe calls
2017-07-11 11:03:28 +03:00
Andrey Shovkoplyas f846cb8a92 fixes specs 2017-07-11 10:33:14 +03:00
Andrey Shovkoplyas 21626549d1 implemented spec for app-db 2017-07-10 22:57:36 +03:00
Andrey Shovkoplyas 5051d1ce9e /location command 2017-07-10 18:20:58 +03:00
alwx 5c15df9b64 /send and /request commands; commands in group chats and fixes for parameter and result boxes 2017-07-10 12:41:30 +03:00
Roman Volosovskyi a2b2851061 upgrade clojurescript to 1.9.671 2017-07-05 11:26:07 +03:00
Tienson Qin 4d73c47e62 status hashtags, android: fix #1247
Summary:

(.startsWith "#你好" "#") not works, but both
(.startsWith "#你好" "#你") and (.startsWith "#abc" "#") works.
2017-07-04 17:32:58 +03:00
nulldash 93889722fe Update Bahasa Malaysia translation
Translated some more, corrected some misspelling and improved some phrase structure.
2017-07-01 20:15:06 +03:00
Mike Jackson 561e0fe77a data-store: update command_parameter schema and create new migration to fix missing placeholders 2017-06-30 19:17:05 +03:00
Matthieu Béteille 8a3b7372ab chat: emoji replace 2017-06-30 17:22:56 +03:00
Roman Volosovskyi 173d4afbf3 letsubs macro (#1392)
* letsubs macro
2017-06-30 16:49:28 +03:00
Roman Volosovskyi 9665ea466d review comments 2017-06-28 17:57:30 +03:00
Roman Volosovskyi 4f6ebb53d3 text-message in command handler
to and from props in context in suggestions function
ability to send request using text-message property in handler and via status.sendMessage
show request's text if it exists
2017-06-28 17:57:30 +03:00
Andrey Shovkoplyas cc9b0c32c8
added translations from onehourtranslation 2017-06-28 17:41:20 +03:00
Yalu 9bbd96199f noticed some typos after previous pull request was pulled.
Made a semantical correction for "left" which at first was interpreted as having to do with direction, where actually it was about "leaving".

Made a grammatical correction relating to singular plural usage.

Made comment consistent.
2017-06-28 16:32:01 +03:00
Andrey Shovkoplyas 0b2483bf3b temporary fix for #1369
added new languages, fixed small shortcomings
2017-06-28 13:41:29 +03:00
aissenhub 32359d82b2 Create lv.cljs
Latvia (latvian language)
2017-06-28 12:34:54 +03:00
Cryotech06 310db2b103 Update to FR translation (#1311)
Create fr.cljs
2017-06-28 12:34:54 +03:00
skrinnikov 70d7349fbf bel.cljs 2017-06-28 12:34:54 +03:00
Yooji 52625d8788 Create de.cljs (#1330)
- fixed some typos
- changed some wordings
2017-06-28 12:34:54 +03:00
Kadauserer ac19bb0520 Create de.cljs (#1304)
update de.cljs
2017-06-28 12:34:54 +03:00
JackCandem 1517b02216 "Patch" 1.0
Tried to do it on mobile 2 hours ago and ended up accidentally deleting it...so again:

changed "formal" you to "personal" you as thought it would fit better.
changed several changes, small as well as big ones
will need to play around with the app more to be sure if i interpreted the constellation of some of those translations correctly
2017-06-28 12:34:53 +03:00
Zino Hofmann 655f1e17cc 🇳🇱 Update nl.cljs (#1356)
Update nl.cljs
2017-06-28 12:34:53 +03:00
yāλu dfc3d4939e added Nepali translation (#1346)
added Nepali translation
2017-06-28 12:34:53 +03:00
pedrobraz1990 c6493f6a4a Update pt_br.cljs
Based on whatsapp's words I changed a few translations, also found a couple of typos.
2017-06-28 12:34:53 +03:00
Yooji cc03fdcffa Create de_ch.cljs 2017-06-28 12:34:53 +03:00
Paradontix 2912adf8c9 Create la.cljs
"Hey guys I/we kinda thought whats the best way to advertise your project if not being able to tell that your supporters are actually so dedicated they will even translate your app into a dead language? (I mean there are propably a million better ways...but still) 
WE/I DID IT!
With the best of our/mine school latin and some dictionaries we translated Status into LATIN ! "
2017-06-28 12:34:52 +03:00
Bumsoo Kim de906ba5ef Added missing translation & some improvements 2017-06-28 12:34:52 +03:00
vehbimerakli 6ceab6e158 Create tr.cljs 2017-06-28 12:34:52 +03:00
Wietze Bronkema 2f8cc6b5fe Create fy.cljs (#1314)
Create fy.cljs. Translation of Status for the Frisian language
2017-06-28 12:34:52 +03:00
matte171 01779c8373 Small update 2017-06-28 12:34:52 +03:00
CopyyCatt 052647edac he.cljs (#1296)
Create he.cljs
2017-06-28 12:34:51 +03:00
Foo Pang 4ccc1dcbc4 Update Chinese translations 2017-06-28 12:34:51 +03:00
Guillaume 2c44fe9201 Fix some typos 2017-06-28 12:34:51 +03:00
ayakix 1b286a729c Update ja.cljs 2017-06-28 12:34:50 +03:00
Ante Sarkkinen a061bc5590 Create fi.cljs
Need to check the translations in the app later on.
2017-06-28 12:34:50 +03:00
nulldash 53f4f9a08a Create ms.cljs
Translation for Bahasa Malaysia
2017-06-28 12:34:50 +03:00
alwx 1596b61b46 More UI components accessible from API, ability to generate QR codes, small cleanup 2017-06-28 10:38:23 +03:00
Jan Herich fa8fe11bd7 chat: fix broken chat delete logic (#1343)
* chat: fix broken chat delete logic

Previously, persisting the chat delete functionality was working
only for group chats, where the `debug?` flag decided if delete was
a real "hard" delete (deleting data from the realm database) or just
marking with the `inactive` flag.

However non-group chats were not deleted at all, which I believe is a
bug fixed by this commit.

* chat: fix broken chat delete logic

Fix the branching logic with `if` instead of `when`
2017-06-26 20:41:58 +03:00
Julien Eluard fc7cc1d795 Clear :last-message when clearing chat history. Fixes #212 2017-06-26 18:43:08 +03:00
Julien Eluard 90d8b5c23c Fixes #1212 (#1249)
* Make sure suggestions properly popsup when command starts with space

* Added basic tests for splt-command-args

* Properly handle white spaces

* Added tests for commands with whitespaces
2017-06-26 13:45:49 +03:00
Julien Eluard 5e5b4fa2cf Tap on return permits sign-in. Fixes #1285 2017-06-26 13:18:05 +03:00
Andrey Shovkoplyas 63bf882e65 fixes https://github.com/status-im/status-react/issues/1217 2017-06-26 13:14:45 +03:00
Julien Eluard 7da40ce7fa Do not prevent input if first character is invalid 2017-06-26 10:50:19 +03:00
Julien Eluard 2ab9e4e85e Clear Seq arguments before navigating back to chat. Fixes #1355 2017-06-26 10:49:29 +03:00
Andrey Shovkoplyas 6d3edd7920 fixes https://github.com/status-im/status-react/issues/1325 2017-06-26 10:46:11 +03:00
Roman Volosovskyi 024cf6d6b8 status.sendMessage in jail
status.showSuggestions in jail
jail: fix localStorage behaviour on setItem with null value and getItem with key without value
2017-06-05 19:09:51 +03:00
Roman Volosovskyi c56fa0c688 localStorage in jail 2017-06-05 16:53:20 +03:00
matte171 111c6f3ae0 Update da.cljs
Major update with new sentences from en.cljs
2017-06-05 08:51:37 +03:00
Roman Volosovskyi 5b69439d3d allows markup returned from bot's init function to be shown 2017-06-05 08:10:49 +03:00
Roman Volosovskyi 6f6849f635 use status-go's hackaton-alt branch 2017-06-02 17:45:02 +03:00
Roman Volosovskyi 6921587e13 Navigation in drawer (#1261)
* navigation in drawer

* fix indentation
2017-06-02 17:35:59 +03:00
Roman Volosovskyi ec469f59b1 schedule :check-sync outside callback (which can be not called after locking/unlocking phone) 2017-06-01 11:10:36 +03:00
Roman Volosovskyi 45a08d7643 prevent unecessary :preview calls to jail 2017-06-01 10:55:46 +03:00
Mike Jackson 30ef161afa Bug: Can't set status with #\ (#1245) (#1252)
* escape queries correctly when querying realm
* kill dead code
2017-06-01 10:22:19 +03:00
alwx 2c90faab86 No more react-native-network-info, updated /debug command response 2017-06-01 10:18:04 +03:00
Andrey Shovkoplyas 1a3e346543 fixes https://github.com/status-im/status-go/issues/120 2017-05-30 16:16:18 +03:00
Julien Eluard 034ff3e413 Fixes #1220 Do not let catch escape 2017-05-26 17:34:37 +03:00
Gustavo Nunes 01fabc243d bold username in android 2017-05-26 17:22:45 +03:00
Gustavo Nunes 4c396a130e fix hour format 2017-05-26 17:22:45 +03:00
Gustavo Nunes e52b2c27dd drawer UI refresh 2017-05-26 17:22:45 +03:00
Gustavo Nunes 1119142913 fix #1234 2017-05-26 17:20:26 +03:00
Gustavo Nunes a623c02d53 android device back button goes back in webview #1204 2017-05-26 17:19:47 +03:00
Gustavo Nunes dd976fb2af fixes #1215 2017-05-26 17:18:51 +03:00
alwx 1b2f657bfb Support for status-dev-cli 3.2.0 — NDS, responses and 3 more commands 2017-05-24 12:49:17 +03:00
Julien Eluard edd191b705 Fix broken build 2017-05-24 10:13:50 +03:00
Andrey Shovkoplyas d358c33d9d open chat 2017-05-23 15:16:17 +03:00
Julien Eluard 9c6e5e4984 Fixes #1222 Do not crash when sharing null address. 2017-05-23 11:09:27 +03:00
Julien Eluard 48709aced3 Fixes #919 Confirmation dialog for the delete actions 2017-05-22 17:10:31 +03:00
Roman Volosovskyi e16b93fbd0 logging to Instabug 2017-05-19 23:35:17 +03:00
Roman Volosovskyi 0deca1f874 upgrade instabug 2017-05-18 16:12:40 +03:00
Roman Volosovskyi 88cee34997 disable Instabug for development env 2017-05-18 11:30:17 +03:00
alwx f165492b33 Devtools 3.0 support 2017-05-17 13:00:45 +03:00
Roman Volosovskyi 0919b4364e use :topic instead :topics for pending messages from realm 2017-05-17 12:58:33 +03:00
Roman Volosovskyi 4655323fbb migrate to new shh api 2017-05-15 08:12:03 +03:00
matte171 baada8b07f da.cljs
Danish translation. Using the Swedish translation as template.
2017-05-11 13:39:08 +03:00
Andrey Shovkoplyas 6433676f51 fixes https://github.com/status-im/status-react/issues/1016 2017-05-11 13:36:59 +03:00
Julien Eluard 0df5a59e87 Fixes #1180 Cleanup navigation stack when creating public group 2017-05-11 13:31:31 +03:00
Gustavo Nunes 27de707035 fix #1171 2017-05-11 13:27:03 +03:00
Andrey Shovkoplyas c277260b59 fixes https://github.com/status-im/status-react/issues/1170 2017-05-11 11:53:43 +03:00
Andrey Shovkoplyas c46d686632 fixes https://github.com/status-im/status-react/issues/1191 2017-05-10 16:45:53 +03:00
Roman Volosovskyi d4f2983a09 geolocation permissions request on android 2017-05-09 11:59:48 +03:00
Roman Volosovskyi 34b77022f7 another attempt to fix #1088 2017-05-08 15:43:40 +03:00
Roman Volosovskyi 07c247be93 back/forward buttons always enabled in @browse 2017-05-05 16:56:06 +03:00
Roman Volosovskyi 1010dedca9 fix #1173 2017-05-05 16:05:26 +03:00
Roman Volosovskyi e333c12d35 add loading indicator to webview 2017-05-05 13:25:12 +03:00
Roman Volosovskyi 2780e24f04 prevent loading bot's js using dapp-url/commands.js 2017-05-05 12:37:42 +03:00
Roman Volosovskyi 4265e73f33 add global-command to default_contacts
load browse first
prefill global-commands before bot's jails are loaded
2017-05-05 11:41:43 +03:00
alwx 808aa46f4f App asks for Microphone access while user tries to scan QR or capture an image (#1148) 2017-05-05 11:18:37 +03:00
alwx 08247698c3 Input field takes 3 lines for 1-line browse command [webview-command-actions] (#1155) 2017-05-04 21:05:43 +03:00
Andrey Shovkoplyas 3936d85c77 fixes https://github.com/status-im/status-react/issues/1163 2017-05-04 16:40:12 +03:00
Andrey Shovkoplyas 52c10562dc fixes https://github.com/status-im/status-react/issues/1096 2017-05-04 15:33:00 +03:00
alwx bdd2c3aa14 Input field takes 3 lines for 1-line browse command [webview-command-actions] (#1155) 2017-05-04 15:32:47 +03:00
alwx ff59f8a375 The concept of command actions; /browse command actions (back, forward, fullscreen) (#1093) 2017-05-04 14:26:52 +03:00
Gustavo Nunes 0359c2819b fix #1117 2017-05-04 12:17:01 +03:00
Gustavo Nunes b5edab5a21 fix #1157 2017-05-04 12:16:29 +03:00
Gustavo Nunes d533d48402 fix #1154 2017-05-04 12:16:13 +03:00
Andrey Shovkoplyas a17c00398b fixes https://github.com/status-im/status-react/issues/1111 2017-05-04 12:15:40 +03:00
Roman Volosovskyi 3607032a4e hide mailman contact
inject mailman's commands

ensure that mailman's commands are injected after loading
prevent loading of default contacts at account creation
2017-05-03 17:07:56 +03:00
alwx 1eaea101dd Command and argument are misaligned [iOS only] (#1151); Redundant :secure-text-entry value removed 2017-05-03 16:46:40 +03:00
alwx 145e3ba1d4 Invalid phone number error is shown for valid phone number (#1087) 2017-05-03 16:46:07 +03:00
Gustavo Nunes 93c47904e9 popup menu position 2017-05-03 15:17:30 +03:00
Gustavo Nunes faa146a35d bigger tap area for buttons 2017-05-03 15:17:30 +03:00
alwx a8566759b5 App crashes if access to camera was denied and user tries to scan QR or capture image (#1134) 2017-05-03 13:29:41 +03:00
Gustavo Nunes 6e5c8d91dd fix chat long tap not working with input focused 2017-05-03 12:13:09 +03:00
alwx ddb6344dca Input fixes (#1067, #676), #1110 2017-05-02 18:49:44 +03:00
Andrey Shovkoplyas 05886cc628 fixes https://github.com/status-im/status-react/issues/1138 and https://github.com/status-im/status-react/issues/837 2017-05-02 17:19:26 +03:00
Roman Volosovskyi 72d06426d8 fix #1135 2017-05-02 16:25:00 +03:00
alwx 561c66084c Hide opened keyboard when user taps on chat (#1057) 2017-05-02 13:47:46 +03:00
alwx 1a88b647b4 No camera is shown if scan QR. White screen is shown instead. (#1120) 2017-05-01 19:24:59 +03:00
Roman Volosovskyi 0c53936d61 fix #1123, fix #1122 2017-05-01 18:53:46 +03:00
Andrey Shovkoplyas fa94340b6a fixes https://github.com/status-im/status-react/issues/871 2017-05-01 14:00:12 +03:00
Roman Volosovskyi 2f1271e6af fix #1118 2017-05-01 12:10:01 +03:00
Roman Volosovskyi 1d532fc820 fix #1124 2017-05-01 11:47:15 +03:00
Roman Volosovskyi 6a20f9040c fix #1112 2017-05-01 11:00:48 +03:00
Roman Volosovskyi de2e4d105b avoid sending 1-to-1 messages to dapps over shh 2017-05-01 10:14:05 +03:00
alwx 73965c70d7 IP address is not shown for /debug On (#1101) 2017-04-28 17:32:57 +03:00
Gustavo Nunes d1ec220710 fix action button position 2017-04-28 17:32:04 +03:00
bitzco 97f1c123d9 id.cljs 2017-04-28 17:04:43 +03:00
alwx 504e3493ef Runtime permissions (#762) 2017-04-28 16:45:01 +03:00
Roman Volosovskyi a62d19c7bb :update-suggestions after command'sloading 2017-04-28 15:08:53 +03:00
Roman Volosovskyi 19d65a4d46 fix #987 2017-04-28 15:08:53 +03:00
Roman Volosovskyi 03cab7ace2 interactive suggestions 2017-04-28 15:08:53 +03:00
Roman Volosovskyi deb7b2b617 init command
move commands and responses to :contacts from :chats
2017-04-28 15:08:53 +03:00
Roman Volosovskyi d044b1cf43 resolve #850
add on-message-input-change and on-message-send listeners
logging in jail
2017-04-28 15:08:53 +03:00
Roman Volosovskyi 1fbb447761 use global @browse command for opening dapps (#847) 2017-04-28 15:08:53 +03:00
Roman Volosovskyi 239a0cbfe6 split console bot into separate files
bots dir
slurp-bot macro
split commands.js into browse, mailman and wallet
bot-url & loading of default bots
command schema
command-parameter schema
global-command in default_commands
@browse command in all chats
load global command from jail
optimize applications startup

 Conflicts:
	bots/wallet/translations.js
	resources/console.js
	resources/dapp.js
	resources/default_contacts.json
	resources/status.js
	resources/wallet.js
	src/status_im/accounts/screen.cljs
	src/status_im/chat/constants.cljs
	src/status_im/chat/handlers.cljs
	src/status_im/chat/handlers/commands.cljs
	src/status_im/chat/handlers/send_message.cljs
	src/status_im/chat/subs.cljs
	src/status_im/chat/suggestions.cljs
	src/status_im/chat/views/command.cljs
	src/status_im/chat/views/suggestions.cljs
	src/status_im/commands/handlers/jail.cljs
	src/status_im/commands/handlers/loading.cljs
	src/status_im/contacts/handlers.cljs
	src/status_im/data_store/realm/schemas/account/core.cljs
	src/status_im/data_store/realm/schemas/account/v5/core.cljs
	src/status_im/models/commands.cljs
	src/status_im/utils/js_resources.cljs
2017-04-28 15:08:53 +03:00
alwx 4e932d9ae8 Chat commands fix 2017-04-27 17:16:12 +03:00
Andrey Shovkoplyas 0d55009388 improved status-bar for android, implemented animated expandable overlay 2017-04-27 13:52:02 +03:00
alwx 9d975c497f Fix for :set-chat-ui-props call 2017-04-25 16:49:05 +03:00
alwx e34d9fbc49 Emoji and numeric keyboards are shown when tap on /send while emojis are opened (#1056) 2017-04-25 13:57:32 +03:00
Roman Volosovskyi a9d1426426 sendWeb3Request method in StatusModule 2017-04-25 11:00:58 +03:00
Gustavo Nunes 441ca66e96 switch to completeTransactions exposed method 2017-04-25 08:43:01 +03:00
Alexander Pantyuhov 8c262d0b07 Upgrade to React Native 0.43 (#1079)
* React Native 0.40 migration (#1076)
2017-04-24 17:50:16 +03:00
alwx 735639776b text-change optimisations (#971) 2017-04-24 12:37:31 +03:00
Andrey Shovkoplyas eeb7d72d4a fixed top margin for android 2017-04-24 10:17:13 +03:00
Andrey Shovkoplyas e86e622924 hide overlay 2017-04-21 13:01:31 +03:00
Andrey Shovkoplyas 6da18d3fca fixes https://github.com/status-im/status-react/issues/1055 2017-04-21 13:01:31 +03:00
Gustavo Nunes 6b524cf50d expanded toolbar buttons' touch area 2017-04-21 09:14:53 +03:00
Roman Volosovskyi bafa2820e1 undo bug/#1057 fix 2017-04-20 21:24:23 +03:00
Andrey Shovkoplyas 04546fd8f9 fixes https://github.com/status-im/status-react/issues/1062 2017-04-20 17:27:06 +03:00
alwx 746d038c05 Hide opened keyboard when user taps on chat (#1057) 2017-04-20 17:24:22 +03:00
Roman Volosovskyi 4f7f5c11c9 fix #1045 2017-04-20 14:25:18 +03:00
alwx 9d6f155c38 Style fixes; Emoji in Display name is cut on Chats, View Profile and Contacts (#945) 2017-04-20 14:23:52 +03:00
Roman Volosovskyi b52428d319 fix #1049 2017-04-20 12:55:00 +03:00
Roman Volosovskyi 949ff2554e fix #1036 2017-04-20 11:21:13 +03:00
Gustavo Nunes 3b7a4b54ef whole header is now draggable 2017-04-20 08:23:07 +03:00
Gustavo Nunes 84c81002c1 bigger draggable-box top margin, chat screen overlay 2017-04-20 08:23:07 +03:00
Andrey Shovkoplyas 0c7aab902a fixes https://github.com/status-im/status-react/issues/984 2017-04-19 16:10:54 +03:00
alwx 9a80548cf3 Commands are not shown in group chat after member is added (#1031) 2017-04-19 16:05:19 +03:00
Andrey Shovkoplyas 954acda50f fixes https://github.com/status-im/status-react/issues/994 2017-04-19 14:30:14 +03:00
alwx 4e488d91b9 Pre-filling /send response with amount (#996) 2017-04-19 14:21:50 +03:00
alwx c8a3d13ca3 Transaction fixes (#997, #1004) 2017-04-19 06:56:07 +03:00
Gustavo Nunes ac7da93387 Unsigned transactions back button doesnt cancel transactions anymore 2017-04-18 20:56:03 +03:00
Roman Volosovskyi ea31f70b5b fix #1030 2017-04-18 15:26:47 +03:00
Alexander Pantyuhov ae73ccac58 Text input fixes (#1020, #1021, #1024, #1026) (#1027)
* Text input fixes (#1020, #1021, #1024, #1026)
2017-04-17 20:46:47 +03:00
Roman Volosovskyi 9737d0fb60 fix #1023 2017-04-17 16:04:02 +03:00
Andrey Shovkoplyas 0e5b515f5e updated ui for accounts, login and recover screens 2017-04-17 14:51:11 +03:00
Roman Volosovskyi 2a0239ddae prevent sending contact request to dapp 2017-04-17 10:16:17 +03:00
alwx 887dc44fc8 Better text input, fixes for #1013 and #1017 2017-04-17 08:24:09 +03:00
Andrey Shovkoplyas 59a9a63fb8 fixes https://github.com/status-im/status-react/issues/993 2017-04-17 08:18:59 +03:00
Roman Volosovskyi 4843003749 fix #1003 2017-04-17 08:13:48 +03:00
Roman Volosovskyi 5b0e6642c2 fix #1014 2017-04-16 11:13:22 +03:00
alwx e24df409e8 Tap in input filed has no effect if message was sent with Enter [ui-refresh] (#999) 2017-04-16 10:46:00 +03:00
alwx 4633a23c17 Cursor is moved to command box instead of parameter box if edit phone from profile [ui-refresh] (#998) 2017-04-16 10:31:14 +03:00
alwx 738f146896 Tap on Return adds new line to input instead of sending a message (#1000) 2017-04-14 21:25:47 +03:00
Roman Volosovskyi b6f220d425 fix #1006 2017-04-14 16:26:01 +03:00
Roman Volosovskyi 1b5c758098 fix command input placeholder position on real iOS device 2017-04-14 12:10:19 +03:00
Gustavo Nunes 3244fa49ce Transaction screens: fee and title (#995)
* add estimated fee field
2017-04-14 10:39:52 +03:00
Roman Volosovskyi dd2c3aa287 fix namespaces 2017-04-13 20:36:22 +03:00
Roman Volosovskyi d0d273f1e5 fix undeclared ios? 2017-04-13 18:29:29 +03:00