grossmj
6c322bbdde
Fix tests.
4 years ago
grossmj
02c0fa26e1
Support controller reloading for templates, appliances and projects. Ref #1743
4 years ago
grossmj
72c6f5b484
Return exit status 1 if server fails to start. Fixes #1744
4 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
f76b329cba
Fix ConnectionResetError issues and switch to aiohttp version 3.4.4. Fixes #1474 .
6 years ago
ziajka
78c693ff63
Disable CORS cache, Fixes : #1445
6 years ago
ziajka
bf1b801cc0
Remove static dir configuration
6 years ago
ziajka
fa5571ced1
FIX PUT CORS for nodes, Fixes : #1434
6 years ago
grossmj
86f87aec74
Fix installation with Python 3.7. Fixes #1414 .
...
Fix deprecated use of aiohttp.Timeout. Fixes #1296 .
Use "async with" with aiohttp.ClientSession().
Make sure websocket connections are properly closed, see https://docs.aiohttp.org/en/stable/web_advanced.html#graceful-shutdown
Finish to drop Python 3.4.
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
0aa9ab53d1
Import encodings.idna to avoid LookupError when standard library is in a zip file.
6 years ago
grossmj
6822ff65a2
Disable static directory. Ref https://github.com/GNS3/gns3-gui/issues/2558 .
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
00cf66fb0f
Report GNS3 VM errors to the GUI server summary. Ref #1359 .
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
ziajka
1cc1ccd511
Re-enable static directory
6 years ago
ziajka
ec8cfcd0f9
Disable static/ dir, Ref: #2532
6 years ago
ziajka
0e1f2e26d0
Serve WebUI handlers and update-bundled-web-ui script, Ref: #1362
6 years ago
ziajka
eeae07e783
Conservative approach to supported versions of Python 3.4 and asyncio.ensure_future, Ref. #1269
7 years ago
ziajka
d9a0ec9ff3
Replace asyncio.async with ensure_future because of deprecation, Fixes : #1269
7 years ago
ziajka
a393e7f723
Merge pull request #1205 from GNS3/aiohttp-2.3.1
...
aiohttp 2.3 support.
7 years ago
ziajka
b2c5e175d7
Enable debug loop only on debug mode
7 years ago
ziajka
a7412d1c87
aiohttp 2.3.1 dependency
7 years ago
ziajka
2171072ae4
Enable debug mode on async loop only in dev/debug mode
7 years ago
ziajka
6a87047c18
Added localhost and gns3.github.io CORS
7 years ago
grossmj
7269285b0f
Add more information when qemu-img fails.
7 years ago
Julien Duponchelle
7c6ffb3f49
Update error message when invalid aiohttp
7 years ago
grossmj
5747aba83c
Update error message to require aiohttp 2.2
7 years ago
Julien Duponchelle
357de50a1b
Upgrade to last aiohttp version
7 years ago
Julien Duponchelle
93adef91d8
Merge branch '2.0' into 2.1
7 years ago
Julien Duponchelle
6fa27c6885
Check aiohttp version
7 years ago
Julien Duponchelle
3dc478385b
When connecting to a compute node ask for qemu images list
...
The server start to compute qemu image list in background
because first time discovery could be slow due to the compute
time of md5sum.
Fix #996
7 years ago
Julien Duponchelle
8712866489
Fix Can't connect to compute local on some computers
...
Chicken and egg problem we try to connect to compute
before http was available. I rewrote the code to prevent
erase of settings and rollback the beta4 code for init.
Fix #946
8 years ago
Julien Duponchelle
1566d7f12a
Remove UDP server discovery because not use for the moment
8 years ago
Julien Duponchelle
7b642552dd
Fix GNS3VM settings are lost at startup
...
Fix #926
8 years ago
Julien Duponchelle
3bc78f61df
Fix TypeError: __init__() got multiple values for argument 'handler' with recent aiohttp
...
Fix #841
8 years ago
Julien Duponchelle
d16e3bb37b
Catch cancelled error when you Ctrl-C during server initalisation
...
Fix #820
8 years ago
Julien Duponchelle
9a632fb823
Update the way we start controller to avoid hiding crash reports
8 years ago
Julien Duponchelle
eabe4eb97e
Improve remote server console host support when binding to 0.0.0.0
...
Fix https://github.com/GNS3/gns3-gui/issues/1574
8 years ago
Julien Duponchelle
a17ae316c7
Fix asyncio reactor on Windows
...
Fix #672
8 years ago
Julien Duponchelle
9bbb32400d
Try to have a better server close cleanup
...
Fix #669
8 years ago
Julien Duponchelle
f1fe7246e7
Remove --controller
...
This add too much complexity and it can work
without it.
Fix https://github.com/GNS3/gns3-vm/issues/80 , #645
8 years ago
Julien Duponchelle
f216422d0f
Debug shell support command history
8 years ago
Julien Duponchelle
9fc23f07f1
Fix traceback when a server is already running
8 years ago
Julien Duponchelle
f93e443548
Prevent close server process to be started twice
...
Fix #652
8 years ago
Julien Duponchelle
21b99ad9f9
Support for sendings settings for the GNS3VM from the GUI
...
Ref https://github.com/GNS3/gns3-gui/issues/1441
8 years ago
Julien Duponchelle
2842904769
Clean exit when you Ctrl+C the server and client are still connected
8 years ago