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

173 Commits

Author SHA1 Message Date
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
Julien Duponchelle
a2337ed6c6
Force installation of last aiohttp 2017-02-15 16:41:23 +01:00
Julien Duponchelle
6177a45eb5
Merge branch 'master' into 2.0 2017-01-19 11:04:56 +01:00
Julien Duponchelle
e7a88a7d99
Force the dependency on typing because otherwise it's broke on 3.4 2017-01-19 10:27:32 +01:00
Julien Duponchelle
a329f89294
Remove Yarl version requirements (trust aiohttp for it) 2017-01-05 17:10:07 +01:00
Julien Duponchelle
49f1ee2e32
Support aiohttp 1.2 (but not compatible with previous versions)
Fix #840
2016-12-20 09:17:45 +01:00
Julien Duponchelle
572fa08049
Support aiohttp 1.2 (but not compatible with previous versions)
Fix #840
2016-12-19 10:10:47 +01:00
Julien Duponchelle
9a632fb823
Update the way we start controller to avoid hiding crash reports 2016-12-05 10:29:20 +01:00
Julien Duponchelle
ff47fd31e2
Force yarl version >= 0.7.0
Fix #796
2016-11-25 12:14:39 +01:00
Julien Duponchelle
c5ef6b310d
Use last aiohttp 2016-11-11 13:19:44 +01:00
Julien Duponchelle
c254011b33
Upgrade aiohttp 2016-11-02 11:55:47 +01:00
Julien Duponchelle
8055547936
Use last zipstream version 2016-10-18 16:18:18 +02:00
Julien Duponchelle
14416afbba
Use last aiohttp version 2016-09-20 16:24:53 +02:00
Julien Duponchelle
2c8b8540cd
Upgrade aiohttp to last version 2016-08-29 16:22:46 +02:00
Julien Duponchelle
0f7037bb32
Fix Transport selection via DSN is deprecated 2016-07-25 19:34:08 +02:00
Francesco Colista
da7074ea74 requirements.txt : added support for newer aiohttp version 2016-07-19 16:59:47 +02:00
Julien Duponchelle
dcebaf61b8
Do not timeout forwarded calls 2016-06-07 11:21:47 +02:00
Julien Duponchelle
342bcdb5b6
CORS support
Fix #530
2016-05-17 12:39:23 +02:00
Julien Duponchelle
9e8fcab65c
Merge branch '1.5' into 2.0 2016-04-08 17:40:27 +02:00
Julien Duponchelle
f8ffd078a8
Last aiohttp version 2016-04-05 17:41:37 +02:00
Julien Duponchelle
a046a4c980
Bump aiohttp to use the same version as 2.0 branch 2016-03-31 18:13:37 +02:00
Julien Duponchelle
879591eaf5
Export API 2016-03-30 17:42:00 +02:00
Julien Duponchelle
0532b4de8a
Fix logging issues with the controller 2016-03-04 16:55:59 +01:00
grossmj
794a7e880a Dependencies are listed in one location now. 2016-01-03 14:09:01 -07:00
Julien Duponchelle
33edbefa3b Docker cleanup and improvements 2015-12-18 18:20:56 +01:00
grossmj
c3e99bfc1d Drop netifaces (replaced by psutil). Fixes #344. 2015-11-08 13:34:27 -07:00
Julien Duponchelle
7d82a77ba7 Freeze requirements for aiohttp because 0.18 doesn't support Python
3.4.0
2015-10-20 08:39:15 +02:00
grossmj
ac75977ae0 Send a warning notification if there is not enough RAM left to start a VM. Implements #329. 2015-10-12 15:57:37 -06:00
Julien Duponchelle
c7b17039cb Update docker-py version 2015-09-11 17:18:57 +02:00
Goran Cetusic
0fa300cb99 Initial Docker support from Google Summer of Code 2015-09-08 10:57:28 +02:00
Julien Duponchelle
75267f9d53 Merge branch 'master' into unstable 2015-06-10 16:30:30 +02:00