23 Commits

Author SHA1 Message Date
Jonathan Rainville
5e1d60882d
review comments for storage 2018-10-23 11:02:09 +02:00
Jonathan Rainville
c833f9b3bf
store theme in localstorage 2018-10-23 11:02:08 +02:00
Andre Medeiros
428f591330
Don't send token in request body.
Instead, we want to hash a header to sign a request with a client nonce,
http method and URL. This is a first step towards protecting the backend
against eavesdropping.

Please note that this will still be susceptible to replay attacks.
2018-10-23 11:01:11 +02:00
Iuri Matias
ce19fd96c4
intiial code to get suggestions from embark 2018-10-23 11:00:26 +02:00
emizzle
7b784b9618
Missing pieces for adding log limit 2018-10-23 10:59:18 +02:00
Anthony Laibe
4b2715421d
Adding tab to contract view 2018-10-23 10:59:15 +02:00
Anthony Laibe
de009db74f
Use process log ids 2018-10-23 10:57:05 +02:00
emizzle
46511bcfe8
Rebase updates
After the code was rebased, there were some additional changes for getting websockets logs that needed to be catered for.

When there is a call to get all logs for a process, the state entity is updated with a new array item containing all the logs (this is then reduced and selected for rendering). In the case of a websocket log that simply returns only one log item, the latest full log for the process is found in the state entities, and it’s logs are appending to with the data from the websocket.

Additionally, log limits were updated to be passed in as a parameter to the API calls from the frontend. Parameter validation (for `limit`) was also added in this commit.
2018-10-23 10:57:04 +02:00
Anthony Laibe
41eb23df82
Adding file contracts 2018-10-23 10:51:24 +02:00
Anthony Laibe
ca55a8091e
Only store ether value 2018-10-23 10:50:38 +02:00
Jonathan Rainville
844e2ed5b0
add back tokens 2018-10-23 10:48:36 +02:00
Anthony Laibe
c52c0abb77
Allow to customize host 2018-10-23 10:47:25 +02:00
Anthony Laibe
572cd20482
Fix backend tab request cached:
- Add no cache via helmet
- Fix linting (no-return-else)
- Rebase Fix: Use option.name for process log to avoid endpoint being called
blockchainProcess.js
- Rebase Fix: use option when compiling solidity
2018-10-23 10:47:24 +02:00
Anthony Laibe
2fb5d907ec
Add ability to logout 2018-10-23 10:42:00 +02:00
Jonathan Rainville
e2b3dcf629
use redux instead of directly localStorage 2018-10-23 10:42:00 +02:00
Jonathan Rainville
89cbbeec27
generalize request function 2018-10-23 10:41:59 +02:00
Jonathan Rainville
3495f9fbb8
authorize each request through header 2018-10-23 10:41:59 +02:00
Jonathan Rainville
f1f258b8f9
same for destroy 2018-10-23 10:41:23 +02:00
Jonathan Rainville
ae4c16a47a
make get send errors too 2018-10-23 10:41:23 +02:00
Jonathan Rainville
6125329cae
show authorize form when auth error 2018-10-23 10:41:23 +02:00
Jonathan Rainville
faf09b7d39
use local cache to store the token 2018-10-23 10:41:23 +02:00
Jonathan Rainville
422a98e172
add basic authentication 2018-10-23 10:41:22 +02:00
Anthony Laibe
a08690ef43
File Editor 2018-10-23 10:41:20 +02:00