Get Started. It's Free
or sign up with your email address
DSPortal by Mind Map: DSPortal

1. O365

2. runserver.py

3. DSPortal

3.1. __init__.py

3.1.1. To facilitate testing and setting of dynamic config variables app creation needs to be changed to a factory function. The below example is taken from the Flask Mega Tutorial by Miguel Grinberg: def create_app(config_class=Config): app = Flask(__name__) app.config.from_object(config_class) db.init_app(app) migrate.init_app(app, db) login.init_app(app) mail.init_app(app) bootstrap.init_app(app) moment.init_app(app) babel.init_app(app) app.register_blueprint(views.main_blueprint) if not app.debug and not app.testing: # ... no changes to logging setup return app

3.2. templates

3.2.1. errors

3.2.2. main

3.2.3. ashay

3.2.4. asgria

3.2.5. veeam

3.2.6. account

3.2.7. backup

3.2.8. email

3.2.9. index.html

3.2.10. index_boot.html

3.3. static

3.4. main

3.4.1. __init__.py

3.4.2. views.py

3.4.2.1. main_blueprint = Blueprint('main', __name__) @main_blueprint.route('*') /home /signup & /login /logout /account /buy /backupsets /backupdetails /reports /backupstatus /notifications /filters /dashboard /activities

3.4.3. json_views.py

3.4.3.1. /dashboard/backupstatus/

3.4.3.2. /price/json/<planid>/

3.4.3.3. /eventlog/

3.4.4. models.py

3.4.4.1. Onetoken

3.4.4.2. Trend

3.4.4.3. BackupJobs

3.4.4.4. Dsbox

3.4.4.5. Dsystems

3.4.4.6. Dsnoc

3.4.4.7. Report

3.4.4.8. Vreport

3.4.4.9. ReportsClient

3.4.4.10. aReportsClient

3.4.4.11. User

3.4.4.12. Groups

3.4.4.13. Defaultbranding

3.4.4.14. acl

3.4.4.15. aacl

3.4.4.16. Filters_option

3.4.4.17. Dsactivitylog

3.4.4.18. Dseventlog

3.4.4.19. DseventlogNOC

3.4.4.20. Notifications

3.4.4.21. Alerts

3.4.4.22. AlertsClient

3.4.4.23. bNotes

3.4.5. utils.py

3.4.5.1. users

3.4.5.2. accountManagement

3.4.5.3. storageReports

3.4.5.4. syncDSActivityLog

3.4.5.5. C

3.4.5.6. AttrDict

3.4.5.7. dotdict

3.4.6. errors.py

3.4.7. filters.py

3.4.8. notifications.py

3.4.9. act.py

3.5. apis

3.5.1. Veeam

3.5.1.1. __init__.py

3.5.1.2. views.py

3.5.1.2.1. /account/veeamusers

3.5.1.2.2. /vreports

3.5.1.2.3. /cc

3.5.1.2.4. /ccstatus /ccdetails /creports

3.5.1.3. models.py

3.5.1.3.1. Veeamsystems

3.5.1.3.2. 0365systems

3.5.1.3.3. Vcustomer

3.5.1.3.4. 0365customers

3.5.1.3.5. 0365Jobs

3.5.1.3.6. 0365Sessions

3.5.1.3.7. Vjobs

3.5.1.3.8. Vtenants

3.5.1.4. veeamclass.py

3.5.1.5. veeamo365.py

3.5.1.6. veeamvac.py

3.5.1.7. utils.py

3.5.1.7.1. syncVeeam

3.5.1.7.2. synco365

3.5.1.7.3. Vcustomer

3.5.2. Ahsay

3.5.2.1. __init__.py

3.5.2.2. views.py

3.5.2.2.1. /account/ahsayusers

3.5.2.2.2. /aactivities

3.5.2.2.3. /abackupstatus

3.5.2.2.4. /adashboard

3.5.2.3. models.py

3.5.2.3.1. Ahsaysystems

3.5.2.3.2. Abackupset

3.5.2.3.3. Acustomer

3.5.2.3.4. Atrend

3.5.2.4. ahsayclass.py

3.5.2.5. utils.py

3.5.2.5.1. ahsaySync

3.5.3. Asgria

3.5.3.1. __init__.py

3.5.3.2. views.py

3.5.3.2.1. /account/asgriausers

3.5.3.3. models.py

3.5.3.3.1. AsgriaNoc

3.5.4. billing

3.5.4.1. __init__.py

3.5.4.2. billing.py

3.5.4.3. models.py

3.5.4.4. skyline.py

3.6. tests

3.6.1. init.py

3.6.2. tests_main.py

3.6.3. tests_veem.py

3.6.4. test_ahsay.py

3.6.5. tests_asgria.py

3.6.6. tests_billing.py

3.7. celery

3.7.1. celery_tasks.py

3.7.2. celery_config.py

3.7.3. tasks.py

3.8. helpers

3.8.1. template_filters.py

3.8.2. onetime.py

3.8.3. looker.py

3.8.4. backupdetails.py

3.8.5. const.py

3.8.6. portalclass.py

3.8.7. rapidRecovery.py

3.8.8. sendemail.py

3.9. database.py

3.10. contributors.txt

4. __init__.py

5. .gitignore

6. run_celery.py

7. requirements.txt

8. config.py

8.1. a config class separating out project configuration from the app file. Here we define all config variables and link them to environment variables We also define development & production settings. If os.environ.get('DEBUG') is False, then production settings will override corresponding dev settings