Commit Graph

2988 Commits

Author SHA1 Message Date
Simon
7e5166e45e Merge pull request #1966 from weaveworks/746-resize-ttys
Resize TTYs
2016-11-03 11:06:16 +01:00
Simon Howe
d3878cc8df Don't resize terminal if we don't receive a resize control (e.g. onAttach)
- Fix text selection in terminal (was our force focus stuff, introduced
  if you clicked on the black border that was not actually the terminal
2016-11-03 10:24:38 +01:00
Mike Lang
03661f309a Merge pull request #1917 from weaveworks/1916-dont-leak-goroutines
Timeout reads and writes in the http server.
2016-11-02 15:25:55 -07:00
Alfonso Acosta
4c9c1338f4 Merge pull request #1942 from weaveworks/1800-image-details
Add image information table to container details panel
2016-11-02 18:14:49 +01:00
Alfonso Acosta
3af7076f30 Review feedback 2016-11-02 14:46:56 +00:00
Alfonso Acosta
375ce6b33c Review feedback 2016-11-02 13:16:13 +00:00
Alfonso Acosta
9e378ca4b5 Show image information at the beginning 2016-11-02 13:16:12 +00:00
Alfonso Acosta
d0e022050e Fix and extend tests 2016-11-02 13:16:12 +00:00
Alfonso Acosta
216cc0d605 Add image table to container nodes
Also, extend metadata of images with sizes
2016-11-02 13:16:11 +00:00
Alfonso Acosta
260464e7f2 Vendor github.com/dustin/go-humanize 2016-11-02 13:00:16 +00:00
Alfonso Acosta
9367d95cb0 Allow providing fixed entries in tables 2016-11-02 13:00:15 +00:00
Simon
794b9c9a19 Merge pull request #1932 from weaveworks/1481-scroll-lock-terminals
Enable scroll locking on the terminal
2016-11-01 16:33:35 +01:00
Simon Howe
a381e3c06b Fixes scroll locking on xterm.js 2016-11-01 15:46:22 +01:00
Simon Howe
0fcd7d3a2c Increase terminal scrollback to hold onto more logs 2016-11-01 11:44:54 +01:00
Simon Howe
1b78427fb9 Keep scroll position if we scroll away from the bottom of the term
aka, scroll locking. Allows you to scroll back through logs without new
log data dragging the scroll back down to the next entries as they come
in.
2016-11-01 11:44:29 +01:00
Alfonso Acosta
f7c0b75eff Quote properly 2016-10-31 19:29:05 +00:00
Simon Howe
487635cb62 Adds terminal resizing on hosts.
Adds terminal resizing on popped out windows
2016-10-31 18:11:10 +01:00
Mike Lang
96058b1137 Merge pull request #1958 from weaveworks/mike/middleware/errorhandler
middleware/errorhandler: Fix a bug which meant it never works
2016-10-31 08:33:08 -07:00
Simon Howe
305bf7680a Resizing working w/ containers! 2016-10-31 15:29:53 +01:00
Simon Howe
ea9101ad0f Fix warning about text nodes in thead in details panel 2016-10-31 15:29:53 +01:00
Alfonso Acosta
1cf66419d9 Make linter happy 2016-10-31 14:26:37 +00:00
Alfonso Acosta
253657887c Implement TTY resize for hosts 2016-10-31 12:11:25 +00:00
Alfonso Acosta
6cbf2bf26e Vendor github.com/docker/docker/pkg/term 2016-10-31 11:08:56 +00:00
Alfonso Acosta
6a3910d20a Fix backend tests 2016-10-31 10:15:50 +00:00
Alfonso Acosta
411f8d729e Remove leftover functions 2016-10-31 11:04:41 +01:00
Alfonso Acosta
2443f7a3c5 Implement resize control for docker TTYs 2016-10-31 11:04:40 +01:00
Alfonso Acosta
37ba071feb Allow passing arguments to controls 2016-10-31 11:04:40 +01:00
Alfonso Acosta
403b70dde8 Disable pipes endpoint, we are going for controls instead 2016-10-31 11:04:40 +01:00
Alfonso Acosta
c2f2a90b61 Implement App endpoint /pipe/{id}/resize_tty/{height}/{width} to resize ttys 2016-10-31 11:04:39 +01:00
Jordan Pellizzari
654ba35be6 Merge pull request #1960 from weaveworks/1325-close-help-dialog
Close help dialog when the canvas is clicked
2016-10-28 07:55:21 -07:00
Jordan Pellizzari
0d8152fb33 Merge pull request #1959 from weaveworks/1947-node6-client-deps
Update client deps to use Node v6.9.0
2016-10-28 07:54:38 -07:00
Alfonso Acosta
b458c4c0c8 Merge pull request #1182 from weaveworks/1132-weave-topology
Add the basics for a Weave-specific topology.
2016-10-28 12:23:55 +02:00
Alfonso Acosta
b6b343cbfd Review feedback 2016-10-28 08:58:45 +00:00
jpellizzari
52f7980f6f Added logic to close help dialog when canvas is clicked 2016-10-27 18:04:38 -07:00
jpellizzari
2baf7d49b1 Changed client deps to work with Node v6.9 2016-10-27 17:10:08 -07:00
Mike Lang
6173e543c8 middleware/errorhandler: Fix a bug which meant it never works
Because methods operated on the value, not the reference, their changes
were discarded.
2016-10-27 17:08:42 -07:00
Jordan Pellizzari
ba2158057a Merge pull request #1948 from weaveworks/1940-use-xterm
Change term.js library to xterm.js
2016-10-27 15:49:19 -07:00
Jordan Pellizzari
ca49cfdfe6 Changed term.js lib to xterm.js 2016-10-27 15:23:02 -07:00
Mike Lang
cbb37b690d Merge pull request #1956 from weaveworks/1953-fix-query-string
Prevent querystrings from starting with &
2016-10-27 14:29:16 -07:00
David Kaltschmidt
60037c8c7c Prevent querystrings from starting with &
Fixes #1953
2016-10-27 16:02:25 +02:00
Mike Lang
d2e8c4db0e Merge pull request #1954 from weaveworks/mike/middleware/errorhandler
middleware: Add an ErrorHandler middleware used to serve an alternate handler on a certain error code
2016-10-26 14:16:50 -07:00
Mike Lang
0967bccaa2 appease linter 2016-10-26 13:48:10 -07:00
Alfonso Acosta
f906511ded Add initial metadata in details panel and clarification comments 2016-10-26 09:09:01 +00:00
Alfonso Acosta
7771625a25 Change topology title to Weave Net 2016-10-26 08:28:45 +00:00
Alfonso Acosta
306ad68a81 Fix bug when parsing peer names 2016-10-26 07:47:17 +00:00
Alfonso Acosta
3023f4be80 Add Weave summary generator and fix Weave renderer 2016-10-26 07:40:14 +00:00
Mike Lang
7f528d1a78 middleware: Add an ErrorHandler middleware used to serve an alternate handler on a certain error code 2016-10-25 17:50:39 -07:00
Jordan Pellizzari
590f0078e7 Merge pull request #1927 from jpellizzari/1866-table-time-format
1866: Improve metadata table 'date' format
2016-10-25 14:31:27 -07:00
Bowen Li
98be7d2b10 Merge pull request #1946 from weaveworks/1945-sublabel-empty-span
fixes visual bug where empty span shows up
2016-10-25 09:21:05 -07:00
Alfonso Acosta
2ab1715a79 Merge pull request #1944 from weaveworks/1929-discard-shortlived-connections-to-pods-in-host-net
Discard short-lived connections to/from Pods in the host net
2016-10-25 18:04:27 +02:00