Commit Graph

1696 Commits

Author SHA1 Message Date
GitLab Build Bot
0189481ee6 [ci skip] js-precompiled 20161030-090922 2016-10-30 09:10:18 +00:00
Jaco Greeff
70f87ea002 Publish parity.js to npmjs registry (#2978)
* Skeleton packages

* Publish parity.js package to npm

* [ci skip] js-precompiled 20161029-190427

* Extra step information

* [ci skip] js-precompiled 20161029-192209

* Use autToken for npmjs (cannot run headless in docker)

* [ci skip] js-precompiled 20161029-193414

* Correct package.json structure

* [ci skip] js-precompiled 20161029-194003

* Scope package to public

* [ci skip] js-precompiled 20161029-194529

* Start package version at 0.1.0

* Build proper umd library

* [ci skip] js-precompiled 20161029-231233

* Update build/release stage

* [ci skip] js-precompiled 20161030-071454

* Basic README.md to satisfy npmjs

* [ci skip] js-precompiled 20161030-073150

* CommonJs format

* [ci skip] js-precompiled 20161030-075034

* Update README.md

* update dependencies

* [ci skip] js-precompiled 20161030-075727

* Starting package version

* Build only on master
2016-10-30 09:55:46 +01:00
Jaco Greeff
acaa40e221 Import raw private key (#2945)
* Initial selection screen

* UI in-place

* Make actual import API calls

* Simplify value checking logic
2016-10-30 09:54:21 +01:00
Jannis Redmann
86c0dbeedc refactor etherscan.io links (#2896)
* use proper querystring builder

* etherscan.txLink helper

* refactor to etherscan.txLink

* etherscan.addressLink helper

* refactor to etherscan.addressLink

* move txLink & addressLink into common file
2016-10-30 09:37:15 +01:00
Jaco Greeff
e304a2f3fe Add favicon (#2974)
* Add favicon.ico

* Add favicon to all html pages

* Cleanup favicon background
2016-10-29 19:06:33 +02:00
Jaco Greeff
4d1cfd6706 Align password change dialog with create (#2970) 2016-10-29 17:39:08 +02:00
Jaco Greeff
49a7b84f14 Pass gas & gasPrice to token transfers (#2964) 2016-10-29 15:32:10 +02:00
Jaco Greeff
65c985bef3 Gavcoin event display updates (#2956)
* Mapp all known addresses

* Display timestamp in event log

* Shorten addresses

* Display "Pending" timestamps as well

* Pending/Loading with empty timestamp
2016-10-29 13:04:47 +02:00
Jaco Greeff
c61526f8d5 Eslint fixes (package upgrade) (#2957) 2016-10-29 09:55:55 +02:00
Jaco Greeff
8d66fc50e2 Add import of raw private key RPCs (#2942)
* Importing an account from raw secret

* Add jsapi & jsonrpc for personal_newAccountFromSecret
2016-10-28 16:46:25 +02:00
Jaco Greeff
6abd08f5b2 Bring in styling queues from original Gavcoin (#2936)
* Bring in styling queues from original

* NewTranch background colour update
2016-10-28 16:46:11 +02:00
Jaco Greeff
908e563f18 Revert hash updates until testable (#2925)
* Revert hash updates until testable

* Re-add hash to echo (debug info)
2016-10-27 22:26:47 +02:00
Jaco Greeff
a9e7f59203 Merge branch 'master' into jg-js-release-fix (#2924)
# Conflicts:
#	js/scripts/release.sh
2016-10-27 21:15:41 +02:00
Jaco Greeff
9fd8ac6a15 additional release.sh debugging info (#2922) 2016-10-27 21:05:47 +02:00
Jaco Greeff
a4e84c375e Pass the js-precompiled commit hash to cargo update (#2920) 2016-10-27 19:30:13 +02:00
Jaco Greeff
8dff4012a6 Personal split (#2879)
* Split personal namespace into Safe and Unsafe part

* Re-add api.personal.accountsInfo() calls to dapps

* Removing listGethAccounts from safe personal
2016-10-27 19:26:34 +02:00
Jaco Greeff
d72ea19e54 iconomi token images (#2906) 2016-10-26 22:25:51 +02:00
Nicolas Gotchac
f7259c26d1 Fixes too long desc and Token Balance Value (#2891) (#2902) 2016-10-26 21:25:03 +02:00
Nicolas Gotchac
6b2cffd312 Merge branch 'master' into ng-accounts-backup 2016-10-26 18:43:05 +02:00
Nicolas Gotchac
e018739ba9 Removed unused Format => Use JSON for Export 2016-10-26 18:42:52 +02:00
Jaco Greeff
e449477f23 Add mising imgages for local dapps (#2890) 2016-10-26 17:04:48 +02:00
Nicolas Gotchac
99fab5cdb9 Fix Webpack, again (#2895)
* Add inject to "bundle everything" list

* Fixes the `build-server` script // Updates Webpack config (#2872)

* New Webpack config file for libraries

* Added `parity-utils` path

* Removed parity in CommonChunks prod

* Fixes CI build

* Re-Add Libs in Webpack Config
2016-10-26 16:27:53 +02:00
Nicolas Gotchac
af27bfe868 Fixes CI JS precompiled build (#2886)
* Add inject to "bundle everything" list

* Fixes the `build-server` script // Updates Webpack config (#2872)

* New Webpack config file for libraries

* Added `parity-utils` path

* Removed parity in CommonChunks prod

* Fixes CI build
2016-10-26 14:59:45 +02:00
Nicolas Gotchac
0441babb5f Fix empty tags modif. (#2882) 2016-10-26 13:55:41 +02:00
Jaco Greeff
c8809b3396 Add inject to "bundle everything" list (#2871)
* Add inject to "bundle everything" list

* Fixes the `build-server` script // Updates Webpack config (#2872)

* New Webpack config file for libraries

* Added `parity-utils` path

* Removed parity in CommonChunks prod
2016-10-26 13:44:38 +02:00
Nicolas Gotchac
1b0a87cdde Removed CSV Export option (#2147) 2016-10-26 11:59:25 +02:00
Nicolas Gotchac
c05430e25e Fixes signer errors throwing // MaterialUI Update errors too (#2867) (#2876) 2016-10-26 11:56:38 +02:00
GitLab Build Bot
e1c2cff957 fix failing tests after log parsing updates 2016-10-26 10:41:46 +02:00
Jaco Greeff
d1d82e787b Make GitLab js-precompiled really update Cargo.toml in main repo (#2869)
* Src outputs into build.sh

* reset detatched head

* add .dist

* testing for this branch

* update comments, be explicit is what we are doing

* [ci skip] js-precompiled 20161025-173946

* Revert "[ci skip] js-precompiled 20161025-173946"

This reverts commit 0d23f7683c6e18e4642566313963c130684afa90.

* remove testing branch

* typo
2016-10-25 22:27:13 +02:00
Nicolas Gotchac
61f41cdbe2 Add exporting to CSV (#2147) 2016-10-25 18:26:47 +02:00
Nicolas Gotchac
92bdfb1234 Add Export button to Accounts (#2147) 2016-10-25 18:06:05 +02:00
Nicolas Gotchac
2d2e9c4d6e Add Check and Change Password for an Account (#2861)
* Added new RPC endpoints to JSAPI (#2389)

* Added modal in Account Page to test & modify password (#2389)

* Modify hint with password change // Better tabs (#2556)
2016-10-25 17:54:01 +02:00
Jaco Greeff
e71c752210 Output git fetch/push to log files (#2862)
* add -q options for fetch & push

* Store log in .gitignored location

* update GITLOG command location

* Remove test branch
2016-10-25 17:39:19 +02:00
Jaco Greeff
7eacf07629 Align contract event log l&f with transactions (#2812)
* Event into own component, align with transactions

* Pass value & type through from event log params

* Reformat display columns
2016-10-25 16:02:12 +02:00
Jaco Greeff
4fc1c5f42e Remove personal_* calls from dapps (#2860)
* remove accountsInfo & listAccounts

* registry accounts selector works
2016-10-25 15:15:22 +02:00
Jaco Greeff
b6f2628018 Token sorting, zero-ETH transfer & token decimals (#2805)
* Error trapping for decimals (Fixes #2799)

* Sort tokens by tag (Closes #2789)

* PR comments

* Always display ETH

* Recalculate in all cases (traps >available)
2016-10-25 13:22:27 +02:00
Tomasz Drwięga
1af40a3db3 Fixing UI compilation (#2853) 2016-10-25 12:11:56 +02:00
Nicolas Gotchac
037a8c7625 Removes event name in unsubscribe API + Tests (#2364) (#2844) 2016-10-25 11:43:24 +02:00
Jaco Greeff
9f6da3f829 Don't return empty names as clickable titles (#2809)
* Don't return empty names (Fixes #2786)

* add trim in validation
2016-10-25 11:43:05 +02:00
Jaco Greeff
285727e2fd Auto-bump js-precompiled on release (#2828)
* Auto-bump js-precompiled on release

* [ci skip] js-precompiled 20161022-232245

* Remove old GitLab tests

* Only move file.ext (get rid of error)

* allow add, commit & push failures (auto-bump)
2016-10-25 09:36:42 +02:00
Nicolas Gotchac
1b42e9a9af Added Export Component in Actionbar => export Addressbook (#2153) (#2847) 2016-10-24 18:27:35 +02:00
Nicolas Gotchac
487da9c9c6 Trigger accounts/contracts search on search input change (#2838)
* Styling Chips in search bar (#2766)

* Styling search chips // Add chip on space/comma/... (#2766)

* Update search on input (#2766)

* Fixing search triggers bugs (#2766)

* removed console logs

* Use props instead of weird CSS selectors for Search Bar

* Add tags on space and commas in EditMeta modal (#2766)

* Fixed empty input in EditMeta modal ; tokens input
2016-10-24 16:35:43 +02:00
Jannis Redmann
ff347da8d3 fix node log being reversed (#2839) 2016-10-24 15:11:32 +02:00
Nicolas Gotchac
f4203a2571 Fixes currency symbol font size in Shapeshift modal (#2840)
* Fix case error in Dapps import

* Fixed big input in modal and currency symbols size (#2718)

* `em` instead of `rem`
2016-10-24 15:10:27 +02:00
Jaco Greeff
e0207b594b Add ethcore_[dapps|signer]Port APIs (#2821)
* Add ethcore_[dapps|signer]Port APIs

* typo
2016-10-24 15:09:33 +02:00
Jannis Redmann
9500f2b83d merge #2837 from ng-import-case-fix
Fix case error in Dapps import
2016-10-24 13:13:39 +02:00
Nicolas Gotchac
35925db825 Double click on address in account detail view should select it 2016-10-24 13:03:44 +02:00
Jaco Greeff
7e84b078dd Adjust paths to handle CORS changes (#2816)
* Adjust :8080 paths for CORS & development

* No need to redirect, Node takes care of it
2016-10-24 12:21:52 +02:00
Nicolas Gotchac
bd040d4cfd Fix case error in Dapps import 2016-10-24 10:28:18 +02:00
Jaco Greeff
8cf9934cab Update build to working version on repo (#2825) 2016-10-23 00:28:19 +02:00
Jaco Greeff
3637c6ad9a Adjust network name badge colours (darker) (#2823) 2016-10-22 22:29:47 +02:00
Tomasz Drwięga
aca82fb84b Removing submodule in favour of rust crate (#2756)
* Removing submodule

* Fixing UI dependency structure.

* Merging RS and JS package

* Updating release script to push also rs files

* fix merge gone wrong

* Fixing compilation
2016-10-22 20:07:12 +02:00
Jannis Redmann
bf827a758f fix Signer UI (#2750)
* fix Signer UI

* resolve conflicts
2016-10-22 19:25:30 +02:00
Jaco Greeff
cf9ad991db USG, GBP, Euro & Yuan updates (#2818) 2016-10-22 18:02:48 +02:00
Jaco Greeff
a1266fccb7 Make local apps available (Fixes #2771) (#2808) 2016-10-22 15:49:39 +02:00
jacogr
82496ae525 validate meta properly 2016-10-22 10:38:48 +02:00
jacogr
8a60ed1315 empty data is allowed 2016-10-22 10:38:34 +02:00
jacogr
c312f4fb92 don't attempt to map empty types 2016-10-22 10:21:33 +02:00
jacogr
db4f1c382e format blockNumber consistently 2016-10-22 09:58:50 +02:00
Nicolas Gotchac
76cded7fa4 Use trace API for decentralized transaction list (#2784)
* Using traces when available to get accounts transactions (#2148)

* Fixed traceMode detection and transactions rendering (#2148)

* [WIP] Use Redux Thunk in main UI => Async Actions (#2148)

* Using Redux for Transaction / Block / Methods... (#2148)

* Use BigNumber comparedTo function to sort txs (#2148)
2016-10-22 09:45:54 +02:00
Jaco Greeff
df799362bf Update token images (#2804)
* Additional token images

* Add HKG image token

* Updated token images
2016-10-21 21:24:12 +02:00
Jaco Greeff
2689b13681 Hackergold token images (#2801)
* Additional token images

* Add HKG image token
2016-10-21 21:02:10 +02:00
Jaco Greeff
f58bdf2ccf Additional token images (#2798) 2016-10-21 19:50:17 +02:00
Nicolas Gotchac
dc5dd6b941 Bumped Material UI version (fixing issues with AutoComplete) (#2790)
Fixed issues with Searchable addresses
2016-10-21 17:01:06 +02:00
Nicolas Gotchac
c24f4e87ad Merge pull request #2788 from ethcore/jg-images-currency
Currency icons
2016-10-21 15:23:32 +02:00
jacogr
cb68599a6d Currency icons 2016-10-21 15:22:14 +02:00
Jaco Greeff
dc8fcfde20 Update token images (#2783) 2016-10-21 13:44:34 +02:00
jacogr
e55d6def73 Update name of basiccoin manager 2016-10-21 00:21:08 +02:00
Jaco Greeff
7efffea34b Update js precompiled to 20161020-141636 (#2761) 2016-10-20 17:40:51 +02:00
Jannis Redmann
68efbe32bf fix contract deployments not showing up (#2759)
* fix contract deployments not showing up

I'm really not happy with this.

Since the Signer consists of many, deeply nested, components, which in many cases
just pass props through, it's hard to trace this. `<TransactionPending>` is
supposed to fetch data from Parity (smart component) and pass it on to its (dumb)
children. For that, it needs to know implementation details of them.

* eslint 💄
2016-10-20 16:37:25 +02:00
Nicolas Gotchac
5c49168a66 Fix positionning issue of Icon in Address Selection (#2754) 2016-10-20 16:35:08 +02:00
Jannis Redmann
67f734cb20 fix linting issues (#2758) 2016-10-20 16:09:58 +02:00
Jaco Greeff
8ef598990a Update js-precompiled to 20161020-110858 (#2752) 2016-10-20 14:35:48 +02:00
Jannis Redmann
d2e4bafaa5 refactor signer components (#2691)
* remove TransactionPendingWeb3

* remove TransactionFinishedWeb3

* remove SignRequestWeb3
2016-10-20 11:31:23 +02:00
Jaco Greeff
81f8e86e47 Png images with backgrounds from original svg (#2740) 2016-10-20 11:25:36 +02:00
Nicolas Gotchac
1e21b07e07 Make address selection searchable (#2739)
* Remove padding on address input if empty (#2141)

* Use Autocomplete to make address selection searchable (#2141)

* Adds AutoComplete Wrapper (#2141)
2016-10-20 11:25:20 +02:00
Jannis Redmann
9b246245bf very basic dapp add/remove interface (#2721)
* refactor dapp loading

* basic modal window

* UI for removing dapps

* button to open modal

* eslint 💄, make dialog scrollable

* Dialog -> ui/Modal

* show dapp hash
2016-10-20 11:22:25 +02:00
Nicolas Gotchac
248437fa1d Implements Trace API Formatter (#2732)
* Add formatter for Traces API output (#2700)

* Adding formatter tests (#2700)
2016-10-19 20:15:27 +02:00
Nicolas Gotchac
319cfb278c Custom Input props value change must be reflected (#2734) (#2735) 2016-10-19 18:34:56 +02:00
Jaco Greeff
a71006ebc4 Merge pull request #2731 from ethcore/ng-copy-clipboard-fix
Fixed Snackbar not showing and/or behind transactions (#2730)
2016-10-19 18:04:18 +02:00
Nicolas Gotchac
c50ef499b3 Fixed Snackbar not showing and/or behind transactions (#2730) 2016-10-19 16:58:14 +02:00
Jannis R
dd51c7ef42
dapps: show errors 2016-10-19 16:40:39 +02:00
Jannis R
c4b60b8552
fix styling 2016-10-19 14:03:33 +02:00
Jannis R
6c6ad6d660
node logs: break lines 2016-10-19 13:36:08 +02:00
Nicolas Gotchac
dd89ecea43 Add 'Copy to Clipboard' icon in Accounts Header (#2167) (#2716) 2016-10-19 13:24:22 +02:00
Jannis Redmann
cf170418d5 merge #2720 from ng-ui-tags-fixes
Sort tags when displaying ; use AND for search results
2016-10-19 13:21:54 +02:00
Jaco Greeff
b9a4e42bbe allow-same-origin for iframe (#2711) 2016-10-19 13:18:58 +02:00
Nicolas Gotchac
749e1e44b9 Use Array.prototype.some instead of filter then length 2016-10-19 13:15:01 +02:00
Nicolas Gotchac
88eb72468e Use AND instead of OR for tags search // Sort tags when displayed (#2719) 2016-10-19 13:01:06 +02:00
Nicolas Gotchac
cc10f412dc Allow tags for Accounts, Addresses and Contracts (#2712)
* Added tag to the editMeta Modal (#2643)

* Added Tags to ui and to contract/address/account Header (#2643)

* Added tags to summary (#2643)

* Added Search capabilities to contracts/address book/accounts from tokens
(#2643)

* fixes eslint

* Using Chips/Tokens for search (#2643)

* Add search tokens, clickable from List (#2643)

* Add sort capabilities to Accounts / Addresses / Contracts (#2643)

* Fixes formatting issues + state updates after component unmount bug
(#2643)

* Remove unused import

* Small fixes for PR #2697

* Added default sort order for Contracts/Addresses/Accounts

* Using official `material-ui-chip-input` NPM package

* Removed LESS from webpack
2016-10-19 11:51:02 +02:00
Jaco Greeff
dadd6b1e7c Correct parameters for eth_sign (#2703)
* Cherry-pick eth_sign update/fix

* Correct sign documentation (signs txhash)
2016-10-19 11:04:26 +02:00
Jaco Greeff
6aed6a45d3 Bump js-precompiled to 20161018-161705 (#2698)
* Global fetch before specific sha fetch

* Update to js-precompiled 20161018-161705
2016-10-19 11:03:08 +02:00
Jaco Greeff
b359e09bb6 Add inject.js (for web3 exposed) (#2692) 2016-10-19 11:02:42 +02:00
Jaco Greeff
3c0b02ffe6 Apply UI PRs after master merge (#2690) 2016-10-18 16:44:09 +02:00
Jaco Greeff
1e6a2cb378 Initial new UI source code import (#2607)
* address -> name mappings

* expanding, loading all coin details

* send use only actual BasicCoin tokens registered (any reg)

* sending token & accounts

* form styling updates

* send form layout in place

* coin send working as expected

* api subscriptions on multiple addresses

* bring in events

* simplify

* basic events display in-place, functionally complete

* basic functionality in-place

* fix horrible event address issue

* rwork display of events slightly

* test TLA availability

* table for owner -> tokens

* fix signature lookup address

* fix signature lookup address

* basic overview styling

* txhash links

* page layout adjustments

* background import

* adjust colors

* no global registration, simplify color selection

* updated styling

* connection dialog for "busy connecting"

* initial token connection - WIP

* init token updates take place

* basic test for manual token

* rework connection display

* allow updates of the secure token

* first stab at making the build build

* update runner tags

* fix linting issues

* skip tests requiring network (should be e2e, TODO)

* re-enable javascript tag/runner

* release push does the trick

* push to any branch, CI name

* javscript-test runner as well

* swap dependencies build requires test

* revert stages swap

* retrieve images associated with tokens

* remove js build deps order

* null image when hash = 0x0

* 6x64 images (hashes for registries)

* don't pass tokens as prop to IdentityIcon

* check images against content hash pictures

* cleanup signer after connection changes

* fix naming typo

* display unknownImages for balances (not available as content hash)

* unknownImage for transfer dialog

* basic githubhint layout

* single input for commit/filename

* ethcore_hashContent call

* lookup hash

* registration in place

* fixes

* events is using a proper table

* pass value through as-is

* stop wrongly using main app IdentityIcon

* NEVER export class instance functions

* alignment back to normal

* typo  in definition

* set & get images working (mostly)

* show content retrieval info

* set exitcode via ||

* use javascript:latest images

* disable npm progress bar

* rename phase I

* rename phase II

* only send build output to GitHub on major branches

* also run the build step as part of the test (until comprehensive)

* ci-specific build (no webpack progress)

* allow for account creation via recovery phrase

* display account uuid (where available), closes #2546

* connection dialog now shows up in dapps as well, closes #2538

* token images show up as expected

* IdentityName component added and deployed

* fix padding tests

* adjust tests to map to stricter 0x-prefixed hex

* render names via common component for the address -> name

* split lint into seperate script (early exit)

* test phases changed to lint, test & pack

* pack part of test phase

* remove files marked for deletion (cleanup)

* Signer cleanups, start moving in the direction of the rest

* add personal signer methods

* basic signer request subscription

* don't poll blockNumber when not connected

* missing return, creating massive ws queue backlogs

* ΞTH -> ETH

* fix failing tests

* registry uses setAddress to actually set addresses now

* bytes mapping operates on lowerCase hex strings

* sha3 ids for each application

* add dappreg to list of contracts

* adjust alignment of queries

* show gas estimation log

* abi with payable for register function

* add key as required

* image retrieval from dappreg

* use proper Image urls

* embed and link apps from Parity, retrieved via /api/apps

* filter apps that has been replaced

* proxy entry for parity-utils

* add basiccoin abi

* add support for fallback abi type

* capture constructor paramaters

* merge master into js

* move images to assets/images/

* add font assets

* import fonts as part of build

* don't inline woff files

* Revert "merge master into js"

This reverts commit cfcfa81bd26f1b3cbc748d3afa1eb5c670b363fe.

* remove unused npm packages

* information on gas estimates (like almost everywhere else)

* don't pass gas & gasPrice to estimation

* display account passwordhint when available

* signer subscriptions based on polling & function trapping

* pending requests retrieved via jsapi

* update signer middleware

* remove all web3 instances

* remove web3 package

* last web3 dependencies removed

* no need to toChecksumAddress - api takes care of it

* expand description for personal_confirmRequest

* Signer conversion from web3 -> parity.js completed

* explicit in no return

* green circle background

* remove generated background

* convert /api/* paths to localhost:8080/api/* paths (hard-coded, temporary)

* change dapps to load from localhost:8080/ui/*

* remove dangling web3 files

* update manager test for signer

* /api/ping -> /

* additional token images

* additional token images

* add missing styles.css for 8180 error pages

* cater for txhash returning null/empty object

* adjust output directories

* Release merge with origin with ours strategy

* additional token images

* cater for development server

* s/localhost/127.0.0.1/ (cater for origin)

* Fix address selection for contract deployment

* Adjust z-index for error overlay

* better text on unique background pattern

* fix signer rejections

* Don't allow gavcoin transfer with no balance

* fix txhash rendering in signer

* remove unnecessary ParityBackground

* script to update js-precompiled

* Redirect from :8080 to :8180

* Remove extra return

* Dapp logo images
2016-10-18 11:52:56 +02:00
Tomasz Drwięga
6c7af57529 Initial import of new UI (compiled JS code) (#2220)
* Normalizing dapps format for signer.

* Adding new ui

* Adding New UI to dapps

* Adding parity styles for signer errors

* Adding pre-compiled JS as submodule

* Fixing struct declaration [ci:skip]

* Bumping js

* Adding styles

* build dest

* Correct whitespace

@tomusdrw please note the alterations - no mixing tabs and spaces in the indentation portion and always just one tab per indent.
2016-10-17 11:56:42 +02:00