grossmj
9404c00411
Complete type annotations for API endpoints.
2021-04-18 15:40:38 +09:30
grossmj
c021e21309
Use black with -l 120 param.
2021-04-13 18:46:50 +09:30
grossmj
f928738bd5
Use pyupgrade with --py36-plus param.
2021-04-13 18:37:58 +09:30
grossmj
30ebae207f
Use Pydantic to validate the server config file.
2021-04-12 17:02:23 +09:30
grossmj
acc5c7ebfa
Update package versions.
...
Do not use Path in schemas (causes issues with empty paths).
Change how notifications are handled.
Run tests with Python 3.9
2020-11-11 17:18:41 +10:30
grossmj
5a7b5e4e08
Make sure all HTTP exceptions return JSON with a "message" field instead of "detail"
2020-11-02 18:08:25 +10:30
grossmj
eb3cb8a41f
Migration to FastAPI
2020-10-02 16:07:50 +09:30
grossmj
aad74dbcb9
Add debug message when searching for an image. Ref https://github.com/GNS3/gns3-gui/issues/2828
2019-07-10 11:16:50 +02:00
grossmj
af80b0bb6e
Use aiofiles where relevant.
2019-03-06 23:00:01 +07:00
grossmj
7fe8f7e716
Fix long-polling request for project notifications.
2019-02-23 21:08:52 +07:00
grossmj
5754747a90
Merging 2.1 into 2.2
2019-02-22 18:04:49 +07:00
grossmj
589c9754e8
Fix symlink not being created for duplicated IOU devices. Fixes https://github.com/GNS3/gns3-gui/issues/2699
2019-02-19 00:09:59 +08:00
grossmj
3497deaa31
Allow virtual machines to use files in project directory as disk images.
2018-11-19 15:53:43 +07:00
grossmj
2764828f38
Refactor how clients access PCAP capture files. Fixes https://github.com/GNS3/gns3-gui/issues/2438 .
...
* The PCAP file is directly accessed if controller and client are on the same host.
* The PCAP file is streamed from the compute server to the client with the controller as a proxy when the controller is remote for the client.
2018-10-27 14:47:17 +07:00
grossmj
76af98404a
Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425
2018-10-15 17:05:49 +07:00
grossmj
3560cda06c
Use asyncio.ensure_future() instead of asyncio.async() with conservative approach to support Python < 3.4.4. Fixes https://github.com/GNS3/gns3-gui/issues/2566
2018-08-24 18:57:18 +07:00
grossmj
8b91894fa4
Improve suspend a link for Qemu and VirtualBox VMs.
...
A suspended link will be unplugged allowing the VMs to be notified
of the change.
2018-03-19 16:26:12 +07:00
grossmj
90ce6093d8
Some spring cleaning.
2018-03-15 14:17:39 +07:00
grossmj
658aa4bae9
Merge 2.1 into 2.2 branch
2018-03-12 13:38:50 +07:00
grossmj
c93d0d8d12
Make sure we don't try to read when opening a file in binary more. Fixes #1301 .
2018-03-07 16:39:04 +07:00
ziajka
1582ac3195
Merge branch '2.2' into async-md5-calcs
2018-01-29 13:01:45 +01:00
ziajka
eeae07e783
Conservative approach to supported versions of Python 3.4 and asyncio.ensure_future, Ref. #1269
2018-01-29 12:13:20 +01:00
ziajka
dc377165f2
Cancellable md5sum calculation on thread, Ref. gui#2239
2018-01-29 10:18:13 +01:00
ziajka
6868e20a70
Compute md5sum on thread and don't block main server, Ref. gui#2239
2018-01-26 12:53:48 +01:00
ziajka
d9a0ec9ff3
Replace asyncio.async with ensure_future because of deprecation, Fixes : #1269
2018-01-24 11:11:53 +01:00
grossmj
ed275e4ec5
Fix UnboundLocalError: local variable 'node' referenced before assignment. Fixes #1256 .
2018-01-14 19:06:35 +07:00
grossmj
061af38b5a
Make sure connected links are removed when a node is deleted.
2017-11-23 11:19:41 +07:00
grossmj
035a078b5e
Show qemu-img stdout in case of an error.
2017-11-17 18:13:34 +07:00
grossmj
47e8392ceb
Use uuid4() for temporary node name while duplicating a node.
2017-07-24 15:52:14 +07:00
Julien Duponchelle
0854c04687
API for duplication a Node
...
Support:
* VPCS
* Dynamips router
* Ethernet switch
Ref #1065
2017-07-24 10:08:22 +02:00
Julien Duponchelle
23c3d32e06
Filter support for Docker
...
Fix #1110
2017-07-12 19:44:15 +02:00
Julien Duponchelle
08423eff96
Support packet filtering for VPCS
...
https://github.com/GNS3/gns3-gui/issues/765
2017-07-04 15:12:26 +02:00
grossmj
48dae085aa
Catch missing function listxattr on some Linux host.
2017-05-08 21:02:23 +07:00
Julien Duponchelle
e5dba5e66a
Fix bug with other directory of Qemu images
...
Fix https://github.com/GNS3/gns3-gui/issues/1790
2017-01-18 12:39:10 +01:00
Julien Duponchelle
9a7a9f41aa
Catch an error when we can't create the IOU directory
...
Fix #846
2016-12-21 09:33:44 +01:00
Julien Duponchelle
f86358ad71
Relax permission check on OSX, it seem returning wrong info for setuid
2016-12-19 09:28:27 +01:00
Julien Duponchelle
49315adf79
Do not recurse scan for images in standard image directory
...
Fix https://github.com/GNS3/gns3-gui/issues/1680
2016-11-28 19:49:50 +01:00
Julien Duponchelle
65090c6f87
Catch errors when listing images
...
Fix #764
2016-11-11 11:24:41 +01:00
Julien Duponchelle
ea94731418
Fix support of IOS images outside standard directories
...
Fix https://github.com/GNS3/gns3-gui/issues/1630
2016-11-04 15:26:13 +01:00
Julien Duponchelle
ae1e027031
Raise error if using a non linked clone VM twice
...
Fix https://github.com/GNS3/gns3-gui/issues/1593
2016-10-24 21:39:35 +02:00
Julien Duponchelle
106915f419
Return md5sum and filesize in the list of images
...
Ref https://github.com/GNS3/gns3-gui/issues/1590
2016-10-20 17:24:05 +02:00
Julien Duponchelle
bbc1505274
Return what is supported by a compute node
...
Ref https://github.com/GNS3/gns3-gui/issues/1448
2016-08-29 15:53:10 +02:00
Julien Duponchelle
796ebf7210
Optimize project closing by avoiding closing unused modules
...
Fix #627
2016-08-16 19:41:59 +02:00
Julien Duponchelle
3ca4edef93
Update project API
2016-08-15 16:44:09 +02:00
grossmj
d79fb231d3
Use uBridge for VirtualBox connections plus some cleaning. Ref #267 .
2016-06-24 18:35:39 -06:00
Julien Duponchelle
3255be0ae2
Drop the commit system
...
Ref https://github.com/GNS3/gns3-gui/issues/1243
2016-06-14 10:16:33 +02:00
Julien Duponchelle
08e482004f
Auto upload missing images
2016-06-07 19:38:01 +02:00
Julien Duponchelle
d8bdd16e13
Raise an error if image is missing on compute
2016-06-07 15:34:04 +02:00
Julien Duponchelle
fecd81655e
Support recursive image search
...
Fix #546
2016-06-02 16:44:38 +02:00
Julien Duponchelle
a702155230
Support multiple images location
...
Ref #546
2016-06-02 15:34:40 +02:00