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
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
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
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
36c83a456b
Merge branch 'master' into dapps-https
...
Conflicts:
Cargo.lock
2016-09-01 13:37:23 +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
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
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
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
Gav Wood
9afbc9816d
Merge branch 'master' into kill_unwraps
2016-07-08 17:31:30 +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
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
99e26b8480
Simple signing queue, confirmation APIs exposed in signer WebSockets. ( #1182 )
...
* Splitting methods requiring signing into separate trait
* Single place where RPC apis are created.
* Separating eth_filter
* Separating eth_signing
* Stubs for Personal Signer methods
* Test for EthSigningQueueClient
* TransactionConfirmation API
* Exposing PersonalSigner API
* Defining ApiSets dependent on context
* Removing types
* Fixing default impl
* Fixing un-mocked tests
* Update signing_queue.rs
[ci skip]
* Removing unused import [ci skip]
2016-06-01 19:37:34 +02:00
Tomasz Drwięga
87d0f09a44
Base for Signer Websockets server ( #1158 )
...
* Basic signing queue
* Adding docs
* WebSockets server for signer
* Removing TODO
* Shortening the syntax
* Exposing types from RPC
* Fixing indentation
* Update main.rs
2016-05-28 19:30:31 +02:00
Tomasz Drwięga
cc1a334ba7
Renaming dapps repos. Updating dapps ( #1142 )
...
* Renaming dapps repos. Updating dapps
* Skipping legacy options for compatibility. Fixing tabs
* Fixing CLI options
2016-05-26 18:21:15 +02:00