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
75bb06563a
Fix tests
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
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
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
3 years ago
grossmj
5217dbf3a3
Fix tests
3 years ago
grossmj
566e326b57
Save computes to database
3 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
grossmj
4d0cb32bd0
Fix tests
4 years ago
grossmj
58c1b01439
Add default JWT secret key and fix tests.
4 years ago