grossmj
d1c8f33fc5
Upgrade dev dependencies and fix issues after upgrading to pytest-aiohttp v1.0.4
2 years ago
grossmj
86c44cd6e7
Upgrade dev dependencies and fix tests to support pytest-asyncio strict mode
2 years ago
grossmj
bfbac2e93a
Use generic symbol names
2 years ago
Jeremy Grossmann
da626d334f
Merge branch '3.0' into iou-user-loader-libraries
2 years ago
grossmj
80f5ca0c3f
Checks for valid hostname on server side for Dynamips, IOU, Qemu and Docker nodes
2 years ago
grossmj
f5e1956dfa
Support user defined loader/libraries to run IOU
2 years ago
grossmj
f4b67f2e59
Allow auth token to be passed as a URL param
2 years ago
grossmj
149d086fd8
Reactivate project importation
2 years ago
grossmj
410f062721
Fix config option to disable built-in templates.
2 years ago
grossmj
d8b928f1c1
Fix tests.
2 years ago
grossmj
d303d13045
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/base_node.py
# gns3server/compute/docker/docker_vm.py
# gns3server/compute/iou/iou_vm.py
# gns3server/controller/template_manager.py
# gns3server/handlers/api/compute/docker_handler.py
# gns3server/handlers/api/compute/dynamips_vm_handler.py
# gns3server/handlers/api/compute/iou_handler.py
# gns3server/handlers/api/compute/qemu_handler.py
# gns3server/handlers/api/compute/virtualbox_handler.py
# gns3server/handlers/api/compute/vmware_handler.py
# gns3server/handlers/api/compute/vpcs_handler.py
# gns3server/handlers/api/controller/node_handler.py
# gns3server/version.py
# requirements.txt
# tests/controller/test_controller.py
# tests/controller/test_project.py
# tests/handlers/api/controller/test_node.py
2 years ago
grossmj
ec3c36d6da
Fix Docker tests
2 years ago
grossmj
bdd703a0dc
Support to reset all console connections. Ref https://github.com/GNS3/gns3-server/issues/1619
2 years ago
grossmj
67bf14776f
Config option to disable built-in templates
2 years ago
grossmj
527d4bb3ea
Run Xtigervnc with MIT-SHM extension disabled for Docker VNC console support. Fixes #2071
2 years ago
grossmj
7d49b80e6b
Add controller endpoints to get VirtualBox VMs, VMware VMs and Docker images
2 years ago
Jeremy Grossmann
3b7dfe5929
Merge pull request #2055 from GNS3/remove-qemu-binaries-requirement
...
Remove Qemu binary requirement
2 years ago
grossmj
162af5bb7a
Checks for compression levels + tests
2 years ago
grossmj
2535e5508d
Remove Qemu binary requirement
2 years ago
grossmj
3106c8a6a2
Do not cache to md5sum file in some situations
2 years ago
grossmj
e50bed5bee
Support delete Qemu disk image from API
...
Return the real disk image name in the 'hdx_disk_image_backed' property for Qemu VMs
2 years ago
grossmj
fda2a37b98
Handle creating Qemu disk images and resizing
2 years ago
grossmj
888c773dc0
Finish to clean up local setting usage. Ref #1460
3 years ago
grossmj
900d4f79ee
"Local" command line parameter is only for stopping
...
a server that has been started by the desktop GUI
3 years ago
grossmj
9b39bfb845
Detect image type instead of requesting it from user
3 years ago
grossmj
74c675d5b0
Drop Windows support
3 years ago
grossmj
10fdd8fcf4
Add connect endpoint for computes
...
Param to connect to compute after creation
Report compute unauthorized HTTP errors to client
3 years ago
grossmj
87c1df1639
Fix compute Docker test. Fixes #2003
3 years ago
grossmj
16fcf6141e
Fix tests
3 years ago
grossmj
af9860f965
Fix compute Docker test
3 years ago
grossmj
5797de8f2d
Fix tests
3 years ago
grossmj
38388f7ae5
Secure controller to compute communication using HTTP basic authentication
3 years ago
grossmj
717a400a11
Fix tests
3 years ago
grossmj
442a23836e
Fix version output test
3 years ago
grossmj
bb15b13a9d
Return the current controller hostname/IP from any compute
3 years ago
Jeremy Grossmann
16ac9358df
Merge pull request #1986 from GNS3/remove-qemu-legacy-networking
...
Remove Qemu legacy networking support
3 years ago
grossmj
eab4c8c770
Remove Qemu legacy networking support
3 years ago
grossmj
a31e5615a4
Add a custom version to an appliance
3 years ago
grossmj
88d98cf02e
Fix tests and workaround issue with flake8
3 years ago
grossmj
13ff7df9fa
Validate appliance files with Pydantic
3 years ago
grossmj
04934691df
Appliance management refactoring:
...
* Install an appliance based on selected version
* Each template have unique name and version
* Allow to download an appliance file
3 years ago
Jeremy Grossmann
9ac6bd1e59
Merge pull request #1908 from GNS3/busybox-docker
...
Use a stock BusyBox for the Docker Integration
3 years ago
grossmj
d8bceaad5d
Merge branch '3.0' into image-management-refactoring
...
# Conflicts:
# gns3server/api/routes/controller/permissions.py
3 years ago
grossmj
c8ed96d91b
Add isolate and unisolate endpoints. Ref https://github.com/GNS3/gns3-gui/issues/3190
3 years ago
grossmj
43ca53a089
Fix tests
3 years ago
grossmj
a324459152
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/qemu/qemu_vm.py
# gns3server/handlers/api/compute/server_handler.py
# gns3server/utils/path.py
# gns3server/version.py
# requirements.txt
# tests/compute/qemu/test_qemu_vm.py
# tests/compute/test_manager.py
3 years ago
grossmj
611570a863
Fix qemu-img rebase code to support Qemu 6.1. Ref https://github.com/GNS3/gns3-server/pull/1962
3 years ago
grossmj
ed336da304
Qemu 6.1 support
...
Handle the deprecated use of backing file without explicit backing format issue.
3 years ago
grossmj
4eb8491cfa
Fix tests. Fixes #1950
3 years ago
grossmj
d606553e20
Allow images to be stored in subdirs and used by templates.
3 years ago
grossmj
75bb06563a
Fix tests
3 years ago
grossmj
332fa47b50
Option to prune images when deleting template.
3 years ago
grossmj
bf9a3aee20
Associate images when creating or updating a template.
3 years ago
grossmj
4d9e4e1059
Add prune images endpoint.
...
Use many-to-many relationship between images and templates.
3 years ago
grossmj
07d4892faf
Check if user has the right to add a permission
3 years ago
grossmj
4c6135fe88
Add /permissions/prune to delete orphaned permissions
3 years ago
grossmj
9df586d5d5
Check a permission matches an existing route before it is allowed to be created.
3 years ago
grossmj
cfaafedb09
Merge branch '3.0' into busybox-docker
3 years ago
Jeremy Grossmann
f13b4e89b7
Merge branch '3.0' into image-management-refactoring
3 years ago
grossmj
36b9f8bdfd
Fix tests
3 years ago
grossmj
6dd0f4d4d3
Allow logged in user to change some of its data. Administrators can lock users using the `is_active` field.
3 years ago
grossmj
6ec028ea4e
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/builtin/nodes/cloud.py
# gns3server/compute/vmware/vmware_vm.py
# gns3server/controller/link.py
# gns3server/controller/snapshot.py
# gns3server/handlers/api/compute/dynamips_vm_handler.py
# gns3server/handlers/api/compute/iou_handler.py
# gns3server/handlers/api/compute/qemu_handler.py
# gns3server/handlers/api/controller/link_handler.py
# gns3server/schemas/link.py
# gns3server/utils/path.py
# gns3server/version.py
# requirements.txt
3 years ago
grossmj
d556c08def
Revert "Skip test"
...
This reverts commit 8acb2fe3
3 years ago
grossmj
8acb2fe37e
Skip test
3 years ago
grossmj
095a022033
Fix tests. Ref https://github.com/GNS3/gns3-gui/issues/2461
3 years ago
grossmj
515bd50261
Start refactoring for images management
3 years ago
grossmj
dc914eb0f9
Fix tests.
3 years ago
grossmj
4e33d29af8
Change RBAC field names from builtin to is_builtin
3 years ago
grossmj
d65b49acaa
Add user permissions + RBAC tests.
3 years ago
grossmj
fbc47598d9
Basic functional RBAC support.
3 years ago
grossmj
6d4da98b8e
Base API and tables for RBAC support.
3 years ago
grossmj
2bf16f1e5f
Change method to prevent forbidden directory traversal. Ref #1894
3 years ago
grossmj
f3d81fa450
Clean files and catch file path escape. Ref #1894
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
8810249d36
Add user groups support.
3 years ago
grossmj
956b9056c1
Fix issues with latest version of sqlalchemy
3 years ago
grossmj
10164e262d
Enable SQL foreign key support for SQLite
3 years ago
grossmj
ad7d8e2e7d
Fix tests.
3 years ago
grossmj
a02aede1b0
Use uuid5 to create new compute_id. Fixes #1641 #1887
3 years ago
grossmj
0465cb87f6
Protect the API and add alternative authentication endpoint.
3 years ago
grossmj
e28452f09a
Secure users API and handle manual password recovery.
3 years ago
grossmj
c03226e368
Add default super admin account in controller db.
3 years ago
grossmj
cefab8d362
Rename __json__() to asdict()
3 years ago
grossmj
6b8ce8219c
Fix tests.
3 years ago
grossmj
9c850e0f2b
Move schemas between compute and controller subpackages
3 years ago
grossmj
c59fc375f2
Remove traceng code.
3 years ago
grossmj
71725aade6
Rename ssl and auth configuration file settings.
...
Add enable SSL config validator.
Strict configuration file validation: any error will prevent the server to start.
Core server logic moved to a Server class.
3 years ago
grossmj
1b5a5de4bc
Generate new config for each test. Fixes tests.
3 years ago
grossmj
30ebae207f
Use Pydantic to validate the server config file.
3 years ago
grossmj
478119b40d
Comment out problematic test
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
grossmj
87a26d5da0
Fix tests and comment problematic ones that rely on AsyncioMagicMock
3 years ago
grossmj
170e83e589
Fix tests and update requirements
4 years ago
grossmj
5217dbf3a3
Fix tests
4 years ago
grossmj
566e326b57
Save computes to database
4 years ago
grossmj
91920e5a5b
Fix issue with tests + some cleaning.
4 years ago
grossmj
0fea3f969e
Use aiosqlite and add service for templates
4 years ago
grossmj
d730c591b3
Refactor template management to use database.
4 years ago
grossmj
7542b28793
Revert "Fix tests"
...
This reverts commit 4d0cb32b
4 years ago