05ede35059
- Added a new license route to serve the LGPL license text. - Introduced a new attribution page to acknowledge third-party software used in the project. - Updated the base HTML template to include a link to the attribution page. - Included the license router in the main application router. - Added the license text file for LGPL to the static licenses directory. - Updated the NOTICE file to include detailed attributions for third-party libraries. - Added a new requirements-dev.txt for license compliance checking. - Updated the requirements.txt to clarify the LGPL license for Paramiko.
22 lines
830 B
Python
22 lines
830 B
Python
"""
|
|
Aggregated view routers for the application.
|
|
"""
|
|
from fastapi import APIRouter
|
|
|
|
# Import all the view routers
|
|
from app.views.general import router as general_router
|
|
from app.views.status import router as status_router
|
|
from app.views.onedrive import router as onedrive_router
|
|
from app.views.dropbox import router as dropbox_router
|
|
from app.views.google_drive import router as google_drive_router
|
|
from app.views.license_routes import router as license_router # Add the license router
|
|
|
|
# Create a main router that includes all the view routers
|
|
router = APIRouter()
|
|
router.include_router(general_router)
|
|
router.include_router(status_router)
|
|
router.include_router(onedrive_router)
|
|
router.include_router(dropbox_router)
|
|
router.include_router(google_drive_router)
|
|
router.include_router(license_router) # Include the license router
|