Commit Graph

403 Commits

Author SHA1 Message Date
Jaco Greeff
8798ed4499 Merge branch 'master' into ui-2 2017-06-28 14:27:25 +02:00
Tomasz Drwięga
c7a043b864 Content Security Policy (#5790)
* Adding CSP headers.

* Adding Content-Security-Policy headers.

* Fixing test.

* CSP in ws server responses.
2017-06-28 09:12:02 +02:00
Craig O'Connor
614a80bd23 Cancel propagated TX (#5899)
* lgtm

* linting

* Slight shortening
2017-06-23 10:32:19 +02:00
Jaco Greeff
a6d3d4ea4c Secure API access via single-use tokens (#5892)
* Single use token for dapp permissions

* Add accountsInfo & allAccountsInfo

* Covert token -> dappName in requests
2017-06-21 15:15:23 +02:00
Jaco Greeff
e479260e1f Method intercept dialog selection (#5875)
* Cleanup filter config

* Show single request of type (at a time)

* Align packages

* DappFilter -> DappRequests

* Methods dialog (WIP)

* Initial dapp methods modal

* Align dialog & popup permissions

* appname -> token mapping TODOs

* Case
2017-06-19 17:25:17 +02:00
Jaco Greeff
6ea932b1de Update test for packages 2017-06-13 12:09:32 +02:00
Jaco Greeff
a2fdf38316 Additional merge fixes 2017-06-13 11:34:43 +02:00
Jaco Greeff
7bbd48a2bd Merge branch 'master' into ui-2
# Conflicts:
#	js/package.json
#	js/src/api/local/ethkey/worker.js
#	js/src/modals/FirstRun/TnC/tnc.js
#	js/src/modals/FirstRun/Welcome/welcome.js
#	js/src/ui/Form/Input/input.js
#	js/src/ui/VaultCard/Accounts/accounts.spec.js
#	js/src/views/Accounts/accounts.js
#	js/src/views/Application/TabBar/tabBar.js
#	js/src/views/Settings/Views/defaults.js
#	js/src/views/Settings/Views/views.js
#	js/webpack/app.js
#	js/webpack/libraries.js
2017-06-13 11:02:38 +02:00
Tomasz Drwięga
5c3ea4ec29 Require phrase confirmation. (#5731)
* Require phrase confirmation.

* Linting issues.

* Fix dialog title.

* Confirm a backup phrase.

* Confirm recovery phrase on fist run as well.
2017-06-09 12:25:14 +02:00
Jaco Greeff
c1599a3d85 Merge branch 'master' into ui-2
# Conflicts:
#	js/src/ui/Balance/balance.js
2017-06-08 11:51:46 +02:00
Jaco Greeff
882f963e6b Block invalid account name creation (#5784)
* Additional non-empty phrase check (fromNew)

* Explicit canCreate check in create (not only on UI)

* BN instance check (fixes Geth imports)

* Fixup tests after better checks

* PR comments (Thanks @tomusdrw )

* Typo
2017-06-07 16:27:01 +02:00
Jaco Greeff
6a480ffb5b Merge branch 'master' into ui-2 2017-06-06 09:35:22 +02:00
Tomasz Drwięga
5ec5d2fa0b Fix local transactions without condition. (#5716) 2017-06-03 15:41:31 +03:00
Jaco Greeff
a328eef8d9 UI 2 Api providers (#5714)
* Add providers

* Convert rpc calls to use provider

* Update SecureApi for provider
2017-05-31 12:08:04 +02:00
Nicolas Gotchac
c2c7231cad Recover from empty phrase in dev mode (#5698)
* Add dev chain to isTest

* Fix signer

* Fix no condfition transactions

* Fix case : old parity

* Fix propTypes.
2017-05-30 19:28:50 +02:00
Jaco Greeff
fd3c8bced7 UI2 fixes for Signer popup (#5711)
* Fix new origin shape

* Pass input types through (<input /> tag)

* Update build
2017-05-30 13:41:30 +02:00
Craig O'Connor
7a4eb15b4c Form fixes (#5664)
* label fix

* label-tx-row

* form fixes
2017-05-22 11:00:37 +02:00
Nicolas Gotchac
8b1f0b7cf4 Add Recover button to Accounts and warnings (#5645)
* Add Recover button to Accounts // Add Warnings

* Change to 11

* Add test net checks for empty recovery phrase

* Fix failing tests
2017-05-18 11:50:15 +02:00
Jaco Greeff
20bda5f5a0 Ui 2 components cleanups (#5653)
* Add autoFocus for search

* Remove old/unused renderer

* LabelComponent -> LabelWrapper

* Consistent LabelWrapper usage
2017-05-18 11:48:53 +02:00
Jaco Greeff
673cde3c0b Ui 2 cleanups (unused components, shared assets) (#5636)
* Remove unused components

* Move to dapp/index.js

* Move assets to @parity/shared
2017-05-16 16:01:11 +02:00
Jaco Greeff
95f6f70d8f Ui 2 complete MUI removal (#5635)
* Convert DateTime input component

* Remove muiTheme context
2017-05-16 14:46:48 +02:00
Jaco Greeff
31be9d25f3 Merge branch 'master' into ui-2
# Conflicts:
#
js/src/shell/Signer/components/TransactionPendingFormConfirm/transaction
PendingFormConfirm.js
#	js/src/ui/Container/Title/title.js
#	js/src/views/Application/Snackbar/snackbar.js
#	js/src/views/Status/Peers/peers.js
2017-05-16 13:30:19 +02:00
Jaco Greeff
665998e797 Ui 2 mui to sui conversion (#5633)
* Split chip rendering from input

* Slider component

* Render Chip without MUI

* Adjust InputChip styling

* Remove mui chip input

* Remove mui-chip-input from build

* Convert input to sui
2017-05-16 12:25:47 +02:00
Nicolas Gotchac
0f1a857576 Add peer management to the Status tab (#5566)
* Add peer management to the Status tab

* Fix propTypes issue
2017-05-16 11:01:55 +01:00
Jaco Greeff
c27d96a4f1 Ui 2 additional MUI replacements (#5623)
* Loader spinner

* Progressbar conversion

* Update Progress

* Transfer operational again

* Remove List/ListItem from features

* Remove extra animation

* Remove iconButton

* Remove underline(input to be replaced)

* Convert Sort to Popup

* Remove unused AutoComplete component

* Simplify ModalBox

* Allow empty Actionbar

* Adjust shapeshift icon

* Simplify MUI theme (before removal)

* Update tests
2017-05-15 14:49:47 +02:00
Jaco Greeff
7cdddd344b Ui 2 remove mui from views & shell (#5613)
* Stepper from semantic-ui

* Tabs component

* ui/Tabs in loadContract

* Adapt Dropdown events

* Remove direct use of semantic-ui

* Remove IconButton & Subheader

* Remove IconMenu

* ui/List & List.Item

* Be explicit in context props
2017-05-12 17:06:53 +02:00
Jaco Greeff
5da7c32bdf Ui 2 radios & imports (#5609)
* Remove mui IconButton

* Token type selection

* Convert RadioButtons

* RadioButtons consistency

* Import @parity/ui

* Import @parity/ui

* Explicit name for RadioButtons

* Convert to semantic Radio
2017-05-12 12:06:16 +02:00
Jaco Greeff
78b6de55b3 Ui 2 Select component conversion (#5598)
* Remove mui/Paper from PasswordManager

* Aliasses for @parity packages

* Remove mui/Card from contract queries

* Toggle component replacement (mui-only)

* Semantic-ui toggle component

* LabelComponent warpper for Toggle

* Convert Selectors

* Test fixes

* Fix case
2017-05-11 14:02:27 +02:00
Craig O'Connor
85cf93e65d Merge pull request #5559 from paritytech/menu
dropdowns
2017-05-10 23:48:40 -04:00
Jaco Greeff
566b6a1967 Merge branch 'master' into ui-2
# Conflicts:
#	js/src/shared/redux/middleware.js
#	js/src/shared/redux/providers/registry/middleware.js
#	js/src/shell/Application/application.js
#	js/src/ui/Actionbar/actionbar.js
#	js/src/ui/Button/button.js
#	js/src/ui/Form/AddressSelect/addressSelect.js
#	js/src/ui/Form/Input/input.js
#	js/src/ui/MethodDecoding/methodDecoding.js
2017-05-10 17:29:07 +02:00
Nicolas Gotchac
eff4cde738 Add tooltips capabilities to buttons (#5562)
Add tooltips for buttons on ActionBar if text not visible
2017-05-10 16:19:01 +02:00
Nicolas Gotchac
860d6c01ed Set block condition to BigNumber in MethodDecoding (#5592)
* Set block condition to BigNumber in MethodDecoding

* Add gt(0)
2017-05-10 14:41:52 +02:00
Jaco Greeff
7799883adc Fix tests 2017-05-10 14:31:55 +02:00
Jaco Greeff
c3ee7f04e5 Simplify Dropdown, pass label correctly 2017-05-10 14:27:04 +02:00
Jaco Greeff
1c262b2172 Merge branch 'ui-2' into menu 2017-05-10 13:47:36 +02:00
Jaco Greeff
b9c4e5b36c Ui 2 depends & fixes (#5590)
* File paths

* Align balance overlays & sizes

* Copy works as expected

* Re-arrange imports

* Icon props

* Move packages to their original dependencies

* Dependencies to packages

* Update test babel overrides
2017-05-10 13:23:14 +02:00
oconnorct1
66843a349d SemanticButton 2017-05-09 21:08:05 -04:00
oconnorct1
f014891288 Merge branch 'menu' of github.com:paritytech/parity into menu 2017-05-09 21:07:10 -04:00
oconnorct1
19d97136a5 grumbles 2017-05-09 21:06:11 -04:00
oconnorct1
68cbd87bc2 grumbles 2017-05-09 21:04:56 -04:00
Jaco Greeff
861cbb874b Ui 2 ui (#5582)
Ui 2 small UI fixes
2017-05-09 17:31:48 +02:00
Jaco Greeff
7623455cb6 Snackbar update 2017-05-09 14:20:36 +02:00
Jaco Greeff
7785fa3938 Fix JS header (// comments for JS) 2017-05-09 14:06:06 +02:00
Jaco Greeff
36b437270b Remove Card completely 2017-05-09 14:04:58 +02:00
Jaco Greeff
c37c579585 Merge branch 'ui-2' into menu 2017-05-09 13:50:47 +02:00
Jaco Greeff
4c28ef40b7 Ui 2 shared package (redux, mobx, utils) (#5579)
* Create @parity/shared

* Move ~/util to shared/util

* Move ~/contracts to shared/contracts

* Move ~/config to shared/config

* Move ~/environment to shared/environment

* Updated paths

* Move ~/mobx to shared/mobx

* Move ~/redux to shared/redux

* Add shared to test babel compile
2017-05-09 12:01:44 +02:00
oconnorct1
43629d0fd4 card / update dropdown 2017-05-07 02:17:31 -04:00
Jaco Greeff
d91fae4e54 UI 2 tests & webpack dapp build updates/fixes (#5561)
* Tests are executing again

* Fix tests

* Add missing contextTypes

* IdentityIcon without Connect()

* Update ~/ui tests

* Update spec locations

* Filename case

* Fix playground dapp build
2017-05-05 15:14:05 +02:00
oconnorct1
34bdf61cf0 dropdowns 2017-05-05 03:04:48 -04:00
Craig O'Connor
c1f07c3329 Mui-be-gone-3 (#5546)
* mui-be-gone

* second

* mui-be-gone-3

* updates

* ups and ups

* oops

* Revert to changes in removed files from ui-2

* Revert to stateless component
2017-05-04 11:03:55 +02:00