grossmj
888c773dc0
Finish to clean up local setting usage. Ref #1460
2022-03-31 12:05:47 +08:00
grossmj
900d4f79ee
"Local" command line parameter is only for stopping
...
a server that has been started by the desktop GUI
2022-03-30 18:38:34 +08:00
grossmj
74c675d5b0
Drop Windows support
2022-01-19 22:28:36 +10:30
grossmj
1b5a5de4bc
Generate new config for each test. Fixes tests.
2021-04-12 19:37:59 +09:30
grossmj
30ebae207f
Use Pydantic to validate the server config file.
2021-04-12 17:02:23 +09:30
grossmj
a92c47b310
Add HTTP client to reuse the aiohttp session where needed.
...
Remove unnecessary aiohttp exceptions.
2020-10-22 16:19:44 +10:30
grossmj
eb3cb8a41f
Migration to FastAPI
2020-10-02 16:07:50 +09:30
grossmj
d3ea67da24
Refactor tests
...
* Use pytest-aiohttp
* Use the async def / await syntax.
* Fix tests to run with Python 3.8
2020-06-16 13:59:03 +09:30
ziajka
cbb6eccad8
Merge branch '2.2' of github.com:GNS3/gns3-server into 2.2
2019-03-21 10:39:55 +01:00
ziajka
9edbd27b4f
Serve WebUI via get_resource for freezed app
2019-03-21 10:39:49 +01:00
grossmj
343f223a83
Fix tests after deactivating the embedded shell for Ethernet switch. Ref #1424 #1556
2019-03-20 17:04:02 +08:00
grossmj
17d070dca7
Early support for symbol themes.
2018-11-23 17:27:10 +07:00
grossmj
bc5eda8259
Restore previously removed test.
2018-11-20 14:36:18 +07:00
grossmj
c7b8c347d7
Remove problematic test when run on Travis.
2018-11-18 00:08:40 +07:00
grossmj
53f3821d41
Change test that randomly fails on Travis.
2018-11-17 23:23:28 +07:00
grossmj
ab8dc52ece
Fix tests to work with new version of aiohttp (>= 3.0)
2018-10-17 17:32:10 +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
902de3dd47
Refactor asyncio locking system for Python 3.7 support. Ref https://github.com/GNS3/gns3-gui/issues/2566 Ref https://github.com/GNS3/gns3-gui/issues/2568
2018-08-25 14:10:47 +07:00
grossmj
a3d1e865a8
Replace asyncio.async() by asyncio.ensure_future() in tests. Ref #2566 .
2018-08-24 18:52:15 +07:00
ziajka
dd845eb096
Fix tests on Windows
2018-06-28 09:16:51 +02:00
ziajka
867e997b74
Support /static/ files serving, Ref: #1362
2018-06-22 15:29:47 +02:00
ziajka
dc377165f2
Cancellable md5sum calculation on thread, Ref. gui#2239
2018-01-29 10:18:13 +01:00
ziajka
d9a0ec9ff3
Replace asyncio.async with ensure_future because of deprecation, Fixes : #1269
2018-01-24 11:11:53 +01:00
Julien Duponchelle
5616ab0e9a
Fake console for simple Ethernet switch
...
Fix #454
2017-05-31 15:13:29 +02:00
Julien Duponchelle
c72ae1bfe7
Fix IOU test run on Windows
2017-04-18 16:21:45 +02:00
Julien Duponchelle
b4434b5134
Add tests for checking if path are correctly cleaned
2017-04-18 15:50:11 +02:00
Julien Duponchelle
51ef5d8c90
Fix a broken test on windows machines
2017-04-18 14:04:50 +02:00
Julien Duponchelle
961c209ab1
Fix an issue when getting size from some SVG file
...
Fix https://github.com/GNS3/gns3-gui/issues/1866
2017-02-20 17:25:26 +01:00
Julien Duponchelle
49315adf79
Do not recurse scan for images in standard image directory
...
Fix https://github.com/GNS3/gns3-gui/issues/1680
2016-11-28 19:49:50 +01:00
Julien Duponchelle
434f6a70dd
Fix tests on Python 3.5 >=
2016-11-18 12:08:29 +01:00
Julien Duponchelle
79d376652c
Fix tests on Unix for interfaces
2016-09-28 14:34:13 +02:00
Julien Duponchelle
c38dd004b8
Extract netmask of interfaces on windows
2016-09-28 10:48:28 +02:00
Julien Duponchelle
fb2dac6ef1
All tests pass on windows
2016-09-28 10:27:30 +02:00
Julien Duponchelle
20772a310b
Change seperator for additonnal images directory otherwise bug on windows
2016-09-27 17:15:59 +02:00
Julien Duponchelle
3ea5df7462
Make better error when we have no netmask
...
Fix #1541
2016-09-27 11:47:18 +02:00
Julien Duponchelle
84a2f8b4a3
Return flag for special interface that you can use in the cloud
...
Fix https://github.com/GNS3/gns3-gui/issues/1509
2016-09-14 17:15:06 +02:00
Julien Duponchelle
72fe5d3489
Merge branch 'master' into 2.0
2016-08-29 14:08:23 +02:00
Julien Duponchelle
0eafb6f06c
Fix a lock issue with some virtualbox vm
...
Fix https://github.com/GNS3/gns3-gui/issues/1444
2016-08-29 10:51:50 +02:00
Julien Duponchelle
fa76b89731
Fix websocket error when closing the server
...
Fix #634
2016-08-19 11:20:56 +02:00
Julien Duponchelle
f0fad5289c
Correclty cleanup packet capture objects when closing server
...
Fix #592
2016-08-19 11:05:54 +02:00
Julien Duponchelle
7777407c4b
Filter md5sum files from the list of images
2016-08-18 19:26:17 +02:00
Julien Duponchelle
4d8cf8460e
Function for computing size of symbols
2016-08-17 10:49:31 +02:00
Julien Duponchelle
67c04a7855
Watch for dynamips rom & nvram change
...
This monitor for change the file from dynamips by computing a
hash of the watched file.
The way dynamips work prevent the update of the modification time.
We can improve that by using native system for watching file but:
* it's require dependencies specific for each OS
* dependencies use C extensions
* this is only a backup if your router is cleanly shutdown we export
stuff
2016-06-13 15:57:36 +02:00
Julien Duponchelle
69334665d2
Monitor IOU nvram for change
...
With the save as you go we need to save the startup config
when a change appear instead of the old commit system.
2016-06-10 18:26:01 +02:00
Julien Duponchelle
182a979e71
Generic class for watch file change
2016-06-10 17:51:19 +02:00
Julien Duponchelle
add546158f
List images return images on compute and controller
...
Fix #506
2016-06-08 14:14:03 +02:00
Julien Duponchelle
08e482004f
Auto upload missing images
2016-06-07 19:38:01 +02:00
Julien Duponchelle
9ccb55206d
Cleanup code for getting the default project directory
2016-05-11 18:42:55 +02:00
Julien Duponchelle
c2da568543
Protect controller and compute about path outside project directory
...
Fix #503
2016-05-11 15:59:32 +02:00