Commit Graph

126 Commits

Author SHA1 Message Date
David Kaltschmidt
4d027fef19 changed tooling from browserify to webpack
* using browsersync instead of livereload
* `gulp serve` works as before
* `gulp sync` starts browserSync and serves UI on port 3000
* everything is built in `build/`
* build release with `gulp build --release`
2015-05-29 11:48:55 +02:00
David
784c1e0e75 Merge pull request #125 from weaveworks/linting
Added linter and formatted tabs to 2 spaces
2015-05-28 17:25:38 +02:00
David Kaltschmidt
7d1ee40a2b Fixed lint errors in all js files
- Also added linter configuration, and make linter fail on error
- fixing ES6 errors and added ES6 transformer
- gulp target to try local build
- linted gulpfile
- cant hook into gulp lint yet, because gulp does currently not support
  ES6 which some rules demand, since gulp cant transpile itself, we have a
  chicken and egg problem.
- ES6 transpiler for test runner
- removed old linter config
- adapted editorconfig to reflect linter config
2015-05-28 15:07:13 +00:00
David Kaltschmidt
42a3f57e11 Added linter for js
- use global stricts
- use airbnb linter rules
- gulp lint target
- make target client-lint
2015-05-28 15:06:46 +00:00
David Kaltschmidt
99c76dc4c8 fix indentation to 2 spaces in js/less/html 2015-05-28 15:05:01 +00:00
Tom Wilkie
1fbc48f855 Remove sleep 1 from qotd server. 2015-05-28 09:41:51 +00:00
Tom Wilkie
45b18d46ca Merge pull request #126 from tomwilkie/bring-back-the-good-old-days
Restore the internet node to the container topologies.
2015-05-27 18:12:48 +01:00
Tom Wilkie
dd97a33e0e Restore the internet node to the container topologies. 2015-05-27 17:12:33 +00:00
Tom Wilkie
f166cb6359 Scale up pyapp in example 2015-05-27 16:26:52 +00:00
Tom Wilkie
5065223f68 Use sessions for the pyapp -> goapp link too. 2015-05-27 16:06:04 +00:00
Tom Wilkie
649d6b9793 Python requests only does keep alive within a session... 2015-05-27 15:42:57 +00:00
Tom Wilkie
8bccec8a78 Replace curl with little python script 2015-05-27 14:51:37 +00:00
Tom Wilkie
04145ce991 Merge pull request #121 from tomwilkie/refactor
Refactor topology 'views' and their http handlers
2015-05-27 15:18:35 +01:00
Tom Wilkie
0ade65d32a Refactor grouped topologies, topology 'views' and their http handlers 2015-05-27 14:17:47 +00:00
Tom Wilkie
c468558656 Merge pull request #98 from tomwilkie/scrolling
Fix wrapping and scrolling in the details pane.
2015-05-27 15:16:01 +01:00
Tom Wilkie
2743013c88 Merge pull request #122 from tomwilkie/112-pid-host
Don't do the hostproc dance, use --pid=host
2015-05-27 13:52:14 +01:00
Tom Wilkie
8ca5fd6140 Add 'architecture' diagram to example add 2015-05-27 12:07:47 +00:00
Tom Wilkie
0c059b2f84 Don't do the hostproc dance, use --pid=host 2015-05-27 12:02:40 +00:00
Tom Wilkie
e8da5903f1 Small enhancements to the example app
- Explicity add go app to the example container, so it fails if you haven't built it.
- spin up 2 goapps and 3 elastic searches
2015-05-27 10:20:07 +00:00
Tom Wilkie
68a11db3e8 Merge pull request #116 from tomwilkie/105-grouping-pseudo
Group pseudo nodes by the node the referred to and their address in grouped topologies.
2015-05-27 11:09:36 +01:00
Tom Wilkie
0b786ae5a7 Don't produce pseudo nodes for the container topologies 2015-05-27 10:05:24 +00:00
Tom Wilkie
0fd5c2eeae Factor out pseudo node creation to a per-topology function - no semantic change right now. 2015-05-27 10:05:18 +00:00
Tom Wilkie
ea6d1282dc Group pseudo nodes by the node the referred to and their address in grouped topologies. 2015-05-27 09:52:04 +00:00
Peter Bourgon
d7da27a692 Function has slowly become dead code; remove it 2015-05-27 11:22:12 +02:00
Tom Wilkie
8a735b4d8d Merge pull request #109 from tomwilkie/errcheck
Add errcheck to our bin/test script (doesn't fit well with lint)
2015-05-26 17:24:24 +01:00
Tom Wilkie
0c45bc808e Merge pull request #110 from tomwilkie/build
Check for docker-squash and the correct netgo libs in the makefile.
2015-05-26 17:23:45 +01:00
Tom Wilkie
c378e72ac3 Check for docker-squash and the correct netgo libs in the makefile. 2015-05-26 16:20:16 +00:00
Tom Wilkie
0a749de27c Merge pull request #108 from tomwilkie/pseudo-nodes
Group all pseudo nodes from a given host, talking to the same node, together
2015-05-26 17:01:34 +01:00
Tom Wilkie
2545ab4670 Group all pseudo nodes from a given host, talking to the same node, together. 2015-05-26 15:58:19 +00:00
Tom Wilkie
924c8b84e6 Add errcheck to our bin/test script (doesn't fit well with lint) 2015-05-26 15:43:17 +00:00
Peter Bourgon
92adbf1c40 Merge pull request #107 from weaveworks/errcheck
Address non-Close errors identified by errcheck
2015-05-26 17:32:04 +02:00
Peter Bourgon
e518c71493 Merge pull request #106 from weaveworks/add-containers-topology
Add Containers topology
2015-05-26 17:11:01 +02:00
Peter Bourgon
2f16729ef1 Fix errcheck errors in experimental 2015-05-26 16:54:23 +02:00
Peter Bourgon
84454d1ba1 Fix errcheck errors in app 2015-05-26 16:52:29 +02:00
Peter Bourgon
8f6b9895ac Fix errcheck errors in probe 2015-05-26 16:49:47 +02:00
Peter Bourgon
bf49e12094 Add Containers topology 2015-05-26 16:37:44 +02:00
Tom Wilkie
957d5253a1 Merge pull request #95 from tomwilkie/docker-image-annot
Expose Docker image IDs and Names
2015-05-26 11:21:45 +01:00
Tom Wilkie
18c38a6bf4 Expose docker image id and name 2015-05-26 10:15:23 +00:00
Tom Wilkie
ab41aacd59 Fix wrapping and scrolling in the details pane. 2015-05-24 09:36:49 +00:00
Tom Wilkie
c155782232 Merge pull request #97 from tomwilkie/hostname
Don't set the hostname in the scope container when running with weavedns
2015-05-24 10:22:58 +01:00
Peter Bourgon
8c7ca1ecc2 Merge pull request #67 from weaveworks/remove-topology-type
Topologies no longer have a 'type' (for grouping)
2015-05-23 18:07:58 +02:00
Tom Wilkie
2c9a2da14f Don't set the hostname in the scope container when running with weavedns. 2015-05-22 17:11:06 +00:00
Tom Wilkie
f577bbc76f Update static.go 2015-05-22 16:59:44 +00:00
Tom Wilkie
686f3878ae Merge pull request #65 from weaveworks/fix-topology-click
Fix grouping bar for topologies that don't support grouping
2015-05-22 17:55:15 +01:00
David Kaltschmidt
66d66a4d01 Fix grouping bar for topologies that don't support grouping
- fixes #61
- dont clear nodes cache if topo is the same
- combined stores that were interdependent
- dont show topology grouping menu if unsupported
- also harmonized some variable names
- removed old grouping switcher
- moved topo actions to app actions, removed search
- get correct topology url
- first JS test using Jest
- make tests run on circle using the build container.
- replaced jest test runner with karma/jasmine
- Use debian for UI build and test container.
- updated karma-browserify
2015-05-22 16:41:48 +00:00
Tom Wilkie
f11168c051 Make bin/test download test dependancies. 2015-05-22 15:02:36 +00:00
Peter Bourgon
8dae139bdf Merge pull request #94 from weaveworks/stabilize-detail-pane-order
Stabilize order of rows in origin node
2015-05-22 16:10:44 +02:00
Peter Bourgon
7427467363 Stabilize order of rows in origin node 2015-05-22 15:57:52 +02:00
Tom Wilkie
24df95f132 Merge pull request #89 from tomwilkie/build
Embed the git commit id in a go file and print it on startup.
2015-05-22 14:38:02 +01:00
Tom Wilkie
b536d1161b Set git version variable at build time. 2015-05-22 13:34:23 +00:00