Commit Graph

54 Commits

Author SHA1 Message Date
6822ff65a2 Disable static directory. Ref https://github.com/GNS3/gns3-gui/issues/2558. 2018-08-30 17:34:26 +07:00
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
00cf66fb0f Report GNS3 VM errors to the GUI server summary. Ref #1359. 2018-08-28 15:42:06 +07:00
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 2018-08-24 18:57:18 +07:00
1cc1ccd511 Re-enable static directory 2018-07-02 09:25:39 +02:00
ec8cfcd0f9 Disable static/ dir, Ref: #2532 2018-06-29 14:31:19 +02:00
0e1f2e26d0 Serve WebUI handlers and update-bundled-web-ui script, Ref: #1362 2018-06-26 12:09:08 +02:00
eeae07e783 Conservative approach to supported versions of Python 3.4 and asyncio.ensure_future, Ref. #1269 2018-01-29 12:13:20 +01:00
d9a0ec9ff3 Replace asyncio.async with ensure_future because of deprecation, Fixes: #1269 2018-01-24 11:11:53 +01:00
a393e7f723 Merge pull request #1205 from GNS3/aiohttp-2.3.1
aiohttp 2.3 support.
2017-12-18 11:09:16 +01:00
b2c5e175d7 Enable debug loop only on debug mode 2017-10-27 11:19:06 +02:00
a7412d1c87 aiohttp 2.3.1 dependency 2017-10-26 16:29:01 +02:00
2171072ae4 Enable debug mode on async loop only in dev/debug mode 2017-10-26 12:24:01 +02:00
6a87047c18 Added localhost and gns3.github.io CORS 2017-10-20 13:21:43 +02:00
7269285b0f Add more information when qemu-img fails. 2017-10-02 00:47:16 +08:00
7c6ffb3f49 Update error message when invalid aiohttp 2017-07-12 10:57:03 +02:00
5747aba83c Update error message to require aiohttp 2.2 2017-07-12 13:34:18 +07:00
357de50a1b Upgrade to last aiohttp version 2017-07-11 15:59:09 +02:00
93adef91d8 Merge branch '2.0' into 2.1 2017-05-31 16:58:31 +02:00
6fa27c6885 Check aiohttp version 2017-05-31 16:56:46 +02:00
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
2017-05-15 15:35:48 +02:00
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
2017-03-21 18:06:45 +01:00
1566d7f12a Remove UDP server discovery because not use for the moment 2017-03-21 17:04:59 +01:00
7b642552dd Fix GNS3VM settings are lost at startup
Fix #926
2017-03-07 15:36:35 +01:00
3bc78f61df Fix TypeError: __init__() got multiple values for argument 'handler' with recent aiohttp
Fix #841
2016-12-19 11:12:15 +01:00
d16e3bb37b Catch cancelled error when you Ctrl-C during server initalisation
Fix #820
2016-12-12 10:17:45 +01:00
9a632fb823 Update the way we start controller to avoid hiding crash reports 2016-12-05 10:29:20 +01:00
eabe4eb97e Improve remote server console host support when binding to 0.0.0.0
Fix https://github.com/GNS3/gns3-gui/issues/1574
2016-10-26 14:43:47 +02:00
a17ae316c7 Fix asyncio reactor on Windows
Fix #672
2016-09-08 17:21:38 +02:00
9bbb32400d Try to have a better server close cleanup
Fix #669
2016-09-08 11:23:13 +02: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
f216422d0f Debug shell support command history 2016-09-01 13:45:56 +02:00
9fc23f07f1 Fix traceback when a server is already running 2016-08-31 09:57:37 +02:00
f93e443548 Prevent close server process to be started twice
Fix #652
2016-08-26 14:14:19 +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
9e81994adc Reset project auto start, auto close, auto open at project import 2016-08-16 16:09:59 +02:00
ac085126fc Support for auto open projects
Fix #1418
2016-08-16 16:04:20 +02:00
a289c9c685 Change option from udp_discovery to server_discovery. 2016-06-16 11:27:10 -06:00
da58a65075 Merge remote-tracking branch 'origin/2.0' into 2.0
Conflicts:
	gns3server/web/web_server.py
2016-06-16 11:19:03 -06:00
32907ccac3 Use a classic thread for UDP server discovery. Closes #545. 2016-06-16 11:17:12 -06:00
45d7e09cbd Add a settings in command line and config file to enable discovery 2016-06-16 09:53:32 +02:00
56051b1142 UDP server discovery. Ref #545. 2016-06-15 17:37:43 -06:00
31f4b52631 Add zeroconf. Ref #545. 2016-06-13 15:07:20 -06:00
4afa5994e8 Fix stacktrace when exiting with Ctrl + C
Fix #547
2016-06-02 13:44:52 +02:00
6c1d7bad81 Catch extra args in windows signal handler 2016-05-30 15:29:17 +02:00
29127895b9 Fix the watch local server configuration file
Ref #539
2016-05-30 15:18:49 +02:00
0063fb4615 Add 127.0.0.1:8080 in allowed CORS 2016-05-25 11:36:39 +02:00
c4ebdc0e37 Allow cors from Github pages demo site 2016-05-17 17:51:22 +02:00
342bcdb5b6 CORS support
Fix #530
2016-05-17 12:39:23 +02:00