Tomasz Drwięga
7e87e9e8ad
Updating JSON-RPC crates ( #4934 )
...
* New version of jsonrpc.
* Better invalid encoding messages
* Fixing deprecated methods of tokio_core
* Using dedicated branch for jsonrpc
* Bump
2017-03-22 07:02:14 +01:00
Tomasz Drwięga
4868f758bf
Allow specifying extra cors headers for dapps ( #4710 )
2017-03-07 17:33:28 +01:00
Tomasz Drwięga
5369a129ae
Signer provenance ( #4477 )
...
* Signer - Tracking Request Provenance
* Basic UI
* Changing messages
* VecDeque::from
* Fix dapps tests
* Addressing UI grumbles
2017-02-14 22:45:43 +01:00
Tomasz Drwięga
d925cc05da
Fix console dapp ( #4544 )
...
* Fixing linting issues. Better support for console as secure app
* Fixing linting issues
2017-02-14 22:45:29 +01:00
Tomasz Drwięga
f1e99ea2e4
Serde 0.9 ( #4508 )
...
* Porting json
* Dapps
* Rpc & Ethstore
* New ethabi
* Last bunch of fixes
* Fixing last test
* Removing build script
* Adding ethcore-ipc-tests back
* Fixing grumbles
* Fixing blockchain tests (inference regression?)
2017-02-13 18:38:47 +03:00
Tomasz Drwięga
5fe993f658
Fixing CORS headers for parity.web3.site ( #4461 )
2017-02-07 18:11:42 -05:00
Tomasz Drwięga
248cd5e036
RPC middleware: Informant & Client.keep_alive ( #4384 )
...
* Adding RPC informant structs
* RPC informant
* Middleware counting RPC requests
* Moving client keep_alive to middleware
2017-02-04 22:18:19 +01:00
Jaco Greeff
b4c24d5ab3
Web view with web3.site support ( #4313 )
...
* Web-domain based routing
* Support base32-encoded urls
* Proper support for non-domain based routing
* Handling long domain names
* Switching to web3.site
* Encoding for *.web3.site urls
* Add DappUrlInput component
* Update Web views with store
* Update spec description
* Update spec description
* edited url does not allow in-place store edits
* Fixing dapps access on 127.0.0.1:8180
* Use /web/<hash> urls for iframe
* Redirecting to parity.web3.site
* Disabling the redirection
2017-02-04 09:52:14 +01:00
Tomasz Drwięga
cf348dae60
Persistent tracking of dapps ( #4302 )
...
* Tests for RPC
* Extracting dapp_id from Origin and x-parity-origin
* Separate type for DappId
* Persistent tracking of recent dapps
* Fixing tests
* Exposing dapp timestamps
* Fixing import to work on stable
* Fixing test again
2017-01-30 10:59:46 +01:00
Gav Wood
8404edb656
Fix whitespace ( #4299 )
...
* Fix whitespace.
* Update copyright years/owner.
* Push release only for tags.
2017-01-25 18:51:41 +01:00
Tomasz Drwięga
76daf50876
Support HTML5-routed dapps ( #4173 )
2017-01-16 10:49:27 +01:00
Gav Wood
c2f4716ee2
icarus -> update, increase web timeout. ( #4165 )
...
* icarus -> update, increase web timeout.
* Fix estimate gas
2017-01-13 16:30:16 +01:00
Tomasz Drwięga
41da1a0a79
New jsonrpc-core with futures and metadata support ( #3859 )
...
* Bumping serde & serde_json
* Super-initial usage of new jsonrpc
* Single event loop for jsonrpc
* Metadata
* Supporting metadata extraction for eth_accounts
* Fixing Cargo.lock
* Removing uneccessary clones
* Fixing unused import
* Unused import
* Fixing test
2017-01-11 20:02:27 +01:00
Tomasz Drwięga
e983339edd
Opening local dapp ( #4041 )
...
* Opening local dapp
* Using Path/PathBuf instead of Strings
* Fixing typo and adding some docs to apps::fs functions
2017-01-06 16:05:58 +01:00
Tomasz Drwięga
3067a8de3e
Additional fetch tests ( #3983 )
...
* First bunch of tests
* Dapps zip tests
2016-12-28 12:45:25 +00:00
Tomasz Drwięga
bc3dacc952
Fetch tests (first batch) ( #3977 )
...
* Customizable fetch
* Some basic Fetch tests
2016-12-27 15:38:55 +00:00
Robert Habermeier
8125b5690c
Port try
macro to new ?
operator. ( #3962 )
...
* initial untry sweep
* restore try in ipc codegen, fix inference
* change a few missed try instances
2016-12-27 12:53:56 +01:00
Tomasz Drwięga
c7c309d152
Web Based Dapps ( #3956 )
...
* Dapps web
Conflicts:
dapps/src/apps/fetcher.rs
dapps/src/handlers/fetch.rs
* Rewriting fetch
* Parity-wide fetch service
* Obey the limits and support cancellation.
* Removing temporary files.
* Actually use Fetch for dapps
* Re-implementing file fetching to avoid temporary files.
* Serde to 0.8.19
* Fixing content & dapps fetch
* Serving web content and injecting scripts
* Don't wait for old content, start a new download
* Supporting timeouts and query
* Simple GUI for the browser
* Proxy tokens validation
* Recovering from invalid web-based requests
* Remember last visisted URL
* Removing unused variables
* Addressing review comments
* Setting default account in web3
* Adding WebBrowser dapp to the list
* Actually prune old entries when generating new token
2016-12-27 10:15:02 +00:00
Tomasz Drwięga
27ba0e6922
Limiting accounts returned by parity_accountInfo ( #3931 )
...
* Limiting accountNames returned by parity_accountNames
* Fixing middleware
* Change RPC interface
* Enhance tests for RPC layer
* UI uses parity_allAccountsInfo
* Update dapps to use parity_accountsInfo
* Don't filter by uuid (deprecated)
* Consistency in calls
* Fix js tests (missed stub call)
2016-12-23 18:52:02 +01:00
Tomasz Drwięga
f0387c33c6
Global Fetch Service ( #3915 )
...
* Dapps web
Conflicts:
dapps/src/apps/fetcher.rs
dapps/src/handlers/fetch.rs
* Rewriting fetch
* Parity-wide fetch service
* Obey the limits and support cancellation.
* Removing temporary files.
* Actually use Fetch for dapps
* Re-implementing file fetching to avoid temporary files.
* Serde to 0.8.19
* Fixing content & dapps fetch
2016-12-22 18:26:39 +01:00
Gav Wood
6e5a583cb4
Merge pull request #3505 from ethcore/check-updates
...
Auto-updating
2016-12-16 13:01:49 +01:00
Tomasz Drwięga
dedf9d6dce
Getting rid of redirection
2016-12-15 15:32:53 +01:00
Tomasz Drwięga
c6912c8e0a
Removing on_done
2016-12-15 11:43:36 +01:00
Gav Wood
17cc2be4b5
Rename ethcore -> parity in license.
2016-12-11 19:30:54 +01:00
Gav Wood
10b0898bdf
Crate tidyups.
...
- Move Updater into its own crate.
- Change ethcore -> parity in authors, homepages and licenses.
2016-12-11 19:14:42 +01:00
Gav Wood
0e17cf8d3a
Fix tests.
2016-12-11 15:41:49 +01:00
Gav Wood
1dd13372b6
Merge remote-tracking branch 'origin/master' into rpc-middleware
2016-12-01 19:43:31 -08:00
Tomasz Drwięga
df3c07b0a9
adding proof to a panicker
2016-11-29 17:14:34 +01:00
Tomasz Drwięga
a418dcd8ea
Fix manifest deserialisation
2016-11-28 17:59:50 +01:00
Tomasz Drwięga
a9028ca986
Merge branch 'master' into rpc-middleware
...
Conflicts:
Cargo.lock
rpc/src/v1/tests/mocked/parity_accounts.rs
2016-11-25 21:18:02 +01:00
Tomasz Drwięga
789d6608cf
Bumping jsonrpc
2016-11-25 16:16:24 +01:00
Tomasz Drwięga
f080f33c41
JSON-RPC bump / update hyper
...
Conflicts:
Cargo.lock
2016-11-25 15:21:18 +01:00
Tomasz Drwięga
cd6f565f69
RPC Middleware & Get/Set dapp-specific accounts
2016-11-23 16:27:05 +01:00
Tomasz Drwięga
845bc52e36
Moving contract resolver to separate crate
2016-11-20 17:40:28 +01:00
Chuck LeDuc Díaz
7cc88b175f
Clarify error message to indicate ( #3359 )
...
Indicate that Signer *needs* to be re-enabled, not that it *was* re-enabled.
2016-11-11 08:52:52 +01:00
Tomasz Drwięga
88c9cea04d
Dapps interface RPC ( #3311 )
...
* Dapps Interface RPC
* Adding JS apis
* Support for signer interface in proxypac and embeds
* Fixing tests
* fixing tests again
2016-11-09 19:41:47 +01:00
Tomasz Drwięga
2bd4f7182e
Redirecting to the same address the request came. ( #3133 )
2016-11-03 16:12:46 +01:00
Tomasz Drwięga
e9cd2f4d56
Returning cache headers for network content ( #3123 )
2016-11-03 12:40:53 +01:00
Tomasz Drwięga
e251fd49a1
Dapps errors embeddable on signer ( #3115 )
2016-11-03 12:22:28 +01:00
Tomasz Drwięga
f7b7a3a1c5
Redirecting /home to new UI ( #3084 )
2016-11-02 11:29:18 +01:00
Tomasz Drwięga
16ec413508
Local dapps embeddable on signer port ( #2815 )
2016-10-24 16:36:15 +02:00
Tomasz Drwięga
a293493f93
Clear cached content ( #2833 )
2016-10-24 15:09:47 +02:00
Tomasz Drwięga
20591e882e
Return old-ish content even when syncing ( #2757 )
2016-10-22 20:06:30 +02:00
Tomasz Drwięga
3ff1ca81f4
Missing changes required to make new UI work ( #2793 )
...
* Getting rid of old dapps
* Updating proxypac and allowing home.parity on signer
* CORS support for API
* Fixing CORS - origin is sent with protocol
* Fixing signer with proxy
* Fixing grumbles
* Fix expect msg [ci:skip]
2016-10-22 14:21:41 +01:00
keorn
9ecea24a89
fix warning
2016-10-21 10:10:12 +01:00
Robert Habermeier
96f4c10453
sweep most unwraps from ethcore crate, dapps crate ( #2762 )
...
* sweep most unwraps from ethcore crate
* purge unwrap from dapps server
* whitespace
[ci:none]
2016-10-20 23:41:15 +02:00
keorn
866ab9c7a3
Check queue to determine major importing ( #2763 )
...
* simplify major sync detection
* fix typos
* fix merge
* more realistic EthTester
* add new synced state
* remove Blocks synced state
* move is_major_importing to rpc crate and check queue
* add tests
2016-10-20 23:36:18 +02:00
Tomasz Drwięga
5e67c89b4b
Remove obsolete dapps and update security headers ( #2694 )
...
* Embed allowed only on signer port
* Adding security headers to dapps
* Adding security headers to signer
* Removing old dapps
2016-10-19 11:02:21 +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
Jaco Greeff
06df5357e9
adjust app_id where /api/content/<hash> is called, fixes #2541 ( #2543 )
2016-10-10 16:34:16 +02:00
Tomasz Drwięga
d7bbc5cc3f
Hash Content RPC method ( #2355 )
...
* Moving file fetching to separate crate.
* ethcore_hashContent
* Tests running on mocked fetch.
* Limiting size of downloadable assets
2016-09-27 16:27:06 +02:00
Tomasz Drwięga
862feb7172
Serving content at /api/content/<hash> ( #2248 )
2016-09-22 18:05:36 +02:00
Tomusdrw
98ee2e44f7
Fixing tests
2016-09-19 12:12:50 +02:00
Tomusdrw
151606e7f4
Merge branch 'master' into dapp-norefresh
...
Conflicts:
dapps/src/apps/fetcher.rs
dapps/src/handlers/fetch.rs
2016-09-10 11:28:23 +02:00
Tomasz Drwięga
6f88b7f084
Get rid of 'Dapp is being downloaded' page
2016-09-07 00:10:09 +02:00
Tomasz Drwięga
8460733e31
Add test for urlhint
2016-09-05 22:31:24 +02:00
Tomasz Drwięga
96778d8e93
Fixing content path creation
2016-09-05 21:58:48 +02:00
Tomasz Drwięga
840b64b813
Merge branch 'master' into dapps-content
...
Conflicts:
dapps/src/apps/fetcher.rs
dapps/src/apps/urlhint.rs
dapps/src/handlers/client/mod.rs
dapps/src/handlers/fetch.rs
dapps/src/lib.rs
dapps/src/page/local.rs
2016-09-05 20:05:59 +02:00
Tomasz Drwięga
8c86405798
Content resolving
2016-09-05 19:07:13 +02:00
Tomasz Drwięga
e2377dd510
Merge branch 'master' into dapps-sync
...
Conflicts:
dapps/src/handlers/fetch.rs
2016-09-05 08:43:07 +02:00
Tomasz Drwięga
59f18ab958
Fetching content from HTTPS using rustls
( #2024 )
...
* Fetching https
* Fetching dispatcher (HTTP, HTTPS)
* Fetching from github
* Chunked encoding parser
* Abort support
* Fixing tests and review comments
* Cargo.lock order [ci skip]
* Relaxed -> SeqCst
2016-09-03 01:34:32 +02:00
Tomasz Drwięga
d0bc80e58a
Fixign tests
2016-09-02 10:10:51 +02:00
Tomasz Drwięga
9f8482e968
Consistent capitalization of titles
2016-09-01 15:33:26 +02:00
Tomasz Drwięga
36c83a456b
Merge branch 'master' into dapps-https
...
Conflicts:
Cargo.lock
2016-09-01 13:37:23 +02:00
Tomasz Drwięga
31dbbf5431
Merge branch 'master' into dapps-sync
...
Conflicts:
Cargo.lock
dapps/src/router/mod.rs
signer/src/ws_server/session.rs
2016-09-01 13:36:28 +02:00
Tomasz Drwięga
b4f3c4bd7a
Asynchronous RPC support ( #2017 )
...
* Async RPC
* Limiting number of transactions in queue
* Fixing tests
* Bumping serde and jsonrpc-core
* serde updated to 0.8
* fixed failing tests
* Bumping ipc server
* Fixing API for endpoints
* Experimenting with tests without --release mode
2016-09-01 12:00:00 +02:00
Tomasz Drwięga
a9bc021022
404 pages for dapps resources
2016-09-01 11:54:09 +02:00
Tomasz Drwięga
89f1444c51
Displaying special page when syncing. 404 instead of redirection
2016-09-01 11:16:19 +02:00
Tomasz Drwięga
9c4d31f548
Signer errors
2016-09-01 10:26:25 +02:00
Tomasz Drwięga
2789824a51
Much nicer error pages
2016-08-31 16:53:22 +02:00
Tomasz Drwięga
99acd4914e
Fixing tests and review comments
2016-08-31 13:28:54 +02:00
Tomasz Drwięga
8f13b550d8
Abort support
2016-08-31 11:45:09 +02:00
Tomasz Drwięga
0f0af9c1a5
Merge branch 'master' into dapps-https
...
Conflicts:
Cargo.lock
dapps/src/handlers/fetch.rs
2016-08-31 11:29:23 +02:00
Tomasz Drwięga
bff847b90c
Chunked encoding parser
2016-08-31 11:22:25 +02:00
Tomasz Drwięga
dcea5c2526
Adding proof
2016-08-30 16:56:46 +02:00
Tomasz Drwięga
76966ab2fc
Fixing redirection. Adding tests
2016-08-30 16:06:20 +02:00
Tomasz Drwięga
2a549386a6
Fetching from github
2016-08-30 15:14:22 +02:00
Tomasz Drwięga
6f321d9849
LRU cache for dapps ( #2006 )
...
Conflicts:
dapps/Cargo.toml
dapps/src/lib.rs
2016-08-30 14:04:52 +02:00
Tomasz Drwięga
61879ef144
Fetching dispatcher (HTTP, HTTPS)
2016-08-30 13:27:43 +02:00
Tomasz Drwięga
0baa8a53a5
dapps-hosts configuration
2016-08-25 09:00:05 +02:00
Tomasz Drwięga
33e0a234f2
Validating sha3 of a dapp bundle ( #1993 )
...
* Validating sha3 of a file
* sha3 in utils
* Removing devtools
2016-08-24 16:53:07 +02:00
Tomasz Drwięga
124a5da75e
Resolving URLs from contract ( #1964 )
...
* Fetching dapp from github.
* Unpacking dapp
* Removing hardcodes
* Proper Host validation
* Randomizing paths
* Splitting into files
* Serving donwloaded apps from different path
* Extracting URLHint to separate module
* Whitespace and docs
* Resolving from URLHint contract
* Fixing test
* Resolving githubhint url from registrar
* Proper redirections
* Fixing test
* fixing ethstore [ci skip]
* Correct version of registrar
* Removing superfluous Box
2016-08-23 19:28:21 +02:00
Tomasz Drwięga
0620a03e56
Fetchable dapps ( #1949 )
...
* Fetching dapp from github.
* Unpacking dapp
* Removing hardcodes
* Proper Host validation
* Randomizing paths
* Splitting into files
* Serving donwloaded apps from different path
* Extracting URLHint to separate module
* Whitespace and docs
2016-08-18 12:19:09 +02:00
Tomasz Drwięga
0cba70fba3
Host validation (again) ( #1666 )
...
* Revert "Revert "Validating Host headers in RPC requests" (#1663 )"
This reverts commit 3cc3dbef66
.
* Fixing binding on MacOS
2016-07-20 12:34:17 +02:00
Gav Wood
3cc3dbef66
Revert "Validating Host headers in RPC requests" ( #1663 )
2016-07-19 13:15:25 +02:00
Tomasz Drwięga
6e79a36ef6
Validating Host headers in RPC requests ( #1658 )
...
* Validating Host headers in RPC requests
* Fixing convention [ci skip]
* Remove extra indent.
[ci:skip]
2016-07-19 12:53:58 +02:00
Robert Habermeier
36d3d0d7d7
replace synchronization primitives with those from parking_lot ( #1593 )
...
* parking_lot in cargo.toml
* replace all lock invocations with parking_lot ones
* use parking_lot synchronization primitives
2016-07-13 19:59:59 +02:00
Tomasz Drwięga
002d808a8a
Merge branch 'master' into streamlined-ui
2016-07-11 10:40:16 +02:00
Gav Wood
9afbc9816d
Merge branch 'master' into kill_unwraps
2016-07-08 17:31:30 +02:00
Tomasz Drwięga
0467bfc9ed
Using parity-ui repository for builds
2016-07-08 13:37:09 +02:00
Tomasz Drwięga
7af366c5b1
Supporting /api/ping for dapps server ( #1543 )
...
* Refactoring dapps to support API endpoints.
* Using ContentHandler for unauthorized requests
* Extracting url stuff
* Adding ping endpoint
* CORS support for ping request
* Fixing url.is_none()
* minor formatting fix
[ci:skip]
2016-07-07 09:42:49 +02:00
Gav Wood
456ad9e21b
Remove .lock().unwrap() idiom into locked().
2016-07-06 19:52:34 +02:00
Tomasz Drwięga
a8b26e2cb5
Refactoring dapps to support API endpoints. ( #1542 )
...
* Refactoring dapps to support API endpoints.
* Using ContentHandler for unauthorized requests
2016-07-06 11:24:29 +02:00
arkpar
c21550a663
Updated to latest hyper with patched mio
2016-06-27 10:39:37 +02:00
Tomasz Drwięga
bf9173e673
Fixing signer behaviour when confirming transaction with wrong password. ( #1237 )
...
* Avoid removing transactions when trying to confirm and the password is invalid
* Fix order
2016-06-07 08:25:01 -07:00
Marek Kotewicz
b93c83b8a0
Merge pull request #1216 from ethcore/serde-bump
...
Bumping serde & syntex
2016-06-06 11:32:13 +02:00
Tomasz Drwięga
a063a63ac7
Merge branch 'master' into serde-bump
...
Conflicts:
ethcore/src/types/state_diff.rs
2016-06-06 10:10:06 +02:00
Tomasz Drwięga
9572f6e5fc
Merge branch 'master' into signer-ui
2016-06-06 10:06:48 +02:00
Tomasz Drwięga
bb1b8cc08a
Loading local Dapps from FS. ( #1214 )
...
* apps list to separate module
* Preparing to support serving files from disk
* Serving files from disk
* Using dapps path from CLI
* Adding more docs
2016-06-03 11:51:11 +02:00
Tomasz Drwięga
cce18cb4c5
Enabling DAOdapp
2016-06-02 13:34:26 +02:00