Commit Graph

71 Commits (992c60e3e026149c35e4464316f9a0233b943ded)

Author SHA1 Message Date
grossmj 992c60e3e0 Return HTTP status code 204 in API when project successfully closed. Fixes #1689
5 years ago
grossmj 5e9810d420 Prevent deleting a GNS3 project outside the project directory. Ref #1669
5 years ago
grossmj 40d7ae6866 Support to include snapshots in portable projects.
5 years ago
grossmj 0ae66a2608 Support selecting a compression type when exporting a project.
5 years ago
grossmj af80b0bb6e Use aiofiles where relevant.
5 years ago
grossmj 8cc8269842 Use aiozipstream for snapshots.
5 years ago
grossmj a8990c9e89 Non blocking project exportation.
5 years ago
grossmj 135d56371d Fix tests for project notifications.
5 years ago
grossmj 7fe8f7e716 Fix long-polling request for project notifications.
5 years ago
grossmj a896346c77 Fix issue with notification queue that prevented to properly close projects. Fix #1493
5 years ago
grossmj f76b329cba Fix ConnectionResetError issues and switch to aiohttp version 3.4.4. Fixes #1474.
6 years ago
ziajka 41fbbf7a56 Reorder routes in order to get working CORS
6 years ago
grossmj ab8dc52ece Fix tests to work with new version of aiohttp (>= 3.0)
6 years ago
grossmj 86f87aec74 Fix installation with Python 3.7. Fixes #1414.
6 years ago
grossmj 76af98404a Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425
6 years ago
grossmj 9de13c570c Merge branch '2.1' into 2.2
6 years ago
grossmj e4a6db8ebc Fix some typos.
6 years ago
grossmj 33e8710495 Merge branch '2.1' into 2.2
6 years ago
grossmj 38b72079b2 Change file timestamps if necessary because ZIP does not support timestamps before 1980. Fixes #1360.
6 years ago
grossmj f5dc635baa Fix test to support Python 3.7 Ref https://github.com/GNS3/gns3-gui/issues/2566
6 years ago
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
6 years ago
grossmj 7f72b90b0e The server has now 2 notification streams
6 years ago
grossmj 21a1800edc Merge branch '2.1' into 2.2
6 years ago
grossmj 305fe2e817 Handle asyncio timeouts. Ref #1307.
6 years ago
grossmj 50a922f83e Offload slow file operations to threads for snapshots and project "save as". Ref #1187 #1307.
6 years ago
grossmj fb3bcf3b8f Basic project stats.
6 years ago
ziajka eeae07e783 Conservative approach to supported versions of Python 3.4 and asyncio.ensure_future, Ref. #1269
6 years ago
ziajka d9a0ec9ff3 Replace asyncio.async with ensure_future because of deprecation, Fixes: #1269
6 years ago
ziajka fe60c414b9 Keep consistance of aiohttp.web.HTTPForbidden() execution
7 years ago
Julien Duponchelle e74eaa8ea8
Add a warning when you try to load and the server is not started with --local
7 years ago
Julien Duponchelle 92c9e48f18
This fix the images always included in portable project
7 years ago
Julien Duponchelle a8e8eac0b4
Merge remote-tracking branch 'origin/master' into 2.1
7 years ago
ziajka ea9f0e52c8 Fixes #2108 (gns3-gui): getting project file with leading slashes issue (#1078)
7 years ago
Julien Duponchelle 93adef91d8
Merge branch '2.0' into 2.1
7 years ago
Julien Duponchelle 7044c8c9ff
Fix the GUI disconnect from the server
7 years ago
Julien Duponchelle 39879ca92b
Duplicate project on remote server use UUID
7 years ago
Julien Duponchelle a4245fcf44
Aiohttp 2.0
7 years ago
Julien Duponchelle 688122c467
Fix RuntimeError: File size has increased during compressing
7 years ago
Julien Duponchelle 1b6411f88e
Fix an error on Linux during export
8 years ago
Julien Duponchelle 1cf987a548
Fix a rare crash when writing a file on a remote server
8 years ago
Julien Duponchelle b3d83b1b0b
Catch error when no space left on disk during export
8 years ago
Julien Duponchelle 40af2a35e0
Wait for the end of project loading before making new change
8 years ago
Julien Duponchelle e996b825c6
Fix you can not pass auto close at project creation
8 years ago
Julien Duponchelle 45471fc865
Make sure to drain notification feed
8 years ago
Julien Duponchelle 147bb8758a
Fix log error when closing server websocket
8 years ago
Julien Duponchelle 8f7be87b1e
Use timemout for project auto close to avoid issue when client / connect
8 years ago
Julien Duponchelle 9694850465
Option for auto close project when no client listen
8 years ago
Julien Duponchelle 3ca4edef93
Update project API
8 years ago
Julien Duponchelle e50eae19e6
Support parameters for import
8 years ago
Julien Duponchelle f357879186
API for duplicate a project
8 years ago