Commit Graph

370 Commits

Author SHA1 Message Date
ziajka
993084290c merge 2018-07-06 11:58:39 +02:00
ziajka
cde77ab232 Node as Element, Ref: 154 2018-07-06 11:50:42 +02:00
ziajka
06269bf2a2 Basic migration to RxJS 6, Ref: #154 2018-07-06 11:31:44 +02:00
ziajka
65c0739b3e Fix tests 2018-07-06 10:17:34 +02:00
ziajka
290ce6641f getLocalServer tests 2018-07-05 13:14:38 +02:00
ziajka
bcc21da585 Server service tests 2018-07-05 12:56:46 +02:00
ziajka
9888b6db74 Improve ServerError tests 2018-07-05 09:50:13 +02:00
ziajka
0c58ec9260 Project - readonly tests 2018-07-05 09:42:48 +02:00
ziajka
acc4fdc3c5 Tests for ServerError 2018-07-05 09:35:02 +02:00
ziajka
db3e700204 Progress error status, Fixes: #146 2018-07-04 13:44:35 +02:00
ziajka
ca45804b5e Move error handlers into one dir 2018-07-03 11:40:12 +02:00
ziajka
0cc0b765b5 Handle case when server is unavailable, Ref: #146 2018-07-03 11:34:37 +02:00
ziajka
ed84799ed1 Fix naming 2018-07-02 12:23:22 +02:00
ziajka
5f4515e2fb Toaster - default error handler 2018-07-02 12:11:43 +02:00
ziajka
9138d73b5d Open/close projects, Fixes: #148 2018-07-02 11:09:19 +02:00
ziajka
0435fcec89 Send version to Sentry 2018-06-27 12:34:15 +02:00
ziajka
957b93ec41 Disable delete button 2018-06-27 10:58:45 +02:00
ziajka
a2d9ba678e Fix paths 2018-06-27 10:58:04 +02:00
ziajka
e82b4e48cd Introduce components directories 2018-06-27 10:34:15 +02:00
ziajka
4f3ad287f0 Drop shared directories 2018-06-27 10:29:12 +02:00
ziajka
4145581caf Move MockedToasterService to spec 2018-06-27 10:23:04 +02:00
ziajka
6a85c2754e Progress component tests 2018-06-27 10:18:25 +02:00
ziajka
934c2f9933 Progress screen 2018-06-26 16:47:40 +02:00
ziajka
0cb1b4197a Local server support 2018-06-26 11:13:09 +02:00
ziajka
f1493800cd Basic support of local server 2018-06-22 13:41:09 +02:00
ziajka
d929cd4187 Limit experimental features 2018-06-22 12:01:46 +02:00
ziajka
e6c1851b16 Introduction of experimental features 2018-06-14 15:52:41 +02:00
ziajka
2b5b73ba38 Show/hide interfaces labels support, Fixes: #133 2018-06-11 14:08:35 +02:00
ziajka
53db28b5dc Fix nodes default labels font and position 2018-06-11 12:37:13 +02:00
Dominik Ziajka
ee850fbfe6 Improve CodeCov 2018-05-30 12:22:18 +02:00
ziajka
505f3fb59e Disable selectiontool when in readonly mode 2018-05-29 17:44:16 +02:00
ziajka
e2a21bbd2b Disable dragging on readonly project 2018-05-29 17:23:08 +02:00
ziajka
0d18166848 Fix ethernet and serial links 2018-05-29 15:19:47 +02:00
ziajka
96ec866b2e Improved text position matching 2018-05-29 13:14:55 +02:00
ziajka
f01cf63a6c Drawing: Text with text-decoration support, Fixes: #139 2018-05-28 15:40:40 +02:00
ziajka
289abf344f Fix tests 2018-05-28 15:31:04 +02:00
ziajka
cc2544e3d0 Drawings - rotation support, Fixes: #140 2018-05-28 15:24:39 +02:00
ziajka
46d028a4d2 Qt ArrayDash fixer, Ref: #137 2018-05-28 15:01:47 +02:00
ziajka
cdd377b356 Different styles of border, Ref: #137 2018-05-28 14:23:09 +02:00
ziajka
2a0a1d7e9f Whitespace support on text field, Fixes: #138 2018-05-28 13:52:30 +02:00
ziajka
6cdca71a45 Adjust default system font #127 2018-05-28 12:40:49 +02:00
ziajka
cbe8f2d584 Improve opacity support 2018-05-24 14:56:09 +02:00
ziajka
599491fa88 Text font color support 2018-05-24 14:51:28 +02:00
ziajka
fa38d6bdf2 Compact to DrawingWidget 2018-05-21 13:36:57 +02:00
ziajka
e4c07e7955 Merge remote-tracking branch 'origin/read-only-mode' into text-drawing 2018-05-21 13:17:04 +02:00
ziajka
b4da7291e5 Fix tests 2018-05-21 13:15:58 +02:00
ziajka
607e8c199a Small clean 2018-05-21 13:02:48 +02:00
ziajka
6002ebacdf Drawings - draw as different shapes 2018-05-21 12:59:20 +02:00
ziajka
bd54786f20 Hide layer up/down when project is readonly 2018-05-17 16:54:09 +02:00
ziajka
edcf42cf77 Don't delete items on topology when in readonly mode 2018-05-17 13:46:43 +02:00
ziajka
0b47232f89 Image drawing widget 2018-05-16 14:29:54 +02:00
ziajka
230ae32f0e Move converter one level up 2018-05-16 13:52:16 +02:00
ziajka
8f600b3e72 Draw text on topology 2018-05-16 13:18:44 +02:00
ziajka
e0ccfda3e2 Merge branch 'master' into text-drawing 2018-05-16 09:24:50 +02:00
ziajka
4ec4f41a22 Stop screaming about interface 2018-05-16 09:04:29 +02:00
ziajka
52456921d1 Fix support for pip>=10, Fixes: #123 2018-05-15 14:05:24 +02:00
ziajka
e465be94b4 Update packages and fix tests 2018-05-15 13:39:06 +02:00
ziajka
3169c3bf14 Text converter 2018-05-15 10:09:47 +02:00
ziajka
44f4388e41 Init SvgToDrawingConverter 2018-05-14 15:05:56 +02:00
ziajka
c2eac40440 Disable interface selection 2018-05-14 11:44:03 +02:00
ziajka
efec6c4a04 Merge branch 'draw-interfaces' of github.com:GNS3/gns3-web-ui into draw-interfaces 2018-05-14 10:53:10 +02:00
ziajka
6ed754252c Border change 2018-04-27 16:38:46 +02:00
ziajka
5760e77609 Clear selection 2018-04-20 11:48:05 +02:00
ziajka
4259aad348 Interface labels - surrounding box when selected 2018-04-20 10:29:10 +02:00
ziajka
384a51ccea Change the way of drawing interfaces 2018-04-17 13:47:18 +02:00
ziajka
03b61b371a Fix drawing lines, Ref: #111 2018-04-16 16:56:21 +02:00
ziajka
7415a915ed Improved positions of interfaces 2018-04-16 16:50:50 +02:00
ziajka
ad8a064879 Hide statuses when too close 2018-04-16 15:26:22 +02:00
ziajka
1782c6c3d3 Normalize positions of elements, Ref: #111, Fix double nodes and drawings 2018-04-16 15:09:04 +02:00
ziajka
4ca6c05f31 Fix CSS styles when provided wrong from server 2018-04-16 10:21:44 +02:00
ziajka
a1f8066b0d Update map on project change, Fixes: #110 2018-04-16 08:24:49 +02:00
ziajka
e6920af03b Doesn't allow user to select labels text during selection 2018-04-13 11:08:52 +02:00
ziajka
712aef6834 Interface labels tests 2018-04-13 10:50:45 +02:00
ziajka
a88d829f4d Draw interface labels 2018-04-12 13:15:25 +02:00
ziajka
9fc90bb0eb Merge branch 'master' into draw-interfaces 2018-04-12 09:11:32 +02:00
ziajka
0a754a70e5 Fix tests and lock typescript 2018-04-11 09:11:18 +02:00
ziajka
23ff9a8897 Preparation for interfaces labels 2018-04-11 08:21:01 +02:00
ziajka
fe4cd9082b Fonts&icons offline in electron app, Fixes: #94 2018-04-10 12:45:40 +02:00
ziajka
99fceed253 Form for supporting servers with credentials, Ref: #100 2018-04-10 11:25:31 +02:00
ziajka
31df9cfb93 Projects list can be sorted, Fixes: #99 2018-04-10 10:57:29 +02:00
ziajka
6286980327 Fix issue with wrong base-href for github.io 2018-04-09 15:24:41 +02:00
ziajka
f62552da63 Support scrolls on svg bigger than screen, Fixes: #97 2018-04-09 14:14:49 +02:00
ziajka
8280532764 Make project-toolbar sticky 2018-04-09 11:47:51 +02:00
ziajka
e38bc532b2 Fix footer on the long list, Fixes: #55 2018-04-09 11:28:34 +02:00
ziajka
74e60bd8d0 Support canvas transformation when dragged, Fixes: #96 2018-04-09 10:37:58 +02:00
ziajka
82aa9c6c51 Remove unnecessary html 2018-04-09 09:24:54 +02:00
ziajka
9c2f8eeda6 Fix tests for AppComponent 2018-04-09 09:19:35 +02:00
ziajka
0ee66da007 Communication with electron, Ref. #13 2018-04-06 13:15:23 +02:00
ziajka
37acae2697 Cleaning 2018-04-06 10:04:11 +02:00
ziajka
dd98b69f3a Send IPC settings.changed event to Electron, Ref. #13 2018-04-06 10:03:16 +02:00
ziajka
23d8740782 Test SettingsComponent 2018-04-06 07:50:28 +02:00
ziajka
f893714d69 Fix Raven tests 2018-04-05 15:45:21 +02:00
ziajka
6f0de11bda Local settings and sentry 2018-04-04 16:05:29 +02:00
Dominik Ziajka
235d841b1e Report to sentry only on production 2018-03-30 12:48:27 +02:00
Dominik Ziajka
d84af3dd4d Integration with angular sentry, Ref: #13 2018-03-30 12:42:42 +02:00
Dominik Ziajka
c913c351cc Symbol and Version services tests 2018-03-30 12:01:59 +02:00
Dominik Ziajka
51f4fe4627 Snapshot and Version services tests 2018-03-30 11:38:08 +02:00
Dominik Ziajka
6513cb565c ProjectService tests 2018-03-30 11:13:48 +02:00
Dominik Ziajka
d8d6398d26 NodeService tests 2018-03-30 11:04:03 +02:00
Dominik Ziajka
d5807070f4 LinkService tests 2018-03-30 10:41:19 +02:00
Dominik Ziajka
c87c8f12fb IndexedDbService 2018-03-30 10:11:36 +02:00
Dominik Ziajka
014cef0697 Improved separation between links, nodes and drawings 2018-03-30 09:27:45 +02:00
Dominik Ziajka
758c8ad7c7 Removed uncecessary files 2018-03-30 09:15:00 +02:00
Dominik Ziajka
228dd64d81 Delete nodes by delete key, Fixes: #86 2018-03-30 09:13:30 +02:00
Dominik Ziajka
ef337d6a19 Make sure we have correct layer 2018-03-29 13:00:36 +02:00
Dominik Ziajka
e23e920278 Check if Layers are updated 2018-03-29 12:59:36 +02:00
Dominik Ziajka
44bda141b8 Move node to one layer up/down 2018-03-29 12:36:35 +02:00
Dominik Ziajka
789a69cabb LinksWidget tests 2018-03-29 09:33:20 +02:00
ziajka
c75f8ce459 LayersManager 2018-03-28 16:20:00 +02:00
ziajka
e2779620d3 Apply style 2018-03-28 13:22:57 +02:00
ziajka
9dfbd5268b InRectangleHelper tests 2018-03-28 13:17:26 +02:00
ziajka
38e172f9b6 ts-mockito and tests LayersWidget 2018-03-28 12:02:58 +02:00
ziajka
dab3db3f17 Remove .widget from files and introduce TestSVGCanvas 2018-03-28 10:03:04 +02:00
ziajka
cc27c56216 Support drawings on WS 2018-03-27 17:50:06 +02:00
ziajka
ce6a727300 Get nodes earlier than nodes for compatibility 2018-03-27 17:29:41 +02:00
ziajka
3d42d46987 DrawingsDataSource 2018-03-27 17:21:50 +02:00
ziajka
1dc911fc92 Correct position of links 2018-03-27 16:57:39 +02:00
ziajka
f03abfe761 Different layers, Ref: #11 2018-03-27 16:57:22 +02:00
ziajka
9f86414210 Merge when updates items in datasource 2018-03-26 10:25:30 +02:00
ziajka
c5de9256c7 Change the way of selection 2018-03-23 13:44:41 +01:00
ziajka
33606b4cd7 Small refactor 2018-03-23 11:32:09 +01:00
ziajka
b819e106fc Manually select nodes and links 2018-03-23 11:29:35 +01:00
ziajka
28ead48c40 Selection Manager 2018-03-23 10:30:22 +01:00
ziajka
6dc7f870b2 Select links and nodes 2018-03-22 15:40:06 +01:00
ziajka
0cc1cd8db1 More tests for HttpServer 2018-03-21 11:41:53 +01:00
ziajka
b4e2b38585 Tests for HttpServer 2018-03-21 11:22:42 +01:00
ziajka
8dcace80e0 Tests for ApplianceService 2018-03-21 11:06:29 +01:00
ziajka
201b802707 Correct way of loading symbols 2018-03-21 10:06:39 +01:00
ziajka
d399a59d7f Update Http to HttpClient, Ref: #88 2018-03-20 16:02:41 +01:00
ziajka
d24a6aeed6 Try to test http service 2018-03-20 12:54:58 +01:00
ziajka
b60d2362ef Symbols datasource and models names refactor 2018-03-20 08:18:36 +01:00
ziajka
7224bade9c Move clearing graph layout into disconnect 2018-03-19 15:39:39 +01:00
ziajka
e2bcd72319 Introduce Nodes and Links DataSources 2018-03-19 15:09:22 +01:00
ziajka
8432fb9d24 Project WS Handler refactor 2018-03-19 15:01:18 +01:00
ziajka
2cbe216f76 Fix tests 2018-03-19 13:28:53 +01:00
ziajka
6aa7070196 NodesDataSource 2018-03-19 13:23:39 +01:00
ziajka
65b491e54e Move transformation not as inline function 2018-03-19 11:24:40 +01:00
ziajka
3d25633a38 Get selected nodes 2018-03-19 10:30:29 +01:00
ziajka
bfe6613871 Nodes can be deselected on click 2018-03-15 15:27:35 +01:00
ziajka
3192ce4376 Graphically select nodes 2018-03-15 15:19:50 +01:00
ziajka
f7ec7ea7df Context with centering 2018-03-15 10:33:56 +01:00
ziajka
e785790cf5 MovingTool tests 2018-03-15 10:31:13 +01:00
ziajka
1867a77b2b Test deactivation of SelectionTool 2018-03-14 14:21:05 +01:00
ziajka
7f03d2f372 Removed beforeEach 2018-03-14 14:07:44 +01:00
ziajka
477ed3008f SelectionTool tests 2018-03-14 14:01:10 +01:00
ziajka
5987ea8fc7 Activation/deactivation of selection/zoom works 2018-03-14 10:38:28 +01:00
ziajka
5d1783af5c Move moving tool outside graph 2018-03-13 16:10:33 +01:00
ziajka
31a20c2709 Deactivate/activate tools 2018-03-13 15:05:50 +01:00
ziajka
2449ba8c66 Project toolbar toggle moving button 2018-03-13 14:04:42 +01:00
ziajka
ca1a6ad6cd Selection UI, Ref. #16 2018-03-13 13:03:27 +01:00
ziajka
7589c46285 Merge branch 'master' into selection 2018-03-13 09:39:16 +01:00
ziajka
f5f5cd172a Black&white effect on hover node 2018-03-12 15:13:41 +01:00
ziajka
301edb0bbb Replace ng2-toast with material snacbar, Fixes: #75 2018-03-08 08:48:09 +01:00
ziajka
5f477a58ce Fix GNS3 icon on the project menu 2018-03-06 11:45:34 +01:00
ziajka
6afdeb51a8 Canvas resizes on window size change, fixes #54 2018-01-22 11:58:18 +01:00
ziajka
dd54cd3689 Restore functionality, Fixes: #50 2018-01-19 11:03:00 +01:00
ziajka
48604fcc95 Add one test to make it green 2018-01-18 12:39:36 +01:00
ziajka
f9f4f8560b Comment out tests 2018-01-18 12:21:57 +01:00
ziajka
442666fd50 Fix issue with Material Icons and angular/cli-1.6.4 2018-01-18 10:51:17 +01:00
ziajka
de21cbb48b Fix angular2-indexeddb complains 2018-01-18 10:39:20 +01:00
ziajka
55d049e945 Icons set
Build electron for Linux, Windows and macOS. Ref. #18, #19, #20, #22
Include gns3server in electron app. Ref. #21
Bumping version Ref. #24
CD and Release for AppVeyor, CircleCi and TCI. Ref. #25, #26, #27, #28
Make lighter artifacts #31
Build gns3server for Linux, Windows and macOS. Ref. #33, #34, #35
2018-01-17 15:46:45 +01:00
ziajka
da01ac99fe Support electron env and build for linux 2018-01-04 11:42:43 +01:00
ziajka
6dfa755c50 Build electronjs linux app 2018-01-04 11:08:30 +01:00
ziajka
9909fffcbd More selection 2018-01-04 09:17:50 +01:00
ziajka
e95c63139a Init selection 2018-01-04 09:17:08 +01:00
Dominik Ziajka
d2cc41b19b Prepare for electron 2018-01-03 16:46:15 +01:00
Dominik Ziajka
8e58103b85 Update dependencies 2018-01-03 14:26:35 +01:00
ziajka
70b8556873 Stop drawing 2017-12-08 15:02:41 +01:00
ziajka
68a9d1b07c Center label for node 2017-12-05 12:21:35 +01:00
ziajka
d2a2c60db1 Calculates points relatively to (0,0) 2017-12-05 10:54:37 +01:00
ziajka
72bdeceb20 Default node text font 2017-12-05 10:11:15 +01:00
ziajka
e948954963 Loading on map load 2017-12-05 09:18:46 +01:00
ziajka
3023a8fde0 Spinner - init 2017-12-04 14:52:34 +01:00
ziajka
660b659f78 Links on different layer 2017-12-04 13:06:18 +01:00
ziajka
694e819274 Connect nodes with links 2017-12-04 12:25:13 +01:00
ziajka
c0ee39428f Draw a line 2017-12-04 11:38:08 +01:00
ziajka
03a55d88d2 Line 2017-12-04 11:29:28 +01:00
ziajka
4f8f782a04 Started working on drawing lines 2017-12-01 16:47:49 +01:00
ziajka
12a64f8832 Choose interface menu 2017-12-01 14:50:03 +01:00
ziajka
0b61093dff Draw line menu 2017-12-01 14:07:19 +01:00
ziajka
e19503d1a3 No node points when not in debug 2017-12-01 13:20:46 +01:00
ziajka
732fcae48d Key for nodes 2017-12-01 13:12:52 +01:00
ziajka
93bb5a4117 Changed approach for symbols 2017-12-01 13:01:03 +01:00
ziajka
f26524bb7d Background color 2017-12-01 12:42:54 +01:00
ziajka
d050e3024d Drag nodes and links 2017-12-01 11:42:40 +01:00
ziajka
abcf6f72de Add node to 0,0 position 2017-11-30 14:49:44 +01:00
ziajka
632ee71378 Appliances filtering 2017-11-30 13:24:58 +01:00
ziajka
63b2f2340a Design improvements 2017-11-30 13:08:54 +01:00
ziajka
178f849476 Fix table link style 2017-11-30 11:32:29 +01:00
ziajka
084ded34b2 Appliances list, ref: #14 2017-11-30 10:27:41 +01:00
ziajka
4caeb2a4c7 Start/stop nodes, fixes: #12 2017-11-30 09:07:28 +01:00
ziajka
2ab96ab323 Removed unused files 2017-11-30 09:00:23 +01:00
ziajka
9d8e8ca42e Start/stop node - moved out actions 2017-11-30 08:59:52 +01:00
ziajka
935b0b93e6 Node actions 2017-11-29 16:07:53 +01:00
ziajka
055dde4ea5 Passing node to context menu 2017-11-29 13:29:32 +01:00
ziajka
0cc7b62526 Remove unused code 2017-11-29 13:22:22 +01:00
ziajka
8a8fabdee7 Node context menu, ref. #5 2017-11-29 13:19:53 +01:00
ziajka
5855587259 Context menu preps, ref. #5 2017-11-29 12:42:26 +01:00
ziajka
2eb7246f87 Drawings, ref. #10 2017-11-28 15:06:38 +01:00
ziajka
5690db42cd Serial Link, fixes: #4 2017-11-28 10:30:14 +01:00