grossmj
afdda427d2
Merge branch 'master' into 3.0
...
# Conflicts:
# .github/workflows/testing.yml
# gns3server/compute/builtin/nodes/nat.py
# gns3server/compute/qemu/__init__.py
# gns3server/controller/link.py
# gns3server/utils/asyncio/embed_shell.py
# gns3server/utils/asyncio/raw_command_server.py
# gns3server/utils/asyncio/telnet_server.py
# gns3server/version.py
# gns3server/web/web_server.py
3 years ago
grossmj
6005e89181
Fix issue when searching for image with relative path. Fixes #1925
3 years ago
grossmj
09ac7fd7fb
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/base_manager.py
# gns3server/handlers/api/compute/dynamips_vm_handler.py
# gns3server/handlers/api/compute/iou_handler.py
# gns3server/handlers/api/compute/project_handler.py
# gns3server/handlers/api/compute/qemu_handler.py
# gns3server/handlers/api/controller/node_handler.py
# gns3server/handlers/api/controller/project_handler.py
# gns3server/handlers/index_handler.py
# tests/handlers/api/compute/test_project.py
# tests/handlers/api/compute/test_qemu.py
# tests/handlers/api/controller/test_node.py
# tests/handlers/api/controller/test_project.py
3 years ago
grossmj
9a6978902d
Fix tests.
3 years ago
grossmj
6294ad9e76
Prevent directory traversal
3 years ago
grossmj
9404c00411
Complete type annotations for API endpoints.
3 years ago
grossmj
c021e21309
Use black with -l 120 param.
3 years ago
grossmj
f928738bd5
Use pyupgrade with --py36-plus param.
3 years ago
grossmj
30ebae207f
Use Pydantic to validate the server config file.
3 years ago
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
4 years ago
grossmj
5a7b5e4e08
Make sure all HTTP exceptions return JSON with a "message" field instead of "detail"
4 years ago
grossmj
eb3cb8a41f
Migration to FastAPI
4 years ago
grossmj
aad74dbcb9
Add debug message when searching for an image. Ref https://github.com/GNS3/gns3-gui/issues/2828
5 years ago
grossmj
af80b0bb6e
Use aiofiles where relevant.
6 years ago
grossmj
7fe8f7e716
Fix long-polling request for project notifications.
6 years ago
grossmj
5754747a90
Merging 2.1 into 2.2
6 years ago
grossmj
589c9754e8
Fix symlink not being created for duplicated IOU devices. Fixes https://github.com/GNS3/gns3-gui/issues/2699
6 years ago
grossmj
3497deaa31
Allow virtual machines to use files in project directory as disk images.
6 years ago
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.
6 years ago
grossmj
76af98404a
Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425
6 years ago
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
6 years ago
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.
7 years ago
grossmj
90ce6093d8
Some spring cleaning.
7 years ago
grossmj
658aa4bae9
Merge 2.1 into 2.2 branch
7 years ago
grossmj
c93d0d8d12
Make sure we don't try to read when opening a file in binary more. Fixes #1301 .
7 years ago
ziajka
1582ac3195
Merge branch '2.2' into async-md5-calcs
7 years ago
ziajka
eeae07e783
Conservative approach to supported versions of Python 3.4 and asyncio.ensure_future, Ref. #1269
7 years ago
ziajka
dc377165f2
Cancellable md5sum calculation on thread, Ref. gui#2239
7 years ago
ziajka
6868e20a70
Compute md5sum on thread and don't block main server, Ref. gui#2239
7 years ago
ziajka
d9a0ec9ff3
Replace asyncio.async with ensure_future because of deprecation, Fixes : #1269
7 years ago
grossmj
ed275e4ec5
Fix UnboundLocalError: local variable 'node' referenced before assignment. Fixes #1256 .
7 years ago
grossmj
061af38b5a
Make sure connected links are removed when a node is deleted.
7 years ago
grossmj
035a078b5e
Show qemu-img stdout in case of an error.
7 years ago
grossmj
47e8392ceb
Use uuid4() for temporary node name while duplicating a node.
7 years ago
Julien Duponchelle
0854c04687
API for duplication a Node
...
Support:
* VPCS
* Dynamips router
* Ethernet switch
Ref #1065
7 years ago
Julien Duponchelle
23c3d32e06
Filter support for Docker
...
Fix #1110
7 years ago
Julien Duponchelle
08423eff96
Support packet filtering for VPCS
...
https://github.com/GNS3/gns3-gui/issues/765
7 years ago
grossmj
48dae085aa
Catch missing function listxattr on some Linux host.
7 years ago
Julien Duponchelle
e5dba5e66a
Fix bug with other directory of Qemu images
...
Fix https://github.com/GNS3/gns3-gui/issues/1790
8 years ago
Julien Duponchelle
9a7a9f41aa
Catch an error when we can't create the IOU directory
...
Fix #846
8 years ago
Julien Duponchelle
f86358ad71
Relax permission check on OSX, it seem returning wrong info for setuid
8 years ago
Julien Duponchelle
49315adf79
Do not recurse scan for images in standard image directory
...
Fix https://github.com/GNS3/gns3-gui/issues/1680
8 years ago
Julien Duponchelle
65090c6f87
Catch errors when listing images
...
Fix #764
8 years ago
Julien Duponchelle
ea94731418
Fix support of IOS images outside standard directories
...
Fix https://github.com/GNS3/gns3-gui/issues/1630
8 years ago
Julien Duponchelle
ae1e027031
Raise error if using a non linked clone VM twice
...
Fix https://github.com/GNS3/gns3-gui/issues/1593
8 years ago
Julien Duponchelle
106915f419
Return md5sum and filesize in the list of images
...
Ref https://github.com/GNS3/gns3-gui/issues/1590
8 years ago
Julien Duponchelle
bbc1505274
Return what is supported by a compute node
...
Ref https://github.com/GNS3/gns3-gui/issues/1448
8 years ago
Julien Duponchelle
796ebf7210
Optimize project closing by avoiding closing unused modules
...
Fix #627
8 years ago
Julien Duponchelle
3ca4edef93
Update project API
8 years ago
grossmj
d79fb231d3
Use uBridge for VirtualBox connections plus some cleaning. Ref #267 .
8 years ago