Commit Graph

131 Commits (fd60bda2c25763cffe2636d53aae66ae86e20d66)

Author SHA1 Message Date
grossmj d759564e20 Require authentication for get_user_memberships endpoint.
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 8810249d36 Add user groups support.
3 years ago
grossmj 912fb2ed29 Fix add node from template. Fixes https://github.com/GNS3/gns3-web-ui/issues/1122
3 years ago
grossmj a795e0d7c1 Add missing CORS origins.
3 years ago
grossmj d3ace8ff17 Fix user delete endpoint.
3 years ago
grossmj 49be4146d6 Protect controlle notification endpoints. Ref #1888
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 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 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 566e326b57 Save computes to database
3 years ago
grossmj 91920e5a5b Fix issue with tests + some cleaning.
3 years ago
grossmj 0fea3f969e Use aiosqlite and add service for templates
3 years ago
grossmj d730c591b3 Refactor template management to use database.
3 years ago
grossmj bde706d19a Generate JWT secret key if none is configured in the config file.
4 years ago
grossmj d47dcb0d6f User authentication with tests.
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