Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First set of fixes to revive Django-based GUI code #695

Commits on Aug 22, 2024

  1. Deprecate non-working communication pkg funcs.

    Marking several utility functions (used by some broken places in GUI
    code) as deprecated, largely because they don't actually work.
    robertbartel committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    0c0edd3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ed1d85 View commit details
    Browse the repository at this point in the history
  3. Fix GUI config for django.contrib.staticfiles.

    Adding required STATIC_ROOT to be main static directory, and removing
    the addition of this directory in things scanned by the static file
    finders (i.e., since root, have other found things put here); this was
    needed to fix issues with static files from main model exec GUI app,
    which were not being found with previous config.
    robertbartel committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    14564a0 View commit details
    Browse the repository at this point in the history
  4. Adding required daphne dependency for GUI.

    Adding daphne to dependencies.txt to install this requirment in GUI
    image build.
    robertbartel committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    7b72d01 View commit details
    Browse the repository at this point in the history
  5. Have base maas GUI template use new CSS standard.

    Moving base maas config html template to use css/master.css instead of
    common/css/base.css for consistent presentation.
    robertbartel committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    94bda9b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e0a6706 View commit details
    Browse the repository at this point in the history
  7. Fix out-of-date GUI classes to add URLs back.

    Fixing some GUI classes that were broken and not update after changes to
    dmod.communication package, and then re-added URL to Django config that
    were taken out due to the previous classes breaking.
    robertbartel committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    2f398b2 View commit details
    Browse the repository at this point in the history
  8. Fix first Django MaaS app migration.

    Hard-coding reasonable defaults for superuser setup values needed to get
    previously existing migration to work.
    robertbartel committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    f969bc1 View commit details
    Browse the repository at this point in the history
  9. Add running of migrations back to GUI entrypoint.

    Making sure to put it after lines that export the SQL_PASSWORD as
    needed.
    robertbartel committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    208e190 View commit details
    Browse the repository at this point in the history