grossmj
cefab8d362
Rename __json__() to asdict()
3 years ago
grossmj
44074ff7c9
Some cleaning.
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
fa4c9a91ca
Add symbol dimensions endpoint and SSL support for packet capture with remote HTTPS server.
3 years ago
grossmj
802959f9ab
Merge branch 'master' into 3.0
...
# Conflicts:
# dev-requirements.txt
# gns3server/controller/__init__.py
# gns3server/controller/appliance_manager.py
# gns3server/controller/compute.py
# gns3server/controller/topology.py
# gns3server/handlers/api/compute/ethernet_switch_handler.py
# gns3server/handlers/api/controller/link_handler.py
# gns3server/handlers/api/controller/symbol_handler.py
# gns3server/version.py
# requirements.txt
# tests/controller/test_export_project.py
# tests/handlers/api/compute/test_qemu.py
# tests/web/test_response.py
# win-requirements.txt
3 years ago
piotrpekala7
30cbfe2154
Update picture.py
3 years ago
grossmj
c043830e3f
Move endpoints to routes & preparations to use a database.
4 years ago
grossmj
e13c84bada
Fix tests
4 years ago
grossmj
841b013223
SSL support.
4 years ago
grossmj
a5d89b428a
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/controller/__init__.py
# gns3server/controller/compute.py
# gns3server/schemas/gns3vm.py
# gns3server/utils/application_id.py
# gns3server/version.py
# gns3server/web/web_server.py
4 years ago
grossmj
5d1fdceb98
Fix bug with application id allocation for IOU nodes. Fixes #3079
4 years ago
grossmj
a92c47b310
Add HTTP client to reuse the aiohttp session where needed.
...
Remove unnecessary aiohttp exceptions.
4 years ago
grossmj
eb3cb8a41f
Migration to FastAPI
4 years ago
grossmj
af22fb8e98
Comment unused code that causes issue with flake8
4 years ago
grossmj
f498ab06b4
Wait longer for x11 socket file to be created. Ref #1761
4 years ago
grossmj
5b59a09e8d
Deprecate running with Python 3.5
4 years ago
Bernhard Ehlers
10bb259248
Implement a minimum interval between cpu_percent() calls. Fixes #1738
4 years ago
Bernhard Ehlers
4ab100b716
Revert "Implement a minimum interval between psutil calls. Fixes #2262"
...
This reverts commit 3a09bd43dc
.
4 years ago
grossmj
c5412bf970
Allocate application IDs for IOU nodes on the controller.
...
An application ID is used by IOU to generate its interface Mac addresses. They must be unique across all opened projects sharing the same computes to avoid Mac address collisions.
5 years ago
grossmj
a98fc2d308
Python3.8 support. Ref https://github.com/GNS3/gns3-gui/issues/2895
5 years ago
grossmj
2af9127879
Fix issue when linking to more than one NAT node with allowed_interface option enabled. Fixes #1671
5 years ago
grossmj
7cfd0d4d1d
Use compatible shlex_quote to handle case where Windows needs double quotes around file names, not single quotes. Ref https://github.com/GNS3/gns3-gui/issues/2866
5 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
6db8cecda5
Merge 2.1 into 2.2
6 years ago
grossmj
cc1980ac1c
Fix broken embedded console for Ethernet switch. Fixes #1574
6 years ago
ziajka
cbb6eccad8
Merge branch '2.2' of github.com:GNS3/gns3-server into 2.2
6 years ago
ziajka
9edbd27b4f
Serve WebUI via get_resource for freezed app
6 years ago
grossmj
1f1d93d078
Deactivate the embedded shell for Ethernet switch. Ref #1424 #1556
6 years ago
grossmj
03401a477e
Fix issue when images are not uploaded from appliance wizard. Ref https://github.com/GNS3/gns3-gui/issues/2738
6 years ago
grossmj
52bfa636c1
Project duplication support.
6 years ago
grossmj
a8990c9e89
Non blocking project exportation.
6 years ago
grossmj
3e21f96bf9
Fix indentation issue. Ref https://github.com/GNS3/gns3-gui/issues/2674
...
(cherry picked from commit c14d79a3d5
)
6 years ago
grossmj
5f932fee9f
Tune how to get the size of SVG images. Ref https://github.com/GNS3/gns3-gui/issues/2674 .
...
* Default for missing height/width is "100%" as defined in the SVG specification
* Better error message, if viewBox attribute is missing
* Removal of "%" in percent more fault tolerant by using rstrip("%")
(cherry picked from commit e3757a8955
)
6 years ago
grossmj
c14d79a3d5
Fix indentation issue. Ref https://github.com/GNS3/gns3-gui/issues/2674
6 years ago
grossmj
e3757a8955
Tune how to get the size of SVG images. Ref https://github.com/GNS3/gns3-gui/issues/2674 .
...
* Default for missing height/width is "100%" as defined in the SVG specification
* Better error message, if viewBox attribute is missing
* Removal of "%" in percent more fault tolerant by using rstrip("%")
6 years ago
grossmj
bb284d082a
Set socket options SO_KEEPALIVE and TCP_NODELAY for embedded Telnet server. Ref #1335
6 years ago
grossmj
56412b35e0
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/docker/docker_vm.py
# gns3server/utils/asyncio/telnet_server.py
6 years ago
grossmj
60ac6d2dfe
Telnet console resize support for Docker VM.
6 years ago
grossmj
76af98404a
Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425
6 years ago
grossmj
9de13c570c
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/builtin/nodes/cloud.py
# gns3server/compute/docker/docker_vm.py
# gns3server/compute/dynamips/nodes/ethernet_switch.py
# gns3server/compute/iou/iou_vm.py
# gns3server/compute/qemu/qemu_vm.py
# gns3server/compute/virtualbox/virtualbox_vm.py
# gns3server/compute/vmware/vmware_vm.py
# gns3server/controller/__init__.py
# gns3server/version.py
# gns3server/web/web_server.py
6 years ago
grossmj
4d95e0b51f
Catch some exceptions.
6 years ago
grossmj
4021a13651
Catch exceptions in various locations to fix small issues reported by Sentry.
6 years ago
grossmj
33e8710495
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/docker/docker_vm.py
# gns3server/controller/compute.py
# gns3server/controller/gns3vm/__init__.py
# gns3server/controller/link.py
# gns3server/controller/project.py
# gns3server/handlers/api/controller/project_handler.py
# gns3server/handlers/api/controller/server_handler.py
# gns3server/utils/asyncio/__init__.py
# gns3server/utils/asyncio/telnet_server.py
# gns3server/version.py
# gns3server/web/web_server.py
# tests/compute/qemu/test_qemu_vm.py
6 years ago
grossmj
814526ba26
Add missing coroutine decorator Ref https://github.com/GNS3/gns3-gui/issues/2566
6 years ago
grossmj
902de3dd47
Refactor asyncio locking system for Python 3.7 support. Ref https://github.com/GNS3/gns3-gui/issues/2566 Ref https://github.com/GNS3/gns3-gui/issues/2568
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
b7f9b865c8
Optimize appliance templates update from GitHub repository by only downloading when the repository
...
has been updated. Ref https://github.com/GNS3/gns3-gui/issues/2490
6 years ago
ziajka
0e1f2e26d0
Serve WebUI handlers and update-bundled-web-ui script, Ref: #1362
6 years ago