Commit Graph

1155 Commits

Author SHA1 Message Date
Daniel Holbach
febe9b69e3 fix CVE-2018-16487 (lodash vulnerability)
Signed-off-by: Daniel Holbach <daniel@weave.works>
2019-02-11 11:57:12 +01:00
Bryan Boreham
0c3f565842 Merge pull request #3557 from weaveworks/update-xterm
update xterm.js dependency (CVE-2019-0542)
2019-02-04 16:45:03 +00:00
Bryan Boreham
d9a0232124 Merge pull request #3562 from AVRahul/fix/hover-sidebar
Fixed the sidebar namespaces hover effect at last-child
2019-02-04 16:41:21 +00:00
Simon Howe
d86c263732 Include the control's id as an attr on the button
- To allow easy CSS selection of a particular button. We might want to
  hide it in some cases or give it a different color etc.
2019-01-22 16:22:58 +01:00
A V Rahul
178a1bf77e Fixed the sidebar namespaces hover effect to last-child 2019-01-18 16:00:30 +05:30
Daniel Holbach
32b85e62d4 update xterm.js dependency (CVE-2019-0542)
Signed-off-by: Daniel Holbach <daniel@weave.works>
2019-01-16 20:49:05 +05:30
Guy Edwards
237e931c34 Merge pull request #3551 from weaveworks/eslint-sort-keys
add eslint sort-keys rule and run codemod
2019-01-10 16:59:59 +00:00
guyfedwards
272b9a5d6a add eslint sort-keys rule and run codemod 2019-01-09 13:59:15 +00:00
Yu Cao
550227bf9f Update _base.scss 2019-01-08 10:20:22 -05:00
Yu Cao
fd116a6425 Merge branch 'master' into issues/3096 2019-01-08 10:18:35 -05:00
Roland Schilter
f8412c3204 Rename :orgId to :instanceId in metrics graph url
- Renames placeholders `:orgId` to `:instanceId` in
  `--app.metrics-graph`
- Adjusts frontend client to use the provided instanceId by its host
  application (Weave Cloud)
2018-12-17 17:57:00 -08:00
Simon Howe
3db843f12d Upgrades to styled-components 3
- Keeps up w/ ui-cmp
2018-11-27 09:03:28 +01:00
Bryan Boreham
f157132622 UI Build: stop deleting static ui files when building external ui
This can cause an empty static UI if things build in an unfortunate
order.
2018-11-23 12:25:22 +00:00
Filip Barl
9fda9b9315 Bump ui-components to v0.15.2. 2018-11-15 15:23:48 +01:00
Simon Howe
0c6a91687e Don't have node_modules/font-awesome anymore 2018-11-14 18:05:02 +01:00
Simon Howe
cac3b2783e Upgrade to ui-cmp that has fa5 2018-11-14 16:43:20 +01:00
Simon Howe
1994050a38 Removes some mystery styling.
- I don't think the result will be aweful if its stil being used.
2018-11-14 15:10:03 +01:00
Simon Howe
8a6cc7ed4d Switch over to <i> from <span> for icons
- to select in styles, as fa5 has other prefix classnames (far, fab,
  fas)
2018-11-13 12:51:47 +01:00
Simon Howe
d3a36cf873 Load up fa5 instead of 4
- Switch to fa5 icons and tweak font-sizes a bit
2018-11-13 12:51:31 +01:00
Simon
e78f8a8de4 Revert "Upgrade to Font Awesome 5" 2018-11-12 11:22:19 +01:00
Simon Howe
2cc58f5b00 Switch to fa5 icons and tweak font-sizes a bit 2018-11-09 14:59:53 +01:00
Simon Howe
52fc460f8e Load up fa5 instead of 4 2018-11-09 13:41:37 +01:00
Lucille Tachet
bb428b819b client: fix renderNotAvailable message 2018-10-28 17:01:02 +01:00
Lucille Tachet
61b8a7f889 client: update stopped container message
Fixes #2879
2018-10-18 23:15:31 +02:00
Akash Srivastava
5b8a8c9f56 Merge branch 'master' into volume-snapshot 2018-10-17 23:36:09 +05:30
Akash Srivastava
81a682893f Add kubernetes volume snapshot support
- Add a new client in probe/kubernetes/client.go
  which will be used to fetch details of Snapshot CRD
- Visualize VolumeSnapshot and VolumeSnapshotData
- Add adjacency between PV and VolumeSnapshot
- Add adjacency between VolumeSnapshot and VolumeSnapshotData
- Add snapshot filter to hide and show snapshots

Signed-off-by: Akash Srivastava <akash.srivastava@openebs.io>
2018-10-16 01:04:44 +05:30
Akash Srivastava
ea9ad0a1e6 Update topology to include tag
Tag can be used to specify the sub-shape for the given node.

Signed-off-by: Akash Srivastava <akash.srivastava@openebs.io>
2018-10-16 01:04:42 +05:30
Tomasz Skowroński
b6d4538663 scripts: replace share icon with sitemap (graph)
fix confusing graph icon

Fixes #2511
2018-10-13 19:56:35 +02:00
Marcus Cobden
041ebed8a3 Fix path confusion in bundle building 2018-09-26 12:16:49 +01:00
Marcus Cobden
3a0dc3c34f Fix CI by removing Dockerfile workdir 2018-09-26 10:41:31 +01:00
Marcus Cobden
c03e6a0e50 Rework UI build to improve caching and fix packaging issue
Stop baking the toolchain and dependencies into the build image.
Instead, run the install step each time, but use volume mounts or
CircleCI caching to keep the happy path fast.

Previously, some parts of the client (UI) directory were baked into the build
image, and some parts were mounted or copied into the build environment.
As a result, files baked into the build image require a two-step
update for changes to take effect in CI.

Now, for dockerised builds, we pre-install very little into the build
image and mount the whole directory into the build environment.
However, we do overlay a volume on the node_modules folder to allow the
standard build toolchain to be separate from the host build toolchain.

Non-dockerised builds (e.g. CI) are now more similar to the dockerised
versions.
2018-09-26 10:41:30 +01:00
Bryan Boreham
2df731b418 Merge pull request #3347 from visualapps/fix-terminal-in-contrast-mode
import missing terminal.scss in contrast.scss
2018-09-25 17:39:02 +01:00
Filip Barl
fdd3c4f147 Bump ui-components to v0.12.3 2018-09-24 15:39:59 +02:00
Filip Barl
3f66348ad7 Bump ui-components to v0.12.2 2018-09-17 16:43:19 +02:00
Filip Barl
eb767ed280 Add onRouteChange hook to Scope app. 2018-09-17 12:45:43 +02:00
visualapps
8d33d8b4d1 import missing terminal.scss in contrast.scss 2018-09-14 15:11:24 +05:30
Filip Barl
0fcc9f1517 Added some top margin to Search hint. 2018-09-06 17:17:09 +02:00
Filip Barl
4c55761bb7 Bump ui-components to v0.11.31 2018-09-06 17:12:30 +02:00
Filip Barl
a42f0f087e Bump ui-components to v0.11.30 2018-09-05 12:47:15 +02:00
Filip Barl
3c6cced4d3 Use new Search component. 2018-09-04 14:11:50 +02:00
Bryan Boreham
89d7ab1677 Remove unnecessary file 2018-08-30 10:13:41 +00:00
Simon
b090dfe788 Merge pull request #3326 from weaveworks/option-disable-store-view-state
Adds a scope-cmp prop to disable storing the view state in localStorage
2018-08-30 08:47:47 +02:00
Simon Howe
d5c49e5277 Fixes tests: add sessionStorage mock 2018-08-27 18:50:10 +02:00
Simon Howe
1906e319a9 Read from sessionStorage before localStorage when loading view state 2018-08-27 16:20:40 +02:00
Bryan Boreham
321c5709b9 Merge pull request #3231 from meghalidhoble/master
[Power Support] Enable weaveworks scope on Power.
2018-08-24 15:27:57 +01:00
Simon Howe
3791198edc Adds a scope-cmp prop to disable storing the view state in localStorage
- Scope will forget where it was last opened.
2018-08-23 15:44:33 +02:00
guyfedwards
ebd6376bd4 support storagesheet for old scope reports
Old versions of scope reports use `storagesheet` as the value for node
shape. This shape is no longer supported in weaveworks-ui-components and
so this commit normalises to `sheet` for compatiblity with old reports.

related #3322
2018-08-22 15:33:34 +01:00
Filip Barl
af99a95100 Update localStorage with Scope state also on initial router hook. 2018-08-13 17:56:16 +02:00
meghalidhoble
625998b91e Change made to the listed files, to enable weaveworks-scope on Power(ppc64le)
1)backend/Dockerfile 2) probe/endpoint/dns_snooper.go
3) client/Dockerfile 4) docker/Dockerfile.cloud-agent
5) probe/process/walker_linux_test.go & 6) tools/lint

1)'backend/Dockerfile' : Conditional added so that the cross-compiling should
   be done on amd64. Also removed support for sh-lint for ppc64le for now.
   As the version for shfmt mentioned in the dockerfile is not available for
   ppc64le and the later version does't work fine with existing application.
2)'probe/endpoint/dns_snooper.go' : Renamed this file so as to reuse for ppc64le
   and added a build-constraint. Now this file will be build for amd64 on linux
   and ppc64le on linux.
3)'client/Dockerfile' : Modified the version of the base image for node from
   8.4.0 to 8.11, as this version supports multiarch.
4)'docker/Dockerfile.cloud-agent' : Modified the version of the base image for
   golang from 1.10.2-strech to 1.10.2, which supports multiarch.
5) 'probe/process/walker_linux_test.go' : Test fixed to run for ppc64le,
    modified the code to accept RSSBytes based on pageSize value per
    architecture, instead of hard-coded values.
6)'tools/lint' : Modified the file to skip the sh-lint implementation for ppc64le.

PR #3231
2018-08-13 12:45:25 +05:30
Filip Barl
798348e1eb Bumps lodash dependency. 2018-08-09 15:51:36 +02:00