Commit Graph

236 Commits

Author SHA1 Message Date
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