Commit Graph

90 Commits

Author SHA1 Message Date
77d4eabadc Catch ConnectionResetError exception when client disconnects 2023-08-12 17:31:58 +10:00
2d74d1ad94 Fix tests for Python 3.11 2022-10-30 22:07:44 +08:00
d1c8f33fc5 Upgrade dev dependencies and fix issues after upgrading to pytest-aiohttp v1.0.4 2022-08-27 19:16:02 +02:00
5c3bd589b9 Fix issues with crash reporting & bump version to 2.2.9dev2. Ref https://github.com/GNS3/gns3-server/issues/1758 2020-05-21 18:19:19 +09:30
c63aad8eca Replace Raven by Sentry SDK. Fixes https://github.com/GNS3/gns3-server/issues/1758 2020-05-19 15:48:53 +09:30
91a1c5db49 Redirection to the bundled web-ui in the root handler 2020-05-06 16:31:18 +09:30
3484a7dd3d Unprotected access for websocket consoles.
Ref https://github.com/GNS3/gns3-gui/issues/2883#issuecomment-580677552
2020-01-31 18:30:26 +08:00
c313475f68 Support for WebSocket consoles 2020-01-31 17:31:27 +08:00
a98fc2d308 Python3.8 support. Ref https://github.com/GNS3/gns3-gui/issues/2895 2019-11-11 12:44:31 +08:00
9d47050dff Use 0.0.0.0 by default for server host. Fixes https://github.com/GNS3/gns3-server/issues/1663 2019-10-09 16:35:42 +08:00
1b845225b2 Improvement to validate HTTP authentication config. Ref #1662 2019-10-09 15:56:20 +08:00
f76b329cba Fix ConnectionResetError issues and switch to aiohttp version 3.4.4. Fixes #1474. 2018-12-03 19:14:22 +08:00
030714ae80 Fix server authentication. 2018-12-03 18:46:24 +08:00
499ab9844a Reorganize how appliance creation is validated against JSON schemas.
This allows for clearer error messages when validation fails.
2018-11-17 18:12:46 +07:00
71fcf855b4 Add tests for all appliance types. 2018-11-17 15:37:20 +07:00
627c7e9cfe Use schema to set appliance default values and better schema validation error messages. 2018-11-16 23:02:10 +07:00
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.
2018-10-27 14:47:17 +07:00
76af98404a Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425 2018-10-15 17:05:49 +07:00
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
2018-10-04 15:44:13 +02:00
4021a13651 Catch exceptions in various locations to fix small issues reported by Sentry. 2018-09-06 09:49:12 +02:00
90ce6093d8 Some spring cleaning. 2018-03-15 14:17:39 +07:00
4a2dfb0037 Do not prevent a project to be deleted. Fixes #2237. 2017-09-06 18:12:22 +07:00
a4245fcf44 Aiohttp 2.0
Ref #1000
2017-05-17 18:42:17 +02:00
ac05db5d1b Fix an utf8 error in auth code 2017-03-27 10:38:41 +02:00
27a1089806 Fix creation of qemu img
Fix https://github.com/GNS3/gns3-gui/issues/1826
2017-01-31 15:16:05 +01:00
f1fe7246e7 Remove --controller
This add too much complexity and it can work
without it.

Fix https://github.com/GNS3/gns3-vm/issues/80, #645
2016-09-07 10:04:28 +02:00
21b99ad9f9 Support for sendings settings for the GNS3VM from the GUI
Ref https://github.com/GNS3/gns3-gui/issues/1441
2016-08-25 09:32:06 +02:00
2842904769 Clean exit when you Ctrl+C the server and client are still connected 2016-08-18 15:04:43 +02:00
225e4f7528 Finish support of VMware based GNS3 VM. 2016-08-11 15:58:29 -06:00
0c3a2c660a Merge branch 'master' into 2.0 2016-07-28 15:05:21 +02:00
d6f63d3b7d Fix Exporting portable projects with QEMU includes base images even when selecting no.
Fix https://github.com/GNS3/gns3-gui/issues/1409
2016-07-28 15:00:04 +02:00
814fd1fcfb Fix /settings 2016-07-26 14:00:19 +02:00
e50eae19e6 Support parameters for import 2016-07-25 18:58:34 +02:00
ff4fc5eb8b Return proper JSON error when something goes wrong on any endpoint 2016-07-20 17:17:42 +02:00
ca4d09ea40 Merge branch 'master' into 2.0 2016-07-05 15:41:53 +02:00
5f88db93ff Add the method in the bad request answer 2016-07-04 15:00:46 +02:00
08e482004f Auto upload missing images 2016-06-07 19:38:01 +02:00
972cbd0594 Cleanly forward exception from compute to controller 2016-06-07 16:06:37 +02:00
d8bdd16e13 Raise an error if image is missing on compute 2016-06-07 15:34:04 +02:00
6d5085910c Frame Relay and ATM switches migrated to the new API. 2016-05-20 17:59:59 -06:00
5a76f81271 Refactoring to use a common node class for all VMs and other (future) objects. 2016-05-11 11:35:36 -06:00
6463007ef1 Remove debug 2016-04-19 15:17:02 +02:00
ce5461aee8 Raise error if we try to controll a non controller server
Fix #451
2016-04-19 10:47:53 +02:00
58d4a529d4 Rename hypervisor to compute
Fix #487
2016-04-15 17:59:59 +02:00
3185baff0d Start / Stop / Suspend marche 2016-04-14 12:22:10 +02:00
2841b5769e Lock for controller or compute 2016-04-14 12:15:45 +02:00
8c1560332e Remove /controller from the api endpoint 2016-03-11 17:16:09 +01:00
3296b97f59 Rename modules => hypervisor 2016-03-08 16:12:46 +01:00
b2ce7ee8d7 API V2 2016-03-07 17:57:12 +01:00
664cec97ba Create /hypervisor and /controller namespace 2016-03-07 15:01:35 +01:00