Commit Graph

169 Commits

Author SHA1 Message Date
Anthony Laibe 2fb5d907ec
Add ability to logout 2018-10-23 10:42:00 +02:00
Jonathan Rainville 86b2dcc2da
call getProcesses in componentDidMount 2018-10-23 10:42:00 +02:00
Jonathan Rainville 8a4e1063a7
add simple component for authError 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 2f19568959
rename authenticate to authorize 2018-10-23 10:41:59 +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 c6c4dead5d
get route info from AppContainer 2018-10-23 10:41:22 +02:00
Jonathan Rainville 422a98e172
add basic authentication 2018-10-23 10:41:22 +02:00
Jonathan Rainville 46e647bba4
add autoscroll package json 2018-10-23 10:41:22 +02:00
Jonathan Rainville b196a54a30
fix linting 2018-10-23 10:41:22 +02:00
Jonathan Rainville 0bdcb1f41b
add deep-equal to process update 2018-10-23 10:41:22 +02:00
Jonathan Rainville 2ca33e221d
remove old process things 2018-10-23 10:41:22 +02:00
Jonathan Rainville af21dcc910
only show footer when embark tab 2018-10-23 10:41:21 +02:00
Jonathan Rainville b34a9e5e63
fetch all processes 2018-10-23 10:41:21 +02:00
Jonathan Rainville 39a0fae69a
basic implementation of tabs for process logs 2018-10-23 10:41:21 +02:00
Jonathan Rainville 77117c0a76
add autoscroll and limit height 2018-10-23 10:41:21 +02:00
Jonathan Rainville 0df3a84227
caapitalize header correctly 2018-10-23 10:41:21 +02:00
Jonathan Rainville 426f71fd98
convert ansi colors to spans 2018-10-23 10:41:21 +02:00
Iuri Matias 1e721fa4f6
display icons depending on the state of the process 2018-10-23 10:41:20 +02:00
Jonathan Rainville 7a4f1180cf
add noLoading flag in action to not show loader 2018-10-23 10:41:20 +02:00
Jonathan Rainville 7fa186b636
fix avergae not calculated correctly 2018-10-23 10:41:20 +02:00
Anthony Laibe 592ce4773c
Deploy contract 2018-10-23 10:41:20 +02:00
Anthony Laibe a08690ef43
File Editor 2018-10-23 10:41:20 +02:00
Jonathan Rainville 5b16ce0691
add package lock 2018-10-23 10:40:14 +02:00
Jonathan Rainville ccdab1bb90
add gas station container 2018-10-23 10:40:13 +02:00
Jonathan Rainville 5593534343
conflict in reducer 2018-10-23 10:40:13 +02:00
Jonathan Rainville 486c839cd3
filter values 2018-10-23 10:40:13 +02:00
Jonathan Rainville 5690c2e054
conflict in saga 2018-10-23 10:40:13 +02:00
Jonathan Rainville 9d262e6a25
watch oracle changes 2018-10-23 10:40:13 +02:00
Jonathan Rainville 198b3c5cc1
conflicts in reducer and saga 2018-10-23 10:39:57 +02:00
Jonathan Rainville 636431d338
add gas station to Contract functions 2018-10-23 10:38:12 +02:00
Jonathan Rainville 8ff13b09f1
add gasPrice to transactions for contracts 2018-10-23 10:38:12 +02:00
Jonathan Rainville 452cb3a580
copy to clipboard gasPrice 2018-10-23 10:38:12 +02:00
Jonathan Rainville 36bfc74c58
fix firefox and ie 2018-10-23 10:38:12 +02:00
Jonathan Rainville 54c089583c
conflict in css 2018-10-23 10:38:12 +02:00
Jonathan Rainville 77258f8636
add gas station component 2018-10-23 10:38:12 +02:00
Jonathan Rainville 7080be9fb1
conflicts in action and saga 2018-10-23 10:38:11 +02:00
Anthony Laibe b945b87d4d
File explorer 2018-10-23 10:38:11 +02:00
Anthony Laibe 18253886fb
Fix order of command 2018-10-23 10:37:28 +02:00
Anthony Laibe 2d847b9e7c
Adding overflow to console 2018-10-23 10:37:28 +02:00
emizzle c5105dd6e4
Hide deploy button when not successfully compiled
Bug that cropped up in the refactor. Deploy button was showing if there warnings, but no errors. Have changed this to only show the deploy button if there is a compilation result (returned from the api) instead.
2018-10-23 10:37:00 +02:00
emizzle 6207023bec
Refactor logic to FiddleContainer
Refactored fiddle logic to be contained in the `FiddleContainer` and the components as purely presentational.

Added scroll from summary to errors/warnings/fatal/deployed cards.

Added fatal error support (ie network error in api)

Removed `lodash`
2018-10-23 10:37:00 +02:00
emizzle 05b324dffe
Fiddle use cases fixed
Handle use cases:

1) handle case when temp.sol doesn’t exist - due to the new saga updates, the response from retreiving a temp fiddle from the filesystem (even if it doesn’t exist) is forward to the compilation endpoint, which returns an ENOENT, and this is handled in the selector.
2) delete all code - shouldn’t return last fiddle and should compile an empty string.
3) Switch to different tab (ie contracts) then back to fiddle - previous fiddle should remain.

Also fixed an issue (most likely due to latest rebase) when deploying fiddle contracts. The gasLimit was not being specified.

Handled issue where entities stored in the state were not being put in the correct order, so a timestamp was sent with the requests and then sorted when the response was returned.
2018-10-23 10:37:00 +02:00
Anthony Laibe 4ecb092ed3
Remove last fiddle, and use code to compile 2018-10-23 10:37:00 +02:00
emizzle cd176a5f95
Handle use cases that were failing
1) hanlde case when temp.sol doesn’t exist
2) delete all code - shouldn’t return last fiddle
3) Switch to different tab (ie contracts) then back to fiddle - fiddle should now remain.
2018-10-23 10:37:00 +02:00