grossmj
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
grossmj
71fcf855b4
Add tests for all appliance types.
2018-11-17 15:37:20 +07:00
grossmj
627c7e9cfe
Use schema to set appliance default values and better schema validation error messages.
2018-11-16 23:02:10 +07:00
ziajka
78c693ff63
Disable CORS cache, Fixes : #1445
2018-11-06 13:31:14 +01:00
grossmj
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
ziajka
bf1b801cc0
Remove static dir configuration
2018-10-24 09:04:05 +02:00
ziajka
fa5571ced1
FIX PUT CORS for nodes, Fixes : #1434
2018-10-23 11:09:38 +02:00
grossmj
ab8dc52ece
Fix tests to work with new version of aiohttp (>= 3.0)
2018-10-17 17:32:10 +07:00
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.
2018-10-16 15:56:06 +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
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
grossmj
0aa9ab53d1
Import encodings.idna to avoid LookupError when standard library is in a zip file.
2018-09-07 09:34:17 +02:00
grossmj
4021a13651
Catch exceptions in various locations to fix small issues reported by Sentry.
2018-09-06 09:49:12 +02:00
grossmj
6822ff65a2
Disable static directory. Ref https://github.com/GNS3/gns3-gui/issues/2558 .
2018-08-30 17:34:26 +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
00cf66fb0f
Report GNS3 VM errors to the GUI server summary. Ref #1359 .
2018-08-28 15:42:06 +07:00
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
2018-08-24 18:57:18 +07:00
ziajka
1cc1ccd511
Re-enable static directory
2018-07-02 09:25:39 +02:00
ziajka
ec8cfcd0f9
Disable static/ dir, Ref: #2532
2018-06-29 14:31:19 +02:00
ziajka
0e1f2e26d0
Serve WebUI handlers and update-bundled-web-ui script, Ref: #1362
2018-06-26 12:09:08 +02:00
ziajka
867e997b74
Support /static/ files serving, Ref: #1362
2018-06-22 15:29:47 +02:00
grossmj
90ce6093d8
Some spring cleaning.
2018-03-15 14:17:39 +07:00
ziajka
eeae07e783
Conservative approach to supported versions of Python 3.4 and asyncio.ensure_future, Ref. #1269
2018-01-29 12:13:20 +01:00
ziajka
d9a0ec9ff3
Replace asyncio.async with ensure_future because of deprecation, Fixes : #1269
2018-01-24 11:11:53 +01:00
ziajka
a393e7f723
Merge pull request #1205 from GNS3/aiohttp-2.3.1
...
aiohttp 2.3 support.
2017-12-18 11:09:16 +01:00
ziajka
b48f5df53f
iExport files from remote server, Fixes: gui/#2271
2017-11-20 10:47:03 +01:00
ziajka
b2c5e175d7
Enable debug loop only on debug mode
2017-10-27 11:19:06 +02:00
ziajka
a7412d1c87
aiohttp 2.3.1 dependency
2017-10-26 16:29:01 +02:00
ziajka
2171072ae4
Enable debug mode on async loop only in dev/debug mode
2017-10-26 12:24:01 +02:00
ziajka
6a87047c18
Added localhost and gns3.github.io CORS
2017-10-20 13:21:43 +02:00
grossmj
7269285b0f
Add more information when qemu-img fails.
2017-10-02 00:47:16 +08:00
grossmj
4a2dfb0037
Do not prevent a project to be deleted. Fixes #2237 .
2017-09-06 18:12:22 +07:00
Julien Duponchelle
7c6ffb3f49
Update error message when invalid aiohttp
2017-07-12 10:57:03 +02:00
grossmj
5747aba83c
Update error message to require aiohttp 2.2
2017-07-12 13:34:18 +07:00
Julien Duponchelle
357de50a1b
Upgrade to last aiohttp version
2017-07-11 15:59:09 +02:00
Julien Duponchelle
823288dd0b
Fix a crash in some cases
2017-06-01 18:35:03 +02:00
Julien Duponchelle
93adef91d8
Merge branch '2.0' into 2.1
2017-05-31 16:58:31 +02:00
Julien Duponchelle
6fa27c6885
Check aiohttp version
2017-05-31 16:56:46 +02:00
Julien Duponchelle
4f6cca0019
Fix errors when enabling chunking
2017-05-31 11:17:28 +02:00
Julien Duponchelle
7044c8c9ff
Fix the GUI disconnect from the server
...
Fix https://github.com/GNS3/gns3-gui/issues/2084
2017-05-31 11:03:44 +02:00
Julien Duponchelle
189ad994c8
Symbols are returned with a content length
2017-05-18 16:37:44 +02:00
Julien Duponchelle
a4245fcf44
Aiohttp 2.0
...
Ref #1000
2017-05-17 18:42:17 +02:00
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
2017-05-15 15:35:48 +02:00
Julien Duponchelle
961dbb5162
Filter /settings from log
...
Fix #1026
2017-05-12 10:48:43 +02:00
Julien Duponchelle
ac05db5d1b
Fix an utf8 error in auth code
2017-03-27 10:38:41 +02:00
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
2017-03-21 18:06:45 +01:00
Julien Duponchelle
1566d7f12a
Remove UDP server discovery because not use for the moment
2017-03-21 17:04:59 +01:00
Julien Duponchelle
7b642552dd
Fix GNS3VM settings are lost at startup
...
Fix #926
2017-03-07 15:36:35 +01:00
Julien Duponchelle
726480f676
Disable Keep Alive because it's bug with old Qt versions
2017-02-23 09:32:26 +01:00
Julien Duponchelle
27a1089806
Fix creation of qemu img
...
Fix https://github.com/GNS3/gns3-gui/issues/1826
2017-01-31 15:16:05 +01:00