Commit Graph
4344 Commits
Author SHA1 Message Date
Marc CARRE ed4e8aa374 Update import statements to use sirupsen/logrus.
Commands run:
```
$ git grep -l Sirupsen | grep -v vendor | xargs sed -i 's:github.com/Sirupsen/logrus:github.com/sirupsen/logrus:g'
$ gofmt -s -w app
$ gofmt -s -w common
$ gofmt -s -w probe
$ gofmt -s -w prog
$ gofmt -s -w tools
```
N.B.: following this commit, build fails with:
```
vendor/github.com/docker/docker/pkg/archive/archive.go:20:2: cannot find package "github.com/Sirupsen/logrus" in any of:
	/go/src/github.com/weaveworks/scope/vendor/github.com/Sirupsen/logrus (vendor tree)
	/usr/local/go/src/github.com/Sirupsen/logrus (from $GOROOT)
	/go/src/github.com/Sirupsen/logrus (from $GOPATH)
```
Resolution in subsequent commit.
2017-10-20 11:47:28 +01:00
Marc CARRE 80f8db5fa1 Upgrade dependencies to sirupsen/logrus v1.0.3.
Commands run:
```
$ gvt delete github.com/Sirupsen/logrus
$ gvt fetch -tag v1.0.3 github.com/sirupsen/logrus
```
N.B.: following this commit, build fails with:
```
report/marshal.go:14:2: cannot find package "github.com/Sirupsen/logrus" in any of:
	/go/src/github.com/weaveworks/scope/vendor/github.com/Sirupsen/logrus (vendor tree)
	/usr/local/go/src/github.com/Sirupsen/logrus (from $GOROOT)
	/go/src/github.com/Sirupsen/logrus (from $GOPATH)
```
Resolution in subsequent commit.
2017-10-20 11:44:44 +01:00
Filip BarlandGitHub 4d116fdf7f Merge pull request #2900 from weaveworks/2899-update-minor-node-deps
Update minor node dependencies
2017-10-20 10:45:19 +02:00
Filip Barl 4dc200b8d2 Bumped React minor version to surpress warnings. 2017-10-18 15:10:53 +02:00
Filip Barl 71076fc17d Using babel-preset-env instead of babel-preset-es-2015. 2017-10-18 15:05:37 +02:00
Filip Barl 68382e9a29 Updated all dependencies. 2017-10-18 14:56:08 +02:00
Filip Barl 228c9c4ab3 Updated all possible devDependencies. 2017-10-18 14:54:45 +02:00
Filip BarlandGitHub 6cc98fdea2 Merge pull request #2896 from weaveworks/2895-update-eslint-deps
Update eslint dependencies
2017-10-18 13:42:56 +02:00
Damien LespiauandGitHub 17428fc59e Merge pull request #2894 from weaveworks/2017-10-16-close-pipe-error-path
docker: Close pipe when the docker API call fails
2017-10-18 12:10:45 +01:00
Damien LespiauandGitHub d1eb9862a1 Merge pull request #2897 from weaveworks/2017-10-17-fix-caculated-type
terminal: Fix Caculated typo
2017-10-18 12:10:28 +01:00
Filip Barl 90c120d8d9 Fixed the failing tests. 2017-10-17 21:05:19 +02:00
Elena MorozovaandGitHub 698f39d1d7 Merge pull request #2891 from weaveworks/godoc
Add godoc to README
2017-10-17 11:36:02 -07:00
Elena MorozovaandGitHub 2e1aee0285 Merge pull request #2892 from weaveworks/lint
Fix golint if/else
2017-10-17 11:35:49 -07:00
Filip Barl ce97b009da Fixed Time Travel component styles. 2017-10-17 19:16:05 +02:00
Filip Barl 982711f9af Wrap multiline JSX DOM. 2017-10-17 19:08:43 +02:00
Filip Barl 230aea32cf Autofix jsx-max-props-per-line. 2017-10-17 19:08:43 +02:00
Filip Barl d81e50d418 Fix DOM closing tag location. 2017-10-17 19:07:52 +02:00
Filip Barl ef2f32dc99 Declared Sparkline PropTypes. 2017-10-17 19:07:14 +02:00
Filip Barl c26914087f Use destructuring instead of deep assignment whenever possible. 2017-10-17 19:07:14 +02:00
Filip Barl dbea420883 Autofix for padded-blocks. 2017-10-17 19:07:14 +02:00
Filip Barl 2fcbdb7e16 Applied autofix for object-curly-newline rule. 2017-10-17 19:07:14 +02:00
Filip Barl d9a8afe81d No restricted globals. 2017-10-17 19:07:14 +02:00
Filip Barl a07e5dd70a Small DOM semantic replacements. 2017-10-17 19:07:14 +02:00
Filip Barl a369c158a5 Converted some links into buttons. 2017-10-17 19:07:14 +02:00
Filip Barl 58922730f5 Fixed function-paren-newline. 2017-10-17 19:04:41 +02:00
Filip Barl 659c9b1304 Fixed spaced-comment. 2017-10-17 19:03:44 +02:00
Filip Barl dfe4944ec7 Fixed indentation. 2017-10-17 19:03:44 +02:00
Filip Barl 510d6447df Updated all eslint dependencies. 2017-10-17 19:03:44 +02:00
Filip BarlandGitHub cf23c06bab Merge pull request #2888 from weaveworks/make-time-travel-modular-component
Make Time Travel a modular component
2017-10-17 18:36:22 +02:00
Damien Lespiau b767de8e58 terminal: Fix Caculated typo 2017-10-17 16:54:57 +01:00
Damien Lespiau 5990ad4947 docker: Close pipe when the docker API call fails
This hasn't been found in the wild but by code inspection. If we fail the
docker API call, the pipe is never closed. Close it before returning.
2017-10-16 23:30:46 +01:00
Filip Barl 760f1d919e Use more colors from the theme in TimeTravelComponent. 2017-10-16 21:25:23 +02:00
Filip Barl 0056424357 TimeTravelComponent as a fully styled component. 2017-10-16 20:01:49 +02:00
Filip Barl 8a5eb637a6 Inject ui-components Theme into App component. 2017-10-16 16:26:50 +02:00
Filip Barl 11b2e77898 Using styled components. 2017-10-16 15:58:48 +02:00
Filip Barl 6b8424305c Merged TimeTravelTimeline into TimeTravelComponent so that whole of time travel is contained in one component. 2017-10-16 15:15:30 +02:00
Filip Barl 742a8c528c Made two time travel component parts independent of global state. 2017-10-16 14:43:44 +02:00
Filip Barl ada122c192 Started making component more independent. 2017-10-16 14:43:44 +02:00
bianca cheng costanzoandGitHub 6098f87a93 Merge pull request #2886 from weaveworks/background-colors
Flat background instead of gradient
2017-10-16 12:25:52 +02:00
Elena Morozova c5d38f5c46 Fix golint if/else
if block ends with a return statement, so drop this else and outdent its block
2017-10-13 16:18:17 -07:00
Elena Morozova dbc89f841e Add godoc to README 2017-10-13 16:12:59 -07:00
Bianca Cheng Costanzo 54d96040cf Change back overlays 2017-10-12 14:31:48 +02:00
SimonandGitHub 71a18fe190 Merge pull request #2882 from weaveworks/use-service-ui-terminal-route
Use a context sensitive route for the popped out terminal.html
2017-10-12 11:12:30 +02:00
SimonandGitHub 055a766433 Merge pull request #2885 from weaveworks/fixes-flux-in-details-panel
Fixes images in details-panel after service -> resources change
2017-10-11 18:11:50 +02:00
Bianca Cheng Costanzo cc4162e55a Changes background gradient to single colour, removes text background 2017-10-11 15:02:40 +02:00
Bryan BorehamandGitHub 7a116ebab5 Merge pull request #2870 from weaveworks/sliced-maps
Re-implement LatestMap as a sorted slice for better performance
2017-10-11 13:42:09 +01:00
Bianca Cheng Costanzo 7c27a1ce6d Merge branch 'master' into background-colors 2017-10-11 13:56:02 +02:00
Simon Howe 7dcdc8db12 Fixes images in details-panel after service -> resources change 2017-10-11 12:41:18 +02:00
Bryan Boreham 5acece6e58 Refactor: loop replaced with append() 2017-10-11 09:50:06 +00:00
SimonandGitHub 5173b9c981 Merge pull request #2883 from weaveworks/fixes-save-as-svg
Fixes "Save as svg" functionality.
2017-10-10 17:51:00 +02:00