Commit Graph

4356 Commits

Author SHA1 Message Date
Tobias Klauser
89f3ce2e64 Simplify Utsname string conversion
Use Utsname from golang.org/x/sys/unix which contains byte array
instead of int8/uint8 array members. This allows to simplify the string
conversions of these members and the marshal.FromUtsname functions are
no longer needed.
2017-11-02 08:45:54 +01:00
Tobias Klauser
ac6a629aa2 Update golang.org/x/sys/unix to latest master 2017-11-01 09:54:48 +01:00
Filip Barl
bda967fbcd Merge pull request #2912 from weaveworks/2887-add-earliest-timestamp-to-time-travel
Use firstSeenConnectAt for beginning of availability period in Time Travel
2017-10-30 10:27:53 +01:00
Filip Barl
892b2326d6 Use firstSeenConnectAt for earliestTimestamp in Time Travel. 2017-10-27 15:04:26 +02:00
Damien Lespiau
2f28f78148 Merge pull request #2911 from weaveworks/2905-update-gopacket
vendoring: Update gopacket to latest master
2017-10-27 13:52:44 +01:00
Damien Lespiau
6bb6d4dd5a vendoring: Update gopacket to latest master
We'd like to benefit from the memory reduction from:

  https://github.com/google/gopacket/pull/377

I just ran:

  $ gvt update github.com/google/gopacket

Fixes: https://github.com/weaveworks/scope/issues/2905
2017-10-27 12:32:05 +01:00
Filip Barl
27fea40d09 Merge pull request #2906 from weaveworks/2858-prevent-zooming-nan-errors
Try to prevent zooming NaN errors
2017-10-24 16:15:04 +02:00
Filip Barl
93758ab980 Merge pull request #2907 from weaveworks/2898-fix-scroll-height-of-null-error
Check whether tableContent ref is present
2017-10-23 18:40:20 +02:00
Filip Barl
1d665a5a23 Check whether tableContent ref is present. 2017-10-23 17:09:56 +02:00
Filip Barl
35c814e912 Make sure only proper numerical values are cached. 2017-10-23 16:39:34 +02:00
Filip Barl
adea60b07e Set initial viewport size in global state. 2017-10-23 16:28:46 +02:00
Filip Barl
4872a85181 Merge pull request #2903 from weaveworks/use-time-travel-from-ui-components-repo
Use TimeTravel from ui-components repo
2017-10-23 12:50:28 +02:00
Filip Barl
397b839678 Removed all legacy TimeTravel code. 2017-10-20 11:50:40 +02:00
Filip Barl
770c58a97b Using TimeTravel from ui-components repo. 2017-10-20 11:50:40 +02:00
Filip Barl
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 Barl
6cc98fdea2 Merge pull request #2896 from weaveworks/2895-update-eslint-deps
Update eslint dependencies
2017-10-18 13:42:56 +02:00
Damien Lespiau
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 Lespiau
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 Morozova
698f39d1d7 Merge pull request #2891 from weaveworks/godoc
Add godoc to README
2017-10-17 11:36:02 -07:00
Elena Morozova
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 Barl
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