1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-01 04:38:12 +00:00
Commit Graph

303 Commits

Author SHA1 Message Date
grossmj
076e85ddb3 Update sentry-sdk dependency 2022-12-28 15:13:26 +08:00
grossmj
1bbecf1ceb Update dependencies 2022-12-22 09:42:14 +08:00
grossmj
5209009df9 Upgrade dependencies 2022-12-18 14:14:56 +08:00
grossmj
7643185fa2 Add missing importlib_resources 2022-11-09 23:14:38 +08:00
grossmj
263febecbc Merge branch '2.2' into 3.0
# Conflicts:
#	.github/workflows/testing.yml
#	CHANGELOG
#	appveyor.yml
#	dev-requirements.txt
#	gns3server/compute/base_node.py
#	gns3server/controller/__init__.py
#	gns3server/controller/appliance_manager.py
#	gns3server/crash_report.py
#	gns3server/static/web-ui/index.html
#	gns3server/utils/get_resource.py
#	gns3server/version.py
#	gns3server/web/route.py
#	requirements.txt
#	tests/handlers/api/compute/test_qemu.py
#	win-requirements.txt
2022-11-09 20:30:28 +08:00
grossmj
18ba60d1a3 Downgrade psutil to v5.9.2 2022-11-08 19:18:07 +08:00
grossmj
521132726e Upgrade psutil to v5.9.4 2022-11-08 18:49:31 +08:00
grossmj
18b0863ba8 Merge remote-tracking branch 'origin/2.2' into 2.2
# Conflicts:
#	requirements.txt
2022-11-07 21:50:59 +08:00
grossmj
ece47dc279 Upgrade dependencies 2022-11-07 21:48:45 +08:00
grossmj
a4b24eaceb Use importlib_resources instead of pkg_resources and install built-in appliances in config dir. 2022-11-07 20:12:03 +08:00
grossmj
8cfedce468 Use jsonschema v3.2.0 for Python 3.6 2022-10-12 22:13:34 +08:00
grossmj
77dd772314 Allow for more dependency versions at patch level 2022-10-12 22:07:37 +08:00
grossmj
9ff302592c Upgrade to aiohttp 3.8.3 2022-10-12 21:40:23 +08:00
grossmj
0303e21059 Update requirements.txt 2022-10-11 23:01:24 +08:00
grossmj
e20d1adb0e Downgrade aiohttp to v3.8.1 2022-10-10 16:30:28 +08:00
grossmj
e5bee8ff52 Downgrade Jinja2 to support Python 3.6 2022-10-10 15:52:36 +08:00
grossmj
58471ea7f4 Downgrade aiofiles to support Python 3.6 2022-10-10 15:50:35 +08:00
grossmj
9fb0ba5a71 Upgrade dependencies 2022-10-10 14:29:04 +08:00
grossmj
19de2732f2 Upgrade to FastAPI 0.85.0 and check embedded web-ui index.html can be found. 2022-09-29 15:11:15 +02:00
grossmj
9a7222b83e Upgrade FastAPI to v0.84.0 2022-09-14 21:09:29 +02:00
grossmj
bcac7874c1 Upgrade FastAPI to v0.82.0 2022-09-04 22:09:48 +02:00
grossmj
e0209a0491 Downgrade Jinja2 to v3.0.3 2022-08-28 22:32:42 +02:00
grossmj
829eb42c7f Revert "Downgrade Jinja2 to v3.0.3"
This reverts commit ad3d73a7f1.
2022-08-28 22:31:28 +02:00
grossmj
ad3d73a7f1 Downgrade Jinja2 to v3.0.3 2022-08-28 22:30:47 +02:00
grossmj
ab6c6535c6 Upgrade Sentry dependency 2022-08-28 00:02:54 +02:00
grossmj
94c617ef1c Upgrade dependencies 2022-08-26 21:41:49 +02:00
grossmj
2e91eac1eb Upgrade dependencies 2022-08-23 22:12:01 +02:00
grossmj
3948637a46 Fix typo in requirements.txt 2022-08-06 12:21:27 +02:00
grossmj
5b478fc331 Upgrade dependencies 2022-07-15 11:32:18 +02:00
grossmj
2b4d623f13 Upgrade sentry-sdk and psutil 2022-06-20 20:05:34 +02:00
grossmj
940d22f2aa Add missing zstandard dependency 2022-05-31 18:12:32 +07:00
grossmj
2d4e9fdd64 Upgrade dependencies 2022-05-26 19:21:37 +07:00
grossmj
f21d5062fc Upgrade some packages 2022-04-20 17:38:54 +07:00
Jeremy Grossmann
b94f01fe4e
Merge branch '3.0' into image-md5sum-management 2022-04-18 17:15:21 +07:00
grossmj
34233e48d9 Upgrade FastAPI to version 0.75.2 2022-04-18 13:25:29 +07:00
grossmj
010d7aa49f Upgrade SQLAlchemy version and dispose of db engine 2022-04-17 17:32:44 +07:00
grossmj
e6c8144210 Detect new images added to the default image directory.
* Images can be present before the server starts or while it is running
* Images are recorded in the database
2022-04-17 16:58:20 +07:00
grossmj
db739775d0 Drop Python 3.6 support and require Python >= 3.7 2022-03-14 15:13:26 +10:30
grossmj
e897ab6163 Uvicorn version 0.17.6 does not support Python 3.6 2022-03-13 15:46:38 +10:30
grossmj
f8a83e7ff9 Merge branch '2.2' into 3.0
# Conflicts:
#	dev-requirements.txt
#	gns3server/compute/qemu/qemu_vm.py
#	gns3server/version.py
#	requirements.txt
2022-03-13 14:50:02 +10:30
grossmj
1a535371b6 Upgrade dependencies 2022-03-12 16:23:17 +10:30
grossmj
59e4e694e5 Install setuptools v59.6.0 when using Python 3.6 2022-02-25 15:50:45 +10:30
grossmj
4891dc9eee Set setuptools to v60.6.0 2022-02-06 21:02:43 +10:30
grossmj
f7cc4e9574 Upgrade dependencies 2022-02-06 17:35:52 +10:30
grossmj
63b2b205ab Upgrade FastAPI to version 0.72.0 2022-01-17 18:53:27 +10:30
grossmj
841d3028d6 Upgrade dependencies 2022-01-16 21:31:12 +10:30
grossmj
928966ea5f Upgrade dependencies 2021-11-24 17:48:58 +10:30
grossmj
45738f262b Downgrade to fastapi 0.68.2 because of BrokenResourceError exception
Ref https://github.com/tiangolo/fastapi/issues/4041
2021-10-22 16:16:34 +10:30
grossmj
dddfe7c531 Upgrade dependencies 2021-10-20 16:03:28 +10:30
grossmj
b59b6816c3 Upgrade dependencies and test using Python 3.10 2021-10-07 14:59:53 +10:30
grossmj
faddc5a6b1 Upgrade dependencies 2021-09-23 10:39:27 +09:30
grossmj
898af32cd1 Package websockets 10.0 requires Python >= 3.7 2021-09-15 17:11:24 +09:30
grossmj
0b4dbf27e0 Upgrade dependencies 2021-09-15 17:04:39 +09:30
grossmj
a324459152 Merge branch '2.2' into 3.0
# Conflicts:
#	gns3server/compute/qemu/qemu_vm.py
#	gns3server/handlers/api/compute/server_handler.py
#	gns3server/utils/path.py
#	gns3server/version.py
#	requirements.txt
#	tests/compute/qemu/test_qemu_vm.py
#	tests/compute/test_manager.py
2021-09-09 16:36:17 +09:30
Jeremy Grossmann
f71e7aac9f
Merge branch 'master' into setuptools 2021-08-29 22:01:30 -07:00
grossmj
93711fe060 Update dependencies 2021-08-24 21:12:27 +09:30
grossmj
183033dad8 Upgrade unicorn dependency to version 0.15.0 2021-08-15 14:54:35 +09:30
grossmj
a970d4c4d8 Upgrade dependencies 2021-08-10 23:08:14 +09:30
grossmj
91a6384a59 Upgrade dependencies. Fixes #1917 2021-06-12 15:30:26 +09:30
grossmj
8825831106 Upgrade dependencies 2021-06-07 13:46:06 +09:30
Fabian Affolter
7ff72879dd
Set py-cpuinfo to 8.0.0 2021-06-04 13:36:21 +02:00
grossmj
f64b5cd9b6 Allow controller to be reloaded using the API. Fixes #1743 2021-06-04 17:01:07 +09:30
grossmj
91b0534182 Upgrade dependencies 2021-06-01 12:56:51 +09:30
grossmj
4727708c85 Upgrade dependencies 2021-05-08 14:32:26 +09:30
grossmj
a1f3f6472a Upgrade dependencies 2021-05-06 16:56:07 +09:30
grossmj
ad7d8e2e7d Fix tests. 2021-04-28 15:56:11 +09:30
grossmj
7b3351bba6 Upgrade dependencies. 2021-04-28 14:43:52 +09:30
grossmj
802959f9ab Merge branch 'master' into 3.0
# Conflicts:
#	dev-requirements.txt
#	gns3server/controller/__init__.py
#	gns3server/controller/appliance_manager.py
#	gns3server/controller/compute.py
#	gns3server/controller/topology.py
#	gns3server/handlers/api/compute/ethernet_switch_handler.py
#	gns3server/handlers/api/controller/link_handler.py
#	gns3server/handlers/api/controller/symbol_handler.py
#	gns3server/version.py
#	requirements.txt
#	tests/controller/test_export_project.py
#	tests/handlers/api/compute/test_qemu.py
#	tests/web/test_response.py
#	win-requirements.txt
2021-04-10 12:46:40 +09:30
grossmj
e614ed79f4 Upgrade dependencies 2021-04-06 13:57:00 +09:30
grossmj
170e83e589 Fix tests and update requirements 2021-04-05 17:43:35 +09:30
grossmj
c1784b7684 Workaround to run tests with Python 3.6 2021-04-01 08:49:32 +10:30
Tomas Hrnciar
bb47cc87e7 Explicitly require setuptools, utils/get_resource.py imports pkg_resources 2021-03-31 11:58:49 +02:00
grossmj
b8e81ad9bc Upgrade dependencies 2021-03-31 16:01:11 +10:30
grossmj
fd844c309e Revert "Install contextvars for python_version < "3.7""
This reverts commit f9127e19
2021-03-28 21:33:16 +10:30
grossmj
f9127e199e Install contextvars for python_version < "3.7" 2021-03-28 21:25:13 +10:30
grossmj
0fea3f969e Use aiosqlite and add service for templates 2021-03-28 21:17:29 +10:30
grossmj
d730c591b3 Refactor template management to use database. 2021-03-28 11:15:08 +10:30
grossmj
b417bc4dec Revert "Upgrade to sqlalchemy version 1.4.2"
This reverts commit 9defc3c4

Ref https://github.com/talkpython/web-applications-with-fastapi-course/issues/4
2021-03-24 14:55:00 +10:30
grossmj
9defc3c4e8 Upgrade to sqlalchemy version 1.4.2 2021-03-24 14:42:30 +10:30
grossmj
62b1fa8dc4 Upgrae to uvicorn 0.13.3. Fixes #1840 2021-02-18 18:32:53 +10:30
grossmj
aca7344212 Upgrade Jinja to version 2.11.3. Fixes #1865 2021-02-17 17:23:04 +10:30
grossmj
62d9ecf2aa Do not build on Windows and add missing packages for Python 3.6 2020-12-07 17:03:34 +10:30
grossmj
d47dcb0d6f User authentication with tests. 2020-12-07 16:52:36 +10:30
grossmj
bf7cf862af Refactor tests and start work on database integration. 2020-12-02 18:39:08 +10:30
grossmj
acc5c7ebfa Update package versions.
Do not use Path in schemas (causes issues with empty paths).
Change how notifications are handled.
Run tests with Python 3.9
2020-11-11 17:18:41 +10:30
grossmj
bf19da1dc2 Upgrade packages to latest versions 2020-11-08 21:35:54 +10:30
grossmj
eeaf10b418 Put all schemas in the same module. 2020-10-31 16:02:21 +10:30
grossmj
eb3cb8a41f Migration to FastAPI 2020-10-02 16:07:50 +09:30
Jeremy Grossmann
d022259561
Downgrade psutil to version 5.6.7 2020-07-28 21:03:41 +09:30
Jeremy Grossmann
380e7a8a7f
Downgrade psutil to version 5.6.7 2020-07-28 21:03:24 +09:30
grossmj
89b5629cf5 Upgrade to psutil version 5.7.2 2020-07-21 15:49:57 +09:30
grossmj
47bb2edbfa Upgrade to psutil version 5.7.2 2020-07-21 15:49:06 +09:30
grossmj
99128e7713 Fix Key Error "vendor_id" is missing when configuring GNS3 VM with VirtualBox. Fixes https://github.com/GNS3/gns3-gui/issues/3018 2020-07-10 17:44:38 +09:30
grossmj
7924963276 Remove tox and update dependencies 2020-06-26 19:08:21 +09:30
snyk-bot
9665378f44 fix: requirements.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-PSUTIL-483082
2020-06-24 13:06:58 +00:00
grossmj
1f149769f2 Only use jsonschema 2.6.0 on Windows and macOS.
https://github.com/GNS3/gns3-server/issues/1751
https://github.com/GNS3/gns3-gui/issues/2849
2020-06-07 12:55:22 +09:30
grossmj
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
grossmj
00f8a27404 Merge branch 'master' into 2.2
# Conflicts:
#	requirements.txt
2020-05-19 16:16:19 +09:30
grossmj
5b59a09e8d Deprecate running with Python 3.5 2020-05-19 16:14:58 +09:30
grossmj
16ca0fd915 aiocontextvars is only necessary for Python < 3.7 2020-05-19 16:04:14 +09:30
grossmj
c63aad8eca Replace Raven by Sentry SDK. Fixes https://github.com/GNS3/gns3-server/issues/1758 2020-05-19 15:48:53 +09:30
grossmj
c0adc88592 Use Environmental Markers to force jsonschema version. Fixes https://github.com/GNS3/gns3-gui/issues/2849
Version 3.2.0 with Python >= 3.8
Version 2.6.0 with Python < 3.8
2020-04-27 12:54:17 +09:30
grossmj
770841b3ee Use Environmental Markers to force jsonschema version 2.6.0 on Windows/macOS. Ref https://github.com/GNS3/gns3-gui/issues/2849 2020-04-27 12:43:07 +09:30
grossmj
392678e757 Upgrade psutil to version 5.6.6 due to CVE-2019-18874
https://github.com/advisories/GHSA-qfc5-mcwq-26q8
2020-03-14 15:47:12 +10:30
grossmj
e90262eb95 Require VirtualBox >= 6.0 on AMD and >= 6.1 on Intel processors (for GNS3 VM only). Fixes #1610 2020-01-26 18:23:17 +08:00
grossmj
2fd4b2cbc8 Make sure still support Python >= 3.5.3 2019-11-11 12:39:45 +08:00
grossmj
3aba2a319c Set psutil to version 5.6.3 in requirements.txt 2019-11-08 10:44:17 +08:00
grossmj
8dd2831890 Upgrade aiohttp to version 3.6.2 2019-11-01 17:18:30 +08:00
grossmj
2feec666a2 Revert to jsonschema 2.6.0 due to packaging problem. 2019-08-11 19:11:40 -07:00
grossmj
fc182e932a Fix typo with jsonschema version 3.2.0 -> 3.0.2 2019-08-10 11:55:47 -05:00
grossmj
703dca54ab Bump jsonschema to version 3.0.2 2019-08-10 11:31:08 -05:00
grossmj
1f1d93d078 Deactivate the embedded shell for Ethernet switch. Ref #1424 #1556 2019-03-20 16:23:30 +08:00
grossmj
b0df7ecabf Merge branch '2.2' into import-export-refactoring 2019-03-05 17:29:01 +07:00
grossmj
5b6011a248 Stay with jsonschema 2.6.0 2019-03-01 17:26:23 +07:00
grossmj
80eb06f67c Merge 2.1 into 2.2 2019-03-01 17:23:49 +07:00
grossmj
a8990c9e89 Non blocking project exportation. 2019-02-26 15:55:07 +07:00
Jeremy Grossmann
e1aa13fa73
Force jsonschema dependency to 2.6.0
This is to fix this issue when starting the (frozen) application on Windows:

```
  File "C:\Python36-x64\lib\site-packages\jsonschema\validators.py", line 505, in <module>
  File "C:\Python36-x64\lib\site-packages\jsonschema\_utils.py", line 57, in load_schema
  File "C:\Python36-x64\lib\pkgutil.py", line 634, in get_data
OSError: [Errno 34] Result too large: 'jsonschema\\schemas\\draft6.json'
```
2019-02-26 15:28:11 +07:00
pyup-bot
7c288fc61b Update aiohttp from 3.5.3 to 3.5.4 2019-01-12 11:34:10 +01:00
pyup-bot
289eee968e Update aiohttp from 3.5.2 to 3.5.3 2019-01-11 08:59:41 +01:00
pyup-bot
cdb7eea888 Update aiohttp from 3.5.1 to 3.5.2 2019-01-08 22:29:49 +01:00
pyup-bot
485b8a3db4 Update aiohttp from 3.5.0 to 3.5.1 2018-12-25 08:44:09 +01:00
pyup-bot
e1c250a8dd Update aiohttp from 3.4.4 to 3.5.0 2018-12-23 10:14:05 +01:00
grossmj
f76b329cba Fix ConnectionResetError issues and switch to aiohttp version 3.4.4. Fixes #1474. 2018-12-03 19:14:22 +08: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
eb97ebf311 Fix platform.linux_distribution() is deprecated. Fixes https://github.com/GNS3/gns3-gui/issues/2578 2018-10-04 16:32:49 +02:00
grossmj
abfbadecd6 Update aiohttp verion requirement in order to support Python 3.7. Fixes https://github.com/GNS3/gns3-gui/issues/2566 2018-09-02 20:41:45 +07:00
grossmj
31a268e756 Force prompt-toolkit to version 1.0.15 2018-06-06 01:36:43 +07:00
ziajka
5a0e21f58d Locks down async-timeout<3.0.0 for P3.4 support; Fixes: #1331 2018-05-11 13:37:04 +02:00
ziajka
34acb1f185 Unlock yarl version and multidict 2018-01-17 10:26:22 +01:00
ziajka
2235a8158f
Update requirements.txt 2017-11-15 09:00:14 +01:00
ziajka
a7412d1c87 aiohttp 2.3.1 dependency 2017-10-26 16:29:01 +02:00
grossmj
2a4ed9ba89 Fix issue with multidict when upgrading GNS3 VM to use dev channel. 2017-09-23 18:09:10 +08:00
ziajka
ac508435c3 History support for console and telnet application, Fixes: #1083
Arrows UP/DOWN for telnet, Ref. #1083

Typo, Ref. #1083

Support async commands, Ref. #1083

Small refactor, Ref. #1083

Asyncio telnet server - connections support, Ref. #10831

Prompt-toolkit in dependencies, ref. #1083

Few comments, ref. #1083

Direct imports, ref. #1083

Windows size changed support in telnet server, ref. #1139

Fake termios

Fake termios - different approach

InputStream - copied source from prompt_toolkit
2017-07-25 16:18:07 +02:00
Julien Duponchelle
c8155aa14f
Upgrade Yarl 2017-07-12 08:27:49 +02:00
Julien Duponchelle
357de50a1b
Upgrade to last aiohttp version 2017-07-11 15:59:09 +02:00
Julien Duponchelle
a4245fcf44
Aiohttp 2.0
Ref #1000
2017-05-17 18:42:17 +02:00
Julien Duponchelle
ac5509f383
Always install typing module (compat with python 3.4 on ubuntu)
Fix #1021
2017-05-09 15:09:55 +02:00
Julien Duponchelle
152807e654
Merge branch 'master' into 2.0 2017-04-18 09:22:58 +02:00
Athmane Madjoudj
3518a781e9 typing is already included in Py >= 3.5 (#979) 2017-04-18 09:15:16 +02:00
Julien Duponchelle
6d150bb62c
Freeze server dependencies to the same version used for 1.5.3 2017-04-13 14:45:27 +02:00
Julien Duponchelle
a8294c3de8
Backport requirements of 2.0 2017-04-13 10:22:20 +02:00
Julien Duponchelle
7528152475
Ignore new version or aiohttp cors 2017-03-28 14:10:29 +02:00
Julien Duponchelle
bbfd56606c
Notify pyup that some dependencies doesn't require update 2017-03-23 09:50:46 +01:00
pyup.io bot
4036e519a7 Update aiohttp-cors from 0.5.0 to 0.5.1 (#957) 2017-03-23 09:49:49 +01:00
Julien Duponchelle
1b84874762
Upgrade to aiohttp 1.3.5 to solve issue with big file
Fix #943
2017-03-16 18:42:00 +01:00
Julien Duponchelle
cb6f94bc24
Lock yarl version because 0.10 is not compatible with aiohttp 1.3 2017-03-15 10:51:00 +01:00
Julien Duponchelle
30db4d8b5c
Yarl 0.9.8 is require by aiohttp 1.3 2017-02-23 11:49:46 +01:00
Julien Duponchelle
afa3f12e30
Allow any 1.3 aiohttp release but not 1.4 2017-02-23 11:48:34 +01:00
pyup.io bot
ebe8c1e536 Update aiohttp from 1.2.0 to 1.3.3 (#905) 2017-02-22 10:28:43 +01:00
Julien Duponchelle
8d2c27eafd
Lock aiohttp to see if it's the reason of Unkown error from Qt 2017-02-15 20:10:41 +01:00