grossmj
9a7b3bed25
Allow raw images by default. Fixes https://github.com/GNS3/gns3-server/issues/2097
2 years ago
grossmj
8ad7b3f613
Fix bug when creating Dynamips router with chassis setting
2 years ago
grossmj
17e0b2e259
Stricter checks to create/update an Ethernet switch and add tests
2 years ago
grossmj
19de2732f2
Upgrade to FastAPI 0.85.0 and check embedded web-ui index.html can be found.
2 years ago
grossmj
b0e646b97d
Fix some issues with HTTP notification streams
2 years ago
grossmj
2976e220dc
Return a boolean directly from API endpoint for project locked status
2 years ago
grossmj
27debfff8d
API endpoint to get the locked status of a project
2 years ago
grossmj
ca3bf592d6
Global project lock and unlock
2 years ago
grossmj
6d0c375323
Use default symbol theme if none is provided when loading appliances
2 years ago
grossmj
725942157e
Optionally allow Qemu raw images
2 years ago
grossmj
037c659f9b
Don't show optional token param in API docs
2 years ago
grossmj
80f5ca0c3f
Checks for valid hostname on server side for Dynamips, IOU, Qemu and Docker nodes
2 years ago
grossmj
9462bca124
Remove explicit Response for VPCS endpoints returning HTTP 204 status code
2 years ago
grossmj
fc6aeb715a
Remove explicit Response for endpoints returning HTTP 204 status code
2 years ago
grossmj
f4b67f2e59
Allow auth token to be passed as a URL param
2 years ago
grossmj
149d086fd8
Reactivate project importation
2 years ago
grossmj
7d49b80e6b
Add controller endpoints to get VirtualBox VMs, VMware VMs and Docker images
2 years ago
Jeremy Grossmann
3b7dfe5929
Merge pull request #2055 from GNS3/remove-qemu-binaries-requirement
...
Remove Qemu binary requirement
2 years ago
grossmj
30f7c0ce74
Fix issues when discovering images
2 years ago
grossmj
162af5bb7a
Checks for compression levels + tests
2 years ago
grossmj
015e17338c
HTTP middleware create issues when streaming project archive
2 years ago
grossmj
8a964390f8
Add zstandard compression support for project export
2 years ago
grossmj
2535e5508d
Remove Qemu binary requirement
2 years ago
grossmj
e50bed5bee
Support delete Qemu disk image from API
...
Return the real disk image name in the 'hdx_disk_image_backed' property for Qemu VMs
2 years ago
grossmj
fda2a37b98
Handle creating Qemu disk images and resizing
2 years ago
grossmj
900d4f79ee
"Local" command line parameter is only for stopping
...
a server that has been started by the desktop GUI
3 years ago
grossmj
8975f63e2f
Fix AsyncSession handling after breaking changes in FastAPI 0.74.0
...
See https://github.com/tiangolo/fastapi/releases/tag/0.74.0 for details.
3 years ago
grossmj
9b39bfb845
Detect image type instead of requesting it from user
3 years ago
grossmj
74c675d5b0
Drop Windows support
3 years ago
grossmj
10fdd8fcf4
Add connect endpoint for computes
...
Param to connect to compute after creation
Report compute unauthorized HTTP errors to client
3 years ago
grossmj
36cf43475d
Replace CORS origins by origin regex
3 years ago
grossmj
ab4d964d69
Do not require the local server param to open a .gns3 file. Fixes https://github.com/GNS3/gns3-gui/issues/2421 Ref #1460
3 years ago
grossmj
05d2579907
Do not automatically install appliance after uploading image
3 years ago
grossmj
01a9e83f08
Ignore OSError when closing websocket
3 years ago
grossmj
8bae921587
Fix packet capture
3 years ago
grossmj
38388f7ae5
Secure controller to compute communication using HTTP basic authentication
3 years ago
grossmj
741fc4a557
Secure websocket endpoints
3 years ago
grossmj
bb15b13a9d
Return the current controller hostname/IP from any compute
3 years ago
grossmj
a31e5615a4
Add a custom version to an appliance
3 years ago
grossmj
13ff7df9fa
Validate appliance files with Pydantic
3 years ago
grossmj
04934691df
Appliance management refactoring:
...
* Install an appliance based on selected version
* Each template have unique name and version
* Allow to download an appliance file
3 years ago
grossmj
bc36d95060
Finalize image management refactoring and auto install appliance if possible
3 years ago
grossmj
b683659d21
Sqlite doesn't allow BigInteger to be used as an primary key with autoincrement
3 years ago
grossmj
d8bceaad5d
Merge branch '3.0' into image-management-refactoring
...
# Conflicts:
# gns3server/api/routes/controller/permissions.py
3 years ago
grossmj
5807dd068e
Revert "No need to add permissions when the super admin creates templates or projects"
...
This reverts commit 3d1c3303f9
.
3 years ago
grossmj
3d1c3303f9
No need to add permissions when the super admin creates templates or projects
3 years ago
grossmj
c8ed96d91b
Add isolate and unisolate endpoints. Ref https://github.com/GNS3/gns3-gui/issues/3190
3 years ago
Rolf Sommerhalder
6e88d4816f
REST API example needs additional parameter
...
While try this example with GNS3 branch 3.0 on Ubuntu 20.04 LTS, the API call
```$ curl http://172.17.46.114:3080/v3/users/authenticate -d '{"username": "admin", "password": "admin"}' ``` fails with ```{"detail":[{"loc":["body"],"msg":"value is not a valid dict","type":"type_error.dict"}]}```.
The additional parameter appended to curl fixes this ```{"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTYzMTI4NTc4NX0.kT1dAN4v1vHMTBJO2UaI2I7yAFhnSpBU9iqmdDuwtAQ","token_type":"bearer"} ```
Found after googling for the error above in
FastAPI 0.65.2 POST request fails with "value is not a valid dict" when using the Requests library; 0.65.1 works (with a caveat) #3373
https://github.com/tiangolo/fastapi/issues/3373#issuecomment-886745123
3 years ago
grossmj
d606553e20
Allow images to be stored in subdirs and used by templates.
3 years ago
grossmj
332fa47b50
Option to prune images when deleting template.
3 years ago