Commit Graph

3975 Commits (d022b211dcf10f0da1b728ae2f067857923b275f)

Author SHA1 Message Date
grossmj 1a24ebfc19 Add a `reload` server endpoint. Fixes #1926
3 years ago
Jeremy Grossmann 6cf268ca93
Merge pull request #1934 from GNS3/handle_no-kvm_deprecated
3 years ago
grossmj 4646ce684f Handle -no-kvm param deprecated in Qemu >= v5.2
3 years ago
Andrej Krpič 3b7dc21ef0 Fix binary websocket access to the console
3 years ago
grossmj 0ecea8ffbb Change how to generate random MAC addresses
3 years ago
Brian Candler 1ee3e14bd3 Support cloning of encrypted qcow2 base image files
3 years ago
grossmj 1f0ceb6f74 Symbols endpoints (except upload) don't require authentication.
3 years ago
grossmj c13f5c6627 Update to the udhcpc wrapper script. Ref #1890
3 years ago
grossmj cdedd53339 Fix VMware VM support on Linux and Windows. Fixes #1919
3 years ago
grossmj 229a04e2fa Fix link style merge
3 years ago
Jeremy Grossmann e78b5fa6d6
Fix typo
3 years ago
grossmj 6ec028ea4e Merge branch '2.2' into 3.0
3 years ago
grossmj 3524e22761 Development on 2.2.23dev1
3 years ago
grossmj 10daab21a3 Release v2.2.22
3 years ago
grossmj 22eb6f7d8c Sync appliance files.
3 years ago
grossmj c892cf371b Fix VMware support on macOS BigSur
3 years ago
grossmj bfd30f3547 Sync appliance files.
3 years ago
grossmj 4e34ab8e4f Link style support. Fixes https://github.com/GNS3/gns3-gui/issues/2461
3 years ago
grossmj 5da5cbd6d8 Merge branch 'master' into 2.2
3 years ago
grossmj 515bd50261 Start refactoring for images management
3 years ago
piotrpekala7 08f540f417 Release web UI 2.2.22
3 years ago
grossmj f64b5cd9b6 Allow controller to be reloaded using the API. Fixes #1743
3 years ago
grossmj 6a726d0344 Fix formatting issue.
3 years ago
grossmj 9b0e3a77ed Use a stock BusyBox for the Docker Integration
3 years ago
grossmj 8be015cd86 Move "/{project_id}/templates/{template_id}" endpoint.
3 years ago
grossmj 6fb6a27859 Add last login info for users.
3 years ago
grossmj 4e33d29af8 Change RBAC field names from builtin to is_builtin
3 years ago
grossmj d65b49acaa Add user permissions + RBAC tests.
3 years ago
grossmj 36a27c0c19 Force refresh of updated_at value for RBAC db models.
3 years ago
grossmj a6d2f48df1 Merge remote-tracking branch 'origin/3.0' into rbac
3 years ago
grossmj 0113ca6673 Force refresh of updated_at value in db models.
3 years ago
grossmj 74d820fd0a Use synchronize_session="fetch" when updating values.
3 years ago
grossmj e9b9884ee3 Merge remote-tracking branch 'origin/3.0' into rbac
3 years ago
grossmj a6c2a3e47f Use synchronize_session="fetch" when updating values.
3 years ago
grossmj 2e2e31337a Add description for user permission.
3 years ago
grossmj fbc47598d9 Basic functional RBAC support.
3 years ago
grossmj 6d4da98b8e Base API and tables for RBAC support.
3 years ago
Brian Candler c051367d4b Preserve auto_start/auto_open/auto_close when restoring snapshot
3 years ago
grossmj eb0f8c6174 Save/restore appliances Etag.
3 years ago
grossmj f416d64042 Allow to set the initial super admin username / password in server config file. Ref #1857
3 years ago
grossmj fffbb08a8e Catch SQLAlchemyError exception.
3 years ago
grossmj d759564e20 Require authentication for get_user_memberships endpoint.
3 years ago
grossmj 971e86d254 Fix uBridge errors for cloud nodes not visible in logs. Fixes #1895
3 years ago
grossmj 6847e19847 Change method to prevent forbidden directory traversal. Fixes #1894
3 years ago
grossmj 2bf16f1e5f Change method to prevent forbidden directory traversal. Ref #1894
3 years ago
grossmj f3d81fa450 Clean files and catch file path escape. Ref #1894
3 years ago
grossmj 09ac7fd7fb Merge branch '2.2' into 3.0
3 years ago
grossmj e86d8f96ca Merge branch '2.2' into 3.0
3 years ago
grossmj 9a6978902d Fix tests.
3 years ago
grossmj 6294ad9e76 Prevent directory traversal
3 years ago
grossmj 8810249d36 Add user groups support.
3 years ago
grossmj 2c938b2c19 Development on 2.2.22dev1
3 years ago
grossmj 03b7d9191b Release v2.2.21
3 years ago
grossmj 87c87ca3cb Sync appliance files.
3 years ago
grossmj dfba40fee2 Merge branch 'master' into 2.2
3 years ago
grossmj 956b9056c1 Fix issues with latest version of sqlalchemy
3 years ago
grossmj 0a77f0035b Add delete cascade on foreign keys for appliance table
3 years ago
grossmj 10164e262d Enable SQL foreign key support for SQLite
3 years ago
grossmj 912fb2ed29 Fix add node from template. Fixes https://github.com/GNS3/gns3-web-ui/issues/1122
3 years ago
piotrpekala7 f576bedfaf Release web UI 2.2.21
3 years ago
grossmj a795e0d7c1 Add missing CORS origins.
3 years ago
grossmj 41ba215e32 Show topology path when check topology schema fails.
3 years ago
grossmj b1b3338e3c Fix bug when binding on address already in use.
3 years ago
grossmj edb20482c7 Fix bug when no server config file is present.
3 years ago
grossmj d3ace8ff17 Fix user delete endpoint.
3 years ago
grossmj 49be4146d6 Protect controlle notification endpoints. Ref #1888
3 years ago
grossmj a02aede1b0 Use uuid5 to create new compute_id. Fixes #1641 #1887
3 years ago
grossmj dff1ec9bc6 Fix /users/me endpoint.
3 years ago
grossmj 0465cb87f6 Protect the API and add alternative authentication endpoint.
3 years ago
grossmj e28452f09a Secure users API and handle manual password recovery.
3 years ago
grossmj c03226e368 Add default super admin account in controller db.
3 years ago
grossmj 9404c00411 Complete type annotations for API endpoints.
3 years ago
grossmj cefab8d362 Rename __json__() to asdict()
3 years ago
grossmj 44074ff7c9 Some cleaning.
3 years ago
grossmj bad3ef7003 Detect the app is exiting and avoid reconnecting to computes.
3 years ago
grossmj 9c850e0f2b Move schemas between compute and controller subpackages
3 years ago
grossmj c59fc375f2 Remove traceng code.
3 years ago
grossmj c021e21309 Use black with -l 120 param.
3 years ago
grossmj f928738bd5 Use pyupgrade with --py36-plus param.
3 years ago
grossmj a9eb035b7d Move error responses to API routers.
3 years ago
grossmj 6b0d0de1bc Wait for local compute to be started.
3 years ago
grossmj 71725aade6 Rename ssl and auth configuration file settings.
3 years ago
grossmj 1b5a5de4bc Generate new config for each test. Fixes tests.
3 years ago
grossmj 30ebae207f Use Pydantic to validate the server config file.
3 years ago
grossmj fa4c9a91ca Add symbol dimensions endpoint and SSL support for packet capture with remote HTTPS server.
3 years ago
grossmj 802959f9ab Merge branch 'master' into 3.0
3 years ago
grossmj 4e61cc811e Improvements for get symbol dimensions endpoint. Ref #1885
3 years ago
Jeremy Grossmann c9c6a5a762
Merge pull request #1885 from GNS3/Create-endpoint-in-symbols-handler-to-get-symbol-dimensions
3 years ago
grossmj e797ad1b9f Development on 2.2.21dev1
3 years ago
grossmj a50141fcbf Release v2.2.20
3 years ago
grossmj 852151f836 Merge branch 'master' into 2.2
3 years ago
grossmj e5807e5a8c Sync appliance files.
3 years ago
piotrpekala7 30cbfe2154 Update picture.py
3 years ago
piotrpekala7 4bbf7c2ed2 Update symbol_handler.py
3 years ago
piotrpekala7 7a8c1e8f5d Release web UI 2.2.20
3 years ago
grossmj 7bb5202bdb Sync appliance files.
3 years ago
grossmj 082206a7db Fix packet capture with HTTPS remote server. Fixes #1882
3 years ago
grossmj 360a819e91 Set PyQt5 version to 5.15.2 on Windows
3 years ago
grossmj 685963b85d Sync appliance files and remove old ones after sync with online repo. Fixes #1876
3 years ago
grossmj e614ed79f4 Upgrade dependencies
3 years ago
grossmj 170e83e589 Fix tests and update requirements
3 years ago
grossmj 5217dbf3a3 Fix tests
3 years ago
grossmj 566e326b57 Save computes to database
3 years ago
grossmj e607793e74 Generate a new list in template schema defaults.
3 years ago
grossmj 3b30d51972 Sync appliance files.
3 years ago
grossmj 91920e5a5b Fix issue with tests + some cleaning.
3 years ago
grossmj 0fea3f969e Use aiosqlite and add service for templates
4 years ago
grossmj d730c591b3 Refactor template management to use database.
4 years ago
grossmj 6120736c91 Fix export for missing files
4 years ago
grossmj 055a78bade Fix issue when trying to export temporary Dynamips files.
4 years ago
grossmj fad52ea2fc Development on 2.2.20dev1
4 years ago
grossmj d8054c7cb4 Release v2.2.19
4 years ago
grossmj 91570f475f Launch projects marked for auto open after SIGHUP is received
4 years ago
grossmj 42cda3af2b Sync appliance files.
4 years ago
grossmj e6be6bc958 Merge branch 'master' into 2.2
4 years ago
grossmj b7f8fb283b Sync appliance files.
4 years ago
piotrpekala7 72d5b5e7cc Release web UI 2.2.19
4 years ago
grossmj 8cce0eedee Fix console type error when creating Ethernet switch node. Fixes #1873
4 years ago
grossmj 11c53c128e Sync Juniper vSRX appliance file.
4 years ago
grossmj 17b56ac7cb Sync appliance files.
4 years ago
grossmj c17a86e814 Add missing async
4 years ago
grossmj 1add223891 Merge branch '2.2' into 3.0
4 years ago
grossmj 3c5bbe04dc Development on 2.2.19dev1
4 years ago
grossmj c213cae500 Release v2.2.18
4 years ago
grossmj 1043be02a6 Merge branch 'master' into 2.2
4 years ago
grossmj 56c25727b6 SIGHUP: remove projects with an empty project directory.
4 years ago
grossmj 0b854ffceb Bump version to 2.2.18dev2
4 years ago
piotrpekala7 366e904698 Release web UI 2.2.18
4 years ago
grossmj 16c84e23a9 Catch OSError exception in psutil. Fixes https://github.com/GNS3/gns3-gui/issues/3127
4 years ago
grossmj 64f172fe20 Expose 'auto_open' and 'auto_start' properties in API when creating project. Fixes https://github.com/GNS3/gns3-gui/issues/3119
4 years ago
grossmj 9de61cd671 Fix warning: 'ide-drive' is deprecated when using recent version of Qemu. Fixes https://github.com/GNS3/gns3-gui/issues/3101
4 years ago
grossmj 9e6ccc3f61 Fix bug when starting of vpcs stopped with "quit". Fixes https://github.com/GNS3/gns3-gui/issues/3110
4 years ago
grossmj 4c339eade1 Fix WinError 0 handling
4 years ago
grossmj 128e494134 Stop uBridge if VPCS node has been terminated. Ref https://github.com/GNS3/gns3-gui/issues/3110
4 years ago
Brent Baccala 235a127111 Allow cloned QEMU disk images to be resized before the node starts,
4 years ago
grossmj 58c1b01439 Add default JWT secret key and fix tests.
4 years ago
grossmj bde706d19a Generate JWT secret key if none is configured in the config file.
4 years ago
grossmj 6aefb5d32b Merge branch '2.2' into 3.0
4 years ago
grossmj d47dcb0d6f User authentication with tests.
4 years ago
grossmj 87ede50827 Development on 2.2.18dev1
4 years ago
grossmj 24fe67f82b Release v2.2.17
4 years ago
grossmj 18c878429f Merge branch 'master' into 2.2
4 years ago
grossmj 6c3a070733 Close and remove projects deleted from disks after SIGHUP signal is received.
4 years ago
piotrpekala7 a157ef5a8a Release web UI 2.2.17
4 years ago
grossmj 5244ae6d4c New config file options to configure the VNC console port range.
4 years ago
grossmj bf7cf862af Refactor tests and start work on database integration.
4 years ago
grossmj ae55c0ec9c Fix tests.
4 years ago
grossmj c043830e3f Move endpoints to routes & preparations to use a database.
4 years ago
Karthikeyan Singaravelan 603683e2c5 Use asyncio.all_tasks instead of deprecated method for Python 3.9 compatibility.
4 years ago
grossmj 95ea1fa636 Providing the path to create a project is now deprecated.
4 years ago
grossmj acc5c7ebfa Update package versions.
4 years ago
Bernhard Ehlers e45bc5aec1 Fix mcopy error messages
4 years ago
grossmj e13c84bada Fix tests
4 years ago
grossmj 841b013223 SSL support.
4 years ago
grossmj a5d89b428a Merge branch '2.2' into 3.0
4 years ago
grossmj a3ee1d9ee6 Development on 2.2.17dev1
4 years ago
grossmj 0e95e7e023 Release v2.2.16
4 years ago
grossmj 1748250179 Sync appliance files.
4 years ago
grossmj c8ea22c651 Merge branch 'master' into 2.2
4 years ago
grossmj d16cb5ef89 Option to allocate or not the vCPUs and RAM settings for the GNS3 VM. Fixes https://github.com/GNS3/gns3-gui/issues/3069
4 years ago
piotrpekala7 004acdc271 Release web UI 2.2.16
4 years ago
grossmj e182f53d69 Fix wrong defaults for images_path, configs_path, appliances_path. Fixes #1829
4 years ago
grossmj 5a7b5e4e08 Make sure all HTTP exceptions return JSON with a "message" field instead of "detail"
4 years ago
grossmj 359f9a7384 Move to version 3 of the REST API.
4 years ago
grossmj eeaf10b418 Put all schemas in the same module.
4 years ago
grossmj 81439c750a Use pydantic for data validation (instead of jsonschema)
4 years ago
grossmj b6a021dabd Fix SSL support for controller and local compute. Fixes #1826
4 years ago
grossmj 5dab0c2587 Prevent WIC to be added/removed while Dynamips router is running. Fixes https://github.com/GNS3/gns3-gui/issues/3082
4 years ago
grossmj 5d1fdceb98 Fix bug with application id allocation for IOU nodes. Fixes #3079
4 years ago
grossmj b2fb2442c8 Change tag for index routes.
4 years ago
grossmj d316ee33df Capitalize openapi tags.
4 years ago
grossmj 80d14a98fb Some cleaning in compute.py
4 years ago
grossmj 3185ebaa3d Publish API documentation generated by FastAPI.
4 years ago
grossmj 087bbd1a0b Fix tests.
4 years ago
grossmj a08ddce033 Revert compute.py
4 years ago
grossmj 97a91f1899 Overwrite uvicorn loggers.
4 years ago
grossmj 13da8aa8f5 Do not automatically connect to local compute.
4 years ago
grossmj a92c47b310 Add HTTP client to reuse the aiohttp session where needed.
4 years ago
grossmj 36c8920cd1 Warn not to use the private compute API. Fixes #1593.
4 years ago
grossmj 25494ca098 Fix project import to work with FastAPI.
4 years ago
grossmj b8e8e5cba7 Fix status code 204 must not have a response body.
4 years ago
grossmj 5d71ee25ee Fix syntax error.
4 years ago
grossmj f20e16074f Fix Docker dev server script.
4 years ago
grossmj be6d4771d0 Migrate PCAP streaming code to work with FastAPI.
4 years ago
grossmj bd8565b2b9 Refactor WebSocket console code to work with FastAPI.
4 years ago
Bernhard Ehlers de2b9caeeb Use HDD disk image as startup QEMU config disk
4 years ago
grossmj 5341ccdbd6 Use dependencies and group common HTTP responses in endpoints.
4 years ago
grossmj 46f4e7ef6e Fix update property call for Qemu VMs.
4 years ago
grossmj 0746949207 Merge branch '2.2' into 3.0
4 years ago
grossmj 362701f5aa Allow commas in image paths and VM name for Qemu VMs. Fixes https://github.com/GNS3/gns3-gui/issues/3065
4 years ago
grossmj 91244456f5 Handle comma in disk path for Qemu VMs. Fixes https://github.com/GNS3/gns3-gui/issues/3065
4 years ago
grossmj 88ab528977 Development on 2.2.16dev1
4 years ago
grossmj 7d031e71a0 Release v2.2.15
4 years ago
grossmj c46c095fcb Sync appliance files.
4 years ago
grossmj e592b95639 Revert "Add info log to show where custom symbols are searched from."
4 years ago
grossmj 593e379523 Add info log to show where custom symbols are searched from.
4 years ago
grossmj d451d3125e Fix symbol retrieval issue. Ref #1824
4 years ago
grossmj c248764efb Fixes update() missing 2 required positional arguments: 'name' and 'value'. Fixes #1821 #1825
4 years ago
grossmj 0259696872 Fix Hyper-V based GNS3 VM WMI issue. Fixes #1822
4 years ago
grossmj 165ba4d8d5 Merge branch 'master' into 2.2
4 years ago
piotrpekala7 8049ab8b64 Release 2020.4.0-beta.1
4 years ago
grossmj eb3cb8a41f Migration to FastAPI
4 years ago
grossmj 2857cab94e Development on 2.2.15dev1
4 years ago
grossmj 326841cd9e Release v2.2.14
4 years ago
grossmj dacc5ef9cd Merge branch 'master' into 2.2
4 years ago
piotrpekala7 dd1e4f655e Release 2020.3.0-beta.4
4 years ago
grossmj 399f1c082e Add '-smp sockets=1' by default for Qemu VMs. Ref https://github.com/GNS3/gns3-gui/issues/3047
4 years ago
grossmj 919abdc052 Sync appliance files.
4 years ago
grossmj 992cd7fc6c Implement full restart if user reload a Qemu VM which has been updated. Fixes https://github.com/GNS3/gns3-gui/issues/3038
4 years ago
grossmj 90ecefd455 Development on 2.2.14dev1
4 years ago
grossmj b4c7823696 Release v2.2.13
4 years ago
grossmj ffde704251 Merge branch 'master' into 2.2
4 years ago
piotrpekala7 8c00cd0a84 Release 2020.3.0-beta.3
4 years ago
grossmj 2bf625e000 Fix issue when resuming Qemu VM. Fixes https://github.com/GNS3/gns3-gui/issues/3027
4 years ago
grossmj 5305117a75 Sync appliance files.
4 years ago
grossmj 4843084158 Prioritize the config disk over HD-D for Qemu VMs.
4 years ago
grossmj c12b675691 Prioritize the config disk over HD-D for Qemu VMs.
4 years ago
Jeremy Grossmann 01db2d2a86 Create config disk property false by default for Qemu templates
4 years ago
Jeremy Grossmann a2e884e315
Create config disk property false by default for Qemu templates
4 years ago
Jeremy Grossmann fa26555d00
Merge pull request #1801 from GNS3/qemu-config-disk
4 years ago
grossmj f2ddef855f Fix tests.
4 years ago
grossmj 620d93634e Fix tests.
4 years ago
grossmj ec02150fd2 Set default disk interface type to "none".
4 years ago
grossmj 464fd804ce Set default disk interface type to "none".
4 years ago
grossmj a56b816c1a Add explicit option to automatically create or not the config disk. Off by default.
4 years ago
grossmj 56aba96a5f Add explicit option to automatically create or not the config disk. Off by default.
4 years ago
grossmj c684c554bf Fix tests
4 years ago
grossmj 2ba6eac113 Fix tests
4 years ago
grossmj cad7431069 Bump version to 2.3.0dev2
4 years ago
grossmj 9890126453 Merge branch '2.2' into 2.3
4 years ago
grossmj 97e731a7d9 Development on 2.2.13dev1
4 years ago
grossmj 2c08166510 Release v2.2.12
4 years ago
grossmj 940f004752 Sync appliance files
4 years ago
grossmj f083649021 Merge branch 'master' into 2.2
4 years ago
piotrpekala7 aeb82de78a Release 2020.3.0-beta.2
4 years ago
grossmj 6761ae3445 Catch exception when psutil returns OSError
4 years ago
grossmj 7043d48f1a Auxiliary console support for Qemu. Ref #2873
4 years ago
grossmj 65c8bb6754 Fix AUX console not allocated for Dynamips IOS routers.
4 years ago
grossmj 12732aaf83 Disallow to rename a running node. Fixes https://github.com/GNS3/gns3-gui/issues/2499
4 years ago
grossmj 831ee5f468 Support to reset all console connections. Ref https://github.com/GNS3/gns3-server/issues/1619
4 years ago
grossmj f97d346c34 Support to reset links. Fixes https://github.com/GNS3/gns3-server/issues/1620
4 years ago
grossmj 01b2c72767 Add maxcpus property for Qemu VMs. Ref #1674
4 years ago
Bernhard Ehlers 068c31038f QEMU config disk - improve error handling
4 years ago
Bernhard Ehlers 2bbee15b18 QEMU config disk - notification of import/export errors
4 years ago
Bernhard Ehlers 50c49cfedb QEMU config disk - notification of import/export errors
4 years ago
Bernhard Ehlers b672900406 QEMU config disk - use disk interface of HD-D, fallback is HD-A
4 years ago
Bernhard Ehlers 2e0fba925b QEMU config disk - add missing config disk to image directory
4 years ago
Bernhard Ehlers 450c6cddc7 QEMU config disk - get rid of mtoolsrc
4 years ago
Bernhard Ehlers 5c44268476 QEMU config disk - preserve file timestamp on zip unpack
4 years ago
Bernhard Ehlers b69965791d QEMU config disk - initial implementation. Ref #2958
4 years ago