Commit Graph

70 Commits

Author SHA1 Message Date
emizzle aa4bc0fe4d
Fix for logs showing a string as an array
Some strings were being logged as
```
[w,r,i,t,i,n,g, ,f,i,l,e, ,,[,2,m,,[,1,m,.,e,m,b,a,r,k,/,s,t,a,t,s,.,r,e,p,o,r,t,,[,2,2,m,,[,2,2,m]
```
The fix was applied to the `normalizeInput` method which simply returns if the input was a `typeof` string.
2018-10-23 10:50:40 +02:00
emizzle 72a796c11b
Moved `fileTreeSort()` to `utils` 2018-10-23 10:50:39 +02:00
Anthony Laibe 00c6b0029d
Fix start without webserver 2018-10-23 10:44:14 +02:00
Jonathan Rainville dd0ae5023d
fix ws ping and add wait calculation 2018-10-23 10:39:57 +02:00
Iuri Matias ac4b74588e
move intercept logs to utils 2018-10-23 10:15:29 +02:00
Michael Bradley, Jr fa274675a5 timer function doesn't need to be async, since it returns a promise 2018-09-19 21:11:55 -05:00
Michael Bradley, Jr ae8a59cf9b timer utility 2018-09-19 19:47:38 -05:00
Iuri Matias dfe49291be
Merge pull request #797 from subramanianv/pluginCmd
Plugin cmd
2018-09-12 17:57:18 -04:00
Subramanian Venkatesan b2d6421ea6 fix code formatting 2018-09-12 11:50:20 +05:30
Subramanian Venkatesan 1a756e8a05 Added better error logging, dashboard doesnt break in run mode 2018-09-12 11:27:28 +05:30
Michael Bradley, Jr a4af0d8f5b assume cb is always supplied 2018-09-11 15:44:37 -05:00
Michael Bradley, Jr 803b3f5050 should return after callback w/ error 2018-09-11 15:22:35 -05:00
Michael Bradley, Jr ed48599aa9 downloadFile should callback w/ err msg if response code is not 200 2018-09-11 15:18:32 -05:00
Subramanian Venkatesan fe0bbc3559 changes from the code review 2018-09-10 22:38:17 +05:30
Subramanian Venkatesan 78bc27ad95 fix runCmd 2018-09-10 14:16:02 +05:30
Subramanian Venkatesan f20934ac8c Use Object.assign 2018-09-10 14:11:40 +05:30
Subramanian Venkatesan 4823d2312e remove console.log 2018-09-10 14:07:02 +05:30
Subramanian Venkatesan cb751b5213 install npm package using shell.js 2018-09-10 14:01:36 +05:30
Anthony Laibe df651865c1 Enable no-else-return 2018-08-30 14:53:04 +01:00
Michael Bradley, Jr 8bec33177e rm some else clauses 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr f66552b044 errorMessage helper moved to utils 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr 76502fa693 rm utils.pwd() -- redundant now that fs.dappPath is anchored to env var 2018-08-24 15:04:16 -05:00
Jonathan Rainville 86f1cf51d2 enable node=embark 2018-08-23 12:54:43 -04:00
Jonathan Rainville 3f561f5257 use node option for tests 2018-08-22 16:46:39 -04:00
Jonathan Rainville 6589101deb fix sed issue in windows 2018-08-21 16:11:07 -04:00
Jonathan Rainville d5d4b31479 remove extra space 2018-08-21 16:05:59 -04:00
Jonathan Rainville 25ffd15984 fix stuff and move functions to utils 2018-08-21 16:05:59 -04:00
Jonathan Rainville 0204eb6d46 swarm adjustements 2018-08-21 16:05:58 -04:00
Iuri Matias 46f5760c18 move intercept logs to utils 2018-08-21 16:04:22 -04:00
Jonathan Rainville 4f2d984081 fix using only_owner 2018-08-21 15:52:24 -04:00
Anthony Laibe b679d3031a Remove code dependencies to underscore 2018-08-21 15:47:05 -04:00
Iuri Matias 29c93da4cc fix extractZip 2018-08-21 15:30:11 -04:00
Iuri Matias d5f77fb965 simplify getJson 2018-08-21 15:30:11 -04:00
Iuri Matias 82f275b4d2 simplify utils exports 2018-08-21 15:29:32 -04:00
Iuri Matias 483a0b01e1 make linter happy 2018-08-21 15:28:03 -04:00
Iuri Matias c0bc6e1b7c add support to download a template 2018-08-21 15:28:03 -04:00
Michael Bradley, Jr 6d482cfb95 buildUrlFromConfig -- canonicalHost 2018-08-02 15:32:19 -05:00
emizzle 11d6980f70 further dev funding 2018-07-16 18:48:32 +02:00
Jonathan Rainville 1a91f3c688 ping endpoint before connecting to see if available 2018-06-19 09:24:36 -04:00
Jonathan Rainville aa02aeb74c move pingEndpoint to utils 2018-06-19 09:02:19 -04:00
Iuri Matias 79282f8d64
Merge branch 'develop' into bug_fix/slow-pipeline 2018-06-12 12:06:01 -04:00
Richard Ramos c9a2014ac7 Formatting input parameters 2018-06-11 16:40:59 -04:00
Richard Ramos 39d510cef4 Displaying status, gas and block number 2018-06-11 16:40:59 -04:00
Jonathan Rainville 046cb46ff4 move requires inside functions that need them 2018-06-11 14:36:52 -04:00
emizzle a11047c681 Further fixes for starting dappConnection processes automatically
moved storage process launching to storage module

refactored all cases of storage url building to util methods

updated cors so that a processes will not include itself in cors list

changed child process command console output to trace, so it's visible when --logLevel == trace
2018-06-01 13:36:46 +10:00
emizzle f6667b6948 Storage config improvements start. Adjusted the config and have started to support those improvements through the codebase.
Currently stuck on starting multiple storage servcies at once. Might need  a change in storage config spec.

WIP.
2018-06-01 13:28:05 +10:00
Jonathan Rainville 30c6555649 hotfix tag for github urls 2018-05-31 10:37:40 -04:00
Jonathan Rainville 6145c0b92c start node only when no node is present 2018-05-23 11:17:02 -04:00
Iuri Matias 28ef2ed067 move web3 utils to utils module 2018-05-23 11:15:04 -04:00
Jonathan Rainville d48c971471 improve url regexes 2018-04-20 12:04:27 -04:00