Guobin Yue
8411392233
Add snapshot description support ( #3094 )
...
Pass the description when creating a snapshot instead of silently
dropping it, and add a PUT endpoint to edit the description later.
An empty description resets to the default text. Also accept an
optional description in the MCP snapshot_create tool.
2026-11-16 14:24:20 +01:00
Mark Paronyan
b7e6c02647
refactor: ruff autofixes
2026-10-17 11:43:36 +03:00
Mark Paronyan
7a9c600f54
refactor: use f-strings in controller modules
2026-10-03 19:44:01 +03:00
Mark Paronyan
55df230864
style: sort imports in controller
2026-10-02 12:43:26 +03:00
Mark Paronyan
a0450b6bce
refactor: ruff autofixes
2026-09-27 15:55:10 +03:00
grossmj
97bf94e06e
Merge branch '2.2' into 3.0
...
# Conflicts:
# CHANGELOG
# gns3server/compute/iou/iou_vm.py
# gns3server/crash_report.py
# gns3server/utils/asyncio/telnet_server.py
# gns3server/version.py
# requirements.txt
# setup.py
2026-05-09 18:23:00 +08:00
grossmj
b304511b5e
Fix snapshot restore does not work after export/import of project
2026-05-08 18:47:47 +08:00
grossmj
0d3fad8c8f
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/controller/__init__.py
# gns3server/controller/export_project.py
# gns3server/controller/project.py
# gns3server/controller/snapshot.py
# gns3server/crash_report.py
# gns3server/schemas/snapshot.py
# gns3server/static/web-ui/26.34a83d9cee7db39cd0de.js
# gns3server/static/web-ui/index.html
# gns3server/static/web-ui/main.d74d38241f0602d1b3e0.js
# gns3server/version.py
# gns3server/web/route.py
# tests/handlers/api/controller/test_project.py
# tests/handlers/api/controller/test_snapshot.py
2026-04-11 19:22:05 +08:00
grossmj
2670c68467
Last adjustments for import/export
2026-04-10 18:58:21 +08:00
grossmj
274cef6cf5
Add description for snapshots
2026-04-09 20:25:44 +08:00
grossmj
fbea9b655d
Fix issue when restoring a snapshot of a duplicated project
2026-04-08 22:16:47 +08:00
grossmj
6869f2d71d
Snapshot refactoring
2026-04-08 20:02:01 +08:00
grossmj
6ed18c561f
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/qemu/qemu_vm.py
# gns3server/config_samples/gns3_server.conf
# gns3server/controller/export_project.py
# gns3server/controller/project.py
# gns3server/controller/snapshot.py
# gns3server/handlers/api/controller/project_handler.py
# tests/controller/test_export_project.py
# tests/controller/test_import_project.py
# tests/controller/test_snapshot.py
2024-07-07 19:04:50 +02:00
grossmj
d54c9db8c3
Option to keep the compute IDs unchanged when exporting a project
2024-07-06 17:08:16 +02:00
grossmj
08154e43aa
Fix error when snapshot exists with an underscore in the name
2024-07-05 12:04:53 +02:00
grossmj
d3860ba84b
Merge branch '2.2' into 3.0
...
# Conflicts:
# CHANGELOG
# dev-requirements.txt
# gns3server/compute/qemu/__init__.py
# gns3server/compute/vmware/__init__.py
# gns3server/controller/snapshot.py
# gns3server/crash_report.py
# gns3server/handlers/api/compute/atm_switch_handler.py
# gns3server/run.py
# gns3server/static/web-ui/26.77d4bfd104f37c42e028.js
# gns3server/static/web-ui/index.html
# gns3server/static/web-ui/runtime.415291667f70565cd8ef.js
# gns3server/utils/__init__.py
# gns3server/utils/images.py
# gns3server/utils/interfaces.py
# gns3server/version.py
# gns3server/web/web_server.py
# pytest.ini
# requirements.txt
# scripts/update-bundled-web-ui.sh
# setup.py
# tests/api/routes/compute/test_dynamips_nodes.py
# tests/compute/builtin/nodes/test_cloud.py
# tests/compute/docker/test_docker.py
# tests/compute/docker/test_docker_vm.py
# tests/compute/dynamips/test_dynamips_manager.py
# tests/compute/dynamips/test_dynamips_router.py
# tests/compute/iou/test_iou_vm.py
# tests/compute/qemu/test_qcow2.py
# tests/compute/qemu/test_qemu_manager.py
# tests/compute/qemu/test_qemu_vm.py
# tests/compute/test_base_node.py
# tests/compute/test_manager.py
# tests/compute/test_project.py
# tests/compute/traceng/test_traceng_vm.py
# tests/compute/virtualbox/test_virtualbox_manager.py
# tests/compute/virtualbox/test_virtualbox_vm.py
# tests/compute/vmware/test_vmware_manager.py
# tests/compute/vmware/test_vmware_vm.py
# tests/compute/vpcs/test_vpcs_vm.py
# tests/conftest.py
# tests/controller/gns3vm/test_remote_gns3_vm.py
# tests/controller/gns3vm/test_virtualbox_gns3_vm.py
# tests/controller/gns3vm/test_vmware_gns3_vm.py
# tests/controller/test_export_project.py
# tests/controller/test_gns3vm.py
# tests/controller/test_import_project.py
# tests/test_config.py
# tests/utils/test_asyncio.py
# tests/utils/test_images.py
# tests/web/test_response.py
2024-05-16 17:53:39 +07:00
grossmj
259d3a0155
Fix cannot import UTC
2024-05-09 17:23:32 +07:00
grossmj
33499be425
Fix warnings in tests
2024-05-09 17:11:12 +07:00
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
2021-06-12 14:36:32 +09:30
Brian Candler
c051367d4b
Preserve auto_start/auto_open/auto_close when restoring snapshot
...
Fixes #1904
2021-05-24 17:31:04 +01:00
grossmj
cefab8d362
Rename __json__() to asdict()
2021-04-17 23:34:28 +09:30
grossmj
44074ff7c9
Some cleaning.
2021-04-17 18:36:32 +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
eb3cb8a41f
Migration to FastAPI
2020-10-02 16:07:50 +09:30
grossmj
37c7202aa0
Use parent directory as working directory for project duplication and snapshots. Fixes https://github.com/GNS3/gns3-gui/issues/2909
2020-07-17 15:11:14 +09:30
grossmj
0390fef74d
Use parent directory as working directory for project duplication and snapshots. Fixes https://github.com/GNS3/gns3-gui/issues/2909
2020-07-17 15:09:43 +09:30
grossmj
0ae66a2608
Support selecting a compression type when exporting a project.
2019-03-07 17:05:32 +07:00
grossmj
af80b0bb6e
Use aiofiles where relevant.
2019-03-06 23:00:01 +07:00
grossmj
8cc8269842
Use aiozipstream for snapshots.
...
Fix tests.
2019-02-28 17:25:05 +07:00
grossmj
7fe8f7e716
Fix long-polling request for project notifications.
2019-02-23 21:08:52 +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
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
2018-08-29 15:57:54 +07:00
grossmj
38b72079b2
Change file timestamps if necessary because ZIP does not support timestamps before 1980. Fixes #1360 .
2018-08-25 18:10:40 +07:00
grossmj
7f72b90b0e
The server has now 2 notification streams
...
* A new one for controller related events (compute, appliance templates etc.)
* The existing one for project related events (links, nodes etc.)
2018-08-16 21:31:57 +07:00
grossmj
3b94484914
Fix bug with export project. Ref #1187 #1307 .
2018-04-28 16:38:52 +07:00
grossmj
50a922f83e
Offload slow file operations to threads for snapshots and project "save as". Ref #1187 #1307 .
2018-04-28 16:01:43 +07:00
Julien Duponchelle
a576c57873
Catch permission error when restoring a snapshot
...
Fix #899
2017-02-13 15:30:02 +01:00
Julien Duponchelle
a36fc37250
When we restore snapshot on a fail project do not crash
...
Fix #800
2016-11-28 13:49:09 +01:00
Julien Duponchelle
39db35c3ff
Send notification when snasphot is restored
...
Ref https://github.com/GNS3/gns3-gui/issues/1417
2016-08-19 17:07:56 +02:00
Julien Duponchelle
431bd789cb
Do not send project closed event when it's a snapshot restore
...
Ref #602
2016-08-15 13:30:02 +02:00
Julien Duponchelle
68eca6c111
Replace snapshots by import / export
...
Fix #1042
2016-07-26 19:52:58 +02:00